diff --git a/hcatalog/core/src/test/java/org/apache/hive/hcatalog/common/TestHCatUtil.java b/hcatalog/core/src/test/java/org/apache/hive/hcatalog/common/TestHCatUtil.java index 102d6d2..0895f43 100644 --- a/hcatalog/core/src/test/java/org/apache/hive/hcatalog/common/TestHCatUtil.java +++ b/hcatalog/core/src/test/java/org/apache/hive/hcatalog/common/TestHCatUtil.java @@ -124,7 +124,7 @@ public void testGetTableSchemaWithPtnColsApi() throws IOException { org.apache.hadoop.hive.metastore.api.Table apiTable = new org.apache.hadoop.hive.metastore.api.Table("test_tblname", "test_dbname", "test_owner", 0, 0, 0, sd, new ArrayList(), new HashMap(), - "viewOriginalText", "viewExpandedText", TableType.EXTERNAL_TABLE.name()); + "viewOriginalText", "viewExpandedText", TableType.EXTERNAL_TABLE.name(), null, null); Table table = new Table(apiTable); List expectedHCatSchema = @@ -169,7 +169,7 @@ public void testGetTableSchemaWithPtnColsSerDeReportedFields() throws IOExceptio org.apache.hadoop.hive.metastore.api.Table apiTable = new org.apache.hadoop.hive.metastore.api.Table("test_tblname", "test_dbname", "test_owner", 0, 0, 0, sd, new ArrayList(), new HashMap(), - "viewOriginalText", "viewExpandedText", TableType.EXTERNAL_TABLE.name()); + "viewOriginalText", "viewExpandedText", TableType.EXTERNAL_TABLE.name(), null, null); Table table = new Table(apiTable); List expectedHCatSchema = Lists.newArrayList( diff --git a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java index 6caf3fe..0132db8 100644 --- a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java +++ b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java @@ -130,7 +130,7 @@ public void createTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table("mytable", "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); msClient.createTable(table); NotificationEventResponse rsp = msClient.getNextNotification(firstEventId, 0, null); @@ -154,12 +154,12 @@ public void alterTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table("alttable", "default", "me", startTime, startTime, 0, sd, - new ArrayList(), emptyParameters, null, null, null); + new ArrayList(), emptyParameters, null, null, null, null, null); msClient.createTable(table); cols.add(new FieldSchema("col2", "int", "")); table = new Table("alttable", "default", "me", startTime, startTime, 0, sd, - new ArrayList(), emptyParameters, null, null, null); + new ArrayList(), emptyParameters, null, null, null, null, null); msClient.alter_table("default", "alttable", table); NotificationEventResponse rsp = msClient.getNextNotification(firstEventId, 0, null); @@ -184,7 +184,7 @@ public void dropTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table("droptable", "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); msClient.createTable(table); msClient.dropTable("default", "droptable"); @@ -212,7 +212,7 @@ public void addPartition() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table("addPartTable", "default", "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); msClient.createTable(table); Partition partition = new Partition(Arrays.asList("today"), "default", "addPartTable", @@ -243,7 +243,7 @@ public void alterPartition() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table("alterparttable", "default", "me", startTime, startTime, 0, sd, - partCols, emptyParameters, null, null, null); + partCols, emptyParameters, null, null, null, null, null); msClient.createTable(table); Partition partition = new Partition(Arrays.asList("today"), "default", "alterparttable", @@ -279,7 +279,7 @@ public void dropPartition() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table("dropPartTable", "default", "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); msClient.createTable(table); Partition partition = new Partition(Arrays.asList("today"), "default", "dropPartTable", @@ -310,7 +310,7 @@ public void insertTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table("insertTable", "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); msClient.createTable(table); FireEventRequestData data = new FireEventRequestData(); @@ -348,7 +348,7 @@ public void insertPartition() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table("insertPartition", "default", "me", startTime, startTime, 0, sd, - partCols, emptyParameters, null, null, null); + partCols, emptyParameters, null, null, null, null, null); msClient.createTable(table); Partition partition = new Partition(Arrays.asList("today"), "default", "insertPartition", startTime, startTime, sd, emptyParameters); diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggrStatsCacheIntegration.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggrStatsCacheIntegration.java index 51d96dd..9caf671 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggrStatsCacheIntegration.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggrStatsCacheIntegration.java @@ -94,7 +94,7 @@ public void hit() throws Exception { List partCols = new ArrayList<>(); partCols.add(new FieldSchema("ds", "string", "")); Table table = new Table(tableName, dbName, "me", (int)now, (int)now, 0, sd, partCols, - Collections.emptyMap(), null, null, null); + Collections.emptyMap(), null, null, null, null, null); store.createTable(table); for (List partVals : Arrays.asList(partVals1, partVals2)) { @@ -207,7 +207,7 @@ public void someWithStats() throws Exception { List partCols = new ArrayList<>(); partCols.add(new FieldSchema("ds", "string", "")); Table table = new Table(tableName, dbName, "me", (int)now, (int)now, 0, sd, partCols, - Collections.emptyMap(), null, null, null); + Collections.emptyMap(), null, null, null,null, null); store.createTable(table); boolean first = true; @@ -306,7 +306,7 @@ public void invalidation() throws Exception { List partCols = new ArrayList<>(); partCols.add(new FieldSchema("ds", "string", "")); Table table = new Table(tableName, dbName, "me", (int) now, (int) now, 0, sd, partCols, - Collections.emptyMap(), null, null, null); + Collections.emptyMap(), null, null, null, null, null); store.createTable(table); for (List partVals : Arrays.asList(partVals1, partVals2, partVals3)) { @@ -515,7 +515,7 @@ public void alterInvalidation() throws Exception { List partCols = new ArrayList<>(); partCols.add(new FieldSchema("ds", "string", "")); Table table = new Table(tableName, dbName, "me", (int) now, (int) now, 0, sd, partCols, - Collections.emptyMap(), null, null, null); + Collections.emptyMap(), null, null, null, null, null); store.createTable(table); Partition[] partitions = new Partition[3]; @@ -609,7 +609,7 @@ public void altersInvalidation() throws Exception { List partCols = new ArrayList<>(); partCols.add(new FieldSchema("ds", "string", "")); Table table = new Table(tableName, dbName, "me", (int) now, (int) now, 0, sd, partCols, - Collections.emptyMap(), null, null, null); + Collections.emptyMap(), null, null, null, null, null); store.createTable(table); Partition[] partitions = new Partition[3]; diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseImport.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseImport.java index af60660..50fe45a 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseImport.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseImport.java @@ -490,12 +490,12 @@ private void setupObjectStore(RawStore rdbms, String[] roles, String[] dbNames, StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); rdbms.createTable(new Table(tableNames[0], dbNames[i], "me", now, now, 0, sd, null, - emptyParameters, null, null, null)); + emptyParameters, null, null, null, null, null)); List partCols = new ArrayList<>(); partCols.add(new FieldSchema("region", "string", "")); rdbms.createTable(new Table(tableNames[1], dbNames[i], "me", now, now, 0, sd, partCols, - emptyParameters, null, null, null)); + emptyParameters, null, null, null, null, null)); for (int j = 0; j < partVals.length; j++) { StorageDescriptor psd = new StorageDescriptor(sd); @@ -542,7 +542,7 @@ public void parallel() throws Exception { partCols.add(new FieldSchema("region", "string", "")); for (int j = 0; j < parallelFactor; j++) { rdbms.createTable(new Table("t" + j, dbNames[i], "me", now, now, 0, sd, partCols, - emptyParameters, null, null, null)); + emptyParameters, null, null, null, null, null)); for (int k = 0; k < parallelFactor; k++) { StorageDescriptor psd = new StorageDescriptor(sd); psd.setLocation("file:/tmp/region=" + k); @@ -609,7 +609,7 @@ public void parallelOdd() throws Exception { partCols.add(new FieldSchema("region", "string", "")); for (int j = 0; j < parallelFactor; j++) { rdbms.createTable(new Table("t" + j, dbNames[i], "me", now, now, 0, sd, partCols, - emptyParameters, null, null, null)); + emptyParameters, null, null, null, null, null)); for (int k = 0; k < parallelFactor; k++) { StorageDescriptor psd = new StorageDescriptor(sd); psd.setLocation("file:/tmp/region=" + k); diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseSchemaTool.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseSchemaTool.java index e5833b8..c8cbfbf 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseSchemaTool.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseSchemaTool.java @@ -430,7 +430,7 @@ public void oneMondoTest() throws Exception { Table tab = new Table(tableNames[i], dbNames[0], "me", 0, 0, 0, sd, Arrays.asList(new FieldSchema("pcol1", "string", ""), new FieldSchema("pcol2", "string", "")), - Collections.emptyMap(), null, null, null); + Collections.emptyMap(), null, null, null, null, null); store.createTable(tab); } diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreIntegration.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreIntegration.java index 2cc1373..2f7596d 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreIntegration.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreIntegration.java @@ -196,7 +196,7 @@ public void createTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table("mytable", "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); Table t = store.getTable("default", "mytable"); @@ -224,7 +224,7 @@ public void alterTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table(tableName, "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); startTime += 10; @@ -271,7 +271,7 @@ public void getAllTables() throws Exception { serde, null, null, emptyParameters); Table table = new Table(tableNames[j], dbNames[i], "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); } } @@ -309,7 +309,7 @@ public void dropTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table(tableName, "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); Table t = store.getTable("default", tableName); @@ -332,7 +332,7 @@ public void createPartition() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List vals = new ArrayList(); @@ -372,7 +372,7 @@ public void addPartitions() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List partVals = Arrays.asList("alan", "bob", "carl", "doug", "ethan"); @@ -410,7 +410,7 @@ public void alterPartitions() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List partVals = Arrays.asList("alan", "bob", "carl", "doug", "ethan"); @@ -450,7 +450,7 @@ public void getPartitions() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List partVals = Arrays.asList("alan", "bob", "carl", "doug", "ethan"); @@ -489,7 +489,7 @@ public void listPartitions() throws Exception { partCols.add(new FieldSchema("pc", "string", "")); partCols.add(new FieldSchema("region", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); String[][] partVals = new String[][]{{"today", "north america"}, {"tomorrow", "europe"}}; @@ -533,7 +533,7 @@ public void listPartitionsWithPs() throws Exception { partCols.add(new FieldSchema("ds", "string", "")); partCols.add(new FieldSchema("region", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); String[][] partVals = new String[][]{{"today", "north america"}, {"today", "europe"}, @@ -598,7 +598,7 @@ public void getPartitionsByFilter() throws Exception { partCols.add(new FieldSchema("ds", "string", "")); partCols.add(new FieldSchema("region", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); String[][] partVals = new String[][]{{"20010101", "north america"}, {"20010101", "europe"}, @@ -681,7 +681,7 @@ public void dropPartition() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List vals = Arrays.asList("fred"); @@ -927,7 +927,7 @@ public void grantRevokeTablePrivileges() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); doGrantRevoke(HiveObjectType.TABLE, dbName, tableName, new String[] {"grtp_role1", "grtp_role2"}, @@ -1317,10 +1317,10 @@ public void listTableGrants() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table(tableNames[0], dbName, "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); table = new Table(tableNames[1], dbName, "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); String[] roleNames = new String[]{"ltg_role1", "ltg_role2"}; String[] userNames = new String[]{"gandalf", "radagast"}; @@ -1467,7 +1467,7 @@ public void tableStatistics() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table(tableName, dbname, "me", (int)now / 1000, (int)now / 1000, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); ColumnStatistics stats = new ColumnStatistics(); @@ -1665,7 +1665,7 @@ public void partitionStatistics() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("ds", "string", "")); Table table = new Table(tableName, dbname, "me", (int)now / 1000, (int)now / 1000, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); for (String partVal : partVals) { Partition part = new Partition(Arrays.asList(partVal), dbname, tableName, (int) now / 1000, diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestStorageDescriptorSharing.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestStorageDescriptorSharing.java index c29e46a..5a71235 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestStorageDescriptorSharing.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/hbase/TestStorageDescriptorSharing.java @@ -80,7 +80,7 @@ public void createManyPartitions() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List partVals = Arrays.asList("alan", "bob", "carl", "doug", "ethan"); @@ -103,7 +103,7 @@ public void createManyPartitions() throws Exception { sd = new StorageDescriptor(cols, "file:/tmp", "input2", "output", false, 0, serde, null, null, emptyParameters); table = new Table(tableName2, "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); Assert.assertEquals(2, HBaseReadWrite.getInstance().countStorageDescriptor()); diff --git a/metastore/if/hive_metastore.thrift b/metastore/if/hive_metastore.thrift index 6a55962..87451a7 100755 --- a/metastore/if/hive_metastore.thrift +++ b/metastore/if/hive_metastore.thrift @@ -41,6 +41,14 @@ struct FieldSchema { 3: string comment } +struct ForeignKeyRel { + 1: list foreignCols, + 2: list parentCols, + 3: string foreignKeyName, + 4: string parentTableName, + 5: string parentTableSchema +} + struct Type { 1: string name, // one of the types in PrimitiveTypes or CollectionTypes or User defined types 2: optional string type1, // object type if the name is 'list' (LIST_TYPE), key type if the name is 'map' (MAP_TYPE) @@ -268,7 +276,9 @@ struct Table { 11: string viewExpandedText, // expanded view text, null for non-view 12: string tableType, // table type enum, e.g. EXTERNAL_TABLE 13: optional PrincipalPrivilegeSet privileges, - 14: optional bool temporary=false + 14: optional bool temporary=false, + 15: list primaryKeys, + 16: list foreignKeys; } struct Partition { diff --git a/metastore/scripts/upgrade/derby/034-HIVE-13076.derby.sql b/metastore/scripts/upgrade/derby/034-HIVE-13076.derby.sql new file mode 100644 index 0000000..ebe2154 --- /dev/null +++ b/metastore/scripts/upgrade/derby/034-HIVE-13076.derby.sql @@ -0,0 +1,4 @@ +CREATE TABLE "APP"."PRIMARY_KEYS" ("TBL_ID" BIGINT NOT NULL, "PKEY_NAME" VARCHAR(128) NOT NULL, "PKEY_COMMENT" VARCHAR(4000), "PKEY_TYPE" VARCHAR(128) NOT NULL); +CREATE TABLE "APP"."FOREIGN_KEY_RELS" ("FOR_CD_ID" BIGINT NOT NULL, "REF_CD_ID" BIGINT NOT NULL, "PK_FK_CONSTRAINT_NAME" VARCHAR(400) NOT NULL, "FOR_TBL_ID" BIGINT NOT NULL); +CREATE TABLE "APP"."PK_FK_MAPPING" ("FOR_TBL_ID" BIGINT NOT NULL, "REF_TBL_ID" BIGINT NOT NULL, "PK_FK_CONSTRAINT_NAME" VARCHAR(400) NOT NULL); +ALTER TABLE "APP"."PRIMARY_KEYS" ADD CONSTRAINT "PRIMARY_KEY_PK" PRIMARY KEY ("TBL_ID", "PKEY_NAME"); diff --git a/metastore/scripts/upgrade/derby/hive-schema-2.1.0.derby.sql b/metastore/scripts/upgrade/derby/hive-schema-2.1.0.derby.sql index 42f4eb6..3eb0862 100644 --- a/metastore/scripts/upgrade/derby/hive-schema-2.1.0.derby.sql +++ b/metastore/scripts/upgrade/derby/hive-schema-2.1.0.derby.sql @@ -108,6 +108,8 @@ CREATE TABLE "APP"."NOTIFICATION_LOG" ("NL_ID" BIGINT NOT NULL, "DB_NAME" VARCHA CREATE TABLE "APP"."NOTIFICATION_SEQUENCE" ("NNI_ID" BIGINT NOT NULL, "NEXT_EVENT_ID" BIGINT NOT NULL); +RUN '034-HIVE-13076.derby.sql'; + -- ---------------------------------------------- -- DDL Statements for indexes -- ---------------------------------------------- diff --git a/metastore/scripts/upgrade/derby/upgrade-2.0.0-to-2.1.0.derby.sql b/metastore/scripts/upgrade/derby/upgrade-2.0.0-to-2.1.0.derby.sql index a0bac3c..dde8c45 100644 --- a/metastore/scripts/upgrade/derby/upgrade-2.0.0-to-2.1.0.derby.sql +++ b/metastore/scripts/upgrade/derby/upgrade-2.0.0-to-2.1.0.derby.sql @@ -1,4 +1,5 @@ -- Upgrade MetaStore schema from 2.0.0 to 2.1.0 RUN '033-HIVE-12892.derby.sql'; +RUN '034-HIVE-13076.derby.sql'; UPDATE "APP".VERSION SET SCHEMA_VERSION='2.1.0', VERSION_COMMENT='Hive release version 2.1.0' where VER_ID=1; diff --git a/metastore/scripts/upgrade/mssql/hive-schema-2.1.0.mssql.sql b/metastore/scripts/upgrade/mssql/hive-schema-2.1.0.mssql.sql index cf5a662..efb85f6 100644 --- a/metastore/scripts/upgrade/mssql/hive-schema-2.1.0.mssql.sql +++ b/metastore/scripts/upgrade/mssql/hive-schema-2.1.0.mssql.sql @@ -993,6 +993,8 @@ CREATE TABLE AUX_TABLE ( ) ); +:r 019-HIVE-13076.mssql.sql; + -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script diff --git a/metastore/scripts/upgrade/mssql/upgrade-2.0.0-to-2.1.0.mssql.sql b/metastore/scripts/upgrade/mssql/upgrade-2.0.0-to-2.1.0.mssql.sql index f25daf2..3e5cb30 100644 --- a/metastore/scripts/upgrade/mssql/upgrade-2.0.0-to-2.1.0.mssql.sql +++ b/metastore/scripts/upgrade/mssql/upgrade-2.0.0-to-2.1.0.mssql.sql @@ -1,6 +1,7 @@ SELECT 'Upgrading MetaStore schema from 2.0.0 to 2.1.0' AS MESSAGE; :r 018-HIVE-12892.mssql.sql; +:r 019-HIVE-13076.mssql.sql; UPDATE VERSION SET SCHEMA_VERSION='2.1.0', VERSION_COMMENT='Hive release version 2.1.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 2.0.0 to 2.1.0' AS MESSAGE; diff --git a/metastore/scripts/upgrade/mysql/034-HIVE-13076.mysql.sql b/metastore/scripts/upgrade/mysql/034-HIVE-13076.mysql.sql new file mode 100644 index 0000000..5924a40 --- /dev/null +++ b/metastore/scripts/upgrade/mysql/034-HIVE-13076.mysql.sql @@ -0,0 +1,22 @@ +CREATE TABLE IF NOT EXISTS `PRIMARY_KEYS` +( + `TBL_ID` BIGINT NOT NULL, + `PKEY_NAME` VARCHAR(128) NOT NULL, + `PKEY_COMMENT` VARCHAR(400) NOT NULL, + `PKEY_TYPE` VARCHAR(128) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +CREATE TABLE IF NOT EXISTS `FOREIGN_KEY_RELS` +( + `FOR_CD_ID` BIGINT NOT NULL, + `REF_CD_ID` BIGINT NOT NULL, + `PK_FK_CONSTRAINT_NAME` VARCHAR(400) NOT NULL, + `FOR_TBL_ID` BIGINT NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + +CREATE TABLE IF NOT EXISTS `PK_FK_MAPPING` +( + `FOR_TBL_ID` BIGINT NOT NULL, + `REF_TBL_ID` BIGINT NOT NULL, + `PK_FK_CONSTRAINT_NAME` VARCHAR(400) NOT NULL +) ENGINE=InnoDB DEFAULT CHARSET=latin1; diff --git a/metastore/scripts/upgrade/mysql/hive-schema-2.1.0.mysql.sql b/metastore/scripts/upgrade/mysql/hive-schema-2.1.0.mysql.sql index 6fd3209..0ac8011 100644 --- a/metastore/scripts/upgrade/mysql/hive-schema-2.1.0.mysql.sql +++ b/metastore/scripts/upgrade/mysql/hive-schema-2.1.0.mysql.sql @@ -819,7 +819,7 @@ CREATE TABLE IF NOT EXISTS `NOTIFICATION_SEQUENCE` PRIMARY KEY (`NNI_ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; - +SOURCE 034-HIVE-13076.mysql.sql; -- ---------------------------- -- Transaction and Lock Tables diff --git a/metastore/scripts/upgrade/mysql/upgrade-2.0.0-to-2.1.0.mysql.sql b/metastore/scripts/upgrade/mysql/upgrade-2.0.0-to-2.1.0.mysql.sql index e790636..eb21f73 100644 --- a/metastore/scripts/upgrade/mysql/upgrade-2.0.0-to-2.1.0.mysql.sql +++ b/metastore/scripts/upgrade/mysql/upgrade-2.0.0-to-2.1.0.mysql.sql @@ -1,6 +1,7 @@ SELECT 'Upgrading MetaStore schema from 2.0.0 to 2.1.0' AS ' '; SOURCE 033-HIVE-12892.mysql.sql; +SOURCE 034-HIVE-13076.mysql.sql; UPDATE VERSION SET SCHEMA_VERSION='2.1.0', VERSION_COMMENT='Hive release version 2.1.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 2.0.0 to 2.1.0' AS ' '; diff --git a/metastore/scripts/upgrade/oracle/034-HIVE-13076.oracle.sql b/metastore/scripts/upgrade/oracle/034-HIVE-13076.oracle.sql new file mode 100644 index 0000000..da75f6e --- /dev/null +++ b/metastore/scripts/upgrade/oracle/034-HIVE-13076.oracle.sql @@ -0,0 +1,22 @@ +CREATE TABLE PRIMARY_KEYS +( + TBL_ID NUMBER, + PKEY_NAME VARCHAR(128), + PKEY_COMMENT VARCHAR(400), + PKEY_TYPE VARCHAR(128) +) ; + +CREATE TABLE FOREIGN_KEY_RELS +( + FOR_CD_ID NUMBER, + REF_CD_ID NUMBER, + PK_FK_CONSTRAINT_NAME VARCHAR(400), + FOR_TBL_ID NUMBER +) ; + +CREATE TABLE PK_FK_MAPPING +( + FOR_TBL_ID NUMBER, + REF_TBL_ID NUMBER, + PK_FK_CONSTRAINT_NAME VARCHAR(400) +) ; \ No newline at end of file diff --git a/metastore/scripts/upgrade/oracle/hive-schema-2.1.0.oracle.sql b/metastore/scripts/upgrade/oracle/hive-schema-2.1.0.oracle.sql index 774f6be..0f3821a 100644 --- a/metastore/scripts/upgrade/oracle/hive-schema-2.1.0.oracle.sql +++ b/metastore/scripts/upgrade/oracle/hive-schema-2.1.0.oracle.sql @@ -786,6 +786,8 @@ ALTER TABLE FUNC_RU ADD CONSTRAINT FUNC_RU_FK1 FOREIGN KEY (FUNC_ID) REFERENCES CREATE INDEX FUNC_RU_N49 ON FUNC_RU (FUNC_ID); +@034-HIVE-13076.oracle.sql; + ------------------------------ -- Transaction and lock tables ------------------------------ diff --git a/metastore/scripts/upgrade/oracle/upgrade-2.0.0-to-2.1.0.oracle.sql b/metastore/scripts/upgrade/oracle/upgrade-2.0.0-to-2.1.0.oracle.sql index 8368d08..8c065a1 100644 --- a/metastore/scripts/upgrade/oracle/upgrade-2.0.0-to-2.1.0.oracle.sql +++ b/metastore/scripts/upgrade/oracle/upgrade-2.0.0-to-2.1.0.oracle.sql @@ -1,6 +1,7 @@ SELECT 'Upgrading MetaStore schema from 2.0.0 to 2.1.0' AS Status from dual; @033-HIVE-12892.oracle.sql; +@034-HIVE-13076.oracle.sql; UPDATE VERSION SET SCHEMA_VERSION='2.1.0', VERSION_COMMENT='Hive release version 2.1.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 2.0.0 to 2.1.0' AS Status from dual; diff --git a/metastore/scripts/upgrade/postgres/033-HIVE-13076.postgres.sql b/metastore/scripts/upgrade/postgres/033-HIVE-13076.postgres.sql new file mode 100644 index 0000000..b5c39f5 --- /dev/null +++ b/metastore/scripts/upgrade/postgres/033-HIVE-13076.postgres.sql @@ -0,0 +1,22 @@ +CREATE TABLE "PRIMARY_KEYS" +( + "TBL_ID" BIGINT NOT NULL, + "PKEY_NAME" CHARACTER VARYING(128) NOT NULL, + "PKEY_COMMENT" CHARACTER VARYING(400) NOT NULL, + "PKEY_TYPE" CHARACTER VARYING(128) NOT NULL +) ; + +CREATE TABLE "FOREIGN_KEY_RELS" +( + "FOR_CD_ID" BIGINT NOT NULL, + "REF_CD_ID" BIGINT NOT NULL, + "PK_FK_CONSTRAINT_NAME" CHARACTER VARYING(400) NOT NULL, + "FOR_TBL_ID" BIGINT NOT NULL +) ; + +CREATE TABLE "PK_FK_MAPPING" +( + "FOR_TBL_ID" BIGINT NOT NULL, + "REF_TBL_ID" BIGINT NOT NULL, + "PK_FK_CONSTRAINT_NAME" CHARACTER VARYING(400) NOT NULL +) ; \ No newline at end of file diff --git a/metastore/scripts/upgrade/postgres/hive-schema-2.1.0.postgres.sql b/metastore/scripts/upgrade/postgres/hive-schema-2.1.0.postgres.sql index 7463a37..d73a754 100644 --- a/metastore/scripts/upgrade/postgres/hive-schema-2.1.0.postgres.sql +++ b/metastore/scripts/upgrade/postgres/hive-schema-2.1.0.postgres.sql @@ -594,6 +594,8 @@ CREATE TABLE "NOTIFICATION_SEQUENCE" PRIMARY KEY ("NNI_ID") ); +\i 032-HIVE-12892.postgres.sql; + -- -- Name: BUCKETING_COLS_pkey; Type: CONSTRAINT; Schema: public; Owner: hiveuser; Tablespace: -- diff --git a/metastore/scripts/upgrade/postgres/upgrade-2.0.0-to-2.1.0.postgres.sql b/metastore/scripts/upgrade/postgres/upgrade-2.0.0-to-2.1.0.postgres.sql index 6172407..e96a6ec 100644 --- a/metastore/scripts/upgrade/postgres/upgrade-2.0.0-to-2.1.0.postgres.sql +++ b/metastore/scripts/upgrade/postgres/upgrade-2.0.0-to-2.1.0.postgres.sql @@ -1,6 +1,7 @@ SELECT 'Upgrading MetaStore schema from 2.0.0 to 2.1.0'; \i 032-HIVE-12892.postgres.sql; +\i 033-HIVE-13076.postgres.sql; UPDATE "VERSION" SET "SCHEMA_VERSION"='2.1.0', "VERSION_COMMENT"='Hive release version 2.1.0' where "VER_ID"=1; SELECT 'Finished upgrading MetaStore schema from 2.0.0 to 2.1.0'; diff --git a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 6e5de20..152cb6c 100644 --- a/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1240,14 +1240,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size725; - ::apache::thrift::protocol::TType _etype728; - xfer += iprot->readListBegin(_etype728, _size725); - this->success.resize(_size725); - uint32_t _i729; - for (_i729 = 0; _i729 < _size725; ++_i729) + uint32_t _size751; + ::apache::thrift::protocol::TType _etype754; + xfer += iprot->readListBegin(_etype754, _size751); + this->success.resize(_size751); + uint32_t _i755; + for (_i755 = 0; _i755 < _size751; ++_i755) { - xfer += iprot->readString(this->success[_i729]); + xfer += iprot->readString(this->success[_i755]); } xfer += iprot->readListEnd(); } @@ -1286,10 +1286,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter730; - for (_iter730 = this->success.begin(); _iter730 != this->success.end(); ++_iter730) + std::vector ::const_iterator _iter756; + for (_iter756 = this->success.begin(); _iter756 != this->success.end(); ++_iter756) { - xfer += oprot->writeString((*_iter730)); + xfer += oprot->writeString((*_iter756)); } xfer += oprot->writeListEnd(); } @@ -1334,14 +1334,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size731; - ::apache::thrift::protocol::TType _etype734; - xfer += iprot->readListBegin(_etype734, _size731); - (*(this->success)).resize(_size731); - uint32_t _i735; - for (_i735 = 0; _i735 < _size731; ++_i735) + uint32_t _size757; + ::apache::thrift::protocol::TType _etype760; + xfer += iprot->readListBegin(_etype760, _size757); + (*(this->success)).resize(_size757); + uint32_t _i761; + for (_i761 = 0; _i761 < _size757; ++_i761) { - xfer += iprot->readString((*(this->success))[_i735]); + xfer += iprot->readString((*(this->success))[_i761]); } xfer += iprot->readListEnd(); } @@ -1458,14 +1458,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size736; - ::apache::thrift::protocol::TType _etype739; - xfer += iprot->readListBegin(_etype739, _size736); - this->success.resize(_size736); - uint32_t _i740; - for (_i740 = 0; _i740 < _size736; ++_i740) + uint32_t _size762; + ::apache::thrift::protocol::TType _etype765; + xfer += iprot->readListBegin(_etype765, _size762); + this->success.resize(_size762); + uint32_t _i766; + for (_i766 = 0; _i766 < _size762; ++_i766) { - xfer += iprot->readString(this->success[_i740]); + xfer += iprot->readString(this->success[_i766]); } xfer += iprot->readListEnd(); } @@ -1504,10 +1504,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter741; - for (_iter741 = this->success.begin(); _iter741 != this->success.end(); ++_iter741) + std::vector ::const_iterator _iter767; + for (_iter767 = this->success.begin(); _iter767 != this->success.end(); ++_iter767) { - xfer += oprot->writeString((*_iter741)); + xfer += oprot->writeString((*_iter767)); } xfer += oprot->writeListEnd(); } @@ -1552,14 +1552,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size742; - ::apache::thrift::protocol::TType _etype745; - xfer += iprot->readListBegin(_etype745, _size742); - (*(this->success)).resize(_size742); - uint32_t _i746; - for (_i746 = 0; _i746 < _size742; ++_i746) + uint32_t _size768; + ::apache::thrift::protocol::TType _etype771; + xfer += iprot->readListBegin(_etype771, _size768); + (*(this->success)).resize(_size768); + uint32_t _i772; + for (_i772 = 0; _i772 < _size768; ++_i772) { - xfer += iprot->readString((*(this->success))[_i746]); + xfer += iprot->readString((*(this->success))[_i772]); } xfer += iprot->readListEnd(); } @@ -2621,17 +2621,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size747; - ::apache::thrift::protocol::TType _ktype748; - ::apache::thrift::protocol::TType _vtype749; - xfer += iprot->readMapBegin(_ktype748, _vtype749, _size747); - uint32_t _i751; - for (_i751 = 0; _i751 < _size747; ++_i751) + uint32_t _size773; + ::apache::thrift::protocol::TType _ktype774; + ::apache::thrift::protocol::TType _vtype775; + xfer += iprot->readMapBegin(_ktype774, _vtype775, _size773); + uint32_t _i777; + for (_i777 = 0; _i777 < _size773; ++_i777) { - std::string _key752; - xfer += iprot->readString(_key752); - Type& _val753 = this->success[_key752]; - xfer += _val753.read(iprot); + std::string _key778; + xfer += iprot->readString(_key778); + Type& _val779 = this->success[_key778]; + xfer += _val779.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2670,11 +2670,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter754; - for (_iter754 = this->success.begin(); _iter754 != this->success.end(); ++_iter754) + std::map ::const_iterator _iter780; + for (_iter780 = this->success.begin(); _iter780 != this->success.end(); ++_iter780) { - xfer += oprot->writeString(_iter754->first); - xfer += _iter754->second.write(oprot); + xfer += oprot->writeString(_iter780->first); + xfer += _iter780->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2719,17 +2719,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size755; - ::apache::thrift::protocol::TType _ktype756; - ::apache::thrift::protocol::TType _vtype757; - xfer += iprot->readMapBegin(_ktype756, _vtype757, _size755); - uint32_t _i759; - for (_i759 = 0; _i759 < _size755; ++_i759) + uint32_t _size781; + ::apache::thrift::protocol::TType _ktype782; + ::apache::thrift::protocol::TType _vtype783; + xfer += iprot->readMapBegin(_ktype782, _vtype783, _size781); + uint32_t _i785; + for (_i785 = 0; _i785 < _size781; ++_i785) { - std::string _key760; - xfer += iprot->readString(_key760); - Type& _val761 = (*(this->success))[_key760]; - xfer += _val761.read(iprot); + std::string _key786; + xfer += iprot->readString(_key786); + Type& _val787 = (*(this->success))[_key786]; + xfer += _val787.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2883,14 +2883,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size762; - ::apache::thrift::protocol::TType _etype765; - xfer += iprot->readListBegin(_etype765, _size762); - this->success.resize(_size762); - uint32_t _i766; - for (_i766 = 0; _i766 < _size762; ++_i766) + uint32_t _size788; + ::apache::thrift::protocol::TType _etype791; + xfer += iprot->readListBegin(_etype791, _size788); + this->success.resize(_size788); + uint32_t _i792; + for (_i792 = 0; _i792 < _size788; ++_i792) { - xfer += this->success[_i766].read(iprot); + xfer += this->success[_i792].read(iprot); } xfer += iprot->readListEnd(); } @@ -2945,10 +2945,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter767; - for (_iter767 = this->success.begin(); _iter767 != this->success.end(); ++_iter767) + std::vector ::const_iterator _iter793; + for (_iter793 = this->success.begin(); _iter793 != this->success.end(); ++_iter793) { - xfer += (*_iter767).write(oprot); + xfer += (*_iter793).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3001,14 +3001,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size768; - ::apache::thrift::protocol::TType _etype771; - xfer += iprot->readListBegin(_etype771, _size768); - (*(this->success)).resize(_size768); - uint32_t _i772; - for (_i772 = 0; _i772 < _size768; ++_i772) + uint32_t _size794; + ::apache::thrift::protocol::TType _etype797; + xfer += iprot->readListBegin(_etype797, _size794); + (*(this->success)).resize(_size794); + uint32_t _i798; + for (_i798 = 0; _i798 < _size794; ++_i798) { - xfer += (*(this->success))[_i772].read(iprot); + xfer += (*(this->success))[_i798].read(iprot); } xfer += iprot->readListEnd(); } @@ -3194,14 +3194,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size773; - ::apache::thrift::protocol::TType _etype776; - xfer += iprot->readListBegin(_etype776, _size773); - this->success.resize(_size773); - uint32_t _i777; - for (_i777 = 0; _i777 < _size773; ++_i777) + uint32_t _size799; + ::apache::thrift::protocol::TType _etype802; + xfer += iprot->readListBegin(_etype802, _size799); + this->success.resize(_size799); + uint32_t _i803; + for (_i803 = 0; _i803 < _size799; ++_i803) { - xfer += this->success[_i777].read(iprot); + xfer += this->success[_i803].read(iprot); } xfer += iprot->readListEnd(); } @@ -3256,10 +3256,10 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter778; - for (_iter778 = this->success.begin(); _iter778 != this->success.end(); ++_iter778) + std::vector ::const_iterator _iter804; + for (_iter804 = this->success.begin(); _iter804 != this->success.end(); ++_iter804) { - xfer += (*_iter778).write(oprot); + xfer += (*_iter804).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3312,14 +3312,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size779; - ::apache::thrift::protocol::TType _etype782; - xfer += iprot->readListBegin(_etype782, _size779); - (*(this->success)).resize(_size779); - uint32_t _i783; - for (_i783 = 0; _i783 < _size779; ++_i783) + uint32_t _size805; + ::apache::thrift::protocol::TType _etype808; + xfer += iprot->readListBegin(_etype808, _size805); + (*(this->success)).resize(_size805); + uint32_t _i809; + for (_i809 = 0; _i809 < _size805; ++_i809) { - xfer += (*(this->success))[_i783].read(iprot); + xfer += (*(this->success))[_i809].read(iprot); } xfer += iprot->readListEnd(); } @@ -3489,14 +3489,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size784; - ::apache::thrift::protocol::TType _etype787; - xfer += iprot->readListBegin(_etype787, _size784); - this->success.resize(_size784); - uint32_t _i788; - for (_i788 = 0; _i788 < _size784; ++_i788) + uint32_t _size810; + ::apache::thrift::protocol::TType _etype813; + xfer += iprot->readListBegin(_etype813, _size810); + this->success.resize(_size810); + uint32_t _i814; + for (_i814 = 0; _i814 < _size810; ++_i814) { - xfer += this->success[_i788].read(iprot); + xfer += this->success[_i814].read(iprot); } xfer += iprot->readListEnd(); } @@ -3551,10 +3551,10 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter789; - for (_iter789 = this->success.begin(); _iter789 != this->success.end(); ++_iter789) + std::vector ::const_iterator _iter815; + for (_iter815 = this->success.begin(); _iter815 != this->success.end(); ++_iter815) { - xfer += (*_iter789).write(oprot); + xfer += (*_iter815).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3607,14 +3607,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size790; - ::apache::thrift::protocol::TType _etype793; - xfer += iprot->readListBegin(_etype793, _size790); - (*(this->success)).resize(_size790); - uint32_t _i794; - for (_i794 = 0; _i794 < _size790; ++_i794) + uint32_t _size816; + ::apache::thrift::protocol::TType _etype819; + xfer += iprot->readListBegin(_etype819, _size816); + (*(this->success)).resize(_size816); + uint32_t _i820; + for (_i820 = 0; _i820 < _size816; ++_i820) { - xfer += (*(this->success))[_i794].read(iprot); + xfer += (*(this->success))[_i820].read(iprot); } xfer += iprot->readListEnd(); } @@ -3800,14 +3800,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size795; - ::apache::thrift::protocol::TType _etype798; - xfer += iprot->readListBegin(_etype798, _size795); - this->success.resize(_size795); - uint32_t _i799; - for (_i799 = 0; _i799 < _size795; ++_i799) + uint32_t _size821; + ::apache::thrift::protocol::TType _etype824; + xfer += iprot->readListBegin(_etype824, _size821); + this->success.resize(_size821); + uint32_t _i825; + for (_i825 = 0; _i825 < _size821; ++_i825) { - xfer += this->success[_i799].read(iprot); + xfer += this->success[_i825].read(iprot); } xfer += iprot->readListEnd(); } @@ -3862,10 +3862,10 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter800; - for (_iter800 = this->success.begin(); _iter800 != this->success.end(); ++_iter800) + std::vector ::const_iterator _iter826; + for (_iter826 = this->success.begin(); _iter826 != this->success.end(); ++_iter826) { - xfer += (*_iter800).write(oprot); + xfer += (*_iter826).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3918,14 +3918,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size801; - ::apache::thrift::protocol::TType _etype804; - xfer += iprot->readListBegin(_etype804, _size801); - (*(this->success)).resize(_size801); - uint32_t _i805; - for (_i805 = 0; _i805 < _size801; ++_i805) + uint32_t _size827; + ::apache::thrift::protocol::TType _etype830; + xfer += iprot->readListBegin(_etype830, _size827); + (*(this->success)).resize(_size827); + uint32_t _i831; + for (_i831 = 0; _i831 < _size827; ++_i831) { - xfer += (*(this->success))[_i805].read(iprot); + xfer += (*(this->success))[_i831].read(iprot); } xfer += iprot->readListEnd(); } @@ -5099,14 +5099,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size806; - ::apache::thrift::protocol::TType _etype809; - xfer += iprot->readListBegin(_etype809, _size806); - this->success.resize(_size806); - uint32_t _i810; - for (_i810 = 0; _i810 < _size806; ++_i810) + uint32_t _size832; + ::apache::thrift::protocol::TType _etype835; + xfer += iprot->readListBegin(_etype835, _size832); + this->success.resize(_size832); + uint32_t _i836; + for (_i836 = 0; _i836 < _size832; ++_i836) { - xfer += iprot->readString(this->success[_i810]); + xfer += iprot->readString(this->success[_i836]); } xfer += iprot->readListEnd(); } @@ -5145,10 +5145,10 @@ uint32_t ThriftHiveMetastore_get_tables_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter811; - for (_iter811 = this->success.begin(); _iter811 != this->success.end(); ++_iter811) + std::vector ::const_iterator _iter837; + for (_iter837 = this->success.begin(); _iter837 != this->success.end(); ++_iter837) { - xfer += oprot->writeString((*_iter811)); + xfer += oprot->writeString((*_iter837)); } xfer += oprot->writeListEnd(); } @@ -5193,14 +5193,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size812; - ::apache::thrift::protocol::TType _etype815; - xfer += iprot->readListBegin(_etype815, _size812); - (*(this->success)).resize(_size812); - uint32_t _i816; - for (_i816 = 0; _i816 < _size812; ++_i816) + uint32_t _size838; + ::apache::thrift::protocol::TType _etype841; + xfer += iprot->readListBegin(_etype841, _size838); + (*(this->success)).resize(_size838); + uint32_t _i842; + for (_i842 = 0; _i842 < _size838; ++_i842) { - xfer += iprot->readString((*(this->success))[_i816]); + xfer += iprot->readString((*(this->success))[_i842]); } xfer += iprot->readListEnd(); } @@ -5275,14 +5275,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_types.clear(); - uint32_t _size817; - ::apache::thrift::protocol::TType _etype820; - xfer += iprot->readListBegin(_etype820, _size817); - this->tbl_types.resize(_size817); - uint32_t _i821; - for (_i821 = 0; _i821 < _size817; ++_i821) + uint32_t _size843; + ::apache::thrift::protocol::TType _etype846; + xfer += iprot->readListBegin(_etype846, _size843); + this->tbl_types.resize(_size843); + uint32_t _i847; + for (_i847 = 0; _i847 < _size843; ++_i847) { - xfer += iprot->readString(this->tbl_types[_i821]); + xfer += iprot->readString(this->tbl_types[_i847]); } xfer += iprot->readListEnd(); } @@ -5319,10 +5319,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_types.size())); - std::vector ::const_iterator _iter822; - for (_iter822 = this->tbl_types.begin(); _iter822 != this->tbl_types.end(); ++_iter822) + std::vector ::const_iterator _iter848; + for (_iter848 = this->tbl_types.begin(); _iter848 != this->tbl_types.end(); ++_iter848) { - xfer += oprot->writeString((*_iter822)); + xfer += oprot->writeString((*_iter848)); } xfer += oprot->writeListEnd(); } @@ -5354,10 +5354,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("tbl_types", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_types)).size())); - std::vector ::const_iterator _iter823; - for (_iter823 = (*(this->tbl_types)).begin(); _iter823 != (*(this->tbl_types)).end(); ++_iter823) + std::vector ::const_iterator _iter849; + for (_iter849 = (*(this->tbl_types)).begin(); _iter849 != (*(this->tbl_types)).end(); ++_iter849) { - xfer += oprot->writeString((*_iter823)); + xfer += oprot->writeString((*_iter849)); } xfer += oprot->writeListEnd(); } @@ -5398,14 +5398,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size824; - ::apache::thrift::protocol::TType _etype827; - xfer += iprot->readListBegin(_etype827, _size824); - this->success.resize(_size824); - uint32_t _i828; - for (_i828 = 0; _i828 < _size824; ++_i828) + uint32_t _size850; + ::apache::thrift::protocol::TType _etype853; + xfer += iprot->readListBegin(_etype853, _size850); + this->success.resize(_size850); + uint32_t _i854; + for (_i854 = 0; _i854 < _size850; ++_i854) { - xfer += this->success[_i828].read(iprot); + xfer += this->success[_i854].read(iprot); } xfer += iprot->readListEnd(); } @@ -5444,10 +5444,10 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter829; - for (_iter829 = this->success.begin(); _iter829 != this->success.end(); ++_iter829) + std::vector ::const_iterator _iter855; + for (_iter855 = this->success.begin(); _iter855 != this->success.end(); ++_iter855) { - xfer += (*_iter829).write(oprot); + xfer += (*_iter855).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5492,14 +5492,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size830; - ::apache::thrift::protocol::TType _etype833; - xfer += iprot->readListBegin(_etype833, _size830); - (*(this->success)).resize(_size830); - uint32_t _i834; - for (_i834 = 0; _i834 < _size830; ++_i834) + uint32_t _size856; + ::apache::thrift::protocol::TType _etype859; + xfer += iprot->readListBegin(_etype859, _size856); + (*(this->success)).resize(_size856); + uint32_t _i860; + for (_i860 = 0; _i860 < _size856; ++_i860) { - xfer += (*(this->success))[_i834].read(iprot); + xfer += (*(this->success))[_i860].read(iprot); } xfer += iprot->readListEnd(); } @@ -5637,14 +5637,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size835; - ::apache::thrift::protocol::TType _etype838; - xfer += iprot->readListBegin(_etype838, _size835); - this->success.resize(_size835); - uint32_t _i839; - for (_i839 = 0; _i839 < _size835; ++_i839) + uint32_t _size861; + ::apache::thrift::protocol::TType _etype864; + xfer += iprot->readListBegin(_etype864, _size861); + this->success.resize(_size861); + uint32_t _i865; + for (_i865 = 0; _i865 < _size861; ++_i865) { - xfer += iprot->readString(this->success[_i839]); + xfer += iprot->readString(this->success[_i865]); } xfer += iprot->readListEnd(); } @@ -5683,10 +5683,10 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter840; - for (_iter840 = this->success.begin(); _iter840 != this->success.end(); ++_iter840) + std::vector ::const_iterator _iter866; + for (_iter866 = this->success.begin(); _iter866 != this->success.end(); ++_iter866) { - xfer += oprot->writeString((*_iter840)); + xfer += oprot->writeString((*_iter866)); } xfer += oprot->writeListEnd(); } @@ -5731,14 +5731,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size841; - ::apache::thrift::protocol::TType _etype844; - xfer += iprot->readListBegin(_etype844, _size841); - (*(this->success)).resize(_size841); - uint32_t _i845; - for (_i845 = 0; _i845 < _size841; ++_i845) + uint32_t _size867; + ::apache::thrift::protocol::TType _etype870; + xfer += iprot->readListBegin(_etype870, _size867); + (*(this->success)).resize(_size867); + uint32_t _i871; + for (_i871 = 0; _i871 < _size867; ++_i871) { - xfer += iprot->readString((*(this->success))[_i845]); + xfer += iprot->readString((*(this->success))[_i871]); } xfer += iprot->readListEnd(); } @@ -6048,14 +6048,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size846; - ::apache::thrift::protocol::TType _etype849; - xfer += iprot->readListBegin(_etype849, _size846); - this->tbl_names.resize(_size846); - uint32_t _i850; - for (_i850 = 0; _i850 < _size846; ++_i850) + uint32_t _size872; + ::apache::thrift::protocol::TType _etype875; + xfer += iprot->readListBegin(_etype875, _size872); + this->tbl_names.resize(_size872); + uint32_t _i876; + for (_i876 = 0; _i876 < _size872; ++_i876) { - xfer += iprot->readString(this->tbl_names[_i850]); + xfer += iprot->readString(this->tbl_names[_i876]); } xfer += iprot->readListEnd(); } @@ -6088,10 +6088,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_args::write(::apache::thr xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tbl_names.size())); - std::vector ::const_iterator _iter851; - for (_iter851 = this->tbl_names.begin(); _iter851 != this->tbl_names.end(); ++_iter851) + std::vector ::const_iterator _iter877; + for (_iter877 = this->tbl_names.begin(); _iter877 != this->tbl_names.end(); ++_iter877) { - xfer += oprot->writeString((*_iter851)); + xfer += oprot->writeString((*_iter877)); } xfer += oprot->writeListEnd(); } @@ -6119,10 +6119,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_pargs::write(::apache::th xfer += oprot->writeFieldBegin("tbl_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->tbl_names)).size())); - std::vector ::const_iterator _iter852; - for (_iter852 = (*(this->tbl_names)).begin(); _iter852 != (*(this->tbl_names)).end(); ++_iter852) + std::vector ::const_iterator _iter878; + for (_iter878 = (*(this->tbl_names)).begin(); _iter878 != (*(this->tbl_names)).end(); ++_iter878) { - xfer += oprot->writeString((*_iter852)); + xfer += oprot->writeString((*_iter878)); } xfer += oprot->writeListEnd(); } @@ -6163,14 +6163,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size853; - ::apache::thrift::protocol::TType _etype856; - xfer += iprot->readListBegin(_etype856, _size853); - this->success.resize(_size853); - uint32_t _i857; - for (_i857 = 0; _i857 < _size853; ++_i857) + uint32_t _size879; + ::apache::thrift::protocol::TType _etype882; + xfer += iprot->readListBegin(_etype882, _size879); + this->success.resize(_size879); + uint32_t _i883; + for (_i883 = 0; _i883 < _size879; ++_i883) { - xfer += this->success[_i857].read(iprot); + xfer += this->success[_i883].read(iprot); } xfer += iprot->readListEnd(); } @@ -6225,10 +6225,10 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter858; - for (_iter858 = this->success.begin(); _iter858 != this->success.end(); ++_iter858) + std::vector
::const_iterator _iter884; + for (_iter884 = this->success.begin(); _iter884 != this->success.end(); ++_iter884) { - xfer += (*_iter858).write(oprot); + xfer += (*_iter884).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6281,14 +6281,14 @@ uint32_t ThriftHiveMetastore_get_table_objects_by_name_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size859; - ::apache::thrift::protocol::TType _etype862; - xfer += iprot->readListBegin(_etype862, _size859); - (*(this->success)).resize(_size859); - uint32_t _i863; - for (_i863 = 0; _i863 < _size859; ++_i863) + uint32_t _size885; + ::apache::thrift::protocol::TType _etype888; + xfer += iprot->readListBegin(_etype888, _size885); + (*(this->success)).resize(_size885); + uint32_t _i889; + for (_i889 = 0; _i889 < _size885; ++_i889) { - xfer += (*(this->success))[_i863].read(iprot); + xfer += (*(this->success))[_i889].read(iprot); } xfer += iprot->readListEnd(); } @@ -6474,14 +6474,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size864; - ::apache::thrift::protocol::TType _etype867; - xfer += iprot->readListBegin(_etype867, _size864); - this->success.resize(_size864); - uint32_t _i868; - for (_i868 = 0; _i868 < _size864; ++_i868) + uint32_t _size890; + ::apache::thrift::protocol::TType _etype893; + xfer += iprot->readListBegin(_etype893, _size890); + this->success.resize(_size890); + uint32_t _i894; + for (_i894 = 0; _i894 < _size890; ++_i894) { - xfer += iprot->readString(this->success[_i868]); + xfer += iprot->readString(this->success[_i894]); } xfer += iprot->readListEnd(); } @@ -6536,10 +6536,10 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter869; - for (_iter869 = this->success.begin(); _iter869 != this->success.end(); ++_iter869) + std::vector ::const_iterator _iter895; + for (_iter895 = this->success.begin(); _iter895 != this->success.end(); ++_iter895) { - xfer += oprot->writeString((*_iter869)); + xfer += oprot->writeString((*_iter895)); } xfer += oprot->writeListEnd(); } @@ -6592,14 +6592,14 @@ uint32_t ThriftHiveMetastore_get_table_names_by_filter_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size870; - ::apache::thrift::protocol::TType _etype873; - xfer += iprot->readListBegin(_etype873, _size870); - (*(this->success)).resize(_size870); - uint32_t _i874; - for (_i874 = 0; _i874 < _size870; ++_i874) + uint32_t _size896; + ::apache::thrift::protocol::TType _etype899; + xfer += iprot->readListBegin(_etype899, _size896); + (*(this->success)).resize(_size896); + uint32_t _i900; + for (_i900 = 0; _i900 < _size896; ++_i900) { - xfer += iprot->readString((*(this->success))[_i874]); + xfer += iprot->readString((*(this->success))[_i900]); } xfer += iprot->readListEnd(); } @@ -7933,14 +7933,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size875; - ::apache::thrift::protocol::TType _etype878; - xfer += iprot->readListBegin(_etype878, _size875); - this->new_parts.resize(_size875); - uint32_t _i879; - for (_i879 = 0; _i879 < _size875; ++_i879) + uint32_t _size901; + ::apache::thrift::protocol::TType _etype904; + xfer += iprot->readListBegin(_etype904, _size901); + this->new_parts.resize(_size901); + uint32_t _i905; + for (_i905 = 0; _i905 < _size901; ++_i905) { - xfer += this->new_parts[_i879].read(iprot); + xfer += this->new_parts[_i905].read(iprot); } xfer += iprot->readListEnd(); } @@ -7969,10 +7969,10 @@ uint32_t ThriftHiveMetastore_add_partitions_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter880; - for (_iter880 = this->new_parts.begin(); _iter880 != this->new_parts.end(); ++_iter880) + std::vector ::const_iterator _iter906; + for (_iter906 = this->new_parts.begin(); _iter906 != this->new_parts.end(); ++_iter906) { - xfer += (*_iter880).write(oprot); + xfer += (*_iter906).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7996,10 +7996,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter881; - for (_iter881 = (*(this->new_parts)).begin(); _iter881 != (*(this->new_parts)).end(); ++_iter881) + std::vector ::const_iterator _iter907; + for (_iter907 = (*(this->new_parts)).begin(); _iter907 != (*(this->new_parts)).end(); ++_iter907) { - xfer += (*_iter881).write(oprot); + xfer += (*_iter907).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8208,14 +8208,14 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size882; - ::apache::thrift::protocol::TType _etype885; - xfer += iprot->readListBegin(_etype885, _size882); - this->new_parts.resize(_size882); - uint32_t _i886; - for (_i886 = 0; _i886 < _size882; ++_i886) + uint32_t _size908; + ::apache::thrift::protocol::TType _etype911; + xfer += iprot->readListBegin(_etype911, _size908); + this->new_parts.resize(_size908); + uint32_t _i912; + for (_i912 = 0; _i912 < _size908; ++_i912) { - xfer += this->new_parts[_i886].read(iprot); + xfer += this->new_parts[_i912].read(iprot); } xfer += iprot->readListEnd(); } @@ -8244,10 +8244,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_args::write(::apache::thrift:: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter887; - for (_iter887 = this->new_parts.begin(); _iter887 != this->new_parts.end(); ++_iter887) + std::vector ::const_iterator _iter913; + for (_iter913 = this->new_parts.begin(); _iter913 != this->new_parts.end(); ++_iter913) { - xfer += (*_iter887).write(oprot); + xfer += (*_iter913).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8271,10 +8271,10 @@ uint32_t ThriftHiveMetastore_add_partitions_pspec_pargs::write(::apache::thrift: xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter888; - for (_iter888 = (*(this->new_parts)).begin(); _iter888 != (*(this->new_parts)).end(); ++_iter888) + std::vector ::const_iterator _iter914; + for (_iter914 = (*(this->new_parts)).begin(); _iter914 != (*(this->new_parts)).end(); ++_iter914) { - xfer += (*_iter888).write(oprot); + xfer += (*_iter914).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8499,14 +8499,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size889; - ::apache::thrift::protocol::TType _etype892; - xfer += iprot->readListBegin(_etype892, _size889); - this->part_vals.resize(_size889); - uint32_t _i893; - for (_i893 = 0; _i893 < _size889; ++_i893) + uint32_t _size915; + ::apache::thrift::protocol::TType _etype918; + xfer += iprot->readListBegin(_etype918, _size915); + this->part_vals.resize(_size915); + uint32_t _i919; + for (_i919 = 0; _i919 < _size915; ++_i919) { - xfer += iprot->readString(this->part_vals[_i893]); + xfer += iprot->readString(this->part_vals[_i919]); } xfer += iprot->readListEnd(); } @@ -8543,10 +8543,10 @@ uint32_t ThriftHiveMetastore_append_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter894; - for (_iter894 = this->part_vals.begin(); _iter894 != this->part_vals.end(); ++_iter894) + std::vector ::const_iterator _iter920; + for (_iter920 = this->part_vals.begin(); _iter920 != this->part_vals.end(); ++_iter920) { - xfer += oprot->writeString((*_iter894)); + xfer += oprot->writeString((*_iter920)); } xfer += oprot->writeListEnd(); } @@ -8578,10 +8578,10 @@ uint32_t ThriftHiveMetastore_append_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter895; - for (_iter895 = (*(this->part_vals)).begin(); _iter895 != (*(this->part_vals)).end(); ++_iter895) + std::vector ::const_iterator _iter921; + for (_iter921 = (*(this->part_vals)).begin(); _iter921 != (*(this->part_vals)).end(); ++_iter921) { - xfer += oprot->writeString((*_iter895)); + xfer += oprot->writeString((*_iter921)); } xfer += oprot->writeListEnd(); } @@ -9053,14 +9053,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size896; - ::apache::thrift::protocol::TType _etype899; - xfer += iprot->readListBegin(_etype899, _size896); - this->part_vals.resize(_size896); - uint32_t _i900; - for (_i900 = 0; _i900 < _size896; ++_i900) + uint32_t _size922; + ::apache::thrift::protocol::TType _etype925; + xfer += iprot->readListBegin(_etype925, _size922); + this->part_vals.resize(_size922); + uint32_t _i926; + for (_i926 = 0; _i926 < _size922; ++_i926) { - xfer += iprot->readString(this->part_vals[_i900]); + xfer += iprot->readString(this->part_vals[_i926]); } xfer += iprot->readListEnd(); } @@ -9105,10 +9105,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::wri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter901; - for (_iter901 = this->part_vals.begin(); _iter901 != this->part_vals.end(); ++_iter901) + std::vector ::const_iterator _iter927; + for (_iter927 = this->part_vals.begin(); _iter927 != this->part_vals.end(); ++_iter927) { - xfer += oprot->writeString((*_iter901)); + xfer += oprot->writeString((*_iter927)); } xfer += oprot->writeListEnd(); } @@ -9144,10 +9144,10 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter902; - for (_iter902 = (*(this->part_vals)).begin(); _iter902 != (*(this->part_vals)).end(); ++_iter902) + std::vector ::const_iterator _iter928; + for (_iter928 = (*(this->part_vals)).begin(); _iter928 != (*(this->part_vals)).end(); ++_iter928) { - xfer += oprot->writeString((*_iter902)); + xfer += oprot->writeString((*_iter928)); } xfer += oprot->writeListEnd(); } @@ -9950,14 +9950,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size903; - ::apache::thrift::protocol::TType _etype906; - xfer += iprot->readListBegin(_etype906, _size903); - this->part_vals.resize(_size903); - uint32_t _i907; - for (_i907 = 0; _i907 < _size903; ++_i907) + uint32_t _size929; + ::apache::thrift::protocol::TType _etype932; + xfer += iprot->readListBegin(_etype932, _size929); + this->part_vals.resize(_size929); + uint32_t _i933; + for (_i933 = 0; _i933 < _size929; ++_i933) { - xfer += iprot->readString(this->part_vals[_i907]); + xfer += iprot->readString(this->part_vals[_i933]); } xfer += iprot->readListEnd(); } @@ -10002,10 +10002,10 @@ uint32_t ThriftHiveMetastore_drop_partition_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter908; - for (_iter908 = this->part_vals.begin(); _iter908 != this->part_vals.end(); ++_iter908) + std::vector ::const_iterator _iter934; + for (_iter934 = this->part_vals.begin(); _iter934 != this->part_vals.end(); ++_iter934) { - xfer += oprot->writeString((*_iter908)); + xfer += oprot->writeString((*_iter934)); } xfer += oprot->writeListEnd(); } @@ -10041,10 +10041,10 @@ uint32_t ThriftHiveMetastore_drop_partition_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter909; - for (_iter909 = (*(this->part_vals)).begin(); _iter909 != (*(this->part_vals)).end(); ++_iter909) + std::vector ::const_iterator _iter935; + for (_iter935 = (*(this->part_vals)).begin(); _iter935 != (*(this->part_vals)).end(); ++_iter935) { - xfer += oprot->writeString((*_iter909)); + xfer += oprot->writeString((*_iter935)); } xfer += oprot->writeListEnd(); } @@ -10253,14 +10253,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size910; - ::apache::thrift::protocol::TType _etype913; - xfer += iprot->readListBegin(_etype913, _size910); - this->part_vals.resize(_size910); - uint32_t _i914; - for (_i914 = 0; _i914 < _size910; ++_i914) + uint32_t _size936; + ::apache::thrift::protocol::TType _etype939; + xfer += iprot->readListBegin(_etype939, _size936); + this->part_vals.resize(_size936); + uint32_t _i940; + for (_i940 = 0; _i940 < _size936; ++_i940) { - xfer += iprot->readString(this->part_vals[_i914]); + xfer += iprot->readString(this->part_vals[_i940]); } xfer += iprot->readListEnd(); } @@ -10313,10 +10313,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::write xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter915; - for (_iter915 = this->part_vals.begin(); _iter915 != this->part_vals.end(); ++_iter915) + std::vector ::const_iterator _iter941; + for (_iter941 = this->part_vals.begin(); _iter941 != this->part_vals.end(); ++_iter941) { - xfer += oprot->writeString((*_iter915)); + xfer += oprot->writeString((*_iter941)); } xfer += oprot->writeListEnd(); } @@ -10356,10 +10356,10 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_pargs::writ xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter916; - for (_iter916 = (*(this->part_vals)).begin(); _iter916 != (*(this->part_vals)).end(); ++_iter916) + std::vector ::const_iterator _iter942; + for (_iter942 = (*(this->part_vals)).begin(); _iter942 != (*(this->part_vals)).end(); ++_iter942) { - xfer += oprot->writeString((*_iter916)); + xfer += oprot->writeString((*_iter942)); } xfer += oprot->writeListEnd(); } @@ -11365,14 +11365,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size917; - ::apache::thrift::protocol::TType _etype920; - xfer += iprot->readListBegin(_etype920, _size917); - this->part_vals.resize(_size917); - uint32_t _i921; - for (_i921 = 0; _i921 < _size917; ++_i921) + uint32_t _size943; + ::apache::thrift::protocol::TType _etype946; + xfer += iprot->readListBegin(_etype946, _size943); + this->part_vals.resize(_size943); + uint32_t _i947; + for (_i947 = 0; _i947 < _size943; ++_i947) { - xfer += iprot->readString(this->part_vals[_i921]); + xfer += iprot->readString(this->part_vals[_i947]); } xfer += iprot->readListEnd(); } @@ -11409,10 +11409,10 @@ uint32_t ThriftHiveMetastore_get_partition_args::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter922; - for (_iter922 = this->part_vals.begin(); _iter922 != this->part_vals.end(); ++_iter922) + std::vector ::const_iterator _iter948; + for (_iter948 = this->part_vals.begin(); _iter948 != this->part_vals.end(); ++_iter948) { - xfer += oprot->writeString((*_iter922)); + xfer += oprot->writeString((*_iter948)); } xfer += oprot->writeListEnd(); } @@ -11444,10 +11444,10 @@ uint32_t ThriftHiveMetastore_get_partition_pargs::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter923; - for (_iter923 = (*(this->part_vals)).begin(); _iter923 != (*(this->part_vals)).end(); ++_iter923) + std::vector ::const_iterator _iter949; + for (_iter949 = (*(this->part_vals)).begin(); _iter949 != (*(this->part_vals)).end(); ++_iter949) { - xfer += oprot->writeString((*_iter923)); + xfer += oprot->writeString((*_iter949)); } xfer += oprot->writeListEnd(); } @@ -11636,17 +11636,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size924; - ::apache::thrift::protocol::TType _ktype925; - ::apache::thrift::protocol::TType _vtype926; - xfer += iprot->readMapBegin(_ktype925, _vtype926, _size924); - uint32_t _i928; - for (_i928 = 0; _i928 < _size924; ++_i928) + uint32_t _size950; + ::apache::thrift::protocol::TType _ktype951; + ::apache::thrift::protocol::TType _vtype952; + xfer += iprot->readMapBegin(_ktype951, _vtype952, _size950); + uint32_t _i954; + for (_i954 = 0; _i954 < _size950; ++_i954) { - std::string _key929; - xfer += iprot->readString(_key929); - std::string& _val930 = this->partitionSpecs[_key929]; - xfer += iprot->readString(_val930); + std::string _key955; + xfer += iprot->readString(_key955); + std::string& _val956 = this->partitionSpecs[_key955]; + xfer += iprot->readString(_val956); } xfer += iprot->readMapEnd(); } @@ -11707,11 +11707,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter931; - for (_iter931 = this->partitionSpecs.begin(); _iter931 != this->partitionSpecs.end(); ++_iter931) + std::map ::const_iterator _iter957; + for (_iter957 = this->partitionSpecs.begin(); _iter957 != this->partitionSpecs.end(); ++_iter957) { - xfer += oprot->writeString(_iter931->first); - xfer += oprot->writeString(_iter931->second); + xfer += oprot->writeString(_iter957->first); + xfer += oprot->writeString(_iter957->second); } xfer += oprot->writeMapEnd(); } @@ -11751,11 +11751,11 @@ uint32_t ThriftHiveMetastore_exchange_partition_pargs::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter932; - for (_iter932 = (*(this->partitionSpecs)).begin(); _iter932 != (*(this->partitionSpecs)).end(); ++_iter932) + std::map ::const_iterator _iter958; + for (_iter958 = (*(this->partitionSpecs)).begin(); _iter958 != (*(this->partitionSpecs)).end(); ++_iter958) { - xfer += oprot->writeString(_iter932->first); - xfer += oprot->writeString(_iter932->second); + xfer += oprot->writeString(_iter958->first); + xfer += oprot->writeString(_iter958->second); } xfer += oprot->writeMapEnd(); } @@ -12000,17 +12000,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size933; - ::apache::thrift::protocol::TType _ktype934; - ::apache::thrift::protocol::TType _vtype935; - xfer += iprot->readMapBegin(_ktype934, _vtype935, _size933); - uint32_t _i937; - for (_i937 = 0; _i937 < _size933; ++_i937) + uint32_t _size959; + ::apache::thrift::protocol::TType _ktype960; + ::apache::thrift::protocol::TType _vtype961; + xfer += iprot->readMapBegin(_ktype960, _vtype961, _size959); + uint32_t _i963; + for (_i963 = 0; _i963 < _size959; ++_i963) { - std::string _key938; - xfer += iprot->readString(_key938); - std::string& _val939 = this->partitionSpecs[_key938]; - xfer += iprot->readString(_val939); + std::string _key964; + xfer += iprot->readString(_key964); + std::string& _val965 = this->partitionSpecs[_key964]; + xfer += iprot->readString(_val965); } xfer += iprot->readMapEnd(); } @@ -12071,11 +12071,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::write(::apache::thrift::p xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->partitionSpecs.size())); - std::map ::const_iterator _iter940; - for (_iter940 = this->partitionSpecs.begin(); _iter940 != this->partitionSpecs.end(); ++_iter940) + std::map ::const_iterator _iter966; + for (_iter966 = this->partitionSpecs.begin(); _iter966 != this->partitionSpecs.end(); ++_iter966) { - xfer += oprot->writeString(_iter940->first); - xfer += oprot->writeString(_iter940->second); + xfer += oprot->writeString(_iter966->first); + xfer += oprot->writeString(_iter966->second); } xfer += oprot->writeMapEnd(); } @@ -12115,11 +12115,11 @@ uint32_t ThriftHiveMetastore_exchange_partitions_pargs::write(::apache::thrift:: xfer += oprot->writeFieldBegin("partitionSpecs", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->partitionSpecs)).size())); - std::map ::const_iterator _iter941; - for (_iter941 = (*(this->partitionSpecs)).begin(); _iter941 != (*(this->partitionSpecs)).end(); ++_iter941) + std::map ::const_iterator _iter967; + for (_iter967 = (*(this->partitionSpecs)).begin(); _iter967 != (*(this->partitionSpecs)).end(); ++_iter967) { - xfer += oprot->writeString(_iter941->first); - xfer += oprot->writeString(_iter941->second); + xfer += oprot->writeString(_iter967->first); + xfer += oprot->writeString(_iter967->second); } xfer += oprot->writeMapEnd(); } @@ -12176,14 +12176,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size942; - ::apache::thrift::protocol::TType _etype945; - xfer += iprot->readListBegin(_etype945, _size942); - this->success.resize(_size942); - uint32_t _i946; - for (_i946 = 0; _i946 < _size942; ++_i946) + uint32_t _size968; + ::apache::thrift::protocol::TType _etype971; + xfer += iprot->readListBegin(_etype971, _size968); + this->success.resize(_size968); + uint32_t _i972; + for (_i972 = 0; _i972 < _size968; ++_i972) { - xfer += this->success[_i946].read(iprot); + xfer += this->success[_i972].read(iprot); } xfer += iprot->readListEnd(); } @@ -12246,10 +12246,10 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter947; - for (_iter947 = this->success.begin(); _iter947 != this->success.end(); ++_iter947) + std::vector ::const_iterator _iter973; + for (_iter973 = this->success.begin(); _iter973 != this->success.end(); ++_iter973) { - xfer += (*_iter947).write(oprot); + xfer += (*_iter973).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12306,14 +12306,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size948; - ::apache::thrift::protocol::TType _etype951; - xfer += iprot->readListBegin(_etype951, _size948); - (*(this->success)).resize(_size948); - uint32_t _i952; - for (_i952 = 0; _i952 < _size948; ++_i952) + uint32_t _size974; + ::apache::thrift::protocol::TType _etype977; + xfer += iprot->readListBegin(_etype977, _size974); + (*(this->success)).resize(_size974); + uint32_t _i978; + for (_i978 = 0; _i978 < _size974; ++_i978) { - xfer += (*(this->success))[_i952].read(iprot); + xfer += (*(this->success))[_i978].read(iprot); } xfer += iprot->readListEnd(); } @@ -12412,14 +12412,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size953; - ::apache::thrift::protocol::TType _etype956; - xfer += iprot->readListBegin(_etype956, _size953); - this->part_vals.resize(_size953); - uint32_t _i957; - for (_i957 = 0; _i957 < _size953; ++_i957) + uint32_t _size979; + ::apache::thrift::protocol::TType _etype982; + xfer += iprot->readListBegin(_etype982, _size979); + this->part_vals.resize(_size979); + uint32_t _i983; + for (_i983 = 0; _i983 < _size979; ++_i983) { - xfer += iprot->readString(this->part_vals[_i957]); + xfer += iprot->readString(this->part_vals[_i983]); } xfer += iprot->readListEnd(); } @@ -12440,14 +12440,14 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size958; - ::apache::thrift::protocol::TType _etype961; - xfer += iprot->readListBegin(_etype961, _size958); - this->group_names.resize(_size958); - uint32_t _i962; - for (_i962 = 0; _i962 < _size958; ++_i962) + uint32_t _size984; + ::apache::thrift::protocol::TType _etype987; + xfer += iprot->readListBegin(_etype987, _size984); + this->group_names.resize(_size984); + uint32_t _i988; + for (_i988 = 0; _i988 < _size984; ++_i988) { - xfer += iprot->readString(this->group_names[_i962]); + xfer += iprot->readString(this->group_names[_i988]); } xfer += iprot->readListEnd(); } @@ -12484,10 +12484,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter963; - for (_iter963 = this->part_vals.begin(); _iter963 != this->part_vals.end(); ++_iter963) + std::vector ::const_iterator _iter989; + for (_iter989 = this->part_vals.begin(); _iter989 != this->part_vals.end(); ++_iter989) { - xfer += oprot->writeString((*_iter963)); + xfer += oprot->writeString((*_iter989)); } xfer += oprot->writeListEnd(); } @@ -12500,10 +12500,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_args::write(::apache::thrif xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter964; - for (_iter964 = this->group_names.begin(); _iter964 != this->group_names.end(); ++_iter964) + std::vector ::const_iterator _iter990; + for (_iter990 = this->group_names.begin(); _iter990 != this->group_names.end(); ++_iter990) { - xfer += oprot->writeString((*_iter964)); + xfer += oprot->writeString((*_iter990)); } xfer += oprot->writeListEnd(); } @@ -12535,10 +12535,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter965; - for (_iter965 = (*(this->part_vals)).begin(); _iter965 != (*(this->part_vals)).end(); ++_iter965) + std::vector ::const_iterator _iter991; + for (_iter991 = (*(this->part_vals)).begin(); _iter991 != (*(this->part_vals)).end(); ++_iter991) { - xfer += oprot->writeString((*_iter965)); + xfer += oprot->writeString((*_iter991)); } xfer += oprot->writeListEnd(); } @@ -12551,10 +12551,10 @@ uint32_t ThriftHiveMetastore_get_partition_with_auth_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter966; - for (_iter966 = (*(this->group_names)).begin(); _iter966 != (*(this->group_names)).end(); ++_iter966) + std::vector ::const_iterator _iter992; + for (_iter992 = (*(this->group_names)).begin(); _iter992 != (*(this->group_names)).end(); ++_iter992) { - xfer += oprot->writeString((*_iter966)); + xfer += oprot->writeString((*_iter992)); } xfer += oprot->writeListEnd(); } @@ -13113,14 +13113,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size967; - ::apache::thrift::protocol::TType _etype970; - xfer += iprot->readListBegin(_etype970, _size967); - this->success.resize(_size967); - uint32_t _i971; - for (_i971 = 0; _i971 < _size967; ++_i971) + uint32_t _size993; + ::apache::thrift::protocol::TType _etype996; + xfer += iprot->readListBegin(_etype996, _size993); + this->success.resize(_size993); + uint32_t _i997; + for (_i997 = 0; _i997 < _size993; ++_i997) { - xfer += this->success[_i971].read(iprot); + xfer += this->success[_i997].read(iprot); } xfer += iprot->readListEnd(); } @@ -13167,10 +13167,10 @@ uint32_t ThriftHiveMetastore_get_partitions_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter972; - for (_iter972 = this->success.begin(); _iter972 != this->success.end(); ++_iter972) + std::vector ::const_iterator _iter998; + for (_iter998 = this->success.begin(); _iter998 != this->success.end(); ++_iter998) { - xfer += (*_iter972).write(oprot); + xfer += (*_iter998).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13219,14 +13219,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size973; - ::apache::thrift::protocol::TType _etype976; - xfer += iprot->readListBegin(_etype976, _size973); - (*(this->success)).resize(_size973); - uint32_t _i977; - for (_i977 = 0; _i977 < _size973; ++_i977) + uint32_t _size999; + ::apache::thrift::protocol::TType _etype1002; + xfer += iprot->readListBegin(_etype1002, _size999); + (*(this->success)).resize(_size999); + uint32_t _i1003; + for (_i1003 = 0; _i1003 < _size999; ++_i1003) { - xfer += (*(this->success))[_i977].read(iprot); + xfer += (*(this->success))[_i1003].read(iprot); } xfer += iprot->readListEnd(); } @@ -13325,14 +13325,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size978; - ::apache::thrift::protocol::TType _etype981; - xfer += iprot->readListBegin(_etype981, _size978); - this->group_names.resize(_size978); - uint32_t _i982; - for (_i982 = 0; _i982 < _size978; ++_i982) + uint32_t _size1004; + ::apache::thrift::protocol::TType _etype1007; + xfer += iprot->readListBegin(_etype1007, _size1004); + this->group_names.resize(_size1004); + uint32_t _i1008; + for (_i1008 = 0; _i1008 < _size1004; ++_i1008) { - xfer += iprot->readString(this->group_names[_i982]); + xfer += iprot->readString(this->group_names[_i1008]); } xfer += iprot->readListEnd(); } @@ -13377,10 +13377,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_args::write(::apache::thri xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter983; - for (_iter983 = this->group_names.begin(); _iter983 != this->group_names.end(); ++_iter983) + std::vector ::const_iterator _iter1009; + for (_iter1009 = this->group_names.begin(); _iter1009 != this->group_names.end(); ++_iter1009) { - xfer += oprot->writeString((*_iter983)); + xfer += oprot->writeString((*_iter1009)); } xfer += oprot->writeListEnd(); } @@ -13420,10 +13420,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_pargs::write(::apache::thr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter984; - for (_iter984 = (*(this->group_names)).begin(); _iter984 != (*(this->group_names)).end(); ++_iter984) + std::vector ::const_iterator _iter1010; + for (_iter1010 = (*(this->group_names)).begin(); _iter1010 != (*(this->group_names)).end(); ++_iter1010) { - xfer += oprot->writeString((*_iter984)); + xfer += oprot->writeString((*_iter1010)); } xfer += oprot->writeListEnd(); } @@ -13464,14 +13464,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size985; - ::apache::thrift::protocol::TType _etype988; - xfer += iprot->readListBegin(_etype988, _size985); - this->success.resize(_size985); - uint32_t _i989; - for (_i989 = 0; _i989 < _size985; ++_i989) + uint32_t _size1011; + ::apache::thrift::protocol::TType _etype1014; + xfer += iprot->readListBegin(_etype1014, _size1011); + this->success.resize(_size1011); + uint32_t _i1015; + for (_i1015 = 0; _i1015 < _size1011; ++_i1015) { - xfer += this->success[_i989].read(iprot); + xfer += this->success[_i1015].read(iprot); } xfer += iprot->readListEnd(); } @@ -13518,10 +13518,10 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter990; - for (_iter990 = this->success.begin(); _iter990 != this->success.end(); ++_iter990) + std::vector ::const_iterator _iter1016; + for (_iter1016 = this->success.begin(); _iter1016 != this->success.end(); ++_iter1016) { - xfer += (*_iter990).write(oprot); + xfer += (*_iter1016).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13570,14 +13570,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size991; - ::apache::thrift::protocol::TType _etype994; - xfer += iprot->readListBegin(_etype994, _size991); - (*(this->success)).resize(_size991); - uint32_t _i995; - for (_i995 = 0; _i995 < _size991; ++_i995) + uint32_t _size1017; + ::apache::thrift::protocol::TType _etype1020; + xfer += iprot->readListBegin(_etype1020, _size1017); + (*(this->success)).resize(_size1017); + uint32_t _i1021; + for (_i1021 = 0; _i1021 < _size1017; ++_i1021) { - xfer += (*(this->success))[_i995].read(iprot); + xfer += (*(this->success))[_i1021].read(iprot); } xfer += iprot->readListEnd(); } @@ -13755,14 +13755,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size996; - ::apache::thrift::protocol::TType _etype999; - xfer += iprot->readListBegin(_etype999, _size996); - this->success.resize(_size996); - uint32_t _i1000; - for (_i1000 = 0; _i1000 < _size996; ++_i1000) + uint32_t _size1022; + ::apache::thrift::protocol::TType _etype1025; + xfer += iprot->readListBegin(_etype1025, _size1022); + this->success.resize(_size1022); + uint32_t _i1026; + for (_i1026 = 0; _i1026 < _size1022; ++_i1026) { - xfer += this->success[_i1000].read(iprot); + xfer += this->success[_i1026].read(iprot); } xfer += iprot->readListEnd(); } @@ -13809,10 +13809,10 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::write(::apache::thrift xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1001; - for (_iter1001 = this->success.begin(); _iter1001 != this->success.end(); ++_iter1001) + std::vector ::const_iterator _iter1027; + for (_iter1027 = this->success.begin(); _iter1027 != this->success.end(); ++_iter1027) { - xfer += (*_iter1001).write(oprot); + xfer += (*_iter1027).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13861,14 +13861,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1002; - ::apache::thrift::protocol::TType _etype1005; - xfer += iprot->readListBegin(_etype1005, _size1002); - (*(this->success)).resize(_size1002); - uint32_t _i1006; - for (_i1006 = 0; _i1006 < _size1002; ++_i1006) + uint32_t _size1028; + ::apache::thrift::protocol::TType _etype1031; + xfer += iprot->readListBegin(_etype1031, _size1028); + (*(this->success)).resize(_size1028); + uint32_t _i1032; + for (_i1032 = 0; _i1032 < _size1028; ++_i1032) { - xfer += (*(this->success))[_i1006].read(iprot); + xfer += (*(this->success))[_i1032].read(iprot); } xfer += iprot->readListEnd(); } @@ -14046,14 +14046,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1007; - ::apache::thrift::protocol::TType _etype1010; - xfer += iprot->readListBegin(_etype1010, _size1007); - this->success.resize(_size1007); - uint32_t _i1011; - for (_i1011 = 0; _i1011 < _size1007; ++_i1011) + uint32_t _size1033; + ::apache::thrift::protocol::TType _etype1036; + xfer += iprot->readListBegin(_etype1036, _size1033); + this->success.resize(_size1033); + uint32_t _i1037; + for (_i1037 = 0; _i1037 < _size1033; ++_i1037) { - xfer += iprot->readString(this->success[_i1011]); + xfer += iprot->readString(this->success[_i1037]); } xfer += iprot->readListEnd(); } @@ -14092,10 +14092,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::write(::apache::thrift: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1012; - for (_iter1012 = this->success.begin(); _iter1012 != this->success.end(); ++_iter1012) + std::vector ::const_iterator _iter1038; + for (_iter1038 = this->success.begin(); _iter1038 != this->success.end(); ++_iter1038) { - xfer += oprot->writeString((*_iter1012)); + xfer += oprot->writeString((*_iter1038)); } xfer += oprot->writeListEnd(); } @@ -14140,14 +14140,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1013; - ::apache::thrift::protocol::TType _etype1016; - xfer += iprot->readListBegin(_etype1016, _size1013); - (*(this->success)).resize(_size1013); - uint32_t _i1017; - for (_i1017 = 0; _i1017 < _size1013; ++_i1017) + uint32_t _size1039; + ::apache::thrift::protocol::TType _etype1042; + xfer += iprot->readListBegin(_etype1042, _size1039); + (*(this->success)).resize(_size1039); + uint32_t _i1043; + for (_i1043 = 0; _i1043 < _size1039; ++_i1043) { - xfer += iprot->readString((*(this->success))[_i1017]); + xfer += iprot->readString((*(this->success))[_i1043]); } xfer += iprot->readListEnd(); } @@ -14222,14 +14222,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1018; - ::apache::thrift::protocol::TType _etype1021; - xfer += iprot->readListBegin(_etype1021, _size1018); - this->part_vals.resize(_size1018); - uint32_t _i1022; - for (_i1022 = 0; _i1022 < _size1018; ++_i1022) + uint32_t _size1044; + ::apache::thrift::protocol::TType _etype1047; + xfer += iprot->readListBegin(_etype1047, _size1044); + this->part_vals.resize(_size1044); + uint32_t _i1048; + for (_i1048 = 0; _i1048 < _size1044; ++_i1048) { - xfer += iprot->readString(this->part_vals[_i1022]); + xfer += iprot->readString(this->part_vals[_i1048]); } xfer += iprot->readListEnd(); } @@ -14274,10 +14274,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1023; - for (_iter1023 = this->part_vals.begin(); _iter1023 != this->part_vals.end(); ++_iter1023) + std::vector ::const_iterator _iter1049; + for (_iter1049 = this->part_vals.begin(); _iter1049 != this->part_vals.end(); ++_iter1049) { - xfer += oprot->writeString((*_iter1023)); + xfer += oprot->writeString((*_iter1049)); } xfer += oprot->writeListEnd(); } @@ -14313,10 +14313,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1024; - for (_iter1024 = (*(this->part_vals)).begin(); _iter1024 != (*(this->part_vals)).end(); ++_iter1024) + std::vector ::const_iterator _iter1050; + for (_iter1050 = (*(this->part_vals)).begin(); _iter1050 != (*(this->part_vals)).end(); ++_iter1050) { - xfer += oprot->writeString((*_iter1024)); + xfer += oprot->writeString((*_iter1050)); } xfer += oprot->writeListEnd(); } @@ -14361,14 +14361,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1025; - ::apache::thrift::protocol::TType _etype1028; - xfer += iprot->readListBegin(_etype1028, _size1025); - this->success.resize(_size1025); - uint32_t _i1029; - for (_i1029 = 0; _i1029 < _size1025; ++_i1029) + uint32_t _size1051; + ::apache::thrift::protocol::TType _etype1054; + xfer += iprot->readListBegin(_etype1054, _size1051); + this->success.resize(_size1051); + uint32_t _i1055; + for (_i1055 = 0; _i1055 < _size1051; ++_i1055) { - xfer += this->success[_i1029].read(iprot); + xfer += this->success[_i1055].read(iprot); } xfer += iprot->readListEnd(); } @@ -14415,10 +14415,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1030; - for (_iter1030 = this->success.begin(); _iter1030 != this->success.end(); ++_iter1030) + std::vector ::const_iterator _iter1056; + for (_iter1056 = this->success.begin(); _iter1056 != this->success.end(); ++_iter1056) { - xfer += (*_iter1030).write(oprot); + xfer += (*_iter1056).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14467,14 +14467,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1031; - ::apache::thrift::protocol::TType _etype1034; - xfer += iprot->readListBegin(_etype1034, _size1031); - (*(this->success)).resize(_size1031); - uint32_t _i1035; - for (_i1035 = 0; _i1035 < _size1031; ++_i1035) + uint32_t _size1057; + ::apache::thrift::protocol::TType _etype1060; + xfer += iprot->readListBegin(_etype1060, _size1057); + (*(this->success)).resize(_size1057); + uint32_t _i1061; + for (_i1061 = 0; _i1061 < _size1057; ++_i1061) { - xfer += (*(this->success))[_i1035].read(iprot); + xfer += (*(this->success))[_i1061].read(iprot); } xfer += iprot->readListEnd(); } @@ -14557,14 +14557,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1036; - ::apache::thrift::protocol::TType _etype1039; - xfer += iprot->readListBegin(_etype1039, _size1036); - this->part_vals.resize(_size1036); - uint32_t _i1040; - for (_i1040 = 0; _i1040 < _size1036; ++_i1040) + uint32_t _size1062; + ::apache::thrift::protocol::TType _etype1065; + xfer += iprot->readListBegin(_etype1065, _size1062); + this->part_vals.resize(_size1062); + uint32_t _i1066; + for (_i1066 = 0; _i1066 < _size1062; ++_i1066) { - xfer += iprot->readString(this->part_vals[_i1040]); + xfer += iprot->readString(this->part_vals[_i1066]); } xfer += iprot->readListEnd(); } @@ -14593,14 +14593,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1041; - ::apache::thrift::protocol::TType _etype1044; - xfer += iprot->readListBegin(_etype1044, _size1041); - this->group_names.resize(_size1041); - uint32_t _i1045; - for (_i1045 = 0; _i1045 < _size1041; ++_i1045) + uint32_t _size1067; + ::apache::thrift::protocol::TType _etype1070; + xfer += iprot->readListBegin(_etype1070, _size1067); + this->group_names.resize(_size1067); + uint32_t _i1071; + for (_i1071 = 0; _i1071 < _size1067; ++_i1071) { - xfer += iprot->readString(this->group_names[_i1045]); + xfer += iprot->readString(this->group_names[_i1071]); } xfer += iprot->readListEnd(); } @@ -14637,10 +14637,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1046; - for (_iter1046 = this->part_vals.begin(); _iter1046 != this->part_vals.end(); ++_iter1046) + std::vector ::const_iterator _iter1072; + for (_iter1072 = this->part_vals.begin(); _iter1072 != this->part_vals.end(); ++_iter1072) { - xfer += oprot->writeString((*_iter1046)); + xfer += oprot->writeString((*_iter1072)); } xfer += oprot->writeListEnd(); } @@ -14657,10 +14657,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_args::write(::apache::t xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1047; - for (_iter1047 = this->group_names.begin(); _iter1047 != this->group_names.end(); ++_iter1047) + std::vector ::const_iterator _iter1073; + for (_iter1073 = this->group_names.begin(); _iter1073 != this->group_names.end(); ++_iter1073) { - xfer += oprot->writeString((*_iter1047)); + xfer += oprot->writeString((*_iter1073)); } xfer += oprot->writeListEnd(); } @@ -14692,10 +14692,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1048; - for (_iter1048 = (*(this->part_vals)).begin(); _iter1048 != (*(this->part_vals)).end(); ++_iter1048) + std::vector ::const_iterator _iter1074; + for (_iter1074 = (*(this->part_vals)).begin(); _iter1074 != (*(this->part_vals)).end(); ++_iter1074) { - xfer += oprot->writeString((*_iter1048)); + xfer += oprot->writeString((*_iter1074)); } xfer += oprot->writeListEnd(); } @@ -14712,10 +14712,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_pargs::write(::apache:: xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1049; - for (_iter1049 = (*(this->group_names)).begin(); _iter1049 != (*(this->group_names)).end(); ++_iter1049) + std::vector ::const_iterator _iter1075; + for (_iter1075 = (*(this->group_names)).begin(); _iter1075 != (*(this->group_names)).end(); ++_iter1075) { - xfer += oprot->writeString((*_iter1049)); + xfer += oprot->writeString((*_iter1075)); } xfer += oprot->writeListEnd(); } @@ -14756,14 +14756,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1050; - ::apache::thrift::protocol::TType _etype1053; - xfer += iprot->readListBegin(_etype1053, _size1050); - this->success.resize(_size1050); - uint32_t _i1054; - for (_i1054 = 0; _i1054 < _size1050; ++_i1054) + uint32_t _size1076; + ::apache::thrift::protocol::TType _etype1079; + xfer += iprot->readListBegin(_etype1079, _size1076); + this->success.resize(_size1076); + uint32_t _i1080; + for (_i1080 = 0; _i1080 < _size1076; ++_i1080) { - xfer += this->success[_i1054].read(iprot); + xfer += this->success[_i1080].read(iprot); } xfer += iprot->readListEnd(); } @@ -14810,10 +14810,10 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::write(::apache: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1055; - for (_iter1055 = this->success.begin(); _iter1055 != this->success.end(); ++_iter1055) + std::vector ::const_iterator _iter1081; + for (_iter1081 = this->success.begin(); _iter1081 != this->success.end(); ++_iter1081) { - xfer += (*_iter1055).write(oprot); + xfer += (*_iter1081).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14862,14 +14862,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1056; - ::apache::thrift::protocol::TType _etype1059; - xfer += iprot->readListBegin(_etype1059, _size1056); - (*(this->success)).resize(_size1056); - uint32_t _i1060; - for (_i1060 = 0; _i1060 < _size1056; ++_i1060) + uint32_t _size1082; + ::apache::thrift::protocol::TType _etype1085; + xfer += iprot->readListBegin(_etype1085, _size1082); + (*(this->success)).resize(_size1082); + uint32_t _i1086; + for (_i1086 = 0; _i1086 < _size1082; ++_i1086) { - xfer += (*(this->success))[_i1060].read(iprot); + xfer += (*(this->success))[_i1086].read(iprot); } xfer += iprot->readListEnd(); } @@ -14952,14 +14952,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1061; - ::apache::thrift::protocol::TType _etype1064; - xfer += iprot->readListBegin(_etype1064, _size1061); - this->part_vals.resize(_size1061); - uint32_t _i1065; - for (_i1065 = 0; _i1065 < _size1061; ++_i1065) + uint32_t _size1087; + ::apache::thrift::protocol::TType _etype1090; + xfer += iprot->readListBegin(_etype1090, _size1087); + this->part_vals.resize(_size1087); + uint32_t _i1091; + for (_i1091 = 0; _i1091 < _size1087; ++_i1091) { - xfer += iprot->readString(this->part_vals[_i1065]); + xfer += iprot->readString(this->part_vals[_i1091]); } xfer += iprot->readListEnd(); } @@ -15004,10 +15004,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_args::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1066; - for (_iter1066 = this->part_vals.begin(); _iter1066 != this->part_vals.end(); ++_iter1066) + std::vector ::const_iterator _iter1092; + for (_iter1092 = this->part_vals.begin(); _iter1092 != this->part_vals.end(); ++_iter1092) { - xfer += oprot->writeString((*_iter1066)); + xfer += oprot->writeString((*_iter1092)); } xfer += oprot->writeListEnd(); } @@ -15043,10 +15043,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_pargs::write(::apache::thrif xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1067; - for (_iter1067 = (*(this->part_vals)).begin(); _iter1067 != (*(this->part_vals)).end(); ++_iter1067) + std::vector ::const_iterator _iter1093; + for (_iter1093 = (*(this->part_vals)).begin(); _iter1093 != (*(this->part_vals)).end(); ++_iter1093) { - xfer += oprot->writeString((*_iter1067)); + xfer += oprot->writeString((*_iter1093)); } xfer += oprot->writeListEnd(); } @@ -15091,14 +15091,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1068; - ::apache::thrift::protocol::TType _etype1071; - xfer += iprot->readListBegin(_etype1071, _size1068); - this->success.resize(_size1068); - uint32_t _i1072; - for (_i1072 = 0; _i1072 < _size1068; ++_i1072) + uint32_t _size1094; + ::apache::thrift::protocol::TType _etype1097; + xfer += iprot->readListBegin(_etype1097, _size1094); + this->success.resize(_size1094); + uint32_t _i1098; + for (_i1098 = 0; _i1098 < _size1094; ++_i1098) { - xfer += iprot->readString(this->success[_i1072]); + xfer += iprot->readString(this->success[_i1098]); } xfer += iprot->readListEnd(); } @@ -15145,10 +15145,10 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1073; - for (_iter1073 = this->success.begin(); _iter1073 != this->success.end(); ++_iter1073) + std::vector ::const_iterator _iter1099; + for (_iter1099 = this->success.begin(); _iter1099 != this->success.end(); ++_iter1099) { - xfer += oprot->writeString((*_iter1073)); + xfer += oprot->writeString((*_iter1099)); } xfer += oprot->writeListEnd(); } @@ -15197,14 +15197,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1074; - ::apache::thrift::protocol::TType _etype1077; - xfer += iprot->readListBegin(_etype1077, _size1074); - (*(this->success)).resize(_size1074); - uint32_t _i1078; - for (_i1078 = 0; _i1078 < _size1074; ++_i1078) + uint32_t _size1100; + ::apache::thrift::protocol::TType _etype1103; + xfer += iprot->readListBegin(_etype1103, _size1100); + (*(this->success)).resize(_size1100); + uint32_t _i1104; + for (_i1104 = 0; _i1104 < _size1100; ++_i1104) { - xfer += iprot->readString((*(this->success))[_i1078]); + xfer += iprot->readString((*(this->success))[_i1104]); } xfer += iprot->readListEnd(); } @@ -15398,14 +15398,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1079; - ::apache::thrift::protocol::TType _etype1082; - xfer += iprot->readListBegin(_etype1082, _size1079); - this->success.resize(_size1079); - uint32_t _i1083; - for (_i1083 = 0; _i1083 < _size1079; ++_i1083) + uint32_t _size1105; + ::apache::thrift::protocol::TType _etype1108; + xfer += iprot->readListBegin(_etype1108, _size1105); + this->success.resize(_size1105); + uint32_t _i1109; + for (_i1109 = 0; _i1109 < _size1105; ++_i1109) { - xfer += this->success[_i1083].read(iprot); + xfer += this->success[_i1109].read(iprot); } xfer += iprot->readListEnd(); } @@ -15452,10 +15452,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1084; - for (_iter1084 = this->success.begin(); _iter1084 != this->success.end(); ++_iter1084) + std::vector ::const_iterator _iter1110; + for (_iter1110 = this->success.begin(); _iter1110 != this->success.end(); ++_iter1110) { - xfer += (*_iter1084).write(oprot); + xfer += (*_iter1110).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15504,14 +15504,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1085; - ::apache::thrift::protocol::TType _etype1088; - xfer += iprot->readListBegin(_etype1088, _size1085); - (*(this->success)).resize(_size1085); - uint32_t _i1089; - for (_i1089 = 0; _i1089 < _size1085; ++_i1089) + uint32_t _size1111; + ::apache::thrift::protocol::TType _etype1114; + xfer += iprot->readListBegin(_etype1114, _size1111); + (*(this->success)).resize(_size1111); + uint32_t _i1115; + for (_i1115 = 0; _i1115 < _size1111; ++_i1115) { - xfer += (*(this->success))[_i1089].read(iprot); + xfer += (*(this->success))[_i1115].read(iprot); } xfer += iprot->readListEnd(); } @@ -15705,14 +15705,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1090; - ::apache::thrift::protocol::TType _etype1093; - xfer += iprot->readListBegin(_etype1093, _size1090); - this->success.resize(_size1090); - uint32_t _i1094; - for (_i1094 = 0; _i1094 < _size1090; ++_i1094) + uint32_t _size1116; + ::apache::thrift::protocol::TType _etype1119; + xfer += iprot->readListBegin(_etype1119, _size1116); + this->success.resize(_size1116); + uint32_t _i1120; + for (_i1120 = 0; _i1120 < _size1116; ++_i1120) { - xfer += this->success[_i1094].read(iprot); + xfer += this->success[_i1120].read(iprot); } xfer += iprot->readListEnd(); } @@ -15759,10 +15759,10 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_result::write(::apache::th xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1095; - for (_iter1095 = this->success.begin(); _iter1095 != this->success.end(); ++_iter1095) + std::vector ::const_iterator _iter1121; + for (_iter1121 = this->success.begin(); _iter1121 != this->success.end(); ++_iter1121) { - xfer += (*_iter1095).write(oprot); + xfer += (*_iter1121).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15811,14 +15811,14 @@ uint32_t ThriftHiveMetastore_get_part_specs_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1096; - ::apache::thrift::protocol::TType _etype1099; - xfer += iprot->readListBegin(_etype1099, _size1096); - (*(this->success)).resize(_size1096); - uint32_t _i1100; - for (_i1100 = 0; _i1100 < _size1096; ++_i1100) + uint32_t _size1122; + ::apache::thrift::protocol::TType _etype1125; + xfer += iprot->readListBegin(_etype1125, _size1122); + (*(this->success)).resize(_size1122); + uint32_t _i1126; + for (_i1126 = 0; _i1126 < _size1122; ++_i1126) { - xfer += (*(this->success))[_i1100].read(iprot); + xfer += (*(this->success))[_i1126].read(iprot); } xfer += iprot->readListEnd(); } @@ -16387,14 +16387,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1101; - ::apache::thrift::protocol::TType _etype1104; - xfer += iprot->readListBegin(_etype1104, _size1101); - this->names.resize(_size1101); - uint32_t _i1105; - for (_i1105 = 0; _i1105 < _size1101; ++_i1105) + uint32_t _size1127; + ::apache::thrift::protocol::TType _etype1130; + xfer += iprot->readListBegin(_etype1130, _size1127); + this->names.resize(_size1127); + uint32_t _i1131; + for (_i1131 = 0; _i1131 < _size1127; ++_i1131) { - xfer += iprot->readString(this->names[_i1105]); + xfer += iprot->readString(this->names[_i1131]); } xfer += iprot->readListEnd(); } @@ -16431,10 +16431,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::write(::apache::thrif xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter1106; - for (_iter1106 = this->names.begin(); _iter1106 != this->names.end(); ++_iter1106) + std::vector ::const_iterator _iter1132; + for (_iter1132 = this->names.begin(); _iter1132 != this->names.end(); ++_iter1132) { - xfer += oprot->writeString((*_iter1106)); + xfer += oprot->writeString((*_iter1132)); } xfer += oprot->writeListEnd(); } @@ -16466,10 +16466,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_pargs::write(::apache::thri xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->names)).size())); - std::vector ::const_iterator _iter1107; - for (_iter1107 = (*(this->names)).begin(); _iter1107 != (*(this->names)).end(); ++_iter1107) + std::vector ::const_iterator _iter1133; + for (_iter1133 = (*(this->names)).begin(); _iter1133 != (*(this->names)).end(); ++_iter1133) { - xfer += oprot->writeString((*_iter1107)); + xfer += oprot->writeString((*_iter1133)); } xfer += oprot->writeListEnd(); } @@ -16510,14 +16510,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1108; - ::apache::thrift::protocol::TType _etype1111; - xfer += iprot->readListBegin(_etype1111, _size1108); - this->success.resize(_size1108); - uint32_t _i1112; - for (_i1112 = 0; _i1112 < _size1108; ++_i1112) + uint32_t _size1134; + ::apache::thrift::protocol::TType _etype1137; + xfer += iprot->readListBegin(_etype1137, _size1134); + this->success.resize(_size1134); + uint32_t _i1138; + for (_i1138 = 0; _i1138 < _size1134; ++_i1138) { - xfer += this->success[_i1112].read(iprot); + xfer += this->success[_i1138].read(iprot); } xfer += iprot->readListEnd(); } @@ -16564,10 +16564,10 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::write(::apache::thr xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1113; - for (_iter1113 = this->success.begin(); _iter1113 != this->success.end(); ++_iter1113) + std::vector ::const_iterator _iter1139; + for (_iter1139 = this->success.begin(); _iter1139 != this->success.end(); ++_iter1139) { - xfer += (*_iter1113).write(oprot); + xfer += (*_iter1139).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16616,14 +16616,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1114; - ::apache::thrift::protocol::TType _etype1117; - xfer += iprot->readListBegin(_etype1117, _size1114); - (*(this->success)).resize(_size1114); - uint32_t _i1118; - for (_i1118 = 0; _i1118 < _size1114; ++_i1118) + uint32_t _size1140; + ::apache::thrift::protocol::TType _etype1143; + xfer += iprot->readListBegin(_etype1143, _size1140); + (*(this->success)).resize(_size1140); + uint32_t _i1144; + for (_i1144 = 0; _i1144 < _size1140; ++_i1144) { - xfer += (*(this->success))[_i1118].read(iprot); + xfer += (*(this->success))[_i1144].read(iprot); } xfer += iprot->readListEnd(); } @@ -16945,14 +16945,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1119; - ::apache::thrift::protocol::TType _etype1122; - xfer += iprot->readListBegin(_etype1122, _size1119); - this->new_parts.resize(_size1119); - uint32_t _i1123; - for (_i1123 = 0; _i1123 < _size1119; ++_i1123) + uint32_t _size1145; + ::apache::thrift::protocol::TType _etype1148; + xfer += iprot->readListBegin(_etype1148, _size1145); + this->new_parts.resize(_size1145); + uint32_t _i1149; + for (_i1149 = 0; _i1149 < _size1145; ++_i1149) { - xfer += this->new_parts[_i1123].read(iprot); + xfer += this->new_parts[_i1149].read(iprot); } xfer += iprot->readListEnd(); } @@ -16989,10 +16989,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1124; - for (_iter1124 = this->new_parts.begin(); _iter1124 != this->new_parts.end(); ++_iter1124) + std::vector ::const_iterator _iter1150; + for (_iter1150 = this->new_parts.begin(); _iter1150 != this->new_parts.end(); ++_iter1150) { - xfer += (*_iter1124).write(oprot); + xfer += (*_iter1150).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17024,10 +17024,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1125; - for (_iter1125 = (*(this->new_parts)).begin(); _iter1125 != (*(this->new_parts)).end(); ++_iter1125) + std::vector ::const_iterator _iter1151; + for (_iter1151 = (*(this->new_parts)).begin(); _iter1151 != (*(this->new_parts)).end(); ++_iter1151) { - xfer += (*_iter1125).write(oprot); + xfer += (*_iter1151).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17212,14 +17212,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1126; - ::apache::thrift::protocol::TType _etype1129; - xfer += iprot->readListBegin(_etype1129, _size1126); - this->new_parts.resize(_size1126); - uint32_t _i1130; - for (_i1130 = 0; _i1130 < _size1126; ++_i1130) + uint32_t _size1152; + ::apache::thrift::protocol::TType _etype1155; + xfer += iprot->readListBegin(_etype1155, _size1152); + this->new_parts.resize(_size1152); + uint32_t _i1156; + for (_i1156 = 0; _i1156 < _size1152; ++_i1156) { - xfer += this->new_parts[_i1130].read(iprot); + xfer += this->new_parts[_i1156].read(iprot); } xfer += iprot->readListEnd(); } @@ -17264,10 +17264,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::wri xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->new_parts.size())); - std::vector ::const_iterator _iter1131; - for (_iter1131 = this->new_parts.begin(); _iter1131 != this->new_parts.end(); ++_iter1131) + std::vector ::const_iterator _iter1157; + for (_iter1157 = this->new_parts.begin(); _iter1157 != this->new_parts.end(); ++_iter1157) { - xfer += (*_iter1131).write(oprot); + xfer += (*_iter1157).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17303,10 +17303,10 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_pargs::wr xfer += oprot->writeFieldBegin("new_parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->new_parts)).size())); - std::vector ::const_iterator _iter1132; - for (_iter1132 = (*(this->new_parts)).begin(); _iter1132 != (*(this->new_parts)).end(); ++_iter1132) + std::vector ::const_iterator _iter1158; + for (_iter1158 = (*(this->new_parts)).begin(); _iter1158 != (*(this->new_parts)).end(); ++_iter1158) { - xfer += (*_iter1132).write(oprot); + xfer += (*_iter1158).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17750,14 +17750,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1133; - ::apache::thrift::protocol::TType _etype1136; - xfer += iprot->readListBegin(_etype1136, _size1133); - this->part_vals.resize(_size1133); - uint32_t _i1137; - for (_i1137 = 0; _i1137 < _size1133; ++_i1137) + uint32_t _size1159; + ::apache::thrift::protocol::TType _etype1162; + xfer += iprot->readListBegin(_etype1162, _size1159); + this->part_vals.resize(_size1159); + uint32_t _i1163; + for (_i1163 = 0; _i1163 < _size1159; ++_i1163) { - xfer += iprot->readString(this->part_vals[_i1137]); + xfer += iprot->readString(this->part_vals[_i1163]); } xfer += iprot->readListEnd(); } @@ -17802,10 +17802,10 @@ uint32_t ThriftHiveMetastore_rename_partition_args::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1138; - for (_iter1138 = this->part_vals.begin(); _iter1138 != this->part_vals.end(); ++_iter1138) + std::vector ::const_iterator _iter1164; + for (_iter1164 = this->part_vals.begin(); _iter1164 != this->part_vals.end(); ++_iter1164) { - xfer += oprot->writeString((*_iter1138)); + xfer += oprot->writeString((*_iter1164)); } xfer += oprot->writeListEnd(); } @@ -17841,10 +17841,10 @@ uint32_t ThriftHiveMetastore_rename_partition_pargs::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1139; - for (_iter1139 = (*(this->part_vals)).begin(); _iter1139 != (*(this->part_vals)).end(); ++_iter1139) + std::vector ::const_iterator _iter1165; + for (_iter1165 = (*(this->part_vals)).begin(); _iter1165 != (*(this->part_vals)).end(); ++_iter1165) { - xfer += oprot->writeString((*_iter1139)); + xfer += oprot->writeString((*_iter1165)); } xfer += oprot->writeListEnd(); } @@ -18017,14 +18017,14 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::read(::ap if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1140; - ::apache::thrift::protocol::TType _etype1143; - xfer += iprot->readListBegin(_etype1143, _size1140); - this->part_vals.resize(_size1140); - uint32_t _i1144; - for (_i1144 = 0; _i1144 < _size1140; ++_i1144) + uint32_t _size1166; + ::apache::thrift::protocol::TType _etype1169; + xfer += iprot->readListBegin(_etype1169, _size1166); + this->part_vals.resize(_size1166); + uint32_t _i1170; + for (_i1170 = 0; _i1170 < _size1166; ++_i1170) { - xfer += iprot->readString(this->part_vals[_i1144]); + xfer += iprot->readString(this->part_vals[_i1170]); } xfer += iprot->readListEnd(); } @@ -18061,10 +18061,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_args::write(::a xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::vector ::const_iterator _iter1145; - for (_iter1145 = this->part_vals.begin(); _iter1145 != this->part_vals.end(); ++_iter1145) + std::vector ::const_iterator _iter1171; + for (_iter1171 = this->part_vals.begin(); _iter1171 != this->part_vals.end(); ++_iter1171) { - xfer += oprot->writeString((*_iter1145)); + xfer += oprot->writeString((*_iter1171)); } xfer += oprot->writeListEnd(); } @@ -18092,10 +18092,10 @@ uint32_t ThriftHiveMetastore_partition_name_has_valid_characters_pargs::write(:: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::vector ::const_iterator _iter1146; - for (_iter1146 = (*(this->part_vals)).begin(); _iter1146 != (*(this->part_vals)).end(); ++_iter1146) + std::vector ::const_iterator _iter1172; + for (_iter1172 = (*(this->part_vals)).begin(); _iter1172 != (*(this->part_vals)).end(); ++_iter1172) { - xfer += oprot->writeString((*_iter1146)); + xfer += oprot->writeString((*_iter1172)); } xfer += oprot->writeListEnd(); } @@ -18570,14 +18570,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1147; - ::apache::thrift::protocol::TType _etype1150; - xfer += iprot->readListBegin(_etype1150, _size1147); - this->success.resize(_size1147); - uint32_t _i1151; - for (_i1151 = 0; _i1151 < _size1147; ++_i1151) + uint32_t _size1173; + ::apache::thrift::protocol::TType _etype1176; + xfer += iprot->readListBegin(_etype1176, _size1173); + this->success.resize(_size1173); + uint32_t _i1177; + for (_i1177 = 0; _i1177 < _size1173; ++_i1177) { - xfer += iprot->readString(this->success[_i1151]); + xfer += iprot->readString(this->success[_i1177]); } xfer += iprot->readListEnd(); } @@ -18616,10 +18616,10 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1152; - for (_iter1152 = this->success.begin(); _iter1152 != this->success.end(); ++_iter1152) + std::vector ::const_iterator _iter1178; + for (_iter1178 = this->success.begin(); _iter1178 != this->success.end(); ++_iter1178) { - xfer += oprot->writeString((*_iter1152)); + xfer += oprot->writeString((*_iter1178)); } xfer += oprot->writeListEnd(); } @@ -18664,14 +18664,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1153; - ::apache::thrift::protocol::TType _etype1156; - xfer += iprot->readListBegin(_etype1156, _size1153); - (*(this->success)).resize(_size1153); - uint32_t _i1157; - for (_i1157 = 0; _i1157 < _size1153; ++_i1157) + uint32_t _size1179; + ::apache::thrift::protocol::TType _etype1182; + xfer += iprot->readListBegin(_etype1182, _size1179); + (*(this->success)).resize(_size1179); + uint32_t _i1183; + for (_i1183 = 0; _i1183 < _size1179; ++_i1183) { - xfer += iprot->readString((*(this->success))[_i1157]); + xfer += iprot->readString((*(this->success))[_i1183]); } xfer += iprot->readListEnd(); } @@ -18809,17 +18809,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1158; - ::apache::thrift::protocol::TType _ktype1159; - ::apache::thrift::protocol::TType _vtype1160; - xfer += iprot->readMapBegin(_ktype1159, _vtype1160, _size1158); - uint32_t _i1162; - for (_i1162 = 0; _i1162 < _size1158; ++_i1162) + uint32_t _size1184; + ::apache::thrift::protocol::TType _ktype1185; + ::apache::thrift::protocol::TType _vtype1186; + xfer += iprot->readMapBegin(_ktype1185, _vtype1186, _size1184); + uint32_t _i1188; + for (_i1188 = 0; _i1188 < _size1184; ++_i1188) { - std::string _key1163; - xfer += iprot->readString(_key1163); - std::string& _val1164 = this->success[_key1163]; - xfer += iprot->readString(_val1164); + std::string _key1189; + xfer += iprot->readString(_key1189); + std::string& _val1190 = this->success[_key1189]; + xfer += iprot->readString(_val1190); } xfer += iprot->readMapEnd(); } @@ -18858,11 +18858,11 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::write(::apache::thri xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::map ::const_iterator _iter1165; - for (_iter1165 = this->success.begin(); _iter1165 != this->success.end(); ++_iter1165) + std::map ::const_iterator _iter1191; + for (_iter1191 = this->success.begin(); _iter1191 != this->success.end(); ++_iter1191) { - xfer += oprot->writeString(_iter1165->first); - xfer += oprot->writeString(_iter1165->second); + xfer += oprot->writeString(_iter1191->first); + xfer += oprot->writeString(_iter1191->second); } xfer += oprot->writeMapEnd(); } @@ -18907,17 +18907,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1166; - ::apache::thrift::protocol::TType _ktype1167; - ::apache::thrift::protocol::TType _vtype1168; - xfer += iprot->readMapBegin(_ktype1167, _vtype1168, _size1166); - uint32_t _i1170; - for (_i1170 = 0; _i1170 < _size1166; ++_i1170) + uint32_t _size1192; + ::apache::thrift::protocol::TType _ktype1193; + ::apache::thrift::protocol::TType _vtype1194; + xfer += iprot->readMapBegin(_ktype1193, _vtype1194, _size1192); + uint32_t _i1196; + for (_i1196 = 0; _i1196 < _size1192; ++_i1196) { - std::string _key1171; - xfer += iprot->readString(_key1171); - std::string& _val1172 = (*(this->success))[_key1171]; - xfer += iprot->readString(_val1172); + std::string _key1197; + xfer += iprot->readString(_key1197); + std::string& _val1198 = (*(this->success))[_key1197]; + xfer += iprot->readString(_val1198); } xfer += iprot->readMapEnd(); } @@ -18992,17 +18992,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1173; - ::apache::thrift::protocol::TType _ktype1174; - ::apache::thrift::protocol::TType _vtype1175; - xfer += iprot->readMapBegin(_ktype1174, _vtype1175, _size1173); - uint32_t _i1177; - for (_i1177 = 0; _i1177 < _size1173; ++_i1177) + uint32_t _size1199; + ::apache::thrift::protocol::TType _ktype1200; + ::apache::thrift::protocol::TType _vtype1201; + xfer += iprot->readMapBegin(_ktype1200, _vtype1201, _size1199); + uint32_t _i1203; + for (_i1203 = 0; _i1203 < _size1199; ++_i1203) { - std::string _key1178; - xfer += iprot->readString(_key1178); - std::string& _val1179 = this->part_vals[_key1178]; - xfer += iprot->readString(_val1179); + std::string _key1204; + xfer += iprot->readString(_key1204); + std::string& _val1205 = this->part_vals[_key1204]; + xfer += iprot->readString(_val1205); } xfer += iprot->readMapEnd(); } @@ -19013,9 +19013,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1180; - xfer += iprot->readI32(ecast1180); - this->eventType = (PartitionEventType::type)ecast1180; + int32_t ecast1206; + xfer += iprot->readI32(ecast1206); + this->eventType = (PartitionEventType::type)ecast1206; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -19049,11 +19049,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::write(::apache::thrift: xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1181; - for (_iter1181 = this->part_vals.begin(); _iter1181 != this->part_vals.end(); ++_iter1181) + std::map ::const_iterator _iter1207; + for (_iter1207 = this->part_vals.begin(); _iter1207 != this->part_vals.end(); ++_iter1207) { - xfer += oprot->writeString(_iter1181->first); - xfer += oprot->writeString(_iter1181->second); + xfer += oprot->writeString(_iter1207->first); + xfer += oprot->writeString(_iter1207->second); } xfer += oprot->writeMapEnd(); } @@ -19089,11 +19089,11 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_pargs::write(::apache::thrift xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1182; - for (_iter1182 = (*(this->part_vals)).begin(); _iter1182 != (*(this->part_vals)).end(); ++_iter1182) + std::map ::const_iterator _iter1208; + for (_iter1208 = (*(this->part_vals)).begin(); _iter1208 != (*(this->part_vals)).end(); ++_iter1208) { - xfer += oprot->writeString(_iter1182->first); - xfer += oprot->writeString(_iter1182->second); + xfer += oprot->writeString(_iter1208->first); + xfer += oprot->writeString(_iter1208->second); } xfer += oprot->writeMapEnd(); } @@ -19362,17 +19362,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1183; - ::apache::thrift::protocol::TType _ktype1184; - ::apache::thrift::protocol::TType _vtype1185; - xfer += iprot->readMapBegin(_ktype1184, _vtype1185, _size1183); - uint32_t _i1187; - for (_i1187 = 0; _i1187 < _size1183; ++_i1187) + uint32_t _size1209; + ::apache::thrift::protocol::TType _ktype1210; + ::apache::thrift::protocol::TType _vtype1211; + xfer += iprot->readMapBegin(_ktype1210, _vtype1211, _size1209); + uint32_t _i1213; + for (_i1213 = 0; _i1213 < _size1209; ++_i1213) { - std::string _key1188; - xfer += iprot->readString(_key1188); - std::string& _val1189 = this->part_vals[_key1188]; - xfer += iprot->readString(_val1189); + std::string _key1214; + xfer += iprot->readString(_key1214); + std::string& _val1215 = this->part_vals[_key1214]; + xfer += iprot->readString(_val1215); } xfer += iprot->readMapEnd(); } @@ -19383,9 +19383,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1190; - xfer += iprot->readI32(ecast1190); - this->eventType = (PartitionEventType::type)ecast1190; + int32_t ecast1216; + xfer += iprot->readI32(ecast1216); + this->eventType = (PartitionEventType::type)ecast1216; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -19419,11 +19419,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::write(::apache::thr xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->part_vals.size())); - std::map ::const_iterator _iter1191; - for (_iter1191 = this->part_vals.begin(); _iter1191 != this->part_vals.end(); ++_iter1191) + std::map ::const_iterator _iter1217; + for (_iter1217 = this->part_vals.begin(); _iter1217 != this->part_vals.end(); ++_iter1217) { - xfer += oprot->writeString(_iter1191->first); - xfer += oprot->writeString(_iter1191->second); + xfer += oprot->writeString(_iter1217->first); + xfer += oprot->writeString(_iter1217->second); } xfer += oprot->writeMapEnd(); } @@ -19459,11 +19459,11 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_pargs::write(::apache::th xfer += oprot->writeFieldBegin("part_vals", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast((*(this->part_vals)).size())); - std::map ::const_iterator _iter1192; - for (_iter1192 = (*(this->part_vals)).begin(); _iter1192 != (*(this->part_vals)).end(); ++_iter1192) + std::map ::const_iterator _iter1218; + for (_iter1218 = (*(this->part_vals)).begin(); _iter1218 != (*(this->part_vals)).end(); ++_iter1218) { - xfer += oprot->writeString(_iter1192->first); - xfer += oprot->writeString(_iter1192->second); + xfer += oprot->writeString(_iter1218->first); + xfer += oprot->writeString(_iter1218->second); } xfer += oprot->writeMapEnd(); } @@ -20899,14 +20899,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1193; - ::apache::thrift::protocol::TType _etype1196; - xfer += iprot->readListBegin(_etype1196, _size1193); - this->success.resize(_size1193); - uint32_t _i1197; - for (_i1197 = 0; _i1197 < _size1193; ++_i1197) + uint32_t _size1219; + ::apache::thrift::protocol::TType _etype1222; + xfer += iprot->readListBegin(_etype1222, _size1219); + this->success.resize(_size1219); + uint32_t _i1223; + for (_i1223 = 0; _i1223 < _size1219; ++_i1223) { - xfer += this->success[_i1197].read(iprot); + xfer += this->success[_i1223].read(iprot); } xfer += iprot->readListEnd(); } @@ -20953,10 +20953,10 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1198; - for (_iter1198 = this->success.begin(); _iter1198 != this->success.end(); ++_iter1198) + std::vector ::const_iterator _iter1224; + for (_iter1224 = this->success.begin(); _iter1224 != this->success.end(); ++_iter1224) { - xfer += (*_iter1198).write(oprot); + xfer += (*_iter1224).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21005,14 +21005,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1199; - ::apache::thrift::protocol::TType _etype1202; - xfer += iprot->readListBegin(_etype1202, _size1199); - (*(this->success)).resize(_size1199); - uint32_t _i1203; - for (_i1203 = 0; _i1203 < _size1199; ++_i1203) + uint32_t _size1225; + ::apache::thrift::protocol::TType _etype1228; + xfer += iprot->readListBegin(_etype1228, _size1225); + (*(this->success)).resize(_size1225); + uint32_t _i1229; + for (_i1229 = 0; _i1229 < _size1225; ++_i1229) { - xfer += (*(this->success))[_i1203].read(iprot); + xfer += (*(this->success))[_i1229].read(iprot); } xfer += iprot->readListEnd(); } @@ -21190,14 +21190,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1204; - ::apache::thrift::protocol::TType _etype1207; - xfer += iprot->readListBegin(_etype1207, _size1204); - this->success.resize(_size1204); - uint32_t _i1208; - for (_i1208 = 0; _i1208 < _size1204; ++_i1208) + uint32_t _size1230; + ::apache::thrift::protocol::TType _etype1233; + xfer += iprot->readListBegin(_etype1233, _size1230); + this->success.resize(_size1230); + uint32_t _i1234; + for (_i1234 = 0; _i1234 < _size1230; ++_i1234) { - xfer += iprot->readString(this->success[_i1208]); + xfer += iprot->readString(this->success[_i1234]); } xfer += iprot->readListEnd(); } @@ -21236,10 +21236,10 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1209; - for (_iter1209 = this->success.begin(); _iter1209 != this->success.end(); ++_iter1209) + std::vector ::const_iterator _iter1235; + for (_iter1235 = this->success.begin(); _iter1235 != this->success.end(); ++_iter1235) { - xfer += oprot->writeString((*_iter1209)); + xfer += oprot->writeString((*_iter1235)); } xfer += oprot->writeListEnd(); } @@ -21284,14 +21284,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1210; - ::apache::thrift::protocol::TType _etype1213; - xfer += iprot->readListBegin(_etype1213, _size1210); - (*(this->success)).resize(_size1210); - uint32_t _i1214; - for (_i1214 = 0; _i1214 < _size1210; ++_i1214) + uint32_t _size1236; + ::apache::thrift::protocol::TType _etype1239; + xfer += iprot->readListBegin(_etype1239, _size1236); + (*(this->success)).resize(_size1236); + uint32_t _i1240; + for (_i1240 = 0; _i1240 < _size1236; ++_i1240) { - xfer += iprot->readString((*(this->success))[_i1214]); + xfer += iprot->readString((*(this->success))[_i1240]); } xfer += iprot->readListEnd(); } @@ -24864,14 +24864,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1215; - ::apache::thrift::protocol::TType _etype1218; - xfer += iprot->readListBegin(_etype1218, _size1215); - this->success.resize(_size1215); - uint32_t _i1219; - for (_i1219 = 0; _i1219 < _size1215; ++_i1219) + uint32_t _size1241; + ::apache::thrift::protocol::TType _etype1244; + xfer += iprot->readListBegin(_etype1244, _size1241); + this->success.resize(_size1241); + uint32_t _i1245; + for (_i1245 = 0; _i1245 < _size1241; ++_i1245) { - xfer += iprot->readString(this->success[_i1219]); + xfer += iprot->readString(this->success[_i1245]); } xfer += iprot->readListEnd(); } @@ -24910,10 +24910,10 @@ uint32_t ThriftHiveMetastore_get_functions_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1220; - for (_iter1220 = this->success.begin(); _iter1220 != this->success.end(); ++_iter1220) + std::vector ::const_iterator _iter1246; + for (_iter1246 = this->success.begin(); _iter1246 != this->success.end(); ++_iter1246) { - xfer += oprot->writeString((*_iter1220)); + xfer += oprot->writeString((*_iter1246)); } xfer += oprot->writeListEnd(); } @@ -24958,14 +24958,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1221; - ::apache::thrift::protocol::TType _etype1224; - xfer += iprot->readListBegin(_etype1224, _size1221); - (*(this->success)).resize(_size1221); - uint32_t _i1225; - for (_i1225 = 0; _i1225 < _size1221; ++_i1225) + uint32_t _size1247; + ::apache::thrift::protocol::TType _etype1250; + xfer += iprot->readListBegin(_etype1250, _size1247); + (*(this->success)).resize(_size1247); + uint32_t _i1251; + for (_i1251 = 0; _i1251 < _size1247; ++_i1251) { - xfer += iprot->readString((*(this->success))[_i1225]); + xfer += iprot->readString((*(this->success))[_i1251]); } xfer += iprot->readListEnd(); } @@ -25925,14 +25925,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1226; - ::apache::thrift::protocol::TType _etype1229; - xfer += iprot->readListBegin(_etype1229, _size1226); - this->success.resize(_size1226); - uint32_t _i1230; - for (_i1230 = 0; _i1230 < _size1226; ++_i1230) + uint32_t _size1252; + ::apache::thrift::protocol::TType _etype1255; + xfer += iprot->readListBegin(_etype1255, _size1252); + this->success.resize(_size1252); + uint32_t _i1256; + for (_i1256 = 0; _i1256 < _size1252; ++_i1256) { - xfer += iprot->readString(this->success[_i1230]); + xfer += iprot->readString(this->success[_i1256]); } xfer += iprot->readListEnd(); } @@ -25971,10 +25971,10 @@ uint32_t ThriftHiveMetastore_get_role_names_result::write(::apache::thrift::prot xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1231; - for (_iter1231 = this->success.begin(); _iter1231 != this->success.end(); ++_iter1231) + std::vector ::const_iterator _iter1257; + for (_iter1257 = this->success.begin(); _iter1257 != this->success.end(); ++_iter1257) { - xfer += oprot->writeString((*_iter1231)); + xfer += oprot->writeString((*_iter1257)); } xfer += oprot->writeListEnd(); } @@ -26019,14 +26019,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1232; - ::apache::thrift::protocol::TType _etype1235; - xfer += iprot->readListBegin(_etype1235, _size1232); - (*(this->success)).resize(_size1232); - uint32_t _i1236; - for (_i1236 = 0; _i1236 < _size1232; ++_i1236) + uint32_t _size1258; + ::apache::thrift::protocol::TType _etype1261; + xfer += iprot->readListBegin(_etype1261, _size1258); + (*(this->success)).resize(_size1258); + uint32_t _i1262; + for (_i1262 = 0; _i1262 < _size1258; ++_i1262) { - xfer += iprot->readString((*(this->success))[_i1236]); + xfer += iprot->readString((*(this->success))[_i1262]); } xfer += iprot->readListEnd(); } @@ -26099,9 +26099,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1237; - xfer += iprot->readI32(ecast1237); - this->principal_type = (PrincipalType::type)ecast1237; + int32_t ecast1263; + xfer += iprot->readI32(ecast1263); + this->principal_type = (PrincipalType::type)ecast1263; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -26117,9 +26117,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1238; - xfer += iprot->readI32(ecast1238); - this->grantorType = (PrincipalType::type)ecast1238; + int32_t ecast1264; + xfer += iprot->readI32(ecast1264); + this->grantorType = (PrincipalType::type)ecast1264; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -26390,9 +26390,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1239; - xfer += iprot->readI32(ecast1239); - this->principal_type = (PrincipalType::type)ecast1239; + int32_t ecast1265; + xfer += iprot->readI32(ecast1265); + this->principal_type = (PrincipalType::type)ecast1265; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -26623,9 +26623,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1240; - xfer += iprot->readI32(ecast1240); - this->principal_type = (PrincipalType::type)ecast1240; + int32_t ecast1266; + xfer += iprot->readI32(ecast1266); + this->principal_type = (PrincipalType::type)ecast1266; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -26714,14 +26714,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1241; - ::apache::thrift::protocol::TType _etype1244; - xfer += iprot->readListBegin(_etype1244, _size1241); - this->success.resize(_size1241); - uint32_t _i1245; - for (_i1245 = 0; _i1245 < _size1241; ++_i1245) + uint32_t _size1267; + ::apache::thrift::protocol::TType _etype1270; + xfer += iprot->readListBegin(_etype1270, _size1267); + this->success.resize(_size1267); + uint32_t _i1271; + for (_i1271 = 0; _i1271 < _size1267; ++_i1271) { - xfer += this->success[_i1245].read(iprot); + xfer += this->success[_i1271].read(iprot); } xfer += iprot->readListEnd(); } @@ -26760,10 +26760,10 @@ uint32_t ThriftHiveMetastore_list_roles_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1246; - for (_iter1246 = this->success.begin(); _iter1246 != this->success.end(); ++_iter1246) + std::vector ::const_iterator _iter1272; + for (_iter1272 = this->success.begin(); _iter1272 != this->success.end(); ++_iter1272) { - xfer += (*_iter1246).write(oprot); + xfer += (*_iter1272).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26808,14 +26808,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1247; - ::apache::thrift::protocol::TType _etype1250; - xfer += iprot->readListBegin(_etype1250, _size1247); - (*(this->success)).resize(_size1247); - uint32_t _i1251; - for (_i1251 = 0; _i1251 < _size1247; ++_i1251) + uint32_t _size1273; + ::apache::thrift::protocol::TType _etype1276; + xfer += iprot->readListBegin(_etype1276, _size1273); + (*(this->success)).resize(_size1273); + uint32_t _i1277; + for (_i1277 = 0; _i1277 < _size1273; ++_i1277) { - xfer += (*(this->success))[_i1251].read(iprot); + xfer += (*(this->success))[_i1277].read(iprot); } xfer += iprot->readListEnd(); } @@ -27511,14 +27511,14 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1252; - ::apache::thrift::protocol::TType _etype1255; - xfer += iprot->readListBegin(_etype1255, _size1252); - this->group_names.resize(_size1252); - uint32_t _i1256; - for (_i1256 = 0; _i1256 < _size1252; ++_i1256) + uint32_t _size1278; + ::apache::thrift::protocol::TType _etype1281; + xfer += iprot->readListBegin(_etype1281, _size1278); + this->group_names.resize(_size1278); + uint32_t _i1282; + for (_i1282 = 0; _i1282 < _size1278; ++_i1282) { - xfer += iprot->readString(this->group_names[_i1256]); + xfer += iprot->readString(this->group_names[_i1282]); } xfer += iprot->readListEnd(); } @@ -27555,10 +27555,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_args::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1257; - for (_iter1257 = this->group_names.begin(); _iter1257 != this->group_names.end(); ++_iter1257) + std::vector ::const_iterator _iter1283; + for (_iter1283 = this->group_names.begin(); _iter1283 != this->group_names.end(); ++_iter1283) { - xfer += oprot->writeString((*_iter1257)); + xfer += oprot->writeString((*_iter1283)); } xfer += oprot->writeListEnd(); } @@ -27590,10 +27590,10 @@ uint32_t ThriftHiveMetastore_get_privilege_set_pargs::write(::apache::thrift::pr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1258; - for (_iter1258 = (*(this->group_names)).begin(); _iter1258 != (*(this->group_names)).end(); ++_iter1258) + std::vector ::const_iterator _iter1284; + for (_iter1284 = (*(this->group_names)).begin(); _iter1284 != (*(this->group_names)).end(); ++_iter1284) { - xfer += oprot->writeString((*_iter1258)); + xfer += oprot->writeString((*_iter1284)); } xfer += oprot->writeListEnd(); } @@ -27768,9 +27768,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1259; - xfer += iprot->readI32(ecast1259); - this->principal_type = (PrincipalType::type)ecast1259; + int32_t ecast1285; + xfer += iprot->readI32(ecast1285); + this->principal_type = (PrincipalType::type)ecast1285; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -27875,14 +27875,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1260; - ::apache::thrift::protocol::TType _etype1263; - xfer += iprot->readListBegin(_etype1263, _size1260); - this->success.resize(_size1260); - uint32_t _i1264; - for (_i1264 = 0; _i1264 < _size1260; ++_i1264) + uint32_t _size1286; + ::apache::thrift::protocol::TType _etype1289; + xfer += iprot->readListBegin(_etype1289, _size1286); + this->success.resize(_size1286); + uint32_t _i1290; + for (_i1290 = 0; _i1290 < _size1286; ++_i1290) { - xfer += this->success[_i1264].read(iprot); + xfer += this->success[_i1290].read(iprot); } xfer += iprot->readListEnd(); } @@ -27921,10 +27921,10 @@ uint32_t ThriftHiveMetastore_list_privileges_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1265; - for (_iter1265 = this->success.begin(); _iter1265 != this->success.end(); ++_iter1265) + std::vector ::const_iterator _iter1291; + for (_iter1291 = this->success.begin(); _iter1291 != this->success.end(); ++_iter1291) { - xfer += (*_iter1265).write(oprot); + xfer += (*_iter1291).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27969,14 +27969,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1266; - ::apache::thrift::protocol::TType _etype1269; - xfer += iprot->readListBegin(_etype1269, _size1266); - (*(this->success)).resize(_size1266); - uint32_t _i1270; - for (_i1270 = 0; _i1270 < _size1266; ++_i1270) + uint32_t _size1292; + ::apache::thrift::protocol::TType _etype1295; + xfer += iprot->readListBegin(_etype1295, _size1292); + (*(this->success)).resize(_size1292); + uint32_t _i1296; + for (_i1296 = 0; _i1296 < _size1292; ++_i1296) { - xfer += (*(this->success))[_i1270].read(iprot); + xfer += (*(this->success))[_i1296].read(iprot); } xfer += iprot->readListEnd(); } @@ -28664,14 +28664,14 @@ uint32_t ThriftHiveMetastore_set_ugi_args::read(::apache::thrift::protocol::TPro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->group_names.clear(); - uint32_t _size1271; - ::apache::thrift::protocol::TType _etype1274; - xfer += iprot->readListBegin(_etype1274, _size1271); - this->group_names.resize(_size1271); - uint32_t _i1275; - for (_i1275 = 0; _i1275 < _size1271; ++_i1275) + uint32_t _size1297; + ::apache::thrift::protocol::TType _etype1300; + xfer += iprot->readListBegin(_etype1300, _size1297); + this->group_names.resize(_size1297); + uint32_t _i1301; + for (_i1301 = 0; _i1301 < _size1297; ++_i1301) { - xfer += iprot->readString(this->group_names[_i1275]); + xfer += iprot->readString(this->group_names[_i1301]); } xfer += iprot->readListEnd(); } @@ -28704,10 +28704,10 @@ uint32_t ThriftHiveMetastore_set_ugi_args::write(::apache::thrift::protocol::TPr xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->group_names.size())); - std::vector ::const_iterator _iter1276; - for (_iter1276 = this->group_names.begin(); _iter1276 != this->group_names.end(); ++_iter1276) + std::vector ::const_iterator _iter1302; + for (_iter1302 = this->group_names.begin(); _iter1302 != this->group_names.end(); ++_iter1302) { - xfer += oprot->writeString((*_iter1276)); + xfer += oprot->writeString((*_iter1302)); } xfer += oprot->writeListEnd(); } @@ -28735,10 +28735,10 @@ uint32_t ThriftHiveMetastore_set_ugi_pargs::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldBegin("group_names", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->group_names)).size())); - std::vector ::const_iterator _iter1277; - for (_iter1277 = (*(this->group_names)).begin(); _iter1277 != (*(this->group_names)).end(); ++_iter1277) + std::vector ::const_iterator _iter1303; + for (_iter1303 = (*(this->group_names)).begin(); _iter1303 != (*(this->group_names)).end(); ++_iter1303) { - xfer += oprot->writeString((*_iter1277)); + xfer += oprot->writeString((*_iter1303)); } xfer += oprot->writeListEnd(); } @@ -28779,14 +28779,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1278; - ::apache::thrift::protocol::TType _etype1281; - xfer += iprot->readListBegin(_etype1281, _size1278); - this->success.resize(_size1278); - uint32_t _i1282; - for (_i1282 = 0; _i1282 < _size1278; ++_i1282) + uint32_t _size1304; + ::apache::thrift::protocol::TType _etype1307; + xfer += iprot->readListBegin(_etype1307, _size1304); + this->success.resize(_size1304); + uint32_t _i1308; + for (_i1308 = 0; _i1308 < _size1304; ++_i1308) { - xfer += iprot->readString(this->success[_i1282]); + xfer += iprot->readString(this->success[_i1308]); } xfer += iprot->readListEnd(); } @@ -28825,10 +28825,10 @@ uint32_t ThriftHiveMetastore_set_ugi_result::write(::apache::thrift::protocol::T xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1283; - for (_iter1283 = this->success.begin(); _iter1283 != this->success.end(); ++_iter1283) + std::vector ::const_iterator _iter1309; + for (_iter1309 = this->success.begin(); _iter1309 != this->success.end(); ++_iter1309) { - xfer += oprot->writeString((*_iter1283)); + xfer += oprot->writeString((*_iter1309)); } xfer += oprot->writeListEnd(); } @@ -28873,14 +28873,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1284; - ::apache::thrift::protocol::TType _etype1287; - xfer += iprot->readListBegin(_etype1287, _size1284); - (*(this->success)).resize(_size1284); - uint32_t _i1288; - for (_i1288 = 0; _i1288 < _size1284; ++_i1288) + uint32_t _size1310; + ::apache::thrift::protocol::TType _etype1313; + xfer += iprot->readListBegin(_etype1313, _size1310); + (*(this->success)).resize(_size1310); + uint32_t _i1314; + for (_i1314 = 0; _i1314 < _size1310; ++_i1314) { - xfer += iprot->readString((*(this->success))[_i1288]); + xfer += iprot->readString((*(this->success))[_i1314]); } xfer += iprot->readListEnd(); } @@ -30191,14 +30191,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1289; - ::apache::thrift::protocol::TType _etype1292; - xfer += iprot->readListBegin(_etype1292, _size1289); - this->success.resize(_size1289); - uint32_t _i1293; - for (_i1293 = 0; _i1293 < _size1289; ++_i1293) + uint32_t _size1315; + ::apache::thrift::protocol::TType _etype1318; + xfer += iprot->readListBegin(_etype1318, _size1315); + this->success.resize(_size1315); + uint32_t _i1319; + for (_i1319 = 0; _i1319 < _size1315; ++_i1319) { - xfer += iprot->readString(this->success[_i1293]); + xfer += iprot->readString(this->success[_i1319]); } xfer += iprot->readListEnd(); } @@ -30229,10 +30229,10 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::write(::apache::t xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1294; - for (_iter1294 = this->success.begin(); _iter1294 != this->success.end(); ++_iter1294) + std::vector ::const_iterator _iter1320; + for (_iter1320 = this->success.begin(); _iter1320 != this->success.end(); ++_iter1320) { - xfer += oprot->writeString((*_iter1294)); + xfer += oprot->writeString((*_iter1320)); } xfer += oprot->writeListEnd(); } @@ -30273,14 +30273,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1295; - ::apache::thrift::protocol::TType _etype1298; - xfer += iprot->readListBegin(_etype1298, _size1295); - (*(this->success)).resize(_size1295); - uint32_t _i1299; - for (_i1299 = 0; _i1299 < _size1295; ++_i1299) + uint32_t _size1321; + ::apache::thrift::protocol::TType _etype1324; + xfer += iprot->readListBegin(_etype1324, _size1321); + (*(this->success)).resize(_size1321); + uint32_t _i1325; + for (_i1325 = 0; _i1325 < _size1321; ++_i1325) { - xfer += iprot->readString((*(this->success))[_i1299]); + xfer += iprot->readString((*(this->success))[_i1325]); } xfer += iprot->readListEnd(); } @@ -31006,14 +31006,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1300; - ::apache::thrift::protocol::TType _etype1303; - xfer += iprot->readListBegin(_etype1303, _size1300); - this->success.resize(_size1300); - uint32_t _i1304; - for (_i1304 = 0; _i1304 < _size1300; ++_i1304) + uint32_t _size1326; + ::apache::thrift::protocol::TType _etype1329; + xfer += iprot->readListBegin(_etype1329, _size1326); + this->success.resize(_size1326); + uint32_t _i1330; + for (_i1330 = 0; _i1330 < _size1326; ++_i1330) { - xfer += iprot->readString(this->success[_i1304]); + xfer += iprot->readString(this->success[_i1330]); } xfer += iprot->readListEnd(); } @@ -31044,10 +31044,10 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1305; - for (_iter1305 = this->success.begin(); _iter1305 != this->success.end(); ++_iter1305) + std::vector ::const_iterator _iter1331; + for (_iter1331 = this->success.begin(); _iter1331 != this->success.end(); ++_iter1331) { - xfer += oprot->writeString((*_iter1305)); + xfer += oprot->writeString((*_iter1331)); } xfer += oprot->writeListEnd(); } @@ -31088,14 +31088,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1306; - ::apache::thrift::protocol::TType _etype1309; - xfer += iprot->readListBegin(_etype1309, _size1306); - (*(this->success)).resize(_size1306); - uint32_t _i1310; - for (_i1310 = 0; _i1310 < _size1306; ++_i1310) + uint32_t _size1332; + ::apache::thrift::protocol::TType _etype1335; + xfer += iprot->readListBegin(_etype1335, _size1332); + (*(this->success)).resize(_size1332); + uint32_t _i1336; + for (_i1336 = 0; _i1336 < _size1332; ++_i1336) { - xfer += iprot->readString((*(this->success))[_i1310]); + xfer += iprot->readString((*(this->success))[_i1336]); } xfer += iprot->readListEnd(); } diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index 2695ffa..406f19d 100644 --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -392,6 +392,212 @@ void FieldSchema::printTo(std::ostream& out) const { } +ForeignKeyRel::~ForeignKeyRel() throw() { +} + + +void ForeignKeyRel::__set_foreignCols(const std::vector & val) { + this->foreignCols = val; +} + +void ForeignKeyRel::__set_parentCols(const std::vector & val) { + this->parentCols = val; +} + +void ForeignKeyRel::__set_foreignKeyName(const std::string& val) { + this->foreignKeyName = val; +} + +void ForeignKeyRel::__set_parentTableName(const std::string& val) { + this->parentTableName = val; +} + +void ForeignKeyRel::__set_parentTableSchema(const std::string& val) { + this->parentTableSchema = val; +} + +uint32_t ForeignKeyRel::read(::apache::thrift::protocol::TProtocol* iprot) { + + apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); + uint32_t xfer = 0; + std::string fname; + ::apache::thrift::protocol::TType ftype; + int16_t fid; + + xfer += iprot->readStructBegin(fname); + + using ::apache::thrift::protocol::TProtocolException; + + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->foreignCols.clear(); + uint32_t _size4; + ::apache::thrift::protocol::TType _etype7; + xfer += iprot->readListBegin(_etype7, _size4); + this->foreignCols.resize(_size4); + uint32_t _i8; + for (_i8 = 0; _i8 < _size4; ++_i8) + { + xfer += this->foreignCols[_i8].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.foreignCols = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->parentCols.clear(); + uint32_t _size9; + ::apache::thrift::protocol::TType _etype12; + xfer += iprot->readListBegin(_etype12, _size9); + this->parentCols.resize(_size9); + uint32_t _i13; + for (_i13 = 0; _i13 < _size9; ++_i13) + { + xfer += this->parentCols[_i13].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.parentCols = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->foreignKeyName); + this->__isset.foreignKeyName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->parentTableName); + this->__isset.parentTableName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->parentTableSchema); + this->__isset.parentTableSchema = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ForeignKeyRel::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ForeignKeyRel"); + + xfer += oprot->writeFieldBegin("foreignCols", ::apache::thrift::protocol::T_LIST, 1); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignCols.size())); + std::vector ::const_iterator _iter14; + for (_iter14 = this->foreignCols.begin(); _iter14 != this->foreignCols.end(); ++_iter14) + { + xfer += (*_iter14).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("parentCols", ::apache::thrift::protocol::T_LIST, 2); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->parentCols.size())); + std::vector ::const_iterator _iter15; + for (_iter15 = this->parentCols.begin(); _iter15 != this->parentCols.end(); ++_iter15) + { + xfer += (*_iter15).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("foreignKeyName", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->foreignKeyName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("parentTableName", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->parentTableName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("parentTableSchema", ::apache::thrift::protocol::T_STRING, 5); + xfer += oprot->writeString(this->parentTableSchema); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(ForeignKeyRel &a, ForeignKeyRel &b) { + using ::std::swap; + swap(a.foreignCols, b.foreignCols); + swap(a.parentCols, b.parentCols); + swap(a.foreignKeyName, b.foreignKeyName); + swap(a.parentTableName, b.parentTableName); + swap(a.parentTableSchema, b.parentTableSchema); + swap(a.__isset, b.__isset); +} + +ForeignKeyRel::ForeignKeyRel(const ForeignKeyRel& other16) { + foreignCols = other16.foreignCols; + parentCols = other16.parentCols; + foreignKeyName = other16.foreignKeyName; + parentTableName = other16.parentTableName; + parentTableSchema = other16.parentTableSchema; + __isset = other16.__isset; +} +ForeignKeyRel& ForeignKeyRel::operator=(const ForeignKeyRel& other17) { + foreignCols = other17.foreignCols; + parentCols = other17.parentCols; + foreignKeyName = other17.foreignKeyName; + parentTableName = other17.parentTableName; + parentTableSchema = other17.parentTableSchema; + __isset = other17.__isset; + return *this; +} +void ForeignKeyRel::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "ForeignKeyRel("; + out << "foreignCols=" << to_string(foreignCols); + out << ", " << "parentCols=" << to_string(parentCols); + out << ", " << "foreignKeyName=" << to_string(foreignKeyName); + out << ", " << "parentTableName=" << to_string(parentTableName); + out << ", " << "parentTableSchema=" << to_string(parentTableSchema); + out << ")"; +} + + Type::~Type() throw() { } @@ -464,14 +670,14 @@ uint32_t Type::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fields.clear(); - uint32_t _size4; - ::apache::thrift::protocol::TType _etype7; - xfer += iprot->readListBegin(_etype7, _size4); - this->fields.resize(_size4); - uint32_t _i8; - for (_i8 = 0; _i8 < _size4; ++_i8) + uint32_t _size18; + ::apache::thrift::protocol::TType _etype21; + xfer += iprot->readListBegin(_etype21, _size18); + this->fields.resize(_size18); + uint32_t _i22; + for (_i22 = 0; _i22 < _size18; ++_i22) { - xfer += this->fields[_i8].read(iprot); + xfer += this->fields[_i22].read(iprot); } xfer += iprot->readListEnd(); } @@ -515,10 +721,10 @@ uint32_t Type::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("fields", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->fields.size())); - std::vector ::const_iterator _iter9; - for (_iter9 = this->fields.begin(); _iter9 != this->fields.end(); ++_iter9) + std::vector ::const_iterator _iter23; + for (_iter23 = this->fields.begin(); _iter23 != this->fields.end(); ++_iter23) { - xfer += (*_iter9).write(oprot); + xfer += (*_iter23).write(oprot); } xfer += oprot->writeListEnd(); } @@ -538,19 +744,19 @@ void swap(Type &a, Type &b) { swap(a.__isset, b.__isset); } -Type::Type(const Type& other10) { - name = other10.name; - type1 = other10.type1; - type2 = other10.type2; - fields = other10.fields; - __isset = other10.__isset; +Type::Type(const Type& other24) { + name = other24.name; + type1 = other24.type1; + type2 = other24.type2; + fields = other24.fields; + __isset = other24.__isset; } -Type& Type::operator=(const Type& other11) { - name = other11.name; - type1 = other11.type1; - type2 = other11.type2; - fields = other11.fields; - __isset = other11.__isset; +Type& Type::operator=(const Type& other25) { + name = other25.name; + type1 = other25.type1; + type2 = other25.type2; + fields = other25.fields; + __isset = other25.__isset; return *this; } void Type::printTo(std::ostream& out) const { @@ -611,9 +817,9 @@ uint32_t HiveObjectRef::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast12; - xfer += iprot->readI32(ecast12); - this->objectType = (HiveObjectType::type)ecast12; + int32_t ecast26; + xfer += iprot->readI32(ecast26); + this->objectType = (HiveObjectType::type)ecast26; this->__isset.objectType = true; } else { xfer += iprot->skip(ftype); @@ -639,14 +845,14 @@ uint32_t HiveObjectRef::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partValues.clear(); - uint32_t _size13; - ::apache::thrift::protocol::TType _etype16; - xfer += iprot->readListBegin(_etype16, _size13); - this->partValues.resize(_size13); - uint32_t _i17; - for (_i17 = 0; _i17 < _size13; ++_i17) + uint32_t _size27; + ::apache::thrift::protocol::TType _etype30; + xfer += iprot->readListBegin(_etype30, _size27); + this->partValues.resize(_size27); + uint32_t _i31; + for (_i31 = 0; _i31 < _size27; ++_i31) { - xfer += iprot->readString(this->partValues[_i17]); + xfer += iprot->readString(this->partValues[_i31]); } xfer += iprot->readListEnd(); } @@ -695,10 +901,10 @@ uint32_t HiveObjectRef::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("partValues", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partValues.size())); - std::vector ::const_iterator _iter18; - for (_iter18 = this->partValues.begin(); _iter18 != this->partValues.end(); ++_iter18) + std::vector ::const_iterator _iter32; + for (_iter32 = this->partValues.begin(); _iter32 != this->partValues.end(); ++_iter32) { - xfer += oprot->writeString((*_iter18)); + xfer += oprot->writeString((*_iter32)); } xfer += oprot->writeListEnd(); } @@ -723,21 +929,21 @@ void swap(HiveObjectRef &a, HiveObjectRef &b) { swap(a.__isset, b.__isset); } -HiveObjectRef::HiveObjectRef(const HiveObjectRef& other19) { - objectType = other19.objectType; - dbName = other19.dbName; - objectName = other19.objectName; - partValues = other19.partValues; - columnName = other19.columnName; - __isset = other19.__isset; -} -HiveObjectRef& HiveObjectRef::operator=(const HiveObjectRef& other20) { - objectType = other20.objectType; - dbName = other20.dbName; - objectName = other20.objectName; - partValues = other20.partValues; - columnName = other20.columnName; - __isset = other20.__isset; +HiveObjectRef::HiveObjectRef(const HiveObjectRef& other33) { + objectType = other33.objectType; + dbName = other33.dbName; + objectName = other33.objectName; + partValues = other33.partValues; + columnName = other33.columnName; + __isset = other33.__isset; +} +HiveObjectRef& HiveObjectRef::operator=(const HiveObjectRef& other34) { + objectType = other34.objectType; + dbName = other34.dbName; + objectName = other34.objectName; + partValues = other34.partValues; + columnName = other34.columnName; + __isset = other34.__isset; return *this; } void HiveObjectRef::printTo(std::ostream& out) const { @@ -823,9 +1029,9 @@ uint32_t PrivilegeGrantInfo::read(::apache::thrift::protocol::TProtocol* iprot) break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast21; - xfer += iprot->readI32(ecast21); - this->grantorType = (PrincipalType::type)ecast21; + int32_t ecast35; + xfer += iprot->readI32(ecast35); + this->grantorType = (PrincipalType::type)ecast35; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -891,21 +1097,21 @@ void swap(PrivilegeGrantInfo &a, PrivilegeGrantInfo &b) { swap(a.__isset, b.__isset); } -PrivilegeGrantInfo::PrivilegeGrantInfo(const PrivilegeGrantInfo& other22) { - privilege = other22.privilege; - createTime = other22.createTime; - grantor = other22.grantor; - grantorType = other22.grantorType; - grantOption = other22.grantOption; - __isset = other22.__isset; -} -PrivilegeGrantInfo& PrivilegeGrantInfo::operator=(const PrivilegeGrantInfo& other23) { - privilege = other23.privilege; - createTime = other23.createTime; - grantor = other23.grantor; - grantorType = other23.grantorType; - grantOption = other23.grantOption; - __isset = other23.__isset; +PrivilegeGrantInfo::PrivilegeGrantInfo(const PrivilegeGrantInfo& other36) { + privilege = other36.privilege; + createTime = other36.createTime; + grantor = other36.grantor; + grantorType = other36.grantorType; + grantOption = other36.grantOption; + __isset = other36.__isset; +} +PrivilegeGrantInfo& PrivilegeGrantInfo::operator=(const PrivilegeGrantInfo& other37) { + privilege = other37.privilege; + createTime = other37.createTime; + grantor = other37.grantor; + grantorType = other37.grantorType; + grantOption = other37.grantOption; + __isset = other37.__isset; return *this; } void PrivilegeGrantInfo::printTo(std::ostream& out) const { @@ -979,9 +1185,9 @@ uint32_t HiveObjectPrivilege::read(::apache::thrift::protocol::TProtocol* iprot) break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast24; - xfer += iprot->readI32(ecast24); - this->principalType = (PrincipalType::type)ecast24; + int32_t ecast38; + xfer += iprot->readI32(ecast38); + this->principalType = (PrincipalType::type)ecast38; this->__isset.principalType = true; } else { xfer += iprot->skip(ftype); @@ -1042,19 +1248,19 @@ void swap(HiveObjectPrivilege &a, HiveObjectPrivilege &b) { swap(a.__isset, b.__isset); } -HiveObjectPrivilege::HiveObjectPrivilege(const HiveObjectPrivilege& other25) { - hiveObject = other25.hiveObject; - principalName = other25.principalName; - principalType = other25.principalType; - grantInfo = other25.grantInfo; - __isset = other25.__isset; +HiveObjectPrivilege::HiveObjectPrivilege(const HiveObjectPrivilege& other39) { + hiveObject = other39.hiveObject; + principalName = other39.principalName; + principalType = other39.principalType; + grantInfo = other39.grantInfo; + __isset = other39.__isset; } -HiveObjectPrivilege& HiveObjectPrivilege::operator=(const HiveObjectPrivilege& other26) { - hiveObject = other26.hiveObject; - principalName = other26.principalName; - principalType = other26.principalType; - grantInfo = other26.grantInfo; - __isset = other26.__isset; +HiveObjectPrivilege& HiveObjectPrivilege::operator=(const HiveObjectPrivilege& other40) { + hiveObject = other40.hiveObject; + principalName = other40.principalName; + principalType = other40.principalType; + grantInfo = other40.grantInfo; + __isset = other40.__isset; return *this; } void HiveObjectPrivilege::printTo(std::ostream& out) const { @@ -1101,14 +1307,14 @@ uint32_t PrivilegeBag::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->privileges.clear(); - uint32_t _size27; - ::apache::thrift::protocol::TType _etype30; - xfer += iprot->readListBegin(_etype30, _size27); - this->privileges.resize(_size27); - uint32_t _i31; - for (_i31 = 0; _i31 < _size27; ++_i31) + uint32_t _size41; + ::apache::thrift::protocol::TType _etype44; + xfer += iprot->readListBegin(_etype44, _size41); + this->privileges.resize(_size41); + uint32_t _i45; + for (_i45 = 0; _i45 < _size41; ++_i45) { - xfer += this->privileges[_i31].read(iprot); + xfer += this->privileges[_i45].read(iprot); } xfer += iprot->readListEnd(); } @@ -1137,10 +1343,10 @@ uint32_t PrivilegeBag::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldBegin("privileges", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->privileges.size())); - std::vector ::const_iterator _iter32; - for (_iter32 = this->privileges.begin(); _iter32 != this->privileges.end(); ++_iter32) + std::vector ::const_iterator _iter46; + for (_iter46 = this->privileges.begin(); _iter46 != this->privileges.end(); ++_iter46) { - xfer += (*_iter32).write(oprot); + xfer += (*_iter46).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1157,13 +1363,13 @@ void swap(PrivilegeBag &a, PrivilegeBag &b) { swap(a.__isset, b.__isset); } -PrivilegeBag::PrivilegeBag(const PrivilegeBag& other33) { - privileges = other33.privileges; - __isset = other33.__isset; +PrivilegeBag::PrivilegeBag(const PrivilegeBag& other47) { + privileges = other47.privileges; + __isset = other47.__isset; } -PrivilegeBag& PrivilegeBag::operator=(const PrivilegeBag& other34) { - privileges = other34.privileges; - __isset = other34.__isset; +PrivilegeBag& PrivilegeBag::operator=(const PrivilegeBag& other48) { + privileges = other48.privileges; + __isset = other48.__isset; return *this; } void PrivilegeBag::printTo(std::ostream& out) const { @@ -1215,26 +1421,26 @@ uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->userPrivileges.clear(); - uint32_t _size35; - ::apache::thrift::protocol::TType _ktype36; - ::apache::thrift::protocol::TType _vtype37; - xfer += iprot->readMapBegin(_ktype36, _vtype37, _size35); - uint32_t _i39; - for (_i39 = 0; _i39 < _size35; ++_i39) + uint32_t _size49; + ::apache::thrift::protocol::TType _ktype50; + ::apache::thrift::protocol::TType _vtype51; + xfer += iprot->readMapBegin(_ktype50, _vtype51, _size49); + uint32_t _i53; + for (_i53 = 0; _i53 < _size49; ++_i53) { - std::string _key40; - xfer += iprot->readString(_key40); - std::vector & _val41 = this->userPrivileges[_key40]; + std::string _key54; + xfer += iprot->readString(_key54); + std::vector & _val55 = this->userPrivileges[_key54]; { - _val41.clear(); - uint32_t _size42; - ::apache::thrift::protocol::TType _etype45; - xfer += iprot->readListBegin(_etype45, _size42); - _val41.resize(_size42); - uint32_t _i46; - for (_i46 = 0; _i46 < _size42; ++_i46) + _val55.clear(); + uint32_t _size56; + ::apache::thrift::protocol::TType _etype59; + xfer += iprot->readListBegin(_etype59, _size56); + _val55.resize(_size56); + uint32_t _i60; + for (_i60 = 0; _i60 < _size56; ++_i60) { - xfer += _val41[_i46].read(iprot); + xfer += _val55[_i60].read(iprot); } xfer += iprot->readListEnd(); } @@ -1250,26 +1456,26 @@ uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->groupPrivileges.clear(); - uint32_t _size47; - ::apache::thrift::protocol::TType _ktype48; - ::apache::thrift::protocol::TType _vtype49; - xfer += iprot->readMapBegin(_ktype48, _vtype49, _size47); - uint32_t _i51; - for (_i51 = 0; _i51 < _size47; ++_i51) + uint32_t _size61; + ::apache::thrift::protocol::TType _ktype62; + ::apache::thrift::protocol::TType _vtype63; + xfer += iprot->readMapBegin(_ktype62, _vtype63, _size61); + uint32_t _i65; + for (_i65 = 0; _i65 < _size61; ++_i65) { - std::string _key52; - xfer += iprot->readString(_key52); - std::vector & _val53 = this->groupPrivileges[_key52]; + std::string _key66; + xfer += iprot->readString(_key66); + std::vector & _val67 = this->groupPrivileges[_key66]; { - _val53.clear(); - uint32_t _size54; - ::apache::thrift::protocol::TType _etype57; - xfer += iprot->readListBegin(_etype57, _size54); - _val53.resize(_size54); - uint32_t _i58; - for (_i58 = 0; _i58 < _size54; ++_i58) + _val67.clear(); + uint32_t _size68; + ::apache::thrift::protocol::TType _etype71; + xfer += iprot->readListBegin(_etype71, _size68); + _val67.resize(_size68); + uint32_t _i72; + for (_i72 = 0; _i72 < _size68; ++_i72) { - xfer += _val53[_i58].read(iprot); + xfer += _val67[_i72].read(iprot); } xfer += iprot->readListEnd(); } @@ -1285,26 +1491,26 @@ uint32_t PrincipalPrivilegeSet::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->rolePrivileges.clear(); - uint32_t _size59; - ::apache::thrift::protocol::TType _ktype60; - ::apache::thrift::protocol::TType _vtype61; - xfer += iprot->readMapBegin(_ktype60, _vtype61, _size59); - uint32_t _i63; - for (_i63 = 0; _i63 < _size59; ++_i63) + uint32_t _size73; + ::apache::thrift::protocol::TType _ktype74; + ::apache::thrift::protocol::TType _vtype75; + xfer += iprot->readMapBegin(_ktype74, _vtype75, _size73); + uint32_t _i77; + for (_i77 = 0; _i77 < _size73; ++_i77) { - std::string _key64; - xfer += iprot->readString(_key64); - std::vector & _val65 = this->rolePrivileges[_key64]; + std::string _key78; + xfer += iprot->readString(_key78); + std::vector & _val79 = this->rolePrivileges[_key78]; { - _val65.clear(); - uint32_t _size66; - ::apache::thrift::protocol::TType _etype69; - xfer += iprot->readListBegin(_etype69, _size66); - _val65.resize(_size66); - uint32_t _i70; - for (_i70 = 0; _i70 < _size66; ++_i70) + _val79.clear(); + uint32_t _size80; + ::apache::thrift::protocol::TType _etype83; + xfer += iprot->readListBegin(_etype83, _size80); + _val79.resize(_size80); + uint32_t _i84; + for (_i84 = 0; _i84 < _size80; ++_i84) { - xfer += _val65[_i70].read(iprot); + xfer += _val79[_i84].read(iprot); } xfer += iprot->readListEnd(); } @@ -1336,16 +1542,16 @@ uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("userPrivileges", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast(this->userPrivileges.size())); - std::map > ::const_iterator _iter71; - for (_iter71 = this->userPrivileges.begin(); _iter71 != this->userPrivileges.end(); ++_iter71) + std::map > ::const_iterator _iter85; + for (_iter85 = this->userPrivileges.begin(); _iter85 != this->userPrivileges.end(); ++_iter85) { - xfer += oprot->writeString(_iter71->first); + xfer += oprot->writeString(_iter85->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter71->second.size())); - std::vector ::const_iterator _iter72; - for (_iter72 = _iter71->second.begin(); _iter72 != _iter71->second.end(); ++_iter72) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter85->second.size())); + std::vector ::const_iterator _iter86; + for (_iter86 = _iter85->second.begin(); _iter86 != _iter85->second.end(); ++_iter86) { - xfer += (*_iter72).write(oprot); + xfer += (*_iter86).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1357,16 +1563,16 @@ uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("groupPrivileges", ::apache::thrift::protocol::T_MAP, 2); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast(this->groupPrivileges.size())); - std::map > ::const_iterator _iter73; - for (_iter73 = this->groupPrivileges.begin(); _iter73 != this->groupPrivileges.end(); ++_iter73) + std::map > ::const_iterator _iter87; + for (_iter87 = this->groupPrivileges.begin(); _iter87 != this->groupPrivileges.end(); ++_iter87) { - xfer += oprot->writeString(_iter73->first); + xfer += oprot->writeString(_iter87->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter73->second.size())); - std::vector ::const_iterator _iter74; - for (_iter74 = _iter73->second.begin(); _iter74 != _iter73->second.end(); ++_iter74) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter87->second.size())); + std::vector ::const_iterator _iter88; + for (_iter88 = _iter87->second.begin(); _iter88 != _iter87->second.end(); ++_iter88) { - xfer += (*_iter74).write(oprot); + xfer += (*_iter88).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1378,16 +1584,16 @@ uint32_t PrincipalPrivilegeSet::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("rolePrivileges", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast(this->rolePrivileges.size())); - std::map > ::const_iterator _iter75; - for (_iter75 = this->rolePrivileges.begin(); _iter75 != this->rolePrivileges.end(); ++_iter75) + std::map > ::const_iterator _iter89; + for (_iter89 = this->rolePrivileges.begin(); _iter89 != this->rolePrivileges.end(); ++_iter89) { - xfer += oprot->writeString(_iter75->first); + xfer += oprot->writeString(_iter89->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter75->second.size())); - std::vector ::const_iterator _iter76; - for (_iter76 = _iter75->second.begin(); _iter76 != _iter75->second.end(); ++_iter76) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter89->second.size())); + std::vector ::const_iterator _iter90; + for (_iter90 = _iter89->second.begin(); _iter90 != _iter89->second.end(); ++_iter90) { - xfer += (*_iter76).write(oprot); + xfer += (*_iter90).write(oprot); } xfer += oprot->writeListEnd(); } @@ -1409,17 +1615,17 @@ void swap(PrincipalPrivilegeSet &a, PrincipalPrivilegeSet &b) { swap(a.__isset, b.__isset); } -PrincipalPrivilegeSet::PrincipalPrivilegeSet(const PrincipalPrivilegeSet& other77) { - userPrivileges = other77.userPrivileges; - groupPrivileges = other77.groupPrivileges; - rolePrivileges = other77.rolePrivileges; - __isset = other77.__isset; +PrincipalPrivilegeSet::PrincipalPrivilegeSet(const PrincipalPrivilegeSet& other91) { + userPrivileges = other91.userPrivileges; + groupPrivileges = other91.groupPrivileges; + rolePrivileges = other91.rolePrivileges; + __isset = other91.__isset; } -PrincipalPrivilegeSet& PrincipalPrivilegeSet::operator=(const PrincipalPrivilegeSet& other78) { - userPrivileges = other78.userPrivileges; - groupPrivileges = other78.groupPrivileges; - rolePrivileges = other78.rolePrivileges; - __isset = other78.__isset; +PrincipalPrivilegeSet& PrincipalPrivilegeSet::operator=(const PrincipalPrivilegeSet& other92) { + userPrivileges = other92.userPrivileges; + groupPrivileges = other92.groupPrivileges; + rolePrivileges = other92.rolePrivileges; + __isset = other92.__isset; return *this; } void PrincipalPrivilegeSet::printTo(std::ostream& out) const { @@ -1472,9 +1678,9 @@ uint32_t GrantRevokePrivilegeRequest::read(::apache::thrift::protocol::TProtocol { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast79; - xfer += iprot->readI32(ecast79); - this->requestType = (GrantRevokeType::type)ecast79; + int32_t ecast93; + xfer += iprot->readI32(ecast93); + this->requestType = (GrantRevokeType::type)ecast93; this->__isset.requestType = true; } else { xfer += iprot->skip(ftype); @@ -1539,17 +1745,17 @@ void swap(GrantRevokePrivilegeRequest &a, GrantRevokePrivilegeRequest &b) { swap(a.__isset, b.__isset); } -GrantRevokePrivilegeRequest::GrantRevokePrivilegeRequest(const GrantRevokePrivilegeRequest& other80) { - requestType = other80.requestType; - privileges = other80.privileges; - revokeGrantOption = other80.revokeGrantOption; - __isset = other80.__isset; +GrantRevokePrivilegeRequest::GrantRevokePrivilegeRequest(const GrantRevokePrivilegeRequest& other94) { + requestType = other94.requestType; + privileges = other94.privileges; + revokeGrantOption = other94.revokeGrantOption; + __isset = other94.__isset; } -GrantRevokePrivilegeRequest& GrantRevokePrivilegeRequest::operator=(const GrantRevokePrivilegeRequest& other81) { - requestType = other81.requestType; - privileges = other81.privileges; - revokeGrantOption = other81.revokeGrantOption; - __isset = other81.__isset; +GrantRevokePrivilegeRequest& GrantRevokePrivilegeRequest::operator=(const GrantRevokePrivilegeRequest& other95) { + requestType = other95.requestType; + privileges = other95.privileges; + revokeGrantOption = other95.revokeGrantOption; + __isset = other95.__isset; return *this; } void GrantRevokePrivilegeRequest::printTo(std::ostream& out) const { @@ -1633,13 +1839,13 @@ void swap(GrantRevokePrivilegeResponse &a, GrantRevokePrivilegeResponse &b) { swap(a.__isset, b.__isset); } -GrantRevokePrivilegeResponse::GrantRevokePrivilegeResponse(const GrantRevokePrivilegeResponse& other82) { - success = other82.success; - __isset = other82.__isset; +GrantRevokePrivilegeResponse::GrantRevokePrivilegeResponse(const GrantRevokePrivilegeResponse& other96) { + success = other96.success; + __isset = other96.__isset; } -GrantRevokePrivilegeResponse& GrantRevokePrivilegeResponse::operator=(const GrantRevokePrivilegeResponse& other83) { - success = other83.success; - __isset = other83.__isset; +GrantRevokePrivilegeResponse& GrantRevokePrivilegeResponse::operator=(const GrantRevokePrivilegeResponse& other97) { + success = other97.success; + __isset = other97.__isset; return *this; } void GrantRevokePrivilegeResponse::printTo(std::ostream& out) const { @@ -1753,17 +1959,17 @@ void swap(Role &a, Role &b) { swap(a.__isset, b.__isset); } -Role::Role(const Role& other84) { - roleName = other84.roleName; - createTime = other84.createTime; - ownerName = other84.ownerName; - __isset = other84.__isset; +Role::Role(const Role& other98) { + roleName = other98.roleName; + createTime = other98.createTime; + ownerName = other98.ownerName; + __isset = other98.__isset; } -Role& Role::operator=(const Role& other85) { - roleName = other85.roleName; - createTime = other85.createTime; - ownerName = other85.ownerName; - __isset = other85.__isset; +Role& Role::operator=(const Role& other99) { + roleName = other99.roleName; + createTime = other99.createTime; + ownerName = other99.ownerName; + __isset = other99.__isset; return *this; } void Role::printTo(std::ostream& out) const { @@ -1847,9 +2053,9 @@ uint32_t RolePrincipalGrant::read(::apache::thrift::protocol::TProtocol* iprot) break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast86; - xfer += iprot->readI32(ecast86); - this->principalType = (PrincipalType::type)ecast86; + int32_t ecast100; + xfer += iprot->readI32(ecast100); + this->principalType = (PrincipalType::type)ecast100; this->__isset.principalType = true; } else { xfer += iprot->skip(ftype); @@ -1881,9 +2087,9 @@ uint32_t RolePrincipalGrant::read(::apache::thrift::protocol::TProtocol* iprot) break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast87; - xfer += iprot->readI32(ecast87); - this->grantorPrincipalType = (PrincipalType::type)ecast87; + int32_t ecast101; + xfer += iprot->readI32(ecast101); + this->grantorPrincipalType = (PrincipalType::type)ecast101; this->__isset.grantorPrincipalType = true; } else { xfer += iprot->skip(ftype); @@ -1951,25 +2157,25 @@ void swap(RolePrincipalGrant &a, RolePrincipalGrant &b) { swap(a.__isset, b.__isset); } -RolePrincipalGrant::RolePrincipalGrant(const RolePrincipalGrant& other88) { - roleName = other88.roleName; - principalName = other88.principalName; - principalType = other88.principalType; - grantOption = other88.grantOption; - grantTime = other88.grantTime; - grantorName = other88.grantorName; - grantorPrincipalType = other88.grantorPrincipalType; - __isset = other88.__isset; -} -RolePrincipalGrant& RolePrincipalGrant::operator=(const RolePrincipalGrant& other89) { - roleName = other89.roleName; - principalName = other89.principalName; - principalType = other89.principalType; - grantOption = other89.grantOption; - grantTime = other89.grantTime; - grantorName = other89.grantorName; - grantorPrincipalType = other89.grantorPrincipalType; - __isset = other89.__isset; +RolePrincipalGrant::RolePrincipalGrant(const RolePrincipalGrant& other102) { + roleName = other102.roleName; + principalName = other102.principalName; + principalType = other102.principalType; + grantOption = other102.grantOption; + grantTime = other102.grantTime; + grantorName = other102.grantorName; + grantorPrincipalType = other102.grantorPrincipalType; + __isset = other102.__isset; +} +RolePrincipalGrant& RolePrincipalGrant::operator=(const RolePrincipalGrant& other103) { + roleName = other103.roleName; + principalName = other103.principalName; + principalType = other103.principalType; + grantOption = other103.grantOption; + grantTime = other103.grantTime; + grantorName = other103.grantorName; + grantorPrincipalType = other103.grantorPrincipalType; + __isset = other103.__isset; return *this; } void RolePrincipalGrant::printTo(std::ostream& out) const { @@ -2031,9 +2237,9 @@ uint32_t GetRoleGrantsForPrincipalRequest::read(::apache::thrift::protocol::TPro break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast90; - xfer += iprot->readI32(ecast90); - this->principal_type = (PrincipalType::type)ecast90; + int32_t ecast104; + xfer += iprot->readI32(ecast104); + this->principal_type = (PrincipalType::type)ecast104; isset_principal_type = true; } else { xfer += iprot->skip(ftype); @@ -2079,13 +2285,13 @@ void swap(GetRoleGrantsForPrincipalRequest &a, GetRoleGrantsForPrincipalRequest swap(a.principal_type, b.principal_type); } -GetRoleGrantsForPrincipalRequest::GetRoleGrantsForPrincipalRequest(const GetRoleGrantsForPrincipalRequest& other91) { - principal_name = other91.principal_name; - principal_type = other91.principal_type; +GetRoleGrantsForPrincipalRequest::GetRoleGrantsForPrincipalRequest(const GetRoleGrantsForPrincipalRequest& other105) { + principal_name = other105.principal_name; + principal_type = other105.principal_type; } -GetRoleGrantsForPrincipalRequest& GetRoleGrantsForPrincipalRequest::operator=(const GetRoleGrantsForPrincipalRequest& other92) { - principal_name = other92.principal_name; - principal_type = other92.principal_type; +GetRoleGrantsForPrincipalRequest& GetRoleGrantsForPrincipalRequest::operator=(const GetRoleGrantsForPrincipalRequest& other106) { + principal_name = other106.principal_name; + principal_type = other106.principal_type; return *this; } void GetRoleGrantsForPrincipalRequest::printTo(std::ostream& out) const { @@ -2131,14 +2337,14 @@ uint32_t GetRoleGrantsForPrincipalResponse::read(::apache::thrift::protocol::TPr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->principalGrants.clear(); - uint32_t _size93; - ::apache::thrift::protocol::TType _etype96; - xfer += iprot->readListBegin(_etype96, _size93); - this->principalGrants.resize(_size93); - uint32_t _i97; - for (_i97 = 0; _i97 < _size93; ++_i97) + uint32_t _size107; + ::apache::thrift::protocol::TType _etype110; + xfer += iprot->readListBegin(_etype110, _size107); + this->principalGrants.resize(_size107); + uint32_t _i111; + for (_i111 = 0; _i111 < _size107; ++_i111) { - xfer += this->principalGrants[_i97].read(iprot); + xfer += this->principalGrants[_i111].read(iprot); } xfer += iprot->readListEnd(); } @@ -2169,10 +2375,10 @@ uint32_t GetRoleGrantsForPrincipalResponse::write(::apache::thrift::protocol::TP xfer += oprot->writeFieldBegin("principalGrants", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->principalGrants.size())); - std::vector ::const_iterator _iter98; - for (_iter98 = this->principalGrants.begin(); _iter98 != this->principalGrants.end(); ++_iter98) + std::vector ::const_iterator _iter112; + for (_iter112 = this->principalGrants.begin(); _iter112 != this->principalGrants.end(); ++_iter112) { - xfer += (*_iter98).write(oprot); + xfer += (*_iter112).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2188,11 +2394,11 @@ void swap(GetRoleGrantsForPrincipalResponse &a, GetRoleGrantsForPrincipalRespons swap(a.principalGrants, b.principalGrants); } -GetRoleGrantsForPrincipalResponse::GetRoleGrantsForPrincipalResponse(const GetRoleGrantsForPrincipalResponse& other99) { - principalGrants = other99.principalGrants; +GetRoleGrantsForPrincipalResponse::GetRoleGrantsForPrincipalResponse(const GetRoleGrantsForPrincipalResponse& other113) { + principalGrants = other113.principalGrants; } -GetRoleGrantsForPrincipalResponse& GetRoleGrantsForPrincipalResponse::operator=(const GetRoleGrantsForPrincipalResponse& other100) { - principalGrants = other100.principalGrants; +GetRoleGrantsForPrincipalResponse& GetRoleGrantsForPrincipalResponse::operator=(const GetRoleGrantsForPrincipalResponse& other114) { + principalGrants = other114.principalGrants; return *this; } void GetRoleGrantsForPrincipalResponse::printTo(std::ostream& out) const { @@ -2274,11 +2480,11 @@ void swap(GetPrincipalsInRoleRequest &a, GetPrincipalsInRoleRequest &b) { swap(a.roleName, b.roleName); } -GetPrincipalsInRoleRequest::GetPrincipalsInRoleRequest(const GetPrincipalsInRoleRequest& other101) { - roleName = other101.roleName; +GetPrincipalsInRoleRequest::GetPrincipalsInRoleRequest(const GetPrincipalsInRoleRequest& other115) { + roleName = other115.roleName; } -GetPrincipalsInRoleRequest& GetPrincipalsInRoleRequest::operator=(const GetPrincipalsInRoleRequest& other102) { - roleName = other102.roleName; +GetPrincipalsInRoleRequest& GetPrincipalsInRoleRequest::operator=(const GetPrincipalsInRoleRequest& other116) { + roleName = other116.roleName; return *this; } void GetPrincipalsInRoleRequest::printTo(std::ostream& out) const { @@ -2323,14 +2529,14 @@ uint32_t GetPrincipalsInRoleResponse::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->principalGrants.clear(); - uint32_t _size103; - ::apache::thrift::protocol::TType _etype106; - xfer += iprot->readListBegin(_etype106, _size103); - this->principalGrants.resize(_size103); - uint32_t _i107; - for (_i107 = 0; _i107 < _size103; ++_i107) + uint32_t _size117; + ::apache::thrift::protocol::TType _etype120; + xfer += iprot->readListBegin(_etype120, _size117); + this->principalGrants.resize(_size117); + uint32_t _i121; + for (_i121 = 0; _i121 < _size117; ++_i121) { - xfer += this->principalGrants[_i107].read(iprot); + xfer += this->principalGrants[_i121].read(iprot); } xfer += iprot->readListEnd(); } @@ -2361,10 +2567,10 @@ uint32_t GetPrincipalsInRoleResponse::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("principalGrants", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->principalGrants.size())); - std::vector ::const_iterator _iter108; - for (_iter108 = this->principalGrants.begin(); _iter108 != this->principalGrants.end(); ++_iter108) + std::vector ::const_iterator _iter122; + for (_iter122 = this->principalGrants.begin(); _iter122 != this->principalGrants.end(); ++_iter122) { - xfer += (*_iter108).write(oprot); + xfer += (*_iter122).write(oprot); } xfer += oprot->writeListEnd(); } @@ -2380,11 +2586,11 @@ void swap(GetPrincipalsInRoleResponse &a, GetPrincipalsInRoleResponse &b) { swap(a.principalGrants, b.principalGrants); } -GetPrincipalsInRoleResponse::GetPrincipalsInRoleResponse(const GetPrincipalsInRoleResponse& other109) { - principalGrants = other109.principalGrants; +GetPrincipalsInRoleResponse::GetPrincipalsInRoleResponse(const GetPrincipalsInRoleResponse& other123) { + principalGrants = other123.principalGrants; } -GetPrincipalsInRoleResponse& GetPrincipalsInRoleResponse::operator=(const GetPrincipalsInRoleResponse& other110) { - principalGrants = other110.principalGrants; +GetPrincipalsInRoleResponse& GetPrincipalsInRoleResponse::operator=(const GetPrincipalsInRoleResponse& other124) { + principalGrants = other124.principalGrants; return *this; } void GetPrincipalsInRoleResponse::printTo(std::ostream& out) const { @@ -2453,9 +2659,9 @@ uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* ipr { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast111; - xfer += iprot->readI32(ecast111); - this->requestType = (GrantRevokeType::type)ecast111; + int32_t ecast125; + xfer += iprot->readI32(ecast125); + this->requestType = (GrantRevokeType::type)ecast125; this->__isset.requestType = true; } else { xfer += iprot->skip(ftype); @@ -2479,9 +2685,9 @@ uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast112; - xfer += iprot->readI32(ecast112); - this->principalType = (PrincipalType::type)ecast112; + int32_t ecast126; + xfer += iprot->readI32(ecast126); + this->principalType = (PrincipalType::type)ecast126; this->__isset.principalType = true; } else { xfer += iprot->skip(ftype); @@ -2497,9 +2703,9 @@ uint32_t GrantRevokeRoleRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast113; - xfer += iprot->readI32(ecast113); - this->grantorType = (PrincipalType::type)ecast113; + int32_t ecast127; + xfer += iprot->readI32(ecast127); + this->grantorType = (PrincipalType::type)ecast127; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -2578,25 +2784,25 @@ void swap(GrantRevokeRoleRequest &a, GrantRevokeRoleRequest &b) { swap(a.__isset, b.__isset); } -GrantRevokeRoleRequest::GrantRevokeRoleRequest(const GrantRevokeRoleRequest& other114) { - requestType = other114.requestType; - roleName = other114.roleName; - principalName = other114.principalName; - principalType = other114.principalType; - grantor = other114.grantor; - grantorType = other114.grantorType; - grantOption = other114.grantOption; - __isset = other114.__isset; +GrantRevokeRoleRequest::GrantRevokeRoleRequest(const GrantRevokeRoleRequest& other128) { + requestType = other128.requestType; + roleName = other128.roleName; + principalName = other128.principalName; + principalType = other128.principalType; + grantor = other128.grantor; + grantorType = other128.grantorType; + grantOption = other128.grantOption; + __isset = other128.__isset; } -GrantRevokeRoleRequest& GrantRevokeRoleRequest::operator=(const GrantRevokeRoleRequest& other115) { - requestType = other115.requestType; - roleName = other115.roleName; - principalName = other115.principalName; - principalType = other115.principalType; - grantor = other115.grantor; - grantorType = other115.grantorType; - grantOption = other115.grantOption; - __isset = other115.__isset; +GrantRevokeRoleRequest& GrantRevokeRoleRequest::operator=(const GrantRevokeRoleRequest& other129) { + requestType = other129.requestType; + roleName = other129.roleName; + principalName = other129.principalName; + principalType = other129.principalType; + grantor = other129.grantor; + grantorType = other129.grantorType; + grantOption = other129.grantOption; + __isset = other129.__isset; return *this; } void GrantRevokeRoleRequest::printTo(std::ostream& out) const { @@ -2684,13 +2890,13 @@ void swap(GrantRevokeRoleResponse &a, GrantRevokeRoleResponse &b) { swap(a.__isset, b.__isset); } -GrantRevokeRoleResponse::GrantRevokeRoleResponse(const GrantRevokeRoleResponse& other116) { - success = other116.success; - __isset = other116.__isset; +GrantRevokeRoleResponse::GrantRevokeRoleResponse(const GrantRevokeRoleResponse& other130) { + success = other130.success; + __isset = other130.__isset; } -GrantRevokeRoleResponse& GrantRevokeRoleResponse::operator=(const GrantRevokeRoleResponse& other117) { - success = other117.success; - __isset = other117.__isset; +GrantRevokeRoleResponse& GrantRevokeRoleResponse::operator=(const GrantRevokeRoleResponse& other131) { + success = other131.success; + __isset = other131.__isset; return *this; } void GrantRevokeRoleResponse::printTo(std::ostream& out) const { @@ -2785,17 +2991,17 @@ uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size118; - ::apache::thrift::protocol::TType _ktype119; - ::apache::thrift::protocol::TType _vtype120; - xfer += iprot->readMapBegin(_ktype119, _vtype120, _size118); - uint32_t _i122; - for (_i122 = 0; _i122 < _size118; ++_i122) + uint32_t _size132; + ::apache::thrift::protocol::TType _ktype133; + ::apache::thrift::protocol::TType _vtype134; + xfer += iprot->readMapBegin(_ktype133, _vtype134, _size132); + uint32_t _i136; + for (_i136 = 0; _i136 < _size132; ++_i136) { - std::string _key123; - xfer += iprot->readString(_key123); - std::string& _val124 = this->parameters[_key123]; - xfer += iprot->readString(_val124); + std::string _key137; + xfer += iprot->readString(_key137); + std::string& _val138 = this->parameters[_key137]; + xfer += iprot->readString(_val138); } xfer += iprot->readMapEnd(); } @@ -2822,9 +3028,9 @@ uint32_t Database::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast125; - xfer += iprot->readI32(ecast125); - this->ownerType = (PrincipalType::type)ecast125; + int32_t ecast139; + xfer += iprot->readI32(ecast139); + this->ownerType = (PrincipalType::type)ecast139; this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -2862,11 +3068,11 @@ uint32_t Database::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 4); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter126; - for (_iter126 = this->parameters.begin(); _iter126 != this->parameters.end(); ++_iter126) + std::map ::const_iterator _iter140; + for (_iter140 = this->parameters.begin(); _iter140 != this->parameters.end(); ++_iter140) { - xfer += oprot->writeString(_iter126->first); - xfer += oprot->writeString(_iter126->second); + xfer += oprot->writeString(_iter140->first); + xfer += oprot->writeString(_iter140->second); } xfer += oprot->writeMapEnd(); } @@ -2904,25 +3110,25 @@ void swap(Database &a, Database &b) { swap(a.__isset, b.__isset); } -Database::Database(const Database& other127) { - name = other127.name; - description = other127.description; - locationUri = other127.locationUri; - parameters = other127.parameters; - privileges = other127.privileges; - ownerName = other127.ownerName; - ownerType = other127.ownerType; - __isset = other127.__isset; -} -Database& Database::operator=(const Database& other128) { - name = other128.name; - description = other128.description; - locationUri = other128.locationUri; - parameters = other128.parameters; - privileges = other128.privileges; - ownerName = other128.ownerName; - ownerType = other128.ownerType; - __isset = other128.__isset; +Database::Database(const Database& other141) { + name = other141.name; + description = other141.description; + locationUri = other141.locationUri; + parameters = other141.parameters; + privileges = other141.privileges; + ownerName = other141.ownerName; + ownerType = other141.ownerType; + __isset = other141.__isset; +} +Database& Database::operator=(const Database& other142) { + name = other142.name; + description = other142.description; + locationUri = other142.locationUri; + parameters = other142.parameters; + privileges = other142.privileges; + ownerName = other142.ownerName; + ownerType = other142.ownerType; + __isset = other142.__isset; return *this; } void Database::printTo(std::ostream& out) const { @@ -2996,17 +3202,17 @@ uint32_t SerDeInfo::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size129; - ::apache::thrift::protocol::TType _ktype130; - ::apache::thrift::protocol::TType _vtype131; - xfer += iprot->readMapBegin(_ktype130, _vtype131, _size129); - uint32_t _i133; - for (_i133 = 0; _i133 < _size129; ++_i133) + uint32_t _size143; + ::apache::thrift::protocol::TType _ktype144; + ::apache::thrift::protocol::TType _vtype145; + xfer += iprot->readMapBegin(_ktype144, _vtype145, _size143); + uint32_t _i147; + for (_i147 = 0; _i147 < _size143; ++_i147) { - std::string _key134; - xfer += iprot->readString(_key134); - std::string& _val135 = this->parameters[_key134]; - xfer += iprot->readString(_val135); + std::string _key148; + xfer += iprot->readString(_key148); + std::string& _val149 = this->parameters[_key148]; + xfer += iprot->readString(_val149); } xfer += iprot->readMapEnd(); } @@ -3043,11 +3249,11 @@ uint32_t SerDeInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter136; - for (_iter136 = this->parameters.begin(); _iter136 != this->parameters.end(); ++_iter136) + std::map ::const_iterator _iter150; + for (_iter150 = this->parameters.begin(); _iter150 != this->parameters.end(); ++_iter150) { - xfer += oprot->writeString(_iter136->first); - xfer += oprot->writeString(_iter136->second); + xfer += oprot->writeString(_iter150->first); + xfer += oprot->writeString(_iter150->second); } xfer += oprot->writeMapEnd(); } @@ -3066,17 +3272,17 @@ void swap(SerDeInfo &a, SerDeInfo &b) { swap(a.__isset, b.__isset); } -SerDeInfo::SerDeInfo(const SerDeInfo& other137) { - name = other137.name; - serializationLib = other137.serializationLib; - parameters = other137.parameters; - __isset = other137.__isset; +SerDeInfo::SerDeInfo(const SerDeInfo& other151) { + name = other151.name; + serializationLib = other151.serializationLib; + parameters = other151.parameters; + __isset = other151.__isset; } -SerDeInfo& SerDeInfo::operator=(const SerDeInfo& other138) { - name = other138.name; - serializationLib = other138.serializationLib; - parameters = other138.parameters; - __isset = other138.__isset; +SerDeInfo& SerDeInfo::operator=(const SerDeInfo& other152) { + name = other152.name; + serializationLib = other152.serializationLib; + parameters = other152.parameters; + __isset = other152.__isset; return *this; } void SerDeInfo::printTo(std::ostream& out) const { @@ -3175,15 +3381,15 @@ void swap(Order &a, Order &b) { swap(a.__isset, b.__isset); } -Order::Order(const Order& other139) { - col = other139.col; - order = other139.order; - __isset = other139.__isset; +Order::Order(const Order& other153) { + col = other153.col; + order = other153.order; + __isset = other153.__isset; } -Order& Order::operator=(const Order& other140) { - col = other140.col; - order = other140.order; - __isset = other140.__isset; +Order& Order::operator=(const Order& other154) { + col = other154.col; + order = other154.order; + __isset = other154.__isset; return *this; } void Order::printTo(std::ostream& out) const { @@ -3236,14 +3442,14 @@ uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->skewedColNames.clear(); - uint32_t _size141; - ::apache::thrift::protocol::TType _etype144; - xfer += iprot->readListBegin(_etype144, _size141); - this->skewedColNames.resize(_size141); - uint32_t _i145; - for (_i145 = 0; _i145 < _size141; ++_i145) + uint32_t _size155; + ::apache::thrift::protocol::TType _etype158; + xfer += iprot->readListBegin(_etype158, _size155); + this->skewedColNames.resize(_size155); + uint32_t _i159; + for (_i159 = 0; _i159 < _size155; ++_i159) { - xfer += iprot->readString(this->skewedColNames[_i145]); + xfer += iprot->readString(this->skewedColNames[_i159]); } xfer += iprot->readListEnd(); } @@ -3256,23 +3462,23 @@ uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->skewedColValues.clear(); - uint32_t _size146; - ::apache::thrift::protocol::TType _etype149; - xfer += iprot->readListBegin(_etype149, _size146); - this->skewedColValues.resize(_size146); - uint32_t _i150; - for (_i150 = 0; _i150 < _size146; ++_i150) + uint32_t _size160; + ::apache::thrift::protocol::TType _etype163; + xfer += iprot->readListBegin(_etype163, _size160); + this->skewedColValues.resize(_size160); + uint32_t _i164; + for (_i164 = 0; _i164 < _size160; ++_i164) { { - this->skewedColValues[_i150].clear(); - uint32_t _size151; - ::apache::thrift::protocol::TType _etype154; - xfer += iprot->readListBegin(_etype154, _size151); - this->skewedColValues[_i150].resize(_size151); - uint32_t _i155; - for (_i155 = 0; _i155 < _size151; ++_i155) + this->skewedColValues[_i164].clear(); + uint32_t _size165; + ::apache::thrift::protocol::TType _etype168; + xfer += iprot->readListBegin(_etype168, _size165); + this->skewedColValues[_i164].resize(_size165); + uint32_t _i169; + for (_i169 = 0; _i169 < _size165; ++_i169) { - xfer += iprot->readString(this->skewedColValues[_i150][_i155]); + xfer += iprot->readString(this->skewedColValues[_i164][_i169]); } xfer += iprot->readListEnd(); } @@ -3288,29 +3494,29 @@ uint32_t SkewedInfo::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->skewedColValueLocationMaps.clear(); - uint32_t _size156; - ::apache::thrift::protocol::TType _ktype157; - ::apache::thrift::protocol::TType _vtype158; - xfer += iprot->readMapBegin(_ktype157, _vtype158, _size156); - uint32_t _i160; - for (_i160 = 0; _i160 < _size156; ++_i160) + uint32_t _size170; + ::apache::thrift::protocol::TType _ktype171; + ::apache::thrift::protocol::TType _vtype172; + xfer += iprot->readMapBegin(_ktype171, _vtype172, _size170); + uint32_t _i174; + for (_i174 = 0; _i174 < _size170; ++_i174) { - std::vector _key161; + std::vector _key175; { - _key161.clear(); - uint32_t _size163; - ::apache::thrift::protocol::TType _etype166; - xfer += iprot->readListBegin(_etype166, _size163); - _key161.resize(_size163); - uint32_t _i167; - for (_i167 = 0; _i167 < _size163; ++_i167) + _key175.clear(); + uint32_t _size177; + ::apache::thrift::protocol::TType _etype180; + xfer += iprot->readListBegin(_etype180, _size177); + _key175.resize(_size177); + uint32_t _i181; + for (_i181 = 0; _i181 < _size177; ++_i181) { - xfer += iprot->readString(_key161[_i167]); + xfer += iprot->readString(_key175[_i181]); } xfer += iprot->readListEnd(); } - std::string& _val162 = this->skewedColValueLocationMaps[_key161]; - xfer += iprot->readString(_val162); + std::string& _val176 = this->skewedColValueLocationMaps[_key175]; + xfer += iprot->readString(_val176); } xfer += iprot->readMapEnd(); } @@ -3339,10 +3545,10 @@ uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("skewedColNames", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->skewedColNames.size())); - std::vector ::const_iterator _iter168; - for (_iter168 = this->skewedColNames.begin(); _iter168 != this->skewedColNames.end(); ++_iter168) + std::vector ::const_iterator _iter182; + for (_iter182 = this->skewedColNames.begin(); _iter182 != this->skewedColNames.end(); ++_iter182) { - xfer += oprot->writeString((*_iter168)); + xfer += oprot->writeString((*_iter182)); } xfer += oprot->writeListEnd(); } @@ -3351,15 +3557,15 @@ uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("skewedColValues", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_LIST, static_cast(this->skewedColValues.size())); - std::vector > ::const_iterator _iter169; - for (_iter169 = this->skewedColValues.begin(); _iter169 != this->skewedColValues.end(); ++_iter169) + std::vector > ::const_iterator _iter183; + for (_iter183 = this->skewedColValues.begin(); _iter183 != this->skewedColValues.end(); ++_iter183) { { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*_iter169).size())); - std::vector ::const_iterator _iter170; - for (_iter170 = (*_iter169).begin(); _iter170 != (*_iter169).end(); ++_iter170) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*_iter183).size())); + std::vector ::const_iterator _iter184; + for (_iter184 = (*_iter183).begin(); _iter184 != (*_iter183).end(); ++_iter184) { - xfer += oprot->writeString((*_iter170)); + xfer += oprot->writeString((*_iter184)); } xfer += oprot->writeListEnd(); } @@ -3371,19 +3577,19 @@ uint32_t SkewedInfo::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("skewedColValueLocationMaps", ::apache::thrift::protocol::T_MAP, 3); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_LIST, ::apache::thrift::protocol::T_STRING, static_cast(this->skewedColValueLocationMaps.size())); - std::map , std::string> ::const_iterator _iter171; - for (_iter171 = this->skewedColValueLocationMaps.begin(); _iter171 != this->skewedColValueLocationMaps.end(); ++_iter171) + std::map , std::string> ::const_iterator _iter185; + for (_iter185 = this->skewedColValueLocationMaps.begin(); _iter185 != this->skewedColValueLocationMaps.end(); ++_iter185) { { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(_iter171->first.size())); - std::vector ::const_iterator _iter172; - for (_iter172 = _iter171->first.begin(); _iter172 != _iter171->first.end(); ++_iter172) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(_iter185->first.size())); + std::vector ::const_iterator _iter186; + for (_iter186 = _iter185->first.begin(); _iter186 != _iter185->first.end(); ++_iter186) { - xfer += oprot->writeString((*_iter172)); + xfer += oprot->writeString((*_iter186)); } xfer += oprot->writeListEnd(); } - xfer += oprot->writeString(_iter171->second); + xfer += oprot->writeString(_iter185->second); } xfer += oprot->writeMapEnd(); } @@ -3402,17 +3608,17 @@ void swap(SkewedInfo &a, SkewedInfo &b) { swap(a.__isset, b.__isset); } -SkewedInfo::SkewedInfo(const SkewedInfo& other173) { - skewedColNames = other173.skewedColNames; - skewedColValues = other173.skewedColValues; - skewedColValueLocationMaps = other173.skewedColValueLocationMaps; - __isset = other173.__isset; +SkewedInfo::SkewedInfo(const SkewedInfo& other187) { + skewedColNames = other187.skewedColNames; + skewedColValues = other187.skewedColValues; + skewedColValueLocationMaps = other187.skewedColValueLocationMaps; + __isset = other187.__isset; } -SkewedInfo& SkewedInfo::operator=(const SkewedInfo& other174) { - skewedColNames = other174.skewedColNames; - skewedColValues = other174.skewedColValues; - skewedColValueLocationMaps = other174.skewedColValueLocationMaps; - __isset = other174.__isset; +SkewedInfo& SkewedInfo::operator=(const SkewedInfo& other188) { + skewedColNames = other188.skewedColNames; + skewedColValues = other188.skewedColValues; + skewedColValueLocationMaps = other188.skewedColValueLocationMaps; + __isset = other188.__isset; return *this; } void SkewedInfo::printTo(std::ostream& out) const { @@ -3504,14 +3710,14 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size175; - ::apache::thrift::protocol::TType _etype178; - xfer += iprot->readListBegin(_etype178, _size175); - this->cols.resize(_size175); - uint32_t _i179; - for (_i179 = 0; _i179 < _size175; ++_i179) + uint32_t _size189; + ::apache::thrift::protocol::TType _etype192; + xfer += iprot->readListBegin(_etype192, _size189); + this->cols.resize(_size189); + uint32_t _i193; + for (_i193 = 0; _i193 < _size189; ++_i193) { - xfer += this->cols[_i179].read(iprot); + xfer += this->cols[_i193].read(iprot); } xfer += iprot->readListEnd(); } @@ -3572,14 +3778,14 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->bucketCols.clear(); - uint32_t _size180; - ::apache::thrift::protocol::TType _etype183; - xfer += iprot->readListBegin(_etype183, _size180); - this->bucketCols.resize(_size180); - uint32_t _i184; - for (_i184 = 0; _i184 < _size180; ++_i184) + uint32_t _size194; + ::apache::thrift::protocol::TType _etype197; + xfer += iprot->readListBegin(_etype197, _size194); + this->bucketCols.resize(_size194); + uint32_t _i198; + for (_i198 = 0; _i198 < _size194; ++_i198) { - xfer += iprot->readString(this->bucketCols[_i184]); + xfer += iprot->readString(this->bucketCols[_i198]); } xfer += iprot->readListEnd(); } @@ -3592,14 +3798,14 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->sortCols.clear(); - uint32_t _size185; - ::apache::thrift::protocol::TType _etype188; - xfer += iprot->readListBegin(_etype188, _size185); - this->sortCols.resize(_size185); - uint32_t _i189; - for (_i189 = 0; _i189 < _size185; ++_i189) + uint32_t _size199; + ::apache::thrift::protocol::TType _etype202; + xfer += iprot->readListBegin(_etype202, _size199); + this->sortCols.resize(_size199); + uint32_t _i203; + for (_i203 = 0; _i203 < _size199; ++_i203) { - xfer += this->sortCols[_i189].read(iprot); + xfer += this->sortCols[_i203].read(iprot); } xfer += iprot->readListEnd(); } @@ -3612,17 +3818,17 @@ uint32_t StorageDescriptor::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size190; - ::apache::thrift::protocol::TType _ktype191; - ::apache::thrift::protocol::TType _vtype192; - xfer += iprot->readMapBegin(_ktype191, _vtype192, _size190); - uint32_t _i194; - for (_i194 = 0; _i194 < _size190; ++_i194) + uint32_t _size204; + ::apache::thrift::protocol::TType _ktype205; + ::apache::thrift::protocol::TType _vtype206; + xfer += iprot->readMapBegin(_ktype205, _vtype206, _size204); + uint32_t _i208; + for (_i208 = 0; _i208 < _size204; ++_i208) { - std::string _key195; - xfer += iprot->readString(_key195); - std::string& _val196 = this->parameters[_key195]; - xfer += iprot->readString(_val196); + std::string _key209; + xfer += iprot->readString(_key209); + std::string& _val210 = this->parameters[_key209]; + xfer += iprot->readString(_val210); } xfer += iprot->readMapEnd(); } @@ -3667,10 +3873,10 @@ uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->cols.size())); - std::vector ::const_iterator _iter197; - for (_iter197 = this->cols.begin(); _iter197 != this->cols.end(); ++_iter197) + std::vector ::const_iterator _iter211; + for (_iter211 = this->cols.begin(); _iter211 != this->cols.end(); ++_iter211) { - xfer += (*_iter197).write(oprot); + xfer += (*_iter211).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3703,10 +3909,10 @@ uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("bucketCols", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->bucketCols.size())); - std::vector ::const_iterator _iter198; - for (_iter198 = this->bucketCols.begin(); _iter198 != this->bucketCols.end(); ++_iter198) + std::vector ::const_iterator _iter212; + for (_iter212 = this->bucketCols.begin(); _iter212 != this->bucketCols.end(); ++_iter212) { - xfer += oprot->writeString((*_iter198)); + xfer += oprot->writeString((*_iter212)); } xfer += oprot->writeListEnd(); } @@ -3715,10 +3921,10 @@ uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("sortCols", ::apache::thrift::protocol::T_LIST, 9); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->sortCols.size())); - std::vector ::const_iterator _iter199; - for (_iter199 = this->sortCols.begin(); _iter199 != this->sortCols.end(); ++_iter199) + std::vector ::const_iterator _iter213; + for (_iter213 = this->sortCols.begin(); _iter213 != this->sortCols.end(); ++_iter213) { - xfer += (*_iter199).write(oprot); + xfer += (*_iter213).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3727,11 +3933,11 @@ uint32_t StorageDescriptor::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 10); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter200; - for (_iter200 = this->parameters.begin(); _iter200 != this->parameters.end(); ++_iter200) + std::map ::const_iterator _iter214; + for (_iter214 = this->parameters.begin(); _iter214 != this->parameters.end(); ++_iter214) { - xfer += oprot->writeString(_iter200->first); - xfer += oprot->writeString(_iter200->second); + xfer += oprot->writeString(_iter214->first); + xfer += oprot->writeString(_iter214->second); } xfer += oprot->writeMapEnd(); } @@ -3769,35 +3975,35 @@ void swap(StorageDescriptor &a, StorageDescriptor &b) { swap(a.__isset, b.__isset); } -StorageDescriptor::StorageDescriptor(const StorageDescriptor& other201) { - cols = other201.cols; - location = other201.location; - inputFormat = other201.inputFormat; - outputFormat = other201.outputFormat; - compressed = other201.compressed; - numBuckets = other201.numBuckets; - serdeInfo = other201.serdeInfo; - bucketCols = other201.bucketCols; - sortCols = other201.sortCols; - parameters = other201.parameters; - skewedInfo = other201.skewedInfo; - storedAsSubDirectories = other201.storedAsSubDirectories; - __isset = other201.__isset; -} -StorageDescriptor& StorageDescriptor::operator=(const StorageDescriptor& other202) { - cols = other202.cols; - location = other202.location; - inputFormat = other202.inputFormat; - outputFormat = other202.outputFormat; - compressed = other202.compressed; - numBuckets = other202.numBuckets; - serdeInfo = other202.serdeInfo; - bucketCols = other202.bucketCols; - sortCols = other202.sortCols; - parameters = other202.parameters; - skewedInfo = other202.skewedInfo; - storedAsSubDirectories = other202.storedAsSubDirectories; - __isset = other202.__isset; +StorageDescriptor::StorageDescriptor(const StorageDescriptor& other215) { + cols = other215.cols; + location = other215.location; + inputFormat = other215.inputFormat; + outputFormat = other215.outputFormat; + compressed = other215.compressed; + numBuckets = other215.numBuckets; + serdeInfo = other215.serdeInfo; + bucketCols = other215.bucketCols; + sortCols = other215.sortCols; + parameters = other215.parameters; + skewedInfo = other215.skewedInfo; + storedAsSubDirectories = other215.storedAsSubDirectories; + __isset = other215.__isset; +} +StorageDescriptor& StorageDescriptor::operator=(const StorageDescriptor& other216) { + cols = other216.cols; + location = other216.location; + inputFormat = other216.inputFormat; + outputFormat = other216.outputFormat; + compressed = other216.compressed; + numBuckets = other216.numBuckets; + serdeInfo = other216.serdeInfo; + bucketCols = other216.bucketCols; + sortCols = other216.sortCols; + parameters = other216.parameters; + skewedInfo = other216.skewedInfo; + storedAsSubDirectories = other216.storedAsSubDirectories; + __isset = other216.__isset; return *this; } void StorageDescriptor::printTo(std::ostream& out) const { @@ -3881,6 +4087,14 @@ void Table::__set_temporary(const bool val) { __isset.temporary = true; } +void Table::__set_primaryKeys(const std::vector & val) { + this->primaryKeys = val; +} + +void Table::__set_foreignKeys(const std::vector & val) { + this->foreignKeys = val; +} + uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -3962,14 +4176,14 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionKeys.clear(); - uint32_t _size203; - ::apache::thrift::protocol::TType _etype206; - xfer += iprot->readListBegin(_etype206, _size203); - this->partitionKeys.resize(_size203); - uint32_t _i207; - for (_i207 = 0; _i207 < _size203; ++_i207) + uint32_t _size217; + ::apache::thrift::protocol::TType _etype220; + xfer += iprot->readListBegin(_etype220, _size217); + this->partitionKeys.resize(_size217); + uint32_t _i221; + for (_i221 = 0; _i221 < _size217; ++_i221) { - xfer += this->partitionKeys[_i207].read(iprot); + xfer += this->partitionKeys[_i221].read(iprot); } xfer += iprot->readListEnd(); } @@ -3982,17 +4196,17 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size208; - ::apache::thrift::protocol::TType _ktype209; - ::apache::thrift::protocol::TType _vtype210; - xfer += iprot->readMapBegin(_ktype209, _vtype210, _size208); - uint32_t _i212; - for (_i212 = 0; _i212 < _size208; ++_i212) + uint32_t _size222; + ::apache::thrift::protocol::TType _ktype223; + ::apache::thrift::protocol::TType _vtype224; + xfer += iprot->readMapBegin(_ktype223, _vtype224, _size222); + uint32_t _i226; + for (_i226 = 0; _i226 < _size222; ++_i226) { - std::string _key213; - xfer += iprot->readString(_key213); - std::string& _val214 = this->parameters[_key213]; - xfer += iprot->readString(_val214); + std::string _key227; + xfer += iprot->readString(_key227); + std::string& _val228 = this->parameters[_key227]; + xfer += iprot->readString(_val228); } xfer += iprot->readMapEnd(); } @@ -4041,6 +4255,46 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 15: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->primaryKeys.clear(); + uint32_t _size229; + ::apache::thrift::protocol::TType _etype232; + xfer += iprot->readListBegin(_etype232, _size229); + this->primaryKeys.resize(_size229); + uint32_t _i233; + for (_i233 = 0; _i233 < _size229; ++_i233) + { + xfer += this->primaryKeys[_i233].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.primaryKeys = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 16: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->foreignKeys.clear(); + uint32_t _size234; + ::apache::thrift::protocol::TType _etype237; + xfer += iprot->readListBegin(_etype237, _size234); + this->foreignKeys.resize(_size234); + uint32_t _i238; + for (_i238 = 0; _i238 < _size234; ++_i238) + { + xfer += this->foreignKeys[_i238].read(iprot); + } + xfer += iprot->readListEnd(); + } + this->__isset.foreignKeys = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -4089,10 +4343,10 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("partitionKeys", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionKeys.size())); - std::vector ::const_iterator _iter215; - for (_iter215 = this->partitionKeys.begin(); _iter215 != this->partitionKeys.end(); ++_iter215) + std::vector ::const_iterator _iter239; + for (_iter239 = this->partitionKeys.begin(); _iter239 != this->partitionKeys.end(); ++_iter239) { - xfer += (*_iter215).write(oprot); + xfer += (*_iter239).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4101,11 +4355,11 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 9); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter216; - for (_iter216 = this->parameters.begin(); _iter216 != this->parameters.end(); ++_iter216) + std::map ::const_iterator _iter240; + for (_iter240 = this->parameters.begin(); _iter240 != this->parameters.end(); ++_iter240) { - xfer += oprot->writeString(_iter216->first); - xfer += oprot->writeString(_iter216->second); + xfer += oprot->writeString(_iter240->first); + xfer += oprot->writeString(_iter240->second); } xfer += oprot->writeMapEnd(); } @@ -4133,6 +4387,30 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeBool(this->temporary); xfer += oprot->writeFieldEnd(); } + xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 15); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeys.size())); + std::vector ::const_iterator _iter241; + for (_iter241 = this->primaryKeys.begin(); _iter241 != this->primaryKeys.end(); ++_iter241) + { + xfer += (*_iter241).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 16); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeys.size())); + std::vector ::const_iterator _iter242; + for (_iter242 = this->foreignKeys.begin(); _iter242 != this->foreignKeys.end(); ++_iter242) + { + xfer += (*_iter242).write(oprot); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -4154,42 +4432,48 @@ void swap(Table &a, Table &b) { swap(a.tableType, b.tableType); swap(a.privileges, b.privileges); swap(a.temporary, b.temporary); + swap(a.primaryKeys, b.primaryKeys); + swap(a.foreignKeys, b.foreignKeys); swap(a.__isset, b.__isset); } -Table::Table(const Table& other217) { - tableName = other217.tableName; - dbName = other217.dbName; - owner = other217.owner; - createTime = other217.createTime; - lastAccessTime = other217.lastAccessTime; - retention = other217.retention; - sd = other217.sd; - partitionKeys = other217.partitionKeys; - parameters = other217.parameters; - viewOriginalText = other217.viewOriginalText; - viewExpandedText = other217.viewExpandedText; - tableType = other217.tableType; - privileges = other217.privileges; - temporary = other217.temporary; - __isset = other217.__isset; -} -Table& Table::operator=(const Table& other218) { - tableName = other218.tableName; - dbName = other218.dbName; - owner = other218.owner; - createTime = other218.createTime; - lastAccessTime = other218.lastAccessTime; - retention = other218.retention; - sd = other218.sd; - partitionKeys = other218.partitionKeys; - parameters = other218.parameters; - viewOriginalText = other218.viewOriginalText; - viewExpandedText = other218.viewExpandedText; - tableType = other218.tableType; - privileges = other218.privileges; - temporary = other218.temporary; - __isset = other218.__isset; +Table::Table(const Table& other243) { + tableName = other243.tableName; + dbName = other243.dbName; + owner = other243.owner; + createTime = other243.createTime; + lastAccessTime = other243.lastAccessTime; + retention = other243.retention; + sd = other243.sd; + partitionKeys = other243.partitionKeys; + parameters = other243.parameters; + viewOriginalText = other243.viewOriginalText; + viewExpandedText = other243.viewExpandedText; + tableType = other243.tableType; + privileges = other243.privileges; + temporary = other243.temporary; + primaryKeys = other243.primaryKeys; + foreignKeys = other243.foreignKeys; + __isset = other243.__isset; +} +Table& Table::operator=(const Table& other244) { + tableName = other244.tableName; + dbName = other244.dbName; + owner = other244.owner; + createTime = other244.createTime; + lastAccessTime = other244.lastAccessTime; + retention = other244.retention; + sd = other244.sd; + partitionKeys = other244.partitionKeys; + parameters = other244.parameters; + viewOriginalText = other244.viewOriginalText; + viewExpandedText = other244.viewExpandedText; + tableType = other244.tableType; + privileges = other244.privileges; + temporary = other244.temporary; + primaryKeys = other244.primaryKeys; + foreignKeys = other244.foreignKeys; + __isset = other244.__isset; return *this; } void Table::printTo(std::ostream& out) const { @@ -4209,6 +4493,8 @@ void Table::printTo(std::ostream& out) const { out << ", " << "tableType=" << to_string(tableType); out << ", " << "privileges="; (__isset.privileges ? (out << to_string(privileges)) : (out << "")); out << ", " << "temporary="; (__isset.temporary ? (out << to_string(temporary)) : (out << "")); + out << ", " << "primaryKeys=" << to_string(primaryKeys); + out << ", " << "foreignKeys=" << to_string(foreignKeys); out << ")"; } @@ -4275,14 +4561,14 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size219; - ::apache::thrift::protocol::TType _etype222; - xfer += iprot->readListBegin(_etype222, _size219); - this->values.resize(_size219); - uint32_t _i223; - for (_i223 = 0; _i223 < _size219; ++_i223) + uint32_t _size245; + ::apache::thrift::protocol::TType _etype248; + xfer += iprot->readListBegin(_etype248, _size245); + this->values.resize(_size245); + uint32_t _i249; + for (_i249 = 0; _i249 < _size245; ++_i249) { - xfer += iprot->readString(this->values[_i223]); + xfer += iprot->readString(this->values[_i249]); } xfer += iprot->readListEnd(); } @@ -4335,17 +4621,17 @@ uint32_t Partition::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size224; - ::apache::thrift::protocol::TType _ktype225; - ::apache::thrift::protocol::TType _vtype226; - xfer += iprot->readMapBegin(_ktype225, _vtype226, _size224); - uint32_t _i228; - for (_i228 = 0; _i228 < _size224; ++_i228) + uint32_t _size250; + ::apache::thrift::protocol::TType _ktype251; + ::apache::thrift::protocol::TType _vtype252; + xfer += iprot->readMapBegin(_ktype251, _vtype252, _size250); + uint32_t _i254; + for (_i254 = 0; _i254 < _size250; ++_i254) { - std::string _key229; - xfer += iprot->readString(_key229); - std::string& _val230 = this->parameters[_key229]; - xfer += iprot->readString(_val230); + std::string _key255; + xfer += iprot->readString(_key255); + std::string& _val256 = this->parameters[_key255]; + xfer += iprot->readString(_val256); } xfer += iprot->readMapEnd(); } @@ -4382,10 +4668,10 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->values.size())); - std::vector ::const_iterator _iter231; - for (_iter231 = this->values.begin(); _iter231 != this->values.end(); ++_iter231) + std::vector ::const_iterator _iter257; + for (_iter257 = this->values.begin(); _iter257 != this->values.end(); ++_iter257) { - xfer += oprot->writeString((*_iter231)); + xfer += oprot->writeString((*_iter257)); } xfer += oprot->writeListEnd(); } @@ -4414,11 +4700,11 @@ uint32_t Partition::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 7); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter232; - for (_iter232 = this->parameters.begin(); _iter232 != this->parameters.end(); ++_iter232) + std::map ::const_iterator _iter258; + for (_iter258 = this->parameters.begin(); _iter258 != this->parameters.end(); ++_iter258) { - xfer += oprot->writeString(_iter232->first); - xfer += oprot->writeString(_iter232->second); + xfer += oprot->writeString(_iter258->first); + xfer += oprot->writeString(_iter258->second); } xfer += oprot->writeMapEnd(); } @@ -4447,27 +4733,27 @@ void swap(Partition &a, Partition &b) { swap(a.__isset, b.__isset); } -Partition::Partition(const Partition& other233) { - values = other233.values; - dbName = other233.dbName; - tableName = other233.tableName; - createTime = other233.createTime; - lastAccessTime = other233.lastAccessTime; - sd = other233.sd; - parameters = other233.parameters; - privileges = other233.privileges; - __isset = other233.__isset; -} -Partition& Partition::operator=(const Partition& other234) { - values = other234.values; - dbName = other234.dbName; - tableName = other234.tableName; - createTime = other234.createTime; - lastAccessTime = other234.lastAccessTime; - sd = other234.sd; - parameters = other234.parameters; - privileges = other234.privileges; - __isset = other234.__isset; +Partition::Partition(const Partition& other259) { + values = other259.values; + dbName = other259.dbName; + tableName = other259.tableName; + createTime = other259.createTime; + lastAccessTime = other259.lastAccessTime; + sd = other259.sd; + parameters = other259.parameters; + privileges = other259.privileges; + __isset = other259.__isset; +} +Partition& Partition::operator=(const Partition& other260) { + values = other260.values; + dbName = other260.dbName; + tableName = other260.tableName; + createTime = other260.createTime; + lastAccessTime = other260.lastAccessTime; + sd = other260.sd; + parameters = other260.parameters; + privileges = other260.privileges; + __isset = other260.__isset; return *this; } void Partition::printTo(std::ostream& out) const { @@ -4539,14 +4825,14 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size235; - ::apache::thrift::protocol::TType _etype238; - xfer += iprot->readListBegin(_etype238, _size235); - this->values.resize(_size235); - uint32_t _i239; - for (_i239 = 0; _i239 < _size235; ++_i239) + uint32_t _size261; + ::apache::thrift::protocol::TType _etype264; + xfer += iprot->readListBegin(_etype264, _size261); + this->values.resize(_size261); + uint32_t _i265; + for (_i265 = 0; _i265 < _size261; ++_i265) { - xfer += iprot->readString(this->values[_i239]); + xfer += iprot->readString(this->values[_i265]); } xfer += iprot->readListEnd(); } @@ -4583,17 +4869,17 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size240; - ::apache::thrift::protocol::TType _ktype241; - ::apache::thrift::protocol::TType _vtype242; - xfer += iprot->readMapBegin(_ktype241, _vtype242, _size240); - uint32_t _i244; - for (_i244 = 0; _i244 < _size240; ++_i244) + uint32_t _size266; + ::apache::thrift::protocol::TType _ktype267; + ::apache::thrift::protocol::TType _vtype268; + xfer += iprot->readMapBegin(_ktype267, _vtype268, _size266); + uint32_t _i270; + for (_i270 = 0; _i270 < _size266; ++_i270) { - std::string _key245; - xfer += iprot->readString(_key245); - std::string& _val246 = this->parameters[_key245]; - xfer += iprot->readString(_val246); + std::string _key271; + xfer += iprot->readString(_key271); + std::string& _val272 = this->parameters[_key271]; + xfer += iprot->readString(_val272); } xfer += iprot->readMapEnd(); } @@ -4630,10 +4916,10 @@ uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->values.size())); - std::vector ::const_iterator _iter247; - for (_iter247 = this->values.begin(); _iter247 != this->values.end(); ++_iter247) + std::vector ::const_iterator _iter273; + for (_iter273 = this->values.begin(); _iter273 != this->values.end(); ++_iter273) { - xfer += oprot->writeString((*_iter247)); + xfer += oprot->writeString((*_iter273)); } xfer += oprot->writeListEnd(); } @@ -4654,11 +4940,11 @@ uint32_t PartitionWithoutSD::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 5); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter248; - for (_iter248 = this->parameters.begin(); _iter248 != this->parameters.end(); ++_iter248) + std::map ::const_iterator _iter274; + for (_iter274 = this->parameters.begin(); _iter274 != this->parameters.end(); ++_iter274) { - xfer += oprot->writeString(_iter248->first); - xfer += oprot->writeString(_iter248->second); + xfer += oprot->writeString(_iter274->first); + xfer += oprot->writeString(_iter274->second); } xfer += oprot->writeMapEnd(); } @@ -4685,23 +4971,23 @@ void swap(PartitionWithoutSD &a, PartitionWithoutSD &b) { swap(a.__isset, b.__isset); } -PartitionWithoutSD::PartitionWithoutSD(const PartitionWithoutSD& other249) { - values = other249.values; - createTime = other249.createTime; - lastAccessTime = other249.lastAccessTime; - relativePath = other249.relativePath; - parameters = other249.parameters; - privileges = other249.privileges; - __isset = other249.__isset; -} -PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& other250) { - values = other250.values; - createTime = other250.createTime; - lastAccessTime = other250.lastAccessTime; - relativePath = other250.relativePath; - parameters = other250.parameters; - privileges = other250.privileges; - __isset = other250.__isset; +PartitionWithoutSD::PartitionWithoutSD(const PartitionWithoutSD& other275) { + values = other275.values; + createTime = other275.createTime; + lastAccessTime = other275.lastAccessTime; + relativePath = other275.relativePath; + parameters = other275.parameters; + privileges = other275.privileges; + __isset = other275.__isset; +} +PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& other276) { + values = other276.values; + createTime = other276.createTime; + lastAccessTime = other276.lastAccessTime; + relativePath = other276.relativePath; + parameters = other276.parameters; + privileges = other276.privileges; + __isset = other276.__isset; return *this; } void PartitionWithoutSD::printTo(std::ostream& out) const { @@ -4754,14 +5040,14 @@ uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size251; - ::apache::thrift::protocol::TType _etype254; - xfer += iprot->readListBegin(_etype254, _size251); - this->partitions.resize(_size251); - uint32_t _i255; - for (_i255 = 0; _i255 < _size251; ++_i255) + uint32_t _size277; + ::apache::thrift::protocol::TType _etype280; + xfer += iprot->readListBegin(_etype280, _size277); + this->partitions.resize(_size277); + uint32_t _i281; + for (_i281 = 0; _i281 < _size277; ++_i281) { - xfer += this->partitions[_i255].read(iprot); + xfer += this->partitions[_i281].read(iprot); } xfer += iprot->readListEnd(); } @@ -4798,10 +5084,10 @@ uint32_t PartitionSpecWithSharedSD::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter256; - for (_iter256 = this->partitions.begin(); _iter256 != this->partitions.end(); ++_iter256) + std::vector ::const_iterator _iter282; + for (_iter282 = this->partitions.begin(); _iter282 != this->partitions.end(); ++_iter282) { - xfer += (*_iter256).write(oprot); + xfer += (*_iter282).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4823,15 +5109,15 @@ void swap(PartitionSpecWithSharedSD &a, PartitionSpecWithSharedSD &b) { swap(a.__isset, b.__isset); } -PartitionSpecWithSharedSD::PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD& other257) { - partitions = other257.partitions; - sd = other257.sd; - __isset = other257.__isset; +PartitionSpecWithSharedSD::PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD& other283) { + partitions = other283.partitions; + sd = other283.sd; + __isset = other283.__isset; } -PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionSpecWithSharedSD& other258) { - partitions = other258.partitions; - sd = other258.sd; - __isset = other258.__isset; +PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionSpecWithSharedSD& other284) { + partitions = other284.partitions; + sd = other284.sd; + __isset = other284.__isset; return *this; } void PartitionSpecWithSharedSD::printTo(std::ostream& out) const { @@ -4876,14 +5162,14 @@ uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size259; - ::apache::thrift::protocol::TType _etype262; - xfer += iprot->readListBegin(_etype262, _size259); - this->partitions.resize(_size259); - uint32_t _i263; - for (_i263 = 0; _i263 < _size259; ++_i263) + uint32_t _size285; + ::apache::thrift::protocol::TType _etype288; + xfer += iprot->readListBegin(_etype288, _size285); + this->partitions.resize(_size285); + uint32_t _i289; + for (_i289 = 0; _i289 < _size285; ++_i289) { - xfer += this->partitions[_i263].read(iprot); + xfer += this->partitions[_i289].read(iprot); } xfer += iprot->readListEnd(); } @@ -4912,10 +5198,10 @@ uint32_t PartitionListComposingSpec::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter264; - for (_iter264 = this->partitions.begin(); _iter264 != this->partitions.end(); ++_iter264) + std::vector ::const_iterator _iter290; + for (_iter290 = this->partitions.begin(); _iter290 != this->partitions.end(); ++_iter290) { - xfer += (*_iter264).write(oprot); + xfer += (*_iter290).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4932,13 +5218,13 @@ void swap(PartitionListComposingSpec &a, PartitionListComposingSpec &b) { swap(a.__isset, b.__isset); } -PartitionListComposingSpec::PartitionListComposingSpec(const PartitionListComposingSpec& other265) { - partitions = other265.partitions; - __isset = other265.__isset; +PartitionListComposingSpec::PartitionListComposingSpec(const PartitionListComposingSpec& other291) { + partitions = other291.partitions; + __isset = other291.__isset; } -PartitionListComposingSpec& PartitionListComposingSpec::operator=(const PartitionListComposingSpec& other266) { - partitions = other266.partitions; - __isset = other266.__isset; +PartitionListComposingSpec& PartitionListComposingSpec::operator=(const PartitionListComposingSpec& other292) { + partitions = other292.partitions; + __isset = other292.__isset; return *this; } void PartitionListComposingSpec::printTo(std::ostream& out) const { @@ -5090,21 +5376,21 @@ void swap(PartitionSpec &a, PartitionSpec &b) { swap(a.__isset, b.__isset); } -PartitionSpec::PartitionSpec(const PartitionSpec& other267) { - dbName = other267.dbName; - tableName = other267.tableName; - rootPath = other267.rootPath; - sharedSDPartitionSpec = other267.sharedSDPartitionSpec; - partitionList = other267.partitionList; - __isset = other267.__isset; -} -PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other268) { - dbName = other268.dbName; - tableName = other268.tableName; - rootPath = other268.rootPath; - sharedSDPartitionSpec = other268.sharedSDPartitionSpec; - partitionList = other268.partitionList; - __isset = other268.__isset; +PartitionSpec::PartitionSpec(const PartitionSpec& other293) { + dbName = other293.dbName; + tableName = other293.tableName; + rootPath = other293.rootPath; + sharedSDPartitionSpec = other293.sharedSDPartitionSpec; + partitionList = other293.partitionList; + __isset = other293.__isset; +} +PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other294) { + dbName = other294.dbName; + tableName = other294.tableName; + rootPath = other294.rootPath; + sharedSDPartitionSpec = other294.sharedSDPartitionSpec; + partitionList = other294.partitionList; + __isset = other294.__isset; return *this; } void PartitionSpec::printTo(std::ostream& out) const { @@ -5252,17 +5538,17 @@ uint32_t Index::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size269; - ::apache::thrift::protocol::TType _ktype270; - ::apache::thrift::protocol::TType _vtype271; - xfer += iprot->readMapBegin(_ktype270, _vtype271, _size269); - uint32_t _i273; - for (_i273 = 0; _i273 < _size269; ++_i273) + uint32_t _size295; + ::apache::thrift::protocol::TType _ktype296; + ::apache::thrift::protocol::TType _vtype297; + xfer += iprot->readMapBegin(_ktype296, _vtype297, _size295); + uint32_t _i299; + for (_i299 = 0; _i299 < _size295; ++_i299) { - std::string _key274; - xfer += iprot->readString(_key274); - std::string& _val275 = this->parameters[_key274]; - xfer += iprot->readString(_val275); + std::string _key300; + xfer += iprot->readString(_key300); + std::string& _val301 = this->parameters[_key300]; + xfer += iprot->readString(_val301); } xfer += iprot->readMapEnd(); } @@ -5331,11 +5617,11 @@ uint32_t Index::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("parameters", ::apache::thrift::protocol::T_MAP, 9); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->parameters.size())); - std::map ::const_iterator _iter276; - for (_iter276 = this->parameters.begin(); _iter276 != this->parameters.end(); ++_iter276) + std::map ::const_iterator _iter302; + for (_iter302 = this->parameters.begin(); _iter302 != this->parameters.end(); ++_iter302) { - xfer += oprot->writeString(_iter276->first); - xfer += oprot->writeString(_iter276->second); + xfer += oprot->writeString(_iter302->first); + xfer += oprot->writeString(_iter302->second); } xfer += oprot->writeMapEnd(); } @@ -5365,31 +5651,31 @@ void swap(Index &a, Index &b) { swap(a.__isset, b.__isset); } -Index::Index(const Index& other277) { - indexName = other277.indexName; - indexHandlerClass = other277.indexHandlerClass; - dbName = other277.dbName; - origTableName = other277.origTableName; - createTime = other277.createTime; - lastAccessTime = other277.lastAccessTime; - indexTableName = other277.indexTableName; - sd = other277.sd; - parameters = other277.parameters; - deferredRebuild = other277.deferredRebuild; - __isset = other277.__isset; -} -Index& Index::operator=(const Index& other278) { - indexName = other278.indexName; - indexHandlerClass = other278.indexHandlerClass; - dbName = other278.dbName; - origTableName = other278.origTableName; - createTime = other278.createTime; - lastAccessTime = other278.lastAccessTime; - indexTableName = other278.indexTableName; - sd = other278.sd; - parameters = other278.parameters; - deferredRebuild = other278.deferredRebuild; - __isset = other278.__isset; +Index::Index(const Index& other303) { + indexName = other303.indexName; + indexHandlerClass = other303.indexHandlerClass; + dbName = other303.dbName; + origTableName = other303.origTableName; + createTime = other303.createTime; + lastAccessTime = other303.lastAccessTime; + indexTableName = other303.indexTableName; + sd = other303.sd; + parameters = other303.parameters; + deferredRebuild = other303.deferredRebuild; + __isset = other303.__isset; +} +Index& Index::operator=(const Index& other304) { + indexName = other304.indexName; + indexHandlerClass = other304.indexHandlerClass; + dbName = other304.dbName; + origTableName = other304.origTableName; + createTime = other304.createTime; + lastAccessTime = other304.lastAccessTime; + indexTableName = other304.indexTableName; + sd = other304.sd; + parameters = other304.parameters; + deferredRebuild = other304.deferredRebuild; + __isset = other304.__isset; return *this; } void Index::printTo(std::ostream& out) const { @@ -5540,19 +5826,19 @@ void swap(BooleanColumnStatsData &a, BooleanColumnStatsData &b) { swap(a.__isset, b.__isset); } -BooleanColumnStatsData::BooleanColumnStatsData(const BooleanColumnStatsData& other279) { - numTrues = other279.numTrues; - numFalses = other279.numFalses; - numNulls = other279.numNulls; - bitVectors = other279.bitVectors; - __isset = other279.__isset; +BooleanColumnStatsData::BooleanColumnStatsData(const BooleanColumnStatsData& other305) { + numTrues = other305.numTrues; + numFalses = other305.numFalses; + numNulls = other305.numNulls; + bitVectors = other305.bitVectors; + __isset = other305.__isset; } -BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnStatsData& other280) { - numTrues = other280.numTrues; - numFalses = other280.numFalses; - numNulls = other280.numNulls; - bitVectors = other280.bitVectors; - __isset = other280.__isset; +BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnStatsData& other306) { + numTrues = other306.numTrues; + numFalses = other306.numFalses; + numNulls = other306.numNulls; + bitVectors = other306.bitVectors; + __isset = other306.__isset; return *this; } void BooleanColumnStatsData::printTo(std::ostream& out) const { @@ -5715,21 +6001,21 @@ void swap(DoubleColumnStatsData &a, DoubleColumnStatsData &b) { swap(a.__isset, b.__isset); } -DoubleColumnStatsData::DoubleColumnStatsData(const DoubleColumnStatsData& other281) { - lowValue = other281.lowValue; - highValue = other281.highValue; - numNulls = other281.numNulls; - numDVs = other281.numDVs; - bitVectors = other281.bitVectors; - __isset = other281.__isset; -} -DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsData& other282) { - lowValue = other282.lowValue; - highValue = other282.highValue; - numNulls = other282.numNulls; - numDVs = other282.numDVs; - bitVectors = other282.bitVectors; - __isset = other282.__isset; +DoubleColumnStatsData::DoubleColumnStatsData(const DoubleColumnStatsData& other307) { + lowValue = other307.lowValue; + highValue = other307.highValue; + numNulls = other307.numNulls; + numDVs = other307.numDVs; + bitVectors = other307.bitVectors; + __isset = other307.__isset; +} +DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsData& other308) { + lowValue = other308.lowValue; + highValue = other308.highValue; + numNulls = other308.numNulls; + numDVs = other308.numDVs; + bitVectors = other308.bitVectors; + __isset = other308.__isset; return *this; } void DoubleColumnStatsData::printTo(std::ostream& out) const { @@ -5893,21 +6179,21 @@ void swap(LongColumnStatsData &a, LongColumnStatsData &b) { swap(a.__isset, b.__isset); } -LongColumnStatsData::LongColumnStatsData(const LongColumnStatsData& other283) { - lowValue = other283.lowValue; - highValue = other283.highValue; - numNulls = other283.numNulls; - numDVs = other283.numDVs; - bitVectors = other283.bitVectors; - __isset = other283.__isset; -} -LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& other284) { - lowValue = other284.lowValue; - highValue = other284.highValue; - numNulls = other284.numNulls; - numDVs = other284.numDVs; - bitVectors = other284.bitVectors; - __isset = other284.__isset; +LongColumnStatsData::LongColumnStatsData(const LongColumnStatsData& other309) { + lowValue = other309.lowValue; + highValue = other309.highValue; + numNulls = other309.numNulls; + numDVs = other309.numDVs; + bitVectors = other309.bitVectors; + __isset = other309.__isset; +} +LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& other310) { + lowValue = other310.lowValue; + highValue = other310.highValue; + numNulls = other310.numNulls; + numDVs = other310.numDVs; + bitVectors = other310.bitVectors; + __isset = other310.__isset; return *this; } void LongColumnStatsData::printTo(std::ostream& out) const { @@ -6073,21 +6359,21 @@ void swap(StringColumnStatsData &a, StringColumnStatsData &b) { swap(a.__isset, b.__isset); } -StringColumnStatsData::StringColumnStatsData(const StringColumnStatsData& other285) { - maxColLen = other285.maxColLen; - avgColLen = other285.avgColLen; - numNulls = other285.numNulls; - numDVs = other285.numDVs; - bitVectors = other285.bitVectors; - __isset = other285.__isset; -} -StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsData& other286) { - maxColLen = other286.maxColLen; - avgColLen = other286.avgColLen; - numNulls = other286.numNulls; - numDVs = other286.numDVs; - bitVectors = other286.bitVectors; - __isset = other286.__isset; +StringColumnStatsData::StringColumnStatsData(const StringColumnStatsData& other311) { + maxColLen = other311.maxColLen; + avgColLen = other311.avgColLen; + numNulls = other311.numNulls; + numDVs = other311.numDVs; + bitVectors = other311.bitVectors; + __isset = other311.__isset; +} +StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsData& other312) { + maxColLen = other312.maxColLen; + avgColLen = other312.avgColLen; + numNulls = other312.numNulls; + numDVs = other312.numDVs; + bitVectors = other312.bitVectors; + __isset = other312.__isset; return *this; } void StringColumnStatsData::printTo(std::ostream& out) const { @@ -6233,19 +6519,19 @@ void swap(BinaryColumnStatsData &a, BinaryColumnStatsData &b) { swap(a.__isset, b.__isset); } -BinaryColumnStatsData::BinaryColumnStatsData(const BinaryColumnStatsData& other287) { - maxColLen = other287.maxColLen; - avgColLen = other287.avgColLen; - numNulls = other287.numNulls; - bitVectors = other287.bitVectors; - __isset = other287.__isset; +BinaryColumnStatsData::BinaryColumnStatsData(const BinaryColumnStatsData& other313) { + maxColLen = other313.maxColLen; + avgColLen = other313.avgColLen; + numNulls = other313.numNulls; + bitVectors = other313.bitVectors; + __isset = other313.__isset; } -BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsData& other288) { - maxColLen = other288.maxColLen; - avgColLen = other288.avgColLen; - numNulls = other288.numNulls; - bitVectors = other288.bitVectors; - __isset = other288.__isset; +BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsData& other314) { + maxColLen = other314.maxColLen; + avgColLen = other314.avgColLen; + numNulls = other314.numNulls; + bitVectors = other314.bitVectors; + __isset = other314.__isset; return *this; } void BinaryColumnStatsData::printTo(std::ostream& out) const { @@ -6350,13 +6636,13 @@ void swap(Decimal &a, Decimal &b) { swap(a.scale, b.scale); } -Decimal::Decimal(const Decimal& other289) { - unscaled = other289.unscaled; - scale = other289.scale; +Decimal::Decimal(const Decimal& other315) { + unscaled = other315.unscaled; + scale = other315.scale; } -Decimal& Decimal::operator=(const Decimal& other290) { - unscaled = other290.unscaled; - scale = other290.scale; +Decimal& Decimal::operator=(const Decimal& other316) { + unscaled = other316.unscaled; + scale = other316.scale; return *this; } void Decimal::printTo(std::ostream& out) const { @@ -6517,21 +6803,21 @@ void swap(DecimalColumnStatsData &a, DecimalColumnStatsData &b) { swap(a.__isset, b.__isset); } -DecimalColumnStatsData::DecimalColumnStatsData(const DecimalColumnStatsData& other291) { - lowValue = other291.lowValue; - highValue = other291.highValue; - numNulls = other291.numNulls; - numDVs = other291.numDVs; - bitVectors = other291.bitVectors; - __isset = other291.__isset; -} -DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnStatsData& other292) { - lowValue = other292.lowValue; - highValue = other292.highValue; - numNulls = other292.numNulls; - numDVs = other292.numDVs; - bitVectors = other292.bitVectors; - __isset = other292.__isset; +DecimalColumnStatsData::DecimalColumnStatsData(const DecimalColumnStatsData& other317) { + lowValue = other317.lowValue; + highValue = other317.highValue; + numNulls = other317.numNulls; + numDVs = other317.numDVs; + bitVectors = other317.bitVectors; + __isset = other317.__isset; +} +DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnStatsData& other318) { + lowValue = other318.lowValue; + highValue = other318.highValue; + numNulls = other318.numNulls; + numDVs = other318.numDVs; + bitVectors = other318.bitVectors; + __isset = other318.__isset; return *this; } void DecimalColumnStatsData::printTo(std::ostream& out) const { @@ -6617,11 +6903,11 @@ void swap(Date &a, Date &b) { swap(a.daysSinceEpoch, b.daysSinceEpoch); } -Date::Date(const Date& other293) { - daysSinceEpoch = other293.daysSinceEpoch; +Date::Date(const Date& other319) { + daysSinceEpoch = other319.daysSinceEpoch; } -Date& Date::operator=(const Date& other294) { - daysSinceEpoch = other294.daysSinceEpoch; +Date& Date::operator=(const Date& other320) { + daysSinceEpoch = other320.daysSinceEpoch; return *this; } void Date::printTo(std::ostream& out) const { @@ -6781,21 +7067,21 @@ void swap(DateColumnStatsData &a, DateColumnStatsData &b) { swap(a.__isset, b.__isset); } -DateColumnStatsData::DateColumnStatsData(const DateColumnStatsData& other295) { - lowValue = other295.lowValue; - highValue = other295.highValue; - numNulls = other295.numNulls; - numDVs = other295.numDVs; - bitVectors = other295.bitVectors; - __isset = other295.__isset; -} -DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& other296) { - lowValue = other296.lowValue; - highValue = other296.highValue; - numNulls = other296.numNulls; - numDVs = other296.numDVs; - bitVectors = other296.bitVectors; - __isset = other296.__isset; +DateColumnStatsData::DateColumnStatsData(const DateColumnStatsData& other321) { + lowValue = other321.lowValue; + highValue = other321.highValue; + numNulls = other321.numNulls; + numDVs = other321.numDVs; + bitVectors = other321.bitVectors; + __isset = other321.__isset; +} +DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& other322) { + lowValue = other322.lowValue; + highValue = other322.highValue; + numNulls = other322.numNulls; + numDVs = other322.numDVs; + bitVectors = other322.bitVectors; + __isset = other322.__isset; return *this; } void DateColumnStatsData::printTo(std::ostream& out) const { @@ -6981,25 +7267,25 @@ void swap(ColumnStatisticsData &a, ColumnStatisticsData &b) { swap(a.__isset, b.__isset); } -ColumnStatisticsData::ColumnStatisticsData(const ColumnStatisticsData& other297) { - booleanStats = other297.booleanStats; - longStats = other297.longStats; - doubleStats = other297.doubleStats; - stringStats = other297.stringStats; - binaryStats = other297.binaryStats; - decimalStats = other297.decimalStats; - dateStats = other297.dateStats; - __isset = other297.__isset; -} -ColumnStatisticsData& ColumnStatisticsData::operator=(const ColumnStatisticsData& other298) { - booleanStats = other298.booleanStats; - longStats = other298.longStats; - doubleStats = other298.doubleStats; - stringStats = other298.stringStats; - binaryStats = other298.binaryStats; - decimalStats = other298.decimalStats; - dateStats = other298.dateStats; - __isset = other298.__isset; +ColumnStatisticsData::ColumnStatisticsData(const ColumnStatisticsData& other323) { + booleanStats = other323.booleanStats; + longStats = other323.longStats; + doubleStats = other323.doubleStats; + stringStats = other323.stringStats; + binaryStats = other323.binaryStats; + decimalStats = other323.decimalStats; + dateStats = other323.dateStats; + __isset = other323.__isset; +} +ColumnStatisticsData& ColumnStatisticsData::operator=(const ColumnStatisticsData& other324) { + booleanStats = other324.booleanStats; + longStats = other324.longStats; + doubleStats = other324.doubleStats; + stringStats = other324.stringStats; + binaryStats = other324.binaryStats; + decimalStats = other324.decimalStats; + dateStats = other324.dateStats; + __isset = other324.__isset; return *this; } void ColumnStatisticsData::printTo(std::ostream& out) const { @@ -7127,15 +7413,15 @@ void swap(ColumnStatisticsObj &a, ColumnStatisticsObj &b) { swap(a.statsData, b.statsData); } -ColumnStatisticsObj::ColumnStatisticsObj(const ColumnStatisticsObj& other299) { - colName = other299.colName; - colType = other299.colType; - statsData = other299.statsData; +ColumnStatisticsObj::ColumnStatisticsObj(const ColumnStatisticsObj& other325) { + colName = other325.colName; + colType = other325.colType; + statsData = other325.statsData; } -ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& other300) { - colName = other300.colName; - colType = other300.colType; - statsData = other300.statsData; +ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& other326) { + colName = other326.colName; + colType = other326.colType; + statsData = other326.statsData; return *this; } void ColumnStatisticsObj::printTo(std::ostream& out) const { @@ -7298,21 +7584,21 @@ void swap(ColumnStatisticsDesc &a, ColumnStatisticsDesc &b) { swap(a.__isset, b.__isset); } -ColumnStatisticsDesc::ColumnStatisticsDesc(const ColumnStatisticsDesc& other301) { - isTblLevel = other301.isTblLevel; - dbName = other301.dbName; - tableName = other301.tableName; - partName = other301.partName; - lastAnalyzed = other301.lastAnalyzed; - __isset = other301.__isset; -} -ColumnStatisticsDesc& ColumnStatisticsDesc::operator=(const ColumnStatisticsDesc& other302) { - isTblLevel = other302.isTblLevel; - dbName = other302.dbName; - tableName = other302.tableName; - partName = other302.partName; - lastAnalyzed = other302.lastAnalyzed; - __isset = other302.__isset; +ColumnStatisticsDesc::ColumnStatisticsDesc(const ColumnStatisticsDesc& other327) { + isTblLevel = other327.isTblLevel; + dbName = other327.dbName; + tableName = other327.tableName; + partName = other327.partName; + lastAnalyzed = other327.lastAnalyzed; + __isset = other327.__isset; +} +ColumnStatisticsDesc& ColumnStatisticsDesc::operator=(const ColumnStatisticsDesc& other328) { + isTblLevel = other328.isTblLevel; + dbName = other328.dbName; + tableName = other328.tableName; + partName = other328.partName; + lastAnalyzed = other328.lastAnalyzed; + __isset = other328.__isset; return *this; } void ColumnStatisticsDesc::printTo(std::ostream& out) const { @@ -7374,14 +7660,14 @@ uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->statsObj.clear(); - uint32_t _size303; - ::apache::thrift::protocol::TType _etype306; - xfer += iprot->readListBegin(_etype306, _size303); - this->statsObj.resize(_size303); - uint32_t _i307; - for (_i307 = 0; _i307 < _size303; ++_i307) + uint32_t _size329; + ::apache::thrift::protocol::TType _etype332; + xfer += iprot->readListBegin(_etype332, _size329); + this->statsObj.resize(_size329); + uint32_t _i333; + for (_i333 = 0; _i333 < _size329; ++_i333) { - xfer += this->statsObj[_i307].read(iprot); + xfer += this->statsObj[_i333].read(iprot); } xfer += iprot->readListEnd(); } @@ -7418,10 +7704,10 @@ uint32_t ColumnStatistics::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("statsObj", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->statsObj.size())); - std::vector ::const_iterator _iter308; - for (_iter308 = this->statsObj.begin(); _iter308 != this->statsObj.end(); ++_iter308) + std::vector ::const_iterator _iter334; + for (_iter334 = this->statsObj.begin(); _iter334 != this->statsObj.end(); ++_iter334) { - xfer += (*_iter308).write(oprot); + xfer += (*_iter334).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7438,13 +7724,13 @@ void swap(ColumnStatistics &a, ColumnStatistics &b) { swap(a.statsObj, b.statsObj); } -ColumnStatistics::ColumnStatistics(const ColumnStatistics& other309) { - statsDesc = other309.statsDesc; - statsObj = other309.statsObj; +ColumnStatistics::ColumnStatistics(const ColumnStatistics& other335) { + statsDesc = other335.statsDesc; + statsObj = other335.statsObj; } -ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other310) { - statsDesc = other310.statsDesc; - statsObj = other310.statsObj; +ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other336) { + statsDesc = other336.statsDesc; + statsObj = other336.statsObj; return *this; } void ColumnStatistics::printTo(std::ostream& out) const { @@ -7495,14 +7781,14 @@ uint32_t AggrStats::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colStats.clear(); - uint32_t _size311; - ::apache::thrift::protocol::TType _etype314; - xfer += iprot->readListBegin(_etype314, _size311); - this->colStats.resize(_size311); - uint32_t _i315; - for (_i315 = 0; _i315 < _size311; ++_i315) + uint32_t _size337; + ::apache::thrift::protocol::TType _etype340; + xfer += iprot->readListBegin(_etype340, _size337); + this->colStats.resize(_size337); + uint32_t _i341; + for (_i341 = 0; _i341 < _size337; ++_i341) { - xfer += this->colStats[_i315].read(iprot); + xfer += this->colStats[_i341].read(iprot); } xfer += iprot->readListEnd(); } @@ -7543,10 +7829,10 @@ uint32_t AggrStats::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("colStats", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->colStats.size())); - std::vector ::const_iterator _iter316; - for (_iter316 = this->colStats.begin(); _iter316 != this->colStats.end(); ++_iter316) + std::vector ::const_iterator _iter342; + for (_iter342 = this->colStats.begin(); _iter342 != this->colStats.end(); ++_iter342) { - xfer += (*_iter316).write(oprot); + xfer += (*_iter342).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7567,13 +7853,13 @@ void swap(AggrStats &a, AggrStats &b) { swap(a.partsFound, b.partsFound); } -AggrStats::AggrStats(const AggrStats& other317) { - colStats = other317.colStats; - partsFound = other317.partsFound; +AggrStats::AggrStats(const AggrStats& other343) { + colStats = other343.colStats; + partsFound = other343.partsFound; } -AggrStats& AggrStats::operator=(const AggrStats& other318) { - colStats = other318.colStats; - partsFound = other318.partsFound; +AggrStats& AggrStats::operator=(const AggrStats& other344) { + colStats = other344.colStats; + partsFound = other344.partsFound; return *this; } void AggrStats::printTo(std::ostream& out) const { @@ -7619,14 +7905,14 @@ uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colStats.clear(); - uint32_t _size319; - ::apache::thrift::protocol::TType _etype322; - xfer += iprot->readListBegin(_etype322, _size319); - this->colStats.resize(_size319); - uint32_t _i323; - for (_i323 = 0; _i323 < _size319; ++_i323) + uint32_t _size345; + ::apache::thrift::protocol::TType _etype348; + xfer += iprot->readListBegin(_etype348, _size345); + this->colStats.resize(_size345); + uint32_t _i349; + for (_i349 = 0; _i349 < _size345; ++_i349) { - xfer += this->colStats[_i323].read(iprot); + xfer += this->colStats[_i349].read(iprot); } xfer += iprot->readListEnd(); } @@ -7657,10 +7943,10 @@ uint32_t SetPartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("colStats", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->colStats.size())); - std::vector ::const_iterator _iter324; - for (_iter324 = this->colStats.begin(); _iter324 != this->colStats.end(); ++_iter324) + std::vector ::const_iterator _iter350; + for (_iter350 = this->colStats.begin(); _iter350 != this->colStats.end(); ++_iter350) { - xfer += (*_iter324).write(oprot); + xfer += (*_iter350).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7676,11 +7962,11 @@ void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b) { swap(a.colStats, b.colStats); } -SetPartitionsStatsRequest::SetPartitionsStatsRequest(const SetPartitionsStatsRequest& other325) { - colStats = other325.colStats; +SetPartitionsStatsRequest::SetPartitionsStatsRequest(const SetPartitionsStatsRequest& other351) { + colStats = other351.colStats; } -SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartitionsStatsRequest& other326) { - colStats = other326.colStats; +SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartitionsStatsRequest& other352) { + colStats = other352.colStats; return *this; } void SetPartitionsStatsRequest::printTo(std::ostream& out) const { @@ -7728,14 +8014,14 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fieldSchemas.clear(); - uint32_t _size327; - ::apache::thrift::protocol::TType _etype330; - xfer += iprot->readListBegin(_etype330, _size327); - this->fieldSchemas.resize(_size327); - uint32_t _i331; - for (_i331 = 0; _i331 < _size327; ++_i331) + uint32_t _size353; + ::apache::thrift::protocol::TType _etype356; + xfer += iprot->readListBegin(_etype356, _size353); + this->fieldSchemas.resize(_size353); + uint32_t _i357; + for (_i357 = 0; _i357 < _size353; ++_i357) { - xfer += this->fieldSchemas[_i331].read(iprot); + xfer += this->fieldSchemas[_i357].read(iprot); } xfer += iprot->readListEnd(); } @@ -7748,17 +8034,17 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size332; - ::apache::thrift::protocol::TType _ktype333; - ::apache::thrift::protocol::TType _vtype334; - xfer += iprot->readMapBegin(_ktype333, _vtype334, _size332); - uint32_t _i336; - for (_i336 = 0; _i336 < _size332; ++_i336) + uint32_t _size358; + ::apache::thrift::protocol::TType _ktype359; + ::apache::thrift::protocol::TType _vtype360; + xfer += iprot->readMapBegin(_ktype359, _vtype360, _size358); + uint32_t _i362; + for (_i362 = 0; _i362 < _size358; ++_i362) { - std::string _key337; - xfer += iprot->readString(_key337); - std::string& _val338 = this->properties[_key337]; - xfer += iprot->readString(_val338); + std::string _key363; + xfer += iprot->readString(_key363); + std::string& _val364 = this->properties[_key363]; + xfer += iprot->readString(_val364); } xfer += iprot->readMapEnd(); } @@ -7787,10 +8073,10 @@ uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("fieldSchemas", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->fieldSchemas.size())); - std::vector ::const_iterator _iter339; - for (_iter339 = this->fieldSchemas.begin(); _iter339 != this->fieldSchemas.end(); ++_iter339) + std::vector ::const_iterator _iter365; + for (_iter365 = this->fieldSchemas.begin(); _iter365 != this->fieldSchemas.end(); ++_iter365) { - xfer += (*_iter339).write(oprot); + xfer += (*_iter365).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7799,11 +8085,11 @@ uint32_t Schema::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 2); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter340; - for (_iter340 = this->properties.begin(); _iter340 != this->properties.end(); ++_iter340) + std::map ::const_iterator _iter366; + for (_iter366 = this->properties.begin(); _iter366 != this->properties.end(); ++_iter366) { - xfer += oprot->writeString(_iter340->first); - xfer += oprot->writeString(_iter340->second); + xfer += oprot->writeString(_iter366->first); + xfer += oprot->writeString(_iter366->second); } xfer += oprot->writeMapEnd(); } @@ -7821,15 +8107,15 @@ void swap(Schema &a, Schema &b) { swap(a.__isset, b.__isset); } -Schema::Schema(const Schema& other341) { - fieldSchemas = other341.fieldSchemas; - properties = other341.properties; - __isset = other341.__isset; +Schema::Schema(const Schema& other367) { + fieldSchemas = other367.fieldSchemas; + properties = other367.properties; + __isset = other367.__isset; } -Schema& Schema::operator=(const Schema& other342) { - fieldSchemas = other342.fieldSchemas; - properties = other342.properties; - __isset = other342.__isset; +Schema& Schema::operator=(const Schema& other368) { + fieldSchemas = other368.fieldSchemas; + properties = other368.properties; + __isset = other368.__isset; return *this; } void Schema::printTo(std::ostream& out) const { @@ -7874,17 +8160,17 @@ uint32_t EnvironmentContext::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size343; - ::apache::thrift::protocol::TType _ktype344; - ::apache::thrift::protocol::TType _vtype345; - xfer += iprot->readMapBegin(_ktype344, _vtype345, _size343); - uint32_t _i347; - for (_i347 = 0; _i347 < _size343; ++_i347) + uint32_t _size369; + ::apache::thrift::protocol::TType _ktype370; + ::apache::thrift::protocol::TType _vtype371; + xfer += iprot->readMapBegin(_ktype370, _vtype371, _size369); + uint32_t _i373; + for (_i373 = 0; _i373 < _size369; ++_i373) { - std::string _key348; - xfer += iprot->readString(_key348); - std::string& _val349 = this->properties[_key348]; - xfer += iprot->readString(_val349); + std::string _key374; + xfer += iprot->readString(_key374); + std::string& _val375 = this->properties[_key374]; + xfer += iprot->readString(_val375); } xfer += iprot->readMapEnd(); } @@ -7913,11 +8199,11 @@ uint32_t EnvironmentContext::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter350; - for (_iter350 = this->properties.begin(); _iter350 != this->properties.end(); ++_iter350) + std::map ::const_iterator _iter376; + for (_iter376 = this->properties.begin(); _iter376 != this->properties.end(); ++_iter376) { - xfer += oprot->writeString(_iter350->first); - xfer += oprot->writeString(_iter350->second); + xfer += oprot->writeString(_iter376->first); + xfer += oprot->writeString(_iter376->second); } xfer += oprot->writeMapEnd(); } @@ -7934,13 +8220,13 @@ void swap(EnvironmentContext &a, EnvironmentContext &b) { swap(a.__isset, b.__isset); } -EnvironmentContext::EnvironmentContext(const EnvironmentContext& other351) { - properties = other351.properties; - __isset = other351.__isset; +EnvironmentContext::EnvironmentContext(const EnvironmentContext& other377) { + properties = other377.properties; + __isset = other377.__isset; } -EnvironmentContext& EnvironmentContext::operator=(const EnvironmentContext& other352) { - properties = other352.properties; - __isset = other352.__isset; +EnvironmentContext& EnvironmentContext::operator=(const EnvironmentContext& other378) { + properties = other378.properties; + __isset = other378.__isset; return *this; } void EnvironmentContext::printTo(std::ostream& out) const { @@ -7990,14 +8276,14 @@ uint32_t PartitionsByExprResult::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size353; - ::apache::thrift::protocol::TType _etype356; - xfer += iprot->readListBegin(_etype356, _size353); - this->partitions.resize(_size353); - uint32_t _i357; - for (_i357 = 0; _i357 < _size353; ++_i357) + uint32_t _size379; + ::apache::thrift::protocol::TType _etype382; + xfer += iprot->readListBegin(_etype382, _size379); + this->partitions.resize(_size379); + uint32_t _i383; + for (_i383 = 0; _i383 < _size379; ++_i383) { - xfer += this->partitions[_i357].read(iprot); + xfer += this->partitions[_i383].read(iprot); } xfer += iprot->readListEnd(); } @@ -8038,10 +8324,10 @@ uint32_t PartitionsByExprResult::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter358; - for (_iter358 = this->partitions.begin(); _iter358 != this->partitions.end(); ++_iter358) + std::vector ::const_iterator _iter384; + for (_iter384 = this->partitions.begin(); _iter384 != this->partitions.end(); ++_iter384) { - xfer += (*_iter358).write(oprot); + xfer += (*_iter384).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8062,13 +8348,13 @@ void swap(PartitionsByExprResult &a, PartitionsByExprResult &b) { swap(a.hasUnknownPartitions, b.hasUnknownPartitions); } -PartitionsByExprResult::PartitionsByExprResult(const PartitionsByExprResult& other359) { - partitions = other359.partitions; - hasUnknownPartitions = other359.hasUnknownPartitions; +PartitionsByExprResult::PartitionsByExprResult(const PartitionsByExprResult& other385) { + partitions = other385.partitions; + hasUnknownPartitions = other385.hasUnknownPartitions; } -PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExprResult& other360) { - partitions = other360.partitions; - hasUnknownPartitions = other360.hasUnknownPartitions; +PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExprResult& other386) { + partitions = other386.partitions; + hasUnknownPartitions = other386.hasUnknownPartitions; return *this; } void PartitionsByExprResult::printTo(std::ostream& out) const { @@ -8230,21 +8516,21 @@ void swap(PartitionsByExprRequest &a, PartitionsByExprRequest &b) { swap(a.__isset, b.__isset); } -PartitionsByExprRequest::PartitionsByExprRequest(const PartitionsByExprRequest& other361) { - dbName = other361.dbName; - tblName = other361.tblName; - expr = other361.expr; - defaultPartitionName = other361.defaultPartitionName; - maxParts = other361.maxParts; - __isset = other361.__isset; -} -PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByExprRequest& other362) { - dbName = other362.dbName; - tblName = other362.tblName; - expr = other362.expr; - defaultPartitionName = other362.defaultPartitionName; - maxParts = other362.maxParts; - __isset = other362.__isset; +PartitionsByExprRequest::PartitionsByExprRequest(const PartitionsByExprRequest& other387) { + dbName = other387.dbName; + tblName = other387.tblName; + expr = other387.expr; + defaultPartitionName = other387.defaultPartitionName; + maxParts = other387.maxParts; + __isset = other387.__isset; +} +PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByExprRequest& other388) { + dbName = other388.dbName; + tblName = other388.tblName; + expr = other388.expr; + defaultPartitionName = other388.defaultPartitionName; + maxParts = other388.maxParts; + __isset = other388.__isset; return *this; } void PartitionsByExprRequest::printTo(std::ostream& out) const { @@ -8293,14 +8579,14 @@ uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tableStats.clear(); - uint32_t _size363; - ::apache::thrift::protocol::TType _etype366; - xfer += iprot->readListBegin(_etype366, _size363); - this->tableStats.resize(_size363); - uint32_t _i367; - for (_i367 = 0; _i367 < _size363; ++_i367) + uint32_t _size389; + ::apache::thrift::protocol::TType _etype392; + xfer += iprot->readListBegin(_etype392, _size389); + this->tableStats.resize(_size389); + uint32_t _i393; + for (_i393 = 0; _i393 < _size389; ++_i393) { - xfer += this->tableStats[_i367].read(iprot); + xfer += this->tableStats[_i393].read(iprot); } xfer += iprot->readListEnd(); } @@ -8331,10 +8617,10 @@ uint32_t TableStatsResult::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tableStats", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tableStats.size())); - std::vector ::const_iterator _iter368; - for (_iter368 = this->tableStats.begin(); _iter368 != this->tableStats.end(); ++_iter368) + std::vector ::const_iterator _iter394; + for (_iter394 = this->tableStats.begin(); _iter394 != this->tableStats.end(); ++_iter394) { - xfer += (*_iter368).write(oprot); + xfer += (*_iter394).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8350,11 +8636,11 @@ void swap(TableStatsResult &a, TableStatsResult &b) { swap(a.tableStats, b.tableStats); } -TableStatsResult::TableStatsResult(const TableStatsResult& other369) { - tableStats = other369.tableStats; +TableStatsResult::TableStatsResult(const TableStatsResult& other395) { + tableStats = other395.tableStats; } -TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other370) { - tableStats = other370.tableStats; +TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other396) { + tableStats = other396.tableStats; return *this; } void TableStatsResult::printTo(std::ostream& out) const { @@ -8399,26 +8685,26 @@ uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partStats.clear(); - uint32_t _size371; - ::apache::thrift::protocol::TType _ktype372; - ::apache::thrift::protocol::TType _vtype373; - xfer += iprot->readMapBegin(_ktype372, _vtype373, _size371); - uint32_t _i375; - for (_i375 = 0; _i375 < _size371; ++_i375) + uint32_t _size397; + ::apache::thrift::protocol::TType _ktype398; + ::apache::thrift::protocol::TType _vtype399; + xfer += iprot->readMapBegin(_ktype398, _vtype399, _size397); + uint32_t _i401; + for (_i401 = 0; _i401 < _size397; ++_i401) { - std::string _key376; - xfer += iprot->readString(_key376); - std::vector & _val377 = this->partStats[_key376]; + std::string _key402; + xfer += iprot->readString(_key402); + std::vector & _val403 = this->partStats[_key402]; { - _val377.clear(); - uint32_t _size378; - ::apache::thrift::protocol::TType _etype381; - xfer += iprot->readListBegin(_etype381, _size378); - _val377.resize(_size378); - uint32_t _i382; - for (_i382 = 0; _i382 < _size378; ++_i382) + _val403.clear(); + uint32_t _size404; + ::apache::thrift::protocol::TType _etype407; + xfer += iprot->readListBegin(_etype407, _size404); + _val403.resize(_size404); + uint32_t _i408; + for (_i408 = 0; _i408 < _size404; ++_i408) { - xfer += _val377[_i382].read(iprot); + xfer += _val403[_i408].read(iprot); } xfer += iprot->readListEnd(); } @@ -8452,16 +8738,16 @@ uint32_t PartitionsStatsResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("partStats", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_LIST, static_cast(this->partStats.size())); - std::map > ::const_iterator _iter383; - for (_iter383 = this->partStats.begin(); _iter383 != this->partStats.end(); ++_iter383) + std::map > ::const_iterator _iter409; + for (_iter409 = this->partStats.begin(); _iter409 != this->partStats.end(); ++_iter409) { - xfer += oprot->writeString(_iter383->first); + xfer += oprot->writeString(_iter409->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter383->second.size())); - std::vector ::const_iterator _iter384; - for (_iter384 = _iter383->second.begin(); _iter384 != _iter383->second.end(); ++_iter384) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter409->second.size())); + std::vector ::const_iterator _iter410; + for (_iter410 = _iter409->second.begin(); _iter410 != _iter409->second.end(); ++_iter410) { - xfer += (*_iter384).write(oprot); + xfer += (*_iter410).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8480,11 +8766,11 @@ void swap(PartitionsStatsResult &a, PartitionsStatsResult &b) { swap(a.partStats, b.partStats); } -PartitionsStatsResult::PartitionsStatsResult(const PartitionsStatsResult& other385) { - partStats = other385.partStats; +PartitionsStatsResult::PartitionsStatsResult(const PartitionsStatsResult& other411) { + partStats = other411.partStats; } -PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsResult& other386) { - partStats = other386.partStats; +PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsResult& other412) { + partStats = other412.partStats; return *this; } void PartitionsStatsResult::printTo(std::ostream& out) const { @@ -8555,14 +8841,14 @@ uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size387; - ::apache::thrift::protocol::TType _etype390; - xfer += iprot->readListBegin(_etype390, _size387); - this->colNames.resize(_size387); - uint32_t _i391; - for (_i391 = 0; _i391 < _size387; ++_i391) + uint32_t _size413; + ::apache::thrift::protocol::TType _etype416; + xfer += iprot->readListBegin(_etype416, _size413); + this->colNames.resize(_size413); + uint32_t _i417; + for (_i417 = 0; _i417 < _size413; ++_i417) { - xfer += iprot->readString(this->colNames[_i391]); + xfer += iprot->readString(this->colNames[_i417]); } xfer += iprot->readListEnd(); } @@ -8605,10 +8891,10 @@ uint32_t TableStatsRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("colNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->colNames.size())); - std::vector ::const_iterator _iter392; - for (_iter392 = this->colNames.begin(); _iter392 != this->colNames.end(); ++_iter392) + std::vector ::const_iterator _iter418; + for (_iter418 = this->colNames.begin(); _iter418 != this->colNames.end(); ++_iter418) { - xfer += oprot->writeString((*_iter392)); + xfer += oprot->writeString((*_iter418)); } xfer += oprot->writeListEnd(); } @@ -8626,15 +8912,15 @@ void swap(TableStatsRequest &a, TableStatsRequest &b) { swap(a.colNames, b.colNames); } -TableStatsRequest::TableStatsRequest(const TableStatsRequest& other393) { - dbName = other393.dbName; - tblName = other393.tblName; - colNames = other393.colNames; +TableStatsRequest::TableStatsRequest(const TableStatsRequest& other419) { + dbName = other419.dbName; + tblName = other419.tblName; + colNames = other419.colNames; } -TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other394) { - dbName = other394.dbName; - tblName = other394.tblName; - colNames = other394.colNames; +TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other420) { + dbName = other420.dbName; + tblName = other420.tblName; + colNames = other420.colNames; return *this; } void TableStatsRequest::printTo(std::ostream& out) const { @@ -8712,14 +8998,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size395; - ::apache::thrift::protocol::TType _etype398; - xfer += iprot->readListBegin(_etype398, _size395); - this->colNames.resize(_size395); - uint32_t _i399; - for (_i399 = 0; _i399 < _size395; ++_i399) + uint32_t _size421; + ::apache::thrift::protocol::TType _etype424; + xfer += iprot->readListBegin(_etype424, _size421); + this->colNames.resize(_size421); + uint32_t _i425; + for (_i425 = 0; _i425 < _size421; ++_i425) { - xfer += iprot->readString(this->colNames[_i399]); + xfer += iprot->readString(this->colNames[_i425]); } xfer += iprot->readListEnd(); } @@ -8732,14 +9018,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size400; - ::apache::thrift::protocol::TType _etype403; - xfer += iprot->readListBegin(_etype403, _size400); - this->partNames.resize(_size400); - uint32_t _i404; - for (_i404 = 0; _i404 < _size400; ++_i404) + uint32_t _size426; + ::apache::thrift::protocol::TType _etype429; + xfer += iprot->readListBegin(_etype429, _size426); + this->partNames.resize(_size426); + uint32_t _i430; + for (_i430 = 0; _i430 < _size426; ++_i430) { - xfer += iprot->readString(this->partNames[_i404]); + xfer += iprot->readString(this->partNames[_i430]); } xfer += iprot->readListEnd(); } @@ -8784,10 +9070,10 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("colNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->colNames.size())); - std::vector ::const_iterator _iter405; - for (_iter405 = this->colNames.begin(); _iter405 != this->colNames.end(); ++_iter405) + std::vector ::const_iterator _iter431; + for (_iter431 = this->colNames.begin(); _iter431 != this->colNames.end(); ++_iter431) { - xfer += oprot->writeString((*_iter405)); + xfer += oprot->writeString((*_iter431)); } xfer += oprot->writeListEnd(); } @@ -8796,10 +9082,10 @@ uint32_t PartitionsStatsRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); - std::vector ::const_iterator _iter406; - for (_iter406 = this->partNames.begin(); _iter406 != this->partNames.end(); ++_iter406) + std::vector ::const_iterator _iter432; + for (_iter432 = this->partNames.begin(); _iter432 != this->partNames.end(); ++_iter432) { - xfer += oprot->writeString((*_iter406)); + xfer += oprot->writeString((*_iter432)); } xfer += oprot->writeListEnd(); } @@ -8818,17 +9104,17 @@ void swap(PartitionsStatsRequest &a, PartitionsStatsRequest &b) { swap(a.partNames, b.partNames); } -PartitionsStatsRequest::PartitionsStatsRequest(const PartitionsStatsRequest& other407) { - dbName = other407.dbName; - tblName = other407.tblName; - colNames = other407.colNames; - partNames = other407.partNames; +PartitionsStatsRequest::PartitionsStatsRequest(const PartitionsStatsRequest& other433) { + dbName = other433.dbName; + tblName = other433.tblName; + colNames = other433.colNames; + partNames = other433.partNames; } -PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsRequest& other408) { - dbName = other408.dbName; - tblName = other408.tblName; - colNames = other408.colNames; - partNames = other408.partNames; +PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsRequest& other434) { + dbName = other434.dbName; + tblName = other434.tblName; + colNames = other434.colNames; + partNames = other434.partNames; return *this; } void PartitionsStatsRequest::printTo(std::ostream& out) const { @@ -8876,14 +9162,14 @@ uint32_t AddPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size409; - ::apache::thrift::protocol::TType _etype412; - xfer += iprot->readListBegin(_etype412, _size409); - this->partitions.resize(_size409); - uint32_t _i413; - for (_i413 = 0; _i413 < _size409; ++_i413) + uint32_t _size435; + ::apache::thrift::protocol::TType _etype438; + xfer += iprot->readListBegin(_etype438, _size435); + this->partitions.resize(_size435); + uint32_t _i439; + for (_i439 = 0; _i439 < _size435; ++_i439) { - xfer += this->partitions[_i413].read(iprot); + xfer += this->partitions[_i439].read(iprot); } xfer += iprot->readListEnd(); } @@ -8913,10 +9199,10 @@ uint32_t AddPartitionsResult::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter414; - for (_iter414 = this->partitions.begin(); _iter414 != this->partitions.end(); ++_iter414) + std::vector ::const_iterator _iter440; + for (_iter440 = this->partitions.begin(); _iter440 != this->partitions.end(); ++_iter440) { - xfer += (*_iter414).write(oprot); + xfer += (*_iter440).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8933,13 +9219,13 @@ void swap(AddPartitionsResult &a, AddPartitionsResult &b) { swap(a.__isset, b.__isset); } -AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other415) { - partitions = other415.partitions; - __isset = other415.__isset; +AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other441) { + partitions = other441.partitions; + __isset = other441.__isset; } -AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other416) { - partitions = other416.partitions; - __isset = other416.__isset; +AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other442) { + partitions = other442.partitions; + __isset = other442.__isset; return *this; } void AddPartitionsResult::printTo(std::ostream& out) const { @@ -9020,14 +9306,14 @@ uint32_t AddPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->parts.clear(); - uint32_t _size417; - ::apache::thrift::protocol::TType _etype420; - xfer += iprot->readListBegin(_etype420, _size417); - this->parts.resize(_size417); - uint32_t _i421; - for (_i421 = 0; _i421 < _size417; ++_i421) + uint32_t _size443; + ::apache::thrift::protocol::TType _etype446; + xfer += iprot->readListBegin(_etype446, _size443); + this->parts.resize(_size443); + uint32_t _i447; + for (_i447 = 0; _i447 < _size443; ++_i447) { - xfer += this->parts[_i421].read(iprot); + xfer += this->parts[_i447].read(iprot); } xfer += iprot->readListEnd(); } @@ -9088,10 +9374,10 @@ uint32_t AddPartitionsRequest::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("parts", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->parts.size())); - std::vector ::const_iterator _iter422; - for (_iter422 = this->parts.begin(); _iter422 != this->parts.end(); ++_iter422) + std::vector ::const_iterator _iter448; + for (_iter448 = this->parts.begin(); _iter448 != this->parts.end(); ++_iter448) { - xfer += (*_iter422).write(oprot); + xfer += (*_iter448).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9121,21 +9407,21 @@ void swap(AddPartitionsRequest &a, AddPartitionsRequest &b) { swap(a.__isset, b.__isset); } -AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other423) { - dbName = other423.dbName; - tblName = other423.tblName; - parts = other423.parts; - ifNotExists = other423.ifNotExists; - needResult = other423.needResult; - __isset = other423.__isset; -} -AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other424) { - dbName = other424.dbName; - tblName = other424.tblName; - parts = other424.parts; - ifNotExists = other424.ifNotExists; - needResult = other424.needResult; - __isset = other424.__isset; +AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other449) { + dbName = other449.dbName; + tblName = other449.tblName; + parts = other449.parts; + ifNotExists = other449.ifNotExists; + needResult = other449.needResult; + __isset = other449.__isset; +} +AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other450) { + dbName = other450.dbName; + tblName = other450.tblName; + parts = other450.parts; + ifNotExists = other450.ifNotExists; + needResult = other450.needResult; + __isset = other450.__isset; return *this; } void AddPartitionsRequest::printTo(std::ostream& out) const { @@ -9184,14 +9470,14 @@ uint32_t DropPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size425; - ::apache::thrift::protocol::TType _etype428; - xfer += iprot->readListBegin(_etype428, _size425); - this->partitions.resize(_size425); - uint32_t _i429; - for (_i429 = 0; _i429 < _size425; ++_i429) + uint32_t _size451; + ::apache::thrift::protocol::TType _etype454; + xfer += iprot->readListBegin(_etype454, _size451); + this->partitions.resize(_size451); + uint32_t _i455; + for (_i455 = 0; _i455 < _size451; ++_i455) { - xfer += this->partitions[_i429].read(iprot); + xfer += this->partitions[_i455].read(iprot); } xfer += iprot->readListEnd(); } @@ -9221,10 +9507,10 @@ uint32_t DropPartitionsResult::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitions.size())); - std::vector ::const_iterator _iter430; - for (_iter430 = this->partitions.begin(); _iter430 != this->partitions.end(); ++_iter430) + std::vector ::const_iterator _iter456; + for (_iter456 = this->partitions.begin(); _iter456 != this->partitions.end(); ++_iter456) { - xfer += (*_iter430).write(oprot); + xfer += (*_iter456).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9241,13 +9527,13 @@ void swap(DropPartitionsResult &a, DropPartitionsResult &b) { swap(a.__isset, b.__isset); } -DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other431) { - partitions = other431.partitions; - __isset = other431.__isset; +DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other457) { + partitions = other457.partitions; + __isset = other457.__isset; } -DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult& other432) { - partitions = other432.partitions; - __isset = other432.__isset; +DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult& other458) { + partitions = other458.partitions; + __isset = other458.__isset; return *this; } void DropPartitionsResult::printTo(std::ostream& out) const { @@ -9349,15 +9635,15 @@ void swap(DropPartitionsExpr &a, DropPartitionsExpr &b) { swap(a.__isset, b.__isset); } -DropPartitionsExpr::DropPartitionsExpr(const DropPartitionsExpr& other433) { - expr = other433.expr; - partArchiveLevel = other433.partArchiveLevel; - __isset = other433.__isset; +DropPartitionsExpr::DropPartitionsExpr(const DropPartitionsExpr& other459) { + expr = other459.expr; + partArchiveLevel = other459.partArchiveLevel; + __isset = other459.__isset; } -DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& other434) { - expr = other434.expr; - partArchiveLevel = other434.partArchiveLevel; - __isset = other434.__isset; +DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& other460) { + expr = other460.expr; + partArchiveLevel = other460.partArchiveLevel; + __isset = other460.__isset; return *this; } void DropPartitionsExpr::printTo(std::ostream& out) const { @@ -9406,14 +9692,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size435; - ::apache::thrift::protocol::TType _etype438; - xfer += iprot->readListBegin(_etype438, _size435); - this->names.resize(_size435); - uint32_t _i439; - for (_i439 = 0; _i439 < _size435; ++_i439) + uint32_t _size461; + ::apache::thrift::protocol::TType _etype464; + xfer += iprot->readListBegin(_etype464, _size461); + this->names.resize(_size461); + uint32_t _i465; + for (_i465 = 0; _i465 < _size461; ++_i465) { - xfer += iprot->readString(this->names[_i439]); + xfer += iprot->readString(this->names[_i465]); } xfer += iprot->readListEnd(); } @@ -9426,14 +9712,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->exprs.clear(); - uint32_t _size440; - ::apache::thrift::protocol::TType _etype443; - xfer += iprot->readListBegin(_etype443, _size440); - this->exprs.resize(_size440); - uint32_t _i444; - for (_i444 = 0; _i444 < _size440; ++_i444) + uint32_t _size466; + ::apache::thrift::protocol::TType _etype469; + xfer += iprot->readListBegin(_etype469, _size466); + this->exprs.resize(_size466); + uint32_t _i470; + for (_i470 = 0; _i470 < _size466; ++_i470) { - xfer += this->exprs[_i444].read(iprot); + xfer += this->exprs[_i470].read(iprot); } xfer += iprot->readListEnd(); } @@ -9462,10 +9748,10 @@ uint32_t RequestPartsSpec::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("names", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->names.size())); - std::vector ::const_iterator _iter445; - for (_iter445 = this->names.begin(); _iter445 != this->names.end(); ++_iter445) + std::vector ::const_iterator _iter471; + for (_iter471 = this->names.begin(); _iter471 != this->names.end(); ++_iter471) { - xfer += oprot->writeString((*_iter445)); + xfer += oprot->writeString((*_iter471)); } xfer += oprot->writeListEnd(); } @@ -9474,10 +9760,10 @@ uint32_t RequestPartsSpec::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("exprs", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->exprs.size())); - std::vector ::const_iterator _iter446; - for (_iter446 = this->exprs.begin(); _iter446 != this->exprs.end(); ++_iter446) + std::vector ::const_iterator _iter472; + for (_iter472 = this->exprs.begin(); _iter472 != this->exprs.end(); ++_iter472) { - xfer += (*_iter446).write(oprot); + xfer += (*_iter472).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9495,15 +9781,15 @@ void swap(RequestPartsSpec &a, RequestPartsSpec &b) { swap(a.__isset, b.__isset); } -RequestPartsSpec::RequestPartsSpec(const RequestPartsSpec& other447) { - names = other447.names; - exprs = other447.exprs; - __isset = other447.__isset; +RequestPartsSpec::RequestPartsSpec(const RequestPartsSpec& other473) { + names = other473.names; + exprs = other473.exprs; + __isset = other473.__isset; } -RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other448) { - names = other448.names; - exprs = other448.exprs; - __isset = other448.__isset; +RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other474) { + names = other474.names; + exprs = other474.exprs; + __isset = other474.__isset; return *this; } void RequestPartsSpec::printTo(std::ostream& out) const { @@ -9722,27 +10008,27 @@ void swap(DropPartitionsRequest &a, DropPartitionsRequest &b) { swap(a.__isset, b.__isset); } -DropPartitionsRequest::DropPartitionsRequest(const DropPartitionsRequest& other449) { - dbName = other449.dbName; - tblName = other449.tblName; - parts = other449.parts; - deleteData = other449.deleteData; - ifExists = other449.ifExists; - ignoreProtection = other449.ignoreProtection; - environmentContext = other449.environmentContext; - needResult = other449.needResult; - __isset = other449.__isset; -} -DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequest& other450) { - dbName = other450.dbName; - tblName = other450.tblName; - parts = other450.parts; - deleteData = other450.deleteData; - ifExists = other450.ifExists; - ignoreProtection = other450.ignoreProtection; - environmentContext = other450.environmentContext; - needResult = other450.needResult; - __isset = other450.__isset; +DropPartitionsRequest::DropPartitionsRequest(const DropPartitionsRequest& other475) { + dbName = other475.dbName; + tblName = other475.tblName; + parts = other475.parts; + deleteData = other475.deleteData; + ifExists = other475.ifExists; + ignoreProtection = other475.ignoreProtection; + environmentContext = other475.environmentContext; + needResult = other475.needResult; + __isset = other475.__isset; +} +DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequest& other476) { + dbName = other476.dbName; + tblName = other476.tblName; + parts = other476.parts; + deleteData = other476.deleteData; + ifExists = other476.ifExists; + ignoreProtection = other476.ignoreProtection; + environmentContext = other476.environmentContext; + needResult = other476.needResult; + __isset = other476.__isset; return *this; } void DropPartitionsRequest::printTo(std::ostream& out) const { @@ -9795,9 +10081,9 @@ uint32_t ResourceUri::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast451; - xfer += iprot->readI32(ecast451); - this->resourceType = (ResourceType::type)ecast451; + int32_t ecast477; + xfer += iprot->readI32(ecast477); + this->resourceType = (ResourceType::type)ecast477; this->__isset.resourceType = true; } else { xfer += iprot->skip(ftype); @@ -9848,15 +10134,15 @@ void swap(ResourceUri &a, ResourceUri &b) { swap(a.__isset, b.__isset); } -ResourceUri::ResourceUri(const ResourceUri& other452) { - resourceType = other452.resourceType; - uri = other452.uri; - __isset = other452.__isset; +ResourceUri::ResourceUri(const ResourceUri& other478) { + resourceType = other478.resourceType; + uri = other478.uri; + __isset = other478.__isset; } -ResourceUri& ResourceUri::operator=(const ResourceUri& other453) { - resourceType = other453.resourceType; - uri = other453.uri; - __isset = other453.__isset; +ResourceUri& ResourceUri::operator=(const ResourceUri& other479) { + resourceType = other479.resourceType; + uri = other479.uri; + __isset = other479.__isset; return *this; } void ResourceUri::printTo(std::ostream& out) const { @@ -9959,9 +10245,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast454; - xfer += iprot->readI32(ecast454); - this->ownerType = (PrincipalType::type)ecast454; + int32_t ecast480; + xfer += iprot->readI32(ecast480); + this->ownerType = (PrincipalType::type)ecast480; this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -9977,9 +10263,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast455; - xfer += iprot->readI32(ecast455); - this->functionType = (FunctionType::type)ecast455; + int32_t ecast481; + xfer += iprot->readI32(ecast481); + this->functionType = (FunctionType::type)ecast481; this->__isset.functionType = true; } else { xfer += iprot->skip(ftype); @@ -9989,14 +10275,14 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourceUris.clear(); - uint32_t _size456; - ::apache::thrift::protocol::TType _etype459; - xfer += iprot->readListBegin(_etype459, _size456); - this->resourceUris.resize(_size456); - uint32_t _i460; - for (_i460 = 0; _i460 < _size456; ++_i460) + uint32_t _size482; + ::apache::thrift::protocol::TType _etype485; + xfer += iprot->readListBegin(_etype485, _size482); + this->resourceUris.resize(_size482); + uint32_t _i486; + for (_i486 = 0; _i486 < _size482; ++_i486) { - xfer += this->resourceUris[_i460].read(iprot); + xfer += this->resourceUris[_i486].read(iprot); } xfer += iprot->readListEnd(); } @@ -10053,10 +10339,10 @@ uint32_t Function::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldBegin("resourceUris", ::apache::thrift::protocol::T_LIST, 8); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->resourceUris.size())); - std::vector ::const_iterator _iter461; - for (_iter461 = this->resourceUris.begin(); _iter461 != this->resourceUris.end(); ++_iter461) + std::vector ::const_iterator _iter487; + for (_iter487 = this->resourceUris.begin(); _iter487 != this->resourceUris.end(); ++_iter487) { - xfer += (*_iter461).write(oprot); + xfer += (*_iter487).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10080,27 +10366,27 @@ void swap(Function &a, Function &b) { swap(a.__isset, b.__isset); } -Function::Function(const Function& other462) { - functionName = other462.functionName; - dbName = other462.dbName; - className = other462.className; - ownerName = other462.ownerName; - ownerType = other462.ownerType; - createTime = other462.createTime; - functionType = other462.functionType; - resourceUris = other462.resourceUris; - __isset = other462.__isset; -} -Function& Function::operator=(const Function& other463) { - functionName = other463.functionName; - dbName = other463.dbName; - className = other463.className; - ownerName = other463.ownerName; - ownerType = other463.ownerType; - createTime = other463.createTime; - functionType = other463.functionType; - resourceUris = other463.resourceUris; - __isset = other463.__isset; +Function::Function(const Function& other488) { + functionName = other488.functionName; + dbName = other488.dbName; + className = other488.className; + ownerName = other488.ownerName; + ownerType = other488.ownerType; + createTime = other488.createTime; + functionType = other488.functionType; + resourceUris = other488.resourceUris; + __isset = other488.__isset; +} +Function& Function::operator=(const Function& other489) { + functionName = other489.functionName; + dbName = other489.dbName; + className = other489.className; + ownerName = other489.ownerName; + ownerType = other489.ownerType; + createTime = other489.createTime; + functionType = other489.functionType; + resourceUris = other489.resourceUris; + __isset = other489.__isset; return *this; } void Function::printTo(std::ostream& out) const { @@ -10188,9 +10474,9 @@ uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast464; - xfer += iprot->readI32(ecast464); - this->state = (TxnState::type)ecast464; + int32_t ecast490; + xfer += iprot->readI32(ecast490); + this->state = (TxnState::type)ecast490; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -10309,25 +10595,25 @@ void swap(TxnInfo &a, TxnInfo &b) { swap(a.__isset, b.__isset); } -TxnInfo::TxnInfo(const TxnInfo& other465) { - id = other465.id; - state = other465.state; - user = other465.user; - hostname = other465.hostname; - agentInfo = other465.agentInfo; - heartbeatCount = other465.heartbeatCount; - metaInfo = other465.metaInfo; - __isset = other465.__isset; -} -TxnInfo& TxnInfo::operator=(const TxnInfo& other466) { - id = other466.id; - state = other466.state; - user = other466.user; - hostname = other466.hostname; - agentInfo = other466.agentInfo; - heartbeatCount = other466.heartbeatCount; - metaInfo = other466.metaInfo; - __isset = other466.__isset; +TxnInfo::TxnInfo(const TxnInfo& other491) { + id = other491.id; + state = other491.state; + user = other491.user; + hostname = other491.hostname; + agentInfo = other491.agentInfo; + heartbeatCount = other491.heartbeatCount; + metaInfo = other491.metaInfo; + __isset = other491.__isset; +} +TxnInfo& TxnInfo::operator=(const TxnInfo& other492) { + id = other492.id; + state = other492.state; + user = other492.user; + hostname = other492.hostname; + agentInfo = other492.agentInfo; + heartbeatCount = other492.heartbeatCount; + metaInfo = other492.metaInfo; + __isset = other492.__isset; return *this; } void TxnInfo::printTo(std::ostream& out) const { @@ -10391,14 +10677,14 @@ uint32_t GetOpenTxnsInfoResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size467; - ::apache::thrift::protocol::TType _etype470; - xfer += iprot->readListBegin(_etype470, _size467); - this->open_txns.resize(_size467); - uint32_t _i471; - for (_i471 = 0; _i471 < _size467; ++_i471) + uint32_t _size493; + ::apache::thrift::protocol::TType _etype496; + xfer += iprot->readListBegin(_etype496, _size493); + this->open_txns.resize(_size493); + uint32_t _i497; + for (_i497 = 0; _i497 < _size493; ++_i497) { - xfer += this->open_txns[_i471].read(iprot); + xfer += this->open_txns[_i497].read(iprot); } xfer += iprot->readListEnd(); } @@ -10435,10 +10721,10 @@ uint32_t GetOpenTxnsInfoResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->open_txns.size())); - std::vector ::const_iterator _iter472; - for (_iter472 = this->open_txns.begin(); _iter472 != this->open_txns.end(); ++_iter472) + std::vector ::const_iterator _iter498; + for (_iter498 = this->open_txns.begin(); _iter498 != this->open_txns.end(); ++_iter498) { - xfer += (*_iter472).write(oprot); + xfer += (*_iter498).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10455,13 +10741,13 @@ void swap(GetOpenTxnsInfoResponse &a, GetOpenTxnsInfoResponse &b) { swap(a.open_txns, b.open_txns); } -GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other473) { - txn_high_water_mark = other473.txn_high_water_mark; - open_txns = other473.open_txns; +GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other499) { + txn_high_water_mark = other499.txn_high_water_mark; + open_txns = other499.open_txns; } -GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other474) { - txn_high_water_mark = other474.txn_high_water_mark; - open_txns = other474.open_txns; +GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other500) { + txn_high_water_mark = other500.txn_high_water_mark; + open_txns = other500.open_txns; return *this; } void GetOpenTxnsInfoResponse::printTo(std::ostream& out) const { @@ -10520,15 +10806,15 @@ uint32_t GetOpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_SET) { { this->open_txns.clear(); - uint32_t _size475; - ::apache::thrift::protocol::TType _etype478; - xfer += iprot->readSetBegin(_etype478, _size475); - uint32_t _i479; - for (_i479 = 0; _i479 < _size475; ++_i479) + uint32_t _size501; + ::apache::thrift::protocol::TType _etype504; + xfer += iprot->readSetBegin(_etype504, _size501); + uint32_t _i505; + for (_i505 = 0; _i505 < _size501; ++_i505) { - int64_t _elem480; - xfer += iprot->readI64(_elem480); - this->open_txns.insert(_elem480); + int64_t _elem506; + xfer += iprot->readI64(_elem506); + this->open_txns.insert(_elem506); } xfer += iprot->readSetEnd(); } @@ -10565,10 +10851,10 @@ uint32_t GetOpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->open_txns.size())); - std::set ::const_iterator _iter481; - for (_iter481 = this->open_txns.begin(); _iter481 != this->open_txns.end(); ++_iter481) + std::set ::const_iterator _iter507; + for (_iter507 = this->open_txns.begin(); _iter507 != this->open_txns.end(); ++_iter507) { - xfer += oprot->writeI64((*_iter481)); + xfer += oprot->writeI64((*_iter507)); } xfer += oprot->writeSetEnd(); } @@ -10585,13 +10871,13 @@ void swap(GetOpenTxnsResponse &a, GetOpenTxnsResponse &b) { swap(a.open_txns, b.open_txns); } -GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other482) { - txn_high_water_mark = other482.txn_high_water_mark; - open_txns = other482.open_txns; +GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other508) { + txn_high_water_mark = other508.txn_high_water_mark; + open_txns = other508.open_txns; } -GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other483) { - txn_high_water_mark = other483.txn_high_water_mark; - open_txns = other483.open_txns; +GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other509) { + txn_high_water_mark = other509.txn_high_water_mark; + open_txns = other509.open_txns; return *this; } void GetOpenTxnsResponse::printTo(std::ostream& out) const { @@ -10734,19 +11020,19 @@ void swap(OpenTxnRequest &a, OpenTxnRequest &b) { swap(a.__isset, b.__isset); } -OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other484) { - num_txns = other484.num_txns; - user = other484.user; - hostname = other484.hostname; - agentInfo = other484.agentInfo; - __isset = other484.__isset; +OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other510) { + num_txns = other510.num_txns; + user = other510.user; + hostname = other510.hostname; + agentInfo = other510.agentInfo; + __isset = other510.__isset; } -OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other485) { - num_txns = other485.num_txns; - user = other485.user; - hostname = other485.hostname; - agentInfo = other485.agentInfo; - __isset = other485.__isset; +OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other511) { + num_txns = other511.num_txns; + user = other511.user; + hostname = other511.hostname; + agentInfo = other511.agentInfo; + __isset = other511.__isset; return *this; } void OpenTxnRequest::printTo(std::ostream& out) const { @@ -10794,14 +11080,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size486; - ::apache::thrift::protocol::TType _etype489; - xfer += iprot->readListBegin(_etype489, _size486); - this->txn_ids.resize(_size486); - uint32_t _i490; - for (_i490 = 0; _i490 < _size486; ++_i490) + uint32_t _size512; + ::apache::thrift::protocol::TType _etype515; + xfer += iprot->readListBegin(_etype515, _size512); + this->txn_ids.resize(_size512); + uint32_t _i516; + for (_i516 = 0; _i516 < _size512; ++_i516) { - xfer += iprot->readI64(this->txn_ids[_i490]); + xfer += iprot->readI64(this->txn_ids[_i516]); } xfer += iprot->readListEnd(); } @@ -10832,10 +11118,10 @@ uint32_t OpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txn_ids.size())); - std::vector ::const_iterator _iter491; - for (_iter491 = this->txn_ids.begin(); _iter491 != this->txn_ids.end(); ++_iter491) + std::vector ::const_iterator _iter517; + for (_iter517 = this->txn_ids.begin(); _iter517 != this->txn_ids.end(); ++_iter517) { - xfer += oprot->writeI64((*_iter491)); + xfer += oprot->writeI64((*_iter517)); } xfer += oprot->writeListEnd(); } @@ -10851,11 +11137,11 @@ void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) { swap(a.txn_ids, b.txn_ids); } -OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other492) { - txn_ids = other492.txn_ids; +OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other518) { + txn_ids = other518.txn_ids; } -OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other493) { - txn_ids = other493.txn_ids; +OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other519) { + txn_ids = other519.txn_ids; return *this; } void OpenTxnsResponse::printTo(std::ostream& out) const { @@ -10937,11 +11223,11 @@ void swap(AbortTxnRequest &a, AbortTxnRequest &b) { swap(a.txnid, b.txnid); } -AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other494) { - txnid = other494.txnid; +AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other520) { + txnid = other520.txnid; } -AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other495) { - txnid = other495.txnid; +AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other521) { + txnid = other521.txnid; return *this; } void AbortTxnRequest::printTo(std::ostream& out) const { @@ -11023,11 +11309,11 @@ void swap(CommitTxnRequest &a, CommitTxnRequest &b) { swap(a.txnid, b.txnid); } -CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other496) { - txnid = other496.txnid; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other522) { + txnid = other522.txnid; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other497) { - txnid = other497.txnid; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other523) { + txnid = other523.txnid; return *this; } void CommitTxnRequest::printTo(std::ostream& out) const { @@ -11090,9 +11376,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast498; - xfer += iprot->readI32(ecast498); - this->type = (LockType::type)ecast498; + int32_t ecast524; + xfer += iprot->readI32(ecast524); + this->type = (LockType::type)ecast524; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -11100,9 +11386,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast499; - xfer += iprot->readI32(ecast499); - this->level = (LockLevel::type)ecast499; + int32_t ecast525; + xfer += iprot->readI32(ecast525); + this->level = (LockLevel::type)ecast525; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -11192,21 +11478,21 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other500) { - type = other500.type; - level = other500.level; - dbname = other500.dbname; - tablename = other500.tablename; - partitionname = other500.partitionname; - __isset = other500.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other501) { - type = other501.type; - level = other501.level; - dbname = other501.dbname; - tablename = other501.tablename; - partitionname = other501.partitionname; - __isset = other501.__isset; +LockComponent::LockComponent(const LockComponent& other526) { + type = other526.type; + level = other526.level; + dbname = other526.dbname; + tablename = other526.tablename; + partitionname = other526.partitionname; + __isset = other526.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other527) { + type = other527.type; + level = other527.level; + dbname = other527.dbname; + tablename = other527.tablename; + partitionname = other527.partitionname; + __isset = other527.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -11275,14 +11561,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size502; - ::apache::thrift::protocol::TType _etype505; - xfer += iprot->readListBegin(_etype505, _size502); - this->component.resize(_size502); - uint32_t _i506; - for (_i506 = 0; _i506 < _size502; ++_i506) + uint32_t _size528; + ::apache::thrift::protocol::TType _etype531; + xfer += iprot->readListBegin(_etype531, _size528); + this->component.resize(_size528); + uint32_t _i532; + for (_i532 = 0; _i532 < _size528; ++_i532) { - xfer += this->component[_i506].read(iprot); + xfer += this->component[_i532].read(iprot); } xfer += iprot->readListEnd(); } @@ -11349,10 +11635,10 @@ uint32_t LockRequest::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldBegin("component", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->component.size())); - std::vector ::const_iterator _iter507; - for (_iter507 = this->component.begin(); _iter507 != this->component.end(); ++_iter507) + std::vector ::const_iterator _iter533; + for (_iter533 = this->component.begin(); _iter533 != this->component.end(); ++_iter533) { - xfer += (*_iter507).write(oprot); + xfer += (*_iter533).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11391,21 +11677,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other508) { - component = other508.component; - txnid = other508.txnid; - user = other508.user; - hostname = other508.hostname; - agentInfo = other508.agentInfo; - __isset = other508.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other509) { - component = other509.component; - txnid = other509.txnid; - user = other509.user; - hostname = other509.hostname; - agentInfo = other509.agentInfo; - __isset = other509.__isset; +LockRequest::LockRequest(const LockRequest& other534) { + component = other534.component; + txnid = other534.txnid; + user = other534.user; + hostname = other534.hostname; + agentInfo = other534.agentInfo; + __isset = other534.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other535) { + component = other535.component; + txnid = other535.txnid; + user = other535.user; + hostname = other535.hostname; + agentInfo = other535.agentInfo; + __isset = other535.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -11465,9 +11751,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast510; - xfer += iprot->readI32(ecast510); - this->state = (LockState::type)ecast510; + int32_t ecast536; + xfer += iprot->readI32(ecast536); + this->state = (LockState::type)ecast536; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -11513,13 +11799,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other511) { - lockid = other511.lockid; - state = other511.state; +LockResponse::LockResponse(const LockResponse& other537) { + lockid = other537.lockid; + state = other537.state; } -LockResponse& LockResponse::operator=(const LockResponse& other512) { - lockid = other512.lockid; - state = other512.state; +LockResponse& LockResponse::operator=(const LockResponse& other538) { + lockid = other538.lockid; + state = other538.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -11641,17 +11927,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other513) { - lockid = other513.lockid; - txnid = other513.txnid; - elapsed_ms = other513.elapsed_ms; - __isset = other513.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other539) { + lockid = other539.lockid; + txnid = other539.txnid; + elapsed_ms = other539.elapsed_ms; + __isset = other539.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other514) { - lockid = other514.lockid; - txnid = other514.txnid; - elapsed_ms = other514.elapsed_ms; - __isset = other514.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other540) { + lockid = other540.lockid; + txnid = other540.txnid; + elapsed_ms = other540.elapsed_ms; + __isset = other540.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -11735,11 +12021,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other515) { - lockid = other515.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other541) { + lockid = other541.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other516) { - lockid = other516.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other542) { + lockid = other542.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -11878,19 +12164,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other517) { - dbname = other517.dbname; - tablename = other517.tablename; - partname = other517.partname; - isExtended = other517.isExtended; - __isset = other517.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other543) { + dbname = other543.dbname; + tablename = other543.tablename; + partname = other543.partname; + isExtended = other543.isExtended; + __isset = other543.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other518) { - dbname = other518.dbname; - tablename = other518.tablename; - partname = other518.partname; - isExtended = other518.isExtended; - __isset = other518.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other544) { + dbname = other544.dbname; + tablename = other544.tablename; + partname = other544.partname; + isExtended = other544.isExtended; + __isset = other544.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -12043,9 +12329,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast519; - xfer += iprot->readI32(ecast519); - this->state = (LockState::type)ecast519; + int32_t ecast545; + xfer += iprot->readI32(ecast545); + this->state = (LockState::type)ecast545; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -12053,9 +12339,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast520; - xfer += iprot->readI32(ecast520); - this->type = (LockType::type)ecast520; + int32_t ecast546; + xfer += iprot->readI32(ecast546); + this->type = (LockType::type)ecast546; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -12271,43 +12557,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other521) { - lockid = other521.lockid; - dbname = other521.dbname; - tablename = other521.tablename; - partname = other521.partname; - state = other521.state; - type = other521.type; - txnid = other521.txnid; - lastheartbeat = other521.lastheartbeat; - acquiredat = other521.acquiredat; - user = other521.user; - hostname = other521.hostname; - heartbeatCount = other521.heartbeatCount; - agentInfo = other521.agentInfo; - blockedByExtId = other521.blockedByExtId; - blockedByIntId = other521.blockedByIntId; - lockIdInternal = other521.lockIdInternal; - __isset = other521.__isset; -} -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other522) { - lockid = other522.lockid; - dbname = other522.dbname; - tablename = other522.tablename; - partname = other522.partname; - state = other522.state; - type = other522.type; - txnid = other522.txnid; - lastheartbeat = other522.lastheartbeat; - acquiredat = other522.acquiredat; - user = other522.user; - hostname = other522.hostname; - heartbeatCount = other522.heartbeatCount; - agentInfo = other522.agentInfo; - blockedByExtId = other522.blockedByExtId; - blockedByIntId = other522.blockedByIntId; - lockIdInternal = other522.lockIdInternal; - __isset = other522.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other547) { + lockid = other547.lockid; + dbname = other547.dbname; + tablename = other547.tablename; + partname = other547.partname; + state = other547.state; + type = other547.type; + txnid = other547.txnid; + lastheartbeat = other547.lastheartbeat; + acquiredat = other547.acquiredat; + user = other547.user; + hostname = other547.hostname; + heartbeatCount = other547.heartbeatCount; + agentInfo = other547.agentInfo; + blockedByExtId = other547.blockedByExtId; + blockedByIntId = other547.blockedByIntId; + lockIdInternal = other547.lockIdInternal; + __isset = other547.__isset; +} +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other548) { + lockid = other548.lockid; + dbname = other548.dbname; + tablename = other548.tablename; + partname = other548.partname; + state = other548.state; + type = other548.type; + txnid = other548.txnid; + lastheartbeat = other548.lastheartbeat; + acquiredat = other548.acquiredat; + user = other548.user; + hostname = other548.hostname; + heartbeatCount = other548.heartbeatCount; + agentInfo = other548.agentInfo; + blockedByExtId = other548.blockedByExtId; + blockedByIntId = other548.blockedByIntId; + lockIdInternal = other548.lockIdInternal; + __isset = other548.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -12366,14 +12652,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size523; - ::apache::thrift::protocol::TType _etype526; - xfer += iprot->readListBegin(_etype526, _size523); - this->locks.resize(_size523); - uint32_t _i527; - for (_i527 = 0; _i527 < _size523; ++_i527) + uint32_t _size549; + ::apache::thrift::protocol::TType _etype552; + xfer += iprot->readListBegin(_etype552, _size549); + this->locks.resize(_size549); + uint32_t _i553; + for (_i553 = 0; _i553 < _size549; ++_i553) { - xfer += this->locks[_i527].read(iprot); + xfer += this->locks[_i553].read(iprot); } xfer += iprot->readListEnd(); } @@ -12402,10 +12688,10 @@ uint32_t ShowLocksResponse::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("locks", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->locks.size())); - std::vector ::const_iterator _iter528; - for (_iter528 = this->locks.begin(); _iter528 != this->locks.end(); ++_iter528) + std::vector ::const_iterator _iter554; + for (_iter554 = this->locks.begin(); _iter554 != this->locks.end(); ++_iter554) { - xfer += (*_iter528).write(oprot); + xfer += (*_iter554).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12422,13 +12708,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other529) { - locks = other529.locks; - __isset = other529.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other555) { + locks = other555.locks; + __isset = other555.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other530) { - locks = other530.locks; - __isset = other530.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other556) { + locks = other556.locks; + __isset = other556.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -12529,15 +12815,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other531) { - lockid = other531.lockid; - txnid = other531.txnid; - __isset = other531.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other557) { + lockid = other557.lockid; + txnid = other557.txnid; + __isset = other557.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other532) { - lockid = other532.lockid; - txnid = other532.txnid; - __isset = other532.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other558) { + lockid = other558.lockid; + txnid = other558.txnid; + __isset = other558.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -12640,13 +12926,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other533) { - min = other533.min; - max = other533.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other559) { + min = other559.min; + max = other559.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other534) { - min = other534.min; - max = other534.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other560) { + min = other560.min; + max = other560.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -12697,15 +12983,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size535; - ::apache::thrift::protocol::TType _etype538; - xfer += iprot->readSetBegin(_etype538, _size535); - uint32_t _i539; - for (_i539 = 0; _i539 < _size535; ++_i539) + uint32_t _size561; + ::apache::thrift::protocol::TType _etype564; + xfer += iprot->readSetBegin(_etype564, _size561); + uint32_t _i565; + for (_i565 = 0; _i565 < _size561; ++_i565) { - int64_t _elem540; - xfer += iprot->readI64(_elem540); - this->aborted.insert(_elem540); + int64_t _elem566; + xfer += iprot->readI64(_elem566); + this->aborted.insert(_elem566); } xfer += iprot->readSetEnd(); } @@ -12718,15 +13004,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size541; - ::apache::thrift::protocol::TType _etype544; - xfer += iprot->readSetBegin(_etype544, _size541); - uint32_t _i545; - for (_i545 = 0; _i545 < _size541; ++_i545) + uint32_t _size567; + ::apache::thrift::protocol::TType _etype570; + xfer += iprot->readSetBegin(_etype570, _size567); + uint32_t _i571; + for (_i571 = 0; _i571 < _size567; ++_i571) { - int64_t _elem546; - xfer += iprot->readI64(_elem546); - this->nosuch.insert(_elem546); + int64_t _elem572; + xfer += iprot->readI64(_elem572); + this->nosuch.insert(_elem572); } xfer += iprot->readSetEnd(); } @@ -12759,10 +13045,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("aborted", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->aborted.size())); - std::set ::const_iterator _iter547; - for (_iter547 = this->aborted.begin(); _iter547 != this->aborted.end(); ++_iter547) + std::set ::const_iterator _iter573; + for (_iter573 = this->aborted.begin(); _iter573 != this->aborted.end(); ++_iter573) { - xfer += oprot->writeI64((*_iter547)); + xfer += oprot->writeI64((*_iter573)); } xfer += oprot->writeSetEnd(); } @@ -12771,10 +13057,10 @@ uint32_t HeartbeatTxnRangeResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("nosuch", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_I64, static_cast(this->nosuch.size())); - std::set ::const_iterator _iter548; - for (_iter548 = this->nosuch.begin(); _iter548 != this->nosuch.end(); ++_iter548) + std::set ::const_iterator _iter574; + for (_iter574 = this->nosuch.begin(); _iter574 != this->nosuch.end(); ++_iter574) { - xfer += oprot->writeI64((*_iter548)); + xfer += oprot->writeI64((*_iter574)); } xfer += oprot->writeSetEnd(); } @@ -12791,13 +13077,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other549) { - aborted = other549.aborted; - nosuch = other549.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other575) { + aborted = other575.aborted; + nosuch = other575.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other550) { - aborted = other550.aborted; - nosuch = other550.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other576) { + aborted = other576.aborted; + nosuch = other576.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -12885,9 +13171,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast551; - xfer += iprot->readI32(ecast551); - this->type = (CompactionType::type)ecast551; + int32_t ecast577; + xfer += iprot->readI32(ecast577); + this->type = (CompactionType::type)ecast577; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -12961,21 +13247,21 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other552) { - dbname = other552.dbname; - tablename = other552.tablename; - partitionname = other552.partitionname; - type = other552.type; - runas = other552.runas; - __isset = other552.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other553) { - dbname = other553.dbname; - tablename = other553.tablename; - partitionname = other553.partitionname; - type = other553.type; - runas = other553.runas; - __isset = other553.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other578) { + dbname = other578.dbname; + tablename = other578.tablename; + partitionname = other578.partitionname; + type = other578.type; + runas = other578.runas; + __isset = other578.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other579) { + dbname = other579.dbname; + tablename = other579.tablename; + partitionname = other579.partitionname; + type = other579.type; + runas = other579.runas; + __isset = other579.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -13038,11 +13324,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other554) { - (void) other554; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other580) { + (void) other580; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other555) { - (void) other555; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other581) { + (void) other581; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -13163,9 +13449,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast556; - xfer += iprot->readI32(ecast556); - this->type = (CompactionType::type)ecast556; + int32_t ecast582; + xfer += iprot->readI32(ecast582); + this->type = (CompactionType::type)ecast582; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -13338,35 +13624,35 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other557) { - dbname = other557.dbname; - tablename = other557.tablename; - partitionname = other557.partitionname; - type = other557.type; - state = other557.state; - workerid = other557.workerid; - start = other557.start; - runAs = other557.runAs; - hightestTxnId = other557.hightestTxnId; - metaInfo = other557.metaInfo; - endTime = other557.endTime; - hadoopJobId = other557.hadoopJobId; - __isset = other557.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other558) { - dbname = other558.dbname; - tablename = other558.tablename; - partitionname = other558.partitionname; - type = other558.type; - state = other558.state; - workerid = other558.workerid; - start = other558.start; - runAs = other558.runAs; - hightestTxnId = other558.hightestTxnId; - metaInfo = other558.metaInfo; - endTime = other558.endTime; - hadoopJobId = other558.hadoopJobId; - __isset = other558.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other583) { + dbname = other583.dbname; + tablename = other583.tablename; + partitionname = other583.partitionname; + type = other583.type; + state = other583.state; + workerid = other583.workerid; + start = other583.start; + runAs = other583.runAs; + hightestTxnId = other583.hightestTxnId; + metaInfo = other583.metaInfo; + endTime = other583.endTime; + hadoopJobId = other583.hadoopJobId; + __isset = other583.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other584) { + dbname = other584.dbname; + tablename = other584.tablename; + partitionname = other584.partitionname; + type = other584.type; + state = other584.state; + workerid = other584.workerid; + start = other584.start; + runAs = other584.runAs; + hightestTxnId = other584.hightestTxnId; + metaInfo = other584.metaInfo; + endTime = other584.endTime; + hadoopJobId = other584.hadoopJobId; + __isset = other584.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -13422,14 +13708,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size559; - ::apache::thrift::protocol::TType _etype562; - xfer += iprot->readListBegin(_etype562, _size559); - this->compacts.resize(_size559); - uint32_t _i563; - for (_i563 = 0; _i563 < _size559; ++_i563) + uint32_t _size585; + ::apache::thrift::protocol::TType _etype588; + xfer += iprot->readListBegin(_etype588, _size585); + this->compacts.resize(_size585); + uint32_t _i589; + for (_i589 = 0; _i589 < _size585; ++_i589) { - xfer += this->compacts[_i563].read(iprot); + xfer += this->compacts[_i589].read(iprot); } xfer += iprot->readListEnd(); } @@ -13460,10 +13746,10 @@ uint32_t ShowCompactResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("compacts", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->compacts.size())); - std::vector ::const_iterator _iter564; - for (_iter564 = this->compacts.begin(); _iter564 != this->compacts.end(); ++_iter564) + std::vector ::const_iterator _iter590; + for (_iter590 = this->compacts.begin(); _iter590 != this->compacts.end(); ++_iter590) { - xfer += (*_iter564).write(oprot); + xfer += (*_iter590).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13479,11 +13765,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other565) { - compacts = other565.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other591) { + compacts = other591.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other566) { - compacts = other566.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other592) { + compacts = other592.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -13567,14 +13853,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size567; - ::apache::thrift::protocol::TType _etype570; - xfer += iprot->readListBegin(_etype570, _size567); - this->partitionnames.resize(_size567); - uint32_t _i571; - for (_i571 = 0; _i571 < _size567; ++_i571) + uint32_t _size593; + ::apache::thrift::protocol::TType _etype596; + xfer += iprot->readListBegin(_etype596, _size593); + this->partitionnames.resize(_size593); + uint32_t _i597; + for (_i597 = 0; _i597 < _size593; ++_i597) { - xfer += iprot->readString(this->partitionnames[_i571]); + xfer += iprot->readString(this->partitionnames[_i597]); } xfer += iprot->readListEnd(); } @@ -13623,10 +13909,10 @@ uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitionnames", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionnames.size())); - std::vector ::const_iterator _iter572; - for (_iter572 = this->partitionnames.begin(); _iter572 != this->partitionnames.end(); ++_iter572) + std::vector ::const_iterator _iter598; + for (_iter598 = this->partitionnames.begin(); _iter598 != this->partitionnames.end(); ++_iter598) { - xfer += oprot->writeString((*_iter572)); + xfer += oprot->writeString((*_iter598)); } xfer += oprot->writeListEnd(); } @@ -13645,17 +13931,17 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.partitionnames, b.partitionnames); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other573) { - txnid = other573.txnid; - dbname = other573.dbname; - tablename = other573.tablename; - partitionnames = other573.partitionnames; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other599) { + txnid = other599.txnid; + dbname = other599.dbname; + tablename = other599.tablename; + partitionnames = other599.partitionnames; } -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other574) { - txnid = other574.txnid; - dbname = other574.dbname; - tablename = other574.tablename; - partitionnames = other574.partitionnames; +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other600) { + txnid = other600.txnid; + dbname = other600.dbname; + tablename = other600.tablename; + partitionnames = other600.partitionnames; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -13760,15 +14046,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other575) { - lastEvent = other575.lastEvent; - maxEvents = other575.maxEvents; - __isset = other575.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other601) { + lastEvent = other601.lastEvent; + maxEvents = other601.maxEvents; + __isset = other601.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other576) { - lastEvent = other576.lastEvent; - maxEvents = other576.maxEvents; - __isset = other576.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other602) { + lastEvent = other602.lastEvent; + maxEvents = other602.maxEvents; + __isset = other602.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -13950,23 +14236,23 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other577) { - eventId = other577.eventId; - eventTime = other577.eventTime; - eventType = other577.eventType; - dbName = other577.dbName; - tableName = other577.tableName; - message = other577.message; - __isset = other577.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other578) { - eventId = other578.eventId; - eventTime = other578.eventTime; - eventType = other578.eventType; - dbName = other578.dbName; - tableName = other578.tableName; - message = other578.message; - __isset = other578.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other603) { + eventId = other603.eventId; + eventTime = other603.eventTime; + eventType = other603.eventType; + dbName = other603.dbName; + tableName = other603.tableName; + message = other603.message; + __isset = other603.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other604) { + eventId = other604.eventId; + eventTime = other604.eventTime; + eventType = other604.eventType; + dbName = other604.dbName; + tableName = other604.tableName; + message = other604.message; + __isset = other604.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -14016,14 +14302,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size579; - ::apache::thrift::protocol::TType _etype582; - xfer += iprot->readListBegin(_etype582, _size579); - this->events.resize(_size579); - uint32_t _i583; - for (_i583 = 0; _i583 < _size579; ++_i583) + uint32_t _size605; + ::apache::thrift::protocol::TType _etype608; + xfer += iprot->readListBegin(_etype608, _size605); + this->events.resize(_size605); + uint32_t _i609; + for (_i609 = 0; _i609 < _size605; ++_i609) { - xfer += this->events[_i583].read(iprot); + xfer += this->events[_i609].read(iprot); } xfer += iprot->readListEnd(); } @@ -14054,10 +14340,10 @@ uint32_t NotificationEventResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("events", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->events.size())); - std::vector ::const_iterator _iter584; - for (_iter584 = this->events.begin(); _iter584 != this->events.end(); ++_iter584) + std::vector ::const_iterator _iter610; + for (_iter610 = this->events.begin(); _iter610 != this->events.end(); ++_iter610) { - xfer += (*_iter584).write(oprot); + xfer += (*_iter610).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14073,11 +14359,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other585) { - events = other585.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other611) { + events = other611.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other586) { - events = other586.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other612) { + events = other612.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -14159,11 +14445,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other587) { - eventId = other587.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other613) { + eventId = other613.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other588) { - eventId = other588.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other614) { + eventId = other614.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -14208,14 +14494,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size589; - ::apache::thrift::protocol::TType _etype592; - xfer += iprot->readListBegin(_etype592, _size589); - this->filesAdded.resize(_size589); - uint32_t _i593; - for (_i593 = 0; _i593 < _size589; ++_i593) + uint32_t _size615; + ::apache::thrift::protocol::TType _etype618; + xfer += iprot->readListBegin(_etype618, _size615); + this->filesAdded.resize(_size615); + uint32_t _i619; + for (_i619 = 0; _i619 < _size615; ++_i619) { - xfer += iprot->readString(this->filesAdded[_i593]); + xfer += iprot->readString(this->filesAdded[_i619]); } xfer += iprot->readListEnd(); } @@ -14246,10 +14532,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAdded.size())); - std::vector ::const_iterator _iter594; - for (_iter594 = this->filesAdded.begin(); _iter594 != this->filesAdded.end(); ++_iter594) + std::vector ::const_iterator _iter620; + for (_iter620 = this->filesAdded.begin(); _iter620 != this->filesAdded.end(); ++_iter620) { - xfer += oprot->writeString((*_iter594)); + xfer += oprot->writeString((*_iter620)); } xfer += oprot->writeListEnd(); } @@ -14265,11 +14551,11 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.filesAdded, b.filesAdded); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other595) { - filesAdded = other595.filesAdded; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other621) { + filesAdded = other621.filesAdded; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other596) { - filesAdded = other596.filesAdded; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other622) { + filesAdded = other622.filesAdded; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -14349,13 +14635,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other597) { - insertData = other597.insertData; - __isset = other597.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other623) { + insertData = other623.insertData; + __isset = other623.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other598) { - insertData = other598.insertData; - __isset = other598.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other624) { + insertData = other624.insertData; + __isset = other624.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -14452,14 +14738,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size599; - ::apache::thrift::protocol::TType _etype602; - xfer += iprot->readListBegin(_etype602, _size599); - this->partitionVals.resize(_size599); - uint32_t _i603; - for (_i603 = 0; _i603 < _size599; ++_i603) + uint32_t _size625; + ::apache::thrift::protocol::TType _etype628; + xfer += iprot->readListBegin(_etype628, _size625); + this->partitionVals.resize(_size625); + uint32_t _i629; + for (_i629 = 0; _i629 < _size625; ++_i629) { - xfer += iprot->readString(this->partitionVals[_i603]); + xfer += iprot->readString(this->partitionVals[_i629]); } xfer += iprot->readListEnd(); } @@ -14511,10 +14797,10 @@ uint32_t FireEventRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("partitionVals", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionVals.size())); - std::vector ::const_iterator _iter604; - for (_iter604 = this->partitionVals.begin(); _iter604 != this->partitionVals.end(); ++_iter604) + std::vector ::const_iterator _iter630; + for (_iter630 = this->partitionVals.begin(); _iter630 != this->partitionVals.end(); ++_iter630) { - xfer += oprot->writeString((*_iter604)); + xfer += oprot->writeString((*_iter630)); } xfer += oprot->writeListEnd(); } @@ -14535,21 +14821,21 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other605) { - successful = other605.successful; - data = other605.data; - dbName = other605.dbName; - tableName = other605.tableName; - partitionVals = other605.partitionVals; - __isset = other605.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other606) { - successful = other606.successful; - data = other606.data; - dbName = other606.dbName; - tableName = other606.tableName; - partitionVals = other606.partitionVals; - __isset = other606.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other631) { + successful = other631.successful; + data = other631.data; + dbName = other631.dbName; + tableName = other631.tableName; + partitionVals = other631.partitionVals; + __isset = other631.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other632) { + successful = other632.successful; + data = other632.data; + dbName = other632.dbName; + tableName = other632.tableName; + partitionVals = other632.partitionVals; + __isset = other632.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -14612,11 +14898,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other607) { - (void) other607; +FireEventResponse::FireEventResponse(const FireEventResponse& other633) { + (void) other633; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other608) { - (void) other608; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other634) { + (void) other634; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -14697,11 +14983,11 @@ void swap(GetChangeVersionRequest &a, GetChangeVersionRequest &b) { swap(a.topic, b.topic); } -GetChangeVersionRequest::GetChangeVersionRequest(const GetChangeVersionRequest& other609) { - topic = other609.topic; +GetChangeVersionRequest::GetChangeVersionRequest(const GetChangeVersionRequest& other635) { + topic = other635.topic; } -GetChangeVersionRequest& GetChangeVersionRequest::operator=(const GetChangeVersionRequest& other610) { - topic = other610.topic; +GetChangeVersionRequest& GetChangeVersionRequest::operator=(const GetChangeVersionRequest& other636) { + topic = other636.topic; return *this; } void GetChangeVersionRequest::printTo(std::ostream& out) const { @@ -14783,11 +15069,11 @@ void swap(GetChangeVersionResult &a, GetChangeVersionResult &b) { swap(a.version, b.version); } -GetChangeVersionResult::GetChangeVersionResult(const GetChangeVersionResult& other611) { - version = other611.version; +GetChangeVersionResult::GetChangeVersionResult(const GetChangeVersionResult& other637) { + version = other637.version; } -GetChangeVersionResult& GetChangeVersionResult::operator=(const GetChangeVersionResult& other612) { - version = other612.version; +GetChangeVersionResult& GetChangeVersionResult::operator=(const GetChangeVersionResult& other638) { + version = other638.version; return *this; } void GetChangeVersionResult::printTo(std::ostream& out) const { @@ -14888,15 +15174,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other613) { - metadata = other613.metadata; - includeBitset = other613.includeBitset; - __isset = other613.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other639) { + metadata = other639.metadata; + includeBitset = other639.includeBitset; + __isset = other639.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other614) { - metadata = other614.metadata; - includeBitset = other614.includeBitset; - __isset = other614.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other640) { + metadata = other640.metadata; + includeBitset = other640.includeBitset; + __isset = other640.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -14947,17 +15233,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size615; - ::apache::thrift::protocol::TType _ktype616; - ::apache::thrift::protocol::TType _vtype617; - xfer += iprot->readMapBegin(_ktype616, _vtype617, _size615); - uint32_t _i619; - for (_i619 = 0; _i619 < _size615; ++_i619) + uint32_t _size641; + ::apache::thrift::protocol::TType _ktype642; + ::apache::thrift::protocol::TType _vtype643; + xfer += iprot->readMapBegin(_ktype642, _vtype643, _size641); + uint32_t _i645; + for (_i645 = 0; _i645 < _size641; ++_i645) { - int64_t _key620; - xfer += iprot->readI64(_key620); - MetadataPpdResult& _val621 = this->metadata[_key620]; - xfer += _val621.read(iprot); + int64_t _key646; + xfer += iprot->readI64(_key646); + MetadataPpdResult& _val647 = this->metadata[_key646]; + xfer += _val647.read(iprot); } xfer += iprot->readMapEnd(); } @@ -14998,11 +15284,11 @@ uint32_t GetFileMetadataByExprResult::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRUCT, static_cast(this->metadata.size())); - std::map ::const_iterator _iter622; - for (_iter622 = this->metadata.begin(); _iter622 != this->metadata.end(); ++_iter622) + std::map ::const_iterator _iter648; + for (_iter648 = this->metadata.begin(); _iter648 != this->metadata.end(); ++_iter648) { - xfer += oprot->writeI64(_iter622->first); - xfer += _iter622->second.write(oprot); + xfer += oprot->writeI64(_iter648->first); + xfer += _iter648->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -15023,13 +15309,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other623) { - metadata = other623.metadata; - isSupported = other623.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other649) { + metadata = other649.metadata; + isSupported = other649.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other624) { - metadata = other624.metadata; - isSupported = other624.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other650) { + metadata = other650.metadata; + isSupported = other650.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -15090,14 +15376,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size625; - ::apache::thrift::protocol::TType _etype628; - xfer += iprot->readListBegin(_etype628, _size625); - this->fileIds.resize(_size625); - uint32_t _i629; - for (_i629 = 0; _i629 < _size625; ++_i629) + uint32_t _size651; + ::apache::thrift::protocol::TType _etype654; + xfer += iprot->readListBegin(_etype654, _size651); + this->fileIds.resize(_size651); + uint32_t _i655; + for (_i655 = 0; _i655 < _size651; ++_i655) { - xfer += iprot->readI64(this->fileIds[_i629]); + xfer += iprot->readI64(this->fileIds[_i655]); } xfer += iprot->readListEnd(); } @@ -15124,9 +15410,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast630; - xfer += iprot->readI32(ecast630); - this->type = (FileMetadataExprType::type)ecast630; + int32_t ecast656; + xfer += iprot->readI32(ecast656); + this->type = (FileMetadataExprType::type)ecast656; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -15156,10 +15442,10 @@ uint32_t GetFileMetadataByExprRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter631; - for (_iter631 = this->fileIds.begin(); _iter631 != this->fileIds.end(); ++_iter631) + std::vector ::const_iterator _iter657; + for (_iter657 = this->fileIds.begin(); _iter657 != this->fileIds.end(); ++_iter657) { - xfer += oprot->writeI64((*_iter631)); + xfer += oprot->writeI64((*_iter657)); } xfer += oprot->writeListEnd(); } @@ -15193,19 +15479,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other632) { - fileIds = other632.fileIds; - expr = other632.expr; - doGetFooters = other632.doGetFooters; - type = other632.type; - __isset = other632.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other658) { + fileIds = other658.fileIds; + expr = other658.expr; + doGetFooters = other658.doGetFooters; + type = other658.type; + __isset = other658.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other633) { - fileIds = other633.fileIds; - expr = other633.expr; - doGetFooters = other633.doGetFooters; - type = other633.type; - __isset = other633.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other659) { + fileIds = other659.fileIds; + expr = other659.expr; + doGetFooters = other659.doGetFooters; + type = other659.type; + __isset = other659.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -15258,17 +15544,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size634; - ::apache::thrift::protocol::TType _ktype635; - ::apache::thrift::protocol::TType _vtype636; - xfer += iprot->readMapBegin(_ktype635, _vtype636, _size634); - uint32_t _i638; - for (_i638 = 0; _i638 < _size634; ++_i638) + uint32_t _size660; + ::apache::thrift::protocol::TType _ktype661; + ::apache::thrift::protocol::TType _vtype662; + xfer += iprot->readMapBegin(_ktype661, _vtype662, _size660); + uint32_t _i664; + for (_i664 = 0; _i664 < _size660; ++_i664) { - int64_t _key639; - xfer += iprot->readI64(_key639); - std::string& _val640 = this->metadata[_key639]; - xfer += iprot->readBinary(_val640); + int64_t _key665; + xfer += iprot->readI64(_key665); + std::string& _val666 = this->metadata[_key665]; + xfer += iprot->readBinary(_val666); } xfer += iprot->readMapEnd(); } @@ -15309,11 +15595,11 @@ uint32_t GetFileMetadataResult::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_MAP, 1); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_I64, ::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::map ::const_iterator _iter641; - for (_iter641 = this->metadata.begin(); _iter641 != this->metadata.end(); ++_iter641) + std::map ::const_iterator _iter667; + for (_iter667 = this->metadata.begin(); _iter667 != this->metadata.end(); ++_iter667) { - xfer += oprot->writeI64(_iter641->first); - xfer += oprot->writeBinary(_iter641->second); + xfer += oprot->writeI64(_iter667->first); + xfer += oprot->writeBinary(_iter667->second); } xfer += oprot->writeMapEnd(); } @@ -15334,13 +15620,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other642) { - metadata = other642.metadata; - isSupported = other642.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other668) { + metadata = other668.metadata; + isSupported = other668.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other643) { - metadata = other643.metadata; - isSupported = other643.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other669) { + metadata = other669.metadata; + isSupported = other669.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -15386,14 +15672,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size644; - ::apache::thrift::protocol::TType _etype647; - xfer += iprot->readListBegin(_etype647, _size644); - this->fileIds.resize(_size644); - uint32_t _i648; - for (_i648 = 0; _i648 < _size644; ++_i648) + uint32_t _size670; + ::apache::thrift::protocol::TType _etype673; + xfer += iprot->readListBegin(_etype673, _size670); + this->fileIds.resize(_size670); + uint32_t _i674; + for (_i674 = 0; _i674 < _size670; ++_i674) { - xfer += iprot->readI64(this->fileIds[_i648]); + xfer += iprot->readI64(this->fileIds[_i674]); } xfer += iprot->readListEnd(); } @@ -15424,10 +15710,10 @@ uint32_t GetFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter649; - for (_iter649 = this->fileIds.begin(); _iter649 != this->fileIds.end(); ++_iter649) + std::vector ::const_iterator _iter675; + for (_iter675 = this->fileIds.begin(); _iter675 != this->fileIds.end(); ++_iter675) { - xfer += oprot->writeI64((*_iter649)); + xfer += oprot->writeI64((*_iter675)); } xfer += oprot->writeListEnd(); } @@ -15443,11 +15729,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other650) { - fileIds = other650.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other676) { + fileIds = other676.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other651) { - fileIds = other651.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other677) { + fileIds = other677.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -15506,11 +15792,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other652) { - (void) other652; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other678) { + (void) other678; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other653) { - (void) other653; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other679) { + (void) other679; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -15564,14 +15850,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size654; - ::apache::thrift::protocol::TType _etype657; - xfer += iprot->readListBegin(_etype657, _size654); - this->fileIds.resize(_size654); - uint32_t _i658; - for (_i658 = 0; _i658 < _size654; ++_i658) + uint32_t _size680; + ::apache::thrift::protocol::TType _etype683; + xfer += iprot->readListBegin(_etype683, _size680); + this->fileIds.resize(_size680); + uint32_t _i684; + for (_i684 = 0; _i684 < _size680; ++_i684) { - xfer += iprot->readI64(this->fileIds[_i658]); + xfer += iprot->readI64(this->fileIds[_i684]); } xfer += iprot->readListEnd(); } @@ -15584,14 +15870,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size659; - ::apache::thrift::protocol::TType _etype662; - xfer += iprot->readListBegin(_etype662, _size659); - this->metadata.resize(_size659); - uint32_t _i663; - for (_i663 = 0; _i663 < _size659; ++_i663) + uint32_t _size685; + ::apache::thrift::protocol::TType _etype688; + xfer += iprot->readListBegin(_etype688, _size685); + this->metadata.resize(_size685); + uint32_t _i689; + for (_i689 = 0; _i689 < _size685; ++_i689) { - xfer += iprot->readBinary(this->metadata[_i663]); + xfer += iprot->readBinary(this->metadata[_i689]); } xfer += iprot->readListEnd(); } @@ -15602,9 +15888,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast664; - xfer += iprot->readI32(ecast664); - this->type = (FileMetadataExprType::type)ecast664; + int32_t ecast690; + xfer += iprot->readI32(ecast690); + this->type = (FileMetadataExprType::type)ecast690; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -15634,10 +15920,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter665; - for (_iter665 = this->fileIds.begin(); _iter665 != this->fileIds.end(); ++_iter665) + std::vector ::const_iterator _iter691; + for (_iter691 = this->fileIds.begin(); _iter691 != this->fileIds.end(); ++_iter691) { - xfer += oprot->writeI64((*_iter665)); + xfer += oprot->writeI64((*_iter691)); } xfer += oprot->writeListEnd(); } @@ -15646,10 +15932,10 @@ uint32_t PutFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("metadata", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->metadata.size())); - std::vector ::const_iterator _iter666; - for (_iter666 = this->metadata.begin(); _iter666 != this->metadata.end(); ++_iter666) + std::vector ::const_iterator _iter692; + for (_iter692 = this->metadata.begin(); _iter692 != this->metadata.end(); ++_iter692) { - xfer += oprot->writeBinary((*_iter666)); + xfer += oprot->writeBinary((*_iter692)); } xfer += oprot->writeListEnd(); } @@ -15673,17 +15959,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other667) { - fileIds = other667.fileIds; - metadata = other667.metadata; - type = other667.type; - __isset = other667.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other693) { + fileIds = other693.fileIds; + metadata = other693.metadata; + type = other693.type; + __isset = other693.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other668) { - fileIds = other668.fileIds; - metadata = other668.metadata; - type = other668.type; - __isset = other668.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other694) { + fileIds = other694.fileIds; + metadata = other694.metadata; + type = other694.type; + __isset = other694.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -15744,11 +16030,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other669) { - (void) other669; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other695) { + (void) other695; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other670) { - (void) other670; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other696) { + (void) other696; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -15792,14 +16078,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size671; - ::apache::thrift::protocol::TType _etype674; - xfer += iprot->readListBegin(_etype674, _size671); - this->fileIds.resize(_size671); - uint32_t _i675; - for (_i675 = 0; _i675 < _size671; ++_i675) + uint32_t _size697; + ::apache::thrift::protocol::TType _etype700; + xfer += iprot->readListBegin(_etype700, _size697); + this->fileIds.resize(_size697); + uint32_t _i701; + for (_i701 = 0; _i701 < _size697; ++_i701) { - xfer += iprot->readI64(this->fileIds[_i675]); + xfer += iprot->readI64(this->fileIds[_i701]); } xfer += iprot->readListEnd(); } @@ -15830,10 +16116,10 @@ uint32_t ClearFileMetadataRequest::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("fileIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->fileIds.size())); - std::vector ::const_iterator _iter676; - for (_iter676 = this->fileIds.begin(); _iter676 != this->fileIds.end(); ++_iter676) + std::vector ::const_iterator _iter702; + for (_iter702 = this->fileIds.begin(); _iter702 != this->fileIds.end(); ++_iter702) { - xfer += oprot->writeI64((*_iter676)); + xfer += oprot->writeI64((*_iter702)); } xfer += oprot->writeListEnd(); } @@ -15849,11 +16135,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other677) { - fileIds = other677.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other703) { + fileIds = other703.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other678) { - fileIds = other678.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other704) { + fileIds = other704.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -15935,11 +16221,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other679) { - isSupported = other679.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other705) { + isSupported = other705.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other680) { - isSupported = other680.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other706) { + isSupported = other706.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -16080,19 +16366,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other681) { - dbName = other681.dbName; - tblName = other681.tblName; - partName = other681.partName; - isAllParts = other681.isAllParts; - __isset = other681.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other707) { + dbName = other707.dbName; + tblName = other707.tblName; + partName = other707.partName; + isAllParts = other707.isAllParts; + __isset = other707.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other682) { - dbName = other682.dbName; - tblName = other682.tblName; - partName = other682.partName; - isAllParts = other682.isAllParts; - __isset = other682.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other708) { + dbName = other708.dbName; + tblName = other708.tblName; + partName = other708.partName; + isAllParts = other708.isAllParts; + __isset = other708.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -16140,14 +16426,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size683; - ::apache::thrift::protocol::TType _etype686; - xfer += iprot->readListBegin(_etype686, _size683); - this->functions.resize(_size683); - uint32_t _i687; - for (_i687 = 0; _i687 < _size683; ++_i687) + uint32_t _size709; + ::apache::thrift::protocol::TType _etype712; + xfer += iprot->readListBegin(_etype712, _size709); + this->functions.resize(_size709); + uint32_t _i713; + for (_i713 = 0; _i713 < _size709; ++_i713) { - xfer += this->functions[_i687].read(iprot); + xfer += this->functions[_i713].read(iprot); } xfer += iprot->readListEnd(); } @@ -16177,10 +16463,10 @@ uint32_t GetAllFunctionsResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("functions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->functions.size())); - std::vector ::const_iterator _iter688; - for (_iter688 = this->functions.begin(); _iter688 != this->functions.end(); ++_iter688) + std::vector ::const_iterator _iter714; + for (_iter714 = this->functions.begin(); _iter714 != this->functions.end(); ++_iter714) { - xfer += (*_iter688).write(oprot); + xfer += (*_iter714).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16197,13 +16483,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other689) { - functions = other689.functions; - __isset = other689.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other715) { + functions = other715.functions; + __isset = other715.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other690) { - functions = other690.functions; - __isset = other690.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other716) { + functions = other716.functions; + __isset = other716.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -16345,19 +16631,19 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other691) { - dbName = other691.dbName; - tableName = other691.tableName; - tableType = other691.tableType; - comments = other691.comments; - __isset = other691.__isset; +TableMeta::TableMeta(const TableMeta& other717) { + dbName = other717.dbName; + tableName = other717.tableName; + tableType = other717.tableType; + comments = other717.comments; + __isset = other717.__isset; } -TableMeta& TableMeta::operator=(const TableMeta& other692) { - dbName = other692.dbName; - tableName = other692.tableName; - tableType = other692.tableType; - comments = other692.comments; - __isset = other692.__isset; +TableMeta& TableMeta::operator=(const TableMeta& other718) { + dbName = other718.dbName; + tableName = other718.tableName; + tableType = other718.tableType; + comments = other718.comments; + __isset = other718.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -16440,13 +16726,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other693) : TException() { - message = other693.message; - __isset = other693.__isset; +MetaException::MetaException(const MetaException& other719) : TException() { + message = other719.message; + __isset = other719.__isset; } -MetaException& MetaException::operator=(const MetaException& other694) { - message = other694.message; - __isset = other694.__isset; +MetaException& MetaException::operator=(const MetaException& other720) { + message = other720.message; + __isset = other720.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -16537,13 +16823,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other695) : TException() { - message = other695.message; - __isset = other695.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other721) : TException() { + message = other721.message; + __isset = other721.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other696) { - message = other696.message; - __isset = other696.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other722) { + message = other722.message; + __isset = other722.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -16634,13 +16920,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other697) : TException() { - message = other697.message; - __isset = other697.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other723) : TException() { + message = other723.message; + __isset = other723.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other698) { - message = other698.message; - __isset = other698.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other724) { + message = other724.message; + __isset = other724.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -16731,13 +17017,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other699) : TException() { - message = other699.message; - __isset = other699.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other725) : TException() { + message = other725.message; + __isset = other725.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other700) { - message = other700.message; - __isset = other700.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other726) { + message = other726.message; + __isset = other726.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -16828,13 +17114,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other701) : TException() { - message = other701.message; - __isset = other701.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other727) : TException() { + message = other727.message; + __isset = other727.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other702) { - message = other702.message; - __isset = other702.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other728) { + message = other728.message; + __isset = other728.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -16925,13 +17211,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other703) : TException() { - message = other703.message; - __isset = other703.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other729) : TException() { + message = other729.message; + __isset = other729.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other704) { - message = other704.message; - __isset = other704.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other730) { + message = other730.message; + __isset = other730.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -17022,13 +17308,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other705) : TException() { - message = other705.message; - __isset = other705.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other731) : TException() { + message = other731.message; + __isset = other731.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other706) { - message = other706.message; - __isset = other706.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other732) { + message = other732.message; + __isset = other732.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -17119,13 +17405,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other707) : TException() { - message = other707.message; - __isset = other707.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other733) : TException() { + message = other733.message; + __isset = other733.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other708) { - message = other708.message; - __isset = other708.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other734) { + message = other734.message; + __isset = other734.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -17216,13 +17502,13 @@ void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b) { swap(a.__isset, b.__isset); } -IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other709) : TException() { - message = other709.message; - __isset = other709.__isset; +IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other735) : TException() { + message = other735.message; + __isset = other735.__isset; } -IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other710) { - message = other710.message; - __isset = other710.__isset; +IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other736) { + message = other736.message; + __isset = other736.__isset; return *this; } void IndexAlreadyExistsException::printTo(std::ostream& out) const { @@ -17313,13 +17599,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other711) : TException() { - message = other711.message; - __isset = other711.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other737) : TException() { + message = other737.message; + __isset = other737.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other712) { - message = other712.message; - __isset = other712.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other738) { + message = other738.message; + __isset = other738.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -17410,13 +17696,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other713) : TException() { - message = other713.message; - __isset = other713.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other739) : TException() { + message = other739.message; + __isset = other739.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other714) { - message = other714.message; - __isset = other714.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other740) { + message = other740.message; + __isset = other740.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -17507,13 +17793,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other715) : TException() { - message = other715.message; - __isset = other715.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other741) : TException() { + message = other741.message; + __isset = other741.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other716) { - message = other716.message; - __isset = other716.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other742) { + message = other742.message; + __isset = other742.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -17604,13 +17890,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other717) : TException() { - message = other717.message; - __isset = other717.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other743) : TException() { + message = other743.message; + __isset = other743.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other718) { - message = other718.message; - __isset = other718.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other744) { + message = other744.message; + __isset = other744.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -17701,13 +17987,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other719) : TException() { - message = other719.message; - __isset = other719.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other745) : TException() { + message = other745.message; + __isset = other745.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other720) { - message = other720.message; - __isset = other720.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other746) { + message = other746.message; + __isset = other746.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -17798,13 +18084,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other721) : TException() { - message = other721.message; - __isset = other721.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other747) : TException() { + message = other747.message; + __isset = other747.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other722) { - message = other722.message; - __isset = other722.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other748) { + message = other748.message; + __isset = other748.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -17895,13 +18181,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other723) : TException() { - message = other723.message; - __isset = other723.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other749) : TException() { + message = other749.message; + __isset = other749.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other724) { - message = other724.message; - __isset = other724.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other750) { + message = other750.message; + __isset = other750.__isset; return *this; } void NoSuchLockException::printTo(std::ostream& out) const { diff --git a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index 97c07a5..2a928eb 100644 --- a/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -149,6 +149,8 @@ class Version; class FieldSchema; +class ForeignKeyRel; + class Type; class HiveObjectRef; @@ -501,6 +503,76 @@ inline std::ostream& operator<<(std::ostream& out, const FieldSchema& obj) return out; } +typedef struct _ForeignKeyRel__isset { + _ForeignKeyRel__isset() : foreignCols(false), parentCols(false), foreignKeyName(false), parentTableName(false), parentTableSchema(false) {} + bool foreignCols :1; + bool parentCols :1; + bool foreignKeyName :1; + bool parentTableName :1; + bool parentTableSchema :1; +} _ForeignKeyRel__isset; + +class ForeignKeyRel { + public: + + ForeignKeyRel(const ForeignKeyRel&); + ForeignKeyRel& operator=(const ForeignKeyRel&); + ForeignKeyRel() : foreignKeyName(), parentTableName(), parentTableSchema() { + } + + virtual ~ForeignKeyRel() throw(); + std::vector foreignCols; + std::vector parentCols; + std::string foreignKeyName; + std::string parentTableName; + std::string parentTableSchema; + + _ForeignKeyRel__isset __isset; + + void __set_foreignCols(const std::vector & val); + + void __set_parentCols(const std::vector & val); + + void __set_foreignKeyName(const std::string& val); + + void __set_parentTableName(const std::string& val); + + void __set_parentTableSchema(const std::string& val); + + bool operator == (const ForeignKeyRel & rhs) const + { + if (!(foreignCols == rhs.foreignCols)) + return false; + if (!(parentCols == rhs.parentCols)) + return false; + if (!(foreignKeyName == rhs.foreignKeyName)) + return false; + if (!(parentTableName == rhs.parentTableName)) + return false; + if (!(parentTableSchema == rhs.parentTableSchema)) + return false; + return true; + } + bool operator != (const ForeignKeyRel &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ForeignKeyRel & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(ForeignKeyRel &a, ForeignKeyRel &b); + +inline std::ostream& operator<<(std::ostream& out, const ForeignKeyRel& obj) +{ + obj.printTo(out); + return out; +} + typedef struct _Type__isset { _Type__isset() : name(false), type1(false), type2(false), fields(false) {} bool name :1; @@ -1801,7 +1873,7 @@ inline std::ostream& operator<<(std::ostream& out, const StorageDescriptor& obj) } typedef struct _Table__isset { - _Table__isset() : tableName(false), dbName(false), owner(false), createTime(false), lastAccessTime(false), retention(false), sd(false), partitionKeys(false), parameters(false), viewOriginalText(false), viewExpandedText(false), tableType(false), privileges(false), temporary(true) {} + _Table__isset() : tableName(false), dbName(false), owner(false), createTime(false), lastAccessTime(false), retention(false), sd(false), partitionKeys(false), parameters(false), viewOriginalText(false), viewExpandedText(false), tableType(false), privileges(false), temporary(true), primaryKeys(false), foreignKeys(false) {} bool tableName :1; bool dbName :1; bool owner :1; @@ -1816,6 +1888,8 @@ typedef struct _Table__isset { bool tableType :1; bool privileges :1; bool temporary :1; + bool primaryKeys :1; + bool foreignKeys :1; } _Table__isset; class Table { @@ -1841,6 +1915,8 @@ class Table { std::string tableType; PrincipalPrivilegeSet privileges; bool temporary; + std::vector primaryKeys; + std::vector foreignKeys; _Table__isset __isset; @@ -1872,6 +1948,10 @@ class Table { void __set_temporary(const bool val); + void __set_primaryKeys(const std::vector & val); + + void __set_foreignKeys(const std::vector & val); + bool operator == (const Table & rhs) const { if (!(tableName == rhs.tableName)) @@ -1906,6 +1986,10 @@ class Table { return false; else if (__isset.temporary && !(temporary == rhs.temporary)) return false; + if (!(primaryKeys == rhs.primaryKeys)) + return false; + if (!(foreignKeys == rhs.foreignKeys)) + return false; return true; } bool operator != (const Table &rhs) const { diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index bb6e584..bd6ddd0 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -630,13 +630,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition case 4: // PARTITIONNAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list492 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list492.size); - String _elem493; - for (int _i494 = 0; _i494 < _list492.size; ++_i494) + org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list524.size); + String _elem525; + for (int _i526 = 0; _i526 < _list524.size; ++_i526) { - _elem493 = iprot.readString(); - struct.partitionnames.add(_elem493); + _elem525 = iprot.readString(); + struct.partitionnames.add(_elem525); } iprot.readListEnd(); } @@ -675,9 +675,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddDynamicPartitio oprot.writeFieldBegin(PARTITIONNAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionnames.size())); - for (String _iter495 : struct.partitionnames) + for (String _iter527 : struct.partitionnames) { - oprot.writeString(_iter495); + oprot.writeString(_iter527); } oprot.writeListEnd(); } @@ -705,9 +705,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (String _iter496 : struct.partitionnames) + for (String _iter528 : struct.partitionnames) { - oprot.writeString(_iter496); + oprot.writeString(_iter528); } } } @@ -722,13 +722,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list497.size); - String _elem498; - for (int _i499 = 0; _i499 < _list497.size; ++_i499) + org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list529.size); + String _elem530; + for (int _i531 = 0; _i531 < _list529.size; ++_i531) { - _elem498 = iprot.readString(); - struct.partitionnames.add(_elem498); + _elem530 = iprot.readString(); + struct.partitionnames.add(_elem530); } } struct.setPartitionnamesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java index 083d340..da23f72 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java @@ -704,14 +704,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsReques case 3: // PARTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list388 = iprot.readListBegin(); - struct.parts = new ArrayList(_list388.size); - Partition _elem389; - for (int _i390 = 0; _i390 < _list388.size; ++_i390) + org.apache.thrift.protocol.TList _list420 = iprot.readListBegin(); + struct.parts = new ArrayList(_list420.size); + Partition _elem421; + for (int _i422 = 0; _i422 < _list420.size; ++_i422) { - _elem389 = new Partition(); - _elem389.read(iprot); - struct.parts.add(_elem389); + _elem421 = new Partition(); + _elem421.read(iprot); + struct.parts.add(_elem421); } iprot.readListEnd(); } @@ -763,9 +763,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddPartitionsReque oprot.writeFieldBegin(PARTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.parts.size())); - for (Partition _iter391 : struct.parts) + for (Partition _iter423 : struct.parts) { - _iter391.write(oprot); + _iter423.write(oprot); } oprot.writeListEnd(); } @@ -800,9 +800,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPartitionsReques oprot.writeString(struct.tblName); { oprot.writeI32(struct.parts.size()); - for (Partition _iter392 : struct.parts) + for (Partition _iter424 : struct.parts) { - _iter392.write(oprot); + _iter424.write(oprot); } } oprot.writeBool(struct.ifNotExists); @@ -824,14 +824,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsRequest struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list393 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.parts = new ArrayList(_list393.size); - Partition _elem394; - for (int _i395 = 0; _i395 < _list393.size; ++_i395) + org.apache.thrift.protocol.TList _list425 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.parts = new ArrayList(_list425.size); + Partition _elem426; + for (int _i427 = 0; _i427 < _list425.size; ++_i427) { - _elem394 = new Partition(); - _elem394.read(iprot); - struct.parts.add(_elem394); + _elem426 = new Partition(); + _elem426.read(iprot); + struct.parts.add(_elem426); } } struct.setPartsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java index 9004457..bfd483e 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPartitionsResult case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list380 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list380.size); - Partition _elem381; - for (int _i382 = 0; _i382 < _list380.size; ++_i382) + org.apache.thrift.protocol.TList _list412 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list412.size); + Partition _elem413; + for (int _i414 = 0; _i414 < _list412.size; ++_i414) { - _elem381 = new Partition(); - _elem381.read(iprot); - struct.partitions.add(_elem381); + _elem413 = new Partition(); + _elem413.read(iprot); + struct.partitions.add(_elem413); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddPartitionsResul oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter383 : struct.partitions) + for (Partition _iter415 : struct.partitions) { - _iter383.write(oprot); + _iter415.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter384 : struct.partitions) + for (Partition _iter416 : struct.partitions) { - _iter384.write(oprot); + _iter416.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddPartitionsResult BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list385 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list385.size); - Partition _elem386; - for (int _i387 = 0; _i387 < _list385.size; ++_i387) + org.apache.thrift.protocol.TList _list417 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list417.size); + Partition _elem418; + for (int _i419 = 0; _i419 < _list417.size; ++_i419) { - _elem386 = new Partition(); - _elem386.read(iprot); - struct.partitions.add(_elem386); + _elem418 = new Partition(); + _elem418.read(iprot); + struct.partitions.add(_elem418); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java index bfd1206..1ef52cf 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java @@ -439,14 +439,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AggrStats struct) t case 1: // COL_STATS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list278 = iprot.readListBegin(); - struct.colStats = new ArrayList(_list278.size); - ColumnStatisticsObj _elem279; - for (int _i280 = 0; _i280 < _list278.size; ++_i280) + org.apache.thrift.protocol.TList _list310 = iprot.readListBegin(); + struct.colStats = new ArrayList(_list310.size); + ColumnStatisticsObj _elem311; + for (int _i312 = 0; _i312 < _list310.size; ++_i312) { - _elem279 = new ColumnStatisticsObj(); - _elem279.read(iprot); - struct.colStats.add(_elem279); + _elem311 = new ColumnStatisticsObj(); + _elem311.read(iprot); + struct.colStats.add(_elem311); } iprot.readListEnd(); } @@ -480,9 +480,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AggrStats struct) oprot.writeFieldBegin(COL_STATS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.colStats.size())); - for (ColumnStatisticsObj _iter281 : struct.colStats) + for (ColumnStatisticsObj _iter313 : struct.colStats) { - _iter281.write(oprot); + _iter313.write(oprot); } oprot.writeListEnd(); } @@ -510,9 +510,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) t TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.colStats.size()); - for (ColumnStatisticsObj _iter282 : struct.colStats) + for (ColumnStatisticsObj _iter314 : struct.colStats) { - _iter282.write(oprot); + _iter314.write(oprot); } } oprot.writeI64(struct.partsFound); @@ -522,14 +522,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) t public void read(org.apache.thrift.protocol.TProtocol prot, AggrStats struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list283 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.colStats = new ArrayList(_list283.size); - ColumnStatisticsObj _elem284; - for (int _i285 = 0; _i285 < _list283.size; ++_i285) + org.apache.thrift.protocol.TList _list315 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.colStats = new ArrayList(_list315.size); + ColumnStatisticsObj _elem316; + for (int _i317 = 0; _i317 < _list315.size; ++_i317) { - _elem284 = new ColumnStatisticsObj(); - _elem284.read(iprot); - struct.colStats.add(_elem284); + _elem316 = new ColumnStatisticsObj(); + _elem316.read(iprot); + struct.colStats.add(_elem316); } } struct.setColStatsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java index 657bb7b..f594d47 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java +++ b/metastore/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 _list576 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list576.size); - long _elem577; - for (int _i578 = 0; _i578 < _list576.size; ++_i578) + org.apache.thrift.protocol.TList _list608 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list608.size); + long _elem609; + for (int _i610 = 0; _i610 < _list608.size; ++_i610) { - _elem577 = iprot.readI64(); - struct.fileIds.add(_elem577); + _elem609 = iprot.readI64(); + struct.fileIds.add(_elem609); } 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 _iter579 : struct.fileIds) + for (long _iter611 : struct.fileIds) { - oprot.writeI64(_iter579); + oprot.writeI64(_iter611); } 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 _iter580 : struct.fileIds) + for (long _iter612 : struct.fileIds) { - oprot.writeI64(_iter580); + oprot.writeI64(_iter612); } } } @@ -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 _list581 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list581.size); - long _elem582; - for (int _i583 = 0; _i583 < _list581.size; ++_i583) + org.apache.thrift.protocol.TList _list613 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list613.size); + long _elem614; + for (int _i615 = 0; _i615 < _list613.size; ++_i615) { - _elem582 = iprot.readI64(); - struct.fileIds.add(_elem582); + _elem614 = iprot.readI64(); + struct.fileIds.add(_elem614); } } struct.setFileIdsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java index ba059fe..3c54fb0 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java @@ -451,14 +451,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ColumnStatistics st case 2: // STATS_OBJ if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list270 = iprot.readListBegin(); - struct.statsObj = new ArrayList(_list270.size); - ColumnStatisticsObj _elem271; - for (int _i272 = 0; _i272 < _list270.size; ++_i272) + org.apache.thrift.protocol.TList _list302 = iprot.readListBegin(); + struct.statsObj = new ArrayList(_list302.size); + ColumnStatisticsObj _elem303; + for (int _i304 = 0; _i304 < _list302.size; ++_i304) { - _elem271 = new ColumnStatisticsObj(); - _elem271.read(iprot); - struct.statsObj.add(_elem271); + _elem303 = new ColumnStatisticsObj(); + _elem303.read(iprot); + struct.statsObj.add(_elem303); } iprot.readListEnd(); } @@ -489,9 +489,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ColumnStatistics s oprot.writeFieldBegin(STATS_OBJ_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.statsObj.size())); - for (ColumnStatisticsObj _iter273 : struct.statsObj) + for (ColumnStatisticsObj _iter305 : struct.statsObj) { - _iter273.write(oprot); + _iter305.write(oprot); } oprot.writeListEnd(); } @@ -517,9 +517,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics st struct.statsDesc.write(oprot); { oprot.writeI32(struct.statsObj.size()); - for (ColumnStatisticsObj _iter274 : struct.statsObj) + for (ColumnStatisticsObj _iter306 : struct.statsObj) { - _iter274.write(oprot); + _iter306.write(oprot); } } } @@ -531,14 +531,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ColumnStatistics str struct.statsDesc.read(iprot); struct.setStatsDescIsSet(true); { - org.apache.thrift.protocol.TList _list275 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.statsObj = new ArrayList(_list275.size); - ColumnStatisticsObj _elem276; - for (int _i277 = 0; _i277 < _list275.size; ++_i277) + org.apache.thrift.protocol.TList _list307 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.statsObj = new ArrayList(_list307.size); + ColumnStatisticsObj _elem308; + for (int _i309 = 0; _i309 < _list307.size; ++_i309) { - _elem276 = new ColumnStatisticsObj(); - _elem276.read(iprot); - struct.statsObj.add(_elem276); + _elem308 = new ColumnStatisticsObj(); + _elem308.read(iprot); + struct.statsObj.add(_elem308); } } struct.setStatsObjIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java index 2769845..b912cb6 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Database.java @@ -870,15 +870,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Database struct) th case 4: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map94 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map94.size); - String _key95; - String _val96; - for (int _i97 = 0; _i97 < _map94.size; ++_i97) + org.apache.thrift.protocol.TMap _map110 = iprot.readMapBegin(); + struct.parameters = new HashMap(2*_map110.size); + String _key111; + String _val112; + for (int _i113 = 0; _i113 < _map110.size; ++_i113) { - _key95 = iprot.readString(); - _val96 = iprot.readString(); - struct.parameters.put(_key95, _val96); + _key111 = iprot.readString(); + _val112 = iprot.readString(); + struct.parameters.put(_key111, _val112); } iprot.readMapEnd(); } @@ -944,10 +944,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Database struct) t oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); - for (Map.Entry _iter98 : struct.parameters.entrySet()) + for (Map.Entry _iter114 : struct.parameters.entrySet()) { - oprot.writeString(_iter98.getKey()); - oprot.writeString(_iter98.getValue()); + oprot.writeString(_iter114.getKey()); + oprot.writeString(_iter114.getValue()); } oprot.writeMapEnd(); } @@ -1026,10 +1026,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Database struct) th if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (Map.Entry _iter99 : struct.parameters.entrySet()) + for (Map.Entry _iter115 : struct.parameters.entrySet()) { - oprot.writeString(_iter99.getKey()); - oprot.writeString(_iter99.getValue()); + oprot.writeString(_iter115.getKey()); + oprot.writeString(_iter115.getValue()); } } } @@ -1062,15 +1062,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Database struct) thr } if (incoming.get(3)) { { - org.apache.thrift.protocol.TMap _map100 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.parameters = new HashMap(2*_map100.size); - String _key101; - String _val102; - for (int _i103 = 0; _i103 < _map100.size; ++_i103) + org.apache.thrift.protocol.TMap _map116 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.parameters = new HashMap(2*_map116.size); + String _key117; + String _val118; + for (int _i119 = 0; _i119 < _map116.size; ++_i119) { - _key101 = iprot.readString(); - _val102 = iprot.readString(); - struct.parameters.put(_key101, _val102); + _key117 = iprot.readString(); + _val118 = iprot.readString(); + struct.parameters.put(_key117, _val118); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java index adef415..96cfbd2 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, DropPartitionsResul case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list396 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list396.size); - Partition _elem397; - for (int _i398 = 0; _i398 < _list396.size; ++_i398) + org.apache.thrift.protocol.TList _list428 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list428.size); + Partition _elem429; + for (int _i430 = 0; _i430 < _list428.size; ++_i430) { - _elem397 = new Partition(); - _elem397.read(iprot); - struct.partitions.add(_elem397); + _elem429 = new Partition(); + _elem429.read(iprot); + struct.partitions.add(_elem429); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, DropPartitionsResu oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter399 : struct.partitions) + for (Partition _iter431 : struct.partitions) { - _iter399.write(oprot); + _iter431.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResul if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter400 : struct.partitions) + for (Partition _iter432 : struct.partitions) { - _iter400.write(oprot); + _iter432.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, DropPartitionsResult BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list401 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list401.size); - Partition _elem402; - for (int _i403 = 0; _i403 < _list401.size; ++_i403) + org.apache.thrift.protocol.TList _list433 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list433.size); + Partition _elem434; + for (int _i435 = 0; _i435 < _list433.size; ++_i435) { - _elem402 = new Partition(); - _elem402.read(iprot); - struct.partitions.add(_elem402); + _elem434 = new Partition(); + _elem434.read(iprot); + struct.partitions.add(_elem434); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java index de588e2..7281ebd 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java @@ -344,15 +344,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, EnvironmentContext case 1: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map312 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map312.size); - String _key313; - String _val314; - for (int _i315 = 0; _i315 < _map312.size; ++_i315) + org.apache.thrift.protocol.TMap _map344 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map344.size); + String _key345; + String _val346; + for (int _i347 = 0; _i347 < _map344.size; ++_i347) { - _key313 = iprot.readString(); - _val314 = iprot.readString(); - struct.properties.put(_key313, _val314); + _key345 = iprot.readString(); + _val346 = iprot.readString(); + struct.properties.put(_key345, _val346); } iprot.readMapEnd(); } @@ -378,10 +378,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, EnvironmentContext oprot.writeFieldBegin(PROPERTIES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size())); - for (Map.Entry _iter316 : struct.properties.entrySet()) + for (Map.Entry _iter348 : struct.properties.entrySet()) { - oprot.writeString(_iter316.getKey()); - oprot.writeString(_iter316.getValue()); + oprot.writeString(_iter348.getKey()); + oprot.writeString(_iter348.getValue()); } oprot.writeMapEnd(); } @@ -412,10 +412,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, EnvironmentContext if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter317 : struct.properties.entrySet()) + for (Map.Entry _iter349 : struct.properties.entrySet()) { - oprot.writeString(_iter317.getKey()); - oprot.writeString(_iter317.getValue()); + oprot.writeString(_iter349.getKey()); + oprot.writeString(_iter349.getValue()); } } } @@ -427,15 +427,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, EnvironmentContext s BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map318 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.properties = new HashMap(2*_map318.size); - String _key319; - String _val320; - for (int _i321 = 0; _i321 < _map318.size; ++_i321) + org.apache.thrift.protocol.TMap _map350 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.properties = new HashMap(2*_map350.size); + String _key351; + String _val352; + for (int _i353 = 0; _i353 < _map350.size; ++_i353) { - _key319 = iprot.readString(); - _val320 = iprot.readString(); - struct.properties.put(_key319, _val320); + _key351 = iprot.readString(); + _val352 = iprot.readString(); + struct.properties.put(_key351, _val352); } } struct.setPropertiesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index 6b08234..eb5a8e6 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -713,13 +713,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 _list516 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list516.size); - String _elem517; - for (int _i518 = 0; _i518 < _list516.size; ++_i518) + org.apache.thrift.protocol.TList _list548 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list548.size); + String _elem549; + for (int _i550 = 0; _i550 < _list548.size; ++_i550) { - _elem517 = iprot.readString(); - struct.partitionVals.add(_elem517); + _elem549 = iprot.readString(); + struct.partitionVals.add(_elem549); } iprot.readListEnd(); } @@ -768,9 +768,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 _iter519 : struct.partitionVals) + for (String _iter551 : struct.partitionVals) { - oprot.writeString(_iter519); + oprot.writeString(_iter551); } oprot.writeListEnd(); } @@ -816,9 +816,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter520 : struct.partitionVals) + for (String _iter552 : struct.partitionVals) { - oprot.writeString(_iter520); + oprot.writeString(_iter552); } } } @@ -843,13 +843,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list521.size); - String _elem522; - for (int _i523 = 0; _i523 < _list521.size; ++_i523) + org.apache.thrift.protocol.TList _list553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list553.size); + String _elem554; + for (int _i555 = 0; _i555 < _list553.size; ++_i555) { - _elem522 = iprot.readString(); - struct.partitionVals.add(_elem522); + _elem554 = iprot.readString(); + struct.partitionVals.add(_elem554); } } struct.setPartitionValsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java index 5f8ce0d..56a4d30 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java @@ -997,14 +997,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Function struct) th case 8: // RESOURCE_URIS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list420 = iprot.readListBegin(); - struct.resourceUris = new ArrayList(_list420.size); - ResourceUri _elem421; - for (int _i422 = 0; _i422 < _list420.size; ++_i422) + org.apache.thrift.protocol.TList _list452 = iprot.readListBegin(); + struct.resourceUris = new ArrayList(_list452.size); + ResourceUri _elem453; + for (int _i454 = 0; _i454 < _list452.size; ++_i454) { - _elem421 = new ResourceUri(); - _elem421.read(iprot); - struct.resourceUris.add(_elem421); + _elem453 = new ResourceUri(); + _elem453.read(iprot); + struct.resourceUris.add(_elem453); } iprot.readListEnd(); } @@ -1063,9 +1063,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Function struct) t oprot.writeFieldBegin(RESOURCE_URIS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourceUris.size())); - for (ResourceUri _iter423 : struct.resourceUris) + for (ResourceUri _iter455 : struct.resourceUris) { - _iter423.write(oprot); + _iter455.write(oprot); } oprot.writeListEnd(); } @@ -1138,9 +1138,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Function struct) th if (struct.isSetResourceUris()) { { oprot.writeI32(struct.resourceUris.size()); - for (ResourceUri _iter424 : struct.resourceUris) + for (ResourceUri _iter456 : struct.resourceUris) { - _iter424.write(oprot); + _iter456.write(oprot); } } } @@ -1180,14 +1180,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Function struct) thr } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list425 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourceUris = new ArrayList(_list425.size); - ResourceUri _elem426; - for (int _i427 = 0; _i427 < _list425.size; ++_i427) + org.apache.thrift.protocol.TList _list457 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourceUris = new ArrayList(_list457.size); + ResourceUri _elem458; + for (int _i459 = 0; _i459 < _list457.size; ++_i459) { - _elem426 = new ResourceUri(); - _elem426.read(iprot); - struct.resourceUris.add(_elem426); + _elem458 = new ResourceUri(); + _elem458.read(iprot); + struct.resourceUris.add(_elem458); } } struct.setResourceUrisIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index f88e279..5a0ba4b 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java @@ -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 _list584 = iprot.readListBegin(); - struct.functions = new ArrayList(_list584.size); - Function _elem585; - for (int _i586 = 0; _i586 < _list584.size; ++_i586) + org.apache.thrift.protocol.TList _list616 = iprot.readListBegin(); + struct.functions = new ArrayList(_list616.size); + Function _elem617; + for (int _i618 = 0; _i618 < _list616.size; ++_i618) { - _elem585 = new Function(); - _elem585.read(iprot); - struct.functions.add(_elem585); + _elem617 = new Function(); + _elem617.read(iprot); + struct.functions.add(_elem617); } 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 _iter587 : struct.functions) + for (Function _iter619 : struct.functions) { - _iter587.write(oprot); + _iter619.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 _iter588 : struct.functions) + for (Function _iter620 : struct.functions) { - _iter588.write(oprot); + _iter620.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 _list589 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list589.size); - Function _elem590; - for (int _i591 = 0; _i591 < _list589.size; ++_i591) + org.apache.thrift.protocol.TList _list621 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list621.size); + Function _elem622; + for (int _i623 = 0; _i623 < _list621.size; ++_i623) { - _elem590 = new Function(); - _elem590.read(iprot); - struct.functions.add(_elem590); + _elem622 = new Function(); + _elem622.read(iprot); + struct.functions.add(_elem622); } } struct.setFunctionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java index 0236b4a..0916e87 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java +++ b/metastore/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 _list534 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list534.size); - long _elem535; - for (int _i536 = 0; _i536 < _list534.size; ++_i536) + org.apache.thrift.protocol.TList _list566 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list566.size); + long _elem567; + for (int _i568 = 0; _i568 < _list566.size; ++_i568) { - _elem535 = iprot.readI64(); - struct.fileIds.add(_elem535); + _elem567 = iprot.readI64(); + struct.fileIds.add(_elem567); } 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 _iter537 : struct.fileIds) + for (long _iter569 : struct.fileIds) { - oprot.writeI64(_iter537); + oprot.writeI64(_iter569); } 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 _iter538 : struct.fileIds) + for (long _iter570 : struct.fileIds) { - oprot.writeI64(_iter538); + oprot.writeI64(_iter570); } } 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 _list539 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list539.size); - long _elem540; - for (int _i541 = 0; _i541 < _list539.size; ++_i541) + org.apache.thrift.protocol.TList _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list571.size); + long _elem572; + for (int _i573 = 0; _i573 < _list571.size; ++_i573) { - _elem540 = iprot.readI64(); - struct.fileIds.add(_elem540); + _elem572 = iprot.readI64(); + struct.fileIds.add(_elem572); } } struct.setFileIdsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java index 89eb819..494f31d 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java +++ b/metastore/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 _map524 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map524.size); - long _key525; - MetadataPpdResult _val526; - for (int _i527 = 0; _i527 < _map524.size; ++_i527) + org.apache.thrift.protocol.TMap _map556 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map556.size); + long _key557; + MetadataPpdResult _val558; + for (int _i559 = 0; _i559 < _map556.size; ++_i559) { - _key525 = iprot.readI64(); - _val526 = new MetadataPpdResult(); - _val526.read(iprot); - struct.metadata.put(_key525, _val526); + _key557 = iprot.readI64(); + _val558 = new MetadataPpdResult(); + _val558.read(iprot); + struct.metadata.put(_key557, _val558); } 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 _iter528 : struct.metadata.entrySet()) + for (Map.Entry _iter560 : struct.metadata.entrySet()) { - oprot.writeI64(_iter528.getKey()); - _iter528.getValue().write(oprot); + oprot.writeI64(_iter560.getKey()); + _iter560.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 _iter529 : struct.metadata.entrySet()) + for (Map.Entry _iter561 : struct.metadata.entrySet()) { - oprot.writeI64(_iter529.getKey()); - _iter529.getValue().write(oprot); + oprot.writeI64(_iter561.getKey()); + _iter561.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 _map530 = 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*_map530.size); - long _key531; - MetadataPpdResult _val532; - for (int _i533 = 0; _i533 < _map530.size; ++_i533) + org.apache.thrift.protocol.TMap _map562 = 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*_map562.size); + long _key563; + MetadataPpdResult _val564; + for (int _i565 = 0; _i565 < _map562.size; ++_i565) { - _key531 = iprot.readI64(); - _val532 = new MetadataPpdResult(); - _val532.read(iprot); - struct.metadata.put(_key531, _val532); + _key563 = iprot.readI64(); + _val564 = new MetadataPpdResult(); + _val564.read(iprot); + struct.metadata.put(_key563, _val564); } } struct.setMetadataIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java index 2408ad1..163ba87 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java +++ b/metastore/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 _list552 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list552.size); - long _elem553; - for (int _i554 = 0; _i554 < _list552.size; ++_i554) + org.apache.thrift.protocol.TList _list584 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list584.size); + long _elem585; + for (int _i586 = 0; _i586 < _list584.size; ++_i586) { - _elem553 = iprot.readI64(); - struct.fileIds.add(_elem553); + _elem585 = iprot.readI64(); + struct.fileIds.add(_elem585); } 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 _iter555 : struct.fileIds) + for (long _iter587 : struct.fileIds) { - oprot.writeI64(_iter555); + oprot.writeI64(_iter587); } 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 _iter556 : struct.fileIds) + for (long _iter588 : struct.fileIds) { - oprot.writeI64(_iter556); + oprot.writeI64(_iter588); } } } @@ -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 _list557 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list557.size); - long _elem558; - for (int _i559 = 0; _i559 < _list557.size; ++_i559) + org.apache.thrift.protocol.TList _list589 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list589.size); + long _elem590; + for (int _i591 = 0; _i591 < _list589.size; ++_i591) { - _elem558 = iprot.readI64(); - struct.fileIds.add(_elem558); + _elem590 = iprot.readI64(); + struct.fileIds.add(_elem590); } } struct.setFileIdsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index 8946635..4ceee38 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java +++ b/metastore/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 _map542 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map542.size); - long _key543; - ByteBuffer _val544; - for (int _i545 = 0; _i545 < _map542.size; ++_i545) + org.apache.thrift.protocol.TMap _map574 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map574.size); + long _key575; + ByteBuffer _val576; + for (int _i577 = 0; _i577 < _map574.size; ++_i577) { - _key543 = iprot.readI64(); - _val544 = iprot.readBinary(); - struct.metadata.put(_key543, _val544); + _key575 = iprot.readI64(); + _val576 = iprot.readBinary(); + struct.metadata.put(_key575, _val576); } 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 _iter546 : struct.metadata.entrySet()) + for (Map.Entry _iter578 : struct.metadata.entrySet()) { - oprot.writeI64(_iter546.getKey()); - oprot.writeBinary(_iter546.getValue()); + oprot.writeI64(_iter578.getKey()); + oprot.writeBinary(_iter578.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 _iter547 : struct.metadata.entrySet()) + for (Map.Entry _iter579 : struct.metadata.entrySet()) { - oprot.writeI64(_iter547.getKey()); - oprot.writeBinary(_iter547.getValue()); + oprot.writeI64(_iter579.getKey()); + oprot.writeBinary(_iter579.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 _map548 = 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*_map548.size); - long _key549; - ByteBuffer _val550; - for (int _i551 = 0; _i551 < _map548.size; ++_i551) + org.apache.thrift.protocol.TMap _map580 = 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*_map580.size); + long _key581; + ByteBuffer _val582; + for (int _i583 = 0; _i583 < _map580.size; ++_i583) { - _key549 = iprot.readI64(); - _val550 = iprot.readBinary(); - struct.metadata.put(_key549, _val550); + _key581 = iprot.readI64(); + _val582 = iprot.readBinary(); + struct.metadata.put(_key581, _val582); } } struct.setMetadataIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java index 629c042..e68793b 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java @@ -447,14 +447,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsInfoResp case 2: // OPEN_TXNS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list428 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list428.size); - TxnInfo _elem429; - for (int _i430 = 0; _i430 < _list428.size; ++_i430) + org.apache.thrift.protocol.TList _list460 = iprot.readListBegin(); + struct.open_txns = new ArrayList(_list460.size); + TxnInfo _elem461; + for (int _i462 = 0; _i462 < _list460.size; ++_i462) { - _elem429 = new TxnInfo(); - _elem429.read(iprot); - struct.open_txns.add(_elem429); + _elem461 = new TxnInfo(); + _elem461.read(iprot); + struct.open_txns.add(_elem461); } iprot.readListEnd(); } @@ -483,9 +483,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetOpenTxnsInfoRes oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.open_txns.size())); - for (TxnInfo _iter431 : struct.open_txns) + for (TxnInfo _iter463 : struct.open_txns) { - _iter431.write(oprot); + _iter463.write(oprot); } oprot.writeListEnd(); } @@ -511,9 +511,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsInfoResp oprot.writeI64(struct.txn_high_water_mark); { oprot.writeI32(struct.open_txns.size()); - for (TxnInfo _iter432 : struct.open_txns) + for (TxnInfo _iter464 : struct.open_txns) { - _iter432.write(oprot); + _iter464.write(oprot); } } } @@ -524,14 +524,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsInfoRespo struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { - org.apache.thrift.protocol.TList _list433 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.open_txns = new ArrayList(_list433.size); - TxnInfo _elem434; - for (int _i435 = 0; _i435 < _list433.size; ++_i435) + org.apache.thrift.protocol.TList _list465 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.open_txns = new ArrayList(_list465.size); + TxnInfo _elem466; + for (int _i467 = 0; _i467 < _list465.size; ++_i467) { - _elem434 = new TxnInfo(); - _elem434.read(iprot); - struct.open_txns.add(_elem434); + _elem466 = new TxnInfo(); + _elem466.read(iprot); + struct.open_txns.add(_elem466); } } struct.setOpen_txnsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java index 9f57a4a..6986fc2 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java @@ -444,13 +444,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsResponse case 2: // OPEN_TXNS if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set436 = iprot.readSetBegin(); - struct.open_txns = new HashSet(2*_set436.size); - long _elem437; - for (int _i438 = 0; _i438 < _set436.size; ++_i438) + org.apache.thrift.protocol.TSet _set468 = iprot.readSetBegin(); + struct.open_txns = new HashSet(2*_set468.size); + long _elem469; + for (int _i470 = 0; _i470 < _set468.size; ++_i470) { - _elem437 = iprot.readI64(); - struct.open_txns.add(_elem437); + _elem469 = iprot.readI64(); + struct.open_txns.add(_elem469); } iprot.readSetEnd(); } @@ -479,9 +479,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetOpenTxnsRespons oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.open_txns.size())); - for (long _iter439 : struct.open_txns) + for (long _iter471 : struct.open_txns) { - oprot.writeI64(_iter439); + oprot.writeI64(_iter471); } oprot.writeSetEnd(); } @@ -507,9 +507,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse oprot.writeI64(struct.txn_high_water_mark); { oprot.writeI32(struct.open_txns.size()); - for (long _iter440 : struct.open_txns) + for (long _iter472 : struct.open_txns) { - oprot.writeI64(_iter440); + oprot.writeI64(_iter472); } } } @@ -520,13 +520,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetOpenTxnsResponse struct.txn_high_water_mark = iprot.readI64(); struct.setTxn_high_water_markIsSet(true); { - org.apache.thrift.protocol.TSet _set441 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.open_txns = new HashSet(2*_set441.size); - long _elem442; - for (int _i443 = 0; _i443 < _set441.size; ++_i443) + org.apache.thrift.protocol.TSet _set473 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.open_txns = new HashSet(2*_set473.size); + long _elem474; + for (int _i475 = 0; _i475 < _set473.size; ++_i475) { - _elem442 = iprot.readI64(); - struct.open_txns.add(_elem442); + _elem474 = iprot.readI64(); + struct.open_txns.add(_elem474); } } struct.setOpen_txnsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java index 02c652a..6d0c516 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetPrincipalsInRoleResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetPrincipalsInRole case 1: // PRINCIPAL_GRANTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list86 = iprot.readListBegin(); - struct.principalGrants = new ArrayList(_list86.size); - RolePrincipalGrant _elem87; - for (int _i88 = 0; _i88 < _list86.size; ++_i88) + org.apache.thrift.protocol.TList _list102 = iprot.readListBegin(); + struct.principalGrants = new ArrayList(_list102.size); + RolePrincipalGrant _elem103; + for (int _i104 = 0; _i104 < _list102.size; ++_i104) { - _elem87 = new RolePrincipalGrant(); - _elem87.read(iprot); - struct.principalGrants.add(_elem87); + _elem103 = new RolePrincipalGrant(); + _elem103.read(iprot); + struct.principalGrants.add(_elem103); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetPrincipalsInRol oprot.writeFieldBegin(PRINCIPAL_GRANTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.principalGrants.size())); - for (RolePrincipalGrant _iter89 : struct.principalGrants) + for (RolePrincipalGrant _iter105 : struct.principalGrants) { - _iter89.write(oprot); + _iter105.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRole TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.principalGrants.size()); - for (RolePrincipalGrant _iter90 : struct.principalGrants) + for (RolePrincipalGrant _iter106 : struct.principalGrants) { - _iter90.write(oprot); + _iter106.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRole public void read(org.apache.thrift.protocol.TProtocol prot, GetPrincipalsInRoleResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list91 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.principalGrants = new ArrayList(_list91.size); - RolePrincipalGrant _elem92; - for (int _i93 = 0; _i93 < _list91.size; ++_i93) + org.apache.thrift.protocol.TList _list107 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.principalGrants = new ArrayList(_list107.size); + RolePrincipalGrant _elem108; + for (int _i109 = 0; _i109 < _list107.size; ++_i109) { - _elem92 = new RolePrincipalGrant(); - _elem92.read(iprot); - struct.principalGrants.add(_elem92); + _elem108 = new RolePrincipalGrant(); + _elem108.read(iprot); + struct.principalGrants.add(_elem108); } } struct.setPrincipalGrantsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java index c013e0e..6531770 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetRoleGrantsForPrincipalResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetRoleGrantsForPri case 1: // PRINCIPAL_GRANTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list78 = iprot.readListBegin(); - struct.principalGrants = new ArrayList(_list78.size); - RolePrincipalGrant _elem79; - for (int _i80 = 0; _i80 < _list78.size; ++_i80) + org.apache.thrift.protocol.TList _list94 = iprot.readListBegin(); + struct.principalGrants = new ArrayList(_list94.size); + RolePrincipalGrant _elem95; + for (int _i96 = 0; _i96 < _list94.size; ++_i96) { - _elem79 = new RolePrincipalGrant(); - _elem79.read(iprot); - struct.principalGrants.add(_elem79); + _elem95 = new RolePrincipalGrant(); + _elem95.read(iprot); + struct.principalGrants.add(_elem95); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetRoleGrantsForPr oprot.writeFieldBegin(PRINCIPAL_GRANTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.principalGrants.size())); - for (RolePrincipalGrant _iter81 : struct.principalGrants) + for (RolePrincipalGrant _iter97 : struct.principalGrants) { - _iter81.write(oprot); + _iter97.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPri TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.principalGrants.size()); - for (RolePrincipalGrant _iter82 : struct.principalGrants) + for (RolePrincipalGrant _iter98 : struct.principalGrants) { - _iter82.write(oprot); + _iter98.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPri public void read(org.apache.thrift.protocol.TProtocol prot, GetRoleGrantsForPrincipalResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list83 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.principalGrants = new ArrayList(_list83.size); - RolePrincipalGrant _elem84; - for (int _i85 = 0; _i85 < _list83.size; ++_i85) + org.apache.thrift.protocol.TList _list99 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.principalGrants = new ArrayList(_list99.size); + RolePrincipalGrant _elem100; + for (int _i101 = 0; _i101 < _list99.size; ++_i101) { - _elem84 = new RolePrincipalGrant(); - _elem84.read(iprot); - struct.principalGrants.add(_elem84); + _elem100 = new RolePrincipalGrant(); + _elem100.read(iprot); + struct.principalGrants.add(_elem100); } } struct.setPrincipalGrantsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index b00fb9c..924a4ca 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java @@ -453,13 +453,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 1: // ABORTED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set468 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set468.size); - long _elem469; - for (int _i470 = 0; _i470 < _set468.size; ++_i470) + org.apache.thrift.protocol.TSet _set500 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set500.size); + long _elem501; + for (int _i502 = 0; _i502 < _set500.size; ++_i502) { - _elem469 = iprot.readI64(); - struct.aborted.add(_elem469); + _elem501 = iprot.readI64(); + struct.aborted.add(_elem501); } iprot.readSetEnd(); } @@ -471,13 +471,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HeartbeatTxnRangeRe case 2: // NOSUCH if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set471 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set471.size); - long _elem472; - for (int _i473 = 0; _i473 < _set471.size; ++_i473) + org.apache.thrift.protocol.TSet _set503 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set503.size); + long _elem504; + for (int _i505 = 0; _i505 < _set503.size; ++_i505) { - _elem472 = iprot.readI64(); - struct.nosuch.add(_elem472); + _elem504 = iprot.readI64(); + struct.nosuch.add(_elem504); } iprot.readSetEnd(); } @@ -503,9 +503,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(ABORTED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.aborted.size())); - for (long _iter474 : struct.aborted) + for (long _iter506 : struct.aborted) { - oprot.writeI64(_iter474); + oprot.writeI64(_iter506); } oprot.writeSetEnd(); } @@ -515,9 +515,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HeartbeatTxnRangeR oprot.writeFieldBegin(NOSUCH_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, struct.nosuch.size())); - for (long _iter475 : struct.nosuch) + for (long _iter507 : struct.nosuch) { - oprot.writeI64(_iter475); + oprot.writeI64(_iter507); } oprot.writeSetEnd(); } @@ -542,16 +542,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.aborted.size()); - for (long _iter476 : struct.aborted) + for (long _iter508 : struct.aborted) { - oprot.writeI64(_iter476); + oprot.writeI64(_iter508); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter477 : struct.nosuch) + for (long _iter509 : struct.nosuch) { - oprot.writeI64(_iter477); + oprot.writeI64(_iter509); } } } @@ -560,24 +560,24 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeRe public void read(org.apache.thrift.protocol.TProtocol prot, HeartbeatTxnRangeResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TSet _set478 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set478.size); - long _elem479; - for (int _i480 = 0; _i480 < _set478.size; ++_i480) + org.apache.thrift.protocol.TSet _set510 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set510.size); + long _elem511; + for (int _i512 = 0; _i512 < _set510.size; ++_i512) { - _elem479 = iprot.readI64(); - struct.aborted.add(_elem479); + _elem511 = iprot.readI64(); + struct.aborted.add(_elem511); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set481 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set481.size); - long _elem482; - for (int _i483 = 0; _i483 < _set481.size; ++_i483) + org.apache.thrift.protocol.TSet _set513 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set513.size); + long _elem514; + for (int _i515 = 0; _i515 < _set513.size; ++_i515) { - _elem482 = iprot.readI64(); - struct.nosuch.add(_elem482); + _elem514 = iprot.readI64(); + struct.nosuch.add(_elem514); } } struct.setNosuchIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java index d7dd8ec..b062aed 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HiveObjectRef.java @@ -707,13 +707,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, HiveObjectRef struc case 4: // PART_VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list8 = iprot.readListBegin(); - struct.partValues = new ArrayList(_list8.size); - String _elem9; - for (int _i10 = 0; _i10 < _list8.size; ++_i10) + org.apache.thrift.protocol.TList _list24 = iprot.readListBegin(); + struct.partValues = new ArrayList(_list24.size); + String _elem25; + for (int _i26 = 0; _i26 < _list24.size; ++_i26) { - _elem9 = iprot.readString(); - struct.partValues.add(_elem9); + _elem25 = iprot.readString(); + struct.partValues.add(_elem25); } iprot.readListEnd(); } @@ -762,9 +762,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, HiveObjectRef stru oprot.writeFieldBegin(PART_VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partValues.size())); - for (String _iter11 : struct.partValues) + for (String _iter27 : struct.partValues) { - oprot.writeString(_iter11); + oprot.writeString(_iter27); } oprot.writeListEnd(); } @@ -821,9 +821,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, HiveObjectRef struc if (struct.isSetPartValues()) { { oprot.writeI32(struct.partValues.size()); - for (String _iter12 : struct.partValues) + for (String _iter28 : struct.partValues) { - oprot.writeString(_iter12); + oprot.writeString(_iter28); } } } @@ -850,13 +850,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, HiveObjectRef struct } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list13 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partValues = new ArrayList(_list13.size); - String _elem14; - for (int _i15 = 0; _i15 < _list13.size; ++_i15) + org.apache.thrift.protocol.TList _list29 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partValues = new ArrayList(_list29.size); + String _elem30; + for (int _i31 = 0; _i31 < _list29.size; ++_i31) { - _elem14 = iprot.readString(); - struct.partValues.add(_elem14); + _elem30 = iprot.readString(); + struct.partValues.add(_elem30); } } struct.setPartValuesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java index 44d99c7..19b2f75 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java @@ -1133,15 +1133,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Index struct) throw case 9: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map260 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map260.size); - String _key261; - String _val262; - for (int _i263 = 0; _i263 < _map260.size; ++_i263) + org.apache.thrift.protocol.TMap _map292 = iprot.readMapBegin(); + struct.parameters = new HashMap(2*_map292.size); + String _key293; + String _val294; + for (int _i295 = 0; _i295 < _map292.size; ++_i295) { - _key261 = iprot.readString(); - _val262 = iprot.readString(); - struct.parameters.put(_key261, _val262); + _key293 = iprot.readString(); + _val294 = iprot.readString(); + struct.parameters.put(_key293, _val294); } iprot.readMapEnd(); } @@ -1211,10 +1211,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Index struct) thro oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); - for (Map.Entry _iter264 : struct.parameters.entrySet()) + for (Map.Entry _iter296 : struct.parameters.entrySet()) { - oprot.writeString(_iter264.getKey()); - oprot.writeString(_iter264.getValue()); + oprot.writeString(_iter296.getKey()); + oprot.writeString(_iter296.getValue()); } oprot.writeMapEnd(); } @@ -1299,10 +1299,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Index struct) throw if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (Map.Entry _iter265 : struct.parameters.entrySet()) + for (Map.Entry _iter297 : struct.parameters.entrySet()) { - oprot.writeString(_iter265.getKey()); - oprot.writeString(_iter265.getValue()); + oprot.writeString(_iter297.getKey()); + oprot.writeString(_iter297.getValue()); } } } @@ -1350,15 +1350,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Index struct) throws } if (incoming.get(8)) { { - org.apache.thrift.protocol.TMap _map266 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.parameters = new HashMap(2*_map266.size); - String _key267; - String _val268; - for (int _i269 = 0; _i269 < _map266.size; ++_i269) + org.apache.thrift.protocol.TMap _map298 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.parameters = new HashMap(2*_map298.size); + String _key299; + String _val300; + for (int _i301 = 0; _i301 < _map298.size; ++_i301) { - _key267 = iprot.readString(); - _val268 = iprot.readString(); - struct.parameters.put(_key267, _val268); + _key299 = iprot.readString(); + _val300 = iprot.readString(); + struct.parameters.put(_key299, _val300); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index 488d3a0..8ca081f 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 1: // FILES_ADDED if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list508.size); - String _elem509; - for (int _i510 = 0; _i510 < _list508.size; ++_i510) + org.apache.thrift.protocol.TList _list540 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list540.size); + String _elem541; + for (int _i542 = 0; _i542 < _list540.size; ++_i542) { - _elem509 = iprot.readString(); - struct.filesAdded.add(_elem509); + _elem541 = iprot.readString(); + struct.filesAdded.add(_elem541); } iprot.readListEnd(); } @@ -383,9 +383,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 _iter511 : struct.filesAdded) + for (String _iter543 : struct.filesAdded) { - oprot.writeString(_iter511); + oprot.writeString(_iter543); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.filesAdded.size()); - for (String _iter512 : struct.filesAdded) + for (String _iter544 : struct.filesAdded) { - oprot.writeString(_iter512); + oprot.writeString(_iter544); } } } @@ -421,13 +421,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 _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list513.size); - String _elem514; - for (int _i515 = 0; _i515 < _list513.size; ++_i515) + org.apache.thrift.protocol.TList _list545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list545.size); + String _elem546; + for (int _i547 = 0; _i547 < _list545.size; ++_i547) { - _elem514 = iprot.readString(); - struct.filesAdded.add(_elem514); + _elem546 = iprot.readString(); + struct.filesAdded.add(_elem546); } } struct.setFilesAddedIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index f39f582..aa24071 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java @@ -689,14 +689,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, LockRequest struct) case 1: // COMPONENT if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list452 = iprot.readListBegin(); - struct.component = new ArrayList(_list452.size); - LockComponent _elem453; - for (int _i454 = 0; _i454 < _list452.size; ++_i454) + org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); + struct.component = new ArrayList(_list484.size); + LockComponent _elem485; + for (int _i486 = 0; _i486 < _list484.size; ++_i486) { - _elem453 = new LockComponent(); - _elem453.read(iprot); - struct.component.add(_elem453); + _elem485 = new LockComponent(); + _elem485.read(iprot); + struct.component.add(_elem485); } iprot.readListEnd(); } @@ -754,9 +754,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, LockRequest struct oprot.writeFieldBegin(COMPONENT_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.component.size())); - for (LockComponent _iter455 : struct.component) + for (LockComponent _iter487 : struct.component) { - _iter455.write(oprot); + _iter487.write(oprot); } oprot.writeListEnd(); } @@ -803,9 +803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.component.size()); - for (LockComponent _iter456 : struct.component) + for (LockComponent _iter488 : struct.component) { - _iter456.write(oprot); + _iter488.write(oprot); } } oprot.writeString(struct.user); @@ -830,14 +830,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) public void read(org.apache.thrift.protocol.TProtocol prot, LockRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list457 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list457.size); - LockComponent _elem458; - for (int _i459 = 0; _i459 < _list457.size; ++_i459) + org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list489.size); + LockComponent _elem490; + for (int _i491 = 0; _i491 < _list489.size; ++_i491) { - _elem458 = new LockComponent(); - _elem458.read(iprot); - struct.component.add(_elem458); + _elem490 = new LockComponent(); + _elem490.read(iprot); + struct.component.add(_elem490); } } struct.setComponentIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index fcbbd18..bb0a273 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java @@ -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 _list500 = iprot.readListBegin(); - struct.events = new ArrayList(_list500.size); - NotificationEvent _elem501; - for (int _i502 = 0; _i502 < _list500.size; ++_i502) + org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); + struct.events = new ArrayList(_list532.size); + NotificationEvent _elem533; + for (int _i534 = 0; _i534 < _list532.size; ++_i534) { - _elem501 = new NotificationEvent(); - _elem501.read(iprot); - struct.events.add(_elem501); + _elem533 = new NotificationEvent(); + _elem533.read(iprot); + struct.events.add(_elem533); } 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 _iter503 : struct.events) + for (NotificationEvent _iter535 : struct.events) { - _iter503.write(oprot); + _iter535.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 _iter504 : struct.events) + for (NotificationEvent _iter536 : struct.events) { - _iter504.write(oprot); + _iter536.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 _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list505.size); - NotificationEvent _elem506; - for (int _i507 = 0; _i507 < _list505.size; ++_i507) + org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list537.size); + NotificationEvent _elem538; + for (int _i539 = 0; _i539 < _list537.size; ++_i539) { - _elem506 = new NotificationEvent(); - _elem506.read(iprot); - struct.events.add(_elem506); + _elem538 = new NotificationEvent(); + _elem538.read(iprot); + struct.events.add(_elem538); } } struct.setEventsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java index e11a2b3..a8af71b 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnsResponse st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list444 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list444.size); - long _elem445; - for (int _i446 = 0; _i446 < _list444.size; ++_i446) + org.apache.thrift.protocol.TList _list476 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list476.size); + long _elem477; + for (int _i478 = 0; _i478 < _list476.size; ++_i478) { - _elem445 = iprot.readI64(); - struct.txn_ids.add(_elem445); + _elem477 = iprot.readI64(); + struct.txn_ids.add(_elem477); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, OpenTxnsResponse s oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size())); - for (long _iter447 : struct.txn_ids) + for (long _iter479 : struct.txn_ids) { - oprot.writeI64(_iter447); + oprot.writeI64(_iter479); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter448 : struct.txn_ids) + for (long _iter480 : struct.txn_ids) { - oprot.writeI64(_iter448); + oprot.writeI64(_iter480); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list449 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list449.size); - long _elem450; - for (int _i451 = 0; _i451 < _list449.size; ++_i451) + org.apache.thrift.protocol.TList _list481 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list481.size); + long _elem482; + for (int _i483 = 0; _i483 < _list481.size; ++_i483) { - _elem450 = iprot.readI64(); - struct.txn_ids.add(_elem450); + _elem482 = iprot.readI64(); + struct.txn_ids.add(_elem482); } } struct.setTxn_idsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java index a247221..e058d2b 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java @@ -931,13 +931,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Partition struct) t case 1: // VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list208 = iprot.readListBegin(); - struct.values = new ArrayList(_list208.size); - String _elem209; - for (int _i210 = 0; _i210 < _list208.size; ++_i210) + org.apache.thrift.protocol.TList _list240 = iprot.readListBegin(); + struct.values = new ArrayList(_list240.size); + String _elem241; + for (int _i242 = 0; _i242 < _list240.size; ++_i242) { - _elem209 = iprot.readString(); - struct.values.add(_elem209); + _elem241 = iprot.readString(); + struct.values.add(_elem241); } iprot.readListEnd(); } @@ -990,15 +990,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Partition struct) t case 7: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map211 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map211.size); - String _key212; - String _val213; - for (int _i214 = 0; _i214 < _map211.size; ++_i214) + org.apache.thrift.protocol.TMap _map243 = iprot.readMapBegin(); + struct.parameters = new HashMap(2*_map243.size); + String _key244; + String _val245; + for (int _i246 = 0; _i246 < _map243.size; ++_i246) { - _key212 = iprot.readString(); - _val213 = iprot.readString(); - struct.parameters.put(_key212, _val213); + _key244 = iprot.readString(); + _val245 = iprot.readString(); + struct.parameters.put(_key244, _val245); } iprot.readMapEnd(); } @@ -1033,9 +1033,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Partition struct) oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.values.size())); - for (String _iter215 : struct.values) + for (String _iter247 : struct.values) { - oprot.writeString(_iter215); + oprot.writeString(_iter247); } oprot.writeListEnd(); } @@ -1066,10 +1066,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Partition struct) oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); - for (Map.Entry _iter216 : struct.parameters.entrySet()) + for (Map.Entry _iter248 : struct.parameters.entrySet()) { - oprot.writeString(_iter216.getKey()); - oprot.writeString(_iter216.getValue()); + oprot.writeString(_iter248.getKey()); + oprot.writeString(_iter248.getValue()); } oprot.writeMapEnd(); } @@ -1128,9 +1128,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Partition struct) t if (struct.isSetValues()) { { oprot.writeI32(struct.values.size()); - for (String _iter217 : struct.values) + for (String _iter249 : struct.values) { - oprot.writeString(_iter217); + oprot.writeString(_iter249); } } } @@ -1152,10 +1152,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Partition struct) t if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (Map.Entry _iter218 : struct.parameters.entrySet()) + for (Map.Entry _iter250 : struct.parameters.entrySet()) { - oprot.writeString(_iter218.getKey()); - oprot.writeString(_iter218.getValue()); + oprot.writeString(_iter250.getKey()); + oprot.writeString(_iter250.getValue()); } } } @@ -1170,13 +1170,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Partition struct) th BitSet incoming = iprot.readBitSet(8); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list219 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.values = new ArrayList(_list219.size); - String _elem220; - for (int _i221 = 0; _i221 < _list219.size; ++_i221) + org.apache.thrift.protocol.TList _list251 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.values = new ArrayList(_list251.size); + String _elem252; + for (int _i253 = 0; _i253 < _list251.size; ++_i253) { - _elem220 = iprot.readString(); - struct.values.add(_elem220); + _elem252 = iprot.readString(); + struct.values.add(_elem252); } } struct.setValuesIsSet(true); @@ -1204,15 +1204,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Partition struct) th } if (incoming.get(6)) { { - org.apache.thrift.protocol.TMap _map222 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.parameters = new HashMap(2*_map222.size); - String _key223; - String _val224; - for (int _i225 = 0; _i225 < _map222.size; ++_i225) + org.apache.thrift.protocol.TMap _map254 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.parameters = new HashMap(2*_map254.size); + String _key255; + String _val256; + for (int _i257 = 0; _i257 < _map254.size; ++_i257) { - _key223 = iprot.readString(); - _val224 = iprot.readString(); - struct.parameters.put(_key223, _val224); + _key255 = iprot.readString(); + _val256 = iprot.readString(); + struct.parameters.put(_key255, _val256); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java index e8232b9..85e83cb 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionListCompos case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list252 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list252.size); - Partition _elem253; - for (int _i254 = 0; _i254 < _list252.size; ++_i254) + org.apache.thrift.protocol.TList _list284 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list284.size); + Partition _elem285; + for (int _i286 = 0; _i286 < _list284.size; ++_i286) { - _elem253 = new Partition(); - _elem253.read(iprot); - struct.partitions.add(_elem253); + _elem285 = new Partition(); + _elem285.read(iprot); + struct.partitions.add(_elem285); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionListCompo oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter255 : struct.partitions) + for (Partition _iter287 : struct.partitions) { - _iter255.write(oprot); + _iter287.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionListCompos if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (Partition _iter256 : struct.partitions) + for (Partition _iter288 : struct.partitions) { - _iter256.write(oprot); + _iter288.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionListComposi BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list257 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list257.size); - Partition _elem258; - for (int _i259 = 0; _i259 < _list257.size; ++_i259) + org.apache.thrift.protocol.TList _list289 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list289.size); + Partition _elem290; + for (int _i291 = 0; _i291 < _list289.size; ++_i291) { - _elem258 = new Partition(); - _elem258.read(iprot); - struct.partitions.add(_elem258); + _elem290 = new Partition(); + _elem290.read(iprot); + struct.partitions.add(_elem290); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java index 2c41912..34fe3bb 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java @@ -434,14 +434,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionSpecWithSh case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list244 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list244.size); - PartitionWithoutSD _elem245; - for (int _i246 = 0; _i246 < _list244.size; ++_i246) + org.apache.thrift.protocol.TList _list276 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list276.size); + PartitionWithoutSD _elem277; + for (int _i278 = 0; _i278 < _list276.size; ++_i278) { - _elem245 = new PartitionWithoutSD(); - _elem245.read(iprot); - struct.partitions.add(_elem245); + _elem277 = new PartitionWithoutSD(); + _elem277.read(iprot); + struct.partitions.add(_elem277); } iprot.readListEnd(); } @@ -476,9 +476,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionSpecWithS oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (PartitionWithoutSD _iter247 : struct.partitions) + for (PartitionWithoutSD _iter279 : struct.partitions) { - _iter247.write(oprot); + _iter279.write(oprot); } oprot.writeListEnd(); } @@ -517,9 +517,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionSpecWithSh if (struct.isSetPartitions()) { { oprot.writeI32(struct.partitions.size()); - for (PartitionWithoutSD _iter248 : struct.partitions) + for (PartitionWithoutSD _iter280 : struct.partitions) { - _iter248.write(oprot); + _iter280.write(oprot); } } } @@ -534,14 +534,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionSpecWithSha BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list249 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list249.size); - PartitionWithoutSD _elem250; - for (int _i251 = 0; _i251 < _list249.size; ++_i251) + org.apache.thrift.protocol.TList _list281 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list281.size); + PartitionWithoutSD _elem282; + for (int _i283 = 0; _i283 < _list281.size; ++_i283) { - _elem250 = new PartitionWithoutSD(); - _elem250.read(iprot); - struct.partitions.add(_elem250); + _elem282 = new PartitionWithoutSD(); + _elem282.read(iprot); + struct.partitions.add(_elem282); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java index f0c5ce1..f1b7c39 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java @@ -766,13 +766,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionWithoutSD case 1: // VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list226 = iprot.readListBegin(); - struct.values = new ArrayList(_list226.size); - String _elem227; - for (int _i228 = 0; _i228 < _list226.size; ++_i228) + org.apache.thrift.protocol.TList _list258 = iprot.readListBegin(); + struct.values = new ArrayList(_list258.size); + String _elem259; + for (int _i260 = 0; _i260 < _list258.size; ++_i260) { - _elem227 = iprot.readString(); - struct.values.add(_elem227); + _elem259 = iprot.readString(); + struct.values.add(_elem259); } iprot.readListEnd(); } @@ -808,15 +808,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionWithoutSD case 5: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map229 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map229.size); - String _key230; - String _val231; - for (int _i232 = 0; _i232 < _map229.size; ++_i232) + org.apache.thrift.protocol.TMap _map261 = iprot.readMapBegin(); + struct.parameters = new HashMap(2*_map261.size); + String _key262; + String _val263; + for (int _i264 = 0; _i264 < _map261.size; ++_i264) { - _key230 = iprot.readString(); - _val231 = iprot.readString(); - struct.parameters.put(_key230, _val231); + _key262 = iprot.readString(); + _val263 = iprot.readString(); + struct.parameters.put(_key262, _val263); } iprot.readMapEnd(); } @@ -851,9 +851,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionWithoutSD oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.values.size())); - for (String _iter233 : struct.values) + for (String _iter265 : struct.values) { - oprot.writeString(_iter233); + oprot.writeString(_iter265); } oprot.writeListEnd(); } @@ -874,10 +874,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionWithoutSD oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); - for (Map.Entry _iter234 : struct.parameters.entrySet()) + for (Map.Entry _iter266 : struct.parameters.entrySet()) { - oprot.writeString(_iter234.getKey()); - oprot.writeString(_iter234.getValue()); + oprot.writeString(_iter266.getKey()); + oprot.writeString(_iter266.getValue()); } oprot.writeMapEnd(); } @@ -930,9 +930,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionWithoutSD if (struct.isSetValues()) { { oprot.writeI32(struct.values.size()); - for (String _iter235 : struct.values) + for (String _iter267 : struct.values) { - oprot.writeString(_iter235); + oprot.writeString(_iter267); } } } @@ -948,10 +948,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionWithoutSD if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (Map.Entry _iter236 : struct.parameters.entrySet()) + for (Map.Entry _iter268 : struct.parameters.entrySet()) { - oprot.writeString(_iter236.getKey()); - oprot.writeString(_iter236.getValue()); + oprot.writeString(_iter268.getKey()); + oprot.writeString(_iter268.getValue()); } } } @@ -966,13 +966,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionWithoutSD s BitSet incoming = iprot.readBitSet(6); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.values = new ArrayList(_list237.size); - String _elem238; - for (int _i239 = 0; _i239 < _list237.size; ++_i239) + org.apache.thrift.protocol.TList _list269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.values = new ArrayList(_list269.size); + String _elem270; + for (int _i271 = 0; _i271 < _list269.size; ++_i271) { - _elem238 = iprot.readString(); - struct.values.add(_elem238); + _elem270 = iprot.readString(); + struct.values.add(_elem270); } } struct.setValuesIsSet(true); @@ -991,15 +991,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionWithoutSD s } if (incoming.get(4)) { { - org.apache.thrift.protocol.TMap _map240 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.parameters = new HashMap(2*_map240.size); - String _key241; - String _val242; - for (int _i243 = 0; _i243 < _map240.size; ++_i243) + org.apache.thrift.protocol.TMap _map272 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.parameters = new HashMap(2*_map272.size); + String _key273; + String _val274; + for (int _i275 = 0; _i275 < _map272.size; ++_i275) { - _key241 = iprot.readString(); - _val242 = iprot.readString(); - struct.parameters.put(_key241, _val242); + _key273 = iprot.readString(); + _val274 = iprot.readString(); + struct.parameters.put(_key273, _val274); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java index 12ae66d..0533053 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java @@ -439,14 +439,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsByExprRes case 1: // PARTITIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list322 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list322.size); - Partition _elem323; - for (int _i324 = 0; _i324 < _list322.size; ++_i324) + org.apache.thrift.protocol.TList _list354 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list354.size); + Partition _elem355; + for (int _i356 = 0; _i356 < _list354.size; ++_i356) { - _elem323 = new Partition(); - _elem323.read(iprot); - struct.partitions.add(_elem323); + _elem355 = new Partition(); + _elem355.read(iprot); + struct.partitions.add(_elem355); } iprot.readListEnd(); } @@ -480,9 +480,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsByExprRe oprot.writeFieldBegin(PARTITIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitions.size())); - for (Partition _iter325 : struct.partitions) + for (Partition _iter357 : struct.partitions) { - _iter325.write(oprot); + _iter357.write(oprot); } oprot.writeListEnd(); } @@ -510,9 +510,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprRes TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.partitions.size()); - for (Partition _iter326 : struct.partitions) + for (Partition _iter358 : struct.partitions) { - _iter326.write(oprot); + _iter358.write(oprot); } } oprot.writeBool(struct.hasUnknownPartitions); @@ -522,14 +522,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprRes public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsByExprResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list327.size); - Partition _elem328; - for (int _i329 = 0; _i329 < _list327.size; ++_i329) + org.apache.thrift.protocol.TList _list359 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list359.size); + Partition _elem360; + for (int _i361 = 0; _i361 < _list359.size; ++_i361) { - _elem328 = new Partition(); - _elem328.read(iprot); - struct.partitions.add(_elem328); + _elem360 = new Partition(); + _elem360.read(iprot); + struct.partitions.add(_elem360); } } struct.setPartitionsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java index 8416369..65b8a54 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java @@ -639,13 +639,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ case 3: // COL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list364 = iprot.readListBegin(); - struct.colNames = new ArrayList(_list364.size); - String _elem365; - for (int _i366 = 0; _i366 < _list364.size; ++_i366) + org.apache.thrift.protocol.TList _list396 = iprot.readListBegin(); + struct.colNames = new ArrayList(_list396.size); + String _elem397; + for (int _i398 = 0; _i398 < _list396.size; ++_i398) { - _elem365 = iprot.readString(); - struct.colNames.add(_elem365); + _elem397 = iprot.readString(); + struct.colNames.add(_elem397); } iprot.readListEnd(); } @@ -657,13 +657,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsRequ case 4: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list367 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list367.size); - String _elem368; - for (int _i369 = 0; _i369 < _list367.size; ++_i369) + org.apache.thrift.protocol.TList _list399 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list399.size); + String _elem400; + for (int _i401 = 0; _i401 < _list399.size; ++_i401) { - _elem368 = iprot.readString(); - struct.partNames.add(_elem368); + _elem400 = iprot.readString(); + struct.partNames.add(_elem400); } iprot.readListEnd(); } @@ -699,9 +699,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsReq oprot.writeFieldBegin(COL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.colNames.size())); - for (String _iter370 : struct.colNames) + for (String _iter402 : struct.colNames) { - oprot.writeString(_iter370); + oprot.writeString(_iter402); } oprot.writeListEnd(); } @@ -711,9 +711,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsReq 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 _iter371 : struct.partNames) + for (String _iter403 : struct.partNames) { - oprot.writeString(_iter371); + oprot.writeString(_iter403); } oprot.writeListEnd(); } @@ -740,16 +740,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsRequ oprot.writeString(struct.tblName); { oprot.writeI32(struct.colNames.size()); - for (String _iter372 : struct.colNames) + for (String _iter404 : struct.colNames) { - oprot.writeString(_iter372); + oprot.writeString(_iter404); } } { oprot.writeI32(struct.partNames.size()); - for (String _iter373 : struct.partNames) + for (String _iter405 : struct.partNames) { - oprot.writeString(_iter373); + oprot.writeString(_iter405); } } } @@ -762,24 +762,24 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsReque struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list374 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.colNames = new ArrayList(_list374.size); - String _elem375; - for (int _i376 = 0; _i376 < _list374.size; ++_i376) + org.apache.thrift.protocol.TList _list406 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.colNames = new ArrayList(_list406.size); + String _elem407; + for (int _i408 = 0; _i408 < _list406.size; ++_i408) { - _elem375 = iprot.readString(); - struct.colNames.add(_elem375); + _elem407 = iprot.readString(); + struct.colNames.add(_elem407); } } struct.setColNamesIsSet(true); { - org.apache.thrift.protocol.TList _list377 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list377.size); - String _elem378; - for (int _i379 = 0; _i379 < _list377.size; ++_i379) + org.apache.thrift.protocol.TList _list409 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list409.size); + String _elem410; + for (int _i411 = 0; _i411 < _list409.size; ++_i411) { - _elem378 = iprot.readString(); - struct.partNames.add(_elem378); + _elem410 = iprot.readString(); + struct.partNames.add(_elem410); } } struct.setPartNamesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java index 2e903f1..1d5e6ce 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java @@ -363,26 +363,26 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionsStatsResu case 1: // PART_STATS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map338 = iprot.readMapBegin(); - struct.partStats = new HashMap>(2*_map338.size); - String _key339; - List _val340; - for (int _i341 = 0; _i341 < _map338.size; ++_i341) + org.apache.thrift.protocol.TMap _map370 = iprot.readMapBegin(); + struct.partStats = new HashMap>(2*_map370.size); + String _key371; + List _val372; + for (int _i373 = 0; _i373 < _map370.size; ++_i373) { - _key339 = iprot.readString(); + _key371 = iprot.readString(); { - org.apache.thrift.protocol.TList _list342 = iprot.readListBegin(); - _val340 = new ArrayList(_list342.size); - ColumnStatisticsObj _elem343; - for (int _i344 = 0; _i344 < _list342.size; ++_i344) + org.apache.thrift.protocol.TList _list374 = iprot.readListBegin(); + _val372 = new ArrayList(_list374.size); + ColumnStatisticsObj _elem375; + for (int _i376 = 0; _i376 < _list374.size; ++_i376) { - _elem343 = new ColumnStatisticsObj(); - _elem343.read(iprot); - _val340.add(_elem343); + _elem375 = new ColumnStatisticsObj(); + _elem375.read(iprot); + _val372.add(_elem375); } iprot.readListEnd(); } - struct.partStats.put(_key339, _val340); + struct.partStats.put(_key371, _val372); } iprot.readMapEnd(); } @@ -408,14 +408,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionsStatsRes oprot.writeFieldBegin(PART_STATS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, struct.partStats.size())); - for (Map.Entry> _iter345 : struct.partStats.entrySet()) + for (Map.Entry> _iter377 : struct.partStats.entrySet()) { - oprot.writeString(_iter345.getKey()); + oprot.writeString(_iter377.getKey()); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter345.getValue().size())); - for (ColumnStatisticsObj _iter346 : _iter345.getValue()) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter377.getValue().size())); + for (ColumnStatisticsObj _iter378 : _iter377.getValue()) { - _iter346.write(oprot); + _iter378.write(oprot); } oprot.writeListEnd(); } @@ -443,14 +443,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResu TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.partStats.size()); - for (Map.Entry> _iter347 : struct.partStats.entrySet()) + for (Map.Entry> _iter379 : struct.partStats.entrySet()) { - oprot.writeString(_iter347.getKey()); + oprot.writeString(_iter379.getKey()); { - oprot.writeI32(_iter347.getValue().size()); - for (ColumnStatisticsObj _iter348 : _iter347.getValue()) + oprot.writeI32(_iter379.getValue().size()); + for (ColumnStatisticsObj _iter380 : _iter379.getValue()) { - _iter348.write(oprot); + _iter380.write(oprot); } } } @@ -461,25 +461,25 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResu public void read(org.apache.thrift.protocol.TProtocol prot, PartitionsStatsResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TMap _map349 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); - struct.partStats = new HashMap>(2*_map349.size); - String _key350; - List _val351; - for (int _i352 = 0; _i352 < _map349.size; ++_i352) + org.apache.thrift.protocol.TMap _map381 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); + struct.partStats = new HashMap>(2*_map381.size); + String _key382; + List _val383; + for (int _i384 = 0; _i384 < _map381.size; ++_i384) { - _key350 = iprot.readString(); + _key382 = iprot.readString(); { - org.apache.thrift.protocol.TList _list353 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val351 = new ArrayList(_list353.size); - ColumnStatisticsObj _elem354; - for (int _i355 = 0; _i355 < _list353.size; ++_i355) + org.apache.thrift.protocol.TList _list385 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + _val383 = new ArrayList(_list385.size); + ColumnStatisticsObj _elem386; + for (int _i387 = 0; _i387 < _list385.size; ++_i387) { - _elem354 = new ColumnStatisticsObj(); - _elem354.read(iprot); - _val351.add(_elem354); + _elem386 = new ColumnStatisticsObj(); + _elem386.read(iprot); + _val383.add(_elem386); } } - struct.partStats.put(_key350, _val351); + struct.partStats.put(_key382, _val383); } } struct.setPartStatsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java index e1792bd..6b95d60 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrincipalPrivilegeSet.java @@ -579,26 +579,26 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS case 1: // USER_PRIVILEGES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map24 = iprot.readMapBegin(); - struct.userPrivileges = new HashMap>(2*_map24.size); - String _key25; - List _val26; - for (int _i27 = 0; _i27 < _map24.size; ++_i27) + org.apache.thrift.protocol.TMap _map40 = iprot.readMapBegin(); + struct.userPrivileges = new HashMap>(2*_map40.size); + String _key41; + List _val42; + for (int _i43 = 0; _i43 < _map40.size; ++_i43) { - _key25 = iprot.readString(); + _key41 = iprot.readString(); { - org.apache.thrift.protocol.TList _list28 = iprot.readListBegin(); - _val26 = new ArrayList(_list28.size); - PrivilegeGrantInfo _elem29; - for (int _i30 = 0; _i30 < _list28.size; ++_i30) + org.apache.thrift.protocol.TList _list44 = iprot.readListBegin(); + _val42 = new ArrayList(_list44.size); + PrivilegeGrantInfo _elem45; + for (int _i46 = 0; _i46 < _list44.size; ++_i46) { - _elem29 = new PrivilegeGrantInfo(); - _elem29.read(iprot); - _val26.add(_elem29); + _elem45 = new PrivilegeGrantInfo(); + _elem45.read(iprot); + _val42.add(_elem45); } iprot.readListEnd(); } - struct.userPrivileges.put(_key25, _val26); + struct.userPrivileges.put(_key41, _val42); } iprot.readMapEnd(); } @@ -610,26 +610,26 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS case 2: // GROUP_PRIVILEGES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map31 = iprot.readMapBegin(); - struct.groupPrivileges = new HashMap>(2*_map31.size); - String _key32; - List _val33; - for (int _i34 = 0; _i34 < _map31.size; ++_i34) + org.apache.thrift.protocol.TMap _map47 = iprot.readMapBegin(); + struct.groupPrivileges = new HashMap>(2*_map47.size); + String _key48; + List _val49; + for (int _i50 = 0; _i50 < _map47.size; ++_i50) { - _key32 = iprot.readString(); + _key48 = iprot.readString(); { - org.apache.thrift.protocol.TList _list35 = iprot.readListBegin(); - _val33 = new ArrayList(_list35.size); - PrivilegeGrantInfo _elem36; - for (int _i37 = 0; _i37 < _list35.size; ++_i37) + org.apache.thrift.protocol.TList _list51 = iprot.readListBegin(); + _val49 = new ArrayList(_list51.size); + PrivilegeGrantInfo _elem52; + for (int _i53 = 0; _i53 < _list51.size; ++_i53) { - _elem36 = new PrivilegeGrantInfo(); - _elem36.read(iprot); - _val33.add(_elem36); + _elem52 = new PrivilegeGrantInfo(); + _elem52.read(iprot); + _val49.add(_elem52); } iprot.readListEnd(); } - struct.groupPrivileges.put(_key32, _val33); + struct.groupPrivileges.put(_key48, _val49); } iprot.readMapEnd(); } @@ -641,26 +641,26 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrincipalPrivilegeS case 3: // ROLE_PRIVILEGES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map38 = iprot.readMapBegin(); - struct.rolePrivileges = new HashMap>(2*_map38.size); - String _key39; - List _val40; - for (int _i41 = 0; _i41 < _map38.size; ++_i41) + org.apache.thrift.protocol.TMap _map54 = iprot.readMapBegin(); + struct.rolePrivileges = new HashMap>(2*_map54.size); + String _key55; + List _val56; + for (int _i57 = 0; _i57 < _map54.size; ++_i57) { - _key39 = iprot.readString(); + _key55 = iprot.readString(); { - org.apache.thrift.protocol.TList _list42 = iprot.readListBegin(); - _val40 = new ArrayList(_list42.size); - PrivilegeGrantInfo _elem43; - for (int _i44 = 0; _i44 < _list42.size; ++_i44) + org.apache.thrift.protocol.TList _list58 = iprot.readListBegin(); + _val56 = new ArrayList(_list58.size); + PrivilegeGrantInfo _elem59; + for (int _i60 = 0; _i60 < _list58.size; ++_i60) { - _elem43 = new PrivilegeGrantInfo(); - _elem43.read(iprot); - _val40.add(_elem43); + _elem59 = new PrivilegeGrantInfo(); + _elem59.read(iprot); + _val56.add(_elem59); } iprot.readListEnd(); } - struct.rolePrivileges.put(_key39, _val40); + struct.rolePrivileges.put(_key55, _val56); } iprot.readMapEnd(); } @@ -686,14 +686,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PrincipalPrivilege oprot.writeFieldBegin(USER_PRIVILEGES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, struct.userPrivileges.size())); - for (Map.Entry> _iter45 : struct.userPrivileges.entrySet()) + for (Map.Entry> _iter61 : struct.userPrivileges.entrySet()) { - oprot.writeString(_iter45.getKey()); + oprot.writeString(_iter61.getKey()); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter45.getValue().size())); - for (PrivilegeGrantInfo _iter46 : _iter45.getValue()) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter61.getValue().size())); + for (PrivilegeGrantInfo _iter62 : _iter61.getValue()) { - _iter46.write(oprot); + _iter62.write(oprot); } oprot.writeListEnd(); } @@ -706,14 +706,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PrincipalPrivilege oprot.writeFieldBegin(GROUP_PRIVILEGES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, struct.groupPrivileges.size())); - for (Map.Entry> _iter47 : struct.groupPrivileges.entrySet()) + for (Map.Entry> _iter63 : struct.groupPrivileges.entrySet()) { - oprot.writeString(_iter47.getKey()); + oprot.writeString(_iter63.getKey()); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter47.getValue().size())); - for (PrivilegeGrantInfo _iter48 : _iter47.getValue()) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter63.getValue().size())); + for (PrivilegeGrantInfo _iter64 : _iter63.getValue()) { - _iter48.write(oprot); + _iter64.write(oprot); } oprot.writeListEnd(); } @@ -726,14 +726,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PrincipalPrivilege oprot.writeFieldBegin(ROLE_PRIVILEGES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, struct.rolePrivileges.size())); - for (Map.Entry> _iter49 : struct.rolePrivileges.entrySet()) + for (Map.Entry> _iter65 : struct.rolePrivileges.entrySet()) { - oprot.writeString(_iter49.getKey()); + oprot.writeString(_iter65.getKey()); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter49.getValue().size())); - for (PrivilegeGrantInfo _iter50 : _iter49.getValue()) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter65.getValue().size())); + for (PrivilegeGrantInfo _iter66 : _iter65.getValue()) { - _iter50.write(oprot); + _iter66.write(oprot); } oprot.writeListEnd(); } @@ -773,14 +773,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeS if (struct.isSetUserPrivileges()) { { oprot.writeI32(struct.userPrivileges.size()); - for (Map.Entry> _iter51 : struct.userPrivileges.entrySet()) + for (Map.Entry> _iter67 : struct.userPrivileges.entrySet()) { - oprot.writeString(_iter51.getKey()); + oprot.writeString(_iter67.getKey()); { - oprot.writeI32(_iter51.getValue().size()); - for (PrivilegeGrantInfo _iter52 : _iter51.getValue()) + oprot.writeI32(_iter67.getValue().size()); + for (PrivilegeGrantInfo _iter68 : _iter67.getValue()) { - _iter52.write(oprot); + _iter68.write(oprot); } } } @@ -789,14 +789,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeS if (struct.isSetGroupPrivileges()) { { oprot.writeI32(struct.groupPrivileges.size()); - for (Map.Entry> _iter53 : struct.groupPrivileges.entrySet()) + for (Map.Entry> _iter69 : struct.groupPrivileges.entrySet()) { - oprot.writeString(_iter53.getKey()); + oprot.writeString(_iter69.getKey()); { - oprot.writeI32(_iter53.getValue().size()); - for (PrivilegeGrantInfo _iter54 : _iter53.getValue()) + oprot.writeI32(_iter69.getValue().size()); + for (PrivilegeGrantInfo _iter70 : _iter69.getValue()) { - _iter54.write(oprot); + _iter70.write(oprot); } } } @@ -805,14 +805,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeS if (struct.isSetRolePrivileges()) { { oprot.writeI32(struct.rolePrivileges.size()); - for (Map.Entry> _iter55 : struct.rolePrivileges.entrySet()) + for (Map.Entry> _iter71 : struct.rolePrivileges.entrySet()) { - oprot.writeString(_iter55.getKey()); + oprot.writeString(_iter71.getKey()); { - oprot.writeI32(_iter55.getValue().size()); - for (PrivilegeGrantInfo _iter56 : _iter55.getValue()) + oprot.writeI32(_iter71.getValue().size()); + for (PrivilegeGrantInfo _iter72 : _iter71.getValue()) { - _iter56.write(oprot); + _iter72.write(oprot); } } } @@ -826,75 +826,75 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrincipalPrivilegeSe BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map57 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); - struct.userPrivileges = new HashMap>(2*_map57.size); - String _key58; - List _val59; - for (int _i60 = 0; _i60 < _map57.size; ++_i60) + org.apache.thrift.protocol.TMap _map73 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); + struct.userPrivileges = new HashMap>(2*_map73.size); + String _key74; + List _val75; + for (int _i76 = 0; _i76 < _map73.size; ++_i76) { - _key58 = iprot.readString(); + _key74 = iprot.readString(); { - org.apache.thrift.protocol.TList _list61 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val59 = new ArrayList(_list61.size); - PrivilegeGrantInfo _elem62; - for (int _i63 = 0; _i63 < _list61.size; ++_i63) + org.apache.thrift.protocol.TList _list77 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + _val75 = new ArrayList(_list77.size); + PrivilegeGrantInfo _elem78; + for (int _i79 = 0; _i79 < _list77.size; ++_i79) { - _elem62 = new PrivilegeGrantInfo(); - _elem62.read(iprot); - _val59.add(_elem62); + _elem78 = new PrivilegeGrantInfo(); + _elem78.read(iprot); + _val75.add(_elem78); } } - struct.userPrivileges.put(_key58, _val59); + struct.userPrivileges.put(_key74, _val75); } } struct.setUserPrivilegesIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TMap _map64 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); - struct.groupPrivileges = new HashMap>(2*_map64.size); - String _key65; - List _val66; - for (int _i67 = 0; _i67 < _map64.size; ++_i67) + org.apache.thrift.protocol.TMap _map80 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); + struct.groupPrivileges = new HashMap>(2*_map80.size); + String _key81; + List _val82; + for (int _i83 = 0; _i83 < _map80.size; ++_i83) { - _key65 = iprot.readString(); + _key81 = iprot.readString(); { - org.apache.thrift.protocol.TList _list68 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val66 = new ArrayList(_list68.size); - PrivilegeGrantInfo _elem69; - for (int _i70 = 0; _i70 < _list68.size; ++_i70) + org.apache.thrift.protocol.TList _list84 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + _val82 = new ArrayList(_list84.size); + PrivilegeGrantInfo _elem85; + for (int _i86 = 0; _i86 < _list84.size; ++_i86) { - _elem69 = new PrivilegeGrantInfo(); - _elem69.read(iprot); - _val66.add(_elem69); + _elem85 = new PrivilegeGrantInfo(); + _elem85.read(iprot); + _val82.add(_elem85); } } - struct.groupPrivileges.put(_key65, _val66); + struct.groupPrivileges.put(_key81, _val82); } } struct.setGroupPrivilegesIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map71 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); - struct.rolePrivileges = new HashMap>(2*_map71.size); - String _key72; - List _val73; - for (int _i74 = 0; _i74 < _map71.size; ++_i74) + org.apache.thrift.protocol.TMap _map87 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.LIST, iprot.readI32()); + struct.rolePrivileges = new HashMap>(2*_map87.size); + String _key88; + List _val89; + for (int _i90 = 0; _i90 < _map87.size; ++_i90) { - _key72 = iprot.readString(); + _key88 = iprot.readString(); { - org.apache.thrift.protocol.TList _list75 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val73 = new ArrayList(_list75.size); - PrivilegeGrantInfo _elem76; - for (int _i77 = 0; _i77 < _list75.size; ++_i77) + org.apache.thrift.protocol.TList _list91 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + _val89 = new ArrayList(_list91.size); + PrivilegeGrantInfo _elem92; + for (int _i93 = 0; _i93 < _list91.size; ++_i93) { - _elem76 = new PrivilegeGrantInfo(); - _elem76.read(iprot); - _val73.add(_elem76); + _elem92 = new PrivilegeGrantInfo(); + _elem92.read(iprot); + _val89.add(_elem92); } } - struct.rolePrivileges.put(_key72, _val73); + struct.rolePrivileges.put(_key88, _val89); } } struct.setRolePrivilegesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java index bba2d40..aeb0dd0 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrivilegeBag.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrivilegeBag struct case 1: // PRIVILEGES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list16 = iprot.readListBegin(); - struct.privileges = new ArrayList(_list16.size); - HiveObjectPrivilege _elem17; - for (int _i18 = 0; _i18 < _list16.size; ++_i18) + org.apache.thrift.protocol.TList _list32 = iprot.readListBegin(); + struct.privileges = new ArrayList(_list32.size); + HiveObjectPrivilege _elem33; + for (int _i34 = 0; _i34 < _list32.size; ++_i34) { - _elem17 = new HiveObjectPrivilege(); - _elem17.read(iprot); - struct.privileges.add(_elem17); + _elem33 = new HiveObjectPrivilege(); + _elem33.read(iprot); + struct.privileges.add(_elem33); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PrivilegeBag struc oprot.writeFieldBegin(PRIVILEGES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.privileges.size())); - for (HiveObjectPrivilege _iter19 : struct.privileges) + for (HiveObjectPrivilege _iter35 : struct.privileges) { - _iter19.write(oprot); + _iter35.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PrivilegeBag struct if (struct.isSetPrivileges()) { { oprot.writeI32(struct.privileges.size()); - for (HiveObjectPrivilege _iter20 : struct.privileges) + for (HiveObjectPrivilege _iter36 : struct.privileges) { - _iter20.write(oprot); + _iter36.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PrivilegeBag struct) BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list21 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.privileges = new ArrayList(_list21.size); - HiveObjectPrivilege _elem22; - for (int _i23 = 0; _i23 < _list21.size; ++_i23) + org.apache.thrift.protocol.TList _list37 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.privileges = new ArrayList(_list37.size); + HiveObjectPrivilege _elem38; + for (int _i39 = 0; _i39 < _list37.size; ++_i39) { - _elem22 = new HiveObjectPrivilege(); - _elem22.read(iprot); - struct.privileges.add(_elem22); + _elem38 = new HiveObjectPrivilege(); + _elem38.read(iprot); + struct.privileges.add(_elem38); } } struct.setPrivilegesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java index ab151b1..69b0cb6 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java +++ b/metastore/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 _list560 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list560.size); - long _elem561; - for (int _i562 = 0; _i562 < _list560.size; ++_i562) + org.apache.thrift.protocol.TList _list592 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list592.size); + long _elem593; + for (int _i594 = 0; _i594 < _list592.size; ++_i594) { - _elem561 = iprot.readI64(); - struct.fileIds.add(_elem561); + _elem593 = iprot.readI64(); + struct.fileIds.add(_elem593); } 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 _list563 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list563.size); - ByteBuffer _elem564; - for (int _i565 = 0; _i565 < _list563.size; ++_i565) + org.apache.thrift.protocol.TList _list595 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list595.size); + ByteBuffer _elem596; + for (int _i597 = 0; _i597 < _list595.size; ++_i597) { - _elem564 = iprot.readBinary(); - struct.metadata.add(_elem564); + _elem596 = iprot.readBinary(); + struct.metadata.add(_elem596); } 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 _iter566 : struct.fileIds) + for (long _iter598 : struct.fileIds) { - oprot.writeI64(_iter566); + oprot.writeI64(_iter598); } 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 _iter567 : struct.metadata) + for (ByteBuffer _iter599 : struct.metadata) { - oprot.writeBinary(_iter567); + oprot.writeBinary(_iter599); } 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 _iter568 : struct.fileIds) + for (long _iter600 : struct.fileIds) { - oprot.writeI64(_iter568); + oprot.writeI64(_iter600); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter569 : struct.metadata) + for (ByteBuffer _iter601 : struct.metadata) { - oprot.writeBinary(_iter569); + oprot.writeBinary(_iter601); } } 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 _list570 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list570.size); - long _elem571; - for (int _i572 = 0; _i572 < _list570.size; ++_i572) + org.apache.thrift.protocol.TList _list602 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list602.size); + long _elem603; + for (int _i604 = 0; _i604 < _list602.size; ++_i604) { - _elem571 = iprot.readI64(); - struct.fileIds.add(_elem571); + _elem603 = iprot.readI64(); + struct.fileIds.add(_elem603); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list573 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list573.size); - ByteBuffer _elem574; - for (int _i575 = 0; _i575 < _list573.size; ++_i575) + org.apache.thrift.protocol.TList _list605 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list605.size); + ByteBuffer _elem606; + for (int _i607 = 0; _i607 < _list605.size; ++_i607) { - _elem574 = iprot.readBinary(); - struct.metadata.add(_elem574); + _elem606 = iprot.readBinary(); + struct.metadata.add(_elem606); } } struct.setMetadataIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java index 7f8a044..7368e9a 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java @@ -168,13 +168,13 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip if (field.type == NAMES_FIELD_DESC.type) { List names; { - org.apache.thrift.protocol.TList _list404 = iprot.readListBegin(); - names = new ArrayList(_list404.size); - String _elem405; - for (int _i406 = 0; _i406 < _list404.size; ++_i406) + org.apache.thrift.protocol.TList _list436 = iprot.readListBegin(); + names = new ArrayList(_list436.size); + String _elem437; + for (int _i438 = 0; _i438 < _list436.size; ++_i438) { - _elem405 = iprot.readString(); - names.add(_elem405); + _elem437 = iprot.readString(); + names.add(_elem437); } iprot.readListEnd(); } @@ -187,14 +187,14 @@ protected Object standardSchemeReadValue(org.apache.thrift.protocol.TProtocol ip if (field.type == EXPRS_FIELD_DESC.type) { List exprs; { - org.apache.thrift.protocol.TList _list407 = iprot.readListBegin(); - exprs = new ArrayList(_list407.size); - DropPartitionsExpr _elem408; - for (int _i409 = 0; _i409 < _list407.size; ++_i409) + org.apache.thrift.protocol.TList _list439 = iprot.readListBegin(); + exprs = new ArrayList(_list439.size); + DropPartitionsExpr _elem440; + for (int _i441 = 0; _i441 < _list439.size; ++_i441) { - _elem408 = new DropPartitionsExpr(); - _elem408.read(iprot); - exprs.add(_elem408); + _elem440 = new DropPartitionsExpr(); + _elem440.read(iprot); + exprs.add(_elem440); } iprot.readListEnd(); } @@ -219,9 +219,9 @@ protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol opr List names = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size())); - for (String _iter410 : names) + for (String _iter442 : names) { - oprot.writeString(_iter410); + oprot.writeString(_iter442); } oprot.writeListEnd(); } @@ -230,9 +230,9 @@ protected void standardSchemeWriteValue(org.apache.thrift.protocol.TProtocol opr List exprs = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size())); - for (DropPartitionsExpr _iter411 : exprs) + for (DropPartitionsExpr _iter443 : exprs) { - _iter411.write(oprot); + _iter443.write(oprot); } oprot.writeListEnd(); } @@ -250,13 +250,13 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case NAMES: List names; { - org.apache.thrift.protocol.TList _list412 = iprot.readListBegin(); - names = new ArrayList(_list412.size); - String _elem413; - for (int _i414 = 0; _i414 < _list412.size; ++_i414) + org.apache.thrift.protocol.TList _list444 = iprot.readListBegin(); + names = new ArrayList(_list444.size); + String _elem445; + for (int _i446 = 0; _i446 < _list444.size; ++_i446) { - _elem413 = iprot.readString(); - names.add(_elem413); + _elem445 = iprot.readString(); + names.add(_elem445); } iprot.readListEnd(); } @@ -264,14 +264,14 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case EXPRS: List exprs; { - org.apache.thrift.protocol.TList _list415 = iprot.readListBegin(); - exprs = new ArrayList(_list415.size); - DropPartitionsExpr _elem416; - for (int _i417 = 0; _i417 < _list415.size; ++_i417) + org.apache.thrift.protocol.TList _list447 = iprot.readListBegin(); + exprs = new ArrayList(_list447.size); + DropPartitionsExpr _elem448; + for (int _i449 = 0; _i449 < _list447.size; ++_i449) { - _elem416 = new DropPartitionsExpr(); - _elem416.read(iprot); - exprs.add(_elem416); + _elem448 = new DropPartitionsExpr(); + _elem448.read(iprot); + exprs.add(_elem448); } iprot.readListEnd(); } @@ -291,9 +291,9 @@ protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) List names = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, names.size())); - for (String _iter418 : names) + for (String _iter450 : names) { - oprot.writeString(_iter418); + oprot.writeString(_iter450); } oprot.writeListEnd(); } @@ -302,9 +302,9 @@ protected void tupleSchemeWriteValue(org.apache.thrift.protocol.TProtocol oprot) List exprs = (List)value_; { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, exprs.size())); - for (DropPartitionsExpr _iter419 : exprs) + for (DropPartitionsExpr _iter451 : exprs) { - _iter419.write(oprot); + _iter451.write(oprot); } oprot.writeListEnd(); } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java index 75d0ebb..0bb76b3 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java @@ -445,14 +445,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Schema struct) thro case 1: // FIELD_SCHEMAS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list294 = iprot.readListBegin(); - struct.fieldSchemas = new ArrayList(_list294.size); - FieldSchema _elem295; - for (int _i296 = 0; _i296 < _list294.size; ++_i296) + org.apache.thrift.protocol.TList _list326 = iprot.readListBegin(); + struct.fieldSchemas = new ArrayList(_list326.size); + FieldSchema _elem327; + for (int _i328 = 0; _i328 < _list326.size; ++_i328) { - _elem295 = new FieldSchema(); - _elem295.read(iprot); - struct.fieldSchemas.add(_elem295); + _elem327 = new FieldSchema(); + _elem327.read(iprot); + struct.fieldSchemas.add(_elem327); } iprot.readListEnd(); } @@ -464,15 +464,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Schema struct) thro case 2: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map297 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map297.size); - String _key298; - String _val299; - for (int _i300 = 0; _i300 < _map297.size; ++_i300) + org.apache.thrift.protocol.TMap _map329 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map329.size); + String _key330; + String _val331; + for (int _i332 = 0; _i332 < _map329.size; ++_i332) { - _key298 = iprot.readString(); - _val299 = iprot.readString(); - struct.properties.put(_key298, _val299); + _key330 = iprot.readString(); + _val331 = iprot.readString(); + struct.properties.put(_key330, _val331); } iprot.readMapEnd(); } @@ -498,9 +498,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Schema struct) thr oprot.writeFieldBegin(FIELD_SCHEMAS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fieldSchemas.size())); - for (FieldSchema _iter301 : struct.fieldSchemas) + for (FieldSchema _iter333 : struct.fieldSchemas) { - _iter301.write(oprot); + _iter333.write(oprot); } oprot.writeListEnd(); } @@ -510,10 +510,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Schema struct) thr oprot.writeFieldBegin(PROPERTIES_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.properties.size())); - for (Map.Entry _iter302 : struct.properties.entrySet()) + for (Map.Entry _iter334 : struct.properties.entrySet()) { - oprot.writeString(_iter302.getKey()); - oprot.writeString(_iter302.getValue()); + oprot.writeString(_iter334.getKey()); + oprot.writeString(_iter334.getValue()); } oprot.writeMapEnd(); } @@ -547,19 +547,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Schema struct) thro if (struct.isSetFieldSchemas()) { { oprot.writeI32(struct.fieldSchemas.size()); - for (FieldSchema _iter303 : struct.fieldSchemas) + for (FieldSchema _iter335 : struct.fieldSchemas) { - _iter303.write(oprot); + _iter335.write(oprot); } } } if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter304 : struct.properties.entrySet()) + for (Map.Entry _iter336 : struct.properties.entrySet()) { - oprot.writeString(_iter304.getKey()); - oprot.writeString(_iter304.getValue()); + oprot.writeString(_iter336.getKey()); + oprot.writeString(_iter336.getValue()); } } } @@ -571,29 +571,29 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Schema struct) throw BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list305 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.fieldSchemas = new ArrayList(_list305.size); - FieldSchema _elem306; - for (int _i307 = 0; _i307 < _list305.size; ++_i307) + org.apache.thrift.protocol.TList _list337 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.fieldSchemas = new ArrayList(_list337.size); + FieldSchema _elem338; + for (int _i339 = 0; _i339 < _list337.size; ++_i339) { - _elem306 = new FieldSchema(); - _elem306.read(iprot); - struct.fieldSchemas.add(_elem306); + _elem338 = new FieldSchema(); + _elem338.read(iprot); + struct.fieldSchemas.add(_elem338); } } struct.setFieldSchemasIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TMap _map308 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.properties = new HashMap(2*_map308.size); - String _key309; - String _val310; - for (int _i311 = 0; _i311 < _map308.size; ++_i311) + org.apache.thrift.protocol.TMap _map340 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.properties = new HashMap(2*_map340.size); + String _key341; + String _val342; + for (int _i343 = 0; _i343 < _map340.size; ++_i343) { - _key309 = iprot.readString(); - _val310 = iprot.readString(); - struct.properties.put(_key309, _val310); + _key341 = iprot.readString(); + _val342 = iprot.readString(); + struct.properties.put(_key341, _val342); } } struct.setPropertiesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java index d5a8d99..9331400 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SerDeInfo.java @@ -522,15 +522,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SerDeInfo struct) t case 3: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map104 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map104.size); - String _key105; - String _val106; - for (int _i107 = 0; _i107 < _map104.size; ++_i107) + org.apache.thrift.protocol.TMap _map120 = iprot.readMapBegin(); + struct.parameters = new HashMap(2*_map120.size); + String _key121; + String _val122; + for (int _i123 = 0; _i123 < _map120.size; ++_i123) { - _key105 = iprot.readString(); - _val106 = iprot.readString(); - struct.parameters.put(_key105, _val106); + _key121 = iprot.readString(); + _val122 = iprot.readString(); + struct.parameters.put(_key121, _val122); } iprot.readMapEnd(); } @@ -566,10 +566,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SerDeInfo struct) oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); - for (Map.Entry _iter108 : struct.parameters.entrySet()) + for (Map.Entry _iter124 : struct.parameters.entrySet()) { - oprot.writeString(_iter108.getKey()); - oprot.writeString(_iter108.getValue()); + oprot.writeString(_iter124.getKey()); + oprot.writeString(_iter124.getValue()); } oprot.writeMapEnd(); } @@ -612,10 +612,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SerDeInfo struct) t if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (Map.Entry _iter109 : struct.parameters.entrySet()) + for (Map.Entry _iter125 : struct.parameters.entrySet()) { - oprot.writeString(_iter109.getKey()); - oprot.writeString(_iter109.getValue()); + oprot.writeString(_iter125.getKey()); + oprot.writeString(_iter125.getValue()); } } } @@ -635,15 +635,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SerDeInfo struct) th } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map110 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.parameters = new HashMap(2*_map110.size); - String _key111; - String _val112; - for (int _i113 = 0; _i113 < _map110.size; ++_i113) + org.apache.thrift.protocol.TMap _map126 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.parameters = new HashMap(2*_map126.size); + String _key127; + String _val128; + for (int _i129 = 0; _i129 < _map126.size; ++_i129) { - _key111 = iprot.readString(); - _val112 = iprot.readString(); - struct.parameters.put(_key111, _val112); + _key127 = iprot.readString(); + _val128 = iprot.readString(); + struct.parameters.put(_key127, _val128); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java index 6e334f6..b599ce2 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SetPartitionsStatsR case 1: // COL_STATS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list286 = iprot.readListBegin(); - struct.colStats = new ArrayList(_list286.size); - ColumnStatistics _elem287; - for (int _i288 = 0; _i288 < _list286.size; ++_i288) + org.apache.thrift.protocol.TList _list318 = iprot.readListBegin(); + struct.colStats = new ArrayList(_list318.size); + ColumnStatistics _elem319; + for (int _i320 = 0; _i320 < _list318.size; ++_i320) { - _elem287 = new ColumnStatistics(); - _elem287.read(iprot); - struct.colStats.add(_elem287); + _elem319 = new ColumnStatistics(); + _elem319.read(iprot); + struct.colStats.add(_elem319); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SetPartitionsStats oprot.writeFieldBegin(COL_STATS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.colStats.size())); - for (ColumnStatistics _iter289 : struct.colStats) + for (ColumnStatistics _iter321 : struct.colStats) { - _iter289.write(oprot); + _iter321.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsR TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.colStats.size()); - for (ColumnStatistics _iter290 : struct.colStats) + for (ColumnStatistics _iter322 : struct.colStats) { - _iter290.write(oprot); + _iter322.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsR public void read(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list291 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.colStats = new ArrayList(_list291.size); - ColumnStatistics _elem292; - for (int _i293 = 0; _i293 < _list291.size; ++_i293) + org.apache.thrift.protocol.TList _list323 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.colStats = new ArrayList(_list323.size); + ColumnStatistics _elem324; + for (int _i325 = 0; _i325 < _list323.size; ++_i325) { - _elem292 = new ColumnStatistics(); - _elem292.read(iprot); - struct.colStats.add(_elem292); + _elem324 = new ColumnStatistics(); + _elem324.read(iprot); + struct.colStats.add(_elem324); } } struct.setColStatsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index afa832c..50e1924 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowCompactResponse case 1: // COMPACTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list484.size); - ShowCompactResponseElement _elem485; - for (int _i486 = 0; _i486 < _list484.size; ++_i486) + org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list516.size); + ShowCompactResponseElement _elem517; + for (int _i518 = 0; _i518 < _list516.size; ++_i518) { - _elem485 = new ShowCompactResponseElement(); - _elem485.read(iprot); - struct.compacts.add(_elem485); + _elem517 = new ShowCompactResponseElement(); + _elem517.read(iprot); + struct.compacts.add(_elem517); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowCompactRespons oprot.writeFieldBegin(COMPACTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.compacts.size())); - for (ShowCompactResponseElement _iter487 : struct.compacts) + for (ShowCompactResponseElement _iter519 : struct.compacts) { - _iter487.write(oprot); + _iter519.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.compacts.size()); - for (ShowCompactResponseElement _iter488 : struct.compacts) + for (ShowCompactResponseElement _iter520 : struct.compacts) { - _iter488.write(oprot); + _iter520.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse public void read(org.apache.thrift.protocol.TProtocol prot, ShowCompactResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list489 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list489.size); - ShowCompactResponseElement _elem490; - for (int _i491 = 0; _i491 < _list489.size; ++_i491) + org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list521.size); + ShowCompactResponseElement _elem522; + for (int _i523 = 0; _i523 < _list521.size; ++_i523) { - _elem490 = new ShowCompactResponseElement(); - _elem490.read(iprot); - struct.compacts.add(_elem490); + _elem522 = new ShowCompactResponseElement(); + _elem522.read(iprot); + struct.compacts.add(_elem522); } } struct.setCompactsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index b9b7f3c..d7b316d 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ShowLocksResponse s case 1: // LOCKS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list460 = iprot.readListBegin(); - struct.locks = new ArrayList(_list460.size); - ShowLocksResponseElement _elem461; - for (int _i462 = 0; _i462 < _list460.size; ++_i462) + org.apache.thrift.protocol.TList _list492 = iprot.readListBegin(); + struct.locks = new ArrayList(_list492.size); + ShowLocksResponseElement _elem493; + for (int _i494 = 0; _i494 < _list492.size; ++_i494) { - _elem461 = new ShowLocksResponseElement(); - _elem461.read(iprot); - struct.locks.add(_elem461); + _elem493 = new ShowLocksResponseElement(); + _elem493.read(iprot); + struct.locks.add(_elem493); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ShowLocksResponse oprot.writeFieldBegin(LOCKS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.locks.size())); - for (ShowLocksResponseElement _iter463 : struct.locks) + for (ShowLocksResponseElement _iter495 : struct.locks) { - _iter463.write(oprot); + _iter495.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse s if (struct.isSetLocks()) { { oprot.writeI32(struct.locks.size()); - for (ShowLocksResponseElement _iter464 : struct.locks) + for (ShowLocksResponseElement _iter496 : struct.locks) { - _iter464.write(oprot); + _iter496.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, ShowLocksResponse st BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list465 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list465.size); - ShowLocksResponseElement _elem466; - for (int _i467 = 0; _i467 < _list465.size; ++_i467) + org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list497.size); + ShowLocksResponseElement _elem498; + for (int _i499 = 0; _i499 < _list497.size; ++_i499) { - _elem466 = new ShowLocksResponseElement(); - _elem466.read(iprot); - struct.locks.add(_elem466); + _elem498 = new ShowLocksResponseElement(); + _elem498.read(iprot); + struct.locks.add(_elem498); } } struct.setLocksIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java index c32f50c..0263c2c 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SkewedInfo.java @@ -557,13 +557,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) case 1: // SKEWED_COL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list114 = iprot.readListBegin(); - struct.skewedColNames = new ArrayList(_list114.size); - String _elem115; - for (int _i116 = 0; _i116 < _list114.size; ++_i116) + org.apache.thrift.protocol.TList _list130 = iprot.readListBegin(); + struct.skewedColNames = new ArrayList(_list130.size); + String _elem131; + for (int _i132 = 0; _i132 < _list130.size; ++_i132) { - _elem115 = iprot.readString(); - struct.skewedColNames.add(_elem115); + _elem131 = iprot.readString(); + struct.skewedColNames.add(_elem131); } iprot.readListEnd(); } @@ -575,23 +575,23 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) case 2: // SKEWED_COL_VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list117 = iprot.readListBegin(); - struct.skewedColValues = new ArrayList>(_list117.size); - List _elem118; - for (int _i119 = 0; _i119 < _list117.size; ++_i119) + org.apache.thrift.protocol.TList _list133 = iprot.readListBegin(); + struct.skewedColValues = new ArrayList>(_list133.size); + List _elem134; + for (int _i135 = 0; _i135 < _list133.size; ++_i135) { { - org.apache.thrift.protocol.TList _list120 = iprot.readListBegin(); - _elem118 = new ArrayList(_list120.size); - String _elem121; - for (int _i122 = 0; _i122 < _list120.size; ++_i122) + org.apache.thrift.protocol.TList _list136 = iprot.readListBegin(); + _elem134 = new ArrayList(_list136.size); + String _elem137; + for (int _i138 = 0; _i138 < _list136.size; ++_i138) { - _elem121 = iprot.readString(); - _elem118.add(_elem121); + _elem137 = iprot.readString(); + _elem134.add(_elem137); } iprot.readListEnd(); } - struct.skewedColValues.add(_elem118); + struct.skewedColValues.add(_elem134); } iprot.readListEnd(); } @@ -603,25 +603,25 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SkewedInfo struct) case 3: // SKEWED_COL_VALUE_LOCATION_MAPS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map123 = iprot.readMapBegin(); - struct.skewedColValueLocationMaps = new HashMap,String>(2*_map123.size); - List _key124; - String _val125; - for (int _i126 = 0; _i126 < _map123.size; ++_i126) + org.apache.thrift.protocol.TMap _map139 = iprot.readMapBegin(); + struct.skewedColValueLocationMaps = new HashMap,String>(2*_map139.size); + List _key140; + String _val141; + for (int _i142 = 0; _i142 < _map139.size; ++_i142) { { - org.apache.thrift.protocol.TList _list127 = iprot.readListBegin(); - _key124 = new ArrayList(_list127.size); - String _elem128; - for (int _i129 = 0; _i129 < _list127.size; ++_i129) + org.apache.thrift.protocol.TList _list143 = iprot.readListBegin(); + _key140 = new ArrayList(_list143.size); + String _elem144; + for (int _i145 = 0; _i145 < _list143.size; ++_i145) { - _elem128 = iprot.readString(); - _key124.add(_elem128); + _elem144 = iprot.readString(); + _key140.add(_elem144); } iprot.readListEnd(); } - _val125 = iprot.readString(); - struct.skewedColValueLocationMaps.put(_key124, _val125); + _val141 = iprot.readString(); + struct.skewedColValueLocationMaps.put(_key140, _val141); } iprot.readMapEnd(); } @@ -647,9 +647,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SkewedInfo struct) oprot.writeFieldBegin(SKEWED_COL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.skewedColNames.size())); - for (String _iter130 : struct.skewedColNames) + for (String _iter146 : struct.skewedColNames) { - oprot.writeString(_iter130); + oprot.writeString(_iter146); } oprot.writeListEnd(); } @@ -659,13 +659,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SkewedInfo struct) oprot.writeFieldBegin(SKEWED_COL_VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, struct.skewedColValues.size())); - for (List _iter131 : struct.skewedColValues) + for (List _iter147 : struct.skewedColValues) { { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter131.size())); - for (String _iter132 : _iter131) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter147.size())); + for (String _iter148 : _iter147) { - oprot.writeString(_iter132); + oprot.writeString(_iter148); } oprot.writeListEnd(); } @@ -678,17 +678,17 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SkewedInfo struct) oprot.writeFieldBegin(SKEWED_COL_VALUE_LOCATION_MAPS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.LIST, org.apache.thrift.protocol.TType.STRING, struct.skewedColValueLocationMaps.size())); - for (Map.Entry, String> _iter133 : struct.skewedColValueLocationMaps.entrySet()) + for (Map.Entry, String> _iter149 : struct.skewedColValueLocationMaps.entrySet()) { { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter133.getKey().size())); - for (String _iter134 : _iter133.getKey()) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter149.getKey().size())); + for (String _iter150 : _iter149.getKey()) { - oprot.writeString(_iter134); + oprot.writeString(_iter150); } oprot.writeListEnd(); } - oprot.writeString(_iter133.getValue()); + oprot.writeString(_iter149.getValue()); } oprot.writeMapEnd(); } @@ -725,22 +725,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) if (struct.isSetSkewedColNames()) { { oprot.writeI32(struct.skewedColNames.size()); - for (String _iter135 : struct.skewedColNames) + for (String _iter151 : struct.skewedColNames) { - oprot.writeString(_iter135); + oprot.writeString(_iter151); } } } if (struct.isSetSkewedColValues()) { { oprot.writeI32(struct.skewedColValues.size()); - for (List _iter136 : struct.skewedColValues) + for (List _iter152 : struct.skewedColValues) { { - oprot.writeI32(_iter136.size()); - for (String _iter137 : _iter136) + oprot.writeI32(_iter152.size()); + for (String _iter153 : _iter152) { - oprot.writeString(_iter137); + oprot.writeString(_iter153); } } } @@ -749,16 +749,16 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) if (struct.isSetSkewedColValueLocationMaps()) { { oprot.writeI32(struct.skewedColValueLocationMaps.size()); - for (Map.Entry, String> _iter138 : struct.skewedColValueLocationMaps.entrySet()) + for (Map.Entry, String> _iter154 : struct.skewedColValueLocationMaps.entrySet()) { { - oprot.writeI32(_iter138.getKey().size()); - for (String _iter139 : _iter138.getKey()) + oprot.writeI32(_iter154.getKey().size()); + for (String _iter155 : _iter154.getKey()) { - oprot.writeString(_iter139); + oprot.writeString(_iter155); } } - oprot.writeString(_iter138.getValue()); + oprot.writeString(_iter154.getValue()); } } } @@ -770,59 +770,59 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SkewedInfo struct) t BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list140 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.skewedColNames = new ArrayList(_list140.size); - String _elem141; - for (int _i142 = 0; _i142 < _list140.size; ++_i142) + org.apache.thrift.protocol.TList _list156 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.skewedColNames = new ArrayList(_list156.size); + String _elem157; + for (int _i158 = 0; _i158 < _list156.size; ++_i158) { - _elem141 = iprot.readString(); - struct.skewedColNames.add(_elem141); + _elem157 = iprot.readString(); + struct.skewedColNames.add(_elem157); } } struct.setSkewedColNamesIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list143 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, iprot.readI32()); - struct.skewedColValues = new ArrayList>(_list143.size); - List _elem144; - for (int _i145 = 0; _i145 < _list143.size; ++_i145) + org.apache.thrift.protocol.TList _list159 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.LIST, iprot.readI32()); + struct.skewedColValues = new ArrayList>(_list159.size); + List _elem160; + for (int _i161 = 0; _i161 < _list159.size; ++_i161) { { - org.apache.thrift.protocol.TList _list146 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - _elem144 = new ArrayList(_list146.size); - String _elem147; - for (int _i148 = 0; _i148 < _list146.size; ++_i148) + org.apache.thrift.protocol.TList _list162 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + _elem160 = new ArrayList(_list162.size); + String _elem163; + for (int _i164 = 0; _i164 < _list162.size; ++_i164) { - _elem147 = iprot.readString(); - _elem144.add(_elem147); + _elem163 = iprot.readString(); + _elem160.add(_elem163); } } - struct.skewedColValues.add(_elem144); + struct.skewedColValues.add(_elem160); } } struct.setSkewedColValuesIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map149 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.LIST, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.skewedColValueLocationMaps = new HashMap,String>(2*_map149.size); - List _key150; - String _val151; - for (int _i152 = 0; _i152 < _map149.size; ++_i152) + org.apache.thrift.protocol.TMap _map165 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.LIST, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.skewedColValueLocationMaps = new HashMap,String>(2*_map165.size); + List _key166; + String _val167; + for (int _i168 = 0; _i168 < _map165.size; ++_i168) { { - org.apache.thrift.protocol.TList _list153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - _key150 = new ArrayList(_list153.size); - String _elem154; - for (int _i155 = 0; _i155 < _list153.size; ++_i155) + org.apache.thrift.protocol.TList _list169 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + _key166 = new ArrayList(_list169.size); + String _elem170; + for (int _i171 = 0; _i171 < _list169.size; ++_i171) { - _elem154 = iprot.readString(); - _key150.add(_elem154); + _elem170 = iprot.readString(); + _key166.add(_elem170); } } - _val151 = iprot.readString(); - struct.skewedColValueLocationMaps.put(_key150, _val151); + _val167 = iprot.readString(); + struct.skewedColValueLocationMaps.put(_key166, _val167); } } struct.setSkewedColValueLocationMapsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java index 938f06b..29250ef 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/StorageDescriptor.java @@ -1290,14 +1290,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s case 1: // COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list156 = iprot.readListBegin(); - struct.cols = new ArrayList(_list156.size); - FieldSchema _elem157; - for (int _i158 = 0; _i158 < _list156.size; ++_i158) + org.apache.thrift.protocol.TList _list172 = iprot.readListBegin(); + struct.cols = new ArrayList(_list172.size); + FieldSchema _elem173; + for (int _i174 = 0; _i174 < _list172.size; ++_i174) { - _elem157 = new FieldSchema(); - _elem157.read(iprot); - struct.cols.add(_elem157); + _elem173 = new FieldSchema(); + _elem173.read(iprot); + struct.cols.add(_elem173); } iprot.readListEnd(); } @@ -1358,13 +1358,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s case 8: // BUCKET_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list159 = iprot.readListBegin(); - struct.bucketCols = new ArrayList(_list159.size); - String _elem160; - for (int _i161 = 0; _i161 < _list159.size; ++_i161) + org.apache.thrift.protocol.TList _list175 = iprot.readListBegin(); + struct.bucketCols = new ArrayList(_list175.size); + String _elem176; + for (int _i177 = 0; _i177 < _list175.size; ++_i177) { - _elem160 = iprot.readString(); - struct.bucketCols.add(_elem160); + _elem176 = iprot.readString(); + struct.bucketCols.add(_elem176); } iprot.readListEnd(); } @@ -1376,14 +1376,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s case 9: // SORT_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list162 = iprot.readListBegin(); - struct.sortCols = new ArrayList(_list162.size); - Order _elem163; - for (int _i164 = 0; _i164 < _list162.size; ++_i164) + org.apache.thrift.protocol.TList _list178 = iprot.readListBegin(); + struct.sortCols = new ArrayList(_list178.size); + Order _elem179; + for (int _i180 = 0; _i180 < _list178.size; ++_i180) { - _elem163 = new Order(); - _elem163.read(iprot); - struct.sortCols.add(_elem163); + _elem179 = new Order(); + _elem179.read(iprot); + struct.sortCols.add(_elem179); } iprot.readListEnd(); } @@ -1395,15 +1395,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, StorageDescriptor s case 10: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map165 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map165.size); - String _key166; - String _val167; - for (int _i168 = 0; _i168 < _map165.size; ++_i168) + org.apache.thrift.protocol.TMap _map181 = iprot.readMapBegin(); + struct.parameters = new HashMap(2*_map181.size); + String _key182; + String _val183; + for (int _i184 = 0; _i184 < _map181.size; ++_i184) { - _key166 = iprot.readString(); - _val167 = iprot.readString(); - struct.parameters.put(_key166, _val167); + _key182 = iprot.readString(); + _val183 = iprot.readString(); + struct.parameters.put(_key182, _val183); } iprot.readMapEnd(); } @@ -1446,9 +1446,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, StorageDescriptor oprot.writeFieldBegin(COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.cols.size())); - for (FieldSchema _iter169 : struct.cols) + for (FieldSchema _iter185 : struct.cols) { - _iter169.write(oprot); + _iter185.write(oprot); } oprot.writeListEnd(); } @@ -1484,9 +1484,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, StorageDescriptor oprot.writeFieldBegin(BUCKET_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.bucketCols.size())); - for (String _iter170 : struct.bucketCols) + for (String _iter186 : struct.bucketCols) { - oprot.writeString(_iter170); + oprot.writeString(_iter186); } oprot.writeListEnd(); } @@ -1496,9 +1496,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, StorageDescriptor oprot.writeFieldBegin(SORT_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.sortCols.size())); - for (Order _iter171 : struct.sortCols) + for (Order _iter187 : struct.sortCols) { - _iter171.write(oprot); + _iter187.write(oprot); } oprot.writeListEnd(); } @@ -1508,10 +1508,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, StorageDescriptor oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); - for (Map.Entry _iter172 : struct.parameters.entrySet()) + for (Map.Entry _iter188 : struct.parameters.entrySet()) { - oprot.writeString(_iter172.getKey()); - oprot.writeString(_iter172.getValue()); + oprot.writeString(_iter188.getKey()); + oprot.writeString(_iter188.getValue()); } oprot.writeMapEnd(); } @@ -1587,9 +1587,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor s if (struct.isSetCols()) { { oprot.writeI32(struct.cols.size()); - for (FieldSchema _iter173 : struct.cols) + for (FieldSchema _iter189 : struct.cols) { - _iter173.write(oprot); + _iter189.write(oprot); } } } @@ -1614,28 +1614,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor s if (struct.isSetBucketCols()) { { oprot.writeI32(struct.bucketCols.size()); - for (String _iter174 : struct.bucketCols) + for (String _iter190 : struct.bucketCols) { - oprot.writeString(_iter174); + oprot.writeString(_iter190); } } } if (struct.isSetSortCols()) { { oprot.writeI32(struct.sortCols.size()); - for (Order _iter175 : struct.sortCols) + for (Order _iter191 : struct.sortCols) { - _iter175.write(oprot); + _iter191.write(oprot); } } } if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (Map.Entry _iter176 : struct.parameters.entrySet()) + for (Map.Entry _iter192 : struct.parameters.entrySet()) { - oprot.writeString(_iter176.getKey()); - oprot.writeString(_iter176.getValue()); + oprot.writeString(_iter192.getKey()); + oprot.writeString(_iter192.getValue()); } } } @@ -1653,14 +1653,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st BitSet incoming = iprot.readBitSet(12); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list177 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list177.size); - FieldSchema _elem178; - for (int _i179 = 0; _i179 < _list177.size; ++_i179) + org.apache.thrift.protocol.TList _list193 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.cols = new ArrayList(_list193.size); + FieldSchema _elem194; + for (int _i195 = 0; _i195 < _list193.size; ++_i195) { - _elem178 = new FieldSchema(); - _elem178.read(iprot); - struct.cols.add(_elem178); + _elem194 = new FieldSchema(); + _elem194.read(iprot); + struct.cols.add(_elem194); } } struct.setColsIsSet(true); @@ -1692,42 +1692,42 @@ public void read(org.apache.thrift.protocol.TProtocol prot, StorageDescriptor st } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list180 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.bucketCols = new ArrayList(_list180.size); - String _elem181; - for (int _i182 = 0; _i182 < _list180.size; ++_i182) + org.apache.thrift.protocol.TList _list196 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.bucketCols = new ArrayList(_list196.size); + String _elem197; + for (int _i198 = 0; _i198 < _list196.size; ++_i198) { - _elem181 = iprot.readString(); - struct.bucketCols.add(_elem181); + _elem197 = iprot.readString(); + struct.bucketCols.add(_elem197); } } struct.setBucketColsIsSet(true); } if (incoming.get(8)) { { - org.apache.thrift.protocol.TList _list183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.sortCols = new ArrayList(_list183.size); - Order _elem184; - for (int _i185 = 0; _i185 < _list183.size; ++_i185) + org.apache.thrift.protocol.TList _list199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.sortCols = new ArrayList(_list199.size); + Order _elem200; + for (int _i201 = 0; _i201 < _list199.size; ++_i201) { - _elem184 = new Order(); - _elem184.read(iprot); - struct.sortCols.add(_elem184); + _elem200 = new Order(); + _elem200.read(iprot); + struct.sortCols.add(_elem200); } } struct.setSortColsIsSet(true); } if (incoming.get(9)) { { - org.apache.thrift.protocol.TMap _map186 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.parameters = new HashMap(2*_map186.size); - String _key187; - String _val188; - for (int _i189 = 0; _i189 < _map186.size; ++_i189) + org.apache.thrift.protocol.TMap _map202 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.parameters = new HashMap(2*_map202.size); + String _key203; + String _val204; + for (int _i205 = 0; _i205 < _map202.size; ++_i205) { - _key187 = iprot.readString(); - _val188 = iprot.readString(); - struct.parameters.put(_key187, _val188); + _key203 = iprot.readString(); + _val204 = iprot.readString(); + struct.parameters.put(_key203, _val204); } } struct.setParametersIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java index 5d683fb..a7f603e 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java @@ -52,6 +52,8 @@ private static final org.apache.thrift.protocol.TField TABLE_TYPE_FIELD_DESC = new org.apache.thrift.protocol.TField("tableType", org.apache.thrift.protocol.TType.STRING, (short)12); private static final org.apache.thrift.protocol.TField PRIVILEGES_FIELD_DESC = new org.apache.thrift.protocol.TField("privileges", org.apache.thrift.protocol.TType.STRUCT, (short)13); private static final org.apache.thrift.protocol.TField TEMPORARY_FIELD_DESC = new org.apache.thrift.protocol.TField("temporary", org.apache.thrift.protocol.TType.BOOL, (short)14); + private static final org.apache.thrift.protocol.TField PRIMARY_KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField("primaryKeys", org.apache.thrift.protocol.TType.LIST, (short)15); + private static final org.apache.thrift.protocol.TField FOREIGN_KEYS_FIELD_DESC = new org.apache.thrift.protocol.TField("foreignKeys", org.apache.thrift.protocol.TType.LIST, (short)16); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -73,6 +75,8 @@ private String tableType; // required private PrincipalPrivilegeSet privileges; // optional private boolean temporary; // optional + private List primaryKeys; // required + private List foreignKeys; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -89,7 +93,9 @@ VIEW_EXPANDED_TEXT((short)11, "viewExpandedText"), TABLE_TYPE((short)12, "tableType"), PRIVILEGES((short)13, "privileges"), - TEMPORARY((short)14, "temporary"); + TEMPORARY((short)14, "temporary"), + PRIMARY_KEYS((short)15, "primaryKeys"), + FOREIGN_KEYS((short)16, "foreignKeys"); private static final Map byName = new HashMap(); @@ -132,6 +138,10 @@ public static _Fields findByThriftId(int fieldId) { return PRIVILEGES; case 14: // TEMPORARY return TEMPORARY; + case 15: // PRIMARY_KEYS + return PRIMARY_KEYS; + case 16: // FOREIGN_KEYS + return FOREIGN_KEYS; default: return null; } @@ -212,6 +222,12 @@ public String getFieldName() { new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, PrincipalPrivilegeSet.class))); tmpMap.put(_Fields.TEMPORARY, new org.apache.thrift.meta_data.FieldMetaData("temporary", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + tmpMap.put(_Fields.PRIMARY_KEYS, new org.apache.thrift.meta_data.FieldMetaData("primaryKeys", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, FieldSchema.class)))); + tmpMap.put(_Fields.FOREIGN_KEYS, new org.apache.thrift.meta_data.FieldMetaData("foreignKeys", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ForeignKeyRel.class)))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Table.class, metaDataMap); } @@ -233,7 +249,9 @@ public Table( Map parameters, String viewOriginalText, String viewExpandedText, - String tableType) + String tableType, + List primaryKeys, + List foreignKeys) { this(); this.tableName = tableName; @@ -251,6 +269,8 @@ public Table( this.viewOriginalText = viewOriginalText; this.viewExpandedText = viewExpandedText; this.tableType = tableType; + this.primaryKeys = primaryKeys; + this.foreignKeys = foreignKeys; } /** @@ -297,6 +317,20 @@ public Table(Table other) { this.privileges = new PrincipalPrivilegeSet(other.privileges); } this.temporary = other.temporary; + if (other.isSetPrimaryKeys()) { + List __this__primaryKeys = new ArrayList(other.primaryKeys.size()); + for (FieldSchema other_element : other.primaryKeys) { + __this__primaryKeys.add(new FieldSchema(other_element)); + } + this.primaryKeys = __this__primaryKeys; + } + if (other.isSetForeignKeys()) { + List __this__foreignKeys = new ArrayList(other.foreignKeys.size()); + for (ForeignKeyRel other_element : other.foreignKeys) { + __this__foreignKeys.add(new ForeignKeyRel(other_element)); + } + this.foreignKeys = __this__foreignKeys; + } } public Table deepCopy() { @@ -323,6 +357,8 @@ public void clear() { this.privileges = null; this.temporary = false; + this.primaryKeys = null; + this.foreignKeys = null; } public String getTableName() { @@ -669,6 +705,82 @@ public void setTemporaryIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TEMPORARY_ISSET_ID, value); } + public int getPrimaryKeysSize() { + return (this.primaryKeys == null) ? 0 : this.primaryKeys.size(); + } + + public java.util.Iterator getPrimaryKeysIterator() { + return (this.primaryKeys == null) ? null : this.primaryKeys.iterator(); + } + + public void addToPrimaryKeys(FieldSchema elem) { + if (this.primaryKeys == null) { + this.primaryKeys = new ArrayList(); + } + this.primaryKeys.add(elem); + } + + public List getPrimaryKeys() { + return this.primaryKeys; + } + + public void setPrimaryKeys(List primaryKeys) { + this.primaryKeys = primaryKeys; + } + + public void unsetPrimaryKeys() { + this.primaryKeys = null; + } + + /** Returns true if field primaryKeys is set (has been assigned a value) and false otherwise */ + public boolean isSetPrimaryKeys() { + return this.primaryKeys != null; + } + + public void setPrimaryKeysIsSet(boolean value) { + if (!value) { + this.primaryKeys = null; + } + } + + public int getForeignKeysSize() { + return (this.foreignKeys == null) ? 0 : this.foreignKeys.size(); + } + + public java.util.Iterator getForeignKeysIterator() { + return (this.foreignKeys == null) ? null : this.foreignKeys.iterator(); + } + + public void addToForeignKeys(ForeignKeyRel elem) { + if (this.foreignKeys == null) { + this.foreignKeys = new ArrayList(); + } + this.foreignKeys.add(elem); + } + + public List getForeignKeys() { + return this.foreignKeys; + } + + public void setForeignKeys(List foreignKeys) { + this.foreignKeys = foreignKeys; + } + + public void unsetForeignKeys() { + this.foreignKeys = null; + } + + /** Returns true if field foreignKeys is set (has been assigned a value) and false otherwise */ + public boolean isSetForeignKeys() { + return this.foreignKeys != null; + } + + public void setForeignKeysIsSet(boolean value) { + if (!value) { + this.foreignKeys = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case TABLE_NAME: @@ -783,6 +895,22 @@ public void setFieldValue(_Fields field, Object value) { } break; + case PRIMARY_KEYS: + if (value == null) { + unsetPrimaryKeys(); + } else { + setPrimaryKeys((List)value); + } + break; + + case FOREIGN_KEYS: + if (value == null) { + unsetForeignKeys(); + } else { + setForeignKeys((List)value); + } + break; + } } @@ -830,6 +958,12 @@ public Object getFieldValue(_Fields field) { case TEMPORARY: return isTemporary(); + case PRIMARY_KEYS: + return getPrimaryKeys(); + + case FOREIGN_KEYS: + return getForeignKeys(); + } throw new IllegalStateException(); } @@ -869,6 +1003,10 @@ public boolean isSet(_Fields field) { return isSetPrivileges(); case TEMPORARY: return isSetTemporary(); + case PRIMARY_KEYS: + return isSetPrimaryKeys(); + case FOREIGN_KEYS: + return isSetForeignKeys(); } throw new IllegalStateException(); } @@ -1012,6 +1150,24 @@ public boolean equals(Table that) { return false; } + boolean this_present_primaryKeys = true && this.isSetPrimaryKeys(); + boolean that_present_primaryKeys = true && that.isSetPrimaryKeys(); + if (this_present_primaryKeys || that_present_primaryKeys) { + if (!(this_present_primaryKeys && that_present_primaryKeys)) + return false; + if (!this.primaryKeys.equals(that.primaryKeys)) + return false; + } + + boolean this_present_foreignKeys = true && this.isSetForeignKeys(); + boolean that_present_foreignKeys = true && that.isSetForeignKeys(); + if (this_present_foreignKeys || that_present_foreignKeys) { + if (!(this_present_foreignKeys && that_present_foreignKeys)) + return false; + if (!this.foreignKeys.equals(that.foreignKeys)) + return false; + } + return true; } @@ -1089,6 +1245,16 @@ public int hashCode() { if (present_temporary) list.add(temporary); + boolean present_primaryKeys = true && (isSetPrimaryKeys()); + list.add(present_primaryKeys); + if (present_primaryKeys) + list.add(primaryKeys); + + boolean present_foreignKeys = true && (isSetForeignKeys()); + list.add(present_foreignKeys); + if (present_foreignKeys) + list.add(foreignKeys); + return list.hashCode(); } @@ -1240,6 +1406,26 @@ public int compareTo(Table other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetPrimaryKeys()).compareTo(other.isSetPrimaryKeys()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPrimaryKeys()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.primaryKeys, other.primaryKeys); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetForeignKeys()).compareTo(other.isSetForeignKeys()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetForeignKeys()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.foreignKeys, other.foreignKeys); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -1359,6 +1545,22 @@ public String toString() { sb.append(this.temporary); first = false; } + if (!first) sb.append(", "); + sb.append("primaryKeys:"); + if (this.primaryKeys == null) { + sb.append("null"); + } else { + sb.append(this.primaryKeys); + } + first = false; + if (!first) sb.append(", "); + sb.append("foreignKeys:"); + if (this.foreignKeys == null) { + sb.append("null"); + } else { + sb.append(this.foreignKeys); + } + first = false; sb.append(")"); return sb.toString(); } @@ -1470,14 +1672,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Table struct) throw case 8: // PARTITION_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list190 = iprot.readListBegin(); - struct.partitionKeys = new ArrayList(_list190.size); - FieldSchema _elem191; - for (int _i192 = 0; _i192 < _list190.size; ++_i192) + org.apache.thrift.protocol.TList _list206 = iprot.readListBegin(); + struct.partitionKeys = new ArrayList(_list206.size); + FieldSchema _elem207; + for (int _i208 = 0; _i208 < _list206.size; ++_i208) { - _elem191 = new FieldSchema(); - _elem191.read(iprot); - struct.partitionKeys.add(_elem191); + _elem207 = new FieldSchema(); + _elem207.read(iprot); + struct.partitionKeys.add(_elem207); } iprot.readListEnd(); } @@ -1489,15 +1691,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Table struct) throw case 9: // PARAMETERS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map193 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map193.size); - String _key194; - String _val195; - for (int _i196 = 0; _i196 < _map193.size; ++_i196) + org.apache.thrift.protocol.TMap _map209 = iprot.readMapBegin(); + struct.parameters = new HashMap(2*_map209.size); + String _key210; + String _val211; + for (int _i212 = 0; _i212 < _map209.size; ++_i212) { - _key194 = iprot.readString(); - _val195 = iprot.readString(); - struct.parameters.put(_key194, _val195); + _key210 = iprot.readString(); + _val211 = iprot.readString(); + struct.parameters.put(_key210, _val211); } iprot.readMapEnd(); } @@ -1547,6 +1749,44 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Table struct) throw org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 15: // PRIMARY_KEYS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list213 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list213.size); + FieldSchema _elem214; + for (int _i215 = 0; _i215 < _list213.size; ++_i215) + { + _elem214 = new FieldSchema(); + _elem214.read(iprot); + struct.primaryKeys.add(_elem214); + } + iprot.readListEnd(); + } + struct.setPrimaryKeysIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 16: // FOREIGN_KEYS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list216 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list216.size); + ForeignKeyRel _elem217; + for (int _i218 = 0; _i218 < _list216.size; ++_i218) + { + _elem217 = new ForeignKeyRel(); + _elem217.read(iprot); + struct.foreignKeys.add(_elem217); + } + iprot.readListEnd(); + } + struct.setForeignKeysIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -1593,9 +1833,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Table struct) thro oprot.writeFieldBegin(PARTITION_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionKeys.size())); - for (FieldSchema _iter197 : struct.partitionKeys) + for (FieldSchema _iter219 : struct.partitionKeys) { - _iter197.write(oprot); + _iter219.write(oprot); } oprot.writeListEnd(); } @@ -1605,10 +1845,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Table struct) thro oprot.writeFieldBegin(PARAMETERS_FIELD_DESC); { oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, struct.parameters.size())); - for (Map.Entry _iter198 : struct.parameters.entrySet()) + for (Map.Entry _iter220 : struct.parameters.entrySet()) { - oprot.writeString(_iter198.getKey()); - oprot.writeString(_iter198.getValue()); + oprot.writeString(_iter220.getKey()); + oprot.writeString(_iter220.getValue()); } oprot.writeMapEnd(); } @@ -1641,6 +1881,30 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Table struct) thro oprot.writeBool(struct.temporary); oprot.writeFieldEnd(); } + if (struct.primaryKeys != null) { + oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); + for (FieldSchema _iter221 : struct.primaryKeys) + { + _iter221.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.foreignKeys != null) { + oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); + for (ForeignKeyRel _iter222 : struct.foreignKeys) + { + _iter222.write(oprot); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -1701,7 +1965,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Table struct) throw if (struct.isSetTemporary()) { optionals.set(13); } - oprot.writeBitSet(optionals, 14); + if (struct.isSetPrimaryKeys()) { + optionals.set(14); + } + if (struct.isSetForeignKeys()) { + optionals.set(15); + } + oprot.writeBitSet(optionals, 16); if (struct.isSetTableName()) { oprot.writeString(struct.tableName); } @@ -1726,19 +1996,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Table struct) throw if (struct.isSetPartitionKeys()) { { oprot.writeI32(struct.partitionKeys.size()); - for (FieldSchema _iter199 : struct.partitionKeys) + for (FieldSchema _iter223 : struct.partitionKeys) { - _iter199.write(oprot); + _iter223.write(oprot); } } } if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (Map.Entry _iter200 : struct.parameters.entrySet()) + for (Map.Entry _iter224 : struct.parameters.entrySet()) { - oprot.writeString(_iter200.getKey()); - oprot.writeString(_iter200.getValue()); + oprot.writeString(_iter224.getKey()); + oprot.writeString(_iter224.getValue()); } } } @@ -1757,12 +2027,30 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Table struct) throw if (struct.isSetTemporary()) { oprot.writeBool(struct.temporary); } + if (struct.isSetPrimaryKeys()) { + { + oprot.writeI32(struct.primaryKeys.size()); + for (FieldSchema _iter225 : struct.primaryKeys) + { + _iter225.write(oprot); + } + } + } + if (struct.isSetForeignKeys()) { + { + oprot.writeI32(struct.foreignKeys.size()); + for (ForeignKeyRel _iter226 : struct.foreignKeys) + { + _iter226.write(oprot); + } + } + } } @Override public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(14); + BitSet incoming = iprot.readBitSet(16); if (incoming.get(0)) { struct.tableName = iprot.readString(); struct.setTableNameIsSet(true); @@ -1794,29 +2082,29 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list201 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionKeys = new ArrayList(_list201.size); - FieldSchema _elem202; - for (int _i203 = 0; _i203 < _list201.size; ++_i203) + org.apache.thrift.protocol.TList _list227 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionKeys = new ArrayList(_list227.size); + FieldSchema _elem228; + for (int _i229 = 0; _i229 < _list227.size; ++_i229) { - _elem202 = new FieldSchema(); - _elem202.read(iprot); - struct.partitionKeys.add(_elem202); + _elem228 = new FieldSchema(); + _elem228.read(iprot); + struct.partitionKeys.add(_elem228); } } struct.setPartitionKeysIsSet(true); } if (incoming.get(8)) { { - org.apache.thrift.protocol.TMap _map204 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.parameters = new HashMap(2*_map204.size); - String _key205; - String _val206; - for (int _i207 = 0; _i207 < _map204.size; ++_i207) + org.apache.thrift.protocol.TMap _map230 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.parameters = new HashMap(2*_map230.size); + String _key231; + String _val232; + for (int _i233 = 0; _i233 < _map230.size; ++_i233) { - _key205 = iprot.readString(); - _val206 = iprot.readString(); - struct.parameters.put(_key205, _val206); + _key231 = iprot.readString(); + _val232 = iprot.readString(); + struct.parameters.put(_key231, _val232); } } struct.setParametersIsSet(true); @@ -1842,6 +2130,34 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws struct.temporary = iprot.readBool(); struct.setTemporaryIsSet(true); } + if (incoming.get(14)) { + { + org.apache.thrift.protocol.TList _list234 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list234.size); + FieldSchema _elem235; + for (int _i236 = 0; _i236 < _list234.size; ++_i236) + { + _elem235 = new FieldSchema(); + _elem235.read(iprot); + struct.primaryKeys.add(_elem235); + } + } + struct.setPrimaryKeysIsSet(true); + } + if (incoming.get(15)) { + { + org.apache.thrift.protocol.TList _list237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list237.size); + ForeignKeyRel _elem238; + for (int _i239 = 0; _i239 < _list237.size; ++_i239) + { + _elem238 = new ForeignKeyRel(); + _elem238.read(iprot); + struct.foreignKeys.add(_elem238); + } + } + struct.setForeignKeysIsSet(true); + } } } diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java index d0daee5..c8c762a 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java @@ -537,13 +537,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsRequest s case 3: // COL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list356 = iprot.readListBegin(); - struct.colNames = new ArrayList(_list356.size); - String _elem357; - for (int _i358 = 0; _i358 < _list356.size; ++_i358) + org.apache.thrift.protocol.TList _list388 = iprot.readListBegin(); + struct.colNames = new ArrayList(_list388.size); + String _elem389; + for (int _i390 = 0; _i390 < _list388.size; ++_i390) { - _elem357 = iprot.readString(); - struct.colNames.add(_elem357); + _elem389 = iprot.readString(); + struct.colNames.add(_elem389); } iprot.readListEnd(); } @@ -579,9 +579,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableStatsRequest oprot.writeFieldBegin(COL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.colNames.size())); - for (String _iter359 : struct.colNames) + for (String _iter391 : struct.colNames) { - oprot.writeString(_iter359); + oprot.writeString(_iter391); } oprot.writeListEnd(); } @@ -608,9 +608,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest s oprot.writeString(struct.tblName); { oprot.writeI32(struct.colNames.size()); - for (String _iter360 : struct.colNames) + for (String _iter392 : struct.colNames) { - oprot.writeString(_iter360); + oprot.writeString(_iter392); } } } @@ -623,13 +623,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsRequest st struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list361 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.colNames = new ArrayList(_list361.size); - String _elem362; - for (int _i363 = 0; _i363 < _list361.size; ++_i363) + org.apache.thrift.protocol.TList _list393 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.colNames = new ArrayList(_list393.size); + String _elem394; + for (int _i395 = 0; _i395 < _list393.size; ++_i395) { - _elem362 = iprot.readString(); - struct.colNames.add(_elem362); + _elem394 = iprot.readString(); + struct.colNames.add(_elem394); } } struct.setColNamesIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java index 78d4250..49da294 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableStatsResult st case 1: // TABLE_STATS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list330 = iprot.readListBegin(); - struct.tableStats = new ArrayList(_list330.size); - ColumnStatisticsObj _elem331; - for (int _i332 = 0; _i332 < _list330.size; ++_i332) + org.apache.thrift.protocol.TList _list362 = iprot.readListBegin(); + struct.tableStats = new ArrayList(_list362.size); + ColumnStatisticsObj _elem363; + for (int _i364 = 0; _i364 < _list362.size; ++_i364) { - _elem331 = new ColumnStatisticsObj(); - _elem331.read(iprot); - struct.tableStats.add(_elem331); + _elem363 = new ColumnStatisticsObj(); + _elem363.read(iprot); + struct.tableStats.add(_elem363); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableStatsResult s oprot.writeFieldBegin(TABLE_STATS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tableStats.size())); - for (ColumnStatisticsObj _iter333 : struct.tableStats) + for (ColumnStatisticsObj _iter365 : struct.tableStats) { - _iter333.write(oprot); + _iter365.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsResult st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tableStats.size()); - for (ColumnStatisticsObj _iter334 : struct.tableStats) + for (ColumnStatisticsObj _iter366 : struct.tableStats) { - _iter334.write(oprot); + _iter366.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableStatsResult st public void read(org.apache.thrift.protocol.TProtocol prot, TableStatsResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tableStats = new ArrayList(_list335.size); - ColumnStatisticsObj _elem336; - for (int _i337 = 0; _i337 < _list335.size; ++_i337) + org.apache.thrift.protocol.TList _list367 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tableStats = new ArrayList(_list367.size); + ColumnStatisticsObj _elem368; + for (int _i369 = 0; _i369 < _list367.size; ++_i369) { - _elem336 = new ColumnStatisticsObj(); - _elem336.read(iprot); - struct.tableStats.add(_elem336); + _elem368 = new ColumnStatisticsObj(); + _elem368.read(iprot); + struct.tableStats.add(_elem368); } } struct.setTableStatsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index 13e30db..4e130dd 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -27891,13 +27891,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 _list592 = iprot.readListBegin(); - struct.success = new ArrayList(_list592.size); - String _elem593; - for (int _i594 = 0; _i594 < _list592.size; ++_i594) + org.apache.thrift.protocol.TList _list624 = iprot.readListBegin(); + struct.success = new ArrayList(_list624.size); + String _elem625; + for (int _i626 = 0; _i626 < _list624.size; ++_i626) { - _elem593 = iprot.readString(); - struct.success.add(_elem593); + _elem625 = iprot.readString(); + struct.success.add(_elem625); } iprot.readListEnd(); } @@ -27932,9 +27932,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 _iter595 : struct.success) + for (String _iter627 : struct.success) { - oprot.writeString(_iter595); + oprot.writeString(_iter627); } oprot.writeListEnd(); } @@ -27973,9 +27973,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter596 : struct.success) + for (String _iter628 : struct.success) { - oprot.writeString(_iter596); + oprot.writeString(_iter628); } } } @@ -27990,13 +27990,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 _list597 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list597.size); - String _elem598; - for (int _i599 = 0; _i599 < _list597.size; ++_i599) + org.apache.thrift.protocol.TList _list629 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list629.size); + String _elem630; + for (int _i631 = 0; _i631 < _list629.size; ++_i631) { - _elem598 = iprot.readString(); - struct.success.add(_elem598); + _elem630 = iprot.readString(); + struct.success.add(_elem630); } } struct.setSuccessIsSet(true); @@ -28650,13 +28650,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 _list600 = iprot.readListBegin(); - struct.success = new ArrayList(_list600.size); - String _elem601; - for (int _i602 = 0; _i602 < _list600.size; ++_i602) + org.apache.thrift.protocol.TList _list632 = iprot.readListBegin(); + struct.success = new ArrayList(_list632.size); + String _elem633; + for (int _i634 = 0; _i634 < _list632.size; ++_i634) { - _elem601 = iprot.readString(); - struct.success.add(_elem601); + _elem633 = iprot.readString(); + struct.success.add(_elem633); } iprot.readListEnd(); } @@ -28691,9 +28691,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 _iter603 : struct.success) + for (String _iter635 : struct.success) { - oprot.writeString(_iter603); + oprot.writeString(_iter635); } oprot.writeListEnd(); } @@ -28732,9 +28732,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter604 : struct.success) + for (String _iter636 : struct.success) { - oprot.writeString(_iter604); + oprot.writeString(_iter636); } } } @@ -28749,13 +28749,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 _list605 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list605.size); - String _elem606; - for (int _i607 = 0; _i607 < _list605.size; ++_i607) + org.apache.thrift.protocol.TList _list637 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list637.size); + String _elem638; + for (int _i639 = 0; _i639 < _list637.size; ++_i639) { - _elem606 = iprot.readString(); - struct.success.add(_elem606); + _elem638 = iprot.readString(); + struct.success.add(_elem638); } } struct.setSuccessIsSet(true); @@ -33362,16 +33362,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 _map608 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map608.size); - String _key609; - Type _val610; - for (int _i611 = 0; _i611 < _map608.size; ++_i611) + org.apache.thrift.protocol.TMap _map640 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map640.size); + String _key641; + Type _val642; + for (int _i643 = 0; _i643 < _map640.size; ++_i643) { - _key609 = iprot.readString(); - _val610 = new Type(); - _val610.read(iprot); - struct.success.put(_key609, _val610); + _key641 = iprot.readString(); + _val642 = new Type(); + _val642.read(iprot); + struct.success.put(_key641, _val642); } iprot.readMapEnd(); } @@ -33406,10 +33406,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 _iter612 : struct.success.entrySet()) + for (Map.Entry _iter644 : struct.success.entrySet()) { - oprot.writeString(_iter612.getKey()); - _iter612.getValue().write(oprot); + oprot.writeString(_iter644.getKey()); + _iter644.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -33448,10 +33448,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 _iter613 : struct.success.entrySet()) + for (Map.Entry _iter645 : struct.success.entrySet()) { - oprot.writeString(_iter613.getKey()); - _iter613.getValue().write(oprot); + oprot.writeString(_iter645.getKey()); + _iter645.getValue().write(oprot); } } } @@ -33466,16 +33466,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 _map614 = 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*_map614.size); - String _key615; - Type _val616; - for (int _i617 = 0; _i617 < _map614.size; ++_i617) + org.apache.thrift.protocol.TMap _map646 = 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*_map646.size); + String _key647; + Type _val648; + for (int _i649 = 0; _i649 < _map646.size; ++_i649) { - _key615 = iprot.readString(); - _val616 = new Type(); - _val616.read(iprot); - struct.success.put(_key615, _val616); + _key647 = iprot.readString(); + _val648 = new Type(); + _val648.read(iprot); + struct.success.put(_key647, _val648); } } struct.setSuccessIsSet(true); @@ -34510,14 +34510,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 _list618 = iprot.readListBegin(); - struct.success = new ArrayList(_list618.size); - FieldSchema _elem619; - for (int _i620 = 0; _i620 < _list618.size; ++_i620) + org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); + struct.success = new ArrayList(_list650.size); + FieldSchema _elem651; + for (int _i652 = 0; _i652 < _list650.size; ++_i652) { - _elem619 = new FieldSchema(); - _elem619.read(iprot); - struct.success.add(_elem619); + _elem651 = new FieldSchema(); + _elem651.read(iprot); + struct.success.add(_elem651); } iprot.readListEnd(); } @@ -34570,9 +34570,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 _iter621 : struct.success) + for (FieldSchema _iter653 : struct.success) { - _iter621.write(oprot); + _iter653.write(oprot); } oprot.writeListEnd(); } @@ -34627,9 +34627,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter622 : struct.success) + for (FieldSchema _iter654 : struct.success) { - _iter622.write(oprot); + _iter654.write(oprot); } } } @@ -34650,14 +34650,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 _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list623.size); - FieldSchema _elem624; - for (int _i625 = 0; _i625 < _list623.size; ++_i625) + org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list655.size); + FieldSchema _elem656; + for (int _i657 = 0; _i657 < _list655.size; ++_i657) { - _elem624 = new FieldSchema(); - _elem624.read(iprot); - struct.success.add(_elem624); + _elem656 = new FieldSchema(); + _elem656.read(iprot); + struct.success.add(_elem656); } } struct.setSuccessIsSet(true); @@ -35811,14 +35811,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 _list626 = iprot.readListBegin(); - struct.success = new ArrayList(_list626.size); - FieldSchema _elem627; - for (int _i628 = 0; _i628 < _list626.size; ++_i628) + org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); + struct.success = new ArrayList(_list658.size); + FieldSchema _elem659; + for (int _i660 = 0; _i660 < _list658.size; ++_i660) { - _elem627 = new FieldSchema(); - _elem627.read(iprot); - struct.success.add(_elem627); + _elem659 = new FieldSchema(); + _elem659.read(iprot); + struct.success.add(_elem659); } iprot.readListEnd(); } @@ -35871,9 +35871,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 _iter629 : struct.success) + for (FieldSchema _iter661 : struct.success) { - _iter629.write(oprot); + _iter661.write(oprot); } oprot.writeListEnd(); } @@ -35928,9 +35928,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter630 : struct.success) + for (FieldSchema _iter662 : struct.success) { - _iter630.write(oprot); + _iter662.write(oprot); } } } @@ -35951,14 +35951,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 _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list631.size); - FieldSchema _elem632; - for (int _i633 = 0; _i633 < _list631.size; ++_i633) + org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list663.size); + FieldSchema _elem664; + for (int _i665 = 0; _i665 < _list663.size; ++_i665) { - _elem632 = new FieldSchema(); - _elem632.read(iprot); - struct.success.add(_elem632); + _elem664 = new FieldSchema(); + _elem664.read(iprot); + struct.success.add(_elem664); } } struct.setSuccessIsSet(true); @@ -37003,14 +37003,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 _list634 = iprot.readListBegin(); - struct.success = new ArrayList(_list634.size); - FieldSchema _elem635; - for (int _i636 = 0; _i636 < _list634.size; ++_i636) + org.apache.thrift.protocol.TList _list666 = iprot.readListBegin(); + struct.success = new ArrayList(_list666.size); + FieldSchema _elem667; + for (int _i668 = 0; _i668 < _list666.size; ++_i668) { - _elem635 = new FieldSchema(); - _elem635.read(iprot); - struct.success.add(_elem635); + _elem667 = new FieldSchema(); + _elem667.read(iprot); + struct.success.add(_elem667); } iprot.readListEnd(); } @@ -37063,9 +37063,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 _iter637 : struct.success) + for (FieldSchema _iter669 : struct.success) { - _iter637.write(oprot); + _iter669.write(oprot); } oprot.writeListEnd(); } @@ -37120,9 +37120,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter638 : struct.success) + for (FieldSchema _iter670 : struct.success) { - _iter638.write(oprot); + _iter670.write(oprot); } } } @@ -37143,14 +37143,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 _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list639.size); - FieldSchema _elem640; - for (int _i641 = 0; _i641 < _list639.size; ++_i641) + org.apache.thrift.protocol.TList _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list671.size); + FieldSchema _elem672; + for (int _i673 = 0; _i673 < _list671.size; ++_i673) { - _elem640 = new FieldSchema(); - _elem640.read(iprot); - struct.success.add(_elem640); + _elem672 = new FieldSchema(); + _elem672.read(iprot); + struct.success.add(_elem672); } } struct.setSuccessIsSet(true); @@ -38304,14 +38304,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 _list642 = iprot.readListBegin(); - struct.success = new ArrayList(_list642.size); - FieldSchema _elem643; - for (int _i644 = 0; _i644 < _list642.size; ++_i644) + org.apache.thrift.protocol.TList _list674 = iprot.readListBegin(); + struct.success = new ArrayList(_list674.size); + FieldSchema _elem675; + for (int _i676 = 0; _i676 < _list674.size; ++_i676) { - _elem643 = new FieldSchema(); - _elem643.read(iprot); - struct.success.add(_elem643); + _elem675 = new FieldSchema(); + _elem675.read(iprot); + struct.success.add(_elem675); } iprot.readListEnd(); } @@ -38364,9 +38364,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 _iter645 : struct.success) + for (FieldSchema _iter677 : struct.success) { - _iter645.write(oprot); + _iter677.write(oprot); } oprot.writeListEnd(); } @@ -38421,9 +38421,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter646 : struct.success) + for (FieldSchema _iter678 : struct.success) { - _iter646.write(oprot); + _iter678.write(oprot); } } } @@ -38444,14 +38444,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 _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list647.size); - FieldSchema _elem648; - for (int _i649 = 0; _i649 < _list647.size; ++_i649) + org.apache.thrift.protocol.TList _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list679.size); + FieldSchema _elem680; + for (int _i681 = 0; _i681 < _list679.size; ++_i681) { - _elem648 = new FieldSchema(); - _elem648.read(iprot); - struct.success.add(_elem648); + _elem680 = new FieldSchema(); + _elem680.read(iprot); + struct.success.add(_elem680); } } struct.setSuccessIsSet(true); @@ -43691,13 +43691,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_result s case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); - struct.success = new ArrayList(_list650.size); - String _elem651; - for (int _i652 = 0; _i652 < _list650.size; ++_i652) + org.apache.thrift.protocol.TList _list682 = iprot.readListBegin(); + struct.success = new ArrayList(_list682.size); + String _elem683; + for (int _i684 = 0; _i684 < _list682.size; ++_i684) { - _elem651 = iprot.readString(); - struct.success.add(_elem651); + _elem683 = iprot.readString(); + struct.success.add(_elem683); } iprot.readListEnd(); } @@ -43732,9 +43732,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter653 : struct.success) + for (String _iter685 : struct.success) { - oprot.writeString(_iter653); + oprot.writeString(_iter685); } oprot.writeListEnd(); } @@ -43773,9 +43773,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter654 : struct.success) + for (String _iter686 : struct.success) { - oprot.writeString(_iter654); + oprot.writeString(_iter686); } } } @@ -43790,13 +43790,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 _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list655.size); - String _elem656; - for (int _i657 = 0; _i657 < _list655.size; ++_i657) + org.apache.thrift.protocol.TList _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list687.size); + String _elem688; + for (int _i689 = 0; _i689 < _list687.size; ++_i689) { - _elem656 = iprot.readString(); - struct.success.add(_elem656); + _elem688 = iprot.readString(); + struct.success.add(_elem688); } } struct.setSuccessIsSet(true); @@ -44301,13 +44301,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 _list658 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list658.size); - String _elem659; - for (int _i660 = 0; _i660 < _list658.size; ++_i660) + org.apache.thrift.protocol.TList _list690 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list690.size); + String _elem691; + for (int _i692 = 0; _i692 < _list690.size; ++_i692) { - _elem659 = iprot.readString(); - struct.tbl_types.add(_elem659); + _elem691 = iprot.readString(); + struct.tbl_types.add(_elem691); } iprot.readListEnd(); } @@ -44343,9 +44343,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 _iter661 : struct.tbl_types) + for (String _iter693 : struct.tbl_types) { - oprot.writeString(_iter661); + oprot.writeString(_iter693); } oprot.writeListEnd(); } @@ -44388,9 +44388,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 _iter662 : struct.tbl_types) + for (String _iter694 : struct.tbl_types) { - oprot.writeString(_iter662); + oprot.writeString(_iter694); } } } @@ -44410,13 +44410,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list663.size); - String _elem664; - for (int _i665 = 0; _i665 < _list663.size; ++_i665) + org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list695.size); + String _elem696; + for (int _i697 = 0; _i697 < _list695.size; ++_i697) { - _elem664 = iprot.readString(); - struct.tbl_types.add(_elem664); + _elem696 = iprot.readString(); + struct.tbl_types.add(_elem696); } } struct.setTbl_typesIsSet(true); @@ -44822,14 +44822,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 _list666 = iprot.readListBegin(); - struct.success = new ArrayList(_list666.size); - TableMeta _elem667; - for (int _i668 = 0; _i668 < _list666.size; ++_i668) + org.apache.thrift.protocol.TList _list698 = iprot.readListBegin(); + struct.success = new ArrayList(_list698.size); + TableMeta _elem699; + for (int _i700 = 0; _i700 < _list698.size; ++_i700) { - _elem667 = new TableMeta(); - _elem667.read(iprot); - struct.success.add(_elem667); + _elem699 = new TableMeta(); + _elem699.read(iprot); + struct.success.add(_elem699); } iprot.readListEnd(); } @@ -44864,9 +44864,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 _iter669 : struct.success) + for (TableMeta _iter701 : struct.success) { - _iter669.write(oprot); + _iter701.write(oprot); } oprot.writeListEnd(); } @@ -44905,9 +44905,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter670 : struct.success) + for (TableMeta _iter702 : struct.success) { - _iter670.write(oprot); + _iter702.write(oprot); } } } @@ -44922,14 +44922,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 _list671 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list671.size); - TableMeta _elem672; - for (int _i673 = 0; _i673 < _list671.size; ++_i673) + org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list703.size); + TableMeta _elem704; + for (int _i705 = 0; _i705 < _list703.size; ++_i705) { - _elem672 = new TableMeta(); - _elem672.read(iprot); - struct.success.add(_elem672); + _elem704 = new TableMeta(); + _elem704.read(iprot); + struct.success.add(_elem704); } } struct.setSuccessIsSet(true); @@ -45695,13 +45695,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 _list674 = iprot.readListBegin(); - struct.success = new ArrayList(_list674.size); - String _elem675; - for (int _i676 = 0; _i676 < _list674.size; ++_i676) + org.apache.thrift.protocol.TList _list706 = iprot.readListBegin(); + struct.success = new ArrayList(_list706.size); + String _elem707; + for (int _i708 = 0; _i708 < _list706.size; ++_i708) { - _elem675 = iprot.readString(); - struct.success.add(_elem675); + _elem707 = iprot.readString(); + struct.success.add(_elem707); } iprot.readListEnd(); } @@ -45736,9 +45736,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 _iter677 : struct.success) + for (String _iter709 : struct.success) { - oprot.writeString(_iter677); + oprot.writeString(_iter709); } oprot.writeListEnd(); } @@ -45777,9 +45777,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter678 : struct.success) + for (String _iter710 : struct.success) { - oprot.writeString(_iter678); + oprot.writeString(_iter710); } } } @@ -45794,13 +45794,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 _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list679.size); - String _elem680; - for (int _i681 = 0; _i681 < _list679.size; ++_i681) + org.apache.thrift.protocol.TList _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list711.size); + String _elem712; + for (int _i713 = 0; _i713 < _list711.size; ++_i713) { - _elem680 = iprot.readString(); - struct.success.add(_elem680); + _elem712 = iprot.readString(); + struct.success.add(_elem712); } } struct.setSuccessIsSet(true); @@ -47253,13 +47253,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 _list682 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list682.size); - String _elem683; - for (int _i684 = 0; _i684 < _list682.size; ++_i684) + org.apache.thrift.protocol.TList _list714 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list714.size); + String _elem715; + for (int _i716 = 0; _i716 < _list714.size; ++_i716) { - _elem683 = iprot.readString(); - struct.tbl_names.add(_elem683); + _elem715 = iprot.readString(); + struct.tbl_names.add(_elem715); } iprot.readListEnd(); } @@ -47290,9 +47290,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 _iter685 : struct.tbl_names) + for (String _iter717 : struct.tbl_names) { - oprot.writeString(_iter685); + oprot.writeString(_iter717); } oprot.writeListEnd(); } @@ -47329,9 +47329,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 _iter686 : struct.tbl_names) + for (String _iter718 : struct.tbl_names) { - oprot.writeString(_iter686); + oprot.writeString(_iter718); } } } @@ -47347,13 +47347,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list687.size); - String _elem688; - for (int _i689 = 0; _i689 < _list687.size; ++_i689) + org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list719.size); + String _elem720; + for (int _i721 = 0; _i721 < _list719.size; ++_i721) { - _elem688 = iprot.readString(); - struct.tbl_names.add(_elem688); + _elem720 = iprot.readString(); + struct.tbl_names.add(_elem720); } } struct.setTbl_namesIsSet(true); @@ -47921,14 +47921,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 _list690 = iprot.readListBegin(); - struct.success = new ArrayList
(_list690.size); - Table _elem691; - for (int _i692 = 0; _i692 < _list690.size; ++_i692) + org.apache.thrift.protocol.TList _list722 = iprot.readListBegin(); + struct.success = new ArrayList
(_list722.size); + Table _elem723; + for (int _i724 = 0; _i724 < _list722.size; ++_i724) { - _elem691 = new Table(); - _elem691.read(iprot); - struct.success.add(_elem691); + _elem723 = new Table(); + _elem723.read(iprot); + struct.success.add(_elem723); } iprot.readListEnd(); } @@ -47981,9 +47981,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 _iter693 : struct.success) + for (Table _iter725 : struct.success) { - _iter693.write(oprot); + _iter725.write(oprot); } oprot.writeListEnd(); } @@ -48038,9 +48038,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter694 : struct.success) + for (Table _iter726 : struct.success) { - _iter694.write(oprot); + _iter726.write(oprot); } } } @@ -48061,14 +48061,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list695 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list695.size); - Table _elem696; - for (int _i697 = 0; _i697 < _list695.size; ++_i697) + org.apache.thrift.protocol.TList _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list727.size); + Table _elem728; + for (int _i729 = 0; _i729 < _list727.size; ++_i729) { - _elem696 = new Table(); - _elem696.read(iprot); - struct.success.add(_elem696); + _elem728 = new Table(); + _elem728.read(iprot); + struct.success.add(_elem728); } } struct.setSuccessIsSet(true); @@ -49214,13 +49214,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 _list698 = iprot.readListBegin(); - struct.success = new ArrayList(_list698.size); - String _elem699; - for (int _i700 = 0; _i700 < _list698.size; ++_i700) + org.apache.thrift.protocol.TList _list730 = iprot.readListBegin(); + struct.success = new ArrayList(_list730.size); + String _elem731; + for (int _i732 = 0; _i732 < _list730.size; ++_i732) { - _elem699 = iprot.readString(); - struct.success.add(_elem699); + _elem731 = iprot.readString(); + struct.success.add(_elem731); } iprot.readListEnd(); } @@ -49273,9 +49273,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 _iter701 : struct.success) + for (String _iter733 : struct.success) { - oprot.writeString(_iter701); + oprot.writeString(_iter733); } oprot.writeListEnd(); } @@ -49330,9 +49330,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter702 : struct.success) + for (String _iter734 : struct.success) { - oprot.writeString(_iter702); + oprot.writeString(_iter734); } } } @@ -49353,13 +49353,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 _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list703.size); - String _elem704; - for (int _i705 = 0; _i705 < _list703.size; ++_i705) + org.apache.thrift.protocol.TList _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list735.size); + String _elem736; + for (int _i737 = 0; _i737 < _list735.size; ++_i737) { - _elem704 = iprot.readString(); - struct.success.add(_elem704); + _elem736 = iprot.readString(); + struct.success.add(_elem736); } } struct.setSuccessIsSet(true); @@ -55218,14 +55218,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 _list706 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list706.size); - Partition _elem707; - for (int _i708 = 0; _i708 < _list706.size; ++_i708) + org.apache.thrift.protocol.TList _list738 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list738.size); + Partition _elem739; + for (int _i740 = 0; _i740 < _list738.size; ++_i740) { - _elem707 = new Partition(); - _elem707.read(iprot); - struct.new_parts.add(_elem707); + _elem739 = new Partition(); + _elem739.read(iprot); + struct.new_parts.add(_elem739); } iprot.readListEnd(); } @@ -55251,9 +55251,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 _iter709 : struct.new_parts) + for (Partition _iter741 : struct.new_parts) { - _iter709.write(oprot); + _iter741.write(oprot); } oprot.writeListEnd(); } @@ -55284,9 +55284,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 _iter710 : struct.new_parts) + for (Partition _iter742 : struct.new_parts) { - _iter710.write(oprot); + _iter742.write(oprot); } } } @@ -55298,14 +55298,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 _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list711.size); - Partition _elem712; - for (int _i713 = 0; _i713 < _list711.size; ++_i713) + org.apache.thrift.protocol.TList _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list743.size); + Partition _elem744; + for (int _i745 = 0; _i745 < _list743.size; ++_i745) { - _elem712 = new Partition(); - _elem712.read(iprot); - struct.new_parts.add(_elem712); + _elem744 = new Partition(); + _elem744.read(iprot); + struct.new_parts.add(_elem744); } } struct.setNew_partsIsSet(true); @@ -56306,14 +56306,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 _list714 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list714.size); - PartitionSpec _elem715; - for (int _i716 = 0; _i716 < _list714.size; ++_i716) + org.apache.thrift.protocol.TList _list746 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list746.size); + PartitionSpec _elem747; + for (int _i748 = 0; _i748 < _list746.size; ++_i748) { - _elem715 = new PartitionSpec(); - _elem715.read(iprot); - struct.new_parts.add(_elem715); + _elem747 = new PartitionSpec(); + _elem747.read(iprot); + struct.new_parts.add(_elem747); } iprot.readListEnd(); } @@ -56339,9 +56339,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 _iter717 : struct.new_parts) + for (PartitionSpec _iter749 : struct.new_parts) { - _iter717.write(oprot); + _iter749.write(oprot); } oprot.writeListEnd(); } @@ -56372,9 +56372,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 _iter718 : struct.new_parts) + for (PartitionSpec _iter750 : struct.new_parts) { - _iter718.write(oprot); + _iter750.write(oprot); } } } @@ -56386,14 +56386,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 _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list719.size); - PartitionSpec _elem720; - for (int _i721 = 0; _i721 < _list719.size; ++_i721) + org.apache.thrift.protocol.TList _list751 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list751.size); + PartitionSpec _elem752; + for (int _i753 = 0; _i753 < _list751.size; ++_i753) { - _elem720 = new PartitionSpec(); - _elem720.read(iprot); - struct.new_parts.add(_elem720); + _elem752 = new PartitionSpec(); + _elem752.read(iprot); + struct.new_parts.add(_elem752); } } struct.setNew_partsIsSet(true); @@ -57569,13 +57569,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 _list722 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list722.size); - String _elem723; - for (int _i724 = 0; _i724 < _list722.size; ++_i724) + org.apache.thrift.protocol.TList _list754 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list754.size); + String _elem755; + for (int _i756 = 0; _i756 < _list754.size; ++_i756) { - _elem723 = iprot.readString(); - struct.part_vals.add(_elem723); + _elem755 = iprot.readString(); + struct.part_vals.add(_elem755); } iprot.readListEnd(); } @@ -57611,9 +57611,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 _iter725 : struct.part_vals) + for (String _iter757 : struct.part_vals) { - oprot.writeString(_iter725); + oprot.writeString(_iter757); } oprot.writeListEnd(); } @@ -57656,9 +57656,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 _iter726 : struct.part_vals) + for (String _iter758 : struct.part_vals) { - oprot.writeString(_iter726); + oprot.writeString(_iter758); } } } @@ -57678,13 +57678,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list727.size); - String _elem728; - for (int _i729 = 0; _i729 < _list727.size; ++_i729) + org.apache.thrift.protocol.TList _list759 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list759.size); + String _elem760; + for (int _i761 = 0; _i761 < _list759.size; ++_i761) { - _elem728 = iprot.readString(); - struct.part_vals.add(_elem728); + _elem760 = iprot.readString(); + struct.part_vals.add(_elem760); } } struct.setPart_valsIsSet(true); @@ -59993,13 +59993,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 _list730 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list730.size); - String _elem731; - for (int _i732 = 0; _i732 < _list730.size; ++_i732) + org.apache.thrift.protocol.TList _list762 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list762.size); + String _elem763; + for (int _i764 = 0; _i764 < _list762.size; ++_i764) { - _elem731 = iprot.readString(); - struct.part_vals.add(_elem731); + _elem763 = iprot.readString(); + struct.part_vals.add(_elem763); } iprot.readListEnd(); } @@ -60044,9 +60044,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 _iter733 : struct.part_vals) + for (String _iter765 : struct.part_vals) { - oprot.writeString(_iter733); + oprot.writeString(_iter765); } oprot.writeListEnd(); } @@ -60097,9 +60097,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 _iter734 : struct.part_vals) + for (String _iter766 : struct.part_vals) { - oprot.writeString(_iter734); + oprot.writeString(_iter766); } } } @@ -60122,13 +60122,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list735.size); - String _elem736; - for (int _i737 = 0; _i737 < _list735.size; ++_i737) + org.apache.thrift.protocol.TList _list767 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list767.size); + String _elem768; + for (int _i769 = 0; _i769 < _list767.size; ++_i769) { - _elem736 = iprot.readString(); - struct.part_vals.add(_elem736); + _elem768 = iprot.readString(); + struct.part_vals.add(_elem768); } } struct.setPart_valsIsSet(true); @@ -63998,13 +63998,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 _list738 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list738.size); - String _elem739; - for (int _i740 = 0; _i740 < _list738.size; ++_i740) + org.apache.thrift.protocol.TList _list770 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list770.size); + String _elem771; + for (int _i772 = 0; _i772 < _list770.size; ++_i772) { - _elem739 = iprot.readString(); - struct.part_vals.add(_elem739); + _elem771 = iprot.readString(); + struct.part_vals.add(_elem771); } iprot.readListEnd(); } @@ -64048,9 +64048,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 _iter741 : struct.part_vals) + for (String _iter773 : struct.part_vals) { - oprot.writeString(_iter741); + oprot.writeString(_iter773); } oprot.writeListEnd(); } @@ -64099,9 +64099,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 _iter742 : struct.part_vals) + for (String _iter774 : struct.part_vals) { - oprot.writeString(_iter742); + oprot.writeString(_iter774); } } } @@ -64124,13 +64124,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list743.size); - String _elem744; - for (int _i745 = 0; _i745 < _list743.size; ++_i745) + org.apache.thrift.protocol.TList _list775 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list775.size); + String _elem776; + for (int _i777 = 0; _i777 < _list775.size; ++_i777) { - _elem744 = iprot.readString(); - struct.part_vals.add(_elem744); + _elem776 = iprot.readString(); + struct.part_vals.add(_elem776); } } struct.setPart_valsIsSet(true); @@ -65369,13 +65369,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 _list746 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list746.size); - String _elem747; - for (int _i748 = 0; _i748 < _list746.size; ++_i748) + org.apache.thrift.protocol.TList _list778 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list778.size); + String _elem779; + for (int _i780 = 0; _i780 < _list778.size; ++_i780) { - _elem747 = iprot.readString(); - struct.part_vals.add(_elem747); + _elem779 = iprot.readString(); + struct.part_vals.add(_elem779); } iprot.readListEnd(); } @@ -65428,9 +65428,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 _iter749 : struct.part_vals) + for (String _iter781 : struct.part_vals) { - oprot.writeString(_iter749); + oprot.writeString(_iter781); } oprot.writeListEnd(); } @@ -65487,9 +65487,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 _iter750 : struct.part_vals) + for (String _iter782 : struct.part_vals) { - oprot.writeString(_iter750); + oprot.writeString(_iter782); } } } @@ -65515,13 +65515,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list751 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list751.size); - String _elem752; - for (int _i753 = 0; _i753 < _list751.size; ++_i753) + org.apache.thrift.protocol.TList _list783 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list783.size); + String _elem784; + for (int _i785 = 0; _i785 < _list783.size; ++_i785) { - _elem752 = iprot.readString(); - struct.part_vals.add(_elem752); + _elem784 = iprot.readString(); + struct.part_vals.add(_elem784); } } struct.setPart_valsIsSet(true); @@ -70123,13 +70123,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 _list754 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list754.size); - String _elem755; - for (int _i756 = 0; _i756 < _list754.size; ++_i756) + org.apache.thrift.protocol.TList _list786 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list786.size); + String _elem787; + for (int _i788 = 0; _i788 < _list786.size; ++_i788) { - _elem755 = iprot.readString(); - struct.part_vals.add(_elem755); + _elem787 = iprot.readString(); + struct.part_vals.add(_elem787); } iprot.readListEnd(); } @@ -70165,9 +70165,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 _iter757 : struct.part_vals) + for (String _iter789 : struct.part_vals) { - oprot.writeString(_iter757); + oprot.writeString(_iter789); } oprot.writeListEnd(); } @@ -70210,9 +70210,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 _iter758 : struct.part_vals) + for (String _iter790 : struct.part_vals) { - oprot.writeString(_iter758); + oprot.writeString(_iter790); } } } @@ -70232,13 +70232,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list759 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list759.size); - String _elem760; - for (int _i761 = 0; _i761 < _list759.size; ++_i761) + org.apache.thrift.protocol.TList _list791 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list791.size); + String _elem792; + for (int _i793 = 0; _i793 < _list791.size; ++_i793) { - _elem760 = iprot.readString(); - struct.part_vals.add(_elem760); + _elem792 = iprot.readString(); + struct.part_vals.add(_elem792); } } struct.setPart_valsIsSet(true); @@ -71456,15 +71456,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 _map762 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map762.size); - String _key763; - String _val764; - for (int _i765 = 0; _i765 < _map762.size; ++_i765) + org.apache.thrift.protocol.TMap _map794 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map794.size); + String _key795; + String _val796; + for (int _i797 = 0; _i797 < _map794.size; ++_i797) { - _key763 = iprot.readString(); - _val764 = iprot.readString(); - struct.partitionSpecs.put(_key763, _val764); + _key795 = iprot.readString(); + _val796 = iprot.readString(); + struct.partitionSpecs.put(_key795, _val796); } iprot.readMapEnd(); } @@ -71522,10 +71522,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 _iter766 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter798 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter766.getKey()); - oprot.writeString(_iter766.getValue()); + oprot.writeString(_iter798.getKey()); + oprot.writeString(_iter798.getValue()); } oprot.writeMapEnd(); } @@ -71588,10 +71588,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter767 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter799 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter767.getKey()); - oprot.writeString(_iter767.getValue()); + oprot.writeString(_iter799.getKey()); + oprot.writeString(_iter799.getValue()); } } } @@ -71615,15 +71615,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 _map768 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionSpecs = new HashMap(2*_map768.size); - String _key769; - String _val770; - for (int _i771 = 0; _i771 < _map768.size; ++_i771) + org.apache.thrift.protocol.TMap _map800 = 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*_map800.size); + String _key801; + String _val802; + for (int _i803 = 0; _i803 < _map800.size; ++_i803) { - _key769 = iprot.readString(); - _val770 = iprot.readString(); - struct.partitionSpecs.put(_key769, _val770); + _key801 = iprot.readString(); + _val802 = iprot.readString(); + struct.partitionSpecs.put(_key801, _val802); } } struct.setPartitionSpecsIsSet(true); @@ -73069,15 +73069,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 _map772 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map772.size); - String _key773; - String _val774; - for (int _i775 = 0; _i775 < _map772.size; ++_i775) + org.apache.thrift.protocol.TMap _map804 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map804.size); + String _key805; + String _val806; + for (int _i807 = 0; _i807 < _map804.size; ++_i807) { - _key773 = iprot.readString(); - _val774 = iprot.readString(); - struct.partitionSpecs.put(_key773, _val774); + _key805 = iprot.readString(); + _val806 = iprot.readString(); + struct.partitionSpecs.put(_key805, _val806); } iprot.readMapEnd(); } @@ -73135,10 +73135,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 _iter776 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter808 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter776.getKey()); - oprot.writeString(_iter776.getValue()); + oprot.writeString(_iter808.getKey()); + oprot.writeString(_iter808.getValue()); } oprot.writeMapEnd(); } @@ -73201,10 +73201,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter777 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter809 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter777.getKey()); - oprot.writeString(_iter777.getValue()); + oprot.writeString(_iter809.getKey()); + oprot.writeString(_iter809.getValue()); } } } @@ -73228,15 +73228,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 _map778 = 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*_map778.size); - String _key779; - String _val780; - for (int _i781 = 0; _i781 < _map778.size; ++_i781) + org.apache.thrift.protocol.TMap _map810 = 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*_map810.size); + String _key811; + String _val812; + for (int _i813 = 0; _i813 < _map810.size; ++_i813) { - _key779 = iprot.readString(); - _val780 = iprot.readString(); - struct.partitionSpecs.put(_key779, _val780); + _key811 = iprot.readString(); + _val812 = iprot.readString(); + struct.partitionSpecs.put(_key811, _val812); } } struct.setPartitionSpecsIsSet(true); @@ -73901,14 +73901,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 _list782 = iprot.readListBegin(); - struct.success = new ArrayList(_list782.size); - Partition _elem783; - for (int _i784 = 0; _i784 < _list782.size; ++_i784) + org.apache.thrift.protocol.TList _list814 = iprot.readListBegin(); + struct.success = new ArrayList(_list814.size); + Partition _elem815; + for (int _i816 = 0; _i816 < _list814.size; ++_i816) { - _elem783 = new Partition(); - _elem783.read(iprot); - struct.success.add(_elem783); + _elem815 = new Partition(); + _elem815.read(iprot); + struct.success.add(_elem815); } iprot.readListEnd(); } @@ -73970,9 +73970,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 _iter785 : struct.success) + for (Partition _iter817 : struct.success) { - _iter785.write(oprot); + _iter817.write(oprot); } oprot.writeListEnd(); } @@ -74035,9 +74035,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter786 : struct.success) + for (Partition _iter818 : struct.success) { - _iter786.write(oprot); + _iter818.write(oprot); } } } @@ -74061,14 +74061,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 _list787 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list787.size); - Partition _elem788; - for (int _i789 = 0; _i789 < _list787.size; ++_i789) + org.apache.thrift.protocol.TList _list819 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list819.size); + Partition _elem820; + for (int _i821 = 0; _i821 < _list819.size; ++_i821) { - _elem788 = new Partition(); - _elem788.read(iprot); - struct.success.add(_elem788); + _elem820 = new Partition(); + _elem820.read(iprot); + struct.success.add(_elem820); } } struct.setSuccessIsSet(true); @@ -74767,13 +74767,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 _list790 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list790.size); - String _elem791; - for (int _i792 = 0; _i792 < _list790.size; ++_i792) + org.apache.thrift.protocol.TList _list822 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list822.size); + String _elem823; + for (int _i824 = 0; _i824 < _list822.size; ++_i824) { - _elem791 = iprot.readString(); - struct.part_vals.add(_elem791); + _elem823 = iprot.readString(); + struct.part_vals.add(_elem823); } iprot.readListEnd(); } @@ -74793,13 +74793,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 _list793 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list793.size); - String _elem794; - for (int _i795 = 0; _i795 < _list793.size; ++_i795) + org.apache.thrift.protocol.TList _list825 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list825.size); + String _elem826; + for (int _i827 = 0; _i827 < _list825.size; ++_i827) { - _elem794 = iprot.readString(); - struct.group_names.add(_elem794); + _elem826 = iprot.readString(); + struct.group_names.add(_elem826); } iprot.readListEnd(); } @@ -74835,9 +74835,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 _iter796 : struct.part_vals) + for (String _iter828 : struct.part_vals) { - oprot.writeString(_iter796); + oprot.writeString(_iter828); } oprot.writeListEnd(); } @@ -74852,9 +74852,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 _iter797 : struct.group_names) + for (String _iter829 : struct.group_names) { - oprot.writeString(_iter797); + oprot.writeString(_iter829); } oprot.writeListEnd(); } @@ -74903,9 +74903,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 _iter798 : struct.part_vals) + for (String _iter830 : struct.part_vals) { - oprot.writeString(_iter798); + oprot.writeString(_iter830); } } } @@ -74915,9 +74915,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 _iter799 : struct.group_names) + for (String _iter831 : struct.group_names) { - oprot.writeString(_iter799); + oprot.writeString(_iter831); } } } @@ -74937,13 +74937,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list800 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list800.size); - String _elem801; - for (int _i802 = 0; _i802 < _list800.size; ++_i802) + org.apache.thrift.protocol.TList _list832 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list832.size); + String _elem833; + for (int _i834 = 0; _i834 < _list832.size; ++_i834) { - _elem801 = iprot.readString(); - struct.part_vals.add(_elem801); + _elem833 = iprot.readString(); + struct.part_vals.add(_elem833); } } struct.setPart_valsIsSet(true); @@ -74954,13 +74954,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list803 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list803.size); - String _elem804; - for (int _i805 = 0; _i805 < _list803.size; ++_i805) + org.apache.thrift.protocol.TList _list835 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list835.size); + String _elem836; + for (int _i837 = 0; _i837 < _list835.size; ++_i837) { - _elem804 = iprot.readString(); - struct.group_names.add(_elem804); + _elem836 = iprot.readString(); + struct.group_names.add(_elem836); } } struct.setGroup_namesIsSet(true); @@ -77729,14 +77729,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 _list806 = iprot.readListBegin(); - struct.success = new ArrayList(_list806.size); - Partition _elem807; - for (int _i808 = 0; _i808 < _list806.size; ++_i808) + org.apache.thrift.protocol.TList _list838 = iprot.readListBegin(); + struct.success = new ArrayList(_list838.size); + Partition _elem839; + for (int _i840 = 0; _i840 < _list838.size; ++_i840) { - _elem807 = new Partition(); - _elem807.read(iprot); - struct.success.add(_elem807); + _elem839 = new Partition(); + _elem839.read(iprot); + struct.success.add(_elem839); } iprot.readListEnd(); } @@ -77780,9 +77780,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 _iter809 : struct.success) + for (Partition _iter841 : struct.success) { - _iter809.write(oprot); + _iter841.write(oprot); } oprot.writeListEnd(); } @@ -77829,9 +77829,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter810 : struct.success) + for (Partition _iter842 : struct.success) { - _iter810.write(oprot); + _iter842.write(oprot); } } } @@ -77849,14 +77849,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 _list811 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list811.size); - Partition _elem812; - for (int _i813 = 0; _i813 < _list811.size; ++_i813) + org.apache.thrift.protocol.TList _list843 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list843.size); + Partition _elem844; + for (int _i845 = 0; _i845 < _list843.size; ++_i845) { - _elem812 = new Partition(); - _elem812.read(iprot); - struct.success.add(_elem812); + _elem844 = new Partition(); + _elem844.read(iprot); + struct.success.add(_elem844); } } struct.setSuccessIsSet(true); @@ -78546,13 +78546,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 _list814 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list814.size); - String _elem815; - for (int _i816 = 0; _i816 < _list814.size; ++_i816) + org.apache.thrift.protocol.TList _list846 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list846.size); + String _elem847; + for (int _i848 = 0; _i848 < _list846.size; ++_i848) { - _elem815 = iprot.readString(); - struct.group_names.add(_elem815); + _elem847 = iprot.readString(); + struct.group_names.add(_elem847); } iprot.readListEnd(); } @@ -78596,9 +78596,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 _iter817 : struct.group_names) + for (String _iter849 : struct.group_names) { - oprot.writeString(_iter817); + oprot.writeString(_iter849); } oprot.writeListEnd(); } @@ -78653,9 +78653,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 _iter818 : struct.group_names) + for (String _iter850 : struct.group_names) { - oprot.writeString(_iter818); + oprot.writeString(_iter850); } } } @@ -78683,13 +78683,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list819 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list819.size); - String _elem820; - for (int _i821 = 0; _i821 < _list819.size; ++_i821) + org.apache.thrift.protocol.TList _list851 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list851.size); + String _elem852; + for (int _i853 = 0; _i853 < _list851.size; ++_i853) { - _elem820 = iprot.readString(); - struct.group_names.add(_elem820); + _elem852 = iprot.readString(); + struct.group_names.add(_elem852); } } struct.setGroup_namesIsSet(true); @@ -79176,14 +79176,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 _list822 = iprot.readListBegin(); - struct.success = new ArrayList(_list822.size); - Partition _elem823; - for (int _i824 = 0; _i824 < _list822.size; ++_i824) + org.apache.thrift.protocol.TList _list854 = iprot.readListBegin(); + struct.success = new ArrayList(_list854.size); + Partition _elem855; + for (int _i856 = 0; _i856 < _list854.size; ++_i856) { - _elem823 = new Partition(); - _elem823.read(iprot); - struct.success.add(_elem823); + _elem855 = new Partition(); + _elem855.read(iprot); + struct.success.add(_elem855); } iprot.readListEnd(); } @@ -79227,9 +79227,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 _iter825 : struct.success) + for (Partition _iter857 : struct.success) { - _iter825.write(oprot); + _iter857.write(oprot); } oprot.writeListEnd(); } @@ -79276,9 +79276,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter826 : struct.success) + for (Partition _iter858 : struct.success) { - _iter826.write(oprot); + _iter858.write(oprot); } } } @@ -79296,14 +79296,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 _list827 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list827.size); - Partition _elem828; - for (int _i829 = 0; _i829 < _list827.size; ++_i829) + org.apache.thrift.protocol.TList _list859 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list859.size); + Partition _elem860; + for (int _i861 = 0; _i861 < _list859.size; ++_i861) { - _elem828 = new Partition(); - _elem828.read(iprot); - struct.success.add(_elem828); + _elem860 = new Partition(); + _elem860.read(iprot); + struct.success.add(_elem860); } } struct.setSuccessIsSet(true); @@ -80366,14 +80366,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 _list830 = iprot.readListBegin(); - struct.success = new ArrayList(_list830.size); - PartitionSpec _elem831; - for (int _i832 = 0; _i832 < _list830.size; ++_i832) + org.apache.thrift.protocol.TList _list862 = iprot.readListBegin(); + struct.success = new ArrayList(_list862.size); + PartitionSpec _elem863; + for (int _i864 = 0; _i864 < _list862.size; ++_i864) { - _elem831 = new PartitionSpec(); - _elem831.read(iprot); - struct.success.add(_elem831); + _elem863 = new PartitionSpec(); + _elem863.read(iprot); + struct.success.add(_elem863); } iprot.readListEnd(); } @@ -80417,9 +80417,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 _iter833 : struct.success) + for (PartitionSpec _iter865 : struct.success) { - _iter833.write(oprot); + _iter865.write(oprot); } oprot.writeListEnd(); } @@ -80466,9 +80466,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter834 : struct.success) + for (PartitionSpec _iter866 : struct.success) { - _iter834.write(oprot); + _iter866.write(oprot); } } } @@ -80486,14 +80486,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 _list835 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list835.size); - PartitionSpec _elem836; - for (int _i837 = 0; _i837 < _list835.size; ++_i837) + org.apache.thrift.protocol.TList _list867 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list867.size); + PartitionSpec _elem868; + for (int _i869 = 0; _i869 < _list867.size; ++_i869) { - _elem836 = new PartitionSpec(); - _elem836.read(iprot); - struct.success.add(_elem836); + _elem868 = new PartitionSpec(); + _elem868.read(iprot); + struct.success.add(_elem868); } } struct.setSuccessIsSet(true); @@ -81472,13 +81472,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 _list838 = iprot.readListBegin(); - struct.success = new ArrayList(_list838.size); - String _elem839; - for (int _i840 = 0; _i840 < _list838.size; ++_i840) + org.apache.thrift.protocol.TList _list870 = iprot.readListBegin(); + struct.success = new ArrayList(_list870.size); + String _elem871; + for (int _i872 = 0; _i872 < _list870.size; ++_i872) { - _elem839 = iprot.readString(); - struct.success.add(_elem839); + _elem871 = iprot.readString(); + struct.success.add(_elem871); } iprot.readListEnd(); } @@ -81513,9 +81513,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 _iter841 : struct.success) + for (String _iter873 : struct.success) { - oprot.writeString(_iter841); + oprot.writeString(_iter873); } oprot.writeListEnd(); } @@ -81554,9 +81554,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter842 : struct.success) + for (String _iter874 : struct.success) { - oprot.writeString(_iter842); + oprot.writeString(_iter874); } } } @@ -81571,13 +81571,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list843 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list843.size); - String _elem844; - for (int _i845 = 0; _i845 < _list843.size; ++_i845) + org.apache.thrift.protocol.TList _list875 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list875.size); + String _elem876; + for (int _i877 = 0; _i877 < _list875.size; ++_i877) { - _elem844 = iprot.readString(); - struct.success.add(_elem844); + _elem876 = iprot.readString(); + struct.success.add(_elem876); } } struct.setSuccessIsSet(true); @@ -82165,13 +82165,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 _list846 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list846.size); - String _elem847; - for (int _i848 = 0; _i848 < _list846.size; ++_i848) + org.apache.thrift.protocol.TList _list878 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list878.size); + String _elem879; + for (int _i880 = 0; _i880 < _list878.size; ++_i880) { - _elem847 = iprot.readString(); - struct.part_vals.add(_elem847); + _elem879 = iprot.readString(); + struct.part_vals.add(_elem879); } iprot.readListEnd(); } @@ -82215,9 +82215,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 _iter849 : struct.part_vals) + for (String _iter881 : struct.part_vals) { - oprot.writeString(_iter849); + oprot.writeString(_iter881); } oprot.writeListEnd(); } @@ -82266,9 +82266,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 _iter850 : struct.part_vals) + for (String _iter882 : struct.part_vals) { - oprot.writeString(_iter850); + oprot.writeString(_iter882); } } } @@ -82291,13 +82291,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list851 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list851.size); - String _elem852; - for (int _i853 = 0; _i853 < _list851.size; ++_i853) + org.apache.thrift.protocol.TList _list883 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list883.size); + String _elem884; + for (int _i885 = 0; _i885 < _list883.size; ++_i885) { - _elem852 = iprot.readString(); - struct.part_vals.add(_elem852); + _elem884 = iprot.readString(); + struct.part_vals.add(_elem884); } } struct.setPart_valsIsSet(true); @@ -82788,14 +82788,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 _list854 = iprot.readListBegin(); - struct.success = new ArrayList(_list854.size); - Partition _elem855; - for (int _i856 = 0; _i856 < _list854.size; ++_i856) + org.apache.thrift.protocol.TList _list886 = iprot.readListBegin(); + struct.success = new ArrayList(_list886.size); + Partition _elem887; + for (int _i888 = 0; _i888 < _list886.size; ++_i888) { - _elem855 = new Partition(); - _elem855.read(iprot); - struct.success.add(_elem855); + _elem887 = new Partition(); + _elem887.read(iprot); + struct.success.add(_elem887); } iprot.readListEnd(); } @@ -82839,9 +82839,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 _iter857 : struct.success) + for (Partition _iter889 : struct.success) { - _iter857.write(oprot); + _iter889.write(oprot); } oprot.writeListEnd(); } @@ -82888,9 +82888,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter858 : struct.success) + for (Partition _iter890 : struct.success) { - _iter858.write(oprot); + _iter890.write(oprot); } } } @@ -82908,14 +82908,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 _list859 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list859.size); - Partition _elem860; - for (int _i861 = 0; _i861 < _list859.size; ++_i861) + org.apache.thrift.protocol.TList _list891 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list891.size); + Partition _elem892; + for (int _i893 = 0; _i893 < _list891.size; ++_i893) { - _elem860 = new Partition(); - _elem860.read(iprot); - struct.success.add(_elem860); + _elem892 = new Partition(); + _elem892.read(iprot); + struct.success.add(_elem892); } } struct.setSuccessIsSet(true); @@ -83687,13 +83687,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 _list862 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list862.size); - String _elem863; - for (int _i864 = 0; _i864 < _list862.size; ++_i864) + org.apache.thrift.protocol.TList _list894 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list894.size); + String _elem895; + for (int _i896 = 0; _i896 < _list894.size; ++_i896) { - _elem863 = iprot.readString(); - struct.part_vals.add(_elem863); + _elem895 = iprot.readString(); + struct.part_vals.add(_elem895); } iprot.readListEnd(); } @@ -83721,13 +83721,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 _list865 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list865.size); - String _elem866; - for (int _i867 = 0; _i867 < _list865.size; ++_i867) + org.apache.thrift.protocol.TList _list897 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list897.size); + String _elem898; + for (int _i899 = 0; _i899 < _list897.size; ++_i899) { - _elem866 = iprot.readString(); - struct.group_names.add(_elem866); + _elem898 = iprot.readString(); + struct.group_names.add(_elem898); } iprot.readListEnd(); } @@ -83763,9 +83763,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 _iter868 : struct.part_vals) + for (String _iter900 : struct.part_vals) { - oprot.writeString(_iter868); + oprot.writeString(_iter900); } oprot.writeListEnd(); } @@ -83783,9 +83783,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 _iter869 : struct.group_names) + for (String _iter901 : struct.group_names) { - oprot.writeString(_iter869); + oprot.writeString(_iter901); } oprot.writeListEnd(); } @@ -83837,9 +83837,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 _iter870 : struct.part_vals) + for (String _iter902 : struct.part_vals) { - oprot.writeString(_iter870); + oprot.writeString(_iter902); } } } @@ -83852,9 +83852,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 _iter871 : struct.group_names) + for (String _iter903 : struct.group_names) { - oprot.writeString(_iter871); + oprot.writeString(_iter903); } } } @@ -83874,13 +83874,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list872 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list872.size); - String _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list904 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list904.size); + String _elem905; + for (int _i906 = 0; _i906 < _list904.size; ++_i906) { - _elem873 = iprot.readString(); - struct.part_vals.add(_elem873); + _elem905 = iprot.readString(); + struct.part_vals.add(_elem905); } } struct.setPart_valsIsSet(true); @@ -83895,13 +83895,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list875 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list875.size); - String _elem876; - for (int _i877 = 0; _i877 < _list875.size; ++_i877) + org.apache.thrift.protocol.TList _list907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list907.size); + String _elem908; + for (int _i909 = 0; _i909 < _list907.size; ++_i909) { - _elem876 = iprot.readString(); - struct.group_names.add(_elem876); + _elem908 = iprot.readString(); + struct.group_names.add(_elem908); } } struct.setGroup_namesIsSet(true); @@ -84388,14 +84388,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 _list878 = iprot.readListBegin(); - struct.success = new ArrayList(_list878.size); - Partition _elem879; - for (int _i880 = 0; _i880 < _list878.size; ++_i880) + org.apache.thrift.protocol.TList _list910 = iprot.readListBegin(); + struct.success = new ArrayList(_list910.size); + Partition _elem911; + for (int _i912 = 0; _i912 < _list910.size; ++_i912) { - _elem879 = new Partition(); - _elem879.read(iprot); - struct.success.add(_elem879); + _elem911 = new Partition(); + _elem911.read(iprot); + struct.success.add(_elem911); } iprot.readListEnd(); } @@ -84439,9 +84439,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 _iter881 : struct.success) + for (Partition _iter913 : struct.success) { - _iter881.write(oprot); + _iter913.write(oprot); } oprot.writeListEnd(); } @@ -84488,9 +84488,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter882 : struct.success) + for (Partition _iter914 : struct.success) { - _iter882.write(oprot); + _iter914.write(oprot); } } } @@ -84508,14 +84508,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 _list883 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list883.size); - Partition _elem884; - for (int _i885 = 0; _i885 < _list883.size; ++_i885) + org.apache.thrift.protocol.TList _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list915.size); + Partition _elem916; + for (int _i917 = 0; _i917 < _list915.size; ++_i917) { - _elem884 = new Partition(); - _elem884.read(iprot); - struct.success.add(_elem884); + _elem916 = new Partition(); + _elem916.read(iprot); + struct.success.add(_elem916); } } struct.setSuccessIsSet(true); @@ -85108,13 +85108,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 _list886 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list886.size); - String _elem887; - for (int _i888 = 0; _i888 < _list886.size; ++_i888) + org.apache.thrift.protocol.TList _list918 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list918.size); + String _elem919; + for (int _i920 = 0; _i920 < _list918.size; ++_i920) { - _elem887 = iprot.readString(); - struct.part_vals.add(_elem887); + _elem919 = iprot.readString(); + struct.part_vals.add(_elem919); } iprot.readListEnd(); } @@ -85158,9 +85158,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 _iter889 : struct.part_vals) + for (String _iter921 : struct.part_vals) { - oprot.writeString(_iter889); + oprot.writeString(_iter921); } oprot.writeListEnd(); } @@ -85209,9 +85209,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 _iter890 : struct.part_vals) + for (String _iter922 : struct.part_vals) { - oprot.writeString(_iter890); + oprot.writeString(_iter922); } } } @@ -85234,13 +85234,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list891 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list891.size); - String _elem892; - for (int _i893 = 0; _i893 < _list891.size; ++_i893) + org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list923.size); + String _elem924; + for (int _i925 = 0; _i925 < _list923.size; ++_i925) { - _elem892 = iprot.readString(); - struct.part_vals.add(_elem892); + _elem924 = iprot.readString(); + struct.part_vals.add(_elem924); } } struct.setPart_valsIsSet(true); @@ -85728,13 +85728,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 _list894 = iprot.readListBegin(); - struct.success = new ArrayList(_list894.size); - String _elem895; - for (int _i896 = 0; _i896 < _list894.size; ++_i896) + org.apache.thrift.protocol.TList _list926 = iprot.readListBegin(); + struct.success = new ArrayList(_list926.size); + String _elem927; + for (int _i928 = 0; _i928 < _list926.size; ++_i928) { - _elem895 = iprot.readString(); - struct.success.add(_elem895); + _elem927 = iprot.readString(); + struct.success.add(_elem927); } iprot.readListEnd(); } @@ -85778,9 +85778,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 _iter897 : struct.success) + for (String _iter929 : struct.success) { - oprot.writeString(_iter897); + oprot.writeString(_iter929); } oprot.writeListEnd(); } @@ -85827,9 +85827,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter898 : struct.success) + for (String _iter930 : struct.success) { - oprot.writeString(_iter898); + oprot.writeString(_iter930); } } } @@ -85847,13 +85847,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 _list899 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list899.size); - String _elem900; - for (int _i901 = 0; _i901 < _list899.size; ++_i901) + org.apache.thrift.protocol.TList _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list931.size); + String _elem932; + for (int _i933 = 0; _i933 < _list931.size; ++_i933) { - _elem900 = iprot.readString(); - struct.success.add(_elem900); + _elem932 = iprot.readString(); + struct.success.add(_elem932); } } struct.setSuccessIsSet(true); @@ -87020,14 +87020,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 _list902 = iprot.readListBegin(); - struct.success = new ArrayList(_list902.size); - Partition _elem903; - for (int _i904 = 0; _i904 < _list902.size; ++_i904) + org.apache.thrift.protocol.TList _list934 = iprot.readListBegin(); + struct.success = new ArrayList(_list934.size); + Partition _elem935; + for (int _i936 = 0; _i936 < _list934.size; ++_i936) { - _elem903 = new Partition(); - _elem903.read(iprot); - struct.success.add(_elem903); + _elem935 = new Partition(); + _elem935.read(iprot); + struct.success.add(_elem935); } iprot.readListEnd(); } @@ -87071,9 +87071,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 _iter905 : struct.success) + for (Partition _iter937 : struct.success) { - _iter905.write(oprot); + _iter937.write(oprot); } oprot.writeListEnd(); } @@ -87120,9 +87120,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter906 : struct.success) + for (Partition _iter938 : struct.success) { - _iter906.write(oprot); + _iter938.write(oprot); } } } @@ -87140,14 +87140,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 _list907 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list907.size); - Partition _elem908; - for (int _i909 = 0; _i909 < _list907.size; ++_i909) + org.apache.thrift.protocol.TList _list939 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list939.size); + Partition _elem940; + for (int _i941 = 0; _i941 < _list939.size; ++_i941) { - _elem908 = new Partition(); - _elem908.read(iprot); - struct.success.add(_elem908); + _elem940 = new Partition(); + _elem940.read(iprot); + struct.success.add(_elem940); } } struct.setSuccessIsSet(true); @@ -88314,14 +88314,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 _list910 = iprot.readListBegin(); - struct.success = new ArrayList(_list910.size); - PartitionSpec _elem911; - for (int _i912 = 0; _i912 < _list910.size; ++_i912) + org.apache.thrift.protocol.TList _list942 = iprot.readListBegin(); + struct.success = new ArrayList(_list942.size); + PartitionSpec _elem943; + for (int _i944 = 0; _i944 < _list942.size; ++_i944) { - _elem911 = new PartitionSpec(); - _elem911.read(iprot); - struct.success.add(_elem911); + _elem943 = new PartitionSpec(); + _elem943.read(iprot); + struct.success.add(_elem943); } iprot.readListEnd(); } @@ -88365,9 +88365,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 _iter913 : struct.success) + for (PartitionSpec _iter945 : struct.success) { - _iter913.write(oprot); + _iter945.write(oprot); } oprot.writeListEnd(); } @@ -88414,9 +88414,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 _iter914 : struct.success) + for (PartitionSpec _iter946 : struct.success) { - _iter914.write(oprot); + _iter946.write(oprot); } } } @@ -88434,14 +88434,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 _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list915.size); - PartitionSpec _elem916; - for (int _i917 = 0; _i917 < _list915.size; ++_i917) + org.apache.thrift.protocol.TList _list947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list947.size); + PartitionSpec _elem948; + for (int _i949 = 0; _i949 < _list947.size; ++_i949) { - _elem916 = new PartitionSpec(); - _elem916.read(iprot); - struct.success.add(_elem916); + _elem948 = new PartitionSpec(); + _elem948.read(iprot); + struct.success.add(_elem948); } } struct.setSuccessIsSet(true); @@ -91025,13 +91025,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 _list918 = iprot.readListBegin(); - struct.names = new ArrayList(_list918.size); - String _elem919; - for (int _i920 = 0; _i920 < _list918.size; ++_i920) + org.apache.thrift.protocol.TList _list950 = iprot.readListBegin(); + struct.names = new ArrayList(_list950.size); + String _elem951; + for (int _i952 = 0; _i952 < _list950.size; ++_i952) { - _elem919 = iprot.readString(); - struct.names.add(_elem919); + _elem951 = iprot.readString(); + struct.names.add(_elem951); } iprot.readListEnd(); } @@ -91067,9 +91067,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 _iter921 : struct.names) + for (String _iter953 : struct.names) { - oprot.writeString(_iter921); + oprot.writeString(_iter953); } oprot.writeListEnd(); } @@ -91112,9 +91112,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter922 : struct.names) + for (String _iter954 : struct.names) { - oprot.writeString(_iter922); + oprot.writeString(_iter954); } } } @@ -91134,13 +91134,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list923 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list923.size); - String _elem924; - for (int _i925 = 0; _i925 < _list923.size; ++_i925) + org.apache.thrift.protocol.TList _list955 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list955.size); + String _elem956; + for (int _i957 = 0; _i957 < _list955.size; ++_i957) { - _elem924 = iprot.readString(); - struct.names.add(_elem924); + _elem956 = iprot.readString(); + struct.names.add(_elem956); } } struct.setNamesIsSet(true); @@ -91627,14 +91627,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 _list926 = iprot.readListBegin(); - struct.success = new ArrayList(_list926.size); - Partition _elem927; - for (int _i928 = 0; _i928 < _list926.size; ++_i928) + org.apache.thrift.protocol.TList _list958 = iprot.readListBegin(); + struct.success = new ArrayList(_list958.size); + Partition _elem959; + for (int _i960 = 0; _i960 < _list958.size; ++_i960) { - _elem927 = new Partition(); - _elem927.read(iprot); - struct.success.add(_elem927); + _elem959 = new Partition(); + _elem959.read(iprot); + struct.success.add(_elem959); } iprot.readListEnd(); } @@ -91678,9 +91678,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 _iter929 : struct.success) + for (Partition _iter961 : struct.success) { - _iter929.write(oprot); + _iter961.write(oprot); } oprot.writeListEnd(); } @@ -91727,9 +91727,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter930 : struct.success) + for (Partition _iter962 : struct.success) { - _iter930.write(oprot); + _iter962.write(oprot); } } } @@ -91747,14 +91747,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 _list931 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list931.size); - Partition _elem932; - for (int _i933 = 0; _i933 < _list931.size; ++_i933) + org.apache.thrift.protocol.TList _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list963.size); + Partition _elem964; + for (int _i965 = 0; _i965 < _list963.size; ++_i965) { - _elem932 = new Partition(); - _elem932.read(iprot); - struct.success.add(_elem932); + _elem964 = new Partition(); + _elem964.read(iprot); + struct.success.add(_elem964); } } struct.setSuccessIsSet(true); @@ -93304,14 +93304,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 _list934 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list934.size); - Partition _elem935; - for (int _i936 = 0; _i936 < _list934.size; ++_i936) + org.apache.thrift.protocol.TList _list966 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list966.size); + Partition _elem967; + for (int _i968 = 0; _i968 < _list966.size; ++_i968) { - _elem935 = new Partition(); - _elem935.read(iprot); - struct.new_parts.add(_elem935); + _elem967 = new Partition(); + _elem967.read(iprot); + struct.new_parts.add(_elem967); } iprot.readListEnd(); } @@ -93347,9 +93347,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 _iter937 : struct.new_parts) + for (Partition _iter969 : struct.new_parts) { - _iter937.write(oprot); + _iter969.write(oprot); } oprot.writeListEnd(); } @@ -93392,9 +93392,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 _iter938 : struct.new_parts) + for (Partition _iter970 : struct.new_parts) { - _iter938.write(oprot); + _iter970.write(oprot); } } } @@ -93414,14 +93414,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list939 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list939.size); - Partition _elem940; - for (int _i941 = 0; _i941 < _list939.size; ++_i941) + org.apache.thrift.protocol.TList _list971 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list971.size); + Partition _elem972; + for (int _i973 = 0; _i973 < _list971.size; ++_i973) { - _elem940 = new Partition(); - _elem940.read(iprot); - struct.new_parts.add(_elem940); + _elem972 = new Partition(); + _elem972.read(iprot); + struct.new_parts.add(_elem972); } } struct.setNew_partsIsSet(true); @@ -94474,14 +94474,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 _list942 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list942.size); - Partition _elem943; - for (int _i944 = 0; _i944 < _list942.size; ++_i944) + org.apache.thrift.protocol.TList _list974 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list974.size); + Partition _elem975; + for (int _i976 = 0; _i976 < _list974.size; ++_i976) { - _elem943 = new Partition(); - _elem943.read(iprot); - struct.new_parts.add(_elem943); + _elem975 = new Partition(); + _elem975.read(iprot); + struct.new_parts.add(_elem975); } iprot.readListEnd(); } @@ -94526,9 +94526,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 _iter945 : struct.new_parts) + for (Partition _iter977 : struct.new_parts) { - _iter945.write(oprot); + _iter977.write(oprot); } oprot.writeListEnd(); } @@ -94579,9 +94579,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 _iter946 : struct.new_parts) + for (Partition _iter978 : struct.new_parts) { - _iter946.write(oprot); + _iter978.write(oprot); } } } @@ -94604,14 +94604,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list947.size); - Partition _elem948; - for (int _i949 = 0; _i949 < _list947.size; ++_i949) + org.apache.thrift.protocol.TList _list979 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list979.size); + Partition _elem980; + for (int _i981 = 0; _i981 < _list979.size; ++_i981) { - _elem948 = new Partition(); - _elem948.read(iprot); - struct.new_parts.add(_elem948); + _elem980 = new Partition(); + _elem980.read(iprot); + struct.new_parts.add(_elem980); } } struct.setNew_partsIsSet(true); @@ -96812,13 +96812,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 _list950 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list950.size); - String _elem951; - for (int _i952 = 0; _i952 < _list950.size; ++_i952) + org.apache.thrift.protocol.TList _list982 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list982.size); + String _elem983; + for (int _i984 = 0; _i984 < _list982.size; ++_i984) { - _elem951 = iprot.readString(); - struct.part_vals.add(_elem951); + _elem983 = iprot.readString(); + struct.part_vals.add(_elem983); } iprot.readListEnd(); } @@ -96863,9 +96863,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 _iter953 : struct.part_vals) + for (String _iter985 : struct.part_vals) { - oprot.writeString(_iter953); + oprot.writeString(_iter985); } oprot.writeListEnd(); } @@ -96916,9 +96916,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 _iter954 : struct.part_vals) + for (String _iter986 : struct.part_vals) { - oprot.writeString(_iter954); + oprot.writeString(_iter986); } } } @@ -96941,13 +96941,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list955 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list955.size); - String _elem956; - for (int _i957 = 0; _i957 < _list955.size; ++_i957) + org.apache.thrift.protocol.TList _list987 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list987.size); + String _elem988; + for (int _i989 = 0; _i989 < _list987.size; ++_i989) { - _elem956 = iprot.readString(); - struct.part_vals.add(_elem956); + _elem988 = iprot.readString(); + struct.part_vals.add(_elem988); } } struct.setPart_valsIsSet(true); @@ -97821,13 +97821,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 _list958 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list958.size); - String _elem959; - for (int _i960 = 0; _i960 < _list958.size; ++_i960) + org.apache.thrift.protocol.TList _list990 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list990.size); + String _elem991; + for (int _i992 = 0; _i992 < _list990.size; ++_i992) { - _elem959 = iprot.readString(); - struct.part_vals.add(_elem959); + _elem991 = iprot.readString(); + struct.part_vals.add(_elem991); } iprot.readListEnd(); } @@ -97861,9 +97861,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 _iter961 : struct.part_vals) + for (String _iter993 : struct.part_vals) { - oprot.writeString(_iter961); + oprot.writeString(_iter993); } oprot.writeListEnd(); } @@ -97900,9 +97900,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 _iter962 : struct.part_vals) + for (String _iter994 : struct.part_vals) { - oprot.writeString(_iter962); + oprot.writeString(_iter994); } } } @@ -97917,13 +97917,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 _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list963.size); - String _elem964; - for (int _i965 = 0; _i965 < _list963.size; ++_i965) + org.apache.thrift.protocol.TList _list995 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list995.size); + String _elem996; + for (int _i997 = 0; _i997 < _list995.size; ++_i997) { - _elem964 = iprot.readString(); - struct.part_vals.add(_elem964); + _elem996 = iprot.readString(); + struct.part_vals.add(_elem996); } } struct.setPart_valsIsSet(true); @@ -100078,13 +100078,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 _list966 = iprot.readListBegin(); - struct.success = new ArrayList(_list966.size); - String _elem967; - for (int _i968 = 0; _i968 < _list966.size; ++_i968) + org.apache.thrift.protocol.TList _list998 = iprot.readListBegin(); + struct.success = new ArrayList(_list998.size); + String _elem999; + for (int _i1000 = 0; _i1000 < _list998.size; ++_i1000) { - _elem967 = iprot.readString(); - struct.success.add(_elem967); + _elem999 = iprot.readString(); + struct.success.add(_elem999); } iprot.readListEnd(); } @@ -100119,9 +100119,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 _iter969 : struct.success) + for (String _iter1001 : struct.success) { - oprot.writeString(_iter969); + oprot.writeString(_iter1001); } oprot.writeListEnd(); } @@ -100160,9 +100160,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter970 : struct.success) + for (String _iter1002 : struct.success) { - oprot.writeString(_iter970); + oprot.writeString(_iter1002); } } } @@ -100177,13 +100177,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 _list971 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list971.size); - String _elem972; - for (int _i973 = 0; _i973 < _list971.size; ++_i973) + org.apache.thrift.protocol.TList _list1003 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1003.size); + String _elem1004; + for (int _i1005 = 0; _i1005 < _list1003.size; ++_i1005) { - _elem972 = iprot.readString(); - struct.success.add(_elem972); + _elem1004 = iprot.readString(); + struct.success.add(_elem1004); } } struct.setSuccessIsSet(true); @@ -100946,15 +100946,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 _map974 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map974.size); - String _key975; - String _val976; - for (int _i977 = 0; _i977 < _map974.size; ++_i977) + org.apache.thrift.protocol.TMap _map1006 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1006.size); + String _key1007; + String _val1008; + for (int _i1009 = 0; _i1009 < _map1006.size; ++_i1009) { - _key975 = iprot.readString(); - _val976 = iprot.readString(); - struct.success.put(_key975, _val976); + _key1007 = iprot.readString(); + _val1008 = iprot.readString(); + struct.success.put(_key1007, _val1008); } iprot.readMapEnd(); } @@ -100989,10 +100989,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 _iter978 : struct.success.entrySet()) + for (Map.Entry _iter1010 : struct.success.entrySet()) { - oprot.writeString(_iter978.getKey()); - oprot.writeString(_iter978.getValue()); + oprot.writeString(_iter1010.getKey()); + oprot.writeString(_iter1010.getValue()); } oprot.writeMapEnd(); } @@ -101031,10 +101031,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 _iter979 : struct.success.entrySet()) + for (Map.Entry _iter1011 : struct.success.entrySet()) { - oprot.writeString(_iter979.getKey()); - oprot.writeString(_iter979.getValue()); + oprot.writeString(_iter1011.getKey()); + oprot.writeString(_iter1011.getValue()); } } } @@ -101049,15 +101049,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 _map980 = 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*_map980.size); - String _key981; - String _val982; - for (int _i983 = 0; _i983 < _map980.size; ++_i983) + org.apache.thrift.protocol.TMap _map1012 = 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*_map1012.size); + String _key1013; + String _val1014; + for (int _i1015 = 0; _i1015 < _map1012.size; ++_i1015) { - _key981 = iprot.readString(); - _val982 = iprot.readString(); - struct.success.put(_key981, _val982); + _key1013 = iprot.readString(); + _val1014 = iprot.readString(); + struct.success.put(_key1013, _val1014); } } struct.setSuccessIsSet(true); @@ -101652,15 +101652,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 _map984 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map984.size); - String _key985; - String _val986; - for (int _i987 = 0; _i987 < _map984.size; ++_i987) + org.apache.thrift.protocol.TMap _map1016 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1016.size); + String _key1017; + String _val1018; + for (int _i1019 = 0; _i1019 < _map1016.size; ++_i1019) { - _key985 = iprot.readString(); - _val986 = iprot.readString(); - struct.part_vals.put(_key985, _val986); + _key1017 = iprot.readString(); + _val1018 = iprot.readString(); + struct.part_vals.put(_key1017, _val1018); } iprot.readMapEnd(); } @@ -101704,10 +101704,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 _iter988 : struct.part_vals.entrySet()) + for (Map.Entry _iter1020 : struct.part_vals.entrySet()) { - oprot.writeString(_iter988.getKey()); - oprot.writeString(_iter988.getValue()); + oprot.writeString(_iter1020.getKey()); + oprot.writeString(_iter1020.getValue()); } oprot.writeMapEnd(); } @@ -101758,10 +101758,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter989 : struct.part_vals.entrySet()) + for (Map.Entry _iter1021 : struct.part_vals.entrySet()) { - oprot.writeString(_iter989.getKey()); - oprot.writeString(_iter989.getValue()); + oprot.writeString(_iter1021.getKey()); + oprot.writeString(_iter1021.getValue()); } } } @@ -101784,15 +101784,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map990 = 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*_map990.size); - String _key991; - String _val992; - for (int _i993 = 0; _i993 < _map990.size; ++_i993) + org.apache.thrift.protocol.TMap _map1022 = 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*_map1022.size); + String _key1023; + String _val1024; + for (int _i1025 = 0; _i1025 < _map1022.size; ++_i1025) { - _key991 = iprot.readString(); - _val992 = iprot.readString(); - struct.part_vals.put(_key991, _val992); + _key1023 = iprot.readString(); + _val1024 = iprot.readString(); + struct.part_vals.put(_key1023, _val1024); } } struct.setPart_valsIsSet(true); @@ -103276,15 +103276,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 _map994 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map994.size); - String _key995; - String _val996; - for (int _i997 = 0; _i997 < _map994.size; ++_i997) + org.apache.thrift.protocol.TMap _map1026 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1026.size); + String _key1027; + String _val1028; + for (int _i1029 = 0; _i1029 < _map1026.size; ++_i1029) { - _key995 = iprot.readString(); - _val996 = iprot.readString(); - struct.part_vals.put(_key995, _val996); + _key1027 = iprot.readString(); + _val1028 = iprot.readString(); + struct.part_vals.put(_key1027, _val1028); } iprot.readMapEnd(); } @@ -103328,10 +103328,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 _iter998 : struct.part_vals.entrySet()) + for (Map.Entry _iter1030 : struct.part_vals.entrySet()) { - oprot.writeString(_iter998.getKey()); - oprot.writeString(_iter998.getValue()); + oprot.writeString(_iter1030.getKey()); + oprot.writeString(_iter1030.getValue()); } oprot.writeMapEnd(); } @@ -103382,10 +103382,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter999 : struct.part_vals.entrySet()) + for (Map.Entry _iter1031 : struct.part_vals.entrySet()) { - oprot.writeString(_iter999.getKey()); - oprot.writeString(_iter999.getValue()); + oprot.writeString(_iter1031.getKey()); + oprot.writeString(_iter1031.getValue()); } } } @@ -103408,15 +103408,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1000 = 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*_map1000.size); - String _key1001; - String _val1002; - for (int _i1003 = 0; _i1003 < _map1000.size; ++_i1003) + org.apache.thrift.protocol.TMap _map1032 = 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*_map1032.size); + String _key1033; + String _val1034; + for (int _i1035 = 0; _i1035 < _map1032.size; ++_i1035) { - _key1001 = iprot.readString(); - _val1002 = iprot.readString(); - struct.part_vals.put(_key1001, _val1002); + _key1033 = iprot.readString(); + _val1034 = iprot.readString(); + struct.part_vals.put(_key1033, _val1034); } } struct.setPart_valsIsSet(true); @@ -110140,14 +110140,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1004 = iprot.readListBegin(); - struct.success = new ArrayList(_list1004.size); - Index _elem1005; - for (int _i1006 = 0; _i1006 < _list1004.size; ++_i1006) + org.apache.thrift.protocol.TList _list1036 = iprot.readListBegin(); + struct.success = new ArrayList(_list1036.size); + Index _elem1037; + for (int _i1038 = 0; _i1038 < _list1036.size; ++_i1038) { - _elem1005 = new Index(); - _elem1005.read(iprot); - struct.success.add(_elem1005); + _elem1037 = new Index(); + _elem1037.read(iprot); + struct.success.add(_elem1037); } iprot.readListEnd(); } @@ -110191,9 +110191,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Index _iter1007 : struct.success) + for (Index _iter1039 : struct.success) { - _iter1007.write(oprot); + _iter1039.write(oprot); } oprot.writeListEnd(); } @@ -110240,9 +110240,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter1008 : struct.success) + for (Index _iter1040 : struct.success) { - _iter1008.write(oprot); + _iter1040.write(oprot); } } } @@ -110260,14 +110260,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result s BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1009 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1009.size); - Index _elem1010; - for (int _i1011 = 0; _i1011 < _list1009.size; ++_i1011) + org.apache.thrift.protocol.TList _list1041 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1041.size); + Index _elem1042; + for (int _i1043 = 0; _i1043 < _list1041.size; ++_i1043) { - _elem1010 = new Index(); - _elem1010.read(iprot); - struct.success.add(_elem1010); + _elem1042 = new Index(); + _elem1042.read(iprot); + struct.success.add(_elem1042); } } struct.setSuccessIsSet(true); @@ -111246,13 +111246,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1012 = iprot.readListBegin(); - struct.success = new ArrayList(_list1012.size); - String _elem1013; - for (int _i1014 = 0; _i1014 < _list1012.size; ++_i1014) + org.apache.thrift.protocol.TList _list1044 = iprot.readListBegin(); + struct.success = new ArrayList(_list1044.size); + String _elem1045; + for (int _i1046 = 0; _i1046 < _list1044.size; ++_i1046) { - _elem1013 = iprot.readString(); - struct.success.add(_elem1013); + _elem1045 = iprot.readString(); + struct.success.add(_elem1045); } iprot.readListEnd(); } @@ -111287,9 +111287,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1015 : struct.success) + for (String _iter1047 : struct.success) { - oprot.writeString(_iter1015); + oprot.writeString(_iter1047); } oprot.writeListEnd(); } @@ -111328,9 +111328,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1016 : struct.success) + for (String _iter1048 : struct.success) { - oprot.writeString(_iter1016); + oprot.writeString(_iter1048); } } } @@ -111345,13 +111345,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1017 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1017.size); - String _elem1018; - for (int _i1019 = 0; _i1019 < _list1017.size; ++_i1019) + org.apache.thrift.protocol.TList _list1049 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1049.size); + String _elem1050; + for (int _i1051 = 0; _i1051 < _list1049.size; ++_i1051) { - _elem1018 = iprot.readString(); - struct.success.add(_elem1018); + _elem1050 = iprot.readString(); + struct.success.add(_elem1050); } } struct.setSuccessIsSet(true); @@ -127086,13 +127086,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 _list1020 = iprot.readListBegin(); - struct.success = new ArrayList(_list1020.size); - String _elem1021; - for (int _i1022 = 0; _i1022 < _list1020.size; ++_i1022) + org.apache.thrift.protocol.TList _list1052 = iprot.readListBegin(); + struct.success = new ArrayList(_list1052.size); + String _elem1053; + for (int _i1054 = 0; _i1054 < _list1052.size; ++_i1054) { - _elem1021 = iprot.readString(); - struct.success.add(_elem1021); + _elem1053 = iprot.readString(); + struct.success.add(_elem1053); } iprot.readListEnd(); } @@ -127127,9 +127127,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 _iter1023 : struct.success) + for (String _iter1055 : struct.success) { - oprot.writeString(_iter1023); + oprot.writeString(_iter1055); } oprot.writeListEnd(); } @@ -127168,9 +127168,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1024 : struct.success) + for (String _iter1056 : struct.success) { - oprot.writeString(_iter1024); + oprot.writeString(_iter1056); } } } @@ -127185,13 +127185,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 _list1025 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1025.size); - String _elem1026; - for (int _i1027 = 0; _i1027 < _list1025.size; ++_i1027) + org.apache.thrift.protocol.TList _list1057 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1057.size); + String _elem1058; + for (int _i1059 = 0; _i1059 < _list1057.size; ++_i1059) { - _elem1026 = iprot.readString(); - struct.success.add(_elem1026); + _elem1058 = iprot.readString(); + struct.success.add(_elem1058); } } struct.setSuccessIsSet(true); @@ -131246,13 +131246,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 _list1028 = iprot.readListBegin(); - struct.success = new ArrayList(_list1028.size); - String _elem1029; - for (int _i1030 = 0; _i1030 < _list1028.size; ++_i1030) + org.apache.thrift.protocol.TList _list1060 = iprot.readListBegin(); + struct.success = new ArrayList(_list1060.size); + String _elem1061; + for (int _i1062 = 0; _i1062 < _list1060.size; ++_i1062) { - _elem1029 = iprot.readString(); - struct.success.add(_elem1029); + _elem1061 = iprot.readString(); + struct.success.add(_elem1061); } iprot.readListEnd(); } @@ -131287,9 +131287,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 _iter1031 : struct.success) + for (String _iter1063 : struct.success) { - oprot.writeString(_iter1031); + oprot.writeString(_iter1063); } oprot.writeListEnd(); } @@ -131328,9 +131328,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1032 : struct.success) + for (String _iter1064 : struct.success) { - oprot.writeString(_iter1032); + oprot.writeString(_iter1064); } } } @@ -131345,13 +131345,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 _list1033 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1033.size); - String _elem1034; - for (int _i1035 = 0; _i1035 < _list1033.size; ++_i1035) + org.apache.thrift.protocol.TList _list1065 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1065.size); + String _elem1066; + for (int _i1067 = 0; _i1067 < _list1065.size; ++_i1067) { - _elem1034 = iprot.readString(); - struct.success.add(_elem1034); + _elem1066 = iprot.readString(); + struct.success.add(_elem1066); } } struct.setSuccessIsSet(true); @@ -134642,14 +134642,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 _list1036 = iprot.readListBegin(); - struct.success = new ArrayList(_list1036.size); - Role _elem1037; - for (int _i1038 = 0; _i1038 < _list1036.size; ++_i1038) + org.apache.thrift.protocol.TList _list1068 = iprot.readListBegin(); + struct.success = new ArrayList(_list1068.size); + Role _elem1069; + for (int _i1070 = 0; _i1070 < _list1068.size; ++_i1070) { - _elem1037 = new Role(); - _elem1037.read(iprot); - struct.success.add(_elem1037); + _elem1069 = new Role(); + _elem1069.read(iprot); + struct.success.add(_elem1069); } iprot.readListEnd(); } @@ -134684,9 +134684,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 _iter1039 : struct.success) + for (Role _iter1071 : struct.success) { - _iter1039.write(oprot); + _iter1071.write(oprot); } oprot.writeListEnd(); } @@ -134725,9 +134725,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1040 : struct.success) + for (Role _iter1072 : struct.success) { - _iter1040.write(oprot); + _iter1072.write(oprot); } } } @@ -134742,14 +134742,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 _list1041 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1041.size); - Role _elem1042; - for (int _i1043 = 0; _i1043 < _list1041.size; ++_i1043) + org.apache.thrift.protocol.TList _list1073 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1073.size); + Role _elem1074; + for (int _i1075 = 0; _i1075 < _list1073.size; ++_i1075) { - _elem1042 = new Role(); - _elem1042.read(iprot); - struct.success.add(_elem1042); + _elem1074 = new Role(); + _elem1074.read(iprot); + struct.success.add(_elem1074); } } struct.setSuccessIsSet(true); @@ -137754,13 +137754,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 _list1044 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1044.size); - String _elem1045; - for (int _i1046 = 0; _i1046 < _list1044.size; ++_i1046) + org.apache.thrift.protocol.TList _list1076 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1076.size); + String _elem1077; + for (int _i1078 = 0; _i1078 < _list1076.size; ++_i1078) { - _elem1045 = iprot.readString(); - struct.group_names.add(_elem1045); + _elem1077 = iprot.readString(); + struct.group_names.add(_elem1077); } iprot.readListEnd(); } @@ -137796,9 +137796,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 _iter1047 : struct.group_names) + for (String _iter1079 : struct.group_names) { - oprot.writeString(_iter1047); + oprot.writeString(_iter1079); } oprot.writeListEnd(); } @@ -137841,9 +137841,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 _iter1048 : struct.group_names) + for (String _iter1080 : struct.group_names) { - oprot.writeString(_iter1048); + oprot.writeString(_iter1080); } } } @@ -137864,13 +137864,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1049 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1049.size); - String _elem1050; - for (int _i1051 = 0; _i1051 < _list1049.size; ++_i1051) + org.apache.thrift.protocol.TList _list1081 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1081.size); + String _elem1082; + for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) { - _elem1050 = iprot.readString(); - struct.group_names.add(_elem1050); + _elem1082 = iprot.readString(); + struct.group_names.add(_elem1082); } } struct.setGroup_namesIsSet(true); @@ -139328,14 +139328,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 _list1052 = iprot.readListBegin(); - struct.success = new ArrayList(_list1052.size); - HiveObjectPrivilege _elem1053; - for (int _i1054 = 0; _i1054 < _list1052.size; ++_i1054) + org.apache.thrift.protocol.TList _list1084 = iprot.readListBegin(); + struct.success = new ArrayList(_list1084.size); + HiveObjectPrivilege _elem1085; + for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) { - _elem1053 = new HiveObjectPrivilege(); - _elem1053.read(iprot); - struct.success.add(_elem1053); + _elem1085 = new HiveObjectPrivilege(); + _elem1085.read(iprot); + struct.success.add(_elem1085); } iprot.readListEnd(); } @@ -139370,9 +139370,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 _iter1055 : struct.success) + for (HiveObjectPrivilege _iter1087 : struct.success) { - _iter1055.write(oprot); + _iter1087.write(oprot); } oprot.writeListEnd(); } @@ -139411,9 +139411,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1056 : struct.success) + for (HiveObjectPrivilege _iter1088 : struct.success) { - _iter1056.write(oprot); + _iter1088.write(oprot); } } } @@ -139428,14 +139428,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 _list1057 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1057.size); - HiveObjectPrivilege _elem1058; - for (int _i1059 = 0; _i1059 < _list1057.size; ++_i1059) + org.apache.thrift.protocol.TList _list1089 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1089.size); + HiveObjectPrivilege _elem1090; + for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) { - _elem1058 = new HiveObjectPrivilege(); - _elem1058.read(iprot); - struct.success.add(_elem1058); + _elem1090 = new HiveObjectPrivilege(); + _elem1090.read(iprot); + struct.success.add(_elem1090); } } struct.setSuccessIsSet(true); @@ -142337,13 +142337,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 _list1060 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1060.size); - String _elem1061; - for (int _i1062 = 0; _i1062 < _list1060.size; ++_i1062) + org.apache.thrift.protocol.TList _list1092 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1092.size); + String _elem1093; + for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) { - _elem1061 = iprot.readString(); - struct.group_names.add(_elem1061); + _elem1093 = iprot.readString(); + struct.group_names.add(_elem1093); } iprot.readListEnd(); } @@ -142374,9 +142374,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 _iter1063 : struct.group_names) + for (String _iter1095 : struct.group_names) { - oprot.writeString(_iter1063); + oprot.writeString(_iter1095); } oprot.writeListEnd(); } @@ -142413,9 +142413,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 _iter1064 : struct.group_names) + for (String _iter1096 : struct.group_names) { - oprot.writeString(_iter1064); + oprot.writeString(_iter1096); } } } @@ -142431,13 +142431,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1065 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1065.size); - String _elem1066; - for (int _i1067 = 0; _i1067 < _list1065.size; ++_i1067) + org.apache.thrift.protocol.TList _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1097.size); + String _elem1098; + for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) { - _elem1066 = iprot.readString(); - struct.group_names.add(_elem1066); + _elem1098 = iprot.readString(); + struct.group_names.add(_elem1098); } } struct.setGroup_namesIsSet(true); @@ -142840,13 +142840,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 _list1068 = iprot.readListBegin(); - struct.success = new ArrayList(_list1068.size); - String _elem1069; - for (int _i1070 = 0; _i1070 < _list1068.size; ++_i1070) + org.apache.thrift.protocol.TList _list1100 = iprot.readListBegin(); + struct.success = new ArrayList(_list1100.size); + String _elem1101; + for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) { - _elem1069 = iprot.readString(); - struct.success.add(_elem1069); + _elem1101 = iprot.readString(); + struct.success.add(_elem1101); } iprot.readListEnd(); } @@ -142881,9 +142881,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 _iter1071 : struct.success) + for (String _iter1103 : struct.success) { - oprot.writeString(_iter1071); + oprot.writeString(_iter1103); } oprot.writeListEnd(); } @@ -142922,9 +142922,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1072 : struct.success) + for (String _iter1104 : struct.success) { - oprot.writeString(_iter1072); + oprot.writeString(_iter1104); } } } @@ -142939,13 +142939,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 _list1073 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1073.size); - String _elem1074; - for (int _i1075 = 0; _i1075 < _list1073.size; ++_i1075) + org.apache.thrift.protocol.TList _list1105 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1105.size); + String _elem1106; + for (int _i1107 = 0; _i1107 < _list1105.size; ++_i1107) { - _elem1074 = iprot.readString(); - struct.success.add(_elem1074); + _elem1106 = iprot.readString(); + struct.success.add(_elem1106); } } struct.setSuccessIsSet(true); @@ -148236,13 +148236,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 _list1076 = iprot.readListBegin(); - struct.success = new ArrayList(_list1076.size); - String _elem1077; - for (int _i1078 = 0; _i1078 < _list1076.size; ++_i1078) + org.apache.thrift.protocol.TList _list1108 = iprot.readListBegin(); + struct.success = new ArrayList(_list1108.size); + String _elem1109; + for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) { - _elem1077 = iprot.readString(); - struct.success.add(_elem1077); + _elem1109 = iprot.readString(); + struct.success.add(_elem1109); } iprot.readListEnd(); } @@ -148268,9 +148268,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 _iter1079 : struct.success) + for (String _iter1111 : struct.success) { - oprot.writeString(_iter1079); + oprot.writeString(_iter1111); } oprot.writeListEnd(); } @@ -148301,9 +148301,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1080 : struct.success) + for (String _iter1112 : struct.success) { - oprot.writeString(_iter1080); + oprot.writeString(_iter1112); } } } @@ -148315,13 +148315,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 _list1081 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1081.size); - String _elem1082; - for (int _i1083 = 0; _i1083 < _list1081.size; ++_i1083) + org.apache.thrift.protocol.TList _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1113.size); + String _elem1114; + for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) { - _elem1082 = iprot.readString(); - struct.success.add(_elem1082); + _elem1114 = iprot.readString(); + struct.success.add(_elem1114); } } struct.setSuccessIsSet(true); @@ -151351,13 +151351,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 _list1084 = iprot.readListBegin(); - struct.success = new ArrayList(_list1084.size); - String _elem1085; - for (int _i1086 = 0; _i1086 < _list1084.size; ++_i1086) + org.apache.thrift.protocol.TList _list1116 = iprot.readListBegin(); + struct.success = new ArrayList(_list1116.size); + String _elem1117; + for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) { - _elem1085 = iprot.readString(); - struct.success.add(_elem1085); + _elem1117 = iprot.readString(); + struct.success.add(_elem1117); } iprot.readListEnd(); } @@ -151383,9 +151383,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 _iter1087 : struct.success) + for (String _iter1119 : struct.success) { - oprot.writeString(_iter1087); + oprot.writeString(_iter1119); } oprot.writeListEnd(); } @@ -151416,9 +151416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1088 : struct.success) + for (String _iter1120 : struct.success) { - oprot.writeString(_iter1088); + oprot.writeString(_iter1120); } } } @@ -151430,13 +151430,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 _list1089 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1089.size); - String _elem1090; - for (int _i1091 = 0; _i1091 < _list1089.size; ++_i1091) + org.apache.thrift.protocol.TList _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1121.size); + String _elem1122; + for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) { - _elem1090 = iprot.readString(); - struct.success.add(_elem1090); + _elem1122 = iprot.readString(); + struct.success.add(_elem1122); } } struct.setSuccessIsSet(true); diff --git a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java index 14cd42e..892c6af 100644 --- a/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java +++ b/metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Type.java @@ -618,14 +618,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Type struct) throws case 4: // FIELDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list0 = iprot.readListBegin(); - struct.fields = new ArrayList(_list0.size); - FieldSchema _elem1; - for (int _i2 = 0; _i2 < _list0.size; ++_i2) + org.apache.thrift.protocol.TList _list16 = iprot.readListBegin(); + struct.fields = new ArrayList(_list16.size); + FieldSchema _elem17; + for (int _i18 = 0; _i18 < _list16.size; ++_i18) { - _elem1 = new FieldSchema(); - _elem1.read(iprot); - struct.fields.add(_elem1); + _elem17 = new FieldSchema(); + _elem17.read(iprot); + struct.fields.add(_elem17); } iprot.readListEnd(); } @@ -671,9 +671,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Type struct) throw oprot.writeFieldBegin(FIELDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.fields.size())); - for (FieldSchema _iter3 : struct.fields) + for (FieldSchema _iter19 : struct.fields) { - _iter3.write(oprot); + _iter19.write(oprot); } oprot.writeListEnd(); } @@ -723,9 +723,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Type struct) throws if (struct.isSetFields()) { { oprot.writeI32(struct.fields.size()); - for (FieldSchema _iter4 : struct.fields) + for (FieldSchema _iter20 : struct.fields) { - _iter4.write(oprot); + _iter20.write(oprot); } } } @@ -749,14 +749,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Type struct) throws } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list5 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.fields = new ArrayList(_list5.size); - FieldSchema _elem6; - for (int _i7 = 0; _i7 < _list5.size; ++_i7) + org.apache.thrift.protocol.TList _list21 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.fields = new ArrayList(_list21.size); + FieldSchema _elem22; + for (int _i23 = 0; _i23 < _list21.size; ++_i23) { - _elem6 = new FieldSchema(); - _elem6.read(iprot); - struct.fields.add(_elem6); + _elem22 = new FieldSchema(); + _elem22.read(iprot); + struct.fields.add(_elem22); } } struct.setFieldsIsSet(true); diff --git a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index 05a0749..ff9b035 100644 --- a/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -10412,14 +10412,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size525 = 0; - $_etype528 = 0; - $xfer += $input->readListBegin($_etype528, $_size525); - for ($_i529 = 0; $_i529 < $_size525; ++$_i529) + $_size553 = 0; + $_etype556 = 0; + $xfer += $input->readListBegin($_etype556, $_size553); + for ($_i557 = 0; $_i557 < $_size553; ++$_i557) { - $elem530 = null; - $xfer += $input->readString($elem530); - $this->success []= $elem530; + $elem558 = null; + $xfer += $input->readString($elem558); + $this->success []= $elem558; } $xfer += $input->readListEnd(); } else { @@ -10455,9 +10455,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter531) + foreach ($this->success as $iter559) { - $xfer += $output->writeString($iter531); + $xfer += $output->writeString($iter559); } } $output->writeListEnd(); @@ -10588,14 +10588,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size532 = 0; - $_etype535 = 0; - $xfer += $input->readListBegin($_etype535, $_size532); - for ($_i536 = 0; $_i536 < $_size532; ++$_i536) + $_size560 = 0; + $_etype563 = 0; + $xfer += $input->readListBegin($_etype563, $_size560); + for ($_i564 = 0; $_i564 < $_size560; ++$_i564) { - $elem537 = null; - $xfer += $input->readString($elem537); - $this->success []= $elem537; + $elem565 = null; + $xfer += $input->readString($elem565); + $this->success []= $elem565; } $xfer += $input->readListEnd(); } else { @@ -10631,9 +10631,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter538) + foreach ($this->success as $iter566) { - $xfer += $output->writeString($iter538); + $xfer += $output->writeString($iter566); } } $output->writeListEnd(); @@ -11634,18 +11634,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size539 = 0; - $_ktype540 = 0; - $_vtype541 = 0; - $xfer += $input->readMapBegin($_ktype540, $_vtype541, $_size539); - for ($_i543 = 0; $_i543 < $_size539; ++$_i543) + $_size567 = 0; + $_ktype568 = 0; + $_vtype569 = 0; + $xfer += $input->readMapBegin($_ktype568, $_vtype569, $_size567); + for ($_i571 = 0; $_i571 < $_size567; ++$_i571) { - $key544 = ''; - $val545 = new \metastore\Type(); - $xfer += $input->readString($key544); - $val545 = new \metastore\Type(); - $xfer += $val545->read($input); - $this->success[$key544] = $val545; + $key572 = ''; + $val573 = new \metastore\Type(); + $xfer += $input->readString($key572); + $val573 = new \metastore\Type(); + $xfer += $val573->read($input); + $this->success[$key572] = $val573; } $xfer += $input->readMapEnd(); } else { @@ -11681,10 +11681,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter546 => $viter547) + foreach ($this->success as $kiter574 => $viter575) { - $xfer += $output->writeString($kiter546); - $xfer += $viter547->write($output); + $xfer += $output->writeString($kiter574); + $xfer += $viter575->write($output); } } $output->writeMapEnd(); @@ -11888,15 +11888,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size548 = 0; - $_etype551 = 0; - $xfer += $input->readListBegin($_etype551, $_size548); - for ($_i552 = 0; $_i552 < $_size548; ++$_i552) + $_size576 = 0; + $_etype579 = 0; + $xfer += $input->readListBegin($_etype579, $_size576); + for ($_i580 = 0; $_i580 < $_size576; ++$_i580) { - $elem553 = null; - $elem553 = new \metastore\FieldSchema(); - $xfer += $elem553->read($input); - $this->success []= $elem553; + $elem581 = null; + $elem581 = new \metastore\FieldSchema(); + $xfer += $elem581->read($input); + $this->success []= $elem581; } $xfer += $input->readListEnd(); } else { @@ -11948,9 +11948,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter554) + foreach ($this->success as $iter582) { - $xfer += $iter554->write($output); + $xfer += $iter582->write($output); } } $output->writeListEnd(); @@ -12192,15 +12192,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size555 = 0; - $_etype558 = 0; - $xfer += $input->readListBegin($_etype558, $_size555); - for ($_i559 = 0; $_i559 < $_size555; ++$_i559) + $_size583 = 0; + $_etype586 = 0; + $xfer += $input->readListBegin($_etype586, $_size583); + for ($_i587 = 0; $_i587 < $_size583; ++$_i587) { - $elem560 = null; - $elem560 = new \metastore\FieldSchema(); - $xfer += $elem560->read($input); - $this->success []= $elem560; + $elem588 = null; + $elem588 = new \metastore\FieldSchema(); + $xfer += $elem588->read($input); + $this->success []= $elem588; } $xfer += $input->readListEnd(); } else { @@ -12252,9 +12252,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter561) + foreach ($this->success as $iter589) { - $xfer += $iter561->write($output); + $xfer += $iter589->write($output); } } $output->writeListEnd(); @@ -12468,15 +12468,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size562 = 0; - $_etype565 = 0; - $xfer += $input->readListBegin($_etype565, $_size562); - for ($_i566 = 0; $_i566 < $_size562; ++$_i566) + $_size590 = 0; + $_etype593 = 0; + $xfer += $input->readListBegin($_etype593, $_size590); + for ($_i594 = 0; $_i594 < $_size590; ++$_i594) { - $elem567 = null; - $elem567 = new \metastore\FieldSchema(); - $xfer += $elem567->read($input); - $this->success []= $elem567; + $elem595 = null; + $elem595 = new \metastore\FieldSchema(); + $xfer += $elem595->read($input); + $this->success []= $elem595; } $xfer += $input->readListEnd(); } else { @@ -12528,9 +12528,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter568) + foreach ($this->success as $iter596) { - $xfer += $iter568->write($output); + $xfer += $iter596->write($output); } } $output->writeListEnd(); @@ -12772,15 +12772,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size569 = 0; - $_etype572 = 0; - $xfer += $input->readListBegin($_etype572, $_size569); - for ($_i573 = 0; $_i573 < $_size569; ++$_i573) + $_size597 = 0; + $_etype600 = 0; + $xfer += $input->readListBegin($_etype600, $_size597); + for ($_i601 = 0; $_i601 < $_size597; ++$_i601) { - $elem574 = null; - $elem574 = new \metastore\FieldSchema(); - $xfer += $elem574->read($input); - $this->success []= $elem574; + $elem602 = null; + $elem602 = new \metastore\FieldSchema(); + $xfer += $elem602->read($input); + $this->success []= $elem602; } $xfer += $input->readListEnd(); } else { @@ -12832,9 +12832,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter575) + foreach ($this->success as $iter603) { - $xfer += $iter575->write($output); + $xfer += $iter603->write($output); } } $output->writeListEnd(); @@ -13989,14 +13989,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size576 = 0; - $_etype579 = 0; - $xfer += $input->readListBegin($_etype579, $_size576); - for ($_i580 = 0; $_i580 < $_size576; ++$_i580) + $_size604 = 0; + $_etype607 = 0; + $xfer += $input->readListBegin($_etype607, $_size604); + for ($_i608 = 0; $_i608 < $_size604; ++$_i608) { - $elem581 = null; - $xfer += $input->readString($elem581); - $this->success []= $elem581; + $elem609 = null; + $xfer += $input->readString($elem609); + $this->success []= $elem609; } $xfer += $input->readListEnd(); } else { @@ -14032,9 +14032,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter582) + foreach ($this->success as $iter610) { - $xfer += $output->writeString($iter582); + $xfer += $output->writeString($iter610); } } $output->writeListEnd(); @@ -14139,14 +14139,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size583 = 0; - $_etype586 = 0; - $xfer += $input->readListBegin($_etype586, $_size583); - for ($_i587 = 0; $_i587 < $_size583; ++$_i587) + $_size611 = 0; + $_etype614 = 0; + $xfer += $input->readListBegin($_etype614, $_size611); + for ($_i615 = 0; $_i615 < $_size611; ++$_i615) { - $elem588 = null; - $xfer += $input->readString($elem588); - $this->tbl_types []= $elem588; + $elem616 = null; + $xfer += $input->readString($elem616); + $this->tbl_types []= $elem616; } $xfer += $input->readListEnd(); } else { @@ -14184,9 +14184,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter589) + foreach ($this->tbl_types as $iter617) { - $xfer += $output->writeString($iter589); + $xfer += $output->writeString($iter617); } } $output->writeListEnd(); @@ -14263,15 +14263,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size590 = 0; - $_etype593 = 0; - $xfer += $input->readListBegin($_etype593, $_size590); - for ($_i594 = 0; $_i594 < $_size590; ++$_i594) + $_size618 = 0; + $_etype621 = 0; + $xfer += $input->readListBegin($_etype621, $_size618); + for ($_i622 = 0; $_i622 < $_size618; ++$_i622) { - $elem595 = null; - $elem595 = new \metastore\TableMeta(); - $xfer += $elem595->read($input); - $this->success []= $elem595; + $elem623 = null; + $elem623 = new \metastore\TableMeta(); + $xfer += $elem623->read($input); + $this->success []= $elem623; } $xfer += $input->readListEnd(); } else { @@ -14307,9 +14307,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter596) + foreach ($this->success as $iter624) { - $xfer += $iter596->write($output); + $xfer += $iter624->write($output); } } $output->writeListEnd(); @@ -14465,14 +14465,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size597 = 0; - $_etype600 = 0; - $xfer += $input->readListBegin($_etype600, $_size597); - for ($_i601 = 0; $_i601 < $_size597; ++$_i601) + $_size625 = 0; + $_etype628 = 0; + $xfer += $input->readListBegin($_etype628, $_size625); + for ($_i629 = 0; $_i629 < $_size625; ++$_i629) { - $elem602 = null; - $xfer += $input->readString($elem602); - $this->success []= $elem602; + $elem630 = null; + $xfer += $input->readString($elem630); + $this->success []= $elem630; } $xfer += $input->readListEnd(); } else { @@ -14508,9 +14508,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter603) + foreach ($this->success as $iter631) { - $xfer += $output->writeString($iter603); + $xfer += $output->writeString($iter631); } } $output->writeListEnd(); @@ -14825,14 +14825,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size604 = 0; - $_etype607 = 0; - $xfer += $input->readListBegin($_etype607, $_size604); - for ($_i608 = 0; $_i608 < $_size604; ++$_i608) + $_size632 = 0; + $_etype635 = 0; + $xfer += $input->readListBegin($_etype635, $_size632); + for ($_i636 = 0; $_i636 < $_size632; ++$_i636) { - $elem609 = null; - $xfer += $input->readString($elem609); - $this->tbl_names []= $elem609; + $elem637 = null; + $xfer += $input->readString($elem637); + $this->tbl_names []= $elem637; } $xfer += $input->readListEnd(); } else { @@ -14865,9 +14865,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter610) + foreach ($this->tbl_names as $iter638) { - $xfer += $output->writeString($iter610); + $xfer += $output->writeString($iter638); } } $output->writeListEnd(); @@ -14968,15 +14968,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size611 = 0; - $_etype614 = 0; - $xfer += $input->readListBegin($_etype614, $_size611); - for ($_i615 = 0; $_i615 < $_size611; ++$_i615) + $_size639 = 0; + $_etype642 = 0; + $xfer += $input->readListBegin($_etype642, $_size639); + for ($_i643 = 0; $_i643 < $_size639; ++$_i643) { - $elem616 = null; - $elem616 = new \metastore\Table(); - $xfer += $elem616->read($input); - $this->success []= $elem616; + $elem644 = null; + $elem644 = new \metastore\Table(); + $xfer += $elem644->read($input); + $this->success []= $elem644; } $xfer += $input->readListEnd(); } else { @@ -15028,9 +15028,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter617) + foreach ($this->success as $iter645) { - $xfer += $iter617->write($output); + $xfer += $iter645->write($output); } } $output->writeListEnd(); @@ -15266,14 +15266,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size618 = 0; - $_etype621 = 0; - $xfer += $input->readListBegin($_etype621, $_size618); - for ($_i622 = 0; $_i622 < $_size618; ++$_i622) + $_size646 = 0; + $_etype649 = 0; + $xfer += $input->readListBegin($_etype649, $_size646); + for ($_i650 = 0; $_i650 < $_size646; ++$_i650) { - $elem623 = null; - $xfer += $input->readString($elem623); - $this->success []= $elem623; + $elem651 = null; + $xfer += $input->readString($elem651); + $this->success []= $elem651; } $xfer += $input->readListEnd(); } else { @@ -15325,9 +15325,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter624) + foreach ($this->success as $iter652) { - $xfer += $output->writeString($iter624); + $xfer += $output->writeString($iter652); } } $output->writeListEnd(); @@ -16640,15 +16640,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size625 = 0; - $_etype628 = 0; - $xfer += $input->readListBegin($_etype628, $_size625); - for ($_i629 = 0; $_i629 < $_size625; ++$_i629) + $_size653 = 0; + $_etype656 = 0; + $xfer += $input->readListBegin($_etype656, $_size653); + for ($_i657 = 0; $_i657 < $_size653; ++$_i657) { - $elem630 = null; - $elem630 = new \metastore\Partition(); - $xfer += $elem630->read($input); - $this->new_parts []= $elem630; + $elem658 = null; + $elem658 = new \metastore\Partition(); + $xfer += $elem658->read($input); + $this->new_parts []= $elem658; } $xfer += $input->readListEnd(); } else { @@ -16676,9 +16676,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter631) + foreach ($this->new_parts as $iter659) { - $xfer += $iter631->write($output); + $xfer += $iter659->write($output); } } $output->writeListEnd(); @@ -16893,15 +16893,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size632 = 0; - $_etype635 = 0; - $xfer += $input->readListBegin($_etype635, $_size632); - for ($_i636 = 0; $_i636 < $_size632; ++$_i636) + $_size660 = 0; + $_etype663 = 0; + $xfer += $input->readListBegin($_etype663, $_size660); + for ($_i664 = 0; $_i664 < $_size660; ++$_i664) { - $elem637 = null; - $elem637 = new \metastore\PartitionSpec(); - $xfer += $elem637->read($input); - $this->new_parts []= $elem637; + $elem665 = null; + $elem665 = new \metastore\PartitionSpec(); + $xfer += $elem665->read($input); + $this->new_parts []= $elem665; } $xfer += $input->readListEnd(); } else { @@ -16929,9 +16929,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter638) + foreach ($this->new_parts as $iter666) { - $xfer += $iter638->write($output); + $xfer += $iter666->write($output); } } $output->writeListEnd(); @@ -17181,14 +17181,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size639 = 0; - $_etype642 = 0; - $xfer += $input->readListBegin($_etype642, $_size639); - for ($_i643 = 0; $_i643 < $_size639; ++$_i643) + $_size667 = 0; + $_etype670 = 0; + $xfer += $input->readListBegin($_etype670, $_size667); + for ($_i671 = 0; $_i671 < $_size667; ++$_i671) { - $elem644 = null; - $xfer += $input->readString($elem644); - $this->part_vals []= $elem644; + $elem672 = null; + $xfer += $input->readString($elem672); + $this->part_vals []= $elem672; } $xfer += $input->readListEnd(); } else { @@ -17226,9 +17226,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter645) + foreach ($this->part_vals as $iter673) { - $xfer += $output->writeString($iter645); + $xfer += $output->writeString($iter673); } } $output->writeListEnd(); @@ -17730,14 +17730,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size646 = 0; - $_etype649 = 0; - $xfer += $input->readListBegin($_etype649, $_size646); - for ($_i650 = 0; $_i650 < $_size646; ++$_i650) + $_size674 = 0; + $_etype677 = 0; + $xfer += $input->readListBegin($_etype677, $_size674); + for ($_i678 = 0; $_i678 < $_size674; ++$_i678) { - $elem651 = null; - $xfer += $input->readString($elem651); - $this->part_vals []= $elem651; + $elem679 = null; + $xfer += $input->readString($elem679); + $this->part_vals []= $elem679; } $xfer += $input->readListEnd(); } else { @@ -17783,9 +17783,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter652) + foreach ($this->part_vals as $iter680) { - $xfer += $output->writeString($iter652); + $xfer += $output->writeString($iter680); } } $output->writeListEnd(); @@ -18639,14 +18639,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size653 = 0; - $_etype656 = 0; - $xfer += $input->readListBegin($_etype656, $_size653); - for ($_i657 = 0; $_i657 < $_size653; ++$_i657) + $_size681 = 0; + $_etype684 = 0; + $xfer += $input->readListBegin($_etype684, $_size681); + for ($_i685 = 0; $_i685 < $_size681; ++$_i685) { - $elem658 = null; - $xfer += $input->readString($elem658); - $this->part_vals []= $elem658; + $elem686 = null; + $xfer += $input->readString($elem686); + $this->part_vals []= $elem686; } $xfer += $input->readListEnd(); } else { @@ -18691,9 +18691,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter659) + foreach ($this->part_vals as $iter687) { - $xfer += $output->writeString($iter659); + $xfer += $output->writeString($iter687); } } $output->writeListEnd(); @@ -18946,14 +18946,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size660 = 0; - $_etype663 = 0; - $xfer += $input->readListBegin($_etype663, $_size660); - for ($_i664 = 0; $_i664 < $_size660; ++$_i664) + $_size688 = 0; + $_etype691 = 0; + $xfer += $input->readListBegin($_etype691, $_size688); + for ($_i692 = 0; $_i692 < $_size688; ++$_i692) { - $elem665 = null; - $xfer += $input->readString($elem665); - $this->part_vals []= $elem665; + $elem693 = null; + $xfer += $input->readString($elem693); + $this->part_vals []= $elem693; } $xfer += $input->readListEnd(); } else { @@ -19006,9 +19006,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter666) + foreach ($this->part_vals as $iter694) { - $xfer += $output->writeString($iter666); + $xfer += $output->writeString($iter694); } } $output->writeListEnd(); @@ -20022,14 +20022,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size667 = 0; - $_etype670 = 0; - $xfer += $input->readListBegin($_etype670, $_size667); - for ($_i671 = 0; $_i671 < $_size667; ++$_i671) + $_size695 = 0; + $_etype698 = 0; + $xfer += $input->readListBegin($_etype698, $_size695); + for ($_i699 = 0; $_i699 < $_size695; ++$_i699) { - $elem672 = null; - $xfer += $input->readString($elem672); - $this->part_vals []= $elem672; + $elem700 = null; + $xfer += $input->readString($elem700); + $this->part_vals []= $elem700; } $xfer += $input->readListEnd(); } else { @@ -20067,9 +20067,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter673) + foreach ($this->part_vals as $iter701) { - $xfer += $output->writeString($iter673); + $xfer += $output->writeString($iter701); } } $output->writeListEnd(); @@ -20311,17 +20311,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size674 = 0; - $_ktype675 = 0; - $_vtype676 = 0; - $xfer += $input->readMapBegin($_ktype675, $_vtype676, $_size674); - for ($_i678 = 0; $_i678 < $_size674; ++$_i678) + $_size702 = 0; + $_ktype703 = 0; + $_vtype704 = 0; + $xfer += $input->readMapBegin($_ktype703, $_vtype704, $_size702); + for ($_i706 = 0; $_i706 < $_size702; ++$_i706) { - $key679 = ''; - $val680 = ''; - $xfer += $input->readString($key679); - $xfer += $input->readString($val680); - $this->partitionSpecs[$key679] = $val680; + $key707 = ''; + $val708 = ''; + $xfer += $input->readString($key707); + $xfer += $input->readString($val708); + $this->partitionSpecs[$key707] = $val708; } $xfer += $input->readMapEnd(); } else { @@ -20377,10 +20377,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter681 => $viter682) + foreach ($this->partitionSpecs as $kiter709 => $viter710) { - $xfer += $output->writeString($kiter681); - $xfer += $output->writeString($viter682); + $xfer += $output->writeString($kiter709); + $xfer += $output->writeString($viter710); } } $output->writeMapEnd(); @@ -20692,17 +20692,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size683 = 0; - $_ktype684 = 0; - $_vtype685 = 0; - $xfer += $input->readMapBegin($_ktype684, $_vtype685, $_size683); - for ($_i687 = 0; $_i687 < $_size683; ++$_i687) + $_size711 = 0; + $_ktype712 = 0; + $_vtype713 = 0; + $xfer += $input->readMapBegin($_ktype712, $_vtype713, $_size711); + for ($_i715 = 0; $_i715 < $_size711; ++$_i715) { - $key688 = ''; - $val689 = ''; - $xfer += $input->readString($key688); - $xfer += $input->readString($val689); - $this->partitionSpecs[$key688] = $val689; + $key716 = ''; + $val717 = ''; + $xfer += $input->readString($key716); + $xfer += $input->readString($val717); + $this->partitionSpecs[$key716] = $val717; } $xfer += $input->readMapEnd(); } else { @@ -20758,10 +20758,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter690 => $viter691) + foreach ($this->partitionSpecs as $kiter718 => $viter719) { - $xfer += $output->writeString($kiter690); - $xfer += $output->writeString($viter691); + $xfer += $output->writeString($kiter718); + $xfer += $output->writeString($viter719); } } $output->writeMapEnd(); @@ -20894,15 +20894,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size692 = 0; - $_etype695 = 0; - $xfer += $input->readListBegin($_etype695, $_size692); - for ($_i696 = 0; $_i696 < $_size692; ++$_i696) + $_size720 = 0; + $_etype723 = 0; + $xfer += $input->readListBegin($_etype723, $_size720); + for ($_i724 = 0; $_i724 < $_size720; ++$_i724) { - $elem697 = null; - $elem697 = new \metastore\Partition(); - $xfer += $elem697->read($input); - $this->success []= $elem697; + $elem725 = null; + $elem725 = new \metastore\Partition(); + $xfer += $elem725->read($input); + $this->success []= $elem725; } $xfer += $input->readListEnd(); } else { @@ -20962,9 +20962,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter698) + foreach ($this->success as $iter726) { - $xfer += $iter698->write($output); + $xfer += $iter726->write($output); } } $output->writeListEnd(); @@ -21110,14 +21110,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size699 = 0; - $_etype702 = 0; - $xfer += $input->readListBegin($_etype702, $_size699); - for ($_i703 = 0; $_i703 < $_size699; ++$_i703) + $_size727 = 0; + $_etype730 = 0; + $xfer += $input->readListBegin($_etype730, $_size727); + for ($_i731 = 0; $_i731 < $_size727; ++$_i731) { - $elem704 = null; - $xfer += $input->readString($elem704); - $this->part_vals []= $elem704; + $elem732 = null; + $xfer += $input->readString($elem732); + $this->part_vals []= $elem732; } $xfer += $input->readListEnd(); } else { @@ -21134,14 +21134,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size705 = 0; - $_etype708 = 0; - $xfer += $input->readListBegin($_etype708, $_size705); - for ($_i709 = 0; $_i709 < $_size705; ++$_i709) + $_size733 = 0; + $_etype736 = 0; + $xfer += $input->readListBegin($_etype736, $_size733); + for ($_i737 = 0; $_i737 < $_size733; ++$_i737) { - $elem710 = null; - $xfer += $input->readString($elem710); - $this->group_names []= $elem710; + $elem738 = null; + $xfer += $input->readString($elem738); + $this->group_names []= $elem738; } $xfer += $input->readListEnd(); } else { @@ -21179,9 +21179,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter711) + foreach ($this->part_vals as $iter739) { - $xfer += $output->writeString($iter711); + $xfer += $output->writeString($iter739); } } $output->writeListEnd(); @@ -21201,9 +21201,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter712) + foreach ($this->group_names as $iter740) { - $xfer += $output->writeString($iter712); + $xfer += $output->writeString($iter740); } } $output->writeListEnd(); @@ -21794,15 +21794,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size713 = 0; - $_etype716 = 0; - $xfer += $input->readListBegin($_etype716, $_size713); - for ($_i717 = 0; $_i717 < $_size713; ++$_i717) + $_size741 = 0; + $_etype744 = 0; + $xfer += $input->readListBegin($_etype744, $_size741); + for ($_i745 = 0; $_i745 < $_size741; ++$_i745) { - $elem718 = null; - $elem718 = new \metastore\Partition(); - $xfer += $elem718->read($input); - $this->success []= $elem718; + $elem746 = null; + $elem746 = new \metastore\Partition(); + $xfer += $elem746->read($input); + $this->success []= $elem746; } $xfer += $input->readListEnd(); } else { @@ -21846,9 +21846,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter719) + foreach ($this->success as $iter747) { - $xfer += $iter719->write($output); + $xfer += $iter747->write($output); } } $output->writeListEnd(); @@ -21994,14 +21994,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size720 = 0; - $_etype723 = 0; - $xfer += $input->readListBegin($_etype723, $_size720); - for ($_i724 = 0; $_i724 < $_size720; ++$_i724) + $_size748 = 0; + $_etype751 = 0; + $xfer += $input->readListBegin($_etype751, $_size748); + for ($_i752 = 0; $_i752 < $_size748; ++$_i752) { - $elem725 = null; - $xfer += $input->readString($elem725); - $this->group_names []= $elem725; + $elem753 = null; + $xfer += $input->readString($elem753); + $this->group_names []= $elem753; } $xfer += $input->readListEnd(); } else { @@ -22049,9 +22049,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter726) + foreach ($this->group_names as $iter754) { - $xfer += $output->writeString($iter726); + $xfer += $output->writeString($iter754); } } $output->writeListEnd(); @@ -22140,15 +22140,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size727 = 0; - $_etype730 = 0; - $xfer += $input->readListBegin($_etype730, $_size727); - for ($_i731 = 0; $_i731 < $_size727; ++$_i731) + $_size755 = 0; + $_etype758 = 0; + $xfer += $input->readListBegin($_etype758, $_size755); + for ($_i759 = 0; $_i759 < $_size755; ++$_i759) { - $elem732 = null; - $elem732 = new \metastore\Partition(); - $xfer += $elem732->read($input); - $this->success []= $elem732; + $elem760 = null; + $elem760 = new \metastore\Partition(); + $xfer += $elem760->read($input); + $this->success []= $elem760; } $xfer += $input->readListEnd(); } else { @@ -22192,9 +22192,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter733) + foreach ($this->success as $iter761) { - $xfer += $iter733->write($output); + $xfer += $iter761->write($output); } } $output->writeListEnd(); @@ -22414,15 +22414,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size734 = 0; - $_etype737 = 0; - $xfer += $input->readListBegin($_etype737, $_size734); - for ($_i738 = 0; $_i738 < $_size734; ++$_i738) + $_size762 = 0; + $_etype765 = 0; + $xfer += $input->readListBegin($_etype765, $_size762); + for ($_i766 = 0; $_i766 < $_size762; ++$_i766) { - $elem739 = null; - $elem739 = new \metastore\PartitionSpec(); - $xfer += $elem739->read($input); - $this->success []= $elem739; + $elem767 = null; + $elem767 = new \metastore\PartitionSpec(); + $xfer += $elem767->read($input); + $this->success []= $elem767; } $xfer += $input->readListEnd(); } else { @@ -22466,9 +22466,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter740) + foreach ($this->success as $iter768) { - $xfer += $iter740->write($output); + $xfer += $iter768->write($output); } } $output->writeListEnd(); @@ -22675,14 +22675,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size741 = 0; - $_etype744 = 0; - $xfer += $input->readListBegin($_etype744, $_size741); - for ($_i745 = 0; $_i745 < $_size741; ++$_i745) + $_size769 = 0; + $_etype772 = 0; + $xfer += $input->readListBegin($_etype772, $_size769); + for ($_i773 = 0; $_i773 < $_size769; ++$_i773) { - $elem746 = null; - $xfer += $input->readString($elem746); - $this->success []= $elem746; + $elem774 = null; + $xfer += $input->readString($elem774); + $this->success []= $elem774; } $xfer += $input->readListEnd(); } else { @@ -22718,9 +22718,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter747) + foreach ($this->success as $iter775) { - $xfer += $output->writeString($iter747); + $xfer += $output->writeString($iter775); } } $output->writeListEnd(); @@ -22836,14 +22836,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size748 = 0; - $_etype751 = 0; - $xfer += $input->readListBegin($_etype751, $_size748); - for ($_i752 = 0; $_i752 < $_size748; ++$_i752) + $_size776 = 0; + $_etype779 = 0; + $xfer += $input->readListBegin($_etype779, $_size776); + for ($_i780 = 0; $_i780 < $_size776; ++$_i780) { - $elem753 = null; - $xfer += $input->readString($elem753); - $this->part_vals []= $elem753; + $elem781 = null; + $xfer += $input->readString($elem781); + $this->part_vals []= $elem781; } $xfer += $input->readListEnd(); } else { @@ -22888,9 +22888,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter754) + foreach ($this->part_vals as $iter782) { - $xfer += $output->writeString($iter754); + $xfer += $output->writeString($iter782); } } $output->writeListEnd(); @@ -22984,15 +22984,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size755 = 0; - $_etype758 = 0; - $xfer += $input->readListBegin($_etype758, $_size755); - for ($_i759 = 0; $_i759 < $_size755; ++$_i759) + $_size783 = 0; + $_etype786 = 0; + $xfer += $input->readListBegin($_etype786, $_size783); + for ($_i787 = 0; $_i787 < $_size783; ++$_i787) { - $elem760 = null; - $elem760 = new \metastore\Partition(); - $xfer += $elem760->read($input); - $this->success []= $elem760; + $elem788 = null; + $elem788 = new \metastore\Partition(); + $xfer += $elem788->read($input); + $this->success []= $elem788; } $xfer += $input->readListEnd(); } else { @@ -23036,9 +23036,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter761) + foreach ($this->success as $iter789) { - $xfer += $iter761->write($output); + $xfer += $iter789->write($output); } } $output->writeListEnd(); @@ -23185,14 +23185,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size762 = 0; - $_etype765 = 0; - $xfer += $input->readListBegin($_etype765, $_size762); - for ($_i766 = 0; $_i766 < $_size762; ++$_i766) + $_size790 = 0; + $_etype793 = 0; + $xfer += $input->readListBegin($_etype793, $_size790); + for ($_i794 = 0; $_i794 < $_size790; ++$_i794) { - $elem767 = null; - $xfer += $input->readString($elem767); - $this->part_vals []= $elem767; + $elem795 = null; + $xfer += $input->readString($elem795); + $this->part_vals []= $elem795; } $xfer += $input->readListEnd(); } else { @@ -23216,14 +23216,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size768 = 0; - $_etype771 = 0; - $xfer += $input->readListBegin($_etype771, $_size768); - for ($_i772 = 0; $_i772 < $_size768; ++$_i772) + $_size796 = 0; + $_etype799 = 0; + $xfer += $input->readListBegin($_etype799, $_size796); + for ($_i800 = 0; $_i800 < $_size796; ++$_i800) { - $elem773 = null; - $xfer += $input->readString($elem773); - $this->group_names []= $elem773; + $elem801 = null; + $xfer += $input->readString($elem801); + $this->group_names []= $elem801; } $xfer += $input->readListEnd(); } else { @@ -23261,9 +23261,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter774) + foreach ($this->part_vals as $iter802) { - $xfer += $output->writeString($iter774); + $xfer += $output->writeString($iter802); } } $output->writeListEnd(); @@ -23288,9 +23288,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter775) + foreach ($this->group_names as $iter803) { - $xfer += $output->writeString($iter775); + $xfer += $output->writeString($iter803); } } $output->writeListEnd(); @@ -23379,15 +23379,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size776 = 0; - $_etype779 = 0; - $xfer += $input->readListBegin($_etype779, $_size776); - for ($_i780 = 0; $_i780 < $_size776; ++$_i780) + $_size804 = 0; + $_etype807 = 0; + $xfer += $input->readListBegin($_etype807, $_size804); + for ($_i808 = 0; $_i808 < $_size804; ++$_i808) { - $elem781 = null; - $elem781 = new \metastore\Partition(); - $xfer += $elem781->read($input); - $this->success []= $elem781; + $elem809 = null; + $elem809 = new \metastore\Partition(); + $xfer += $elem809->read($input); + $this->success []= $elem809; } $xfer += $input->readListEnd(); } else { @@ -23431,9 +23431,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter782) + foreach ($this->success as $iter810) { - $xfer += $iter782->write($output); + $xfer += $iter810->write($output); } } $output->writeListEnd(); @@ -23554,14 +23554,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size783 = 0; - $_etype786 = 0; - $xfer += $input->readListBegin($_etype786, $_size783); - for ($_i787 = 0; $_i787 < $_size783; ++$_i787) + $_size811 = 0; + $_etype814 = 0; + $xfer += $input->readListBegin($_etype814, $_size811); + for ($_i815 = 0; $_i815 < $_size811; ++$_i815) { - $elem788 = null; - $xfer += $input->readString($elem788); - $this->part_vals []= $elem788; + $elem816 = null; + $xfer += $input->readString($elem816); + $this->part_vals []= $elem816; } $xfer += $input->readListEnd(); } else { @@ -23606,9 +23606,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter789) + foreach ($this->part_vals as $iter817) { - $xfer += $output->writeString($iter789); + $xfer += $output->writeString($iter817); } } $output->writeListEnd(); @@ -23701,14 +23701,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size790 = 0; - $_etype793 = 0; - $xfer += $input->readListBegin($_etype793, $_size790); - for ($_i794 = 0; $_i794 < $_size790; ++$_i794) + $_size818 = 0; + $_etype821 = 0; + $xfer += $input->readListBegin($_etype821, $_size818); + for ($_i822 = 0; $_i822 < $_size818; ++$_i822) { - $elem795 = null; - $xfer += $input->readString($elem795); - $this->success []= $elem795; + $elem823 = null; + $xfer += $input->readString($elem823); + $this->success []= $elem823; } $xfer += $input->readListEnd(); } else { @@ -23752,9 +23752,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter796) + foreach ($this->success as $iter824) { - $xfer += $output->writeString($iter796); + $xfer += $output->writeString($iter824); } } $output->writeListEnd(); @@ -23997,15 +23997,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size797 = 0; - $_etype800 = 0; - $xfer += $input->readListBegin($_etype800, $_size797); - for ($_i801 = 0; $_i801 < $_size797; ++$_i801) + $_size825 = 0; + $_etype828 = 0; + $xfer += $input->readListBegin($_etype828, $_size825); + for ($_i829 = 0; $_i829 < $_size825; ++$_i829) { - $elem802 = null; - $elem802 = new \metastore\Partition(); - $xfer += $elem802->read($input); - $this->success []= $elem802; + $elem830 = null; + $elem830 = new \metastore\Partition(); + $xfer += $elem830->read($input); + $this->success []= $elem830; } $xfer += $input->readListEnd(); } else { @@ -24049,9 +24049,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter803) + foreach ($this->success as $iter831) { - $xfer += $iter803->write($output); + $xfer += $iter831->write($output); } } $output->writeListEnd(); @@ -24294,15 +24294,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size804 = 0; - $_etype807 = 0; - $xfer += $input->readListBegin($_etype807, $_size804); - for ($_i808 = 0; $_i808 < $_size804; ++$_i808) + $_size832 = 0; + $_etype835 = 0; + $xfer += $input->readListBegin($_etype835, $_size832); + for ($_i836 = 0; $_i836 < $_size832; ++$_i836) { - $elem809 = null; - $elem809 = new \metastore\PartitionSpec(); - $xfer += $elem809->read($input); - $this->success []= $elem809; + $elem837 = null; + $elem837 = new \metastore\PartitionSpec(); + $xfer += $elem837->read($input); + $this->success []= $elem837; } $xfer += $input->readListEnd(); } else { @@ -24346,9 +24346,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter810) + foreach ($this->success as $iter838) { - $xfer += $iter810->write($output); + $xfer += $iter838->write($output); } } $output->writeListEnd(); @@ -24914,14 +24914,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size811 = 0; - $_etype814 = 0; - $xfer += $input->readListBegin($_etype814, $_size811); - for ($_i815 = 0; $_i815 < $_size811; ++$_i815) + $_size839 = 0; + $_etype842 = 0; + $xfer += $input->readListBegin($_etype842, $_size839); + for ($_i843 = 0; $_i843 < $_size839; ++$_i843) { - $elem816 = null; - $xfer += $input->readString($elem816); - $this->names []= $elem816; + $elem844 = null; + $xfer += $input->readString($elem844); + $this->names []= $elem844; } $xfer += $input->readListEnd(); } else { @@ -24959,9 +24959,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter817) + foreach ($this->names as $iter845) { - $xfer += $output->writeString($iter817); + $xfer += $output->writeString($iter845); } } $output->writeListEnd(); @@ -25050,15 +25050,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size818 = 0; - $_etype821 = 0; - $xfer += $input->readListBegin($_etype821, $_size818); - for ($_i822 = 0; $_i822 < $_size818; ++$_i822) + $_size846 = 0; + $_etype849 = 0; + $xfer += $input->readListBegin($_etype849, $_size846); + for ($_i850 = 0; $_i850 < $_size846; ++$_i850) { - $elem823 = null; - $elem823 = new \metastore\Partition(); - $xfer += $elem823->read($input); - $this->success []= $elem823; + $elem851 = null; + $elem851 = new \metastore\Partition(); + $xfer += $elem851->read($input); + $this->success []= $elem851; } $xfer += $input->readListEnd(); } else { @@ -25102,9 +25102,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter824) + foreach ($this->success as $iter852) { - $xfer += $iter824->write($output); + $xfer += $iter852->write($output); } } $output->writeListEnd(); @@ -25443,15 +25443,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size825 = 0; - $_etype828 = 0; - $xfer += $input->readListBegin($_etype828, $_size825); - for ($_i829 = 0; $_i829 < $_size825; ++$_i829) + $_size853 = 0; + $_etype856 = 0; + $xfer += $input->readListBegin($_etype856, $_size853); + for ($_i857 = 0; $_i857 < $_size853; ++$_i857) { - $elem830 = null; - $elem830 = new \metastore\Partition(); - $xfer += $elem830->read($input); - $this->new_parts []= $elem830; + $elem858 = null; + $elem858 = new \metastore\Partition(); + $xfer += $elem858->read($input); + $this->new_parts []= $elem858; } $xfer += $input->readListEnd(); } else { @@ -25489,9 +25489,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter831) + foreach ($this->new_parts as $iter859) { - $xfer += $iter831->write($output); + $xfer += $iter859->write($output); } } $output->writeListEnd(); @@ -25706,15 +25706,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size832 = 0; - $_etype835 = 0; - $xfer += $input->readListBegin($_etype835, $_size832); - for ($_i836 = 0; $_i836 < $_size832; ++$_i836) + $_size860 = 0; + $_etype863 = 0; + $xfer += $input->readListBegin($_etype863, $_size860); + for ($_i864 = 0; $_i864 < $_size860; ++$_i864) { - $elem837 = null; - $elem837 = new \metastore\Partition(); - $xfer += $elem837->read($input); - $this->new_parts []= $elem837; + $elem865 = null; + $elem865 = new \metastore\Partition(); + $xfer += $elem865->read($input); + $this->new_parts []= $elem865; } $xfer += $input->readListEnd(); } else { @@ -25760,9 +25760,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter838) + foreach ($this->new_parts as $iter866) { - $xfer += $iter838->write($output); + $xfer += $iter866->write($output); } } $output->writeListEnd(); @@ -26240,14 +26240,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size839 = 0; - $_etype842 = 0; - $xfer += $input->readListBegin($_etype842, $_size839); - for ($_i843 = 0; $_i843 < $_size839; ++$_i843) + $_size867 = 0; + $_etype870 = 0; + $xfer += $input->readListBegin($_etype870, $_size867); + for ($_i871 = 0; $_i871 < $_size867; ++$_i871) { - $elem844 = null; - $xfer += $input->readString($elem844); - $this->part_vals []= $elem844; + $elem872 = null; + $xfer += $input->readString($elem872); + $this->part_vals []= $elem872; } $xfer += $input->readListEnd(); } else { @@ -26293,9 +26293,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter845) + foreach ($this->part_vals as $iter873) { - $xfer += $output->writeString($iter845); + $xfer += $output->writeString($iter873); } } $output->writeListEnd(); @@ -26480,14 +26480,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size846 = 0; - $_etype849 = 0; - $xfer += $input->readListBegin($_etype849, $_size846); - for ($_i850 = 0; $_i850 < $_size846; ++$_i850) + $_size874 = 0; + $_etype877 = 0; + $xfer += $input->readListBegin($_etype877, $_size874); + for ($_i878 = 0; $_i878 < $_size874; ++$_i878) { - $elem851 = null; - $xfer += $input->readString($elem851); - $this->part_vals []= $elem851; + $elem879 = null; + $xfer += $input->readString($elem879); + $this->part_vals []= $elem879; } $xfer += $input->readListEnd(); } else { @@ -26522,9 +26522,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter852) + foreach ($this->part_vals as $iter880) { - $xfer += $output->writeString($iter852); + $xfer += $output->writeString($iter880); } } $output->writeListEnd(); @@ -26978,14 +26978,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size853 = 0; - $_etype856 = 0; - $xfer += $input->readListBegin($_etype856, $_size853); - for ($_i857 = 0; $_i857 < $_size853; ++$_i857) + $_size881 = 0; + $_etype884 = 0; + $xfer += $input->readListBegin($_etype884, $_size881); + for ($_i885 = 0; $_i885 < $_size881; ++$_i885) { - $elem858 = null; - $xfer += $input->readString($elem858); - $this->success []= $elem858; + $elem886 = null; + $xfer += $input->readString($elem886); + $this->success []= $elem886; } $xfer += $input->readListEnd(); } else { @@ -27021,9 +27021,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter859) + foreach ($this->success as $iter887) { - $xfer += $output->writeString($iter859); + $xfer += $output->writeString($iter887); } } $output->writeListEnd(); @@ -27183,17 +27183,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size860 = 0; - $_ktype861 = 0; - $_vtype862 = 0; - $xfer += $input->readMapBegin($_ktype861, $_vtype862, $_size860); - for ($_i864 = 0; $_i864 < $_size860; ++$_i864) + $_size888 = 0; + $_ktype889 = 0; + $_vtype890 = 0; + $xfer += $input->readMapBegin($_ktype889, $_vtype890, $_size888); + for ($_i892 = 0; $_i892 < $_size888; ++$_i892) { - $key865 = ''; - $val866 = ''; - $xfer += $input->readString($key865); - $xfer += $input->readString($val866); - $this->success[$key865] = $val866; + $key893 = ''; + $val894 = ''; + $xfer += $input->readString($key893); + $xfer += $input->readString($val894); + $this->success[$key893] = $val894; } $xfer += $input->readMapEnd(); } else { @@ -27229,10 +27229,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter867 => $viter868) + foreach ($this->success as $kiter895 => $viter896) { - $xfer += $output->writeString($kiter867); - $xfer += $output->writeString($viter868); + $xfer += $output->writeString($kiter895); + $xfer += $output->writeString($viter896); } } $output->writeMapEnd(); @@ -27352,17 +27352,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size869 = 0; - $_ktype870 = 0; - $_vtype871 = 0; - $xfer += $input->readMapBegin($_ktype870, $_vtype871, $_size869); - for ($_i873 = 0; $_i873 < $_size869; ++$_i873) + $_size897 = 0; + $_ktype898 = 0; + $_vtype899 = 0; + $xfer += $input->readMapBegin($_ktype898, $_vtype899, $_size897); + for ($_i901 = 0; $_i901 < $_size897; ++$_i901) { - $key874 = ''; - $val875 = ''; - $xfer += $input->readString($key874); - $xfer += $input->readString($val875); - $this->part_vals[$key874] = $val875; + $key902 = ''; + $val903 = ''; + $xfer += $input->readString($key902); + $xfer += $input->readString($val903); + $this->part_vals[$key902] = $val903; } $xfer += $input->readMapEnd(); } else { @@ -27407,10 +27407,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter876 => $viter877) + foreach ($this->part_vals as $kiter904 => $viter905) { - $xfer += $output->writeString($kiter876); - $xfer += $output->writeString($viter877); + $xfer += $output->writeString($kiter904); + $xfer += $output->writeString($viter905); } } $output->writeMapEnd(); @@ -27732,17 +27732,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size878 = 0; - $_ktype879 = 0; - $_vtype880 = 0; - $xfer += $input->readMapBegin($_ktype879, $_vtype880, $_size878); - for ($_i882 = 0; $_i882 < $_size878; ++$_i882) + $_size906 = 0; + $_ktype907 = 0; + $_vtype908 = 0; + $xfer += $input->readMapBegin($_ktype907, $_vtype908, $_size906); + for ($_i910 = 0; $_i910 < $_size906; ++$_i910) { - $key883 = ''; - $val884 = ''; - $xfer += $input->readString($key883); - $xfer += $input->readString($val884); - $this->part_vals[$key883] = $val884; + $key911 = ''; + $val912 = ''; + $xfer += $input->readString($key911); + $xfer += $input->readString($val912); + $this->part_vals[$key911] = $val912; } $xfer += $input->readMapEnd(); } else { @@ -27787,10 +27787,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter885 => $viter886) + foreach ($this->part_vals as $kiter913 => $viter914) { - $xfer += $output->writeString($kiter885); - $xfer += $output->writeString($viter886); + $xfer += $output->writeString($kiter913); + $xfer += $output->writeString($viter914); } } $output->writeMapEnd(); @@ -29264,15 +29264,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size887 = 0; - $_etype890 = 0; - $xfer += $input->readListBegin($_etype890, $_size887); - for ($_i891 = 0; $_i891 < $_size887; ++$_i891) + $_size915 = 0; + $_etype918 = 0; + $xfer += $input->readListBegin($_etype918, $_size915); + for ($_i919 = 0; $_i919 < $_size915; ++$_i919) { - $elem892 = null; - $elem892 = new \metastore\Index(); - $xfer += $elem892->read($input); - $this->success []= $elem892; + $elem920 = null; + $elem920 = new \metastore\Index(); + $xfer += $elem920->read($input); + $this->success []= $elem920; } $xfer += $input->readListEnd(); } else { @@ -29316,9 +29316,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter893) + foreach ($this->success as $iter921) { - $xfer += $iter893->write($output); + $xfer += $iter921->write($output); } } $output->writeListEnd(); @@ -29525,14 +29525,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size894 = 0; - $_etype897 = 0; - $xfer += $input->readListBegin($_etype897, $_size894); - for ($_i898 = 0; $_i898 < $_size894; ++$_i898) + $_size922 = 0; + $_etype925 = 0; + $xfer += $input->readListBegin($_etype925, $_size922); + for ($_i926 = 0; $_i926 < $_size922; ++$_i926) { - $elem899 = null; - $xfer += $input->readString($elem899); - $this->success []= $elem899; + $elem927 = null; + $xfer += $input->readString($elem927); + $this->success []= $elem927; } $xfer += $input->readListEnd(); } else { @@ -29568,9 +29568,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter900) + foreach ($this->success as $iter928) { - $xfer += $output->writeString($iter900); + $xfer += $output->writeString($iter928); } } $output->writeListEnd(); @@ -33044,14 +33044,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size901 = 0; - $_etype904 = 0; - $xfer += $input->readListBegin($_etype904, $_size901); - for ($_i905 = 0; $_i905 < $_size901; ++$_i905) + $_size929 = 0; + $_etype932 = 0; + $xfer += $input->readListBegin($_etype932, $_size929); + for ($_i933 = 0; $_i933 < $_size929; ++$_i933) { - $elem906 = null; - $xfer += $input->readString($elem906); - $this->success []= $elem906; + $elem934 = null; + $xfer += $input->readString($elem934); + $this->success []= $elem934; } $xfer += $input->readListEnd(); } else { @@ -33087,9 +33087,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter907) + foreach ($this->success as $iter935) { - $xfer += $output->writeString($iter907); + $xfer += $output->writeString($iter935); } } $output->writeListEnd(); @@ -33958,14 +33958,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size908 = 0; - $_etype911 = 0; - $xfer += $input->readListBegin($_etype911, $_size908); - for ($_i912 = 0; $_i912 < $_size908; ++$_i912) + $_size936 = 0; + $_etype939 = 0; + $xfer += $input->readListBegin($_etype939, $_size936); + for ($_i940 = 0; $_i940 < $_size936; ++$_i940) { - $elem913 = null; - $xfer += $input->readString($elem913); - $this->success []= $elem913; + $elem941 = null; + $xfer += $input->readString($elem941); + $this->success []= $elem941; } $xfer += $input->readListEnd(); } else { @@ -34001,9 +34001,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter914) + foreach ($this->success as $iter942) { - $xfer += $output->writeString($iter914); + $xfer += $output->writeString($iter942); } } $output->writeListEnd(); @@ -34694,15 +34694,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size915 = 0; - $_etype918 = 0; - $xfer += $input->readListBegin($_etype918, $_size915); - for ($_i919 = 0; $_i919 < $_size915; ++$_i919) + $_size943 = 0; + $_etype946 = 0; + $xfer += $input->readListBegin($_etype946, $_size943); + for ($_i947 = 0; $_i947 < $_size943; ++$_i947) { - $elem920 = null; - $elem920 = new \metastore\Role(); - $xfer += $elem920->read($input); - $this->success []= $elem920; + $elem948 = null; + $elem948 = new \metastore\Role(); + $xfer += $elem948->read($input); + $this->success []= $elem948; } $xfer += $input->readListEnd(); } else { @@ -34738,9 +34738,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter921) + foreach ($this->success as $iter949) { - $xfer += $iter921->write($output); + $xfer += $iter949->write($output); } } $output->writeListEnd(); @@ -35402,14 +35402,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size922 = 0; - $_etype925 = 0; - $xfer += $input->readListBegin($_etype925, $_size922); - for ($_i926 = 0; $_i926 < $_size922; ++$_i926) + $_size950 = 0; + $_etype953 = 0; + $xfer += $input->readListBegin($_etype953, $_size950); + for ($_i954 = 0; $_i954 < $_size950; ++$_i954) { - $elem927 = null; - $xfer += $input->readString($elem927); - $this->group_names []= $elem927; + $elem955 = null; + $xfer += $input->readString($elem955); + $this->group_names []= $elem955; } $xfer += $input->readListEnd(); } else { @@ -35450,9 +35450,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter928) + foreach ($this->group_names as $iter956) { - $xfer += $output->writeString($iter928); + $xfer += $output->writeString($iter956); } } $output->writeListEnd(); @@ -35760,15 +35760,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size929 = 0; - $_etype932 = 0; - $xfer += $input->readListBegin($_etype932, $_size929); - for ($_i933 = 0; $_i933 < $_size929; ++$_i933) + $_size957 = 0; + $_etype960 = 0; + $xfer += $input->readListBegin($_etype960, $_size957); + for ($_i961 = 0; $_i961 < $_size957; ++$_i961) { - $elem934 = null; - $elem934 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem934->read($input); - $this->success []= $elem934; + $elem962 = null; + $elem962 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem962->read($input); + $this->success []= $elem962; } $xfer += $input->readListEnd(); } else { @@ -35804,9 +35804,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter935) + foreach ($this->success as $iter963) { - $xfer += $iter935->write($output); + $xfer += $iter963->write($output); } } $output->writeListEnd(); @@ -36438,14 +36438,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size936 = 0; - $_etype939 = 0; - $xfer += $input->readListBegin($_etype939, $_size936); - for ($_i940 = 0; $_i940 < $_size936; ++$_i940) + $_size964 = 0; + $_etype967 = 0; + $xfer += $input->readListBegin($_etype967, $_size964); + for ($_i968 = 0; $_i968 < $_size964; ++$_i968) { - $elem941 = null; - $xfer += $input->readString($elem941); - $this->group_names []= $elem941; + $elem969 = null; + $xfer += $input->readString($elem969); + $this->group_names []= $elem969; } $xfer += $input->readListEnd(); } else { @@ -36478,9 +36478,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter942) + foreach ($this->group_names as $iter970) { - $xfer += $output->writeString($iter942); + $xfer += $output->writeString($iter970); } } $output->writeListEnd(); @@ -36556,14 +36556,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size943 = 0; - $_etype946 = 0; - $xfer += $input->readListBegin($_etype946, $_size943); - for ($_i947 = 0; $_i947 < $_size943; ++$_i947) + $_size971 = 0; + $_etype974 = 0; + $xfer += $input->readListBegin($_etype974, $_size971); + for ($_i975 = 0; $_i975 < $_size971; ++$_i975) { - $elem948 = null; - $xfer += $input->readString($elem948); - $this->success []= $elem948; + $elem976 = null; + $xfer += $input->readString($elem976); + $this->success []= $elem976; } $xfer += $input->readListEnd(); } else { @@ -36599,9 +36599,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter949) + foreach ($this->success as $iter977) { - $xfer += $output->writeString($iter949); + $xfer += $output->writeString($iter977); } } $output->writeListEnd(); @@ -37718,14 +37718,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size950 = 0; - $_etype953 = 0; - $xfer += $input->readListBegin($_etype953, $_size950); - for ($_i954 = 0; $_i954 < $_size950; ++$_i954) + $_size978 = 0; + $_etype981 = 0; + $xfer += $input->readListBegin($_etype981, $_size978); + for ($_i982 = 0; $_i982 < $_size978; ++$_i982) { - $elem955 = null; - $xfer += $input->readString($elem955); - $this->success []= $elem955; + $elem983 = null; + $xfer += $input->readString($elem983); + $this->success []= $elem983; } $xfer += $input->readListEnd(); } else { @@ -37753,9 +37753,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter956) + foreach ($this->success as $iter984) { - $xfer += $output->writeString($iter956); + $xfer += $output->writeString($iter984); } } $output->writeListEnd(); @@ -38394,14 +38394,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size957 = 0; - $_etype960 = 0; - $xfer += $input->readListBegin($_etype960, $_size957); - for ($_i961 = 0; $_i961 < $_size957; ++$_i961) + $_size985 = 0; + $_etype988 = 0; + $xfer += $input->readListBegin($_etype988, $_size985); + for ($_i989 = 0; $_i989 < $_size985; ++$_i989) { - $elem962 = null; - $xfer += $input->readString($elem962); - $this->success []= $elem962; + $elem990 = null; + $xfer += $input->readString($elem990); + $this->success []= $elem990; } $xfer += $input->readListEnd(); } else { @@ -38429,9 +38429,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter963) + foreach ($this->success as $iter991) { - $xfer += $output->writeString($iter963); + $xfer += $output->writeString($iter991); } } $output->writeListEnd(); diff --git a/metastore/src/gen/thrift/gen-php/metastore/Types.php b/metastore/src/gen/thrift/gen-php/metastore/Types.php index 488a920..d4a7a86 100644 --- a/metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -369,6 +369,229 @@ class FieldSchema { } +class ForeignKeyRel { + static $_TSPEC; + + /** + * @var \metastore\FieldSchema[] + */ + public $foreignCols = null; + /** + * @var \metastore\FieldSchema[] + */ + public $parentCols = null; + /** + * @var string + */ + public $foreignKeyName = null; + /** + * @var string + */ + public $parentTableName = null; + /** + * @var string + */ + public $parentTableSchema = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'foreignCols', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\FieldSchema', + ), + ), + 2 => array( + 'var' => 'parentCols', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\FieldSchema', + ), + ), + 3 => array( + 'var' => 'foreignKeyName', + 'type' => TType::STRING, + ), + 4 => array( + 'var' => 'parentTableName', + 'type' => TType::STRING, + ), + 5 => array( + 'var' => 'parentTableSchema', + 'type' => TType::STRING, + ), + ); + } + if (is_array($vals)) { + if (isset($vals['foreignCols'])) { + $this->foreignCols = $vals['foreignCols']; + } + if (isset($vals['parentCols'])) { + $this->parentCols = $vals['parentCols']; + } + if (isset($vals['foreignKeyName'])) { + $this->foreignKeyName = $vals['foreignKeyName']; + } + if (isset($vals['parentTableName'])) { + $this->parentTableName = $vals['parentTableName']; + } + if (isset($vals['parentTableSchema'])) { + $this->parentTableSchema = $vals['parentTableSchema']; + } + } + } + + public function getName() { + return 'ForeignKeyRel'; + } + + public function read($input) + { + $xfer = 0; + $fname = null; + $ftype = 0; + $fid = 0; + $xfer += $input->readStructBegin($fname); + while (true) + { + $xfer += $input->readFieldBegin($fname, $ftype, $fid); + if ($ftype == TType::STOP) { + break; + } + switch ($fid) + { + case 1: + if ($ftype == TType::LST) { + $this->foreignCols = array(); + $_size0 = 0; + $_etype3 = 0; + $xfer += $input->readListBegin($_etype3, $_size0); + for ($_i4 = 0; $_i4 < $_size0; ++$_i4) + { + $elem5 = null; + $elem5 = new \metastore\FieldSchema(); + $xfer += $elem5->read($input); + $this->foreignCols []= $elem5; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::LST) { + $this->parentCols = array(); + $_size6 = 0; + $_etype9 = 0; + $xfer += $input->readListBegin($_etype9, $_size6); + for ($_i10 = 0; $_i10 < $_size6; ++$_i10) + { + $elem11 = null; + $elem11 = new \metastore\FieldSchema(); + $xfer += $elem11->read($input); + $this->parentCols []= $elem11; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->foreignKeyName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->parentTableName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 5: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->parentTableSchema); + } else { + $xfer += $input->skip($ftype); + } + break; + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ForeignKeyRel'); + if ($this->foreignCols !== null) { + if (!is_array($this->foreignCols)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('foreignCols', TType::LST, 1); + { + $output->writeListBegin(TType::STRUCT, count($this->foreignCols)); + { + foreach ($this->foreignCols as $iter12) + { + $xfer += $iter12->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->parentCols !== null) { + if (!is_array($this->parentCols)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('parentCols', TType::LST, 2); + { + $output->writeListBegin(TType::STRUCT, count($this->parentCols)); + { + foreach ($this->parentCols as $iter13) + { + $xfer += $iter13->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->foreignKeyName !== null) { + $xfer += $output->writeFieldBegin('foreignKeyName', TType::STRING, 3); + $xfer += $output->writeString($this->foreignKeyName); + $xfer += $output->writeFieldEnd(); + } + if ($this->parentTableName !== null) { + $xfer += $output->writeFieldBegin('parentTableName', TType::STRING, 4); + $xfer += $output->writeString($this->parentTableName); + $xfer += $output->writeFieldEnd(); + } + if ($this->parentTableSchema !== null) { + $xfer += $output->writeFieldBegin('parentTableSchema', TType::STRING, 5); + $xfer += $output->writeString($this->parentTableSchema); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class Type { static $_TSPEC; @@ -474,15 +697,15 @@ class Type { case 4: if ($ftype == TType::LST) { $this->fields = array(); - $_size0 = 0; - $_etype3 = 0; - $xfer += $input->readListBegin($_etype3, $_size0); - for ($_i4 = 0; $_i4 < $_size0; ++$_i4) + $_size14 = 0; + $_etype17 = 0; + $xfer += $input->readListBegin($_etype17, $_size14); + for ($_i18 = 0; $_i18 < $_size14; ++$_i18) { - $elem5 = null; - $elem5 = new \metastore\FieldSchema(); - $xfer += $elem5->read($input); - $this->fields []= $elem5; + $elem19 = null; + $elem19 = new \metastore\FieldSchema(); + $xfer += $elem19->read($input); + $this->fields []= $elem19; } $xfer += $input->readListEnd(); } else { @@ -525,9 +748,9 @@ class Type { { $output->writeListBegin(TType::STRUCT, count($this->fields)); { - foreach ($this->fields as $iter6) + foreach ($this->fields as $iter20) { - $xfer += $iter6->write($output); + $xfer += $iter20->write($output); } } $output->writeListEnd(); @@ -656,14 +879,14 @@ class HiveObjectRef { case 4: if ($ftype == TType::LST) { $this->partValues = array(); - $_size7 = 0; - $_etype10 = 0; - $xfer += $input->readListBegin($_etype10, $_size7); - for ($_i11 = 0; $_i11 < $_size7; ++$_i11) + $_size21 = 0; + $_etype24 = 0; + $xfer += $input->readListBegin($_etype24, $_size21); + for ($_i25 = 0; $_i25 < $_size21; ++$_i25) { - $elem12 = null; - $xfer += $input->readString($elem12); - $this->partValues []= $elem12; + $elem26 = null; + $xfer += $input->readString($elem26); + $this->partValues []= $elem26; } $xfer += $input->readListEnd(); } else { @@ -713,9 +936,9 @@ class HiveObjectRef { { $output->writeListBegin(TType::STRING, count($this->partValues)); { - foreach ($this->partValues as $iter13) + foreach ($this->partValues as $iter27) { - $xfer += $output->writeString($iter13); + $xfer += $output->writeString($iter27); } } $output->writeListEnd(); @@ -1106,15 +1329,15 @@ class PrivilegeBag { case 1: if ($ftype == TType::LST) { $this->privileges = array(); - $_size14 = 0; - $_etype17 = 0; - $xfer += $input->readListBegin($_etype17, $_size14); - for ($_i18 = 0; $_i18 < $_size14; ++$_i18) + $_size28 = 0; + $_etype31 = 0; + $xfer += $input->readListBegin($_etype31, $_size28); + for ($_i32 = 0; $_i32 < $_size28; ++$_i32) { - $elem19 = null; - $elem19 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem19->read($input); - $this->privileges []= $elem19; + $elem33 = null; + $elem33 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem33->read($input); + $this->privileges []= $elem33; } $xfer += $input->readListEnd(); } else { @@ -1142,9 +1365,9 @@ class PrivilegeBag { { $output->writeListBegin(TType::STRUCT, count($this->privileges)); { - foreach ($this->privileges as $iter20) + foreach ($this->privileges as $iter34) { - $xfer += $iter20->write($output); + $xfer += $iter34->write($output); } } $output->writeListEnd(); @@ -1265,28 +1488,28 @@ class PrincipalPrivilegeSet { case 1: if ($ftype == TType::MAP) { $this->userPrivileges = array(); - $_size21 = 0; - $_ktype22 = 0; - $_vtype23 = 0; - $xfer += $input->readMapBegin($_ktype22, $_vtype23, $_size21); - for ($_i25 = 0; $_i25 < $_size21; ++$_i25) + $_size35 = 0; + $_ktype36 = 0; + $_vtype37 = 0; + $xfer += $input->readMapBegin($_ktype36, $_vtype37, $_size35); + for ($_i39 = 0; $_i39 < $_size35; ++$_i39) { - $key26 = ''; - $val27 = array(); - $xfer += $input->readString($key26); - $val27 = array(); - $_size28 = 0; - $_etype31 = 0; - $xfer += $input->readListBegin($_etype31, $_size28); - for ($_i32 = 0; $_i32 < $_size28; ++$_i32) + $key40 = ''; + $val41 = array(); + $xfer += $input->readString($key40); + $val41 = array(); + $_size42 = 0; + $_etype45 = 0; + $xfer += $input->readListBegin($_etype45, $_size42); + for ($_i46 = 0; $_i46 < $_size42; ++$_i46) { - $elem33 = null; - $elem33 = new \metastore\PrivilegeGrantInfo(); - $xfer += $elem33->read($input); - $val27 []= $elem33; + $elem47 = null; + $elem47 = new \metastore\PrivilegeGrantInfo(); + $xfer += $elem47->read($input); + $val41 []= $elem47; } $xfer += $input->readListEnd(); - $this->userPrivileges[$key26] = $val27; + $this->userPrivileges[$key40] = $val41; } $xfer += $input->readMapEnd(); } else { @@ -1296,28 +1519,28 @@ class PrincipalPrivilegeSet { case 2: if ($ftype == TType::MAP) { $this->groupPrivileges = array(); - $_size34 = 0; - $_ktype35 = 0; - $_vtype36 = 0; - $xfer += $input->readMapBegin($_ktype35, $_vtype36, $_size34); - for ($_i38 = 0; $_i38 < $_size34; ++$_i38) + $_size48 = 0; + $_ktype49 = 0; + $_vtype50 = 0; + $xfer += $input->readMapBegin($_ktype49, $_vtype50, $_size48); + for ($_i52 = 0; $_i52 < $_size48; ++$_i52) { - $key39 = ''; - $val40 = array(); - $xfer += $input->readString($key39); - $val40 = array(); - $_size41 = 0; - $_etype44 = 0; - $xfer += $input->readListBegin($_etype44, $_size41); - for ($_i45 = 0; $_i45 < $_size41; ++$_i45) + $key53 = ''; + $val54 = array(); + $xfer += $input->readString($key53); + $val54 = array(); + $_size55 = 0; + $_etype58 = 0; + $xfer += $input->readListBegin($_etype58, $_size55); + for ($_i59 = 0; $_i59 < $_size55; ++$_i59) { - $elem46 = null; - $elem46 = new \metastore\PrivilegeGrantInfo(); - $xfer += $elem46->read($input); - $val40 []= $elem46; + $elem60 = null; + $elem60 = new \metastore\PrivilegeGrantInfo(); + $xfer += $elem60->read($input); + $val54 []= $elem60; } $xfer += $input->readListEnd(); - $this->groupPrivileges[$key39] = $val40; + $this->groupPrivileges[$key53] = $val54; } $xfer += $input->readMapEnd(); } else { @@ -1327,28 +1550,28 @@ class PrincipalPrivilegeSet { case 3: if ($ftype == TType::MAP) { $this->rolePrivileges = array(); - $_size47 = 0; - $_ktype48 = 0; - $_vtype49 = 0; - $xfer += $input->readMapBegin($_ktype48, $_vtype49, $_size47); - for ($_i51 = 0; $_i51 < $_size47; ++$_i51) + $_size61 = 0; + $_ktype62 = 0; + $_vtype63 = 0; + $xfer += $input->readMapBegin($_ktype62, $_vtype63, $_size61); + for ($_i65 = 0; $_i65 < $_size61; ++$_i65) { - $key52 = ''; - $val53 = array(); - $xfer += $input->readString($key52); - $val53 = array(); - $_size54 = 0; - $_etype57 = 0; - $xfer += $input->readListBegin($_etype57, $_size54); - for ($_i58 = 0; $_i58 < $_size54; ++$_i58) + $key66 = ''; + $val67 = array(); + $xfer += $input->readString($key66); + $val67 = array(); + $_size68 = 0; + $_etype71 = 0; + $xfer += $input->readListBegin($_etype71, $_size68); + for ($_i72 = 0; $_i72 < $_size68; ++$_i72) { - $elem59 = null; - $elem59 = new \metastore\PrivilegeGrantInfo(); - $xfer += $elem59->read($input); - $val53 []= $elem59; + $elem73 = null; + $elem73 = new \metastore\PrivilegeGrantInfo(); + $xfer += $elem73->read($input); + $val67 []= $elem73; } $xfer += $input->readListEnd(); - $this->rolePrivileges[$key52] = $val53; + $this->rolePrivileges[$key66] = $val67; } $xfer += $input->readMapEnd(); } else { @@ -1376,15 +1599,15 @@ class PrincipalPrivilegeSet { { $output->writeMapBegin(TType::STRING, TType::LST, count($this->userPrivileges)); { - foreach ($this->userPrivileges as $kiter60 => $viter61) + foreach ($this->userPrivileges as $kiter74 => $viter75) { - $xfer += $output->writeString($kiter60); + $xfer += $output->writeString($kiter74); { - $output->writeListBegin(TType::STRUCT, count($viter61)); + $output->writeListBegin(TType::STRUCT, count($viter75)); { - foreach ($viter61 as $iter62) + foreach ($viter75 as $iter76) { - $xfer += $iter62->write($output); + $xfer += $iter76->write($output); } } $output->writeListEnd(); @@ -1403,15 +1626,15 @@ class PrincipalPrivilegeSet { { $output->writeMapBegin(TType::STRING, TType::LST, count($this->groupPrivileges)); { - foreach ($this->groupPrivileges as $kiter63 => $viter64) + foreach ($this->groupPrivileges as $kiter77 => $viter78) { - $xfer += $output->writeString($kiter63); + $xfer += $output->writeString($kiter77); { - $output->writeListBegin(TType::STRUCT, count($viter64)); + $output->writeListBegin(TType::STRUCT, count($viter78)); { - foreach ($viter64 as $iter65) + foreach ($viter78 as $iter79) { - $xfer += $iter65->write($output); + $xfer += $iter79->write($output); } } $output->writeListEnd(); @@ -1430,15 +1653,15 @@ class PrincipalPrivilegeSet { { $output->writeMapBegin(TType::STRING, TType::LST, count($this->rolePrivileges)); { - foreach ($this->rolePrivileges as $kiter66 => $viter67) + foreach ($this->rolePrivileges as $kiter80 => $viter81) { - $xfer += $output->writeString($kiter66); + $xfer += $output->writeString($kiter80); { - $output->writeListBegin(TType::STRUCT, count($viter67)); + $output->writeListBegin(TType::STRUCT, count($viter81)); { - foreach ($viter67 as $iter68) + foreach ($viter81 as $iter82) { - $xfer += $iter68->write($output); + $xfer += $iter82->write($output); } } $output->writeListEnd(); @@ -2140,15 +2363,15 @@ class GetRoleGrantsForPrincipalResponse { case 1: if ($ftype == TType::LST) { $this->principalGrants = array(); - $_size69 = 0; - $_etype72 = 0; - $xfer += $input->readListBegin($_etype72, $_size69); - for ($_i73 = 0; $_i73 < $_size69; ++$_i73) + $_size83 = 0; + $_etype86 = 0; + $xfer += $input->readListBegin($_etype86, $_size83); + for ($_i87 = 0; $_i87 < $_size83; ++$_i87) { - $elem74 = null; - $elem74 = new \metastore\RolePrincipalGrant(); - $xfer += $elem74->read($input); - $this->principalGrants []= $elem74; + $elem88 = null; + $elem88 = new \metastore\RolePrincipalGrant(); + $xfer += $elem88->read($input); + $this->principalGrants []= $elem88; } $xfer += $input->readListEnd(); } else { @@ -2176,9 +2399,9 @@ class GetRoleGrantsForPrincipalResponse { { $output->writeListBegin(TType::STRUCT, count($this->principalGrants)); { - foreach ($this->principalGrants as $iter75) + foreach ($this->principalGrants as $iter89) { - $xfer += $iter75->write($output); + $xfer += $iter89->write($output); } } $output->writeListEnd(); @@ -2318,15 +2541,15 @@ class GetPrincipalsInRoleResponse { case 1: if ($ftype == TType::LST) { $this->principalGrants = array(); - $_size76 = 0; - $_etype79 = 0; - $xfer += $input->readListBegin($_etype79, $_size76); - for ($_i80 = 0; $_i80 < $_size76; ++$_i80) + $_size90 = 0; + $_etype93 = 0; + $xfer += $input->readListBegin($_etype93, $_size90); + for ($_i94 = 0; $_i94 < $_size90; ++$_i94) { - $elem81 = null; - $elem81 = new \metastore\RolePrincipalGrant(); - $xfer += $elem81->read($input); - $this->principalGrants []= $elem81; + $elem95 = null; + $elem95 = new \metastore\RolePrincipalGrant(); + $xfer += $elem95->read($input); + $this->principalGrants []= $elem95; } $xfer += $input->readListEnd(); } else { @@ -2354,9 +2577,9 @@ class GetPrincipalsInRoleResponse { { $output->writeListBegin(TType::STRUCT, count($this->principalGrants)); { - foreach ($this->principalGrants as $iter82) + foreach ($this->principalGrants as $iter96) { - $xfer += $iter82->write($output); + $xfer += $iter96->write($output); } } $output->writeListEnd(); @@ -2800,17 +3023,17 @@ class Database { case 4: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size83 = 0; - $_ktype84 = 0; - $_vtype85 = 0; - $xfer += $input->readMapBegin($_ktype84, $_vtype85, $_size83); - for ($_i87 = 0; $_i87 < $_size83; ++$_i87) + $_size97 = 0; + $_ktype98 = 0; + $_vtype99 = 0; + $xfer += $input->readMapBegin($_ktype98, $_vtype99, $_size97); + for ($_i101 = 0; $_i101 < $_size97; ++$_i101) { - $key88 = ''; - $val89 = ''; - $xfer += $input->readString($key88); - $xfer += $input->readString($val89); - $this->parameters[$key88] = $val89; + $key102 = ''; + $val103 = ''; + $xfer += $input->readString($key102); + $xfer += $input->readString($val103); + $this->parameters[$key102] = $val103; } $xfer += $input->readMapEnd(); } else { @@ -2875,10 +3098,10 @@ class Database { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter90 => $viter91) + foreach ($this->parameters as $kiter104 => $viter105) { - $xfer += $output->writeString($kiter90); - $xfer += $output->writeString($viter91); + $xfer += $output->writeString($kiter104); + $xfer += $output->writeString($viter105); } } $output->writeMapEnd(); @@ -3000,17 +3223,17 @@ class SerDeInfo { case 3: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size92 = 0; - $_ktype93 = 0; - $_vtype94 = 0; - $xfer += $input->readMapBegin($_ktype93, $_vtype94, $_size92); - for ($_i96 = 0; $_i96 < $_size92; ++$_i96) + $_size106 = 0; + $_ktype107 = 0; + $_vtype108 = 0; + $xfer += $input->readMapBegin($_ktype107, $_vtype108, $_size106); + for ($_i110 = 0; $_i110 < $_size106; ++$_i110) { - $key97 = ''; - $val98 = ''; - $xfer += $input->readString($key97); - $xfer += $input->readString($val98); - $this->parameters[$key97] = $val98; + $key111 = ''; + $val112 = ''; + $xfer += $input->readString($key111); + $xfer += $input->readString($val112); + $this->parameters[$key111] = $val112; } $xfer += $input->readMapEnd(); } else { @@ -3048,10 +3271,10 @@ class SerDeInfo { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter99 => $viter100) + foreach ($this->parameters as $kiter113 => $viter114) { - $xfer += $output->writeString($kiter99); - $xfer += $output->writeString($viter100); + $xfer += $output->writeString($kiter113); + $xfer += $output->writeString($viter114); } } $output->writeMapEnd(); @@ -3255,14 +3478,14 @@ class SkewedInfo { case 1: if ($ftype == TType::LST) { $this->skewedColNames = array(); - $_size101 = 0; - $_etype104 = 0; - $xfer += $input->readListBegin($_etype104, $_size101); - for ($_i105 = 0; $_i105 < $_size101; ++$_i105) + $_size115 = 0; + $_etype118 = 0; + $xfer += $input->readListBegin($_etype118, $_size115); + for ($_i119 = 0; $_i119 < $_size115; ++$_i119) { - $elem106 = null; - $xfer += $input->readString($elem106); - $this->skewedColNames []= $elem106; + $elem120 = null; + $xfer += $input->readString($elem120); + $this->skewedColNames []= $elem120; } $xfer += $input->readListEnd(); } else { @@ -3272,24 +3495,24 @@ class SkewedInfo { case 2: if ($ftype == TType::LST) { $this->skewedColValues = array(); - $_size107 = 0; - $_etype110 = 0; - $xfer += $input->readListBegin($_etype110, $_size107); - for ($_i111 = 0; $_i111 < $_size107; ++$_i111) + $_size121 = 0; + $_etype124 = 0; + $xfer += $input->readListBegin($_etype124, $_size121); + for ($_i125 = 0; $_i125 < $_size121; ++$_i125) { - $elem112 = null; - $elem112 = array(); - $_size113 = 0; - $_etype116 = 0; - $xfer += $input->readListBegin($_etype116, $_size113); - for ($_i117 = 0; $_i117 < $_size113; ++$_i117) + $elem126 = null; + $elem126 = array(); + $_size127 = 0; + $_etype130 = 0; + $xfer += $input->readListBegin($_etype130, $_size127); + for ($_i131 = 0; $_i131 < $_size127; ++$_i131) { - $elem118 = null; - $xfer += $input->readString($elem118); - $elem112 []= $elem118; + $elem132 = null; + $xfer += $input->readString($elem132); + $elem126 []= $elem132; } $xfer += $input->readListEnd(); - $this->skewedColValues []= $elem112; + $this->skewedColValues []= $elem126; } $xfer += $input->readListEnd(); } else { @@ -3299,27 +3522,27 @@ class SkewedInfo { case 3: if ($ftype == TType::MAP) { $this->skewedColValueLocationMaps = array(); - $_size119 = 0; - $_ktype120 = 0; - $_vtype121 = 0; - $xfer += $input->readMapBegin($_ktype120, $_vtype121, $_size119); - for ($_i123 = 0; $_i123 < $_size119; ++$_i123) + $_size133 = 0; + $_ktype134 = 0; + $_vtype135 = 0; + $xfer += $input->readMapBegin($_ktype134, $_vtype135, $_size133); + for ($_i137 = 0; $_i137 < $_size133; ++$_i137) { - $key124 = array(); - $val125 = ''; - $key124 = array(); - $_size126 = 0; - $_etype129 = 0; - $xfer += $input->readListBegin($_etype129, $_size126); - for ($_i130 = 0; $_i130 < $_size126; ++$_i130) + $key138 = array(); + $val139 = ''; + $key138 = array(); + $_size140 = 0; + $_etype143 = 0; + $xfer += $input->readListBegin($_etype143, $_size140); + for ($_i144 = 0; $_i144 < $_size140; ++$_i144) { - $elem131 = null; - $xfer += $input->readString($elem131); - $key124 []= $elem131; + $elem145 = null; + $xfer += $input->readString($elem145); + $key138 []= $elem145; } $xfer += $input->readListEnd(); - $xfer += $input->readString($val125); - $this->skewedColValueLocationMaps[$key124] = $val125; + $xfer += $input->readString($val139); + $this->skewedColValueLocationMaps[$key138] = $val139; } $xfer += $input->readMapEnd(); } else { @@ -3347,9 +3570,9 @@ class SkewedInfo { { $output->writeListBegin(TType::STRING, count($this->skewedColNames)); { - foreach ($this->skewedColNames as $iter132) + foreach ($this->skewedColNames as $iter146) { - $xfer += $output->writeString($iter132); + $xfer += $output->writeString($iter146); } } $output->writeListEnd(); @@ -3364,14 +3587,14 @@ class SkewedInfo { { $output->writeListBegin(TType::LST, count($this->skewedColValues)); { - foreach ($this->skewedColValues as $iter133) + foreach ($this->skewedColValues as $iter147) { { - $output->writeListBegin(TType::STRING, count($iter133)); + $output->writeListBegin(TType::STRING, count($iter147)); { - foreach ($iter133 as $iter134) + foreach ($iter147 as $iter148) { - $xfer += $output->writeString($iter134); + $xfer += $output->writeString($iter148); } } $output->writeListEnd(); @@ -3390,19 +3613,19 @@ class SkewedInfo { { $output->writeMapBegin(TType::LST, TType::STRING, count($this->skewedColValueLocationMaps)); { - foreach ($this->skewedColValueLocationMaps as $kiter135 => $viter136) + foreach ($this->skewedColValueLocationMaps as $kiter149 => $viter150) { { - $output->writeListBegin(TType::STRING, count($kiter135)); + $output->writeListBegin(TType::STRING, count($kiter149)); { - foreach ($kiter135 as $iter137) + foreach ($kiter149 as $iter151) { - $xfer += $output->writeString($iter137); + $xfer += $output->writeString($iter151); } } $output->writeListEnd(); } - $xfer += $output->writeString($viter136); + $xfer += $output->writeString($viter150); } } $output->writeMapEnd(); @@ -3607,15 +3830,15 @@ class StorageDescriptor { case 1: if ($ftype == TType::LST) { $this->cols = array(); - $_size138 = 0; - $_etype141 = 0; - $xfer += $input->readListBegin($_etype141, $_size138); - for ($_i142 = 0; $_i142 < $_size138; ++$_i142) + $_size152 = 0; + $_etype155 = 0; + $xfer += $input->readListBegin($_etype155, $_size152); + for ($_i156 = 0; $_i156 < $_size152; ++$_i156) { - $elem143 = null; - $elem143 = new \metastore\FieldSchema(); - $xfer += $elem143->read($input); - $this->cols []= $elem143; + $elem157 = null; + $elem157 = new \metastore\FieldSchema(); + $xfer += $elem157->read($input); + $this->cols []= $elem157; } $xfer += $input->readListEnd(); } else { @@ -3668,14 +3891,14 @@ class StorageDescriptor { case 8: if ($ftype == TType::LST) { $this->bucketCols = array(); - $_size144 = 0; - $_etype147 = 0; - $xfer += $input->readListBegin($_etype147, $_size144); - for ($_i148 = 0; $_i148 < $_size144; ++$_i148) + $_size158 = 0; + $_etype161 = 0; + $xfer += $input->readListBegin($_etype161, $_size158); + for ($_i162 = 0; $_i162 < $_size158; ++$_i162) { - $elem149 = null; - $xfer += $input->readString($elem149); - $this->bucketCols []= $elem149; + $elem163 = null; + $xfer += $input->readString($elem163); + $this->bucketCols []= $elem163; } $xfer += $input->readListEnd(); } else { @@ -3685,15 +3908,15 @@ class StorageDescriptor { case 9: if ($ftype == TType::LST) { $this->sortCols = array(); - $_size150 = 0; - $_etype153 = 0; - $xfer += $input->readListBegin($_etype153, $_size150); - for ($_i154 = 0; $_i154 < $_size150; ++$_i154) + $_size164 = 0; + $_etype167 = 0; + $xfer += $input->readListBegin($_etype167, $_size164); + for ($_i168 = 0; $_i168 < $_size164; ++$_i168) { - $elem155 = null; - $elem155 = new \metastore\Order(); - $xfer += $elem155->read($input); - $this->sortCols []= $elem155; + $elem169 = null; + $elem169 = new \metastore\Order(); + $xfer += $elem169->read($input); + $this->sortCols []= $elem169; } $xfer += $input->readListEnd(); } else { @@ -3703,17 +3926,17 @@ class StorageDescriptor { case 10: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size156 = 0; - $_ktype157 = 0; - $_vtype158 = 0; - $xfer += $input->readMapBegin($_ktype157, $_vtype158, $_size156); - for ($_i160 = 0; $_i160 < $_size156; ++$_i160) + $_size170 = 0; + $_ktype171 = 0; + $_vtype172 = 0; + $xfer += $input->readMapBegin($_ktype171, $_vtype172, $_size170); + for ($_i174 = 0; $_i174 < $_size170; ++$_i174) { - $key161 = ''; - $val162 = ''; - $xfer += $input->readString($key161); - $xfer += $input->readString($val162); - $this->parameters[$key161] = $val162; + $key175 = ''; + $val176 = ''; + $xfer += $input->readString($key175); + $xfer += $input->readString($val176); + $this->parameters[$key175] = $val176; } $xfer += $input->readMapEnd(); } else { @@ -3756,9 +3979,9 @@ class StorageDescriptor { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter163) + foreach ($this->cols as $iter177) { - $xfer += $iter163->write($output); + $xfer += $iter177->write($output); } } $output->writeListEnd(); @@ -3806,9 +4029,9 @@ class StorageDescriptor { { $output->writeListBegin(TType::STRING, count($this->bucketCols)); { - foreach ($this->bucketCols as $iter164) + foreach ($this->bucketCols as $iter178) { - $xfer += $output->writeString($iter164); + $xfer += $output->writeString($iter178); } } $output->writeListEnd(); @@ -3823,9 +4046,9 @@ class StorageDescriptor { { $output->writeListBegin(TType::STRUCT, count($this->sortCols)); { - foreach ($this->sortCols as $iter165) + foreach ($this->sortCols as $iter179) { - $xfer += $iter165->write($output); + $xfer += $iter179->write($output); } } $output->writeListEnd(); @@ -3840,10 +4063,10 @@ class StorageDescriptor { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter166 => $viter167) + foreach ($this->parameters as $kiter180 => $viter181) { - $xfer += $output->writeString($kiter166); - $xfer += $output->writeString($viter167); + $xfer += $output->writeString($kiter180); + $xfer += $output->writeString($viter181); } } $output->writeMapEnd(); @@ -3929,6 +4152,14 @@ class Table { * @var bool */ public $temporary = false; + /** + * @var \metastore\FieldSchema[] + */ + public $primaryKeys = null; + /** + * @var \metastore\ForeignKeyRel[] + */ + public $foreignKeys = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -4004,6 +4235,24 @@ class Table { 'var' => 'temporary', 'type' => TType::BOOL, ), + 15 => array( + 'var' => 'primaryKeys', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\FieldSchema', + ), + ), + 16 => array( + 'var' => 'foreignKeys', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\ForeignKeyRel', + ), + ), ); } if (is_array($vals)) { @@ -4049,6 +4298,12 @@ class Table { if (isset($vals['temporary'])) { $this->temporary = $vals['temporary']; } + if (isset($vals['primaryKeys'])) { + $this->primaryKeys = $vals['primaryKeys']; + } + if (isset($vals['foreignKeys'])) { + $this->foreignKeys = $vals['foreignKeys']; + } } } @@ -4124,15 +4379,15 @@ class Table { case 8: if ($ftype == TType::LST) { $this->partitionKeys = array(); - $_size168 = 0; - $_etype171 = 0; - $xfer += $input->readListBegin($_etype171, $_size168); - for ($_i172 = 0; $_i172 < $_size168; ++$_i172) + $_size182 = 0; + $_etype185 = 0; + $xfer += $input->readListBegin($_etype185, $_size182); + for ($_i186 = 0; $_i186 < $_size182; ++$_i186) { - $elem173 = null; - $elem173 = new \metastore\FieldSchema(); - $xfer += $elem173->read($input); - $this->partitionKeys []= $elem173; + $elem187 = null; + $elem187 = new \metastore\FieldSchema(); + $xfer += $elem187->read($input); + $this->partitionKeys []= $elem187; } $xfer += $input->readListEnd(); } else { @@ -4142,17 +4397,17 @@ class Table { case 9: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size174 = 0; - $_ktype175 = 0; - $_vtype176 = 0; - $xfer += $input->readMapBegin($_ktype175, $_vtype176, $_size174); - for ($_i178 = 0; $_i178 < $_size174; ++$_i178) + $_size188 = 0; + $_ktype189 = 0; + $_vtype190 = 0; + $xfer += $input->readMapBegin($_ktype189, $_vtype190, $_size188); + for ($_i192 = 0; $_i192 < $_size188; ++$_i192) { - $key179 = ''; - $val180 = ''; - $xfer += $input->readString($key179); - $xfer += $input->readString($val180); - $this->parameters[$key179] = $val180; + $key193 = ''; + $val194 = ''; + $xfer += $input->readString($key193); + $xfer += $input->readString($val194); + $this->parameters[$key193] = $val194; } $xfer += $input->readMapEnd(); } else { @@ -4195,6 +4450,42 @@ class Table { $xfer += $input->skip($ftype); } break; + case 15: + if ($ftype == TType::LST) { + $this->primaryKeys = array(); + $_size195 = 0; + $_etype198 = 0; + $xfer += $input->readListBegin($_etype198, $_size195); + for ($_i199 = 0; $_i199 < $_size195; ++$_i199) + { + $elem200 = null; + $elem200 = new \metastore\FieldSchema(); + $xfer += $elem200->read($input); + $this->primaryKeys []= $elem200; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 16: + if ($ftype == TType::LST) { + $this->foreignKeys = array(); + $_size201 = 0; + $_etype204 = 0; + $xfer += $input->readListBegin($_etype204, $_size201); + for ($_i205 = 0; $_i205 < $_size201; ++$_i205) + { + $elem206 = null; + $elem206 = new \metastore\ForeignKeyRel(); + $xfer += $elem206->read($input); + $this->foreignKeys []= $elem206; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -4254,9 +4545,9 @@ class Table { { $output->writeListBegin(TType::STRUCT, count($this->partitionKeys)); { - foreach ($this->partitionKeys as $iter181) + foreach ($this->partitionKeys as $iter207) { - $xfer += $iter181->write($output); + $xfer += $iter207->write($output); } } $output->writeListEnd(); @@ -4271,10 +4562,10 @@ class Table { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter182 => $viter183) + foreach ($this->parameters as $kiter208 => $viter209) { - $xfer += $output->writeString($kiter182); - $xfer += $output->writeString($viter183); + $xfer += $output->writeString($kiter208); + $xfer += $output->writeString($viter209); } } $output->writeMapEnd(); @@ -4309,6 +4600,40 @@ class Table { $xfer += $output->writeBool($this->temporary); $xfer += $output->writeFieldEnd(); } + if ($this->primaryKeys !== null) { + if (!is_array($this->primaryKeys)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('primaryKeys', TType::LST, 15); + { + $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); + { + foreach ($this->primaryKeys as $iter210) + { + $xfer += $iter210->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + if ($this->foreignKeys !== null) { + if (!is_array($this->foreignKeys)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('foreignKeys', TType::LST, 16); + { + $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); + { + foreach ($this->foreignKeys as $iter211) + { + $xfer += $iter211->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -4453,14 +4778,14 @@ class Partition { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size184 = 0; - $_etype187 = 0; - $xfer += $input->readListBegin($_etype187, $_size184); - for ($_i188 = 0; $_i188 < $_size184; ++$_i188) + $_size212 = 0; + $_etype215 = 0; + $xfer += $input->readListBegin($_etype215, $_size212); + for ($_i216 = 0; $_i216 < $_size212; ++$_i216) { - $elem189 = null; - $xfer += $input->readString($elem189); - $this->values []= $elem189; + $elem217 = null; + $xfer += $input->readString($elem217); + $this->values []= $elem217; } $xfer += $input->readListEnd(); } else { @@ -4506,17 +4831,17 @@ class Partition { case 7: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size190 = 0; - $_ktype191 = 0; - $_vtype192 = 0; - $xfer += $input->readMapBegin($_ktype191, $_vtype192, $_size190); - for ($_i194 = 0; $_i194 < $_size190; ++$_i194) + $_size218 = 0; + $_ktype219 = 0; + $_vtype220 = 0; + $xfer += $input->readMapBegin($_ktype219, $_vtype220, $_size218); + for ($_i222 = 0; $_i222 < $_size218; ++$_i222) { - $key195 = ''; - $val196 = ''; - $xfer += $input->readString($key195); - $xfer += $input->readString($val196); - $this->parameters[$key195] = $val196; + $key223 = ''; + $val224 = ''; + $xfer += $input->readString($key223); + $xfer += $input->readString($val224); + $this->parameters[$key223] = $val224; } $xfer += $input->readMapEnd(); } else { @@ -4552,9 +4877,9 @@ class Partition { { $output->writeListBegin(TType::STRING, count($this->values)); { - foreach ($this->values as $iter197) + foreach ($this->values as $iter225) { - $xfer += $output->writeString($iter197); + $xfer += $output->writeString($iter225); } } $output->writeListEnd(); @@ -4597,10 +4922,10 @@ class Partition { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter198 => $viter199) + foreach ($this->parameters as $kiter226 => $viter227) { - $xfer += $output->writeString($kiter198); - $xfer += $output->writeString($viter199); + $xfer += $output->writeString($kiter226); + $xfer += $output->writeString($viter227); } } $output->writeMapEnd(); @@ -4736,14 +5061,14 @@ class PartitionWithoutSD { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size200 = 0; - $_etype203 = 0; - $xfer += $input->readListBegin($_etype203, $_size200); - for ($_i204 = 0; $_i204 < $_size200; ++$_i204) + $_size228 = 0; + $_etype231 = 0; + $xfer += $input->readListBegin($_etype231, $_size228); + for ($_i232 = 0; $_i232 < $_size228; ++$_i232) { - $elem205 = null; - $xfer += $input->readString($elem205); - $this->values []= $elem205; + $elem233 = null; + $xfer += $input->readString($elem233); + $this->values []= $elem233; } $xfer += $input->readListEnd(); } else { @@ -4774,17 +5099,17 @@ class PartitionWithoutSD { case 5: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size206 = 0; - $_ktype207 = 0; - $_vtype208 = 0; - $xfer += $input->readMapBegin($_ktype207, $_vtype208, $_size206); - for ($_i210 = 0; $_i210 < $_size206; ++$_i210) + $_size234 = 0; + $_ktype235 = 0; + $_vtype236 = 0; + $xfer += $input->readMapBegin($_ktype235, $_vtype236, $_size234); + for ($_i238 = 0; $_i238 < $_size234; ++$_i238) { - $key211 = ''; - $val212 = ''; - $xfer += $input->readString($key211); - $xfer += $input->readString($val212); - $this->parameters[$key211] = $val212; + $key239 = ''; + $val240 = ''; + $xfer += $input->readString($key239); + $xfer += $input->readString($val240); + $this->parameters[$key239] = $val240; } $xfer += $input->readMapEnd(); } else { @@ -4820,9 +5145,9 @@ class PartitionWithoutSD { { $output->writeListBegin(TType::STRING, count($this->values)); { - foreach ($this->values as $iter213) + foreach ($this->values as $iter241) { - $xfer += $output->writeString($iter213); + $xfer += $output->writeString($iter241); } } $output->writeListEnd(); @@ -4852,10 +5177,10 @@ class PartitionWithoutSD { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter214 => $viter215) + foreach ($this->parameters as $kiter242 => $viter243) { - $xfer += $output->writeString($kiter214); - $xfer += $output->writeString($viter215); + $xfer += $output->writeString($kiter242); + $xfer += $output->writeString($viter243); } } $output->writeMapEnd(); @@ -4940,15 +5265,15 @@ class PartitionSpecWithSharedSD { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size216 = 0; - $_etype219 = 0; - $xfer += $input->readListBegin($_etype219, $_size216); - for ($_i220 = 0; $_i220 < $_size216; ++$_i220) + $_size244 = 0; + $_etype247 = 0; + $xfer += $input->readListBegin($_etype247, $_size244); + for ($_i248 = 0; $_i248 < $_size244; ++$_i248) { - $elem221 = null; - $elem221 = new \metastore\PartitionWithoutSD(); - $xfer += $elem221->read($input); - $this->partitions []= $elem221; + $elem249 = null; + $elem249 = new \metastore\PartitionWithoutSD(); + $xfer += $elem249->read($input); + $this->partitions []= $elem249; } $xfer += $input->readListEnd(); } else { @@ -4984,9 +5309,9 @@ class PartitionSpecWithSharedSD { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter222) + foreach ($this->partitions as $iter250) { - $xfer += $iter222->write($output); + $xfer += $iter250->write($output); } } $output->writeListEnd(); @@ -5059,15 +5384,15 @@ class PartitionListComposingSpec { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size223 = 0; - $_etype226 = 0; - $xfer += $input->readListBegin($_etype226, $_size223); - for ($_i227 = 0; $_i227 < $_size223; ++$_i227) + $_size251 = 0; + $_etype254 = 0; + $xfer += $input->readListBegin($_etype254, $_size251); + for ($_i255 = 0; $_i255 < $_size251; ++$_i255) { - $elem228 = null; - $elem228 = new \metastore\Partition(); - $xfer += $elem228->read($input); - $this->partitions []= $elem228; + $elem256 = null; + $elem256 = new \metastore\Partition(); + $xfer += $elem256->read($input); + $this->partitions []= $elem256; } $xfer += $input->readListEnd(); } else { @@ -5095,9 +5420,9 @@ class PartitionListComposingSpec { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter229) + foreach ($this->partitions as $iter257) { - $xfer += $iter229->write($output); + $xfer += $iter257->write($output); } } $output->writeListEnd(); @@ -5499,17 +5824,17 @@ class Index { case 9: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size230 = 0; - $_ktype231 = 0; - $_vtype232 = 0; - $xfer += $input->readMapBegin($_ktype231, $_vtype232, $_size230); - for ($_i234 = 0; $_i234 < $_size230; ++$_i234) + $_size258 = 0; + $_ktype259 = 0; + $_vtype260 = 0; + $xfer += $input->readMapBegin($_ktype259, $_vtype260, $_size258); + for ($_i262 = 0; $_i262 < $_size258; ++$_i262) { - $key235 = ''; - $val236 = ''; - $xfer += $input->readString($key235); - $xfer += $input->readString($val236); - $this->parameters[$key235] = $val236; + $key263 = ''; + $val264 = ''; + $xfer += $input->readString($key263); + $xfer += $input->readString($val264); + $this->parameters[$key263] = $val264; } $xfer += $input->readMapEnd(); } else { @@ -5587,10 +5912,10 @@ class Index { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter237 => $viter238) + foreach ($this->parameters as $kiter265 => $viter266) { - $xfer += $output->writeString($kiter237); - $xfer += $output->writeString($viter238); + $xfer += $output->writeString($kiter265); + $xfer += $output->writeString($viter266); } } $output->writeMapEnd(); @@ -7537,15 +7862,15 @@ class ColumnStatistics { case 2: if ($ftype == TType::LST) { $this->statsObj = array(); - $_size239 = 0; - $_etype242 = 0; - $xfer += $input->readListBegin($_etype242, $_size239); - for ($_i243 = 0; $_i243 < $_size239; ++$_i243) + $_size267 = 0; + $_etype270 = 0; + $xfer += $input->readListBegin($_etype270, $_size267); + for ($_i271 = 0; $_i271 < $_size267; ++$_i271) { - $elem244 = null; - $elem244 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem244->read($input); - $this->statsObj []= $elem244; + $elem272 = null; + $elem272 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem272->read($input); + $this->statsObj []= $elem272; } $xfer += $input->readListEnd(); } else { @@ -7581,9 +7906,9 @@ class ColumnStatistics { { $output->writeListBegin(TType::STRUCT, count($this->statsObj)); { - foreach ($this->statsObj as $iter245) + foreach ($this->statsObj as $iter273) { - $xfer += $iter245->write($output); + $xfer += $iter273->write($output); } } $output->writeListEnd(); @@ -7659,15 +7984,15 @@ class AggrStats { case 1: if ($ftype == TType::LST) { $this->colStats = array(); - $_size246 = 0; - $_etype249 = 0; - $xfer += $input->readListBegin($_etype249, $_size246); - for ($_i250 = 0; $_i250 < $_size246; ++$_i250) + $_size274 = 0; + $_etype277 = 0; + $xfer += $input->readListBegin($_etype277, $_size274); + for ($_i278 = 0; $_i278 < $_size274; ++$_i278) { - $elem251 = null; - $elem251 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem251->read($input); - $this->colStats []= $elem251; + $elem279 = null; + $elem279 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem279->read($input); + $this->colStats []= $elem279; } $xfer += $input->readListEnd(); } else { @@ -7702,9 +8027,9 @@ class AggrStats { { $output->writeListBegin(TType::STRUCT, count($this->colStats)); { - foreach ($this->colStats as $iter252) + foreach ($this->colStats as $iter280) { - $xfer += $iter252->write($output); + $xfer += $iter280->write($output); } } $output->writeListEnd(); @@ -7774,15 +8099,15 @@ class SetPartitionsStatsRequest { case 1: if ($ftype == TType::LST) { $this->colStats = array(); - $_size253 = 0; - $_etype256 = 0; - $xfer += $input->readListBegin($_etype256, $_size253); - for ($_i257 = 0; $_i257 < $_size253; ++$_i257) + $_size281 = 0; + $_etype284 = 0; + $xfer += $input->readListBegin($_etype284, $_size281); + for ($_i285 = 0; $_i285 < $_size281; ++$_i285) { - $elem258 = null; - $elem258 = new \metastore\ColumnStatistics(); - $xfer += $elem258->read($input); - $this->colStats []= $elem258; + $elem286 = null; + $elem286 = new \metastore\ColumnStatistics(); + $xfer += $elem286->read($input); + $this->colStats []= $elem286; } $xfer += $input->readListEnd(); } else { @@ -7810,9 +8135,9 @@ class SetPartitionsStatsRequest { { $output->writeListBegin(TType::STRUCT, count($this->colStats)); { - foreach ($this->colStats as $iter259) + foreach ($this->colStats as $iter287) { - $xfer += $iter259->write($output); + $xfer += $iter287->write($output); } } $output->writeListEnd(); @@ -7896,15 +8221,15 @@ class Schema { case 1: if ($ftype == TType::LST) { $this->fieldSchemas = array(); - $_size260 = 0; - $_etype263 = 0; - $xfer += $input->readListBegin($_etype263, $_size260); - for ($_i264 = 0; $_i264 < $_size260; ++$_i264) + $_size288 = 0; + $_etype291 = 0; + $xfer += $input->readListBegin($_etype291, $_size288); + for ($_i292 = 0; $_i292 < $_size288; ++$_i292) { - $elem265 = null; - $elem265 = new \metastore\FieldSchema(); - $xfer += $elem265->read($input); - $this->fieldSchemas []= $elem265; + $elem293 = null; + $elem293 = new \metastore\FieldSchema(); + $xfer += $elem293->read($input); + $this->fieldSchemas []= $elem293; } $xfer += $input->readListEnd(); } else { @@ -7914,17 +8239,17 @@ class Schema { case 2: if ($ftype == TType::MAP) { $this->properties = array(); - $_size266 = 0; - $_ktype267 = 0; - $_vtype268 = 0; - $xfer += $input->readMapBegin($_ktype267, $_vtype268, $_size266); - for ($_i270 = 0; $_i270 < $_size266; ++$_i270) + $_size294 = 0; + $_ktype295 = 0; + $_vtype296 = 0; + $xfer += $input->readMapBegin($_ktype295, $_vtype296, $_size294); + for ($_i298 = 0; $_i298 < $_size294; ++$_i298) { - $key271 = ''; - $val272 = ''; - $xfer += $input->readString($key271); - $xfer += $input->readString($val272); - $this->properties[$key271] = $val272; + $key299 = ''; + $val300 = ''; + $xfer += $input->readString($key299); + $xfer += $input->readString($val300); + $this->properties[$key299] = $val300; } $xfer += $input->readMapEnd(); } else { @@ -7952,9 +8277,9 @@ class Schema { { $output->writeListBegin(TType::STRUCT, count($this->fieldSchemas)); { - foreach ($this->fieldSchemas as $iter273) + foreach ($this->fieldSchemas as $iter301) { - $xfer += $iter273->write($output); + $xfer += $iter301->write($output); } } $output->writeListEnd(); @@ -7969,10 +8294,10 @@ class Schema { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter274 => $viter275) + foreach ($this->properties as $kiter302 => $viter303) { - $xfer += $output->writeString($kiter274); - $xfer += $output->writeString($viter275); + $xfer += $output->writeString($kiter302); + $xfer += $output->writeString($viter303); } } $output->writeMapEnd(); @@ -8040,17 +8365,17 @@ class EnvironmentContext { case 1: if ($ftype == TType::MAP) { $this->properties = array(); - $_size276 = 0; - $_ktype277 = 0; - $_vtype278 = 0; - $xfer += $input->readMapBegin($_ktype277, $_vtype278, $_size276); - for ($_i280 = 0; $_i280 < $_size276; ++$_i280) + $_size304 = 0; + $_ktype305 = 0; + $_vtype306 = 0; + $xfer += $input->readMapBegin($_ktype305, $_vtype306, $_size304); + for ($_i308 = 0; $_i308 < $_size304; ++$_i308) { - $key281 = ''; - $val282 = ''; - $xfer += $input->readString($key281); - $xfer += $input->readString($val282); - $this->properties[$key281] = $val282; + $key309 = ''; + $val310 = ''; + $xfer += $input->readString($key309); + $xfer += $input->readString($val310); + $this->properties[$key309] = $val310; } $xfer += $input->readMapEnd(); } else { @@ -8078,10 +8403,10 @@ class EnvironmentContext { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter283 => $viter284) + foreach ($this->properties as $kiter311 => $viter312) { - $xfer += $output->writeString($kiter283); - $xfer += $output->writeString($viter284); + $xfer += $output->writeString($kiter311); + $xfer += $output->writeString($viter312); } } $output->writeMapEnd(); @@ -8157,15 +8482,15 @@ class PartitionsByExprResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size285 = 0; - $_etype288 = 0; - $xfer += $input->readListBegin($_etype288, $_size285); - for ($_i289 = 0; $_i289 < $_size285; ++$_i289) + $_size313 = 0; + $_etype316 = 0; + $xfer += $input->readListBegin($_etype316, $_size313); + for ($_i317 = 0; $_i317 < $_size313; ++$_i317) { - $elem290 = null; - $elem290 = new \metastore\Partition(); - $xfer += $elem290->read($input); - $this->partitions []= $elem290; + $elem318 = null; + $elem318 = new \metastore\Partition(); + $xfer += $elem318->read($input); + $this->partitions []= $elem318; } $xfer += $input->readListEnd(); } else { @@ -8200,9 +8525,9 @@ class PartitionsByExprResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter291) + foreach ($this->partitions as $iter319) { - $xfer += $iter291->write($output); + $xfer += $iter319->write($output); } } $output->writeListEnd(); @@ -8439,15 +8764,15 @@ class TableStatsResult { case 1: if ($ftype == TType::LST) { $this->tableStats = array(); - $_size292 = 0; - $_etype295 = 0; - $xfer += $input->readListBegin($_etype295, $_size292); - for ($_i296 = 0; $_i296 < $_size292; ++$_i296) + $_size320 = 0; + $_etype323 = 0; + $xfer += $input->readListBegin($_etype323, $_size320); + for ($_i324 = 0; $_i324 < $_size320; ++$_i324) { - $elem297 = null; - $elem297 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem297->read($input); - $this->tableStats []= $elem297; + $elem325 = null; + $elem325 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem325->read($input); + $this->tableStats []= $elem325; } $xfer += $input->readListEnd(); } else { @@ -8475,9 +8800,9 @@ class TableStatsResult { { $output->writeListBegin(TType::STRUCT, count($this->tableStats)); { - foreach ($this->tableStats as $iter298) + foreach ($this->tableStats as $iter326) { - $xfer += $iter298->write($output); + $xfer += $iter326->write($output); } } $output->writeListEnd(); @@ -8550,28 +8875,28 @@ class PartitionsStatsResult { case 1: if ($ftype == TType::MAP) { $this->partStats = array(); - $_size299 = 0; - $_ktype300 = 0; - $_vtype301 = 0; - $xfer += $input->readMapBegin($_ktype300, $_vtype301, $_size299); - for ($_i303 = 0; $_i303 < $_size299; ++$_i303) + $_size327 = 0; + $_ktype328 = 0; + $_vtype329 = 0; + $xfer += $input->readMapBegin($_ktype328, $_vtype329, $_size327); + for ($_i331 = 0; $_i331 < $_size327; ++$_i331) { - $key304 = ''; - $val305 = array(); - $xfer += $input->readString($key304); - $val305 = array(); - $_size306 = 0; - $_etype309 = 0; - $xfer += $input->readListBegin($_etype309, $_size306); - for ($_i310 = 0; $_i310 < $_size306; ++$_i310) + $key332 = ''; + $val333 = array(); + $xfer += $input->readString($key332); + $val333 = array(); + $_size334 = 0; + $_etype337 = 0; + $xfer += $input->readListBegin($_etype337, $_size334); + for ($_i338 = 0; $_i338 < $_size334; ++$_i338) { - $elem311 = null; - $elem311 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem311->read($input); - $val305 []= $elem311; + $elem339 = null; + $elem339 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem339->read($input); + $val333 []= $elem339; } $xfer += $input->readListEnd(); - $this->partStats[$key304] = $val305; + $this->partStats[$key332] = $val333; } $xfer += $input->readMapEnd(); } else { @@ -8599,15 +8924,15 @@ class PartitionsStatsResult { { $output->writeMapBegin(TType::STRING, TType::LST, count($this->partStats)); { - foreach ($this->partStats as $kiter312 => $viter313) + foreach ($this->partStats as $kiter340 => $viter341) { - $xfer += $output->writeString($kiter312); + $xfer += $output->writeString($kiter340); { - $output->writeListBegin(TType::STRUCT, count($viter313)); + $output->writeListBegin(TType::STRUCT, count($viter341)); { - foreach ($viter313 as $iter314) + foreach ($viter341 as $iter342) { - $xfer += $iter314->write($output); + $xfer += $iter342->write($output); } } $output->writeListEnd(); @@ -8711,14 +9036,14 @@ class TableStatsRequest { case 3: if ($ftype == TType::LST) { $this->colNames = array(); - $_size315 = 0; - $_etype318 = 0; - $xfer += $input->readListBegin($_etype318, $_size315); - for ($_i319 = 0; $_i319 < $_size315; ++$_i319) + $_size343 = 0; + $_etype346 = 0; + $xfer += $input->readListBegin($_etype346, $_size343); + for ($_i347 = 0; $_i347 < $_size343; ++$_i347) { - $elem320 = null; - $xfer += $input->readString($elem320); - $this->colNames []= $elem320; + $elem348 = null; + $xfer += $input->readString($elem348); + $this->colNames []= $elem348; } $xfer += $input->readListEnd(); } else { @@ -8756,9 +9081,9 @@ class TableStatsRequest { { $output->writeListBegin(TType::STRING, count($this->colNames)); { - foreach ($this->colNames as $iter321) + foreach ($this->colNames as $iter349) { - $xfer += $output->writeString($iter321); + $xfer += $output->writeString($iter349); } } $output->writeListEnd(); @@ -8873,14 +9198,14 @@ class PartitionsStatsRequest { case 3: if ($ftype == TType::LST) { $this->colNames = array(); - $_size322 = 0; - $_etype325 = 0; - $xfer += $input->readListBegin($_etype325, $_size322); - for ($_i326 = 0; $_i326 < $_size322; ++$_i326) + $_size350 = 0; + $_etype353 = 0; + $xfer += $input->readListBegin($_etype353, $_size350); + for ($_i354 = 0; $_i354 < $_size350; ++$_i354) { - $elem327 = null; - $xfer += $input->readString($elem327); - $this->colNames []= $elem327; + $elem355 = null; + $xfer += $input->readString($elem355); + $this->colNames []= $elem355; } $xfer += $input->readListEnd(); } else { @@ -8890,14 +9215,14 @@ class PartitionsStatsRequest { case 4: if ($ftype == TType::LST) { $this->partNames = array(); - $_size328 = 0; - $_etype331 = 0; - $xfer += $input->readListBegin($_etype331, $_size328); - for ($_i332 = 0; $_i332 < $_size328; ++$_i332) + $_size356 = 0; + $_etype359 = 0; + $xfer += $input->readListBegin($_etype359, $_size356); + for ($_i360 = 0; $_i360 < $_size356; ++$_i360) { - $elem333 = null; - $xfer += $input->readString($elem333); - $this->partNames []= $elem333; + $elem361 = null; + $xfer += $input->readString($elem361); + $this->partNames []= $elem361; } $xfer += $input->readListEnd(); } else { @@ -8935,9 +9260,9 @@ class PartitionsStatsRequest { { $output->writeListBegin(TType::STRING, count($this->colNames)); { - foreach ($this->colNames as $iter334) + foreach ($this->colNames as $iter362) { - $xfer += $output->writeString($iter334); + $xfer += $output->writeString($iter362); } } $output->writeListEnd(); @@ -8952,9 +9277,9 @@ class PartitionsStatsRequest { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter335) + foreach ($this->partNames as $iter363) { - $xfer += $output->writeString($iter335); + $xfer += $output->writeString($iter363); } } $output->writeListEnd(); @@ -9019,15 +9344,15 @@ class AddPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size336 = 0; - $_etype339 = 0; - $xfer += $input->readListBegin($_etype339, $_size336); - for ($_i340 = 0; $_i340 < $_size336; ++$_i340) + $_size364 = 0; + $_etype367 = 0; + $xfer += $input->readListBegin($_etype367, $_size364); + for ($_i368 = 0; $_i368 < $_size364; ++$_i368) { - $elem341 = null; - $elem341 = new \metastore\Partition(); - $xfer += $elem341->read($input); - $this->partitions []= $elem341; + $elem369 = null; + $elem369 = new \metastore\Partition(); + $xfer += $elem369->read($input); + $this->partitions []= $elem369; } $xfer += $input->readListEnd(); } else { @@ -9055,9 +9380,9 @@ class AddPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter342) + foreach ($this->partitions as $iter370) { - $xfer += $iter342->write($output); + $xfer += $iter370->write($output); } } $output->writeListEnd(); @@ -9180,15 +9505,15 @@ class AddPartitionsRequest { case 3: if ($ftype == TType::LST) { $this->parts = array(); - $_size343 = 0; - $_etype346 = 0; - $xfer += $input->readListBegin($_etype346, $_size343); - for ($_i347 = 0; $_i347 < $_size343; ++$_i347) + $_size371 = 0; + $_etype374 = 0; + $xfer += $input->readListBegin($_etype374, $_size371); + for ($_i375 = 0; $_i375 < $_size371; ++$_i375) { - $elem348 = null; - $elem348 = new \metastore\Partition(); - $xfer += $elem348->read($input); - $this->parts []= $elem348; + $elem376 = null; + $elem376 = new \metastore\Partition(); + $xfer += $elem376->read($input); + $this->parts []= $elem376; } $xfer += $input->readListEnd(); } else { @@ -9240,9 +9565,9 @@ class AddPartitionsRequest { { $output->writeListBegin(TType::STRUCT, count($this->parts)); { - foreach ($this->parts as $iter349) + foreach ($this->parts as $iter377) { - $xfer += $iter349->write($output); + $xfer += $iter377->write($output); } } $output->writeListEnd(); @@ -9317,15 +9642,15 @@ class DropPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size350 = 0; - $_etype353 = 0; - $xfer += $input->readListBegin($_etype353, $_size350); - for ($_i354 = 0; $_i354 < $_size350; ++$_i354) + $_size378 = 0; + $_etype381 = 0; + $xfer += $input->readListBegin($_etype381, $_size378); + for ($_i382 = 0; $_i382 < $_size378; ++$_i382) { - $elem355 = null; - $elem355 = new \metastore\Partition(); - $xfer += $elem355->read($input); - $this->partitions []= $elem355; + $elem383 = null; + $elem383 = new \metastore\Partition(); + $xfer += $elem383->read($input); + $this->partitions []= $elem383; } $xfer += $input->readListEnd(); } else { @@ -9353,9 +9678,9 @@ class DropPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter356) + foreach ($this->partitions as $iter384) { - $xfer += $iter356->write($output); + $xfer += $iter384->write($output); } } $output->writeListEnd(); @@ -9533,14 +9858,14 @@ class RequestPartsSpec { case 1: if ($ftype == TType::LST) { $this->names = array(); - $_size357 = 0; - $_etype360 = 0; - $xfer += $input->readListBegin($_etype360, $_size357); - for ($_i361 = 0; $_i361 < $_size357; ++$_i361) + $_size385 = 0; + $_etype388 = 0; + $xfer += $input->readListBegin($_etype388, $_size385); + for ($_i389 = 0; $_i389 < $_size385; ++$_i389) { - $elem362 = null; - $xfer += $input->readString($elem362); - $this->names []= $elem362; + $elem390 = null; + $xfer += $input->readString($elem390); + $this->names []= $elem390; } $xfer += $input->readListEnd(); } else { @@ -9550,15 +9875,15 @@ class RequestPartsSpec { case 2: if ($ftype == TType::LST) { $this->exprs = array(); - $_size363 = 0; - $_etype366 = 0; - $xfer += $input->readListBegin($_etype366, $_size363); - for ($_i367 = 0; $_i367 < $_size363; ++$_i367) + $_size391 = 0; + $_etype394 = 0; + $xfer += $input->readListBegin($_etype394, $_size391); + for ($_i395 = 0; $_i395 < $_size391; ++$_i395) { - $elem368 = null; - $elem368 = new \metastore\DropPartitionsExpr(); - $xfer += $elem368->read($input); - $this->exprs []= $elem368; + $elem396 = null; + $elem396 = new \metastore\DropPartitionsExpr(); + $xfer += $elem396->read($input); + $this->exprs []= $elem396; } $xfer += $input->readListEnd(); } else { @@ -9586,9 +9911,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter369) + foreach ($this->names as $iter397) { - $xfer += $output->writeString($iter369); + $xfer += $output->writeString($iter397); } } $output->writeListEnd(); @@ -9603,9 +9928,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRUCT, count($this->exprs)); { - foreach ($this->exprs as $iter370) + foreach ($this->exprs as $iter398) { - $xfer += $iter370->write($output); + $xfer += $iter398->write($output); } } $output->writeListEnd(); @@ -10140,15 +10465,15 @@ class Function { case 8: if ($ftype == TType::LST) { $this->resourceUris = array(); - $_size371 = 0; - $_etype374 = 0; - $xfer += $input->readListBegin($_etype374, $_size371); - for ($_i375 = 0; $_i375 < $_size371; ++$_i375) + $_size399 = 0; + $_etype402 = 0; + $xfer += $input->readListBegin($_etype402, $_size399); + for ($_i403 = 0; $_i403 < $_size399; ++$_i403) { - $elem376 = null; - $elem376 = new \metastore\ResourceUri(); - $xfer += $elem376->read($input); - $this->resourceUris []= $elem376; + $elem404 = null; + $elem404 = new \metastore\ResourceUri(); + $xfer += $elem404->read($input); + $this->resourceUris []= $elem404; } $xfer += $input->readListEnd(); } else { @@ -10211,9 +10536,9 @@ class Function { { $output->writeListBegin(TType::STRUCT, count($this->resourceUris)); { - foreach ($this->resourceUris as $iter377) + foreach ($this->resourceUris as $iter405) { - $xfer += $iter377->write($output); + $xfer += $iter405->write($output); } } $output->writeListEnd(); @@ -10509,15 +10834,15 @@ class GetOpenTxnsInfoResponse { case 2: if ($ftype == TType::LST) { $this->open_txns = array(); - $_size378 = 0; - $_etype381 = 0; - $xfer += $input->readListBegin($_etype381, $_size378); - for ($_i382 = 0; $_i382 < $_size378; ++$_i382) + $_size406 = 0; + $_etype409 = 0; + $xfer += $input->readListBegin($_etype409, $_size406); + for ($_i410 = 0; $_i410 < $_size406; ++$_i410) { - $elem383 = null; - $elem383 = new \metastore\TxnInfo(); - $xfer += $elem383->read($input); - $this->open_txns []= $elem383; + $elem411 = null; + $elem411 = new \metastore\TxnInfo(); + $xfer += $elem411->read($input); + $this->open_txns []= $elem411; } $xfer += $input->readListEnd(); } else { @@ -10550,9 +10875,9 @@ class GetOpenTxnsInfoResponse { { $output->writeListBegin(TType::STRUCT, count($this->open_txns)); { - foreach ($this->open_txns as $iter384) + foreach ($this->open_txns as $iter412) { - $xfer += $iter384->write($output); + $xfer += $iter412->write($output); } } $output->writeListEnd(); @@ -10634,17 +10959,17 @@ class GetOpenTxnsResponse { case 2: if ($ftype == TType::SET) { $this->open_txns = array(); - $_size385 = 0; - $_etype388 = 0; - $xfer += $input->readSetBegin($_etype388, $_size385); - for ($_i389 = 0; $_i389 < $_size385; ++$_i389) + $_size413 = 0; + $_etype416 = 0; + $xfer += $input->readSetBegin($_etype416, $_size413); + for ($_i417 = 0; $_i417 < $_size413; ++$_i417) { - $elem390 = null; - $xfer += $input->readI64($elem390); - if (is_scalar($elem390)) { - $this->open_txns[$elem390] = true; + $elem418 = null; + $xfer += $input->readI64($elem418); + if (is_scalar($elem418)) { + $this->open_txns[$elem418] = true; } else { - $this->open_txns []= $elem390; + $this->open_txns []= $elem418; } } $xfer += $input->readSetEnd(); @@ -10678,12 +11003,12 @@ class GetOpenTxnsResponse { { $output->writeSetBegin(TType::I64, count($this->open_txns)); { - foreach ($this->open_txns as $iter391 => $iter392) + foreach ($this->open_txns as $iter419 => $iter420) { - if (is_scalar($iter392)) { - $xfer += $output->writeI64($iter391); + if (is_scalar($iter420)) { + $xfer += $output->writeI64($iter419); } else { - $xfer += $output->writeI64($iter392); + $xfer += $output->writeI64($iter420); } } } @@ -10892,14 +11217,14 @@ class OpenTxnsResponse { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size393 = 0; - $_etype396 = 0; - $xfer += $input->readListBegin($_etype396, $_size393); - for ($_i397 = 0; $_i397 < $_size393; ++$_i397) + $_size421 = 0; + $_etype424 = 0; + $xfer += $input->readListBegin($_etype424, $_size421); + for ($_i425 = 0; $_i425 < $_size421; ++$_i425) { - $elem398 = null; - $xfer += $input->readI64($elem398); - $this->txn_ids []= $elem398; + $elem426 = null; + $xfer += $input->readI64($elem426); + $this->txn_ids []= $elem426; } $xfer += $input->readListEnd(); } else { @@ -10927,9 +11252,9 @@ class OpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter399) + foreach ($this->txn_ids as $iter427) { - $xfer += $output->writeI64($iter399); + $xfer += $output->writeI64($iter427); } } $output->writeListEnd(); @@ -11355,15 +11680,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size400 = 0; - $_etype403 = 0; - $xfer += $input->readListBegin($_etype403, $_size400); - for ($_i404 = 0; $_i404 < $_size400; ++$_i404) + $_size428 = 0; + $_etype431 = 0; + $xfer += $input->readListBegin($_etype431, $_size428); + for ($_i432 = 0; $_i432 < $_size428; ++$_i432) { - $elem405 = null; - $elem405 = new \metastore\LockComponent(); - $xfer += $elem405->read($input); - $this->component []= $elem405; + $elem433 = null; + $elem433 = new \metastore\LockComponent(); + $xfer += $elem433->read($input); + $this->component []= $elem433; } $xfer += $input->readListEnd(); } else { @@ -11419,9 +11744,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter406) + foreach ($this->component as $iter434) { - $xfer += $iter406->write($output); + $xfer += $iter434->write($output); } } $output->writeListEnd(); @@ -12364,15 +12689,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size407 = 0; - $_etype410 = 0; - $xfer += $input->readListBegin($_etype410, $_size407); - for ($_i411 = 0; $_i411 < $_size407; ++$_i411) + $_size435 = 0; + $_etype438 = 0; + $xfer += $input->readListBegin($_etype438, $_size435); + for ($_i439 = 0; $_i439 < $_size435; ++$_i439) { - $elem412 = null; - $elem412 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem412->read($input); - $this->locks []= $elem412; + $elem440 = null; + $elem440 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem440->read($input); + $this->locks []= $elem440; } $xfer += $input->readListEnd(); } else { @@ -12400,9 +12725,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter413) + foreach ($this->locks as $iter441) { - $xfer += $iter413->write($output); + $xfer += $iter441->write($output); } } $output->writeListEnd(); @@ -12677,17 +13002,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size414 = 0; - $_etype417 = 0; - $xfer += $input->readSetBegin($_etype417, $_size414); - for ($_i418 = 0; $_i418 < $_size414; ++$_i418) + $_size442 = 0; + $_etype445 = 0; + $xfer += $input->readSetBegin($_etype445, $_size442); + for ($_i446 = 0; $_i446 < $_size442; ++$_i446) { - $elem419 = null; - $xfer += $input->readI64($elem419); - if (is_scalar($elem419)) { - $this->aborted[$elem419] = true; + $elem447 = null; + $xfer += $input->readI64($elem447); + if (is_scalar($elem447)) { + $this->aborted[$elem447] = true; } else { - $this->aborted []= $elem419; + $this->aborted []= $elem447; } } $xfer += $input->readSetEnd(); @@ -12698,17 +13023,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size420 = 0; - $_etype423 = 0; - $xfer += $input->readSetBegin($_etype423, $_size420); - for ($_i424 = 0; $_i424 < $_size420; ++$_i424) + $_size448 = 0; + $_etype451 = 0; + $xfer += $input->readSetBegin($_etype451, $_size448); + for ($_i452 = 0; $_i452 < $_size448; ++$_i452) { - $elem425 = null; - $xfer += $input->readI64($elem425); - if (is_scalar($elem425)) { - $this->nosuch[$elem425] = true; + $elem453 = null; + $xfer += $input->readI64($elem453); + if (is_scalar($elem453)) { + $this->nosuch[$elem453] = true; } else { - $this->nosuch []= $elem425; + $this->nosuch []= $elem453; } } $xfer += $input->readSetEnd(); @@ -12737,12 +13062,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter426 => $iter427) + foreach ($this->aborted as $iter454 => $iter455) { - if (is_scalar($iter427)) { - $xfer += $output->writeI64($iter426); + if (is_scalar($iter455)) { + $xfer += $output->writeI64($iter454); } else { - $xfer += $output->writeI64($iter427); + $xfer += $output->writeI64($iter455); } } } @@ -12758,12 +13083,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter428 => $iter429) + foreach ($this->nosuch as $iter456 => $iter457) { - if (is_scalar($iter429)) { - $xfer += $output->writeI64($iter428); + if (is_scalar($iter457)) { + $xfer += $output->writeI64($iter456); } else { - $xfer += $output->writeI64($iter429); + $xfer += $output->writeI64($iter457); } } } @@ -13374,15 +13699,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size430 = 0; - $_etype433 = 0; - $xfer += $input->readListBegin($_etype433, $_size430); - for ($_i434 = 0; $_i434 < $_size430; ++$_i434) + $_size458 = 0; + $_etype461 = 0; + $xfer += $input->readListBegin($_etype461, $_size458); + for ($_i462 = 0; $_i462 < $_size458; ++$_i462) { - $elem435 = null; - $elem435 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem435->read($input); - $this->compacts []= $elem435; + $elem463 = null; + $elem463 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem463->read($input); + $this->compacts []= $elem463; } $xfer += $input->readListEnd(); } else { @@ -13410,9 +13735,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter436) + foreach ($this->compacts as $iter464) { - $xfer += $iter436->write($output); + $xfer += $iter464->write($output); } } $output->writeListEnd(); @@ -13530,14 +13855,14 @@ class AddDynamicPartitions { case 4: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size437 = 0; - $_etype440 = 0; - $xfer += $input->readListBegin($_etype440, $_size437); - for ($_i441 = 0; $_i441 < $_size437; ++$_i441) + $_size465 = 0; + $_etype468 = 0; + $xfer += $input->readListBegin($_etype468, $_size465); + for ($_i469 = 0; $_i469 < $_size465; ++$_i469) { - $elem442 = null; - $xfer += $input->readString($elem442); - $this->partitionnames []= $elem442; + $elem470 = null; + $xfer += $input->readString($elem470); + $this->partitionnames []= $elem470; } $xfer += $input->readListEnd(); } else { @@ -13580,9 +13905,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter443) + foreach ($this->partitionnames as $iter471) { - $xfer += $output->writeString($iter443); + $xfer += $output->writeString($iter471); } } $output->writeListEnd(); @@ -13935,15 +14260,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size444 = 0; - $_etype447 = 0; - $xfer += $input->readListBegin($_etype447, $_size444); - for ($_i448 = 0; $_i448 < $_size444; ++$_i448) + $_size472 = 0; + $_etype475 = 0; + $xfer += $input->readListBegin($_etype475, $_size472); + for ($_i476 = 0; $_i476 < $_size472; ++$_i476) { - $elem449 = null; - $elem449 = new \metastore\NotificationEvent(); - $xfer += $elem449->read($input); - $this->events []= $elem449; + $elem477 = null; + $elem477 = new \metastore\NotificationEvent(); + $xfer += $elem477->read($input); + $this->events []= $elem477; } $xfer += $input->readListEnd(); } else { @@ -13971,9 +14296,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter450) + foreach ($this->events as $iter478) { - $xfer += $iter450->write($output); + $xfer += $iter478->write($output); } } $output->writeListEnd(); @@ -14112,14 +14437,14 @@ class InsertEventRequestData { case 1: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size451 = 0; - $_etype454 = 0; - $xfer += $input->readListBegin($_etype454, $_size451); - for ($_i455 = 0; $_i455 < $_size451; ++$_i455) + $_size479 = 0; + $_etype482 = 0; + $xfer += $input->readListBegin($_etype482, $_size479); + for ($_i483 = 0; $_i483 < $_size479; ++$_i483) { - $elem456 = null; - $xfer += $input->readString($elem456); - $this->filesAdded []= $elem456; + $elem484 = null; + $xfer += $input->readString($elem484); + $this->filesAdded []= $elem484; } $xfer += $input->readListEnd(); } else { @@ -14147,9 +14472,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter457) + foreach ($this->filesAdded as $iter485) { - $xfer += $output->writeString($iter457); + $xfer += $output->writeString($iter485); } } $output->writeListEnd(); @@ -14367,14 +14692,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size458 = 0; - $_etype461 = 0; - $xfer += $input->readListBegin($_etype461, $_size458); - for ($_i462 = 0; $_i462 < $_size458; ++$_i462) + $_size486 = 0; + $_etype489 = 0; + $xfer += $input->readListBegin($_etype489, $_size486); + for ($_i490 = 0; $_i490 < $_size486; ++$_i490) { - $elem463 = null; - $xfer += $input->readString($elem463); - $this->partitionVals []= $elem463; + $elem491 = null; + $xfer += $input->readString($elem491); + $this->partitionVals []= $elem491; } $xfer += $input->readListEnd(); } else { @@ -14425,9 +14750,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter464) + foreach ($this->partitionVals as $iter492) { - $xfer += $output->writeString($iter464); + $xfer += $output->writeString($iter492); } } $output->writeListEnd(); @@ -14805,18 +15130,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size465 = 0; - $_ktype466 = 0; - $_vtype467 = 0; - $xfer += $input->readMapBegin($_ktype466, $_vtype467, $_size465); - for ($_i469 = 0; $_i469 < $_size465; ++$_i469) + $_size493 = 0; + $_ktype494 = 0; + $_vtype495 = 0; + $xfer += $input->readMapBegin($_ktype494, $_vtype495, $_size493); + for ($_i497 = 0; $_i497 < $_size493; ++$_i497) { - $key470 = 0; - $val471 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key470); - $val471 = new \metastore\MetadataPpdResult(); - $xfer += $val471->read($input); - $this->metadata[$key470] = $val471; + $key498 = 0; + $val499 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key498); + $val499 = new \metastore\MetadataPpdResult(); + $xfer += $val499->read($input); + $this->metadata[$key498] = $val499; } $xfer += $input->readMapEnd(); } else { @@ -14851,10 +15176,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter472 => $viter473) + foreach ($this->metadata as $kiter500 => $viter501) { - $xfer += $output->writeI64($kiter472); - $xfer += $viter473->write($output); + $xfer += $output->writeI64($kiter500); + $xfer += $viter501->write($output); } } $output->writeMapEnd(); @@ -14956,14 +15281,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size474 = 0; - $_etype477 = 0; - $xfer += $input->readListBegin($_etype477, $_size474); - for ($_i478 = 0; $_i478 < $_size474; ++$_i478) + $_size502 = 0; + $_etype505 = 0; + $xfer += $input->readListBegin($_etype505, $_size502); + for ($_i506 = 0; $_i506 < $_size502; ++$_i506) { - $elem479 = null; - $xfer += $input->readI64($elem479); - $this->fileIds []= $elem479; + $elem507 = null; + $xfer += $input->readI64($elem507); + $this->fileIds []= $elem507; } $xfer += $input->readListEnd(); } else { @@ -15012,9 +15337,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter480) + foreach ($this->fileIds as $iter508) { - $xfer += $output->writeI64($iter480); + $xfer += $output->writeI64($iter508); } } $output->writeListEnd(); @@ -15108,17 +15433,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size481 = 0; - $_ktype482 = 0; - $_vtype483 = 0; - $xfer += $input->readMapBegin($_ktype482, $_vtype483, $_size481); - for ($_i485 = 0; $_i485 < $_size481; ++$_i485) + $_size509 = 0; + $_ktype510 = 0; + $_vtype511 = 0; + $xfer += $input->readMapBegin($_ktype510, $_vtype511, $_size509); + for ($_i513 = 0; $_i513 < $_size509; ++$_i513) { - $key486 = 0; - $val487 = ''; - $xfer += $input->readI64($key486); - $xfer += $input->readString($val487); - $this->metadata[$key486] = $val487; + $key514 = 0; + $val515 = ''; + $xfer += $input->readI64($key514); + $xfer += $input->readString($val515); + $this->metadata[$key514] = $val515; } $xfer += $input->readMapEnd(); } else { @@ -15153,10 +15478,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter488 => $viter489) + foreach ($this->metadata as $kiter516 => $viter517) { - $xfer += $output->writeI64($kiter488); - $xfer += $output->writeString($viter489); + $xfer += $output->writeI64($kiter516); + $xfer += $output->writeString($viter517); } } $output->writeMapEnd(); @@ -15225,14 +15550,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size490 = 0; - $_etype493 = 0; - $xfer += $input->readListBegin($_etype493, $_size490); - for ($_i494 = 0; $_i494 < $_size490; ++$_i494) + $_size518 = 0; + $_etype521 = 0; + $xfer += $input->readListBegin($_etype521, $_size518); + for ($_i522 = 0; $_i522 < $_size518; ++$_i522) { - $elem495 = null; - $xfer += $input->readI64($elem495); - $this->fileIds []= $elem495; + $elem523 = null; + $xfer += $input->readI64($elem523); + $this->fileIds []= $elem523; } $xfer += $input->readListEnd(); } else { @@ -15260,9 +15585,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter496) + foreach ($this->fileIds as $iter524) { - $xfer += $output->writeI64($iter496); + $xfer += $output->writeI64($iter524); } } $output->writeListEnd(); @@ -15402,14 +15727,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size497 = 0; - $_etype500 = 0; - $xfer += $input->readListBegin($_etype500, $_size497); - for ($_i501 = 0; $_i501 < $_size497; ++$_i501) + $_size525 = 0; + $_etype528 = 0; + $xfer += $input->readListBegin($_etype528, $_size525); + for ($_i529 = 0; $_i529 < $_size525; ++$_i529) { - $elem502 = null; - $xfer += $input->readI64($elem502); - $this->fileIds []= $elem502; + $elem530 = null; + $xfer += $input->readI64($elem530); + $this->fileIds []= $elem530; } $xfer += $input->readListEnd(); } else { @@ -15419,14 +15744,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size503 = 0; - $_etype506 = 0; - $xfer += $input->readListBegin($_etype506, $_size503); - for ($_i507 = 0; $_i507 < $_size503; ++$_i507) + $_size531 = 0; + $_etype534 = 0; + $xfer += $input->readListBegin($_etype534, $_size531); + for ($_i535 = 0; $_i535 < $_size531; ++$_i535) { - $elem508 = null; - $xfer += $input->readString($elem508); - $this->metadata []= $elem508; + $elem536 = null; + $xfer += $input->readString($elem536); + $this->metadata []= $elem536; } $xfer += $input->readListEnd(); } else { @@ -15461,9 +15786,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter509) + foreach ($this->fileIds as $iter537) { - $xfer += $output->writeI64($iter509); + $xfer += $output->writeI64($iter537); } } $output->writeListEnd(); @@ -15478,9 +15803,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter510) + foreach ($this->metadata as $iter538) { - $xfer += $output->writeString($iter510); + $xfer += $output->writeString($iter538); } } $output->writeListEnd(); @@ -15599,14 +15924,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size511 = 0; - $_etype514 = 0; - $xfer += $input->readListBegin($_etype514, $_size511); - for ($_i515 = 0; $_i515 < $_size511; ++$_i515) + $_size539 = 0; + $_etype542 = 0; + $xfer += $input->readListBegin($_etype542, $_size539); + for ($_i543 = 0; $_i543 < $_size539; ++$_i543) { - $elem516 = null; - $xfer += $input->readI64($elem516); - $this->fileIds []= $elem516; + $elem544 = null; + $xfer += $input->readI64($elem544); + $this->fileIds []= $elem544; } $xfer += $input->readListEnd(); } else { @@ -15634,9 +15959,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter517) + foreach ($this->fileIds as $iter545) { - $xfer += $output->writeI64($iter517); + $xfer += $output->writeI64($iter545); } } $output->writeListEnd(); @@ -15920,15 +16245,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size518 = 0; - $_etype521 = 0; - $xfer += $input->readListBegin($_etype521, $_size518); - for ($_i522 = 0; $_i522 < $_size518; ++$_i522) + $_size546 = 0; + $_etype549 = 0; + $xfer += $input->readListBegin($_etype549, $_size546); + for ($_i550 = 0; $_i550 < $_size546; ++$_i550) { - $elem523 = null; - $elem523 = new \metastore\Function(); - $xfer += $elem523->read($input); - $this->functions []= $elem523; + $elem551 = null; + $elem551 = new \metastore\Function(); + $xfer += $elem551->read($input); + $this->functions []= $elem551; } $xfer += $input->readListEnd(); } else { @@ -15956,9 +16281,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter524) + foreach ($this->functions as $iter552) { - $xfer += $iter524->write($output); + $xfer += $iter552->write($output); } } $output->writeListEnd(); diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index ac8d8a4..ed86e76 100644 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -10879,10 +10879,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype525, _size522) = iprot.readListBegin() - for _i526 in xrange(_size522): - _elem527 = iprot.readString() - self.success.append(_elem527) + (_etype553, _size550) = iprot.readListBegin() + for _i554 in xrange(_size550): + _elem555 = iprot.readString() + self.success.append(_elem555) iprot.readListEnd() else: iprot.skip(ftype) @@ -10905,8 +10905,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 iter528 in self.success: - oprot.writeString(iter528) + for iter556 in self.success: + oprot.writeString(iter556) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11011,10 +11011,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype532, _size529) = iprot.readListBegin() - for _i533 in xrange(_size529): - _elem534 = iprot.readString() - self.success.append(_elem534) + (_etype560, _size557) = iprot.readListBegin() + for _i561 in xrange(_size557): + _elem562 = iprot.readString() + self.success.append(_elem562) iprot.readListEnd() else: iprot.skip(ftype) @@ -11037,8 +11037,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 iter535 in self.success: - oprot.writeString(iter535) + for iter563 in self.success: + oprot.writeString(iter563) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -11808,12 +11808,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype537, _vtype538, _size536 ) = iprot.readMapBegin() - for _i540 in xrange(_size536): - _key541 = iprot.readString() - _val542 = Type() - _val542.read(iprot) - self.success[_key541] = _val542 + (_ktype565, _vtype566, _size564 ) = iprot.readMapBegin() + for _i568 in xrange(_size564): + _key569 = iprot.readString() + _val570 = Type() + _val570.read(iprot) + self.success[_key569] = _val570 iprot.readMapEnd() else: iprot.skip(ftype) @@ -11836,9 +11836,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 kiter543,viter544 in self.success.items(): - oprot.writeString(kiter543) - viter544.write(oprot) + for kiter571,viter572 in self.success.items(): + oprot.writeString(kiter571) + viter572.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -11981,11 +11981,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype548, _size545) = iprot.readListBegin() - for _i549 in xrange(_size545): - _elem550 = FieldSchema() - _elem550.read(iprot) - self.success.append(_elem550) + (_etype576, _size573) = iprot.readListBegin() + for _i577 in xrange(_size573): + _elem578 = FieldSchema() + _elem578.read(iprot) + self.success.append(_elem578) iprot.readListEnd() else: iprot.skip(ftype) @@ -12020,8 +12020,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 iter551 in self.success: - iter551.write(oprot) + for iter579 in self.success: + iter579.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12188,11 +12188,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype555, _size552) = iprot.readListBegin() - for _i556 in xrange(_size552): - _elem557 = FieldSchema() - _elem557.read(iprot) - self.success.append(_elem557) + (_etype583, _size580) = iprot.readListBegin() + for _i584 in xrange(_size580): + _elem585 = FieldSchema() + _elem585.read(iprot) + self.success.append(_elem585) iprot.readListEnd() else: iprot.skip(ftype) @@ -12227,8 +12227,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 iter558 in self.success: - iter558.write(oprot) + for iter586 in self.success: + iter586.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12381,11 +12381,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype562, _size559) = iprot.readListBegin() - for _i563 in xrange(_size559): - _elem564 = FieldSchema() - _elem564.read(iprot) - self.success.append(_elem564) + (_etype590, _size587) = iprot.readListBegin() + for _i591 in xrange(_size587): + _elem592 = FieldSchema() + _elem592.read(iprot) + self.success.append(_elem592) iprot.readListEnd() else: iprot.skip(ftype) @@ -12420,8 +12420,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 iter565 in self.success: - iter565.write(oprot) + for iter593 in self.success: + iter593.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -12588,11 +12588,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype569, _size566) = iprot.readListBegin() - for _i570 in xrange(_size566): - _elem571 = FieldSchema() - _elem571.read(iprot) - self.success.append(_elem571) + (_etype597, _size594) = iprot.readListBegin() + for _i598 in xrange(_size594): + _elem599 = FieldSchema() + _elem599.read(iprot) + self.success.append(_elem599) iprot.readListEnd() else: iprot.skip(ftype) @@ -12627,8 +12627,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 iter572 in self.success: - iter572.write(oprot) + for iter600 in self.success: + iter600.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13493,10 +13493,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype576, _size573) = iprot.readListBegin() - for _i577 in xrange(_size573): - _elem578 = iprot.readString() - self.success.append(_elem578) + (_etype604, _size601) = iprot.readListBegin() + for _i605 in xrange(_size601): + _elem606 = iprot.readString() + self.success.append(_elem606) iprot.readListEnd() else: iprot.skip(ftype) @@ -13519,8 +13519,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 iter579 in self.success: - oprot.writeString(iter579) + for iter607 in self.success: + oprot.writeString(iter607) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13593,10 +13593,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype583, _size580) = iprot.readListBegin() - for _i584 in xrange(_size580): - _elem585 = iprot.readString() - self.tbl_types.append(_elem585) + (_etype611, _size608) = iprot.readListBegin() + for _i612 in xrange(_size608): + _elem613 = iprot.readString() + self.tbl_types.append(_elem613) iprot.readListEnd() else: iprot.skip(ftype) @@ -13621,8 +13621,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 iter586 in self.tbl_types: - oprot.writeString(iter586) + for iter614 in self.tbl_types: + oprot.writeString(iter614) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13678,11 +13678,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype590, _size587) = iprot.readListBegin() - for _i591 in xrange(_size587): - _elem592 = TableMeta() - _elem592.read(iprot) - self.success.append(_elem592) + (_etype618, _size615) = iprot.readListBegin() + for _i619 in xrange(_size615): + _elem620 = TableMeta() + _elem620.read(iprot) + self.success.append(_elem620) iprot.readListEnd() else: iprot.skip(ftype) @@ -13705,8 +13705,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 iter593 in self.success: - iter593.write(oprot) + for iter621 in self.success: + iter621.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13830,10 +13830,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype597, _size594) = iprot.readListBegin() - for _i598 in xrange(_size594): - _elem599 = iprot.readString() - self.success.append(_elem599) + (_etype625, _size622) = iprot.readListBegin() + for _i626 in xrange(_size622): + _elem627 = iprot.readString() + self.success.append(_elem627) iprot.readListEnd() else: iprot.skip(ftype) @@ -13856,8 +13856,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 iter600 in self.success: - oprot.writeString(iter600) + for iter628 in self.success: + oprot.writeString(iter628) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14093,10 +14093,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype604, _size601) = iprot.readListBegin() - for _i605 in xrange(_size601): - _elem606 = iprot.readString() - self.tbl_names.append(_elem606) + (_etype632, _size629) = iprot.readListBegin() + for _i633 in xrange(_size629): + _elem634 = iprot.readString() + self.tbl_names.append(_elem634) iprot.readListEnd() else: iprot.skip(ftype) @@ -14117,8 +14117,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 iter607 in self.tbl_names: - oprot.writeString(iter607) + for iter635 in self.tbl_names: + oprot.writeString(iter635) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14179,11 +14179,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype611, _size608) = iprot.readListBegin() - for _i612 in xrange(_size608): - _elem613 = Table() - _elem613.read(iprot) - self.success.append(_elem613) + (_etype639, _size636) = iprot.readListBegin() + for _i640 in xrange(_size636): + _elem641 = Table() + _elem641.read(iprot) + self.success.append(_elem641) iprot.readListEnd() else: iprot.skip(ftype) @@ -14218,8 +14218,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 iter614 in self.success: - iter614.write(oprot) + for iter642 in self.success: + iter642.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14385,10 +14385,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype618, _size615) = iprot.readListBegin() - for _i619 in xrange(_size615): - _elem620 = iprot.readString() - self.success.append(_elem620) + (_etype646, _size643) = iprot.readListBegin() + for _i647 in xrange(_size643): + _elem648 = iprot.readString() + self.success.append(_elem648) iprot.readListEnd() else: iprot.skip(ftype) @@ -14423,8 +14423,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 iter621 in self.success: - oprot.writeString(iter621) + for iter649 in self.success: + oprot.writeString(iter649) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15394,11 +15394,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype625, _size622) = iprot.readListBegin() - for _i626 in xrange(_size622): - _elem627 = Partition() - _elem627.read(iprot) - self.new_parts.append(_elem627) + (_etype653, _size650) = iprot.readListBegin() + for _i654 in xrange(_size650): + _elem655 = Partition() + _elem655.read(iprot) + self.new_parts.append(_elem655) iprot.readListEnd() else: iprot.skip(ftype) @@ -15415,8 +15415,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 iter628 in self.new_parts: - iter628.write(oprot) + for iter656 in self.new_parts: + iter656.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15574,11 +15574,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype632, _size629) = iprot.readListBegin() - for _i633 in xrange(_size629): - _elem634 = PartitionSpec() - _elem634.read(iprot) - self.new_parts.append(_elem634) + (_etype660, _size657) = iprot.readListBegin() + for _i661 in xrange(_size657): + _elem662 = PartitionSpec() + _elem662.read(iprot) + self.new_parts.append(_elem662) iprot.readListEnd() else: iprot.skip(ftype) @@ -15595,8 +15595,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 iter635 in self.new_parts: - iter635.write(oprot) + for iter663 in self.new_parts: + iter663.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15770,10 +15770,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype639, _size636) = iprot.readListBegin() - for _i640 in xrange(_size636): - _elem641 = iprot.readString() - self.part_vals.append(_elem641) + (_etype667, _size664) = iprot.readListBegin() + for _i668 in xrange(_size664): + _elem669 = iprot.readString() + self.part_vals.append(_elem669) iprot.readListEnd() else: iprot.skip(ftype) @@ -15798,8 +15798,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter642 in self.part_vals: - oprot.writeString(iter642) + for iter670 in self.part_vals: + oprot.writeString(iter670) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16152,10 +16152,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype646, _size643) = iprot.readListBegin() - for _i647 in xrange(_size643): - _elem648 = iprot.readString() - self.part_vals.append(_elem648) + (_etype674, _size671) = iprot.readListBegin() + for _i675 in xrange(_size671): + _elem676 = iprot.readString() + self.part_vals.append(_elem676) iprot.readListEnd() else: iprot.skip(ftype) @@ -16186,8 +16186,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter649 in self.part_vals: - oprot.writeString(iter649) + for iter677 in self.part_vals: + oprot.writeString(iter677) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -16782,10 +16782,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype653, _size650) = iprot.readListBegin() - for _i654 in xrange(_size650): - _elem655 = iprot.readString() - self.part_vals.append(_elem655) + (_etype681, _size678) = iprot.readListBegin() + for _i682 in xrange(_size678): + _elem683 = iprot.readString() + self.part_vals.append(_elem683) iprot.readListEnd() else: iprot.skip(ftype) @@ -16815,8 +16815,8 @@ def write(self, oprot): if self.part_vals is not None: oprot.writeFieldBegin('part_vals', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.part_vals)) - for iter656 in self.part_vals: - oprot.writeString(iter656) + for iter684 in self.part_vals: + oprot.writeString(iter684) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -16989,10 +16989,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype660, _size657) = iprot.readListBegin() - for _i661 in xrange(_size657): - _elem662 = iprot.readString() - self.part_vals.append(_elem662) + (_etype688, _size685) = iprot.readListBegin() + for _i689 in xrange(_size685): + _elem690 = iprot.readString() + self.part_vals.append(_elem690) iprot.readListEnd() else: iprot.skip(ftype) @@ -17028,8 +17028,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 iter663 in self.part_vals: - oprot.writeString(iter663) + for iter691 in self.part_vals: + oprot.writeString(iter691) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -17766,10 +17766,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype667, _size664) = iprot.readListBegin() - for _i668 in xrange(_size664): - _elem669 = iprot.readString() - self.part_vals.append(_elem669) + (_etype695, _size692) = iprot.readListBegin() + for _i696 in xrange(_size692): + _elem697 = iprot.readString() + self.part_vals.append(_elem697) iprot.readListEnd() else: iprot.skip(ftype) @@ -17794,8 +17794,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 iter670 in self.part_vals: - oprot.writeString(iter670) + for iter698 in self.part_vals: + oprot.writeString(iter698) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17954,11 +17954,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype672, _vtype673, _size671 ) = iprot.readMapBegin() - for _i675 in xrange(_size671): - _key676 = iprot.readString() - _val677 = iprot.readString() - self.partitionSpecs[_key676] = _val677 + (_ktype700, _vtype701, _size699 ) = iprot.readMapBegin() + for _i703 in xrange(_size699): + _key704 = iprot.readString() + _val705 = iprot.readString() + self.partitionSpecs[_key704] = _val705 iprot.readMapEnd() else: iprot.skip(ftype) @@ -17995,9 +17995,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 kiter678,viter679 in self.partitionSpecs.items(): - oprot.writeString(kiter678) - oprot.writeString(viter679) + for kiter706,viter707 in self.partitionSpecs.items(): + oprot.writeString(kiter706) + oprot.writeString(viter707) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -18202,11 +18202,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype681, _vtype682, _size680 ) = iprot.readMapBegin() - for _i684 in xrange(_size680): - _key685 = iprot.readString() - _val686 = iprot.readString() - self.partitionSpecs[_key685] = _val686 + (_ktype709, _vtype710, _size708 ) = iprot.readMapBegin() + for _i712 in xrange(_size708): + _key713 = iprot.readString() + _val714 = iprot.readString() + self.partitionSpecs[_key713] = _val714 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18243,9 +18243,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 kiter687,viter688 in self.partitionSpecs.items(): - oprot.writeString(kiter687) - oprot.writeString(viter688) + for kiter715,viter716 in self.partitionSpecs.items(): + oprot.writeString(kiter715) + oprot.writeString(viter716) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -18328,11 +18328,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype692, _size689) = iprot.readListBegin() - for _i693 in xrange(_size689): - _elem694 = Partition() - _elem694.read(iprot) - self.success.append(_elem694) + (_etype720, _size717) = iprot.readListBegin() + for _i721 in xrange(_size717): + _elem722 = Partition() + _elem722.read(iprot) + self.success.append(_elem722) iprot.readListEnd() else: iprot.skip(ftype) @@ -18373,8 +18373,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 iter695 in self.success: - iter695.write(oprot) + for iter723 in self.success: + iter723.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18468,10 +18468,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype699, _size696) = iprot.readListBegin() - for _i700 in xrange(_size696): - _elem701 = iprot.readString() - self.part_vals.append(_elem701) + (_etype727, _size724) = iprot.readListBegin() + for _i728 in xrange(_size724): + _elem729 = iprot.readString() + self.part_vals.append(_elem729) iprot.readListEnd() else: iprot.skip(ftype) @@ -18483,10 +18483,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype705, _size702) = iprot.readListBegin() - for _i706 in xrange(_size702): - _elem707 = iprot.readString() - self.group_names.append(_elem707) + (_etype733, _size730) = iprot.readListBegin() + for _i734 in xrange(_size730): + _elem735 = iprot.readString() + self.group_names.append(_elem735) iprot.readListEnd() else: iprot.skip(ftype) @@ -18511,8 +18511,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 iter708 in self.part_vals: - oprot.writeString(iter708) + for iter736 in self.part_vals: + oprot.writeString(iter736) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -18522,8 +18522,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 iter709 in self.group_names: - oprot.writeString(iter709) + for iter737 in self.group_names: + oprot.writeString(iter737) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18952,11 +18952,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype713, _size710) = iprot.readListBegin() - for _i714 in xrange(_size710): - _elem715 = Partition() - _elem715.read(iprot) - self.success.append(_elem715) + (_etype741, _size738) = iprot.readListBegin() + for _i742 in xrange(_size738): + _elem743 = Partition() + _elem743.read(iprot) + self.success.append(_elem743) iprot.readListEnd() else: iprot.skip(ftype) @@ -18985,8 +18985,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 iter716 in self.success: - iter716.write(oprot) + for iter744 in self.success: + iter744.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19080,10 +19080,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype720, _size717) = iprot.readListBegin() - for _i721 in xrange(_size717): - _elem722 = iprot.readString() - self.group_names.append(_elem722) + (_etype748, _size745) = iprot.readListBegin() + for _i749 in xrange(_size745): + _elem750 = iprot.readString() + self.group_names.append(_elem750) iprot.readListEnd() else: iprot.skip(ftype) @@ -19116,8 +19116,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 iter723 in self.group_names: - oprot.writeString(iter723) + for iter751 in self.group_names: + oprot.writeString(iter751) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19178,11 +19178,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype727, _size724) = iprot.readListBegin() - for _i728 in xrange(_size724): - _elem729 = Partition() - _elem729.read(iprot) - self.success.append(_elem729) + (_etype755, _size752) = iprot.readListBegin() + for _i756 in xrange(_size752): + _elem757 = Partition() + _elem757.read(iprot) + self.success.append(_elem757) iprot.readListEnd() else: iprot.skip(ftype) @@ -19211,8 +19211,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 iter730 in self.success: - iter730.write(oprot) + for iter758 in self.success: + iter758.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19370,11 +19370,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype734, _size731) = iprot.readListBegin() - for _i735 in xrange(_size731): - _elem736 = PartitionSpec() - _elem736.read(iprot) - self.success.append(_elem736) + (_etype762, _size759) = iprot.readListBegin() + for _i763 in xrange(_size759): + _elem764 = PartitionSpec() + _elem764.read(iprot) + self.success.append(_elem764) iprot.readListEnd() else: iprot.skip(ftype) @@ -19403,8 +19403,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 iter737 in self.success: - iter737.write(oprot) + for iter765 in self.success: + iter765.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19559,10 +19559,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype741, _size738) = iprot.readListBegin() - for _i742 in xrange(_size738): - _elem743 = iprot.readString() - self.success.append(_elem743) + (_etype769, _size766) = iprot.readListBegin() + for _i770 in xrange(_size766): + _elem771 = iprot.readString() + self.success.append(_elem771) iprot.readListEnd() else: iprot.skip(ftype) @@ -19585,8 +19585,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 iter744 in self.success: - oprot.writeString(iter744) + for iter772 in self.success: + oprot.writeString(iter772) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -19662,10 +19662,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype748, _size745) = iprot.readListBegin() - for _i749 in xrange(_size745): - _elem750 = iprot.readString() - self.part_vals.append(_elem750) + (_etype776, _size773) = iprot.readListBegin() + for _i777 in xrange(_size773): + _elem778 = iprot.readString() + self.part_vals.append(_elem778) iprot.readListEnd() else: iprot.skip(ftype) @@ -19695,8 +19695,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 iter751 in self.part_vals: - oprot.writeString(iter751) + for iter779 in self.part_vals: + oprot.writeString(iter779) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -19760,11 +19760,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype755, _size752) = iprot.readListBegin() - for _i756 in xrange(_size752): - _elem757 = Partition() - _elem757.read(iprot) - self.success.append(_elem757) + (_etype783, _size780) = iprot.readListBegin() + for _i784 in xrange(_size780): + _elem785 = Partition() + _elem785.read(iprot) + self.success.append(_elem785) iprot.readListEnd() else: iprot.skip(ftype) @@ -19793,8 +19793,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 iter758 in self.success: - iter758.write(oprot) + for iter786 in self.success: + iter786.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19881,10 +19881,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype762, _size759) = iprot.readListBegin() - for _i763 in xrange(_size759): - _elem764 = iprot.readString() - self.part_vals.append(_elem764) + (_etype790, _size787) = iprot.readListBegin() + for _i791 in xrange(_size787): + _elem792 = iprot.readString() + self.part_vals.append(_elem792) iprot.readListEnd() else: iprot.skip(ftype) @@ -19901,10 +19901,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype768, _size765) = iprot.readListBegin() - for _i769 in xrange(_size765): - _elem770 = iprot.readString() - self.group_names.append(_elem770) + (_etype796, _size793) = iprot.readListBegin() + for _i797 in xrange(_size793): + _elem798 = iprot.readString() + self.group_names.append(_elem798) iprot.readListEnd() else: iprot.skip(ftype) @@ -19929,8 +19929,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 iter771 in self.part_vals: - oprot.writeString(iter771) + for iter799 in self.part_vals: + oprot.writeString(iter799) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -19944,8 +19944,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 iter772 in self.group_names: - oprot.writeString(iter772) + for iter800 in self.group_names: + oprot.writeString(iter800) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20007,11 +20007,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype776, _size773) = iprot.readListBegin() - for _i777 in xrange(_size773): - _elem778 = Partition() - _elem778.read(iprot) - self.success.append(_elem778) + (_etype804, _size801) = iprot.readListBegin() + for _i805 in xrange(_size801): + _elem806 = Partition() + _elem806.read(iprot) + self.success.append(_elem806) iprot.readListEnd() else: iprot.skip(ftype) @@ -20040,8 +20040,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 iter779 in self.success: - iter779.write(oprot) + for iter807 in self.success: + iter807.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20122,10 +20122,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype783, _size780) = iprot.readListBegin() - for _i784 in xrange(_size780): - _elem785 = iprot.readString() - self.part_vals.append(_elem785) + (_etype811, _size808) = iprot.readListBegin() + for _i812 in xrange(_size808): + _elem813 = iprot.readString() + self.part_vals.append(_elem813) iprot.readListEnd() else: iprot.skip(ftype) @@ -20155,8 +20155,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 iter786 in self.part_vals: - oprot.writeString(iter786) + for iter814 in self.part_vals: + oprot.writeString(iter814) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -20220,10 +20220,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype790, _size787) = iprot.readListBegin() - for _i791 in xrange(_size787): - _elem792 = iprot.readString() - self.success.append(_elem792) + (_etype818, _size815) = iprot.readListBegin() + for _i819 in xrange(_size815): + _elem820 = iprot.readString() + self.success.append(_elem820) iprot.readListEnd() else: iprot.skip(ftype) @@ -20252,8 +20252,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 iter793 in self.success: - oprot.writeString(iter793) + for iter821 in self.success: + oprot.writeString(iter821) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20424,11 +20424,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype797, _size794) = iprot.readListBegin() - for _i798 in xrange(_size794): - _elem799 = Partition() - _elem799.read(iprot) - self.success.append(_elem799) + (_etype825, _size822) = iprot.readListBegin() + for _i826 in xrange(_size822): + _elem827 = Partition() + _elem827.read(iprot) + self.success.append(_elem827) iprot.readListEnd() else: iprot.skip(ftype) @@ -20457,8 +20457,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 iter800 in self.success: - iter800.write(oprot) + for iter828 in self.success: + iter828.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20629,11 +20629,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype804, _size801) = iprot.readListBegin() - for _i805 in xrange(_size801): - _elem806 = PartitionSpec() - _elem806.read(iprot) - self.success.append(_elem806) + (_etype832, _size829) = iprot.readListBegin() + for _i833 in xrange(_size829): + _elem834 = PartitionSpec() + _elem834.read(iprot) + self.success.append(_elem834) iprot.readListEnd() else: iprot.skip(ftype) @@ -20662,8 +20662,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 iter807 in self.success: - iter807.write(oprot) + for iter835 in self.success: + iter835.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21083,10 +21083,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype811, _size808) = iprot.readListBegin() - for _i812 in xrange(_size808): - _elem813 = iprot.readString() - self.names.append(_elem813) + (_etype839, _size836) = iprot.readListBegin() + for _i840 in xrange(_size836): + _elem841 = iprot.readString() + self.names.append(_elem841) iprot.readListEnd() else: iprot.skip(ftype) @@ -21111,8 +21111,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 iter814 in self.names: - oprot.writeString(iter814) + for iter842 in self.names: + oprot.writeString(iter842) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21171,11 +21171,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype818, _size815) = iprot.readListBegin() - for _i819 in xrange(_size815): - _elem820 = Partition() - _elem820.read(iprot) - self.success.append(_elem820) + (_etype846, _size843) = iprot.readListBegin() + for _i847 in xrange(_size843): + _elem848 = Partition() + _elem848.read(iprot) + self.success.append(_elem848) iprot.readListEnd() else: iprot.skip(ftype) @@ -21204,8 +21204,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter821 in self.success: - iter821.write(oprot) + for iter849 in self.success: + iter849.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21455,11 +21455,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype825, _size822) = iprot.readListBegin() - for _i826 in xrange(_size822): - _elem827 = Partition() - _elem827.read(iprot) - self.new_parts.append(_elem827) + (_etype853, _size850) = iprot.readListBegin() + for _i854 in xrange(_size850): + _elem855 = Partition() + _elem855.read(iprot) + self.new_parts.append(_elem855) iprot.readListEnd() else: iprot.skip(ftype) @@ -21484,8 +21484,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 iter828 in self.new_parts: - iter828.write(oprot) + for iter856 in self.new_parts: + iter856.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21638,11 +21638,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype832, _size829) = iprot.readListBegin() - for _i833 in xrange(_size829): - _elem834 = Partition() - _elem834.read(iprot) - self.new_parts.append(_elem834) + (_etype860, _size857) = iprot.readListBegin() + for _i861 in xrange(_size857): + _elem862 = Partition() + _elem862.read(iprot) + self.new_parts.append(_elem862) iprot.readListEnd() else: iprot.skip(ftype) @@ -21673,8 +21673,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 iter835 in self.new_parts: - iter835.write(oprot) + for iter863 in self.new_parts: + iter863.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -22018,10 +22018,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype839, _size836) = iprot.readListBegin() - for _i840 in xrange(_size836): - _elem841 = iprot.readString() - self.part_vals.append(_elem841) + (_etype867, _size864) = iprot.readListBegin() + for _i868 in xrange(_size864): + _elem869 = iprot.readString() + self.part_vals.append(_elem869) iprot.readListEnd() else: iprot.skip(ftype) @@ -22052,8 +22052,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 iter842 in self.part_vals: - oprot.writeString(iter842) + for iter870 in self.part_vals: + oprot.writeString(iter870) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -22195,10 +22195,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype846, _size843) = iprot.readListBegin() - for _i847 in xrange(_size843): - _elem848 = iprot.readString() - self.part_vals.append(_elem848) + (_etype874, _size871) = iprot.readListBegin() + for _i875 in xrange(_size871): + _elem876 = iprot.readString() + self.part_vals.append(_elem876) iprot.readListEnd() else: iprot.skip(ftype) @@ -22220,8 +22220,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 iter849 in self.part_vals: - oprot.writeString(iter849) + for iter877 in self.part_vals: + oprot.writeString(iter877) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -22579,10 +22579,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype853, _size850) = iprot.readListBegin() - for _i854 in xrange(_size850): - _elem855 = iprot.readString() - self.success.append(_elem855) + (_etype881, _size878) = iprot.readListBegin() + for _i882 in xrange(_size878): + _elem883 = iprot.readString() + self.success.append(_elem883) iprot.readListEnd() else: iprot.skip(ftype) @@ -22605,8 +22605,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 iter856 in self.success: - oprot.writeString(iter856) + for iter884 in self.success: + oprot.writeString(iter884) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22730,11 +22730,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype858, _vtype859, _size857 ) = iprot.readMapBegin() - for _i861 in xrange(_size857): - _key862 = iprot.readString() - _val863 = iprot.readString() - self.success[_key862] = _val863 + (_ktype886, _vtype887, _size885 ) = iprot.readMapBegin() + for _i889 in xrange(_size885): + _key890 = iprot.readString() + _val891 = iprot.readString() + self.success[_key890] = _val891 iprot.readMapEnd() else: iprot.skip(ftype) @@ -22757,9 +22757,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 kiter864,viter865 in self.success.items(): - oprot.writeString(kiter864) - oprot.writeString(viter865) + for kiter892,viter893 in self.success.items(): + oprot.writeString(kiter892) + oprot.writeString(viter893) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22835,11 +22835,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype867, _vtype868, _size866 ) = iprot.readMapBegin() - for _i870 in xrange(_size866): - _key871 = iprot.readString() - _val872 = iprot.readString() - self.part_vals[_key871] = _val872 + (_ktype895, _vtype896, _size894 ) = iprot.readMapBegin() + for _i898 in xrange(_size894): + _key899 = iprot.readString() + _val900 = iprot.readString() + self.part_vals[_key899] = _val900 iprot.readMapEnd() else: iprot.skip(ftype) @@ -22869,9 +22869,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 kiter873,viter874 in self.part_vals.items(): - oprot.writeString(kiter873) - oprot.writeString(viter874) + for kiter901,viter902 in self.part_vals.items(): + oprot.writeString(kiter901) + oprot.writeString(viter902) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -23085,11 +23085,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype876, _vtype877, _size875 ) = iprot.readMapBegin() - for _i879 in xrange(_size875): - _key880 = iprot.readString() - _val881 = iprot.readString() - self.part_vals[_key880] = _val881 + (_ktype904, _vtype905, _size903 ) = iprot.readMapBegin() + for _i907 in xrange(_size903): + _key908 = iprot.readString() + _val909 = iprot.readString() + self.part_vals[_key908] = _val909 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23119,9 +23119,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 kiter882,viter883 in self.part_vals.items(): - oprot.writeString(kiter882) - oprot.writeString(viter883) + for kiter910,viter911 in self.part_vals.items(): + oprot.writeString(kiter910) + oprot.writeString(viter911) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -24176,11 +24176,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype887, _size884) = iprot.readListBegin() - for _i888 in xrange(_size884): - _elem889 = Index() - _elem889.read(iprot) - self.success.append(_elem889) + (_etype915, _size912) = iprot.readListBegin() + for _i916 in xrange(_size912): + _elem917 = Index() + _elem917.read(iprot) + self.success.append(_elem917) iprot.readListEnd() else: iprot.skip(ftype) @@ -24209,8 +24209,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 iter890 in self.success: - iter890.write(oprot) + for iter918 in self.success: + iter918.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24365,10 +24365,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype894, _size891) = iprot.readListBegin() - for _i895 in xrange(_size891): - _elem896 = iprot.readString() - self.success.append(_elem896) + (_etype922, _size919) = iprot.readListBegin() + for _i923 in xrange(_size919): + _elem924 = iprot.readString() + self.success.append(_elem924) iprot.readListEnd() else: iprot.skip(ftype) @@ -24391,8 +24391,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 iter897 in self.success: - oprot.writeString(iter897) + for iter925 in self.success: + oprot.writeString(iter925) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -26940,10 +26940,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype901, _size898) = iprot.readListBegin() - for _i902 in xrange(_size898): - _elem903 = iprot.readString() - self.success.append(_elem903) + (_etype929, _size926) = iprot.readListBegin() + for _i930 in xrange(_size926): + _elem931 = iprot.readString() + self.success.append(_elem931) iprot.readListEnd() else: iprot.skip(ftype) @@ -26966,8 +26966,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 iter904 in self.success: - oprot.writeString(iter904) + for iter932 in self.success: + oprot.writeString(iter932) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27655,10 +27655,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype908, _size905) = iprot.readListBegin() - for _i909 in xrange(_size905): - _elem910 = iprot.readString() - self.success.append(_elem910) + (_etype936, _size933) = iprot.readListBegin() + for _i937 in xrange(_size933): + _elem938 = iprot.readString() + self.success.append(_elem938) iprot.readListEnd() else: iprot.skip(ftype) @@ -27681,8 +27681,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 iter911 in self.success: - oprot.writeString(iter911) + for iter939 in self.success: + oprot.writeString(iter939) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28196,11 +28196,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype915, _size912) = iprot.readListBegin() - for _i916 in xrange(_size912): - _elem917 = Role() - _elem917.read(iprot) - self.success.append(_elem917) + (_etype943, _size940) = iprot.readListBegin() + for _i944 in xrange(_size940): + _elem945 = Role() + _elem945.read(iprot) + self.success.append(_elem945) iprot.readListEnd() else: iprot.skip(ftype) @@ -28223,8 +28223,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 iter918 in self.success: - iter918.write(oprot) + for iter946 in self.success: + iter946.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28733,10 +28733,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype922, _size919) = iprot.readListBegin() - for _i923 in xrange(_size919): - _elem924 = iprot.readString() - self.group_names.append(_elem924) + (_etype950, _size947) = iprot.readListBegin() + for _i951 in xrange(_size947): + _elem952 = iprot.readString() + self.group_names.append(_elem952) iprot.readListEnd() else: iprot.skip(ftype) @@ -28761,8 +28761,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 iter925 in self.group_names: - oprot.writeString(iter925) + for iter953 in self.group_names: + oprot.writeString(iter953) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28989,11 +28989,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype929, _size926) = iprot.readListBegin() - for _i930 in xrange(_size926): - _elem931 = HiveObjectPrivilege() - _elem931.read(iprot) - self.success.append(_elem931) + (_etype957, _size954) = iprot.readListBegin() + for _i958 in xrange(_size954): + _elem959 = HiveObjectPrivilege() + _elem959.read(iprot) + self.success.append(_elem959) iprot.readListEnd() else: iprot.skip(ftype) @@ -29016,8 +29016,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 iter932 in self.success: - iter932.write(oprot) + for iter960 in self.success: + iter960.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29515,10 +29515,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype936, _size933) = iprot.readListBegin() - for _i937 in xrange(_size933): - _elem938 = iprot.readString() - self.group_names.append(_elem938) + (_etype964, _size961) = iprot.readListBegin() + for _i965 in xrange(_size961): + _elem966 = iprot.readString() + self.group_names.append(_elem966) iprot.readListEnd() else: iprot.skip(ftype) @@ -29539,8 +29539,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 iter939 in self.group_names: - oprot.writeString(iter939) + for iter967 in self.group_names: + oprot.writeString(iter967) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29595,10 +29595,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype943, _size940) = iprot.readListBegin() - for _i944 in xrange(_size940): - _elem945 = iprot.readString() - self.success.append(_elem945) + (_etype971, _size968) = iprot.readListBegin() + for _i972 in xrange(_size968): + _elem973 = iprot.readString() + self.success.append(_elem973) iprot.readListEnd() else: iprot.skip(ftype) @@ -29621,8 +29621,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 iter946 in self.success: - oprot.writeString(iter946) + for iter974 in self.success: + oprot.writeString(iter974) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30554,10 +30554,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype950, _size947) = iprot.readListBegin() - for _i951 in xrange(_size947): - _elem952 = iprot.readString() - self.success.append(_elem952) + (_etype978, _size975) = iprot.readListBegin() + for _i979 in xrange(_size975): + _elem980 = iprot.readString() + self.success.append(_elem980) iprot.readListEnd() else: iprot.skip(ftype) @@ -30574,8 +30574,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 iter953 in self.success: - oprot.writeString(iter953) + for iter981 in self.success: + oprot.writeString(iter981) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -31102,10 +31102,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype957, _size954) = iprot.readListBegin() - for _i958 in xrange(_size954): - _elem959 = iprot.readString() - self.success.append(_elem959) + (_etype985, _size982) = iprot.readListBegin() + for _i986 in xrange(_size982): + _elem987 = iprot.readString() + self.success.append(_elem987) iprot.readListEnd() else: iprot.skip(ftype) @@ -31122,8 +31122,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 iter960 in self.success: - oprot.writeString(iter960) + for iter988 in self.success: + oprot.writeString(iter988) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git a/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 10eaf4a..501409f 100644 --- a/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -394,6 +394,141 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class ForeignKeyRel: + """ + Attributes: + - foreignCols + - parentCols + - foreignKeyName + - parentTableName + - parentTableSchema + """ + + thrift_spec = ( + None, # 0 + (1, TType.LIST, 'foreignCols', (TType.STRUCT,(FieldSchema, FieldSchema.thrift_spec)), None, ), # 1 + (2, TType.LIST, 'parentCols', (TType.STRUCT,(FieldSchema, FieldSchema.thrift_spec)), None, ), # 2 + (3, TType.STRING, 'foreignKeyName', None, None, ), # 3 + (4, TType.STRING, 'parentTableName', None, None, ), # 4 + (5, TType.STRING, 'parentTableSchema', None, None, ), # 5 + ) + + def __init__(self, foreignCols=None, parentCols=None, foreignKeyName=None, parentTableName=None, parentTableSchema=None,): + self.foreignCols = foreignCols + self.parentCols = parentCols + self.foreignKeyName = foreignKeyName + self.parentTableName = parentTableName + self.parentTableSchema = parentTableSchema + + def read(self, iprot): + if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: + fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) + return + iprot.readStructBegin() + while True: + (fname, ftype, fid) = iprot.readFieldBegin() + if ftype == TType.STOP: + break + if fid == 1: + if ftype == TType.LIST: + self.foreignCols = [] + (_etype3, _size0) = iprot.readListBegin() + for _i4 in xrange(_size0): + _elem5 = FieldSchema() + _elem5.read(iprot) + self.foreignCols.append(_elem5) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.LIST: + self.parentCols = [] + (_etype9, _size6) = iprot.readListBegin() + for _i10 in xrange(_size6): + _elem11 = FieldSchema() + _elem11.read(iprot) + self.parentCols.append(_elem11) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRING: + self.foreignKeyName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.STRING: + self.parentTableName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 5: + if ftype == TType.STRING: + self.parentTableSchema = iprot.readString() + else: + iprot.skip(ftype) + else: + iprot.skip(ftype) + iprot.readFieldEnd() + iprot.readStructEnd() + + def write(self, oprot): + if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: + oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) + return + oprot.writeStructBegin('ForeignKeyRel') + if self.foreignCols is not None: + oprot.writeFieldBegin('foreignCols', TType.LIST, 1) + oprot.writeListBegin(TType.STRUCT, len(self.foreignCols)) + for iter12 in self.foreignCols: + iter12.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.parentCols is not None: + oprot.writeFieldBegin('parentCols', TType.LIST, 2) + oprot.writeListBegin(TType.STRUCT, len(self.parentCols)) + for iter13 in self.parentCols: + iter13.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.foreignKeyName is not None: + oprot.writeFieldBegin('foreignKeyName', TType.STRING, 3) + oprot.writeString(self.foreignKeyName) + oprot.writeFieldEnd() + if self.parentTableName is not None: + oprot.writeFieldBegin('parentTableName', TType.STRING, 4) + oprot.writeString(self.parentTableName) + oprot.writeFieldEnd() + if self.parentTableSchema is not None: + oprot.writeFieldBegin('parentTableSchema', TType.STRING, 5) + oprot.writeString(self.parentTableSchema) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.foreignCols) + value = (value * 31) ^ hash(self.parentCols) + value = (value * 31) ^ hash(self.foreignKeyName) + value = (value * 31) ^ hash(self.parentTableName) + value = (value * 31) ^ hash(self.parentTableSchema) + return value + + def __repr__(self): + L = ['%s=%r' % (key, value) + for key, value in self.__dict__.iteritems()] + return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) + + def __eq__(self, other): + return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ + + def __ne__(self, other): + return not (self == other) + class Type: """ Attributes: @@ -444,11 +579,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.fields = [] - (_etype3, _size0) = iprot.readListBegin() - for _i4 in xrange(_size0): - _elem5 = FieldSchema() - _elem5.read(iprot) - self.fields.append(_elem5) + (_etype17, _size14) = iprot.readListBegin() + for _i18 in xrange(_size14): + _elem19 = FieldSchema() + _elem19.read(iprot) + self.fields.append(_elem19) iprot.readListEnd() else: iprot.skip(ftype) @@ -477,8 +612,8 @@ def write(self, oprot): if self.fields is not None: oprot.writeFieldBegin('fields', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.fields)) - for iter6 in self.fields: - iter6.write(oprot) + for iter20 in self.fields: + iter20.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -560,10 +695,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partValues = [] - (_etype10, _size7) = iprot.readListBegin() - for _i11 in xrange(_size7): - _elem12 = iprot.readString() - self.partValues.append(_elem12) + (_etype24, _size21) = iprot.readListBegin() + for _i25 in xrange(_size21): + _elem26 = iprot.readString() + self.partValues.append(_elem26) iprot.readListEnd() else: iprot.skip(ftype) @@ -597,8 +732,8 @@ def write(self, oprot): if self.partValues is not None: oprot.writeFieldBegin('partValues', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partValues)) - for iter13 in self.partValues: - oprot.writeString(iter13) + for iter27 in self.partValues: + oprot.writeString(iter27) oprot.writeListEnd() oprot.writeFieldEnd() if self.columnName is not None: @@ -881,11 +1016,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.privileges = [] - (_etype17, _size14) = iprot.readListBegin() - for _i18 in xrange(_size14): - _elem19 = HiveObjectPrivilege() - _elem19.read(iprot) - self.privileges.append(_elem19) + (_etype31, _size28) = iprot.readListBegin() + for _i32 in xrange(_size28): + _elem33 = HiveObjectPrivilege() + _elem33.read(iprot) + self.privileges.append(_elem33) iprot.readListEnd() else: iprot.skip(ftype) @@ -902,8 +1037,8 @@ def write(self, oprot): if self.privileges is not None: oprot.writeFieldBegin('privileges', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.privileges)) - for iter20 in self.privileges: - iter20.write(oprot) + for iter34 in self.privileges: + iter34.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -961,51 +1096,51 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.userPrivileges = {} - (_ktype22, _vtype23, _size21 ) = iprot.readMapBegin() - for _i25 in xrange(_size21): - _key26 = iprot.readString() - _val27 = [] - (_etype31, _size28) = iprot.readListBegin() - for _i32 in xrange(_size28): - _elem33 = PrivilegeGrantInfo() - _elem33.read(iprot) - _val27.append(_elem33) + (_ktype36, _vtype37, _size35 ) = iprot.readMapBegin() + for _i39 in xrange(_size35): + _key40 = iprot.readString() + _val41 = [] + (_etype45, _size42) = iprot.readListBegin() + for _i46 in xrange(_size42): + _elem47 = PrivilegeGrantInfo() + _elem47.read(iprot) + _val41.append(_elem47) iprot.readListEnd() - self.userPrivileges[_key26] = _val27 + self.userPrivileges[_key40] = _val41 iprot.readMapEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.MAP: self.groupPrivileges = {} - (_ktype35, _vtype36, _size34 ) = iprot.readMapBegin() - for _i38 in xrange(_size34): - _key39 = iprot.readString() - _val40 = [] - (_etype44, _size41) = iprot.readListBegin() - for _i45 in xrange(_size41): - _elem46 = PrivilegeGrantInfo() - _elem46.read(iprot) - _val40.append(_elem46) + (_ktype49, _vtype50, _size48 ) = iprot.readMapBegin() + for _i52 in xrange(_size48): + _key53 = iprot.readString() + _val54 = [] + (_etype58, _size55) = iprot.readListBegin() + for _i59 in xrange(_size55): + _elem60 = PrivilegeGrantInfo() + _elem60.read(iprot) + _val54.append(_elem60) iprot.readListEnd() - self.groupPrivileges[_key39] = _val40 + self.groupPrivileges[_key53] = _val54 iprot.readMapEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.MAP: self.rolePrivileges = {} - (_ktype48, _vtype49, _size47 ) = iprot.readMapBegin() - for _i51 in xrange(_size47): - _key52 = iprot.readString() - _val53 = [] - (_etype57, _size54) = iprot.readListBegin() - for _i58 in xrange(_size54): - _elem59 = PrivilegeGrantInfo() - _elem59.read(iprot) - _val53.append(_elem59) + (_ktype62, _vtype63, _size61 ) = iprot.readMapBegin() + for _i65 in xrange(_size61): + _key66 = iprot.readString() + _val67 = [] + (_etype71, _size68) = iprot.readListBegin() + for _i72 in xrange(_size68): + _elem73 = PrivilegeGrantInfo() + _elem73.read(iprot) + _val67.append(_elem73) iprot.readListEnd() - self.rolePrivileges[_key52] = _val53 + self.rolePrivileges[_key66] = _val67 iprot.readMapEnd() else: iprot.skip(ftype) @@ -1022,33 +1157,33 @@ def write(self, oprot): if self.userPrivileges is not None: oprot.writeFieldBegin('userPrivileges', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.userPrivileges)) - for kiter60,viter61 in self.userPrivileges.items(): - oprot.writeString(kiter60) - oprot.writeListBegin(TType.STRUCT, len(viter61)) - for iter62 in viter61: - iter62.write(oprot) + for kiter74,viter75 in self.userPrivileges.items(): + oprot.writeString(kiter74) + oprot.writeListBegin(TType.STRUCT, len(viter75)) + for iter76 in viter75: + iter76.write(oprot) oprot.writeListEnd() oprot.writeMapEnd() oprot.writeFieldEnd() if self.groupPrivileges is not None: oprot.writeFieldBegin('groupPrivileges', TType.MAP, 2) oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.groupPrivileges)) - for kiter63,viter64 in self.groupPrivileges.items(): - oprot.writeString(kiter63) - oprot.writeListBegin(TType.STRUCT, len(viter64)) - for iter65 in viter64: - iter65.write(oprot) + for kiter77,viter78 in self.groupPrivileges.items(): + oprot.writeString(kiter77) + oprot.writeListBegin(TType.STRUCT, len(viter78)) + for iter79 in viter78: + iter79.write(oprot) oprot.writeListEnd() oprot.writeMapEnd() oprot.writeFieldEnd() if self.rolePrivileges is not None: oprot.writeFieldBegin('rolePrivileges', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.rolePrivileges)) - for kiter66,viter67 in self.rolePrivileges.items(): - oprot.writeString(kiter66) - oprot.writeListBegin(TType.STRUCT, len(viter67)) - for iter68 in viter67: - iter68.write(oprot) + for kiter80,viter81 in self.rolePrivileges.items(): + oprot.writeString(kiter80) + oprot.writeListBegin(TType.STRUCT, len(viter81)) + for iter82 in viter81: + iter82.write(oprot) oprot.writeListEnd() oprot.writeMapEnd() oprot.writeFieldEnd() @@ -1576,11 +1711,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.principalGrants = [] - (_etype72, _size69) = iprot.readListBegin() - for _i73 in xrange(_size69): - _elem74 = RolePrincipalGrant() - _elem74.read(iprot) - self.principalGrants.append(_elem74) + (_etype86, _size83) = iprot.readListBegin() + for _i87 in xrange(_size83): + _elem88 = RolePrincipalGrant() + _elem88.read(iprot) + self.principalGrants.append(_elem88) iprot.readListEnd() else: iprot.skip(ftype) @@ -1597,8 +1732,8 @@ def write(self, oprot): if self.principalGrants is not None: oprot.writeFieldBegin('principalGrants', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.principalGrants)) - for iter75 in self.principalGrants: - iter75.write(oprot) + for iter89 in self.principalGrants: + iter89.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -1719,11 +1854,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.principalGrants = [] - (_etype79, _size76) = iprot.readListBegin() - for _i80 in xrange(_size76): - _elem81 = RolePrincipalGrant() - _elem81.read(iprot) - self.principalGrants.append(_elem81) + (_etype93, _size90) = iprot.readListBegin() + for _i94 in xrange(_size90): + _elem95 = RolePrincipalGrant() + _elem95.read(iprot) + self.principalGrants.append(_elem95) iprot.readListEnd() else: iprot.skip(ftype) @@ -1740,8 +1875,8 @@ def write(self, oprot): if self.principalGrants is not None: oprot.writeFieldBegin('principalGrants', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.principalGrants)) - for iter82 in self.principalGrants: - iter82.write(oprot) + for iter96 in self.principalGrants: + iter96.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -2036,11 +2171,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.MAP: self.parameters = {} - (_ktype84, _vtype85, _size83 ) = iprot.readMapBegin() - for _i87 in xrange(_size83): - _key88 = iprot.readString() - _val89 = iprot.readString() - self.parameters[_key88] = _val89 + (_ktype98, _vtype99, _size97 ) = iprot.readMapBegin() + for _i101 in xrange(_size97): + _key102 = iprot.readString() + _val103 = iprot.readString() + self.parameters[_key102] = _val103 iprot.readMapEnd() else: iprot.skip(ftype) @@ -2085,9 +2220,9 @@ def write(self, oprot): if self.parameters is not None: oprot.writeFieldBegin('parameters', TType.MAP, 4) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters)) - for kiter90,viter91 in self.parameters.items(): - oprot.writeString(kiter90) - oprot.writeString(viter91) + for kiter104,viter105 in self.parameters.items(): + oprot.writeString(kiter104) + oprot.writeString(viter105) oprot.writeMapEnd() oprot.writeFieldEnd() if self.privileges is not None: @@ -2173,11 +2308,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.parameters = {} - (_ktype93, _vtype94, _size92 ) = iprot.readMapBegin() - for _i96 in xrange(_size92): - _key97 = iprot.readString() - _val98 = iprot.readString() - self.parameters[_key97] = _val98 + (_ktype107, _vtype108, _size106 ) = iprot.readMapBegin() + for _i110 in xrange(_size106): + _key111 = iprot.readString() + _val112 = iprot.readString() + self.parameters[_key111] = _val112 iprot.readMapEnd() else: iprot.skip(ftype) @@ -2202,9 +2337,9 @@ def write(self, oprot): if self.parameters is not None: oprot.writeFieldBegin('parameters', TType.MAP, 3) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters)) - for kiter99,viter100 in self.parameters.items(): - oprot.writeString(kiter99) - oprot.writeString(viter100) + for kiter113,viter114 in self.parameters.items(): + oprot.writeString(kiter113) + oprot.writeString(viter114) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -2342,41 +2477,41 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.skewedColNames = [] - (_etype104, _size101) = iprot.readListBegin() - for _i105 in xrange(_size101): - _elem106 = iprot.readString() - self.skewedColNames.append(_elem106) + (_etype118, _size115) = iprot.readListBegin() + for _i119 in xrange(_size115): + _elem120 = iprot.readString() + self.skewedColNames.append(_elem120) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.skewedColValues = [] - (_etype110, _size107) = iprot.readListBegin() - for _i111 in xrange(_size107): - _elem112 = [] - (_etype116, _size113) = iprot.readListBegin() - for _i117 in xrange(_size113): - _elem118 = iprot.readString() - _elem112.append(_elem118) + (_etype124, _size121) = iprot.readListBegin() + for _i125 in xrange(_size121): + _elem126 = [] + (_etype130, _size127) = iprot.readListBegin() + for _i131 in xrange(_size127): + _elem132 = iprot.readString() + _elem126.append(_elem132) iprot.readListEnd() - self.skewedColValues.append(_elem112) + self.skewedColValues.append(_elem126) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.MAP: self.skewedColValueLocationMaps = {} - (_ktype120, _vtype121, _size119 ) = iprot.readMapBegin() - for _i123 in xrange(_size119): - _key124 = [] - (_etype129, _size126) = iprot.readListBegin() - for _i130 in xrange(_size126): - _elem131 = iprot.readString() - _key124.append(_elem131) + (_ktype134, _vtype135, _size133 ) = iprot.readMapBegin() + for _i137 in xrange(_size133): + _key138 = [] + (_etype143, _size140) = iprot.readListBegin() + for _i144 in xrange(_size140): + _elem145 = iprot.readString() + _key138.append(_elem145) iprot.readListEnd() - _val125 = iprot.readString() - self.skewedColValueLocationMaps[_key124] = _val125 + _val139 = iprot.readString() + self.skewedColValueLocationMaps[_key138] = _val139 iprot.readMapEnd() else: iprot.skip(ftype) @@ -2393,29 +2528,29 @@ def write(self, oprot): if self.skewedColNames is not None: oprot.writeFieldBegin('skewedColNames', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.skewedColNames)) - for iter132 in self.skewedColNames: - oprot.writeString(iter132) + for iter146 in self.skewedColNames: + oprot.writeString(iter146) oprot.writeListEnd() oprot.writeFieldEnd() if self.skewedColValues is not None: oprot.writeFieldBegin('skewedColValues', TType.LIST, 2) oprot.writeListBegin(TType.LIST, len(self.skewedColValues)) - for iter133 in self.skewedColValues: - oprot.writeListBegin(TType.STRING, len(iter133)) - for iter134 in iter133: - oprot.writeString(iter134) + for iter147 in self.skewedColValues: + oprot.writeListBegin(TType.STRING, len(iter147)) + for iter148 in iter147: + oprot.writeString(iter148) oprot.writeListEnd() oprot.writeListEnd() oprot.writeFieldEnd() if self.skewedColValueLocationMaps is not None: oprot.writeFieldBegin('skewedColValueLocationMaps', TType.MAP, 3) oprot.writeMapBegin(TType.LIST, TType.STRING, len(self.skewedColValueLocationMaps)) - for kiter135,viter136 in self.skewedColValueLocationMaps.items(): - oprot.writeListBegin(TType.STRING, len(kiter135)) - for iter137 in kiter135: - oprot.writeString(iter137) + for kiter149,viter150 in self.skewedColValueLocationMaps.items(): + oprot.writeListBegin(TType.STRING, len(kiter149)) + for iter151 in kiter149: + oprot.writeString(iter151) oprot.writeListEnd() - oprot.writeString(viter136) + oprot.writeString(viter150) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -2502,11 +2637,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.cols = [] - (_etype141, _size138) = iprot.readListBegin() - for _i142 in xrange(_size138): - _elem143 = FieldSchema() - _elem143.read(iprot) - self.cols.append(_elem143) + (_etype155, _size152) = iprot.readListBegin() + for _i156 in xrange(_size152): + _elem157 = FieldSchema() + _elem157.read(iprot) + self.cols.append(_elem157) iprot.readListEnd() else: iprot.skip(ftype) @@ -2544,32 +2679,32 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.bucketCols = [] - (_etype147, _size144) = iprot.readListBegin() - for _i148 in xrange(_size144): - _elem149 = iprot.readString() - self.bucketCols.append(_elem149) + (_etype161, _size158) = iprot.readListBegin() + for _i162 in xrange(_size158): + _elem163 = iprot.readString() + self.bucketCols.append(_elem163) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 9: if ftype == TType.LIST: self.sortCols = [] - (_etype153, _size150) = iprot.readListBegin() - for _i154 in xrange(_size150): - _elem155 = Order() - _elem155.read(iprot) - self.sortCols.append(_elem155) + (_etype167, _size164) = iprot.readListBegin() + for _i168 in xrange(_size164): + _elem169 = Order() + _elem169.read(iprot) + self.sortCols.append(_elem169) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 10: if ftype == TType.MAP: self.parameters = {} - (_ktype157, _vtype158, _size156 ) = iprot.readMapBegin() - for _i160 in xrange(_size156): - _key161 = iprot.readString() - _val162 = iprot.readString() - self.parameters[_key161] = _val162 + (_ktype171, _vtype172, _size170 ) = iprot.readMapBegin() + for _i174 in xrange(_size170): + _key175 = iprot.readString() + _val176 = iprot.readString() + self.parameters[_key175] = _val176 iprot.readMapEnd() else: iprot.skip(ftype) @@ -2597,8 +2732,8 @@ def write(self, oprot): if self.cols is not None: oprot.writeFieldBegin('cols', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.cols)) - for iter163 in self.cols: - iter163.write(oprot) + for iter177 in self.cols: + iter177.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.location is not None: @@ -2628,23 +2763,23 @@ def write(self, oprot): if self.bucketCols is not None: oprot.writeFieldBegin('bucketCols', TType.LIST, 8) oprot.writeListBegin(TType.STRING, len(self.bucketCols)) - for iter164 in self.bucketCols: - oprot.writeString(iter164) + for iter178 in self.bucketCols: + oprot.writeString(iter178) oprot.writeListEnd() oprot.writeFieldEnd() if self.sortCols is not None: oprot.writeFieldBegin('sortCols', TType.LIST, 9) oprot.writeListBegin(TType.STRUCT, len(self.sortCols)) - for iter165 in self.sortCols: - iter165.write(oprot) + for iter179 in self.sortCols: + iter179.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.parameters is not None: oprot.writeFieldBegin('parameters', TType.MAP, 10) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters)) - for kiter166,viter167 in self.parameters.items(): - oprot.writeString(kiter166) - oprot.writeString(viter167) + for kiter180,viter181 in self.parameters.items(): + oprot.writeString(kiter180) + oprot.writeString(viter181) oprot.writeMapEnd() oprot.writeFieldEnd() if self.skewedInfo is not None: @@ -2706,6 +2841,8 @@ class Table: - tableType - privileges - temporary + - primaryKeys + - foreignKeys """ thrift_spec = ( @@ -2724,9 +2861,11 @@ class Table: (12, TType.STRING, 'tableType', None, None, ), # 12 (13, TType.STRUCT, 'privileges', (PrincipalPrivilegeSet, PrincipalPrivilegeSet.thrift_spec), None, ), # 13 (14, TType.BOOL, 'temporary', None, False, ), # 14 + (15, TType.LIST, 'primaryKeys', (TType.STRUCT,(FieldSchema, FieldSchema.thrift_spec)), None, ), # 15 + (16, TType.LIST, 'foreignKeys', (TType.STRUCT,(ForeignKeyRel, ForeignKeyRel.thrift_spec)), None, ), # 16 ) - def __init__(self, tableName=None, dbName=None, owner=None, createTime=None, lastAccessTime=None, retention=None, sd=None, partitionKeys=None, parameters=None, viewOriginalText=None, viewExpandedText=None, tableType=None, privileges=None, temporary=thrift_spec[14][4],): + def __init__(self, tableName=None, dbName=None, owner=None, createTime=None, lastAccessTime=None, retention=None, sd=None, partitionKeys=None, parameters=None, viewOriginalText=None, viewExpandedText=None, tableType=None, privileges=None, temporary=thrift_spec[14][4], primaryKeys=None, foreignKeys=None,): self.tableName = tableName self.dbName = dbName self.owner = owner @@ -2741,6 +2880,8 @@ def __init__(self, tableName=None, dbName=None, owner=None, createTime=None, las self.tableType = tableType self.privileges = privileges self.temporary = temporary + self.primaryKeys = primaryKeys + self.foreignKeys = foreignKeys 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: @@ -2790,22 +2931,22 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.partitionKeys = [] - (_etype171, _size168) = iprot.readListBegin() - for _i172 in xrange(_size168): - _elem173 = FieldSchema() - _elem173.read(iprot) - self.partitionKeys.append(_elem173) + (_etype185, _size182) = iprot.readListBegin() + for _i186 in xrange(_size182): + _elem187 = FieldSchema() + _elem187.read(iprot) + self.partitionKeys.append(_elem187) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 9: if ftype == TType.MAP: self.parameters = {} - (_ktype175, _vtype176, _size174 ) = iprot.readMapBegin() - for _i178 in xrange(_size174): - _key179 = iprot.readString() - _val180 = iprot.readString() - self.parameters[_key179] = _val180 + (_ktype189, _vtype190, _size188 ) = iprot.readMapBegin() + for _i192 in xrange(_size188): + _key193 = iprot.readString() + _val194 = iprot.readString() + self.parameters[_key193] = _val194 iprot.readMapEnd() else: iprot.skip(ftype) @@ -2835,6 +2976,28 @@ def read(self, iprot): self.temporary = iprot.readBool() else: iprot.skip(ftype) + elif fid == 15: + if ftype == TType.LIST: + self.primaryKeys = [] + (_etype198, _size195) = iprot.readListBegin() + for _i199 in xrange(_size195): + _elem200 = FieldSchema() + _elem200.read(iprot) + self.primaryKeys.append(_elem200) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 16: + if ftype == TType.LIST: + self.foreignKeys = [] + (_etype204, _size201) = iprot.readListBegin() + for _i205 in xrange(_size201): + _elem206 = ForeignKeyRel() + _elem206.read(iprot) + self.foreignKeys.append(_elem206) + iprot.readListEnd() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -2876,16 +3039,16 @@ def write(self, oprot): if self.partitionKeys is not None: oprot.writeFieldBegin('partitionKeys', TType.LIST, 8) oprot.writeListBegin(TType.STRUCT, len(self.partitionKeys)) - for iter181 in self.partitionKeys: - iter181.write(oprot) + for iter207 in self.partitionKeys: + iter207.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.parameters is not None: oprot.writeFieldBegin('parameters', TType.MAP, 9) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters)) - for kiter182,viter183 in self.parameters.items(): - oprot.writeString(kiter182) - oprot.writeString(viter183) + for kiter208,viter209 in self.parameters.items(): + oprot.writeString(kiter208) + oprot.writeString(viter209) oprot.writeMapEnd() oprot.writeFieldEnd() if self.viewOriginalText is not None: @@ -2908,6 +3071,20 @@ def write(self, oprot): oprot.writeFieldBegin('temporary', TType.BOOL, 14) oprot.writeBool(self.temporary) oprot.writeFieldEnd() + if self.primaryKeys is not None: + oprot.writeFieldBegin('primaryKeys', TType.LIST, 15) + oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) + for iter210 in self.primaryKeys: + iter210.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.foreignKeys is not None: + oprot.writeFieldBegin('foreignKeys', TType.LIST, 16) + oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) + for iter211 in self.foreignKeys: + iter211.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -2931,6 +3108,8 @@ def __hash__(self): value = (value * 31) ^ hash(self.tableType) value = (value * 31) ^ hash(self.privileges) value = (value * 31) ^ hash(self.temporary) + value = (value * 31) ^ hash(self.primaryKeys) + value = (value * 31) ^ hash(self.foreignKeys) return value def __repr__(self): @@ -2991,10 +3170,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype187, _size184) = iprot.readListBegin() - for _i188 in xrange(_size184): - _elem189 = iprot.readString() - self.values.append(_elem189) + (_etype215, _size212) = iprot.readListBegin() + for _i216 in xrange(_size212): + _elem217 = iprot.readString() + self.values.append(_elem217) iprot.readListEnd() else: iprot.skip(ftype) @@ -3027,11 +3206,11 @@ def read(self, iprot): elif fid == 7: if ftype == TType.MAP: self.parameters = {} - (_ktype191, _vtype192, _size190 ) = iprot.readMapBegin() - for _i194 in xrange(_size190): - _key195 = iprot.readString() - _val196 = iprot.readString() - self.parameters[_key195] = _val196 + (_ktype219, _vtype220, _size218 ) = iprot.readMapBegin() + for _i222 in xrange(_size218): + _key223 = iprot.readString() + _val224 = iprot.readString() + self.parameters[_key223] = _val224 iprot.readMapEnd() else: iprot.skip(ftype) @@ -3054,8 +3233,8 @@ def write(self, oprot): if self.values is not None: oprot.writeFieldBegin('values', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.values)) - for iter197 in self.values: - oprot.writeString(iter197) + for iter225 in self.values: + oprot.writeString(iter225) oprot.writeListEnd() oprot.writeFieldEnd() if self.dbName is not None: @@ -3081,9 +3260,9 @@ def write(self, oprot): if self.parameters is not None: oprot.writeFieldBegin('parameters', TType.MAP, 7) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters)) - for kiter198,viter199 in self.parameters.items(): - oprot.writeString(kiter198) - oprot.writeString(viter199) + for kiter226,viter227 in self.parameters.items(): + oprot.writeString(kiter226) + oprot.writeString(viter227) oprot.writeMapEnd() oprot.writeFieldEnd() if self.privileges is not None: @@ -3161,10 +3340,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype203, _size200) = iprot.readListBegin() - for _i204 in xrange(_size200): - _elem205 = iprot.readString() - self.values.append(_elem205) + (_etype231, _size228) = iprot.readListBegin() + for _i232 in xrange(_size228): + _elem233 = iprot.readString() + self.values.append(_elem233) iprot.readListEnd() else: iprot.skip(ftype) @@ -3186,11 +3365,11 @@ def read(self, iprot): elif fid == 5: if ftype == TType.MAP: self.parameters = {} - (_ktype207, _vtype208, _size206 ) = iprot.readMapBegin() - for _i210 in xrange(_size206): - _key211 = iprot.readString() - _val212 = iprot.readString() - self.parameters[_key211] = _val212 + (_ktype235, _vtype236, _size234 ) = iprot.readMapBegin() + for _i238 in xrange(_size234): + _key239 = iprot.readString() + _val240 = iprot.readString() + self.parameters[_key239] = _val240 iprot.readMapEnd() else: iprot.skip(ftype) @@ -3213,8 +3392,8 @@ def write(self, oprot): if self.values is not None: oprot.writeFieldBegin('values', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.values)) - for iter213 in self.values: - oprot.writeString(iter213) + for iter241 in self.values: + oprot.writeString(iter241) oprot.writeListEnd() oprot.writeFieldEnd() if self.createTime is not None: @@ -3232,9 +3411,9 @@ def write(self, oprot): if self.parameters is not None: oprot.writeFieldBegin('parameters', TType.MAP, 5) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters)) - for kiter214,viter215 in self.parameters.items(): - oprot.writeString(kiter214) - oprot.writeString(viter215) + for kiter242,viter243 in self.parameters.items(): + oprot.writeString(kiter242) + oprot.writeString(viter243) oprot.writeMapEnd() oprot.writeFieldEnd() if self.privileges is not None: @@ -3298,11 +3477,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype219, _size216) = iprot.readListBegin() - for _i220 in xrange(_size216): - _elem221 = PartitionWithoutSD() - _elem221.read(iprot) - self.partitions.append(_elem221) + (_etype247, _size244) = iprot.readListBegin() + for _i248 in xrange(_size244): + _elem249 = PartitionWithoutSD() + _elem249.read(iprot) + self.partitions.append(_elem249) iprot.readListEnd() else: iprot.skip(ftype) @@ -3325,8 +3504,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter222 in self.partitions: - iter222.write(oprot) + for iter250 in self.partitions: + iter250.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.sd is not None: @@ -3383,11 +3562,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype226, _size223) = iprot.readListBegin() - for _i227 in xrange(_size223): - _elem228 = Partition() - _elem228.read(iprot) - self.partitions.append(_elem228) + (_etype254, _size251) = iprot.readListBegin() + for _i255 in xrange(_size251): + _elem256 = Partition() + _elem256.read(iprot) + self.partitions.append(_elem256) iprot.readListEnd() else: iprot.skip(ftype) @@ -3404,8 +3583,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter229 in self.partitions: - iter229.write(oprot) + for iter257 in self.partitions: + iter257.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -3644,11 +3823,11 @@ def read(self, iprot): elif fid == 9: if ftype == TType.MAP: self.parameters = {} - (_ktype231, _vtype232, _size230 ) = iprot.readMapBegin() - for _i234 in xrange(_size230): - _key235 = iprot.readString() - _val236 = iprot.readString() - self.parameters[_key235] = _val236 + (_ktype259, _vtype260, _size258 ) = iprot.readMapBegin() + for _i262 in xrange(_size258): + _key263 = iprot.readString() + _val264 = iprot.readString() + self.parameters[_key263] = _val264 iprot.readMapEnd() else: iprot.skip(ftype) @@ -3702,9 +3881,9 @@ def write(self, oprot): if self.parameters is not None: oprot.writeFieldBegin('parameters', TType.MAP, 9) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.parameters)) - for kiter237,viter238 in self.parameters.items(): - oprot.writeString(kiter237) - oprot.writeString(viter238) + for kiter265,viter266 in self.parameters.items(): + oprot.writeString(kiter265) + oprot.writeString(viter266) oprot.writeMapEnd() oprot.writeFieldEnd() if self.deferredRebuild is not None: @@ -5132,11 +5311,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.statsObj = [] - (_etype242, _size239) = iprot.readListBegin() - for _i243 in xrange(_size239): - _elem244 = ColumnStatisticsObj() - _elem244.read(iprot) - self.statsObj.append(_elem244) + (_etype270, _size267) = iprot.readListBegin() + for _i271 in xrange(_size267): + _elem272 = ColumnStatisticsObj() + _elem272.read(iprot) + self.statsObj.append(_elem272) iprot.readListEnd() else: iprot.skip(ftype) @@ -5157,8 +5336,8 @@ def write(self, oprot): if self.statsObj is not None: oprot.writeFieldBegin('statsObj', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.statsObj)) - for iter245 in self.statsObj: - iter245.write(oprot) + for iter273 in self.statsObj: + iter273.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -5218,11 +5397,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.colStats = [] - (_etype249, _size246) = iprot.readListBegin() - for _i250 in xrange(_size246): - _elem251 = ColumnStatisticsObj() - _elem251.read(iprot) - self.colStats.append(_elem251) + (_etype277, _size274) = iprot.readListBegin() + for _i278 in xrange(_size274): + _elem279 = ColumnStatisticsObj() + _elem279.read(iprot) + self.colStats.append(_elem279) iprot.readListEnd() else: iprot.skip(ftype) @@ -5244,8 +5423,8 @@ def write(self, oprot): if self.colStats is not None: oprot.writeFieldBegin('colStats', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.colStats)) - for iter252 in self.colStats: - iter252.write(oprot) + for iter280 in self.colStats: + iter280.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.partsFound is not None: @@ -5306,11 +5485,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.colStats = [] - (_etype256, _size253) = iprot.readListBegin() - for _i257 in xrange(_size253): - _elem258 = ColumnStatistics() - _elem258.read(iprot) - self.colStats.append(_elem258) + (_etype284, _size281) = iprot.readListBegin() + for _i285 in xrange(_size281): + _elem286 = ColumnStatistics() + _elem286.read(iprot) + self.colStats.append(_elem286) iprot.readListEnd() else: iprot.skip(ftype) @@ -5327,8 +5506,8 @@ def write(self, oprot): if self.colStats is not None: oprot.writeFieldBegin('colStats', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.colStats)) - for iter259 in self.colStats: - iter259.write(oprot) + for iter287 in self.colStats: + iter287.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -5385,22 +5564,22 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fieldSchemas = [] - (_etype263, _size260) = iprot.readListBegin() - for _i264 in xrange(_size260): - _elem265 = FieldSchema() - _elem265.read(iprot) - self.fieldSchemas.append(_elem265) + (_etype291, _size288) = iprot.readListBegin() + for _i292 in xrange(_size288): + _elem293 = FieldSchema() + _elem293.read(iprot) + self.fieldSchemas.append(_elem293) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.MAP: self.properties = {} - (_ktype267, _vtype268, _size266 ) = iprot.readMapBegin() - for _i270 in xrange(_size266): - _key271 = iprot.readString() - _val272 = iprot.readString() - self.properties[_key271] = _val272 + (_ktype295, _vtype296, _size294 ) = iprot.readMapBegin() + for _i298 in xrange(_size294): + _key299 = iprot.readString() + _val300 = iprot.readString() + self.properties[_key299] = _val300 iprot.readMapEnd() else: iprot.skip(ftype) @@ -5417,16 +5596,16 @@ def write(self, oprot): if self.fieldSchemas is not None: oprot.writeFieldBegin('fieldSchemas', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.fieldSchemas)) - for iter273 in self.fieldSchemas: - iter273.write(oprot) + for iter301 in self.fieldSchemas: + iter301.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 2) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter274,viter275 in self.properties.items(): - oprot.writeString(kiter274) - oprot.writeString(viter275) + for kiter302,viter303 in self.properties.items(): + oprot.writeString(kiter302) + oprot.writeString(viter303) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -5479,11 +5658,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.properties = {} - (_ktype277, _vtype278, _size276 ) = iprot.readMapBegin() - for _i280 in xrange(_size276): - _key281 = iprot.readString() - _val282 = iprot.readString() - self.properties[_key281] = _val282 + (_ktype305, _vtype306, _size304 ) = iprot.readMapBegin() + for _i308 in xrange(_size304): + _key309 = iprot.readString() + _val310 = iprot.readString() + self.properties[_key309] = _val310 iprot.readMapEnd() else: iprot.skip(ftype) @@ -5500,9 +5679,9 @@ def write(self, oprot): if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter283,viter284 in self.properties.items(): - oprot.writeString(kiter283) - oprot.writeString(viter284) + for kiter311,viter312 in self.properties.items(): + oprot.writeString(kiter311) + oprot.writeString(viter312) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -5557,11 +5736,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype288, _size285) = iprot.readListBegin() - for _i289 in xrange(_size285): - _elem290 = Partition() - _elem290.read(iprot) - self.partitions.append(_elem290) + (_etype316, _size313) = iprot.readListBegin() + for _i317 in xrange(_size313): + _elem318 = Partition() + _elem318.read(iprot) + self.partitions.append(_elem318) iprot.readListEnd() else: iprot.skip(ftype) @@ -5583,8 +5762,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter291 in self.partitions: - iter291.write(oprot) + for iter319 in self.partitions: + iter319.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.hasUnknownPartitions is not None: @@ -5768,11 +5947,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tableStats = [] - (_etype295, _size292) = iprot.readListBegin() - for _i296 in xrange(_size292): - _elem297 = ColumnStatisticsObj() - _elem297.read(iprot) - self.tableStats.append(_elem297) + (_etype323, _size320) = iprot.readListBegin() + for _i324 in xrange(_size320): + _elem325 = ColumnStatisticsObj() + _elem325.read(iprot) + self.tableStats.append(_elem325) iprot.readListEnd() else: iprot.skip(ftype) @@ -5789,8 +5968,8 @@ def write(self, oprot): if self.tableStats is not None: oprot.writeFieldBegin('tableStats', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tableStats)) - for iter298 in self.tableStats: - iter298.write(oprot) + for iter326 in self.tableStats: + iter326.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -5844,17 +6023,17 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partStats = {} - (_ktype300, _vtype301, _size299 ) = iprot.readMapBegin() - for _i303 in xrange(_size299): - _key304 = iprot.readString() - _val305 = [] - (_etype309, _size306) = iprot.readListBegin() - for _i310 in xrange(_size306): - _elem311 = ColumnStatisticsObj() - _elem311.read(iprot) - _val305.append(_elem311) + (_ktype328, _vtype329, _size327 ) = iprot.readMapBegin() + for _i331 in xrange(_size327): + _key332 = iprot.readString() + _val333 = [] + (_etype337, _size334) = iprot.readListBegin() + for _i338 in xrange(_size334): + _elem339 = ColumnStatisticsObj() + _elem339.read(iprot) + _val333.append(_elem339) iprot.readListEnd() - self.partStats[_key304] = _val305 + self.partStats[_key332] = _val333 iprot.readMapEnd() else: iprot.skip(ftype) @@ -5871,11 +6050,11 @@ def write(self, oprot): if self.partStats is not None: oprot.writeFieldBegin('partStats', TType.MAP, 1) oprot.writeMapBegin(TType.STRING, TType.LIST, len(self.partStats)) - for kiter312,viter313 in self.partStats.items(): - oprot.writeString(kiter312) - oprot.writeListBegin(TType.STRUCT, len(viter313)) - for iter314 in viter313: - iter314.write(oprot) + for kiter340,viter341 in self.partStats.items(): + oprot.writeString(kiter340) + oprot.writeListBegin(TType.STRUCT, len(viter341)) + for iter342 in viter341: + iter342.write(oprot) oprot.writeListEnd() oprot.writeMapEnd() oprot.writeFieldEnd() @@ -5946,10 +6125,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.colNames = [] - (_etype318, _size315) = iprot.readListBegin() - for _i319 in xrange(_size315): - _elem320 = iprot.readString() - self.colNames.append(_elem320) + (_etype346, _size343) = iprot.readListBegin() + for _i347 in xrange(_size343): + _elem348 = iprot.readString() + self.colNames.append(_elem348) iprot.readListEnd() else: iprot.skip(ftype) @@ -5974,8 +6153,8 @@ def write(self, oprot): if self.colNames is not None: oprot.writeFieldBegin('colNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.colNames)) - for iter321 in self.colNames: - oprot.writeString(iter321) + for iter349 in self.colNames: + oprot.writeString(iter349) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6054,20 +6233,20 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.colNames = [] - (_etype325, _size322) = iprot.readListBegin() - for _i326 in xrange(_size322): - _elem327 = iprot.readString() - self.colNames.append(_elem327) + (_etype353, _size350) = iprot.readListBegin() + for _i354 in xrange(_size350): + _elem355 = iprot.readString() + self.colNames.append(_elem355) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.partNames = [] - (_etype331, _size328) = iprot.readListBegin() - for _i332 in xrange(_size328): - _elem333 = iprot.readString() - self.partNames.append(_elem333) + (_etype359, _size356) = iprot.readListBegin() + for _i360 in xrange(_size356): + _elem361 = iprot.readString() + self.partNames.append(_elem361) iprot.readListEnd() else: iprot.skip(ftype) @@ -6092,15 +6271,15 @@ def write(self, oprot): if self.colNames is not None: oprot.writeFieldBegin('colNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.colNames)) - for iter334 in self.colNames: - oprot.writeString(iter334) + for iter362 in self.colNames: + oprot.writeString(iter362) oprot.writeListEnd() oprot.writeFieldEnd() if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter335 in self.partNames: - oprot.writeString(iter335) + for iter363 in self.partNames: + oprot.writeString(iter363) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6163,11 +6342,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype339, _size336) = iprot.readListBegin() - for _i340 in xrange(_size336): - _elem341 = Partition() - _elem341.read(iprot) - self.partitions.append(_elem341) + (_etype367, _size364) = iprot.readListBegin() + for _i368 in xrange(_size364): + _elem369 = Partition() + _elem369.read(iprot) + self.partitions.append(_elem369) iprot.readListEnd() else: iprot.skip(ftype) @@ -6184,8 +6363,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter342 in self.partitions: - iter342.write(oprot) + for iter370 in self.partitions: + iter370.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6259,11 +6438,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.parts = [] - (_etype346, _size343) = iprot.readListBegin() - for _i347 in xrange(_size343): - _elem348 = Partition() - _elem348.read(iprot) - self.parts.append(_elem348) + (_etype374, _size371) = iprot.readListBegin() + for _i375 in xrange(_size371): + _elem376 = Partition() + _elem376.read(iprot) + self.parts.append(_elem376) iprot.readListEnd() else: iprot.skip(ftype) @@ -6298,8 +6477,8 @@ def write(self, oprot): if self.parts is not None: oprot.writeFieldBegin('parts', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.parts)) - for iter349 in self.parts: - iter349.write(oprot) + for iter377 in self.parts: + iter377.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.ifNotExists is not None: @@ -6371,11 +6550,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype353, _size350) = iprot.readListBegin() - for _i354 in xrange(_size350): - _elem355 = Partition() - _elem355.read(iprot) - self.partitions.append(_elem355) + (_etype381, _size378) = iprot.readListBegin() + for _i382 in xrange(_size378): + _elem383 = Partition() + _elem383.read(iprot) + self.partitions.append(_elem383) iprot.readListEnd() else: iprot.skip(ftype) @@ -6392,8 +6571,8 @@ def write(self, oprot): if self.partitions is not None: oprot.writeFieldBegin('partitions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitions)) - for iter356 in self.partitions: - iter356.write(oprot) + for iter384 in self.partitions: + iter384.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6528,21 +6707,21 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.names = [] - (_etype360, _size357) = iprot.readListBegin() - for _i361 in xrange(_size357): - _elem362 = iprot.readString() - self.names.append(_elem362) + (_etype388, _size385) = iprot.readListBegin() + for _i389 in xrange(_size385): + _elem390 = iprot.readString() + self.names.append(_elem390) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.exprs = [] - (_etype366, _size363) = iprot.readListBegin() - for _i367 in xrange(_size363): - _elem368 = DropPartitionsExpr() - _elem368.read(iprot) - self.exprs.append(_elem368) + (_etype394, _size391) = iprot.readListBegin() + for _i395 in xrange(_size391): + _elem396 = DropPartitionsExpr() + _elem396.read(iprot) + self.exprs.append(_elem396) iprot.readListEnd() else: iprot.skip(ftype) @@ -6559,15 +6738,15 @@ def write(self, oprot): if self.names is not None: oprot.writeFieldBegin('names', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.names)) - for iter369 in self.names: - oprot.writeString(iter369) + for iter397 in self.names: + oprot.writeString(iter397) oprot.writeListEnd() oprot.writeFieldEnd() if self.exprs is not None: oprot.writeFieldBegin('exprs', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.exprs)) - for iter370 in self.exprs: - iter370.write(oprot) + for iter398 in self.exprs: + iter398.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6918,11 +7097,11 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.resourceUris = [] - (_etype374, _size371) = iprot.readListBegin() - for _i375 in xrange(_size371): - _elem376 = ResourceUri() - _elem376.read(iprot) - self.resourceUris.append(_elem376) + (_etype402, _size399) = iprot.readListBegin() + for _i403 in xrange(_size399): + _elem404 = ResourceUri() + _elem404.read(iprot) + self.resourceUris.append(_elem404) iprot.readListEnd() else: iprot.skip(ftype) @@ -6967,8 +7146,8 @@ def write(self, oprot): if self.resourceUris is not None: oprot.writeFieldBegin('resourceUris', TType.LIST, 8) oprot.writeListBegin(TType.STRUCT, len(self.resourceUris)) - for iter377 in self.resourceUris: - iter377.write(oprot) + for iter405 in self.resourceUris: + iter405.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7186,11 +7365,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.open_txns = [] - (_etype381, _size378) = iprot.readListBegin() - for _i382 in xrange(_size378): - _elem383 = TxnInfo() - _elem383.read(iprot) - self.open_txns.append(_elem383) + (_etype409, _size406) = iprot.readListBegin() + for _i410 in xrange(_size406): + _elem411 = TxnInfo() + _elem411.read(iprot) + self.open_txns.append(_elem411) iprot.readListEnd() else: iprot.skip(ftype) @@ -7211,8 +7390,8 @@ def write(self, oprot): if self.open_txns is not None: oprot.writeFieldBegin('open_txns', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.open_txns)) - for iter384 in self.open_txns: - iter384.write(oprot) + for iter412 in self.open_txns: + iter412.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7277,10 +7456,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.SET: self.open_txns = set() - (_etype388, _size385) = iprot.readSetBegin() - for _i389 in xrange(_size385): - _elem390 = iprot.readI64() - self.open_txns.add(_elem390) + (_etype416, _size413) = iprot.readSetBegin() + for _i417 in xrange(_size413): + _elem418 = iprot.readI64() + self.open_txns.add(_elem418) iprot.readSetEnd() else: iprot.skip(ftype) @@ -7301,8 +7480,8 @@ def write(self, oprot): if self.open_txns is not None: oprot.writeFieldBegin('open_txns', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.open_txns)) - for iter391 in self.open_txns: - oprot.writeI64(iter391) + for iter419 in self.open_txns: + oprot.writeI64(iter419) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7469,10 +7648,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype395, _size392) = iprot.readListBegin() - for _i396 in xrange(_size392): - _elem397 = iprot.readI64() - self.txn_ids.append(_elem397) + (_etype423, _size420) = iprot.readListBegin() + for _i424 in xrange(_size420): + _elem425 = iprot.readI64() + self.txn_ids.append(_elem425) iprot.readListEnd() else: iprot.skip(ftype) @@ -7489,8 +7668,8 @@ def write(self, oprot): if self.txn_ids is not None: oprot.writeFieldBegin('txn_ids', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txn_ids)) - for iter398 in self.txn_ids: - oprot.writeI64(iter398) + for iter426 in self.txn_ids: + oprot.writeI64(iter426) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7813,11 +7992,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype402, _size399) = iprot.readListBegin() - for _i403 in xrange(_size399): - _elem404 = LockComponent() - _elem404.read(iprot) - self.component.append(_elem404) + (_etype430, _size427) = iprot.readListBegin() + for _i431 in xrange(_size427): + _elem432 = LockComponent() + _elem432.read(iprot) + self.component.append(_elem432) iprot.readListEnd() else: iprot.skip(ftype) @@ -7854,8 +8033,8 @@ def write(self, oprot): if self.component is not None: oprot.writeFieldBegin('component', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.component)) - for iter405 in self.component: - iter405.write(oprot) + for iter433 in self.component: + iter433.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -8553,11 +8732,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype409, _size406) = iprot.readListBegin() - for _i410 in xrange(_size406): - _elem411 = ShowLocksResponseElement() - _elem411.read(iprot) - self.locks.append(_elem411) + (_etype437, _size434) = iprot.readListBegin() + for _i438 in xrange(_size434): + _elem439 = ShowLocksResponseElement() + _elem439.read(iprot) + self.locks.append(_elem439) iprot.readListEnd() else: iprot.skip(ftype) @@ -8574,8 +8753,8 @@ def write(self, oprot): if self.locks is not None: oprot.writeFieldBegin('locks', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.locks)) - for iter412 in self.locks: - iter412.write(oprot) + for iter440 in self.locks: + iter440.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8790,20 +8969,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype416, _size413) = iprot.readSetBegin() - for _i417 in xrange(_size413): - _elem418 = iprot.readI64() - self.aborted.add(_elem418) + (_etype444, _size441) = iprot.readSetBegin() + for _i445 in xrange(_size441): + _elem446 = iprot.readI64() + self.aborted.add(_elem446) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype422, _size419) = iprot.readSetBegin() - for _i423 in xrange(_size419): - _elem424 = iprot.readI64() - self.nosuch.add(_elem424) + (_etype450, _size447) = iprot.readSetBegin() + for _i451 in xrange(_size447): + _elem452 = iprot.readI64() + self.nosuch.add(_elem452) iprot.readSetEnd() else: iprot.skip(ftype) @@ -8820,15 +8999,15 @@ def write(self, oprot): if self.aborted is not None: oprot.writeFieldBegin('aborted', TType.SET, 1) oprot.writeSetBegin(TType.I64, len(self.aborted)) - for iter425 in self.aborted: - oprot.writeI64(iter425) + for iter453 in self.aborted: + oprot.writeI64(iter453) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter426 in self.nosuch: - oprot.writeI64(iter426) + for iter454 in self.nosuch: + oprot.writeI64(iter454) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9270,11 +9449,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype430, _size427) = iprot.readListBegin() - for _i431 in xrange(_size427): - _elem432 = ShowCompactResponseElement() - _elem432.read(iprot) - self.compacts.append(_elem432) + (_etype458, _size455) = iprot.readListBegin() + for _i459 in xrange(_size455): + _elem460 = ShowCompactResponseElement() + _elem460.read(iprot) + self.compacts.append(_elem460) iprot.readListEnd() else: iprot.skip(ftype) @@ -9291,8 +9470,8 @@ def write(self, oprot): if self.compacts is not None: oprot.writeFieldBegin('compacts', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.compacts)) - for iter433 in self.compacts: - iter433.write(oprot) + for iter461 in self.compacts: + iter461.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9370,10 +9549,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partitionnames = [] - (_etype437, _size434) = iprot.readListBegin() - for _i438 in xrange(_size434): - _elem439 = iprot.readString() - self.partitionnames.append(_elem439) + (_etype465, _size462) = iprot.readListBegin() + for _i466 in xrange(_size462): + _elem467 = iprot.readString() + self.partitionnames.append(_elem467) iprot.readListEnd() else: iprot.skip(ftype) @@ -9402,8 +9581,8 @@ def write(self, oprot): if self.partitionnames is not None: oprot.writeFieldBegin('partitionnames', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partitionnames)) - for iter440 in self.partitionnames: - oprot.writeString(iter440) + for iter468 in self.partitionnames: + oprot.writeString(iter468) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9684,11 +9863,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype444, _size441) = iprot.readListBegin() - for _i445 in xrange(_size441): - _elem446 = NotificationEvent() - _elem446.read(iprot) - self.events.append(_elem446) + (_etype472, _size469) = iprot.readListBegin() + for _i473 in xrange(_size469): + _elem474 = NotificationEvent() + _elem474.read(iprot) + self.events.append(_elem474) iprot.readListEnd() else: iprot.skip(ftype) @@ -9705,8 +9884,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 iter447 in self.events: - iter447.write(oprot) + for iter475 in self.events: + iter475.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9827,10 +10006,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.filesAdded = [] - (_etype451, _size448) = iprot.readListBegin() - for _i452 in xrange(_size448): - _elem453 = iprot.readString() - self.filesAdded.append(_elem453) + (_etype479, _size476) = iprot.readListBegin() + for _i480 in xrange(_size476): + _elem481 = iprot.readString() + self.filesAdded.append(_elem481) iprot.readListEnd() else: iprot.skip(ftype) @@ -9847,8 +10026,8 @@ def write(self, oprot): if self.filesAdded is not None: oprot.writeFieldBegin('filesAdded', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.filesAdded)) - for iter454 in self.filesAdded: - oprot.writeString(iter454) + for iter482 in self.filesAdded: + oprot.writeString(iter482) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10001,10 +10180,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype458, _size455) = iprot.readListBegin() - for _i459 in xrange(_size455): - _elem460 = iprot.readString() - self.partitionVals.append(_elem460) + (_etype486, _size483) = iprot.readListBegin() + for _i487 in xrange(_size483): + _elem488 = iprot.readString() + self.partitionVals.append(_elem488) iprot.readListEnd() else: iprot.skip(ftype) @@ -10037,8 +10216,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 iter461 in self.partitionVals: - oprot.writeString(iter461) + for iter489 in self.partitionVals: + oprot.writeString(iter489) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10359,12 +10538,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype463, _vtype464, _size462 ) = iprot.readMapBegin() - for _i466 in xrange(_size462): - _key467 = iprot.readI64() - _val468 = MetadataPpdResult() - _val468.read(iprot) - self.metadata[_key467] = _val468 + (_ktype491, _vtype492, _size490 ) = iprot.readMapBegin() + for _i494 in xrange(_size490): + _key495 = iprot.readI64() + _val496 = MetadataPpdResult() + _val496.read(iprot) + self.metadata[_key495] = _val496 iprot.readMapEnd() else: iprot.skip(ftype) @@ -10386,9 +10565,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 kiter469,viter470 in self.metadata.items(): - oprot.writeI64(kiter469) - viter470.write(oprot) + for kiter497,viter498 in self.metadata.items(): + oprot.writeI64(kiter497) + viter498.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -10458,10 +10637,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype474, _size471) = iprot.readListBegin() - for _i475 in xrange(_size471): - _elem476 = iprot.readI64() - self.fileIds.append(_elem476) + (_etype502, _size499) = iprot.readListBegin() + for _i503 in xrange(_size499): + _elem504 = iprot.readI64() + self.fileIds.append(_elem504) iprot.readListEnd() else: iprot.skip(ftype) @@ -10493,8 +10672,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 iter477 in self.fileIds: - oprot.writeI64(iter477) + for iter505 in self.fileIds: + oprot.writeI64(iter505) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -10568,11 +10747,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype479, _vtype480, _size478 ) = iprot.readMapBegin() - for _i482 in xrange(_size478): - _key483 = iprot.readI64() - _val484 = iprot.readString() - self.metadata[_key483] = _val484 + (_ktype507, _vtype508, _size506 ) = iprot.readMapBegin() + for _i510 in xrange(_size506): + _key511 = iprot.readI64() + _val512 = iprot.readString() + self.metadata[_key511] = _val512 iprot.readMapEnd() else: iprot.skip(ftype) @@ -10594,9 +10773,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 kiter485,viter486 in self.metadata.items(): - oprot.writeI64(kiter485) - oprot.writeString(viter486) + for kiter513,viter514 in self.metadata.items(): + oprot.writeI64(kiter513) + oprot.writeString(viter514) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -10657,10 +10836,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype490, _size487) = iprot.readListBegin() - for _i491 in xrange(_size487): - _elem492 = iprot.readI64() - self.fileIds.append(_elem492) + (_etype518, _size515) = iprot.readListBegin() + for _i519 in xrange(_size515): + _elem520 = iprot.readI64() + self.fileIds.append(_elem520) iprot.readListEnd() else: iprot.skip(ftype) @@ -10677,8 +10856,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 iter493 in self.fileIds: - oprot.writeI64(iter493) + for iter521 in self.fileIds: + oprot.writeI64(iter521) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10784,20 +10963,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype497, _size494) = iprot.readListBegin() - for _i498 in xrange(_size494): - _elem499 = iprot.readI64() - self.fileIds.append(_elem499) + (_etype525, _size522) = iprot.readListBegin() + for _i526 in xrange(_size522): + _elem527 = iprot.readI64() + self.fileIds.append(_elem527) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype503, _size500) = iprot.readListBegin() - for _i504 in xrange(_size500): - _elem505 = iprot.readString() - self.metadata.append(_elem505) + (_etype531, _size528) = iprot.readListBegin() + for _i532 in xrange(_size528): + _elem533 = iprot.readString() + self.metadata.append(_elem533) iprot.readListEnd() else: iprot.skip(ftype) @@ -10819,15 +10998,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 iter506 in self.fileIds: - oprot.writeI64(iter506) + for iter534 in self.fileIds: + oprot.writeI64(iter534) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter507 in self.metadata: - oprot.writeString(iter507) + for iter535 in self.metadata: + oprot.writeString(iter535) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -10935,10 +11114,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype511, _size508) = iprot.readListBegin() - for _i512 in xrange(_size508): - _elem513 = iprot.readI64() - self.fileIds.append(_elem513) + (_etype539, _size536) = iprot.readListBegin() + for _i540 in xrange(_size536): + _elem541 = iprot.readI64() + self.fileIds.append(_elem541) iprot.readListEnd() else: iprot.skip(ftype) @@ -10955,8 +11134,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 iter514 in self.fileIds: - oprot.writeI64(iter514) + for iter542 in self.fileIds: + oprot.writeI64(iter542) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11185,11 +11364,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype518, _size515) = iprot.readListBegin() - for _i519 in xrange(_size515): - _elem520 = Function() - _elem520.read(iprot) - self.functions.append(_elem520) + (_etype546, _size543) = iprot.readListBegin() + for _i547 in xrange(_size543): + _elem548 = Function() + _elem548.read(iprot) + self.functions.append(_elem548) iprot.readListEnd() else: iprot.skip(ftype) @@ -11206,8 +11385,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 iter521 in self.functions: - iter521.write(oprot) + for iter549 in self.functions: + iter549.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git a/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb b/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index 1cf40ae..877dae3 100644 --- a/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -145,6 +145,30 @@ class FieldSchema ::Thrift::Struct.generate_accessors self end +class ForeignKeyRel + include ::Thrift::Struct, ::Thrift::Struct_Union + FOREIGNCOLS = 1 + PARENTCOLS = 2 + FOREIGNKEYNAME = 3 + PARENTTABLENAME = 4 + PARENTTABLESCHEMA = 5 + + FIELDS = { + FOREIGNCOLS => {:type => ::Thrift::Types::LIST, :name => 'foreignCols', :element => {:type => ::Thrift::Types::STRUCT, :class => ::FieldSchema}}, + PARENTCOLS => {:type => ::Thrift::Types::LIST, :name => 'parentCols', :element => {:type => ::Thrift::Types::STRUCT, :class => ::FieldSchema}}, + FOREIGNKEYNAME => {:type => ::Thrift::Types::STRING, :name => 'foreignKeyName'}, + PARENTTABLENAME => {:type => ::Thrift::Types::STRING, :name => 'parentTableName'}, + PARENTTABLESCHEMA => {:type => ::Thrift::Types::STRING, :name => 'parentTableSchema'} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self +end + class Type include ::Thrift::Struct, ::Thrift::Struct_Union NAME = 1 @@ -645,6 +669,8 @@ class Table TABLETYPE = 12 PRIVILEGES = 13 TEMPORARY = 14 + PRIMARYKEYS = 15 + FOREIGNKEYS = 16 FIELDS = { TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'}, @@ -660,7 +686,9 @@ class Table VIEWEXPANDEDTEXT => {:type => ::Thrift::Types::STRING, :name => 'viewExpandedText'}, TABLETYPE => {:type => ::Thrift::Types::STRING, :name => 'tableType'}, PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::PrincipalPrivilegeSet, :optional => true}, - TEMPORARY => {:type => ::Thrift::Types::BOOL, :name => 'temporary', :default => false, :optional => true} + TEMPORARY => {:type => ::Thrift::Types::BOOL, :name => 'temporary', :default => false, :optional => true}, + PRIMARYKEYS => {:type => ::Thrift::Types::LIST, :name => 'primaryKeys', :element => {:type => ::Thrift::Types::STRUCT, :class => ::FieldSchema}}, + FOREIGNKEYS => {:type => ::Thrift::Types::LIST, :name => 'foreignKeys', :element => {:type => ::Thrift::Types::STRUCT, :class => ::ForeignKeyRel}} } def struct_fields; FIELDS; end diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java index d51f58d..8cfb76e 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java @@ -49,6 +49,7 @@ import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.FieldSchema; +import org.apache.hadoop.hive.metastore.api.ForeignKeyRel; import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.Order; import org.apache.hadoop.hive.metastore.api.Partition; @@ -1805,4 +1806,26 @@ public void closeAllQueries() { } return result; } + + public String[] getFKParentTable(final String constraintName) throws MetaException { + if (constraintName == null) { + return null; + } + final String queryText = "select \"TBLS\".\"TBL_NAME\", \"DBS\".\"NAME\" from \"TBLS\" " + + "inner join \"PK_FK_MAPPING\" on" + + " \"TBLS\".\"TBL_ID\" = \"PK_FK_MAPPING\".\"REF_TBL_ID\" " + + "inner join \"DBS\" on \"TBLS\".\"DB_ID\" = \"DBS\".\"DB_ID\" where " + + " \"PK_FK_MAPPING\".\"PK_FK_CONSTRAINT_NAME\" = ?"; + Object[] params = new Object[] { constraintName}; + Query query = pm.newQuery("javax.jdo.query.SQL", queryText); + query.setUnique(true); + Object[] sqlResult = executeWithArray(query, params, queryText); + if (sqlResult ==null) { + return null; + } + String[] result = new String[2]; + result[0] = extractSqlString(sqlResult[0]); + result[1] = extractSqlString(sqlResult[1]); + return result; + } } diff --git a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java index ec24fe9..975562f 100644 --- a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -72,6 +72,7 @@ import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.FileMetadataExprType; +import org.apache.hadoop.hive.metastore.api.ForeignKeyRel; import org.apache.hadoop.hive.metastore.api.Function; import org.apache.hadoop.hive.metastore.api.FunctionType; import org.apache.hadoop.hive.metastore.api.HiveObjectPrivilege; @@ -112,6 +113,7 @@ import org.apache.hadoop.hive.metastore.model.MDatabase; import org.apache.hadoop.hive.metastore.model.MDelegationToken; import org.apache.hadoop.hive.metastore.model.MFieldSchema; +import org.apache.hadoop.hive.metastore.model.MForeignKeyRel; import org.apache.hadoop.hive.metastore.model.MFunction; import org.apache.hadoop.hive.metastore.model.MGlobalPrivilege; import org.apache.hadoop.hive.metastore.model.MIndex; @@ -119,6 +121,7 @@ import org.apache.hadoop.hive.metastore.model.MNotificationLog; import org.apache.hadoop.hive.metastore.model.MNotificationNextId; import org.apache.hadoop.hive.metastore.model.MOrder; +import org.apache.hadoop.hive.metastore.model.MPKFKMapping; import org.apache.hadoop.hive.metastore.model.MPartition; import org.apache.hadoop.hive.metastore.model.MPartitionColumnPrivilege; import org.apache.hadoop.hive.metastore.model.MPartitionColumnStatistics; @@ -905,6 +908,10 @@ public void createTable(Table tbl) throws InvalidObjectException, MetaException openTransaction(); MTable mtbl = convertToMTable(tbl); pm.makePersistent(mtbl); + + List fks = tbl.getForeignKeys(); + addPKFKMapping(mtbl, fks); + PrincipalPrivilegeSet principalPrivs = tbl.getPrivileges(); List toPersistPrivObjs = new ArrayList(); if (principalPrivs != null) { @@ -1293,7 +1300,8 @@ private Table convertToTable(MTable mtbl) throws MetaException { .getOwner(), mtbl.getCreateTime(), mtbl.getLastAccessTime(), mtbl .getRetention(), convertToStorageDescriptor(mtbl.getSd()), convertToFieldSchemas(mtbl.getPartitionKeys()), convertMap(mtbl.getParameters()), - mtbl.getViewOriginalText(), mtbl.getViewExpandedText(), tableType); + mtbl.getViewOriginalText(), mtbl.getViewExpandedText(), tableType, + convertToFieldSchemas(mtbl.getPrimaryKeys()), convertToForeignKeyRels(mtbl.getForeignKeys())); } private MTable convertToMTable(Table tbl) throws InvalidObjectException, @@ -1327,11 +1335,45 @@ private MTable convertToMTable(Table tbl) throws InvalidObjectException, // A new table is always created with a new column descriptor return new MTable(HiveStringUtils.normalizeIdentifier(tbl.getTableName()), mdb, - convertToMStorageDescriptor(tbl.getSd()), tbl.getOwner(), tbl - .getCreateTime(), tbl.getLastAccessTime(), tbl.getRetention(), + convertToMStorageDescriptor(tbl.getSd()), tbl.getOwner(), tbl.getCreateTime(), + tbl.getLastAccessTime(), tbl.getRetention(), convertToMFieldSchemas(tbl.getPartitionKeys()), tbl.getParameters(), tbl.getViewOriginalText(), tbl.getViewExpandedText(), - tableType); + tableType, convertToMFieldSchemas(tbl.getPrimaryKeys()), + convertToMForeignKeyRels(tbl.getForeignKeys())); + } + + private List convertToMForeignKeyRels(List fkRels) { + List mfkRels= new ArrayList(fkRels.size()); + + for (ForeignKeyRel fkRel : fkRels) { + MForeignKeyRel mfkRel = new MForeignKeyRel( + new MColumnDescriptor(convertToMFieldSchemas(fkRel.getForeignCols())), + new MColumnDescriptor(convertToMFieldSchemas(fkRel.getParentCols())), + fkRel.getForeignKeyName() + ); + mfkRels.add(mfkRel); + } + return mfkRels; + } + + private List convertToForeignKeyRels( + List mfkRels) throws MetaException { + if (mfkRels == null) { + return null; + } + List fkRels = new ArrayList(mfkRels.size()); + + for (MForeignKeyRel mfkRel : mfkRels) { + ForeignKeyRel fk; + String[] parentTableInfo = directSql.getFKParentTable(mfkRel.getForeignKeyName()); + fk = new ForeignKeyRel( + convertToFieldSchemas(mfkRel.getForeignCols().getCols()), + convertToFieldSchemas(mfkRel.getParentCols().getCols()), + mfkRel.getForeignKeyName(), parentTableInfo[0], parentTableInfo[1]); + fkRels.add(fk); + } + return fkRels; } private List convertToMFieldSchemas(List keys) { @@ -3200,6 +3242,19 @@ private void preDropStorageDescriptor(MStorageDescriptor msd) { return sds; } + private void addPKFKMapping(MTable mtbl, + List fks) throws InvalidObjectException, + MetaException { + List mpkfks = new ArrayList(); + for (int i = 0; i < fks.size(); i++) { + MPKFKMapping mpkfk = new MPKFKMapping(fks.get(i).getForeignKeyName(), mtbl, + getMTable(fks.get(i).getParentTableSchema(), fks.get(i).getParentTableName()) + ); + mpkfks.add(mpkfk); + } + pm.makePersistentAll(mpkfks); + } + @Override public boolean addIndex(Index index) throws InvalidObjectException, MetaException { diff --git a/metastore/src/model/org/apache/hadoop/hive/metastore/model/MForeignKeyRel.java b/metastore/src/model/org/apache/hadoop/hive/metastore/model/MForeignKeyRel.java new file mode 100644 index 0000000..dd8c4df --- /dev/null +++ b/metastore/src/model/org/apache/hadoop/hive/metastore/model/MForeignKeyRel.java @@ -0,0 +1,39 @@ +package org.apache.hadoop.hive.metastore.model; + +public class MForeignKeyRel { + private MColumnDescriptor foreignCols; // required + private MColumnDescriptor parentCols; // required + private String foreignKeyName; // required + + public MForeignKeyRel() {} + + public MForeignKeyRel(MColumnDescriptor foreignCols, MColumnDescriptor parentCols, String foreignKeyName) { + this.foreignCols = foreignCols; + this.parentCols = parentCols; + this.foreignKeyName = foreignKeyName; + } + + public MColumnDescriptor getForeignCols() { + return foreignCols; + } + + public void setForeignCols(MColumnDescriptor foreignCols) { + this.foreignCols = foreignCols; + } + + public MColumnDescriptor getParentCols() { + return parentCols; + } + + public void setParentCols(MColumnDescriptor parentCols) { + this.parentCols = parentCols; + } + + public String getForeignKeyName() { + return foreignKeyName; + } + + public void setForeignKeyName(String fkName) { + this.foreignKeyName = fkName; + } +} diff --git a/metastore/src/model/org/apache/hadoop/hive/metastore/model/MPKFKMapping.java b/metastore/src/model/org/apache/hadoop/hive/metastore/model/MPKFKMapping.java new file mode 100644 index 0000000..5331bf1 --- /dev/null +++ b/metastore/src/model/org/apache/hadoop/hive/metastore/model/MPKFKMapping.java @@ -0,0 +1,39 @@ +package org.apache.hadoop.hive.metastore.model; + +public class MPKFKMapping { + String constraintName; + MTable foreignTable; + MTable parentTable; + + public MPKFKMapping() {} + + public MPKFKMapping(String cn, MTable ft, MTable pt) { + constraintName = cn; + foreignTable = ft; + parentTable = pt; + } + + public String getConstraintName() { + return constraintName; + } + + public void setConstraintName(String fkName) { + this.constraintName = fkName; + } + + public MTable getForeignTable() { + return foreignTable; + } + + public void setForeignTable(MTable ft) { + this.foreignTable = ft; + } + + public MTable getParentTable() { + return parentTable; + } + + public void setParentTable(MTable pt) { + this.parentTable = pt; + } +} diff --git a/metastore/src/model/org/apache/hadoop/hive/metastore/model/MTable.java b/metastore/src/model/org/apache/hadoop/hive/metastore/model/MTable.java index 2a78ce9..1cef586 100644 --- a/metastore/src/model/org/apache/hadoop/hive/metastore/model/MTable.java +++ b/metastore/src/model/org/apache/hadoop/hive/metastore/model/MTable.java @@ -21,6 +21,8 @@ import java.util.List; import java.util.Map; +import org.apache.hadoop.hive.metastore.api.ForeignKeyRel; + public class MTable { private String tableName; @@ -35,6 +37,8 @@ private String viewOriginalText; private String viewExpandedText; private String tableType; + private List primaryKeys; + private List foreignKeys; public MTable() {} @@ -55,7 +59,9 @@ public MTable() {} public MTable(String tableName, MDatabase database, MStorageDescriptor sd, String owner, int createTime, int lastAccessTime, int retention, List partitionKeys, Map parameters, - String viewOriginalText, String viewExpandedText, String tableType) { + String viewOriginalText, String viewExpandedText, String tableType, List primaryKeys, + List foreignKeys +) { this.tableName = tableName; this.database = database; this.sd = sd; @@ -68,6 +74,8 @@ public MTable(String tableName, MDatabase database, MStorageDescriptor sd, Strin this.viewOriginalText = viewOriginalText; this.viewExpandedText = viewExpandedText; this.tableType = tableType; + this.primaryKeys = primaryKeys; + this.foreignKeys = foreignKeys; } /** @@ -106,6 +114,34 @@ public void setSd(MStorageDescriptor sd) { } /** + * @param primaryKeys + */ + public void setPrimaryKeys(List primaryKeys) { + this.primaryKeys = primaryKeys; + } + + /** + * @return the primaryKeys + */ + public List getPrimaryKeys() { + return primaryKeys; + } + + /** + * @param foreignKeys + */ + public void setForeignKeys(List foreignKeys) { + this.foreignKeys = foreignKeys; + } + + /** + * @return the foreignKeys + */ + public List getForeignKeys() { + return foreignKeys; + } + + /** * @param partKeys the partKeys to set */ public void setPartitionKeys(List partKeys) { diff --git a/metastore/src/model/package.jdo b/metastore/src/model/package.jdo index 7385a13..dc7df92 100644 --- a/metastore/src/model/package.jdo +++ b/metastore/src/model/package.jdo @@ -146,6 +146,48 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -184,6 +226,30 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/TestHiveMetaStorePartitionSpecs.java b/metastore/src/test/org/apache/hadoop/hive/metastore/TestHiveMetaStorePartitionSpecs.java index 922a4bf..51f882c 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/TestHiveMetaStorePartitionSpecs.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/TestHiveMetaStorePartitionSpecs.java @@ -140,7 +140,7 @@ private static void createTable(HiveMetaStoreClient hmsc, boolean enablePartitio Map tableParameters = new HashMap(); tableParameters.put("hive.hcatalog.partition.spec.grouping.enabled", enablePartitionGrouping? "true":"false"); - Table table = new Table(tableName, dbName, "", 0, 0, 0, storageDescriptor, partColumns, tableParameters, "", "", ""); + Table table = new Table(tableName, dbName, "", 0, 0, 0, storageDescriptor, partColumns, tableParameters, "", "", "", null, null); hmsc.createTable(table); Assert.assertTrue("Table " + dbName + "." + tableName + " does not exist", diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java b/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java index 2e1f5f4..5751dcb 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java @@ -134,14 +134,14 @@ public void testTableOps() throws MetaException, InvalidObjectException, NoSuchO StorageDescriptor sd = new StorageDescriptor(null, "location", null, null, false, 0, new SerDeInfo("SerDeName", "serializationLib", null), null, null, null); HashMap params = new HashMap(); params.put("EXTERNAL", "false"); - Table tbl1 = new Table(TABLE1, DB1, "owner", 1, 2, 3, sd, null, params, "viewOriginalText", "viewExpandedText", "MANAGED_TABLE"); + Table tbl1 = new Table(TABLE1, DB1, "owner", 1, 2, 3, sd, null, params, "viewOriginalText", "viewExpandedText", "MANAGED_TABLE", null, null); objectStore.createTable(tbl1); List tables = objectStore.getAllTables(DB1); Assert.assertEquals(1, tables.size()); Assert.assertEquals(TABLE1, tables.get(0)); - Table newTbl1 = new Table("new" + TABLE1, DB1, "owner", 1, 2, 3, sd, null, params, "viewOriginalText", "viewExpandedText", "MANAGED_TABLE"); + Table newTbl1 = new Table("new" + TABLE1, DB1, "owner", 1, 2, 3, sd, null, params, "viewOriginalText", "viewExpandedText", "MANAGED_TABLE", null, null); objectStore.alterTable(DB1, TABLE1, newTbl1); tables = objectStore.getTables(DB1, "new*"); Assert.assertEquals(1, tables.size()); @@ -166,7 +166,7 @@ public void testPartitionOps() throws MetaException, InvalidObjectException, NoS tableParams.put("EXTERNAL", "false"); FieldSchema partitionKey1 = new FieldSchema("Country", serdeConstants.STRING_TYPE_NAME, ""); FieldSchema partitionKey2 = new FieldSchema("State", serdeConstants.STRING_TYPE_NAME, ""); - Table tbl1 = new Table(TABLE1, DB1, "owner", 1, 2, 3, sd, Arrays.asList(partitionKey1, partitionKey2), tableParams, "viewOriginalText", "viewExpandedText", "MANAGED_TABLE"); + Table tbl1 = new Table(TABLE1, DB1, "owner", 1, 2, 3, sd, Arrays.asList(partitionKey1, partitionKey2), tableParams, "viewOriginalText", "viewExpandedText", "MANAGED_TABLE", null, null); objectStore.createTable(tbl1); HashMap partitionParams = new HashMap(); partitionParams.put("PARTITION_LEVEL_PRIVILEGE", "true"); diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggregateStatsCache.java b/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggregateStatsCache.java index 6cd3a46..302bf4b 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggregateStatsCache.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggregateStatsCache.java @@ -91,7 +91,7 @@ public void allWithStats() throws Exception { List partCols = new ArrayList<>(); partCols.add(new FieldSchema("ds", "string", "")); Table table = new Table(tableName, dbName, "me", (int)now, (int)now, 0, sd, partCols, - Collections.emptyMap(), null, null, null); + Collections.emptyMap(), null, null, null, null, null); store.createTable(table); for (List partVals : Arrays.asList(partVals1, partVals2)) { @@ -173,7 +173,7 @@ public void noneWithStats() throws Exception { List partCols = new ArrayList<>(); partCols.add(new FieldSchema("ds", "string", "")); Table table = new Table(tableName, dbName, "me", (int)now, (int)now, 0, sd, partCols, - Collections.emptyMap(), null, null, null); + Collections.emptyMap(), null, null, null, null, null); store.createTable(table); for (List partVals : Arrays.asList(partVals1, partVals2)) { @@ -212,7 +212,7 @@ public void someNonexistentPartitions() throws Exception { List partCols = new ArrayList<>(); partCols.add(new FieldSchema("ds", "string", "")); Table table = new Table(tableName, dbName, "me", (int)now, (int)now, 0, sd, partCols, - Collections.emptyMap(), null, null, null); + Collections.emptyMap(), null, null, null, null, null); store.createTable(table); StorageDescriptor psd = new StorageDescriptor(sd); @@ -293,7 +293,7 @@ public void nonexistentPartitions() throws Exception { List partCols = new ArrayList<>(); partCols.add(new FieldSchema("ds", "string", "")); Table table = new Table(tableName, dbName, "me", (int)now, (int)now, 0, sd, partCols, - Collections.emptyMap(), null, null, null); + Collections.emptyMap(), null, null, null, null, null); store.createTable(table); Checker statChecker = new Checker() { diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggregateStatsCacheWithBitVector.java b/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggregateStatsCacheWithBitVector.java index 36c7984..db0d615 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggregateStatsCacheWithBitVector.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseAggregateStatsCacheWithBitVector.java @@ -87,7 +87,7 @@ public void allPartitions() throws Exception { List partCols = new ArrayList<>(); partCols.add(new FieldSchema("ds", "string", "")); Table table = new Table(tableName, dbName, "me", (int) now, (int) now, 0, sd, partCols, - Collections. emptyMap(), null, null, null); + Collections. emptyMap(), null, null, null, null, null); store.createTable(table); StorageDescriptor psd = new StorageDescriptor(sd); diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStore.java b/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStore.java index e4723f6..fa8506d 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStore.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStore.java @@ -404,7 +404,7 @@ public void createTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 17, serde, Arrays.asList("bucketcol"), Arrays.asList(new Order("sortcol", 1)), params); Table table = new Table(tableName, "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); Table t = store.getTable("default", tableName); @@ -448,7 +448,7 @@ public void skewInfo() throws Exception { map); sd.setSkewedInfo(skew); Table table = new Table(tableName, "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); Table t = store.getTable("default", tableName); @@ -518,7 +518,7 @@ public void alterTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table(tableName, "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); startTime += 10; @@ -551,7 +551,7 @@ public void dropTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table(tableName, "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); Table t = store.getTable("default", tableName); @@ -573,7 +573,7 @@ public void createPartition() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, DB, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List vals = Arrays.asList("fred"); @@ -614,7 +614,7 @@ public void alterPartition() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, DB, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List vals = Arrays.asList("fred"); @@ -659,7 +659,7 @@ public void getPartitions() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, DB, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List partVals = Arrays.asList("alan", "bob", "carl", "doug", "ethan"); @@ -697,7 +697,7 @@ public void listGetDropPartitionNames() throws Exception { partCols.add(new FieldSchema("pc", "string", "")); partCols.add(new FieldSchema("region", "string", "")); Table table = new Table(tableName, DB, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); String[][] partVals = new String[][]{{"today", "north america"}, {"tomorrow", "europe"}}; @@ -740,7 +740,7 @@ public void dropPartition() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, DB, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List vals = Arrays.asList("fred"); @@ -1276,7 +1276,7 @@ private Table createMockTableAndPartition(String partType, String partVal) throw serde, Arrays.asList("bucketcol"), Arrays.asList(new Order("sortcol", 1)), params); int currentTime = (int)(System.currentTimeMillis() / 1000); Table table = new Table(TBL, DB, "me", currentTime, currentTime, 0, sd, cols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); Partition part = new Partition(vals, DB, TBL, currentTime, currentTime, sd, emptyParameters); @@ -1294,7 +1294,7 @@ private Table createMockTable(String type) throws Exception { serde, Arrays.asList("bucketcol"), Arrays.asList(new Order("sortcol", 1)), params); int currentTime = (int)(System.currentTimeMillis() / 1000); Table table = new Table(TBL, DB, "me", currentTime, currentTime, 0, sd, cols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); return table; } diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreBitVector.java b/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreBitVector.java index b1dc542..834ec8a 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreBitVector.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreBitVector.java @@ -569,7 +569,7 @@ private Table createMockTable(String name, String type) throws Exception { serde, new ArrayList(), new ArrayList(), params); int currentTime = (int)(System.currentTimeMillis() / 1000); Table table = new Table(TBL, DB, "me", currentTime, currentTime, 0, sd, cols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); return table; } @@ -586,7 +586,7 @@ private Table createMockTableAndPartition(String partType, String partVal) throw serde, Arrays.asList("bucketcol"), Arrays.asList(new Order("sortcol", 1)), params); int currentTime = (int)(System.currentTimeMillis() / 1000); Table table = new Table(TBL, DB, "me", currentTime, currentTime, 0, sd, cols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); Partition part = new Partition(vals, DB, TBL, currentTime, currentTime, sd, emptyParameters); diff --git a/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreCached.java b/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreCached.java index cfe9cd0..d59510e 100644 --- a/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreCached.java +++ b/metastore/src/test/org/apache/hadoop/hive/metastore/hbase/TestHBaseStoreCached.java @@ -101,7 +101,7 @@ public void createTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table(tableName, "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); Table t = store.getTable("default", tableName); @@ -129,7 +129,7 @@ public void alterTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table(tableName, "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); startTime += 10; @@ -162,7 +162,7 @@ public void dropTable() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table(tableName, "default", "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); Table t = store.getTable("default", tableName); @@ -185,7 +185,7 @@ public void createPartition() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List vals = Arrays.asList("fred"); @@ -224,7 +224,7 @@ public void getPartitions() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List partVals = Arrays.asList("alan", "bob", "carl", "doug", "ethan"); @@ -263,7 +263,7 @@ public void listGetDropPartitionNames() throws Exception { partCols.add(new FieldSchema("pc", "string", "")); partCols.add(new FieldSchema("region", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); String[][] partVals = new String[][]{{"today", "north america"}, {"tomorrow", "europe"}}; @@ -307,7 +307,7 @@ public void dropPartition() throws Exception { List partCols = new ArrayList(); partCols.add(new FieldSchema("pc", "string", "")); Table table = new Table(tableName, dbName, "me", startTime, startTime, 0, sd, partCols, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); List vals = Arrays.asList("fred"); @@ -338,7 +338,7 @@ public void booleanTableStatistics() throws Exception { StorageDescriptor sd = new StorageDescriptor(cols, "file:/tmp", "input", "output", false, 0, serde, null, null, emptyParameters); Table table = new Table(tableName, dbname, "me", startTime, startTime, 0, sd, null, - emptyParameters, null, null, null); + emptyParameters, null, null, null, null, null); store.createTable(table); long trues = 37; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java b/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java index f091f67..ab01512 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/ErrorMsg.java @@ -447,6 +447,7 @@ INVALID_LOAD_TABLE_FILE_WORK(10322, "Invalid Load Table Work or Load File Work"), CLASSPATH_ERROR(10323, "Classpath error"), IMPORT_SEMANTIC_ERROR(10324, "Import Semantic Analyzer Error"), + INVALID_FK_SYNTAX(10325, "Invalid Foreign Key syntax"), //========================== 20000 range starts here ========================// SCRIPT_INIT_ERROR(20000, "Unable to initialize custom script."), SCRIPT_IO_ERROR(20001, "An error occurred while reading or writing to your custom script. " @@ -463,7 +464,6 @@ OP_NOT_ALLOWED_IN_AUTOCOMMIT(20006, "Operation {0} is not allowed when autoCommit=true.", true),//todo: better SQLState? OP_NOT_ALLOWED_IN_TXN(20007, "Operation {0} is not allowed in a transaction. TransactionID={1}.", true), OP_NOT_ALLOWED_WITHOUT_TXN(20008, "Operation {0} is not allowed since autoCommit=false and there is no active transaction", true), - //========================== 30000 range starts here ========================// STATSPUBLISHER_NOT_OBTAINED(30000, "StatsPublisher cannot be obtained. " + "There was a error to retrieve the StatsPublisher, and retrying " + diff --git a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java index 5a72af1..f509128 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/metadata/Table.java @@ -38,6 +38,7 @@ import org.apache.hadoop.hive.metastore.MetaStoreUtils; import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.FieldSchema; +import org.apache.hadoop.hive.metastore.api.ForeignKeyRel; import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.Order; import org.apache.hadoop.hive.metastore.api.SerDeInfo; @@ -653,10 +654,18 @@ public void setPartCols(List partCols) { tTable.setPartitionKeys(partCols); } + public void setPrimaryKeys(List primaryKeys) { + tTable.setPrimaryKeys(primaryKeys); + } + public String getDbName() { return tTable.getDbName(); } + public void setForeignKeys(List foreignKeys) { + tTable.setForeignKeys(foreignKeys);; + } + public int getNumBuckets() { return tTable.getSd().getNumBuckets(); } @@ -784,6 +793,14 @@ public void setDbName(String databaseName) { return tTable.getPartitionKeys(); } + public List getPrimaryKeys() { + return tTable.getPrimaryKeys(); + } + + public List getForeignKeys() { + return tTable.getForeignKeys(); + } + /** * @return the original view text, or null if this table is not a view */ @@ -979,4 +996,6 @@ public boolean hasDeserializer() { return deserializer != null; } + + }; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java index f6ba521..4588c87 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/BaseSemanticAnalyzer.java @@ -43,6 +43,7 @@ import org.apache.hadoop.hive.metastore.HiveMetaStore; import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.FieldSchema; +import org.apache.hadoop.hive.metastore.api.ForeignKeyRel; import org.apache.hadoop.hive.metastore.api.Order; import org.apache.hadoop.hive.ql.CompilationOpContext; import org.apache.hadoop.hive.ql.Context; @@ -616,29 +617,94 @@ private static String spliceString(String str, int i, int length, String replace * Get the list of FieldSchema out of the ASTNode. */ public static List getColumns(ASTNode ast, boolean lowerCase) throws SemanticException { + return getColumns(ast, lowerCase, new ArrayList(), new ArrayList()); + } + + /** + * Get the list of FieldSchema out of the ASTNode. + */ + public static List getColumns(ASTNode ast, boolean lowerCase, + List primaryKeys, List foreignKeys) throws SemanticException { List colList = new ArrayList(); int numCh = ast.getChildCount(); + List pkNames = new ArrayList(); + Map nametoFS = new HashMap(); + Tree parent = ast.getParent(); + String[] qualifiedTabName = getQualifiedTableName((ASTNode) parent.getChild(0)); + String dbDotTab = getDotName(qualifiedTabName); + for (int i = 0; i < numCh; i++) { FieldSchema col = new FieldSchema(); ASTNode child = (ASTNode) ast.getChild(i); - Tree grandChild = child.getChild(0); - if(grandChild != null) { - String name = grandChild.getText(); - if(lowerCase) { - name = name.toLowerCase(); + if (child.getToken().getType() == HiveParser.TOK_PRIMARY_KEY) { + for (int j = 0; j < child.getChild(1).getChildCount(); j++) { + Tree grandChild = child.getChild(1).getChild(j); + pkNames.add(unescapeIdentifier(grandChild.getText().toLowerCase())); } - // child 0 is the name of the column - col.setName(unescapeIdentifier(name)); - // child 1 is the type of the column - ASTNode typeChild = (ASTNode) (child.getChild(1)); - col.setType(getTypeStringFromAST(typeChild)); - - // child 2 is the optional comment of the column - if (child.getChildCount() == 3) { - col.setComment(unescapeSQLString(child.getChild(2).getText())); + } else if (child.getToken().getType() == HiveParser.TOK_FOREIGN_KEY) { + ForeignKeyInfo fkInfo = new ForeignKeyInfo(); + // The grammar looks like : + // 1. KW_CONSTRAINT idfr=identifier KW_FOREIGN KW_KEY fkCols=columnParenthesesList + // KW_REFERENCES tabName=tableName parCols=columnParenthesesList -> + // ^(TOK_FOREIGN_KEY $idfr $fkCols $tabName $parCols + // when the user specifies the constraint name (i.e. child.getChildCount() == 8) + // 2. KW_FOREIGN KW_KEY fkCols=columnParenthesesList + // KW_REFERENCES tabName=tableName parCols=columnParenthesesList -> + // ^(TOK_FOREIGN_KEY $fkCols $tabName $parCols) when no constraint name is specified + boolean userSpecifiedConstraintName = child.getChildCount() == 8; + int fkIndex = userSpecifiedConstraintName ? 2 : 1; + int pkIndex = userSpecifiedConstraintName ? 6 : 5; + int ptIndex = userSpecifiedConstraintName ? 4 : 3; + + fkInfo.qualifiedParentTableName = getQualifiedTableName((ASTNode) child.getChild(ptIndex)); + if (child.getChild(fkIndex).getChildCount() != child.getChild(pkIndex).getChildCount()) { + throw new SemanticException(ErrorMsg.INVALID_FK_SYNTAX.getMsg(fkInfo.constraintName + + " : the number of foreign key columns should be same as number of parent key columns ")); + } + for (int j = 0; j < child.getChild(fkIndex).getChildCount(); j++) { + Tree grandChild = child.getChild(fkIndex).getChild(j); + fkInfo.foreignKeyCols.add(unescapeIdentifier(grandChild.getText().toLowerCase())); + } + for (int j = 0; j < child.getChild(pkIndex).getChildCount(); j++) { + Tree grandChild = child.getChild(pkIndex).getChild(j); + fkInfo.parentKeyCols.add(unescapeIdentifier(grandChild.getText().toLowerCase())); + } + if (userSpecifiedConstraintName) { + fkInfo.constraintName = unescapeIdentifier(child.getChild(0).getText().toLowerCase()); + } else { + fkInfo.constraintName = ParseUtils. + generateFKName(dbDotTab, fkInfo.foreignKeyCols, fkInfo.parentKeyCols, getDotName(fkInfo.qualifiedParentTableName)); + } + foreignKeys.add(fkInfo); + } + else { + Tree grandChild = child.getChild(0); + if(grandChild != null) { + String name = grandChild.getText(); + if(lowerCase) { + name = name.toLowerCase(); + } + // child 0 is the name of the column + col.setName(unescapeIdentifier(name)); + // child 1 is the type of the column + ASTNode typeChild = (ASTNode) (child.getChild(1)); + col.setType(getTypeStringFromAST(typeChild)); + + // child 2 is the optional comment of the column + if (child.getChildCount() == 3) { + col.setComment(unescapeSQLString(child.getChild(2).getText())); + } } + nametoFS.put(col.getName(), col); + colList.add(col); + } + } + for (String pk : pkNames) { + if (nametoFS.containsKey(pk)) { + primaryKeys.add(new FieldSchema(nametoFS.get(pk))); + } else { + throw new SemanticException(ErrorMsg.INVALID_COLUMN.getMsg(pk)); } - colList.add(col); } return colList; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ForeignKeyInfo.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ForeignKeyInfo.java new file mode 100644 index 0000000..88dc47d --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ForeignKeyInfo.java @@ -0,0 +1,30 @@ +package org.apache.hadoop.hive.ql.parse; + +import java.util.ArrayList; +import java.util.List; + +import org.apache.commons.lang3.ArrayUtils; +import org.apache.hadoop.hive.metastore.api.ForeignKeyRel; +import org.apache.hadoop.hive.ql.metadata.Hive; + +/* + * Intermediate structure to capture foreignKey information for a table in BaseSemanticAnalyzer.getColumns() + */ +public class ForeignKeyInfo { + String constraintName; + String[] qualifiedParentTableName; + List foreignKeyCols; + List parentKeyCols; + + public ForeignKeyInfo(String cn, String[] pt, List fkCols, List pkCols) { + constraintName = cn; + qualifiedParentTableName = pt; + foreignKeyCols = fkCols; + parentKeyCols = pkCols; + } + + public ForeignKeyInfo() { + foreignKeyCols = new ArrayList(); + parentKeyCols = new ArrayList(); + } +} \ No newline at end of file diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g b/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g index dd997f0..51bb6ea 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g @@ -318,6 +318,14 @@ KW_LEVEL: 'LEVEL'; KW_SNAPSHOT: 'SNAPSHOT'; KW_AUTOCOMMIT: 'AUTOCOMMIT'; KW_CACHE: 'CACHE'; +KW_PRIMARY: 'PRIMARY'; +KW_FOREIGN: 'FOREIGN'; +KW_KEY: 'KEY'; +KW_REFERENCES: 'REFERENCES'; +KW_CONSTRAINT: 'CONSTRAINT'; +KW_NOVALIDATE: 'NOVALIDATE'; +KW_RELY: 'RELY'; +KW_NORELY: 'NORELY'; // Operators // NOTE: if you add a new function/operator, add it to sysFuncNames so that describe function _FUNC_ will work. diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g b/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g index 50c53db..74d5bc0 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g @@ -102,6 +102,12 @@ TOK_METADATA; TOK_NULL; TOK_ISNULL; TOK_ISNOTNULL; +TOK_PRIMARY_KEY; +TOK_FOREIGN_KEY; +TOK_DISABLE; +TOK_NOVALIDATE; +TOK_RELY; +TOK_NORELY; TOK_TINYINT; TOK_SMALLINT; TOK_INT; @@ -515,7 +521,15 @@ import org.apache.hadoop.hive.conf.HiveConf; xlateMap.put("KW_UPDATE", "UPDATE"); xlateMap.put("KW_VALUES", "VALUES"); xlateMap.put("KW_PURGE", "PURGE"); - + xlateMap.put("KW_PRIMARY", "PRIMARY"); + xlateMap.put("KW_FOREIGN", "FOREIGN"); + xlateMap.put("KW_KEY", "KEY"); + xlateMap.put("KW_REFERENCES", "REFERENCES"); + xlateMap.put("KW_CONSTRAINT", "CONSTRAINT"); + xlateMap.put("KW_DISABLE", "DISABLE"); + xlateMap.put("KW_NOVALIDATE", "NOVALIDATE"); + xlateMap.put("KW_RELY", "RELY"); + xlateMap.put("KW_NORELY", "NORELY"); // Operators xlateMap.put("DOT", "."); @@ -890,7 +904,7 @@ createTableStatement tableFileFormat? tableLocation? tablePropertiesPrefixed? - | (LPAREN columnNameTypeList RPAREN)? + | (LPAREN columnNameTypeOrPKOrFKList RPAREN)? tableComment? tablePartition? tableBuckets? @@ -903,7 +917,7 @@ createTableStatement ) -> ^(TOK_CREATETABLE $name $temp? $ext? ifNotExists? ^(TOK_LIKETABLE $likeName?) - columnNameTypeList? + columnNameTypeOrPKOrFKList? tableComment? tablePartition? tableBuckets? @@ -1943,6 +1957,11 @@ columnNameTypeList @after { popMsg(state); } : columnNameType (COMMA columnNameType)* -> ^(TOK_TABCOLLIST columnNameType+) ; +columnNameTypeOrPKOrFKList +@init { pushMsg("column name type list with PK and FK", state); } +@after { popMsg(state); } + : columnNameTypeOrPKOrFK (COMMA columnNameTypeOrPKOrFK)* -> ^(TOK_TABCOLLIST columnNameTypeOrPKOrFK+) + ; columnNameColonTypeList @init { pushMsg("column name type list", state); } @@ -1976,6 +1995,30 @@ columnNameOrderList : columnNameOrder (COMMA columnNameOrder)* -> ^(TOK_TABCOLNAME columnNameOrder+) ; +columnParenthesesList +@init { pushMsg("column parentheses list", state); } +@after { popMsg(state); } + : LPAREN columnNameList RPAREN + ; + +primaryKeyWithoutName +@init { pushMsg("primary key without key name", state); } +@after { popMsg(state); } + : KW_PRIMARY KW_KEY columnParenthesesList -> ^(TOK_PRIMARY_KEY columnParenthesesList) + ; + +foreignKeyWithName +@init { pushMsg("foreign key with key name", state); } +@after { popMsg(state); } + : KW_CONSTRAINT idfr=identifier KW_FOREIGN KW_KEY fkCols=columnParenthesesList KW_REFERENCES tabName=tableName parCols=columnParenthesesList -> ^(TOK_FOREIGN_KEY $idfr $fkCols $tabName $parCols) + ; + +foreignKeyWithoutName +@init { pushMsg("foreign key without key name", state); } +@after { popMsg(state); } + : KW_FOREIGN KW_KEY fkCols=columnParenthesesList KW_REFERENCES tabName=tableName parCols=columnParenthesesList -> ^(TOK_FOREIGN_KEY $fkCols $tabName $parCols) + ; + skewedValueElement @init { pushMsg("skewed value element", state); } @after { popMsg(state); } @@ -2087,6 +2130,15 @@ columnNameType -> ^(TOK_TABCOL $colName colType $comment) ; +columnNameTypeOrPKOrFK +@init { pushMsg("column name or primary key or foreign key", state); } +@after { popMsg(state); } + : ( foreignKeyWithName ) + | ( primaryKeyWithoutName ) + | ( foreignKeyWithoutName ) + | ( columnNameType ) + ; + columnNameColonType @init { pushMsg("column specification", state); } @after { popMsg(state); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java index 549d24f..2b0098a 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java @@ -312,7 +312,7 @@ private CreateTableDesc getBaseCreateTableDescFromTable(String dbName, (null == table.getSd().getSkewedInfo()) ? null : table.getSd().getSkewedInfo() .getSkewedColNames(), (null == table.getSd().getSkewedInfo()) ? null : table.getSd().getSkewedInfo() - .getSkewedColValues()); + .getSkewedColValues(), table.getPrimaryKeys(), table.getForeignKeys()); tblDesc.setStoredAsSubDirectories(table.getSd().isStoredAsSubDirectories()); return tblDesc; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java index 5f13277..ed11921 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ParseUtils.java @@ -20,6 +20,7 @@ import java.util.ArrayDeque; import java.util.ArrayList; +import java.util.Arrays; import java.util.HashSet; import java.util.Iterator; import java.util.List; @@ -28,12 +29,17 @@ import java.util.Stack; import org.antlr.runtime.tree.Tree; +import org.apache.commons.lang3.ArrayUtils; import org.apache.hadoop.hive.common.type.HiveDecimal; +import org.apache.hadoop.hive.metastore.MetaStoreUtils; import org.apache.hadoop.hive.metastore.api.FieldSchema; +import org.apache.hadoop.hive.metastore.api.ForeignKeyRel; import org.apache.hadoop.hive.ql.ErrorMsg; import org.apache.hadoop.hive.ql.exec.PTFUtils; import org.apache.hadoop.hive.ql.exec.Utilities; import org.apache.hadoop.hive.ql.lib.Node; +import org.apache.hadoop.hive.ql.metadata.Hive; +import org.apache.hadoop.hive.ql.metadata.Table; import org.apache.hadoop.hive.ql.plan.ExprNodeDesc; import org.apache.hadoop.hive.serde2.typeinfo.CharTypeInfo; import org.apache.hadoop.hive.serde2.typeinfo.DecimalTypeInfo; @@ -313,4 +319,63 @@ public static boolean sameTree(ASTNode node, ASTNode otherNode) { return stack.empty() && otherStack.empty(); } + + public static String generateFKName(String dotTabName, List pkNames, List fkNames, String parentTableName) { + int hashcode = (ArrayUtils.toString(pkNames) + ArrayUtils.toString(fkNames) + parentTableName).hashCode(); + // TODO: we need to verify if this is duplicate name in the metastore. + return dotTabName + hashcode; + } + + public static List convertToForeignKeyRel(List foreignKeyInfos, + BaseSemanticAnalyzer semAnalyzer, List fkCols) throws SemanticException { + List fkRels = new ArrayList(); + + // TODO : The below linear searches need to be improved. Maybe, using a mapping? + for (ForeignKeyInfo fkInfo : foreignKeyInfos) { + ForeignKeyRel currFKRel = new ForeignKeyRel(); + currFKRel.setForeignKeyName(fkInfo.constraintName); + currFKRel.setParentTableName(fkInfo.qualifiedParentTableName[1]); + currFKRel.setParentTableSchema(fkInfo.qualifiedParentTableName[0]); + Table tb = semAnalyzer.getTable(BaseSemanticAnalyzer.getDotName(fkInfo.qualifiedParentTableName)); + if (tb == null) { + throw new SemanticException( + ErrorMsg.INVALID_FK_SYNTAX.getMsg("Invalid parent table name " + + BaseSemanticAnalyzer.getDotName(fkInfo.qualifiedParentTableName))); + } + List allParentCols = tb.getAllCols(); + + for (String pkColName : fkInfo.parentKeyCols) { + boolean found = false; + for (FieldSchema fs : allParentCols) { + if (pkColName.equalsIgnoreCase(fs.getName())) { + currFKRel.addToParentCols(fs); + found = true; + break; + } + } + if (!found) { + throw new SemanticException( + ErrorMsg.INVALID_FK_SYNTAX.getMsg("Invalid parent column name " + pkColName)); + } + } + + for (String fkColName : fkInfo.foreignKeyCols) { + boolean found = false; + for (FieldSchema fs : fkCols) { + if (fkColName.equalsIgnoreCase(fs.getName())) { + currFKRel.addToForeignCols(fs); + found = true; + break; + } + } + if (!found) { + throw new SemanticException( + ErrorMsg.INVALID_FK_SYNTAX.getMsg("Invalid foreign column name " + fkColName)); + } + } + fkRels.add(currFKRel); + } + return fkRels; + } + } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java index d9db1d5..7ff74ac 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java @@ -66,6 +66,7 @@ import org.apache.hadoop.hive.metastore.Warehouse; import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.FieldSchema; +import org.apache.hadoop.hive.metastore.api.ForeignKeyRel; import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.Order; import org.apache.hadoop.hive.ql.CompilationOpContext; @@ -11262,6 +11263,9 @@ ASTNode analyzeCreateTable( List cols = new ArrayList(); List partCols = new ArrayList(); List bucketCols = new ArrayList(); + List primaryKeys = new ArrayList(); + List foreignKeyInfos = new ArrayList(); + List foreignKeys = new ArrayList(); List sortCols = new ArrayList(); int numBuckets = -1; String comment = null; @@ -11354,7 +11358,10 @@ ASTNode analyzeCreateTable( selectStmt = child; break; case HiveParser.TOK_TABCOLLIST: - cols = getColumns(child); + cols = getColumns(child, true, primaryKeys, foreignKeyInfos); + if (!foreignKeyInfos.isEmpty()) { + foreignKeys = ParseUtils.convertToForeignKeyRel(foreignKeyInfos, this, cols); + } break; case HiveParser.TOK_TABLECOMMENT: comment = unescapeSQLString(child.getChild(0).getText()); @@ -11466,7 +11473,7 @@ ASTNode analyzeCreateTable( comment, storageFormat.getInputFormat(), storageFormat.getOutputFormat(), location, storageFormat.getSerde(), storageFormat.getStorageHandler(), storageFormat.getSerdeProps(), tblProps, ifNotExists, skewedColNames, - skewedValues); + skewedValues, primaryKeys, foreignKeys); crtTblDesc.setStoredAsSubDirectories(storedAsDirs); crtTblDesc.setNullFormat(rowFormatParams.nullFormat); @@ -11560,7 +11567,7 @@ ASTNode analyzeCreateTable( rowFormatParams.lineDelim, comment, storageFormat.getInputFormat(), storageFormat.getOutputFormat(), location, storageFormat.getSerde(), storageFormat.getStorageHandler(), storageFormat.getSerdeProps(), tblProps, ifNotExists, - skewedColNames, skewedValues, true); + skewedColNames, skewedValues, true, primaryKeys, foreignKeys); tableDesc.setMaterialization(isMaterialization); tableDesc.setStoredAsSubDirectories(storedAsDirs); tableDesc.setNullFormat(rowFormatParams.nullFormat); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/CreateTableDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/CreateTableDesc.java index 03b4d8b..5c3d175 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/CreateTableDesc.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/CreateTableDesc.java @@ -28,6 +28,7 @@ import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.FieldSchema; +import org.apache.hadoop.hive.metastore.api.ForeignKeyRel; import org.apache.hadoop.hive.metastore.api.Order; import org.apache.hadoop.hive.ql.ErrorMsg; import org.apache.hadoop.hive.ql.exec.DDLTask; @@ -88,6 +89,8 @@ private boolean isMaterialization = false; private boolean replaceMode = false; private boolean isCTAS = false; + List primaryKeys; + List foreignKeys; public CreateTableDesc() { } @@ -101,13 +104,14 @@ public CreateTableDesc(String databaseName, String tableName, boolean isExternal String storageHandler, Map serdeProps, Map tblProps, - boolean ifNotExists, List skewedColNames, List> skewedColValues) { + boolean ifNotExists, List skewedColNames, List> skewedColValues, + List primaryKeys, List foreignKeys) { this(tableName, isExternal, isTemporary, cols, partCols, bucketCols, sortCols, numBuckets, fieldDelim, fieldEscape, collItemDelim, mapKeyDelim, lineDelim, comment, inputFormat, outputFormat, location, serName, storageHandler, serdeProps, - tblProps, ifNotExists, skewedColNames, skewedColValues); + tblProps, ifNotExists, skewedColNames, skewedColValues, primaryKeys, foreignKeys); this.databaseName = databaseName; } @@ -122,12 +126,12 @@ public CreateTableDesc(String databaseName, String tableName, boolean isExternal Map serdeProps, Map tblProps, boolean ifNotExists, List skewedColNames, List> skewedColValues, - boolean isCTAS) { + boolean isCTAS, List primaryKeys, List foreignKeys) { this(databaseName, tableName, isExternal, isTemporary, cols, partCols, bucketCols, sortCols, numBuckets, fieldDelim, fieldEscape, collItemDelim, mapKeyDelim, lineDelim, comment, inputFormat, outputFormat, location, serName, storageHandler, serdeProps, - tblProps, ifNotExists, skewedColNames, skewedColValues); + tblProps, ifNotExists, skewedColNames, skewedColValues, primaryKeys, foreignKeys); this.isCTAS = isCTAS; } @@ -142,7 +146,8 @@ public CreateTableDesc(String tableName, boolean isExternal, boolean isTemporary String storageHandler, Map serdeProps, Map tblProps, - boolean ifNotExists, List skewedColNames, List> skewedColValues) { + boolean ifNotExists, List skewedColNames, List> skewedColValues, + List primaryKeys, List foreignKeys) { this.tableName = tableName; this.isExternal = isExternal; this.isTemporary = isTemporary; @@ -167,6 +172,8 @@ public CreateTableDesc(String tableName, boolean isExternal, boolean isTemporary this.ifNotExists = ifNotExists; this.skewedColNames = copyList(skewedColNames); this.skewedColValues = copyList(skewedColValues); + this.primaryKeys = new ArrayList(primaryKeys); + this.foreignKeys = new ArrayList(foreignKeys); } private static List copyList(List copy) { @@ -183,6 +190,11 @@ public CreateTableDesc(String tableName, boolean isExternal, boolean isTemporary return Utilities.getFieldSchemaString(getPartCols()); } + @Explain(displayName = "primary keys") + public List getPrimaryKeysString() { + return Utilities.getFieldSchemaString(getPrimaryKeys()); + } + @Explain(displayName = "if not exists", displayOnlyOnTrue = true) public boolean getIfNotExists() { return ifNotExists; @@ -221,6 +233,22 @@ public void setPartCols(ArrayList partCols) { this.partCols = partCols; } + public List getPrimaryKeys() { + return primaryKeys; + } + + public void setPrimaryKeys(ArrayList primaryKeys) { + this.primaryKeys = primaryKeys; + } + + public List getForeignKeys() { + return foreignKeys; + } + + public void setForeignKeys(ArrayList foreignKeys) { + this.foreignKeys = foreignKeys; + } + @Explain(displayName = "bucket columns") public List getBucketCols() { return bucketCols; @@ -634,6 +662,15 @@ public Table toTable(HiveConf conf) throws HiveException { if (getPartCols() != null) { tbl.setPartCols(getPartCols()); } + + if (getPrimaryKeys() != null) { + tbl.setPrimaryKeys(getPrimaryKeys()); + } + + if (getForeignKeys() != null) { + tbl.setForeignKeys(getForeignKeys()); + } + if (getNumBuckets() != -1) { tbl.setNumBuckets(getNumBuckets()); }