diff --git a/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java b/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java index 4432aca2bc..2bc33bdfc2 100644 --- a/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java +++ b/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java @@ -926,6 +926,26 @@ public void clearTablesCreatedDuringTests() throws Exception { conf.set("hive.metastore.filter.hook", "org.apache.hadoop.hive.metastore.DefaultMetaStoreFilterHookImpl"); db = Hive.get(conf); + + // First delete any MVs to avoid race conditions + for (String dbName : db.getAllDatabases()) { + SessionState.get().setCurrentDatabase(dbName); + for (String tblName : db.getAllTables()) { + Table tblObj = null; + try { + tblObj = db.getTable(tblName); + } catch (InvalidTableException e) { + LOG.warn("Trying to drop table " + e.getTableName() + ". But it does not exist."); + continue; + } + // only remove MVs first + if (!tblObj.isMaterializedView()) { + continue; + } + db.dropTable(dbName, tblName, true, true, fsType == FsType.encrypted_hdfs); + } + } + // Delete any tables other than the source tables // and any databases other than the default database. for (String dbName : db.getAllDatabases()) { diff --git a/metastore/scripts/upgrade/derby/048-HIVE-14498.derby.sql b/metastore/scripts/upgrade/derby/048-HIVE-14498.derby.sql index 4ffd054530..e28d002ad6 100644 --- a/metastore/scripts/upgrade/derby/048-HIVE-14498.derby.sql +++ b/metastore/scripts/upgrade/derby/048-HIVE-14498.derby.sql @@ -1,20 +1,14 @@ -- create mv_creation_metadata table -CREATE TABLE "APP"."MV_CREATION_METADATA" ("TBL_ID" BIGINT NOT NULL, "TBL_NAME" VARCHAR(256) NOT NULL, "LAST_TRANSACTION_INFO" LONG VARCHAR NOT NULL); -ALTER TABLE "APP"."MV_CREATION_METADATA" ADD CONSTRAINT "MV_CREATION_METADATA_FK" FOREIGN KEY ("TBL_ID") REFERENCES "APP"."TBLS" ("TBL_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; +CREATE TABLE "APP"."MV_CREATION_METADATA" ("MV_CREATION_METADATA_ID" BIGINT NOT NULL, "DB_NAME" VARCHAR(128) NOT NULL, "TBL_NAME" VARCHAR(256) NOT NULL, "TXN_LIST" CLOB); +CREATE TABLE "APP"."MV_TABLES_USED" ("MV_CREATION_METADATA_ID" BIGINT NOT NULL, "TBL_ID" BIGINT NOT NULL); +ALTER TABLE "APP"."MV_CREATION_METADATA" ADD CONSTRAINT "MV_CREATION_METADATA_PK" PRIMARY KEY ("MV_CREATION_METADATA_ID"); +CREATE UNIQUE INDEX "APP"."MV_UNIQUE_TABLE" ON "APP"."MV_CREATION_METADATA" ("TBL_NAME", "DB_NAME"); +ALTER TABLE "APP"."MV_TABLES_USED" ADD CONSTRAINT "MV_TABLES_USED_FK1" FOREIGN KEY ("MV_CREATION_METADATA_ID") REFERENCES "APP"."MV_CREATION_METADATA" ("MV_CREATION_METADATA_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; +ALTER TABLE "APP"."MV_TABLES_USED" ADD CONSTRAINT "MV_TABLES_USED_FK2" FOREIGN KEY ("TBL_ID") REFERENCES "APP"."TBLS" ("TBL_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; -- modify completed_txn_components table -CREATE TABLE "COMPLETED_TXN_COMPONENTS_NEW" ( - "CTC_TXNID" bigint, - "CTC_DATABASE" varchar(128) NOT NULL, - "CTC_TABLE" varchar(256), - "CTC_PARTITION" varchar(767), - "CTC_ID" bigint GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1) NOT NULL, - "CTC_TIMESTAMP" timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL -); -CREATE INDEX "APP"."COMPLETED_TXN_COMPONENTS_IDX" ON "APP"."COMPLETED_TXN_COMPONENTS_NEW" ("CTC_ID"); -CREATE INDEX "APP"."COMPLETED_TXN_COMPONENTS_IDX2" ON "APP"."COMPLETED_TXN_COMPONENTS_NEW" ("CTC_DATABASE", "CTC_TABLE", "CTC_PARTITION"); -INSERT INTO "COMPLETED_TXN_COMPONENTS_NEW" ("CTC_TXNID", "CTC_DATABASE", "CTC_TABLE", "CTC_PARTITION") -SELECT "CTC_TXNID", "CTC_DATABASE", "CTC_TABLE", "CTC_PARTITION" FROM "COMPLETED_TXN_COMPONENTS"; -RENAME TABLE "COMPLETED_TXN_COMPONENTS" TO "COMPLETED_TXN_COMPONENTS_BACKUP"; -RENAME TABLE "COMPLETED_TXN_COMPONENTS_NEW" TO "COMPLETED_TXN_COMPONENTS"; -DROP TABLE "APP"."COMPLETED_TXN_COMPONENTS_BACKUP"; +ALTER TABLE "APP"."COMPLETED_TXN_COMPONENTS" ADD "CTC_TIMESTAMP" timestamp; +UPDATE "APP"."TBLS" SET "IS_REWRITE_ENABLED" = CURRENT_TIMESTAMP; +ALTER TABLE "APP"."COMPLETED_TXN_COMPONENTS" ALTER COLUMN "CTC_TIMESTAMP" SET DEFAULT CURRENT_TIMESTAMP; +ALTER TABLE "APP"."COMPLETED_TXN_COMPONENTS" ALTER COLUMN "CTC_TIMESTAMP" NOT NULL; +CREATE INDEX "APP"."COMPLETED_TXN_COMPONENTS_IDX" ON "APP"."COMPLETED_TXN_COMPONENTS" ("CTC_DATABASE", "CTC_TABLE", "CTC_PARTITION"); diff --git a/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql index 6a59b0df71..a8f227b775 100644 --- a/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql @@ -62,6 +62,10 @@ CREATE TABLE "APP"."ROLES" ("ROLE_ID" BIGINT NOT NULL, "CREATE_TIME" INTEGER NOT CREATE TABLE "APP"."TBLS" ("TBL_ID" BIGINT NOT NULL, "CREATE_TIME" INTEGER NOT NULL, "DB_ID" BIGINT, "LAST_ACCESS_TIME" INTEGER NOT NULL, "OWNER" VARCHAR(767), "RETENTION" INTEGER NOT NULL, "SD_ID" BIGINT, "TBL_NAME" VARCHAR(256), "TBL_TYPE" VARCHAR(128), "VIEW_EXPANDED_TEXT" LONG VARCHAR, "VIEW_ORIGINAL_TEXT" LONG VARCHAR, "IS_REWRITE_ENABLED" CHAR(1) NOT NULL DEFAULT 'N'); +CREATE TABLE "APP"."MV_CREATION_METADATA" ("MV_CREATION_METADATA_ID" BIGINT NOT NULL, "DB_NAME" VARCHAR(128) NOT NULL, "TBL_NAME" VARCHAR(256) NOT NULL, "TXN_LIST" CLOB); + +CREATE TABLE "APP"."MV_TABLES_USED" ("MV_CREATION_METADATA_ID" BIGINT NOT NULL, "TBL_ID" BIGINT NOT NULL); + CREATE TABLE "APP"."PARTITION_KEYS" ("TBL_ID" BIGINT NOT NULL, "PKEY_COMMENT" VARCHAR(4000), "PKEY_NAME" VARCHAR(128) NOT NULL, "PKEY_TYPE" VARCHAR(767) NOT NULL, "INTEGER_IDX" INTEGER NOT NULL); CREATE TABLE "APP"."PART_COL_PRIVS" ("PART_COLUMN_GRANT_ID" BIGINT NOT NULL, "COLUMN_NAME" VARCHAR(767), "CREATE_TIME" INTEGER NOT NULL, "GRANT_OPTION" SMALLINT NOT NULL, "GRANTOR" VARCHAR(128), "GRANTOR_TYPE" VARCHAR(128), "PART_ID" BIGINT, "PRINCIPAL_NAME" VARCHAR(128), "PRINCIPAL_TYPE" VARCHAR(128), "PART_COL_PRIV" VARCHAR(128)); @@ -120,8 +124,6 @@ CREATE TABLE "APP"."WM_POOL_TO_TRIGGER" (POOL_ID BIGINT NOT NULL, TRIGGER_ID BI CREATE TABLE "APP"."WM_MAPPING" (MAPPING_ID BIGINT NOT NULL, RP_ID BIGINT NOT NULL, ENTITY_TYPE VARCHAR(128) NOT NULL, ENTITY_NAME VARCHAR(128) NOT NULL, POOL_ID BIGINT, ORDERING INTEGER); -CREATE TABLE "APP"."MV_CREATION_METADATA" ("TBL_ID" BIGINT NOT NULL, "TBL_NAME" VARCHAR(256) NOT NULL, "LAST_TRANSACTION_INFO" LONG VARCHAR NOT NULL); - -- ---------------------------------------------- -- DML Statements -- ---------------------------------------------- @@ -178,6 +180,8 @@ CREATE UNIQUE INDEX "APP"."UNIQUE_WM_TRIGGER" ON "APP"."WM_TRIGGER" ("RP_ID", "N CREATE UNIQUE INDEX "APP"."UNIQUE_WM_MAPPING" ON "APP"."WM_MAPPING" ("RP_ID", "ENTITY_TYPE", "ENTITY_NAME"); +CREATE UNIQUE INDEX "APP"."MV_UNIQUE_TABLE" ON "APP"."MV_CREATION_METADATA" ("TBL_NAME", "DB_NAME"); + -- ---------------------------------------------- -- DDL Statements for keys -- ---------------------------------------------- @@ -219,6 +223,8 @@ ALTER TABLE "APP"."NUCLEUS_TABLES" ADD CONSTRAINT "NUCLEUS_TABLES_PK" PRIMARY KE ALTER TABLE "APP"."TBLS" ADD CONSTRAINT "TBLS_PK" PRIMARY KEY ("TBL_ID"); +ALTER TABLE "APP"."MV_CREATION_METADATA" ADD CONSTRAINT "MV_CREATION_METADATA_PK" PRIMARY KEY ("MV_CREATION_METADATA_ID"); + ALTER TABLE "APP"."SD_PARAMS" ADD CONSTRAINT "SD_PARAMS_PK" PRIMARY KEY ("SD_ID", "PARAM_KEY"); ALTER TABLE "APP"."DATABASE_PARAMS" ADD CONSTRAINT "DATABASE_PARAMS_PK" PRIMARY KEY ("DB_ID", "PARAM_KEY"); @@ -306,6 +312,10 @@ ALTER TABLE "APP"."TBLS" ADD CONSTRAINT "TBLS_FK2" FOREIGN KEY ("SD_ID") REFEREN ALTER TABLE "APP"."TBLS" ADD CONSTRAINT "TBLS_FK1" FOREIGN KEY ("DB_ID") REFERENCES "APP"."DBS" ("DB_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; +ALTER TABLE "APP"."MV_TABLES_USED" ADD CONSTRAINT "MV_TABLES_USED_FK1" FOREIGN KEY ("MV_CREATION_METADATA_ID") REFERENCES "APP"."MV_CREATION_METADATA" ("MV_CREATION_METADATA_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; + +ALTER TABLE "APP"."MV_TABLES_USED" ADD CONSTRAINT "MV_TABLES_USED_FK2" FOREIGN KEY ("TBL_ID") REFERENCES "APP"."TBLS" ("TBL_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; + ALTER TABLE "APP"."SD_PARAMS" ADD CONSTRAINT "SD_PARAMS_FK1" FOREIGN KEY ("SD_ID") REFERENCES "APP"."SDS" ("SD_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; ALTER TABLE "APP"."DATABASE_PARAMS" ADD CONSTRAINT "DATABASE_PARAMS_FK1" FOREIGN KEY ("DB_ID") REFERENCES "APP"."DBS" ("DB_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; @@ -374,8 +384,6 @@ ALTER TABLE "APP"."WM_MAPPING" ADD CONSTRAINT "WM_MAPPING_FK1" FOREIGN KEY ("RP_ ALTER TABLE "APP"."WM_MAPPING" ADD CONSTRAINT "WM_MAPPING_FK2" FOREIGN KEY ("POOL_ID") REFERENCES "APP"."WM_POOL" ("POOL_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; -ALTER TABLE "APP"."MV_CREATION_METADATA" ADD CONSTRAINT "MV_CREATION_METADATA_FK" FOREIGN KEY ("TBL_ID") REFERENCES "APP"."TBLS" ("TBL_ID") ON DELETE NO ACTION ON UPDATE NO ACTION; - -- ---------------------------------------------- -- DDL Statements for checks -- ---------------------------------------------- diff --git a/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql index d72b06cb58..85d593f973 100644 --- a/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql @@ -43,12 +43,10 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_DATABASE varchar(128) NOT NULL, CTC_TABLE varchar(256), CTC_PARTITION varchar(767), - CTC_ID bigint GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1) NOT NULL, CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL ); -CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_ID); -CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX2 ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); +CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); CREATE TABLE NEXT_TXN_ID ( NTXN_NEXT bigint NOT NULL diff --git a/metastore/scripts/upgrade/hive/hive-schema-3.0.0.hive.sql b/metastore/scripts/upgrade/hive/hive-schema-3.0.0.hive.sql index eb4f0124b5..d6e0c5cb48 100644 --- a/metastore/scripts/upgrade/hive/hive-schema-3.0.0.hive.sql +++ b/metastore/scripts/upgrade/hive/hive-schema-3.0.0.hive.sql @@ -656,6 +656,39 @@ TBLPROPERTIES ( FROM TBLS" ); +CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( + `MV_CREATION_METADATA_ID` bigint, + `DB_NAME` string, + `TBL_NAME` string, + `TXN_LIST` string, + CONSTRAINT `SYS_PK_MV_CREATION_METADATA` PRIMARY KEY (`MV_CREATION_METADATA_ID`) DISABLE +) +STORED BY 'org.apache.hive.storage.jdbc.JdbcStorageHandler' +TBLPROPERTIES ( +"hive.sql.database.type" = "METASTORE", +"hive.sql.query" = +"SELECT + \"MV_CREATION_METADATA_ID\", + \"DB_NAME\", + \"TBL_NAME\", + \"TXN_LIST\" +FROM MV_CREATION_METADATA" +); + +CREATE TABLE IF NOT EXISTS `MV_TABLES_USED` ( + `MV_CREATION_METADATA_ID` bigint, + `TBL_ID` bigint +) +STORED BY 'org.apache.hive.storage.jdbc.JdbcStorageHandler' +TBLPROPERTIES ( +"hive.sql.database.type" = "METASTORE", +"hive.sql.query" = +"SELECT + \"MV_CREATION_METADATA_ID\", + \"TBL_ID\" +FROM MV_TABLES_USED" +); + CREATE TABLE IF NOT EXISTS `TBL_COL_PRIVS` ( `TBL_COLUMN_GRANT_ID` bigint, `COLUMN_NAME` string, @@ -1065,24 +1098,6 @@ LEFT OUTER JOIN WM_POOL ON WM_POOL.POOL_ID = WM_MAPPING.POOL_ID " ); -CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( - TBL_ID bigint, - TBL_NAME string, - LAST_TRANSACTION_INFO string -) -STORED BY 'org.apache.hive.storage.jdbc.JdbcStorageHandler' -TBLPROPERTIES ( -"hive.sql.database.type" = "METASTORE", -"hive.sql.query" = -"SELECT - \"TBL_ID\", - \"TBL_NAME\", - \"LAST_TRANSACTION_INFO\" -FROM - \"MV_CREATION_METADATA\"" -); - - DROP DATABASE IF EXISTS INFORMATION_SCHEMA; CREATE DATABASE INFORMATION_SCHEMA; diff --git a/metastore/scripts/upgrade/mssql/033-HIVE-14498.mssql.sql b/metastore/scripts/upgrade/mssql/033-HIVE-14498.mssql.sql index 3a47600bb0..cb41b99abd 100644 --- a/metastore/scripts/upgrade/mssql/033-HIVE-14498.mssql.sql +++ b/metastore/scripts/upgrade/mssql/033-HIVE-14498.mssql.sql @@ -1,23 +1,19 @@ CREATE TABLE MV_CREATION_METADATA ( - TBL_ID bigint NOT NULL, + MV_CREATION_METADATA_ID bigint NOT NULL, + DB_NAME nvarchar(128) NOT NULL, TBL_NAME nvarchar(256) NOT NULL, - LAST_TRANSACTION_INFO text NOT NULL + TXN_LIST text NULL ); -ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_FK FOREIGN KEY (TBL_ID) REFERENCES TBLS (TBL_ID); - -CREATE TABLE COMPLETED_TXN_COMPONENTS_NEW( - CTC_TXNID bigint NULL, - CTC_DATABASE varchar(128) NOT NULL, - CTC_TABLE varchar(256) NULL, - CTC_PARTITION varchar(767) NULL, - CTC_ID bigint GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1) NOT NULL, - CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL +CREATE TABLE MV_TABLES_USED +( + MV_CREATION_METADATA_ID bigint NOT NULL, + TBL_ID bigint NOT NULL ); -CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS_NEW (CTC_ID); -CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX2 ON COMPLETED_TXN_COMPONENTS_NEW (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); -INSERT INTO COMPLETED_TXN_COMPONENTS_NEW (CTC_TXNID, CTC_DATABASE, CTC_TABLE, CTC_PARTITION) -SELECT CTC_TXNID, CTC_DATABASE, CTC_TABLE, CTC_PARTITION FROM COMPLETED_TXN_COMPONENTS; -exec sp_rename 'COMPLETED_TXN_COMPONENTS', 'COMPLETED_TXN_COMPONENTS_BACKUP'; -exec sp_rename 'COMPLETED_TXN_COMPONENTS_NEW', 'COMPLETED_TXN_COMPONENTS'; -DROP TABLE COMPLETED_TXN_COMPONENTS_BACKUP; +ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_PK PRIMARY KEY (MV_CREATION_METADATA_ID); +CREATE INDEX MV_UNIQUE_TABLE ON MV_CREATION_METADATA (TBL_NAME,DB_NAME); +ALTER TABLE MV_TABLES_USED ADD FOREIGN KEY(MV_CREATION_METADATA_ID) REFERENCES MV_CREATION_METADATA (MV_CREATION_METADATA_ID); +ALTER TABLE MV_TABLES_USED ADD FOREIGN KEY(TBL_ID) REFERENCES TBLS (TBL_ID); + +ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_TIMESTAMP timestamp NOT NULL DEFAULT(CURRENT_TIMESTAMP); +CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); diff --git a/metastore/scripts/upgrade/mssql/hive-schema-3.0.0.mssql.sql b/metastore/scripts/upgrade/mssql/hive-schema-3.0.0.mssql.sql index c45bb3e323..448086eecc 100644 --- a/metastore/scripts/upgrade/mssql/hive-schema-3.0.0.mssql.sql +++ b/metastore/scripts/upgrade/mssql/hive-schema-3.0.0.mssql.sql @@ -366,6 +366,27 @@ CREATE TABLE TBLS ALTER TABLE TBLS ADD CONSTRAINT TBLS_PK PRIMARY KEY (TBL_ID); +-- Table MV_CREATION_METADATA for classes [org.apache.hadoop.hive.metastore.model.MCreationMetadata] +CREATE TABLE MV_CREATION_METADATA +( + MV_CREATION_METADATA_ID bigint NOT NULL, + DB_NAME nvarchar(128) NOT NULL, + TBL_NAME nvarchar(256) NOT NULL, + TXN_LIST text NULL +); + +ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_PK PRIMARY KEY (MV_CREATION_METADATA_ID); +CREATE INDEX MV_UNIQUE_TABLE ON MV_CREATION_METADATA (TBL_NAME,DB_NAME); + +CREATE TABLE MV_TABLES_USED +( + MV_CREATION_METADATA_ID bigint NOT NULL, + TBL_ID bigint NOT NULL +); + +ALTER TABLE MV_TABLES_USED WITH CHECK ADD FOREIGN KEY(MV_CREATION_METADATA_ID) REFERENCES MV_CREATION_METADATA (MV_CREATION_METADATA_ID); +ALTER TABLE MV_TABLES_USED WITH CHECK ADD FOREIGN KEY(TBL_ID) REFERENCES TBLS (TBL_ID); + -- Table SDS for classes [org.apache.hadoop.hive.metastore.model.MStorageDescriptor] CREATE TABLE SDS ( @@ -652,15 +673,6 @@ CREATE TABLE WM_MAPPING ALTER TABLE WM_MAPPING ADD CONSTRAINT WM_MAPPING_PK PRIMARY KEY (MAPPING_ID); -CREATE TABLE MV_CREATION_METADATA -( - TBL_ID bigint NOT NULL, - TBL_NAME nvarchar(256) NOT NULL, - LAST_TRANSACTION_INFO text NOT NULL -); - -ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_FK FOREIGN KEY (TBL_ID) REFERENCES TBLS (TBL_ID) ; - -- Constraints for table MASTER_KEYS for class(es) [org.apache.hadoop.hive.metastore.model.MMasterKey] -- Constraints for table IDXS for class(es) [org.apache.hadoop.hive.metastore.model.MIndex] diff --git a/metastore/scripts/upgrade/mysql/048-HIVE-14498.mysql.sql b/metastore/scripts/upgrade/mysql/048-HIVE-14498.mysql.sql index 986eaf5272..1a791a6d00 100644 --- a/metastore/scripts/upgrade/mysql/048-HIVE-14498.mysql.sql +++ b/metastore/scripts/upgrade/mysql/048-HIVE-14498.mysql.sql @@ -1,22 +1,19 @@ CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( + `MV_CREATION_METADATA_ID` bigint(20) NOT NULL, + `DB_NAME` varchar(128) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, + `TBL_NAME` varchar(256) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, + `TXN_LIST` TEXT DEFAULT NULL, + PRIMARY KEY (`MV_CREATION_METADATA_ID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; +CREATE INDEX MV_UNIQUE_TABLE ON MV_CREATION_METADATA (TBL_NAME, DB_NAME) USING BTREE; +CREATE TABLE IF NOT EXISTS `MV_TABLES_USED` ( + `MV_CREATION_METADATA_ID` bigint(20) NOT NULL, `TBL_ID` bigint(20) NOT NULL, - `TBL_NAME` varchar(256) CHARACTER SET latin1 COLLATE latin1_bin DEFAULT NULL, - `LAST_TRANSACTION_INFO` mediumtext NOT NULL, - CONSTRAINT `MV_CREATION_METADATA_FK` FOREIGN KEY (`TBL_ID`) REFERENCES `TBLS` (`TBL_ID`) + CONSTRAINT `MV_TABLES_USED_FK1` FOREIGN KEY (`MV_CREATION_METADATA_ID`) REFERENCES `MV_CREATION_METADATA` (`MV_CREATION_METADATA_ID`), + CONSTRAINT `MV_TABLES_USED_FK2` FOREIGN KEY (`TBL_ID`) REFERENCES `TBLS` (`TBL_ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -CREATE TABLE COMPLETED_TXN_COMPONENTS_NEW ( - CTC_TXNID bigint NOT NULL, - CTC_DATABASE varchar(128) NOT NULL, - CTC_TABLE varchar(256), - CTC_PARTITION varchar(767), - CTC_ID bigint NOT NULL AUTO_INCREMENT, - CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, - PRIMARY KEY(CTC_ID) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; -CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX2 ON COMPLETED_TXN_COMPONENTS_NEW (CTC_DATABASE, CTC_TABLE, CTC_PARTITION) USING BTREE; -INSERT INTO COMPLETED_TXN_COMPONENTS_NEW (CTC_TXNID, CTC_DATABASE, CTC_TABLE, CTC_PARTITION) -SELECT CTC_TXNID, CTC_DATABASE, CTC_TABLE, CTC_PARTITION FROM COMPLETED_TXN_COMPONENTS; -RENAME TABLE COMPLETED_TXN_COMPONENTS TO COMPLETED_TXN_COMPONENTS_BACKUP; -RENAME TABLE COMPLETED_TXN_COMPONENTS_NEW TO COMPLETED_TXN_COMPONENTS; -DROP TABLE COMPLETED_TXN_COMPONENTS_BACKUP; +ALTER TABLE `COMPLETED_TXN_COMPONENTS` ADD `CTC_TIMESTAMP` timestamp; +UPDATE `COMPLETED_TXN_COMPONENTS` SET `CTC_TIMESTAMP` = CURRENT_TIMESTAMP; +ALTER TABLE `COMPLETED_TXN_COMPONENTS` MODIFY COLUMN `CTC_TIMESTAMP` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP; +CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION) USING BTREE; diff --git a/metastore/scripts/upgrade/mysql/hive-schema-3.0.0.mysql.sql b/metastore/scripts/upgrade/mysql/hive-schema-3.0.0.mysql.sql index 01c995d632..947f2e1487 100644 --- a/metastore/scripts/upgrade/mysql/hive-schema-3.0.0.mysql.sql +++ b/metastore/scripts/upgrade/mysql/hive-schema-3.0.0.mysql.sql @@ -569,6 +569,23 @@ CREATE TABLE IF NOT EXISTS `TABLE_PARAMS` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Table structure for table `MV_CREATION_METADATA` +-- + +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( + `MV_CREATION_METADATA_ID` bigint(20) NOT NULL, + `DB_NAME` varchar(128) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, + `TBL_NAME` varchar(256) CHARACTER SET latin1 COLLATE latin1_bin NOT NULL, + `TXN_LIST` TEXT DEFAULT NULL, + PRIMARY KEY (`MV_CREATION_METADATA_ID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; +/*!40101 SET character_set_client = @saved_cs_client */; + +CREATE INDEX MV_UNIQUE_TABLE ON MV_CREATION_METADATA (TBL_NAME, DB_NAME) USING BTREE; + -- -- Table structure for table `TBLS` -- @@ -587,7 +604,7 @@ CREATE TABLE IF NOT EXISTS `TBLS` ( `TBL_TYPE` varchar(128) CHARACTER SET latin1 COLLATE latin1_bin DEFAULT NULL, `VIEW_EXPANDED_TEXT` mediumtext, `VIEW_ORIGINAL_TEXT` mediumtext, - `IS_REWRITE_ENABLED` bit(1) NOT NULL DEFAULT 0, + `IS_REWRITE_ENABLED` bit(1) NOT NULL DEFAULT 0 PRIMARY KEY (`TBL_ID`), UNIQUE KEY `UNIQUETABLE` (`TBL_NAME`,`DB_ID`), KEY `TBLS_N50` (`SD_ID`), @@ -597,6 +614,20 @@ CREATE TABLE IF NOT EXISTS `TBLS` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; +-- +-- Table structure for table `MV_TABLES_USED` +-- + +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE IF NOT EXISTS `MV_TABLES_USED` ( + `MV_CREATION_METADATA_ID` bigint(20) NOT NULL, + `TBL_ID` bigint(20) NOT NULL, + CONSTRAINT `MV_TABLES_USED_FK1` FOREIGN KEY (`MV_CREATION_METADATA_ID`) REFERENCES `MV_CREATION_METADATA` (`MV_CREATION_METADATA_ID`), + CONSTRAINT `MV_TABLES_USED_FK2` FOREIGN KEY (`TBL_ID`) REFERENCES `TBLS` (`TBL_ID`) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; +/*!40101 SET character_set_client = @saved_cs_client */; + -- -- Table structure for table `TBL_COL_PRIVS` -- @@ -910,13 +941,6 @@ CREATE TABLE IF NOT EXISTS WM_MAPPING CONSTRAINT `WM_MAPPING_FK2` FOREIGN KEY (`POOL_ID`) REFERENCES `WM_POOL` (`POOL_ID`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( - `TBL_ID` bigint(20) NOT NULL, - `TBL_NAME` varchar(256) CHARACTER SET latin1 COLLATE latin1_bin DEFAULT NULL, - `LAST_TRANSACTION_INFO` mediumtext NOT NULL, - CONSTRAINT `MV_CREATION_METADATA_FK` FOREIGN KEY (`TBL_ID`) REFERENCES `TBLS` (`TBL_ID`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; - -- ---------------------------- -- Transaction and Lock Tables -- ---------------------------- diff --git a/metastore/scripts/upgrade/mysql/hive-txn-schema-3.0.0.mysql.sql b/metastore/scripts/upgrade/mysql/hive-txn-schema-3.0.0.mysql.sql index 497846f994..41da503354 100644 --- a/metastore/scripts/upgrade/mysql/hive-txn-schema-3.0.0.mysql.sql +++ b/metastore/scripts/upgrade/mysql/hive-txn-schema-3.0.0.mysql.sql @@ -45,9 +45,7 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_DATABASE varchar(128) NOT NULL, CTC_TABLE varchar(256), CTC_PARTITION varchar(767), - CTC_ID bigint NOT NULL AUTO_INCREMENT, - CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL, - PRIMARY KEY(CTC_ID) + CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; CREATE INDEX COMPLETED_TXN_COMPONENTS_IDX2 ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION) USING BTREE; diff --git a/metastore/scripts/upgrade/oracle/048-HIVE-14498.oracle.sql b/metastore/scripts/upgrade/oracle/048-HIVE-14498.oracle.sql index 0b01e89d92..9c3e3cc6f6 100644 --- a/metastore/scripts/upgrade/oracle/048-HIVE-14498.oracle.sql +++ b/metastore/scripts/upgrade/oracle/048-HIVE-14498.oracle.sql @@ -1,23 +1,21 @@ CREATE TABLE MV_CREATION_METADATA ( - TBL_ID BIGINT NOT NULL, - TBL_NAME nvarchar(256) NOT NULL, - LAST_TRANSACTION_INFO CLOB NOT NULL + MV_CREATION_METADATA_ID NUMBER NOT NULL, + DB_NAME VARCHAR2(128) NOT NULL, + TBL_NAME VARCHAR2(256) NOT NULL, + TXN_LIST CLOB NULL ); -ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_FK FOREIGN KEY (TBL_ID) REFERENCES TBLS (TBL_ID); +CREATE TABLE MV_TABLES_USED +( + MV_CREATION_METADATA_ID NUMBER NOT NULL, + TBL_ID NUMBER NOT NULL +); +ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_PK PRIMARY KEY (MV_CREATION_METADATA_ID); +ALTER TABLE MV_TABLES_USED ADD CONSTRAINT MV_TABLES_USED_FK1 FOREIGN KEY (MV_CREATION_METADATA_ID) REFERENCES MV_CREATION_METADATA (MV_CREATION_METADATA_ID); +ALTER TABLE MV_TABLES_USED ADD CONSTRAINT MV_TABLES_USED_FK2 FOREIGN KEY (TBL_ID) REFERENCES TBLS (TBL_ID); -CREATE TABLE COMPLETED_TXN_COMPONENTS_NEW ( - CTC_TXNID NUMBER(19), - CTC_DATABASE varchar(128) NOT NULL, - CTC_TABLE varchar(128), - CTC_PARTITION varchar(767), - CTC_ID bigint GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1) NOT NULL, - CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL -) ROWDEPENDENCIES; -CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS_NEW (CTC_ID); -CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX2 ON COMPLETED_TXN_COMPONENTS_NEW (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); -INSERT INTO COMPLETED_TXN_COMPONENTS_NEW (CTC_TXNID, CTC_DATABASE, CTC_TABLE, CTC_PARTITION) -SELECT CTC_TXNID, CTC_DATABASE, CTC_TABLE, CTC_PARTITION FROM COMPLETED_TXN_COMPONENTS; -RENAME TABLE COMPLETED_TXN_COMPONENTS TO COMPLETED_TXN_COMPONENTS_BACKUP; -RENAME TABLE COMPLETED_TXN_COMPONENTS_NEW TO COMPLETED_TXN_COMPONENTS; -DROP TABLE COMPLETED_TXN_COMPONENTS_BACKUP; +ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_TIMESTAMP timestamp NULL; +UPDATE COMPLETED_TXN_COMPONENTS SET CTC_TIMESTAMP = CURRENT_TIMESTAMP; +ALTER TABLE COMPLETED_TXN_COMPONENTS MODIFY(CTC_TIMESTAMP DEFAULT CURRENT_TIMESTAMP); +ALTER TABLE COMPLETED_TXN_COMPONENTS MODIFY(CTC_TIMESTAMP NOT NULL); +CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); diff --git a/metastore/scripts/upgrade/oracle/hive-schema-3.0.0.oracle.sql b/metastore/scripts/upgrade/oracle/hive-schema-3.0.0.oracle.sql index e1aee6fb6c..481d413b38 100644 --- a/metastore/scripts/upgrade/oracle/hive-schema-3.0.0.oracle.sql +++ b/metastore/scripts/upgrade/oracle/hive-schema-3.0.0.oracle.sql @@ -381,6 +381,24 @@ CREATE TABLE TBLS ALTER TABLE TBLS ADD CONSTRAINT TBLS_PK PRIMARY KEY (TBL_ID); +-- Table MV_CREATION_METADATA for classes [org.apache.hadoop.hive.metastore.model.MCreationMetadata] +CREATE TABLE MV_CREATION_METADATA +( + MV_CREATION_METADATA_ID NUMBER NOT NULL, + DB_NAME VARCHAR2(128) NOT NULL, + TBL_NAME VARCHAR2(256) NOT NULL, + TXN_LIST CLOB NULL +); + +ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_PK PRIMARY KEY (MV_CREATION_METADATA_ID); + +-- Table MV_CREATION_METADATA for classes [org.apache.hadoop.hive.metastore.model.MCreationMetadata] +CREATE TABLE MV_TABLES_USED +( + MV_CREATION_METADATA_ID NUMBER NOT NULL, + TBL_ID NUMBER NOT NULL +); + -- Table PARTITION_EVENTS for classes [org.apache.hadoop.hive.metastore.model.MPartitionEvent] CREATE TABLE PARTITION_EVENTS ( @@ -633,15 +651,6 @@ CREATE TABLE WM_MAPPING ALTER TABLE WM_MAPPING ADD CONSTRAINT WM_MAPPING_PK PRIMARY KEY (MAPPING_ID); -CREATE TABLE MV_CREATION_METADATA -( - TBL_ID BIGINT NOT NULL, - TBL_NAME nvarchar(256) NOT NULL, - LAST_TRANSACTION_INFO CLOB NOT NULL -); - -ALTER TABLE MV_CREATION_METADATA ADD CONSTRAINT MV_CREATION_METADATA_FK FOREIGN KEY (TBL_ID) REFERENCES TBLS (TBL_ID); - -- Constraints for table PART_COL_PRIVS for class(es) [org.apache.hadoop.hive.metastore.model.MPartitionColumnPrivilege] ALTER TABLE PART_COL_PRIVS ADD CONSTRAINT PART_COL_PRIVS_FK1 FOREIGN KEY (PART_ID) REFERENCES PARTITIONS (PART_ID) INITIALLY DEFERRED ; @@ -901,6 +910,10 @@ ALTER TABLE WM_MAPPING ADD CONSTRAINT WM_MAPPING_FK1 FOREIGN KEY (RP_ID) REFEREN ALTER TABLE WM_MAPPING ADD CONSTRAINT WM_MAPPING_FK2 FOREIGN KEY (POOL_ID) REFERENCES WM_POOL (POOL_ID); +ALTER TABLE MV_TABLES_USED ADD CONSTRAINT MV_TABLES_USED_FK1 FOREIGN KEY (MV_CREATION_METADATA_ID) REFERENCES MV_CREATION_METADATA (MV_CREATION_METADATA_ID); + +ALTER TABLE MV_TABLES_USED ADD CONSTRAINT MV_TABLES_USED_FK2 FOREIGN KEY (TBL_ID) REFERENCES TBLS (TBL_ID); + ------------------------------ -- Transaction and lock tables ------------------------------ diff --git a/metastore/scripts/upgrade/oracle/hive-txn-schema-3.0.0.oracle.sql b/metastore/scripts/upgrade/oracle/hive-txn-schema-3.0.0.oracle.sql index 5411bc4710..5fcf037a35 100644 --- a/metastore/scripts/upgrade/oracle/hive-txn-schema-3.0.0.oracle.sql +++ b/metastore/scripts/upgrade/oracle/hive-txn-schema-3.0.0.oracle.sql @@ -44,12 +44,10 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_DATABASE varchar(128) NOT NULL, CTC_TABLE varchar(128), CTC_PARTITION varchar(767), - CTC_ID bigint GENERATED ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1) NOT NULL, CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL ) ROWDEPENDENCIES; -CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS (CTC_ID); -CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX2 ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); +CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); CREATE TABLE NEXT_TXN_ID ( NTXN_NEXT NUMBER(19) NOT NULL diff --git a/metastore/scripts/upgrade/postgres/047-HIVE-14498.postgres.sql b/metastore/scripts/upgrade/postgres/047-HIVE-14498.postgres.sql index 8d4de8870d..8d1c5b2d7c 100644 --- a/metastore/scripts/upgrade/postgres/047-HIVE-14498.postgres.sql +++ b/metastore/scripts/upgrade/postgres/047-HIVE-14498.postgres.sql @@ -1,23 +1,24 @@ CREATE TABLE "MV_CREATION_METADATA" ( - "TBL_ID" BIGINT NOT NULL, + "MV_CREATION_METADATA_ID" bigint NOT NULL, + "DB_NAME" character varying(128) NOT NULL, "TBL_NAME" character varying(256) NOT NULL, - "LAST_TRANSACTION_INFO" TEXT NOT NULL + "TXN_LIST" text +); +CREATE TABLE "MV_TABLES_USED" ( + "MV_CREATION_METADATA_ID" bigint NOT NULL, + "TBL_ID" bigint NOT NULL ); ALTER TABLE ONLY "MV_CREATION_METADATA" - ADD CONSTRAINT "MV_CREATION_METADATA_FK" FOREIGN KEY ("TBL_ID") REFERENCES "TBLS"("TBL_ID") DEFERRABLE; + ADD CONSTRAINT "MV_CREATION_METADATA_PK" PRIMARY KEY ("MV_CREATION_METADATA_ID"); +CREATE INDEX "MV_UNIQUE_TABLE" + ON "MV_CREATION_METADATA" USING btree ("TBL_NAME", "DB_NAME"); +ALTER TABLE ONLY "MV_TABLES_USED" + ADD CONSTRAINT "MV_TABLES_USED_FK1" FOREIGN KEY ("MV_CREATION_METADATA_ID") REFERENCES "MV_CREATION_METADATA" ("MV_CREATION_METADATA_ID") DEFERRABLE; +ALTER TABLE ONLY "MV_TABLES_USED" + ADD CONSTRAINT "MV_TABLES_USED_FK2" FOREIGN KEY ("TBL_ID") REFERENCES "TBLS" ("TBL_ID") DEFERRABLE; -CREATE TABLE COMPLETED_TXN_COMPONENTS_NEW ( - CTC_TXNID bigint, - CTC_DATABASE varchar(128) NOT NULL, - CTC_TABLE varchar(256), - CTC_PARTITION varchar(767), - CTC_ID serial UNIQUE, - CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL -); -CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS_NEW USING btree (CTC_ID); -CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX2 ON COMPLETED_TXN_COMPONENTS_NEW USING btree (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); -INSERT INTO COMPLETED_TXN_COMPONENTS_NEW (CTC_TXNID, CTC_DATABASE, CTC_TABLE, CTC_PARTITION) -SELECT CTC_TXNID, CTC_DATABASE, CTC_TABLE, CTC_PARTITION FROM COMPLETED_TXN_COMPONENTS; -ALTER TABLE COMPLETED_TXN_COMPONENTS RENAME TO COMPLETED_TXN_COMPONENTS_BACKUP; -ALTER TABLE COMPLETED_TXN_COMPONENTS_NEW RENAME TO COMPLETED_TXN_COMPONENTS; -DROP TABLE COMPLETED_TXN_COMPONENTS_BACKUP; +ALTER TABLE COMPLETED_TXN_COMPONENTS ADD COLUMN CTC_TIMESTAMP timestamp NULL; +UPDATE COMPLETED_TXN_COMPONENTS SET CTC_TIMESTAMP = CURRENT_TIMESTAMP; +ALTER TABLE COMPLETED_TXN_COMPONENTS ALTER COLUMN CTC_TIMESTAMP SET NOT NULL; +ALTER TABLE COMPLETED_TXN_COMPONENTS ALTER COLUMN CTC_TIMESTAMP SET DEFAULT CURRENT_TIMESTAMP; +CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS USING btree (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); diff --git a/metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql b/metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql index 28cb01684a..af71ed3bbe 100644 --- a/metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql +++ b/metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql @@ -376,6 +376,25 @@ CREATE TABLE "TBLS" ( "IS_REWRITE_ENABLED" boolean NOT NULL DEFAULT false ); +-- +-- Name: MV_CREATION_METADATA; Type: TABLE; Schema: public; Owner: hiveuser; Tablespace: +-- + +CREATE TABLE "MV_CREATION_METADATA" ( + "MV_CREATION_METADATA_ID" bigint NOT NULL, + "DB_NAME" character varying(128) NOT NULL, + "TBL_NAME" character varying(256) NOT NULL, + "TXN_LIST" text +); + +-- +-- Name: MV_TABLES_USED; Type: TABLE; Schema: public; Owner: hiveuser; Tablespace: +-- + +CREATE TABLE "MV_TABLES_USED" ( + "MV_CREATION_METADATA_ID" bigint NOT NULL, + "TBL_ID" bigint NOT NULL +); -- -- Name: TBL_COL_PRIVS; Type: TABLE; Schema: public; Owner: hiveuser; Tablespace: @@ -659,12 +678,6 @@ CREATE TABLE "WM_MAPPING" ( "ORDERING" integer ); -CREATE TABLE "MV_CREATION_METADATA" ( - "TBL_ID" BIGINT NOT NULL, - "TBL_NAME" character varying(256) NOT NULL, - "LAST_TRANSACTION_INFO" TEXT NOT NULL -); - -- -- Name: BUCKETING_COLS_pkey; Type: CONSTRAINT; Schema: public; Owner: hiveuser; Tablespace: -- @@ -1573,7 +1586,16 @@ ALTER TABLE ONLY "WM_MAPPING" ADD CONSTRAINT "WM_MAPPING_FK2" FOREIGN KEY ("POOL_ID") REFERENCES "WM_POOL" ("POOL_ID") DEFERRABLE; ALTER TABLE ONLY "MV_CREATION_METADATA" - ADD CONSTRAINT "MV_CREATION_METADATA_FK" FOREIGN KEY ("TBL_ID") REFERENCES "TBLS"("TBL_ID") DEFERRABLE; + ADD CONSTRAINT "MV_CREATION_METADATA_PK" PRIMARY KEY ("MV_CREATION_METADATA_ID"); + +CREATE INDEX "MV_UNIQUE_TABLE" + ON "MV_CREATION_METADATA" USING btree ("TBL_NAME", "DB_NAME"); + +ALTER TABLE ONLY "MV_TABLES_USED" + ADD CONSTRAINT "MV_TABLES_USED_FK1" FOREIGN KEY ("MV_CREATION_METADATA_ID") REFERENCES "MV_CREATION_METADATA" ("MV_CREATION_METADATA_ID") DEFERRABLE; + +ALTER TABLE ONLY "MV_TABLES_USED" + ADD CONSTRAINT "MV_TABLES_USED_FK2" FOREIGN KEY ("TBL_ID") REFERENCES "TBLS" ("TBL_ID") DEFERRABLE; -- -- Name: public; Type: ACL; Schema: -; Owner: hiveuser diff --git a/metastore/scripts/upgrade/postgres/hive-txn-schema-3.0.0.postgres.sql b/metastore/scripts/upgrade/postgres/hive-txn-schema-3.0.0.postgres.sql index a81d6eec6d..3eb07300c6 100644 --- a/metastore/scripts/upgrade/postgres/hive-txn-schema-3.0.0.postgres.sql +++ b/metastore/scripts/upgrade/postgres/hive-txn-schema-3.0.0.postgres.sql @@ -44,12 +44,10 @@ CREATE TABLE COMPLETED_TXN_COMPONENTS ( CTC_DATABASE varchar(128) NOT NULL, CTC_TABLE varchar(256), CTC_PARTITION varchar(767), - CTC_ID serial UNIQUE, CTC_TIMESTAMP timestamp DEFAULT CURRENT_TIMESTAMP NOT NULL ); -CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS USING btree (CTC_ID); -CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX2 ON COMPLETED_TXN_COMPONENTS USING btree (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); +CREATE INDEX COMPLETED_TXN_COMPONENTS_INDEX ON COMPLETED_TXN_COMPONENTS USING btree (CTC_DATABASE, CTC_TABLE, CTC_PARTITION); CREATE TABLE NEXT_TXN_ID ( NTXN_NEXT bigint NOT NULL diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java index 51ef390574..d3aa571913 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java @@ -50,6 +50,7 @@ import java.util.TreeSet; import java.util.concurrent.ExecutionException; +import com.google.common.collect.ImmutableSet; import org.apache.commons.collections.CollectionUtils; import org.apache.commons.lang.StringUtils; import org.apache.hadoop.fs.FSDataOutputStream; @@ -79,6 +80,7 @@ import org.apache.hadoop.hive.metastore.api.ColumnStatisticsData; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; import org.apache.hadoop.hive.metastore.api.CompactionResponse; +import org.apache.hadoop.hive.metastore.api.CreationMetadata; import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.EnvironmentContext; import org.apache.hadoop.hive.metastore.api.FieldSchema; @@ -5121,10 +5123,11 @@ private int createView(Hive db, CreateViewDesc crtView) throws HiveException { if (crtView.isMaterialized()) { // We need to update the status of the creation signature - String txnString = conf.get(ValidTxnList.VALID_TXNS_KEY); - oldview.getTTable().setCreationMetadata( - generateCreationMetadata(db, crtView.getTablesUsed(), - txnString == null ? null : new ValidReadTxnList(txnString))); + CreationMetadata cm = + new CreationMetadata(oldview.getDbName(), oldview.getTableName(), + ImmutableSet.copyOf(crtView.getTablesUsed())); + cm.setValidTxnList(conf.get(ValidTxnList.VALID_TXNS_KEY)); + oldview.getTTable().setCreationMetadata(cm); db.alterTable(crtView.getViewName(), oldview, null); // This is a replace/rebuild, so we need an exclusive lock addIfAbsentByName(new WriteEntity(oldview, WriteEntity.WriteType.DDL_EXCLUSIVE)); @@ -5156,10 +5159,11 @@ private int createView(Hive db, CreateViewDesc crtView) throws HiveException { Table tbl = crtView.toTable(conf); // We set the signature for the view if it is a materialized view if (tbl.isMaterializedView()) { - String txnString = conf.get(ValidTxnList.VALID_TXNS_KEY); - tbl.getTTable().setCreationMetadata( - generateCreationMetadata(db, crtView.getTablesUsed(), - txnString == null ? null : new ValidReadTxnList(txnString))); + CreationMetadata cm = + new CreationMetadata(tbl.getDbName(), tbl.getTableName(), + ImmutableSet.copyOf(crtView.getTablesUsed())); + cm.setValidTxnList(conf.get(ValidTxnList.VALID_TXNS_KEY)); + tbl.getTTable().setCreationMetadata(cm); } db.createTable(tbl, crtView.getIfNotExists()); addIfAbsentByName(new WriteEntity(tbl, WriteEntity.WriteType.DDL_NO_LOCK)); @@ -5171,38 +5175,6 @@ private int createView(Hive db, CreateViewDesc crtView) throws HiveException { return 0; } - private Map generateCreationMetadata( - Hive db, List tablesUsed, ValidReadTxnList txnList) - throws SemanticException { - Map signature = new HashMap<>(); - try { - if (!CollectionUtils.isEmpty(tablesUsed)) { - if (txnList == null) { - for (String fullyQualifiedName : tablesUsed) { - signature.put(fullyQualifiedName, new BasicTxnInfo(true)); - } - } else { - List dbNames = new ArrayList<>(); - List tableNames = new ArrayList<>(); - for (String fullyQualifiedName : tablesUsed) { - // Add to creation metadata - String[] names = fullyQualifiedName.split("\\."); - dbNames.add(names[0]); - tableNames.add(names[1]); - } - List txnInfos = - db.getMSC().getLastCompletedTransactionForTables(dbNames, tableNames, txnList); - for (int i = 0; i < tablesUsed.size(); i++) { - signature.put(tablesUsed.get(i), txnInfos.get(i)); - } - } - } - } catch (Exception ex) { - throw new SemanticException(ex); - } - return signature; - } - private int truncateTable(Hive db, TruncateTableDesc truncateTableDesc) throws HiveException { if (truncateTableDesc.getColumnIndexes() != null) { 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 9b0ffe0e91..632a21390d 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 @@ -43,6 +43,7 @@ import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.Warehouse; import org.apache.hadoop.hive.metastore.api.BasicTxnInfo; +import org.apache.hadoop.hive.metastore.api.CreationMetadata; import org.apache.hadoop.hive.metastore.api.FieldSchema; import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.Order; @@ -846,7 +847,7 @@ public void setRewriteEnabled(boolean rewriteEnabled) { /** * @return the creation metadata (only for materialized views) */ - public Map getCreationMetadata() { + public CreationMetadata getCreationMetadata() { return tTable.getCreationMetadata(); } @@ -854,7 +855,7 @@ public void setRewriteEnabled(boolean rewriteEnabled) { * @param creationMetadata * the creation metadata (only for materialized views) */ - public void setCreationMetadata(Map creationMetadata) { + public void setCreationMetadata(CreationMetadata creationMetadata) { tTable.setCreationMetadata(creationMetadata); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java index d159e4bed1..3eb869d3f6 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java @@ -4350,7 +4350,7 @@ private void analyzeAlterMaterializedViewRewrite(String mvName, ASTNode ast) thr // One last test: if we are enabling the rewrite, we need to check that query // only uses transactional (MM and ACID) tables if (enableFlag) { - for (String tableName : materializedViewTable.getCreationMetadata().keySet()) { + for (String tableName : materializedViewTable.getCreationMetadata().getTablesUsed()) { Table table = getTable(tableName, true); if (!AcidUtils.isAcidTable(table)) { throw new SemanticException("Automatic rewriting for materialized view cannot " 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 c2e24999eb..b67a03f213 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 @@ -11726,8 +11726,8 @@ protected void saveViewDefinition() throws SemanticException { createVwDesc.setViewExpandedText(expandedText); } - private List getTablesUsed(ParseContext parseCtx) throws SemanticException { - List tablesUsed = new ArrayList<>(); + private Set getTablesUsed(ParseContext parseCtx) throws SemanticException { + Set tablesUsed = new HashSet<>(); for (TableScanOperator topOp : parseCtx.getTopOps().values()) { Table table = topOp.getConf().getTableMetadata(); if (!table.isMaterializedTable() && !table.isView()) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/CreateViewDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/CreateViewDesc.java index 97baf25ea8..f0f7b18d19 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/CreateViewDesc.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/CreateViewDesc.java @@ -21,6 +21,7 @@ import java.io.Serializable; import java.util.List; import java.util.Map; +import java.util.Set; import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.conf.HiveConf; @@ -65,7 +66,7 @@ private String serde; // only used for materialized views private String storageHandler; // only used for materialized views private Map serdeProps; // only used for materialized views - private List tablesUsed; // only used for materialized views + private Set tablesUsed; // only used for materialized views private ReplicationSpec replicationSpec = null; /** @@ -245,11 +246,11 @@ public void setIfNotExists(boolean ifNotExists) { this.ifNotExists = ifNotExists; } - public List getTablesUsed() { + public Set getTablesUsed() { return tablesUsed; } - public void setTablesUsed(List tablesUsed) { + public void setTablesUsed(Set tablesUsed) { this.tablesUsed = tablesUsed; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/plan/ImportTableDesc.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/ImportTableDesc.java index 3535fa4d02..bdfb63244a 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/plan/ImportTableDesc.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/ImportTableDesc.java @@ -23,6 +23,7 @@ import java.util.List; import java.util.Map; +import com.google.common.collect.ImmutableSet; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.TableType; import org.apache.hadoop.hive.metastore.api.FieldSchema; @@ -100,6 +101,8 @@ public ImportTableDesc(String dbName, Table table) throws Exception { table.getSd().getSerdeInfo().getSerializationLib(), null, // storagehandler passed as table params table.getSd().getSerdeInfo().getParameters()); + this.createViewDesc.setTablesUsed(table.getCreationMetadata() != null ? + table.getCreationMetadata().getTablesUsed() : ImmutableSet.of()); } else { this.createViewDesc = new CreateViewDesc(dbDotView, table.getAllCols(), diff --git a/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHive.java b/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHive.java index aa95d2fcdc..b5b478fbad 100755 --- a/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHive.java +++ b/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHive.java @@ -172,8 +172,6 @@ public void testTable() throws Throwable { tbl.setRewriteEnabled(false); - tbl.setCreationMetadata(new HashMap()); - // create table setNullCreateTableGrants(); try { @@ -235,8 +233,6 @@ public void testThriftTable() throws Throwable { tbl.setRewriteEnabled(false); - tbl.setCreationMetadata(new HashMap()); - setNullCreateTableGrants(); try { hm.createTable(tbl); diff --git a/ql/src/test/results/clientpositive/llap/sysdb.q.out b/ql/src/test/results/clientpositive/llap/sysdb.q.out index 5ed427fd2a..4ff9875d76 100644 --- a/ql/src/test/results/clientpositive/llap/sysdb.q.out +++ b/ql/src/test/results/clientpositive/llap/sysdb.q.out @@ -1572,6 +1572,80 @@ FROM TBLS" POSTHOOK: type: CREATETABLE POSTHOOK: Output: SYS@TBLS POSTHOOK: Output: database:sys +PREHOOK: query: CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( + `MV_CREATION_METADATA_ID` bigint, + `DB_NAME` string, + `TBL_NAME` string, + `TXN_LIST` string, + CONSTRAINT `SYS_PK_MV_CREATION_METADATA` PRIMARY KEY (`MV_CREATION_METADATA_ID`) DISABLE +) +STORED BY 'org.apache.hive.storage.jdbc.JdbcStorageHandler' +TBLPROPERTIES ( +"hive.sql.database.type" = "METASTORE", +"hive.sql.query" = +"SELECT + \"MV_CREATION_METADATA_ID\", + \"DB_NAME\", + \"TBL_NAME\", + \"TXN_LIST\" +FROM MV_CREATION_METADATA" +) +PREHOOK: type: CREATETABLE +PREHOOK: Output: SYS@MV_CREATION_METADATA +PREHOOK: Output: database:sys +POSTHOOK: query: CREATE TABLE IF NOT EXISTS `MV_CREATION_METADATA` ( + `MV_CREATION_METADATA_ID` bigint, + `DB_NAME` string, + `TBL_NAME` string, + `TXN_LIST` string, + CONSTRAINT `SYS_PK_MV_CREATION_METADATA` PRIMARY KEY (`MV_CREATION_METADATA_ID`) DISABLE +) +STORED BY 'org.apache.hive.storage.jdbc.JdbcStorageHandler' +TBLPROPERTIES ( +"hive.sql.database.type" = "METASTORE", +"hive.sql.query" = +"SELECT + \"MV_CREATION_METADATA_ID\", + \"DB_NAME\", + \"TBL_NAME\", + \"TXN_LIST\" +FROM MV_CREATION_METADATA" +) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: SYS@MV_CREATION_METADATA +POSTHOOK: Output: database:sys +PREHOOK: query: CREATE TABLE IF NOT EXISTS `MV_TABLES_USED` ( + `MV_CREATION_METADATA_ID` bigint, + `TBL_ID` bigint +) +STORED BY 'org.apache.hive.storage.jdbc.JdbcStorageHandler' +TBLPROPERTIES ( +"hive.sql.database.type" = "METASTORE", +"hive.sql.query" = +"SELECT + \"MV_CREATION_METADATA_ID\", + \"TBL_ID\" +FROM MV_TABLES_USED" +) +PREHOOK: type: CREATETABLE +PREHOOK: Output: SYS@MV_TABLES_USED +PREHOOK: Output: database:sys +POSTHOOK: query: CREATE TABLE IF NOT EXISTS `MV_TABLES_USED` ( + `MV_CREATION_METADATA_ID` bigint, + `TBL_ID` bigint +) +STORED BY 'org.apache.hive.storage.jdbc.JdbcStorageHandler' +TBLPROPERTIES ( +"hive.sql.database.type" = "METASTORE", +"hive.sql.query" = +"SELECT + \"MV_CREATION_METADATA_ID\", + \"TBL_ID\" +FROM MV_TABLES_USED" +) +POSTHOOK: type: CREATETABLE +POSTHOOK: Output: SYS@MV_TABLES_USED +POSTHOOK: Output: database:sys PREHOOK: query: CREATE TABLE IF NOT EXISTS `TBL_COL_PRIVS` ( `TBL_COLUMN_GRANT_ID` bigint, `COLUMN_NAME` string, @@ -1936,13 +2010,15 @@ POSTHOOK: Output: SYS@VERSION POSTHOOK: Output: database:sys PREHOOK: query: INSERT INTO `VERSION` VALUES (1, '3.0.0', 'Hive release version 3.0.0') PREHOOK: type: QUERY +PREHOOK: Input: _dummy_database@_dummy_table PREHOOK: Output: sys@version POSTHOOK: query: INSERT INTO `VERSION` VALUES (1, '3.0.0', 'Hive release version 3.0.0') POSTHOOK: type: QUERY +POSTHOOK: Input: _dummy_database@_dummy_table POSTHOOK: Output: sys@version -POSTHOOK: Lineage: version.schema_version SIMPLE [(values__tmp__table__1)values__tmp__table__1.FieldSchema(name:tmp_values_col2, type:string, comment:), ] -POSTHOOK: Lineage: version.ver_id EXPRESSION [(values__tmp__table__1)values__tmp__table__1.FieldSchema(name:tmp_values_col1, type:string, comment:), ] -POSTHOOK: Lineage: version.version_comment SIMPLE [(values__tmp__table__1)values__tmp__table__1.FieldSchema(name:tmp_values_col3, type:string, comment:), ] +POSTHOOK: Lineage: version.schema_version SCRIPT [] +POSTHOOK: Lineage: version.ver_id SCRIPT [] +POSTHOOK: Lineage: version.version_comment SCRIPT [] PREHOOK: query: CREATE TABLE IF NOT EXISTS `DB_VERSION` ( `VER_ID` BIGINT, `SCHEMA_VERSION` string, @@ -3227,7 +3303,7 @@ POSTHOOK: query: select count(*) from cds POSTHOOK: type: QUERY POSTHOOK: Input: sys@cds #### A masked pattern was here #### -71 +73 PREHOOK: query: select column_name, type_name, integer_idx from columns_v2 order by column_name, integer_idx limit 5 PREHOOK: type: QUERY PREHOOK: Input: sys@columns_v2 @@ -3381,7 +3457,7 @@ POSTHOOK: query: select count(*) from sds POSTHOOK: type: QUERY POSTHOOK: Input: sys@sds #### A masked pattern was here #### -77 +79 PREHOOK: query: select param_key, param_value from sd_params order by param_key, param_value limit 5 PREHOOK: type: QUERY PREHOOK: Input: sys@sd_params @@ -3606,11 +3682,11 @@ POSTHOOK: type: QUERY POSTHOOK: Input: sys@table_params POSTHOOK: Input: sys@table_stats_view #### A masked pattern was here #### -{"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} 0 0 0 0 -{"BASIC_STATS":"true","COLUMN_STATS":{"entity_name":"true","entity_type":"true","ordering":"true","pool_path":"true","rp_name":"true"}} 0 0 0 0 -{"BASIC_STATS":"true","COLUMN_STATS":{"next_val":"true","sequence_name":"true"}} 0 0 0 0 -{"BASIC_STATS":"true","COLUMN_STATS":{"key":"true","value":"true"}} 0 0 0 0 +{"BASIC_STATS":"true","COLUMN_STATS":{"key":"true"}} 0 0 0 0 +{"BASIC_STATS":"true","COLUMN_STATS":{"alloc_fraction":"true","path":"true","query_parallelism":"true","rp_name":"true","scheduling_policy":"true"}} 0 0 0 0 +{"BASIC_STATS":"true","COLUMN_STATS":{"name":"true","serde_id":"true","slib":"true"}} 0 0 0 0 #### A masked pattern was here #### +{"BASIC_STATS":"true","COLUMN_STATS":{"db_id":"true","param_key":"true","param_value":"true"}} 0 0 0 0 PREHOOK: query: select COLUMN_STATS_ACCURATE, NUM_FILES, NUM_ROWS, RAW_DATA_SIZE, TOTAL_SIZE FROM PARTITION_STATS_VIEW where COLUMN_STATS_ACCURATE is not null order by NUM_FILES, NUM_ROWS, RAW_DATA_SIZE limit 5 PREHOOK: type: QUERY PREHOOK: Input: sys@partition_params @@ -3785,6 +3861,8 @@ default sys global_privs BASE_TABLE NULL NULL NULL NULL NULL YES NO NULL default sys idxs BASE_TABLE NULL NULL NULL NULL NULL YES NO NULL default sys index_params BASE_TABLE NULL NULL NULL NULL NULL YES NO NULL default sys key_constraints BASE_TABLE NULL NULL NULL NULL NULL YES NO NULL +default sys mv_creation_metadata BASE_TABLE NULL NULL NULL NULL NULL YES NO NULL +default sys mv_tables_used BASE_TABLE NULL NULL NULL NULL NULL YES NO NULL default sys part_col_privs BASE_TABLE NULL NULL NULL NULL NULL YES NO NULL default sys part_col_stats BASE_TABLE NULL NULL NULL NULL NULL YES NO NULL default sys part_privs BASE_TABLE NULL NULL NULL NULL NULL YES NO NULL @@ -3870,13 +3948,13 @@ default default alltypesorc ctimestamp1 8 NULL YES timestamp NULL NULL NULL NULL default default alltypesorc ctimestamp2 9 NULL YES timestamp NULL NULL NULL NULL NULL 9 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 11 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES timestamp NULL NULL default default alltypesorc cboolean1 10 NULL YES boolean NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 11 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES boolean NULL NULL default default alltypesorc cboolean2 11 NULL YES boolean NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 11 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES boolean NULL NULL -default default moretypes a 0 NULL YES decimal(10,2) NULL NULL 10 10 2 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 85 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES decimal(10,2) 10 10 -default default moretypes b 1 NULL YES tinyint NULL NULL 3 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 85 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES tinyint 3 10 -default default moretypes c 2 NULL YES smallint NULL NULL 5 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 85 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES smallint 5 10 -default default moretypes d 3 NULL YES int NULL NULL 10 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 85 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES int 10 10 -default default moretypes e 4 NULL YES bigint NULL NULL 19 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 85 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES bigint 19 10 -default default moretypes f 5 NULL YES varchar(10) 10 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 85 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES varchar(10) NULL NULL -default default moretypes g 6 NULL YES char(3) 3 3 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 85 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES char(3) NULL NULL +default default moretypes a 0 NULL YES decimal(10,2) NULL NULL 10 10 2 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 28 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES decimal(10,2) 10 10 +default default moretypes b 1 NULL YES tinyint NULL NULL 3 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 28 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES tinyint 3 10 +default default moretypes c 2 NULL YES smallint NULL NULL 5 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 28 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES smallint 5 10 +default default moretypes d 3 NULL YES int NULL NULL 10 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 28 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES int 10 10 +default default moretypes e 4 NULL YES bigint NULL NULL 19 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 28 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES bigint 19 10 +default default moretypes f 5 NULL YES varchar(10) 10 10 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 28 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES varchar(10) NULL NULL +default default moretypes g 6 NULL YES char(3) 3 3 NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL 28 NO NO NULL NULL NULL NULL NULL NULL NEVER NULL NO NO NULL YES char(3) NULL NULL PREHOOK: query: select * from COLUMN_PRIVILEGES order by GRANTOR, GRANTEE, TABLE_SCHEMA, TABLE_NAME, COLUMN_NAME limit 10 PREHOOK: type: QUERY PREHOOK: Input: information_schema@column_privileges diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 8b78230a32..af0fd6b0e0 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/standalone-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 _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 _size1049; + ::apache::thrift::protocol::TType _etype1052; + xfer += iprot->readListBegin(_etype1052, _size1049); + this->success.resize(_size1049); + uint32_t _i1053; + for (_i1053 = 0; _i1053 < _size1049; ++_i1053) { - xfer += iprot->readString(this->success[_i1060]); + xfer += iprot->readString(this->success[_i1053]); } 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 _iter1061; - for (_iter1061 = this->success.begin(); _iter1061 != this->success.end(); ++_iter1061) + std::vector ::const_iterator _iter1054; + for (_iter1054 = this->success.begin(); _iter1054 != this->success.end(); ++_iter1054) { - xfer += oprot->writeString((*_iter1061)); + xfer += oprot->writeString((*_iter1054)); } 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 _size1062; - ::apache::thrift::protocol::TType _etype1065; - xfer += iprot->readListBegin(_etype1065, _size1062); - (*(this->success)).resize(_size1062); - uint32_t _i1066; - for (_i1066 = 0; _i1066 < _size1062; ++_i1066) + uint32_t _size1055; + ::apache::thrift::protocol::TType _etype1058; + xfer += iprot->readListBegin(_etype1058, _size1055); + (*(this->success)).resize(_size1055); + uint32_t _i1059; + for (_i1059 = 0; _i1059 < _size1055; ++_i1059) { - xfer += iprot->readString((*(this->success))[_i1066]); + xfer += iprot->readString((*(this->success))[_i1059]); } 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 _size1067; - ::apache::thrift::protocol::TType _etype1070; - xfer += iprot->readListBegin(_etype1070, _size1067); - this->success.resize(_size1067); - uint32_t _i1071; - for (_i1071 = 0; _i1071 < _size1067; ++_i1071) + uint32_t _size1060; + ::apache::thrift::protocol::TType _etype1063; + xfer += iprot->readListBegin(_etype1063, _size1060); + this->success.resize(_size1060); + uint32_t _i1064; + for (_i1064 = 0; _i1064 < _size1060; ++_i1064) { - xfer += iprot->readString(this->success[_i1071]); + xfer += iprot->readString(this->success[_i1064]); } 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 _iter1072; - for (_iter1072 = this->success.begin(); _iter1072 != this->success.end(); ++_iter1072) + std::vector ::const_iterator _iter1065; + for (_iter1065 = this->success.begin(); _iter1065 != this->success.end(); ++_iter1065) { - xfer += oprot->writeString((*_iter1072)); + xfer += oprot->writeString((*_iter1065)); } 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 _size1073; - ::apache::thrift::protocol::TType _etype1076; - xfer += iprot->readListBegin(_etype1076, _size1073); - (*(this->success)).resize(_size1073); - uint32_t _i1077; - for (_i1077 = 0; _i1077 < _size1073; ++_i1077) + uint32_t _size1066; + ::apache::thrift::protocol::TType _etype1069; + xfer += iprot->readListBegin(_etype1069, _size1066); + (*(this->success)).resize(_size1066); + uint32_t _i1070; + for (_i1070 = 0; _i1070 < _size1066; ++_i1070) { - xfer += iprot->readString((*(this->success))[_i1077]); + xfer += iprot->readString((*(this->success))[_i1070]); } 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 _size1078; - ::apache::thrift::protocol::TType _ktype1079; - ::apache::thrift::protocol::TType _vtype1080; - xfer += iprot->readMapBegin(_ktype1079, _vtype1080, _size1078); - uint32_t _i1082; - for (_i1082 = 0; _i1082 < _size1078; ++_i1082) + uint32_t _size1071; + ::apache::thrift::protocol::TType _ktype1072; + ::apache::thrift::protocol::TType _vtype1073; + xfer += iprot->readMapBegin(_ktype1072, _vtype1073, _size1071); + uint32_t _i1075; + for (_i1075 = 0; _i1075 < _size1071; ++_i1075) { - std::string _key1083; - xfer += iprot->readString(_key1083); - Type& _val1084 = this->success[_key1083]; - xfer += _val1084.read(iprot); + std::string _key1076; + xfer += iprot->readString(_key1076); + Type& _val1077 = this->success[_key1076]; + xfer += _val1077.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 _iter1085; - for (_iter1085 = this->success.begin(); _iter1085 != this->success.end(); ++_iter1085) + std::map ::const_iterator _iter1078; + for (_iter1078 = this->success.begin(); _iter1078 != this->success.end(); ++_iter1078) { - xfer += oprot->writeString(_iter1085->first); - xfer += _iter1085->second.write(oprot); + xfer += oprot->writeString(_iter1078->first); + xfer += _iter1078->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 _size1086; - ::apache::thrift::protocol::TType _ktype1087; - ::apache::thrift::protocol::TType _vtype1088; - xfer += iprot->readMapBegin(_ktype1087, _vtype1088, _size1086); - uint32_t _i1090; - for (_i1090 = 0; _i1090 < _size1086; ++_i1090) + uint32_t _size1079; + ::apache::thrift::protocol::TType _ktype1080; + ::apache::thrift::protocol::TType _vtype1081; + xfer += iprot->readMapBegin(_ktype1080, _vtype1081, _size1079); + uint32_t _i1083; + for (_i1083 = 0; _i1083 < _size1079; ++_i1083) { - std::string _key1091; - xfer += iprot->readString(_key1091); - Type& _val1092 = (*(this->success))[_key1091]; - xfer += _val1092.read(iprot); + std::string _key1084; + xfer += iprot->readString(_key1084); + Type& _val1085 = (*(this->success))[_key1084]; + xfer += _val1085.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 _size1093; - ::apache::thrift::protocol::TType _etype1096; - xfer += iprot->readListBegin(_etype1096, _size1093); - this->success.resize(_size1093); - uint32_t _i1097; - for (_i1097 = 0; _i1097 < _size1093; ++_i1097) + uint32_t _size1086; + ::apache::thrift::protocol::TType _etype1089; + xfer += iprot->readListBegin(_etype1089, _size1086); + this->success.resize(_size1086); + uint32_t _i1090; + for (_i1090 = 0; _i1090 < _size1086; ++_i1090) { - xfer += this->success[_i1097].read(iprot); + xfer += this->success[_i1090].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 _iter1098; - for (_iter1098 = this->success.begin(); _iter1098 != this->success.end(); ++_iter1098) + std::vector ::const_iterator _iter1091; + for (_iter1091 = this->success.begin(); _iter1091 != this->success.end(); ++_iter1091) { - xfer += (*_iter1098).write(oprot); + xfer += (*_iter1091).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 _size1099; - ::apache::thrift::protocol::TType _etype1102; - xfer += iprot->readListBegin(_etype1102, _size1099); - (*(this->success)).resize(_size1099); - uint32_t _i1103; - for (_i1103 = 0; _i1103 < _size1099; ++_i1103) + uint32_t _size1092; + ::apache::thrift::protocol::TType _etype1095; + xfer += iprot->readListBegin(_etype1095, _size1092); + (*(this->success)).resize(_size1092); + uint32_t _i1096; + for (_i1096 = 0; _i1096 < _size1092; ++_i1096) { - xfer += (*(this->success))[_i1103].read(iprot); + xfer += (*(this->success))[_i1096].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 _size1104; - ::apache::thrift::protocol::TType _etype1107; - xfer += iprot->readListBegin(_etype1107, _size1104); - this->success.resize(_size1104); - uint32_t _i1108; - for (_i1108 = 0; _i1108 < _size1104; ++_i1108) + uint32_t _size1097; + ::apache::thrift::protocol::TType _etype1100; + xfer += iprot->readListBegin(_etype1100, _size1097); + this->success.resize(_size1097); + uint32_t _i1101; + for (_i1101 = 0; _i1101 < _size1097; ++_i1101) { - xfer += this->success[_i1108].read(iprot); + xfer += this->success[_i1101].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 _iter1109; - for (_iter1109 = this->success.begin(); _iter1109 != this->success.end(); ++_iter1109) + std::vector ::const_iterator _iter1102; + for (_iter1102 = this->success.begin(); _iter1102 != this->success.end(); ++_iter1102) { - xfer += (*_iter1109).write(oprot); + xfer += (*_iter1102).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 _size1110; - ::apache::thrift::protocol::TType _etype1113; - xfer += iprot->readListBegin(_etype1113, _size1110); - (*(this->success)).resize(_size1110); - uint32_t _i1114; - for (_i1114 = 0; _i1114 < _size1110; ++_i1114) + uint32_t _size1103; + ::apache::thrift::protocol::TType _etype1106; + xfer += iprot->readListBegin(_etype1106, _size1103); + (*(this->success)).resize(_size1103); + uint32_t _i1107; + for (_i1107 = 0; _i1107 < _size1103; ++_i1107) { - xfer += (*(this->success))[_i1114].read(iprot); + xfer += (*(this->success))[_i1107].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 _size1115; - ::apache::thrift::protocol::TType _etype1118; - xfer += iprot->readListBegin(_etype1118, _size1115); - this->success.resize(_size1115); - uint32_t _i1119; - for (_i1119 = 0; _i1119 < _size1115; ++_i1119) + 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) { - xfer += this->success[_i1119].read(iprot); + xfer += this->success[_i1112].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 _iter1120; - for (_iter1120 = this->success.begin(); _iter1120 != this->success.end(); ++_iter1120) + std::vector ::const_iterator _iter1113; + for (_iter1113 = this->success.begin(); _iter1113 != this->success.end(); ++_iter1113) { - xfer += (*_iter1120).write(oprot); + xfer += (*_iter1113).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 _size1121; - ::apache::thrift::protocol::TType _etype1124; - xfer += iprot->readListBegin(_etype1124, _size1121); - (*(this->success)).resize(_size1121); - uint32_t _i1125; - for (_i1125 = 0; _i1125 < _size1121; ++_i1125) + 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) { - xfer += (*(this->success))[_i1125].read(iprot); + xfer += (*(this->success))[_i1118].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 _size1126; - ::apache::thrift::protocol::TType _etype1129; - xfer += iprot->readListBegin(_etype1129, _size1126); - this->success.resize(_size1126); - uint32_t _i1130; - for (_i1130 = 0; _i1130 < _size1126; ++_i1130) + uint32_t _size1119; + ::apache::thrift::protocol::TType _etype1122; + xfer += iprot->readListBegin(_etype1122, _size1119); + this->success.resize(_size1119); + uint32_t _i1123; + for (_i1123 = 0; _i1123 < _size1119; ++_i1123) { - xfer += this->success[_i1130].read(iprot); + xfer += this->success[_i1123].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 _iter1131; - for (_iter1131 = this->success.begin(); _iter1131 != this->success.end(); ++_iter1131) + std::vector ::const_iterator _iter1124; + for (_iter1124 = this->success.begin(); _iter1124 != this->success.end(); ++_iter1124) { - xfer += (*_iter1131).write(oprot); + xfer += (*_iter1124).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 _size1132; - ::apache::thrift::protocol::TType _etype1135; - xfer += iprot->readListBegin(_etype1135, _size1132); - (*(this->success)).resize(_size1132); - uint32_t _i1136; - for (_i1136 = 0; _i1136 < _size1132; ++_i1136) + uint32_t _size1125; + ::apache::thrift::protocol::TType _etype1128; + xfer += iprot->readListBegin(_etype1128, _size1125); + (*(this->success)).resize(_size1125); + uint32_t _i1129; + for (_i1129 = 0; _i1129 < _size1125; ++_i1129) { - xfer += (*(this->success))[_i1136].read(iprot); + xfer += (*(this->success))[_i1129].read(iprot); } xfer += iprot->readListEnd(); } @@ -4518,14 +4518,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size1137; - ::apache::thrift::protocol::TType _etype1140; - xfer += iprot->readListBegin(_etype1140, _size1137); - this->primaryKeys.resize(_size1137); - uint32_t _i1141; - for (_i1141 = 0; _i1141 < _size1137; ++_i1141) + uint32_t _size1130; + ::apache::thrift::protocol::TType _etype1133; + xfer += iprot->readListBegin(_etype1133, _size1130); + this->primaryKeys.resize(_size1130); + uint32_t _i1134; + for (_i1134 = 0; _i1134 < _size1130; ++_i1134) { - xfer += this->primaryKeys[_i1141].read(iprot); + xfer += this->primaryKeys[_i1134].read(iprot); } xfer += iprot->readListEnd(); } @@ -4538,14 +4538,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size1142; - ::apache::thrift::protocol::TType _etype1145; - xfer += iprot->readListBegin(_etype1145, _size1142); - this->foreignKeys.resize(_size1142); - uint32_t _i1146; - for (_i1146 = 0; _i1146 < _size1142; ++_i1146) + uint32_t _size1135; + ::apache::thrift::protocol::TType _etype1138; + xfer += iprot->readListBegin(_etype1138, _size1135); + this->foreignKeys.resize(_size1135); + uint32_t _i1139; + for (_i1139 = 0; _i1139 < _size1135; ++_i1139) { - xfer += this->foreignKeys[_i1146].read(iprot); + xfer += this->foreignKeys[_i1139].read(iprot); } xfer += iprot->readListEnd(); } @@ -4558,14 +4558,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size1147; - ::apache::thrift::protocol::TType _etype1150; - xfer += iprot->readListBegin(_etype1150, _size1147); - this->uniqueConstraints.resize(_size1147); - uint32_t _i1151; - for (_i1151 = 0; _i1151 < _size1147; ++_i1151) + uint32_t _size1140; + ::apache::thrift::protocol::TType _etype1143; + xfer += iprot->readListBegin(_etype1143, _size1140); + this->uniqueConstraints.resize(_size1140); + uint32_t _i1144; + for (_i1144 = 0; _i1144 < _size1140; ++_i1144) { - xfer += this->uniqueConstraints[_i1151].read(iprot); + xfer += this->uniqueConstraints[_i1144].read(iprot); } xfer += iprot->readListEnd(); } @@ -4578,14 +4578,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size1152; - ::apache::thrift::protocol::TType _etype1155; - xfer += iprot->readListBegin(_etype1155, _size1152); - this->notNullConstraints.resize(_size1152); - uint32_t _i1156; - for (_i1156 = 0; _i1156 < _size1152; ++_i1156) + uint32_t _size1145; + ::apache::thrift::protocol::TType _etype1148; + xfer += iprot->readListBegin(_etype1148, _size1145); + this->notNullConstraints.resize(_size1145); + uint32_t _i1149; + for (_i1149 = 0; _i1149 < _size1145; ++_i1149) { - xfer += this->notNullConstraints[_i1156].read(iprot); + xfer += this->notNullConstraints[_i1149].read(iprot); } xfer += iprot->readListEnd(); } @@ -4618,10 +4618,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeys.size())); - std::vector ::const_iterator _iter1157; - for (_iter1157 = this->primaryKeys.begin(); _iter1157 != this->primaryKeys.end(); ++_iter1157) + std::vector ::const_iterator _iter1150; + for (_iter1150 = this->primaryKeys.begin(); _iter1150 != this->primaryKeys.end(); ++_iter1150) { - xfer += (*_iter1157).write(oprot); + xfer += (*_iter1150).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4630,10 +4630,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeys.size())); - std::vector ::const_iterator _iter1158; - for (_iter1158 = this->foreignKeys.begin(); _iter1158 != this->foreignKeys.end(); ++_iter1158) + std::vector ::const_iterator _iter1151; + for (_iter1151 = this->foreignKeys.begin(); _iter1151 != this->foreignKeys.end(); ++_iter1151) { - xfer += (*_iter1158).write(oprot); + xfer += (*_iter1151).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4642,10 +4642,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->uniqueConstraints.size())); - std::vector ::const_iterator _iter1159; - for (_iter1159 = this->uniqueConstraints.begin(); _iter1159 != this->uniqueConstraints.end(); ++_iter1159) + std::vector ::const_iterator _iter1152; + for (_iter1152 = this->uniqueConstraints.begin(); _iter1152 != this->uniqueConstraints.end(); ++_iter1152) { - xfer += (*_iter1159).write(oprot); + xfer += (*_iter1152).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4654,10 +4654,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->notNullConstraints.size())); - std::vector ::const_iterator _iter1160; - for (_iter1160 = this->notNullConstraints.begin(); _iter1160 != this->notNullConstraints.end(); ++_iter1160) + std::vector ::const_iterator _iter1153; + for (_iter1153 = this->notNullConstraints.begin(); _iter1153 != this->notNullConstraints.end(); ++_iter1153) { - xfer += (*_iter1160).write(oprot); + xfer += (*_iter1153).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4685,10 +4685,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->primaryKeys)).size())); - std::vector ::const_iterator _iter1161; - for (_iter1161 = (*(this->primaryKeys)).begin(); _iter1161 != (*(this->primaryKeys)).end(); ++_iter1161) + std::vector ::const_iterator _iter1154; + for (_iter1154 = (*(this->primaryKeys)).begin(); _iter1154 != (*(this->primaryKeys)).end(); ++_iter1154) { - xfer += (*_iter1161).write(oprot); + xfer += (*_iter1154).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4697,10 +4697,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->foreignKeys)).size())); - std::vector ::const_iterator _iter1162; - for (_iter1162 = (*(this->foreignKeys)).begin(); _iter1162 != (*(this->foreignKeys)).end(); ++_iter1162) + std::vector ::const_iterator _iter1155; + for (_iter1155 = (*(this->foreignKeys)).begin(); _iter1155 != (*(this->foreignKeys)).end(); ++_iter1155) { - xfer += (*_iter1162).write(oprot); + xfer += (*_iter1155).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4709,10 +4709,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->uniqueConstraints)).size())); - std::vector ::const_iterator _iter1163; - for (_iter1163 = (*(this->uniqueConstraints)).begin(); _iter1163 != (*(this->uniqueConstraints)).end(); ++_iter1163) + std::vector ::const_iterator _iter1156; + for (_iter1156 = (*(this->uniqueConstraints)).begin(); _iter1156 != (*(this->uniqueConstraints)).end(); ++_iter1156) { - xfer += (*_iter1163).write(oprot); + xfer += (*_iter1156).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4721,10 +4721,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->notNullConstraints)).size())); - std::vector ::const_iterator _iter1164; - for (_iter1164 = (*(this->notNullConstraints)).begin(); _iter1164 != (*(this->notNullConstraints)).end(); ++_iter1164) + std::vector ::const_iterator _iter1157; + for (_iter1157 = (*(this->notNullConstraints)).begin(); _iter1157 != (*(this->notNullConstraints)).end(); ++_iter1157) { - xfer += (*_iter1164).write(oprot); + xfer += (*_iter1157).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6478,14 +6478,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size1165; - ::apache::thrift::protocol::TType _etype1168; - xfer += iprot->readListBegin(_etype1168, _size1165); - this->partNames.resize(_size1165); - uint32_t _i1169; - for (_i1169 = 0; _i1169 < _size1165; ++_i1169) + uint32_t _size1158; + ::apache::thrift::protocol::TType _etype1161; + xfer += iprot->readListBegin(_etype1161, _size1158); + this->partNames.resize(_size1158); + uint32_t _i1162; + for (_i1162 = 0; _i1162 < _size1158; ++_i1162) { - xfer += iprot->readString(this->partNames[_i1169]); + xfer += iprot->readString(this->partNames[_i1162]); } xfer += iprot->readListEnd(); } @@ -6522,10 +6522,10 @@ uint32_t ThriftHiveMetastore_truncate_table_args::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); - std::vector ::const_iterator _iter1170; - for (_iter1170 = this->partNames.begin(); _iter1170 != this->partNames.end(); ++_iter1170) + std::vector ::const_iterator _iter1163; + for (_iter1163 = this->partNames.begin(); _iter1163 != this->partNames.end(); ++_iter1163) { - xfer += oprot->writeString((*_iter1170)); + xfer += oprot->writeString((*_iter1163)); } xfer += oprot->writeListEnd(); } @@ -6557,10 +6557,10 @@ uint32_t ThriftHiveMetastore_truncate_table_pargs::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->partNames)).size())); - std::vector ::const_iterator _iter1171; - for (_iter1171 = (*(this->partNames)).begin(); _iter1171 != (*(this->partNames)).end(); ++_iter1171) + std::vector ::const_iterator _iter1164; + for (_iter1164 = (*(this->partNames)).begin(); _iter1164 != (*(this->partNames)).end(); ++_iter1164) { - xfer += oprot->writeString((*_iter1171)); + xfer += oprot->writeString((*_iter1164)); } xfer += oprot->writeListEnd(); } @@ -6804,14 +6804,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1172; - ::apache::thrift::protocol::TType _etype1175; - xfer += iprot->readListBegin(_etype1175, _size1172); - this->success.resize(_size1172); - uint32_t _i1176; - for (_i1176 = 0; _i1176 < _size1172; ++_i1176) + uint32_t _size1165; + ::apache::thrift::protocol::TType _etype1168; + xfer += iprot->readListBegin(_etype1168, _size1165); + this->success.resize(_size1165); + uint32_t _i1169; + for (_i1169 = 0; _i1169 < _size1165; ++_i1169) { - xfer += iprot->readString(this->success[_i1176]); + xfer += iprot->readString(this->success[_i1169]); } xfer += iprot->readListEnd(); } @@ -6850,10 +6850,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 _iter1177; - for (_iter1177 = this->success.begin(); _iter1177 != this->success.end(); ++_iter1177) + std::vector ::const_iterator _iter1170; + for (_iter1170 = this->success.begin(); _iter1170 != this->success.end(); ++_iter1170) { - xfer += oprot->writeString((*_iter1177)); + xfer += oprot->writeString((*_iter1170)); } xfer += oprot->writeListEnd(); } @@ -6898,14 +6898,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1178; - ::apache::thrift::protocol::TType _etype1181; - xfer += iprot->readListBegin(_etype1181, _size1178); - (*(this->success)).resize(_size1178); - uint32_t _i1182; - for (_i1182 = 0; _i1182 < _size1178; ++_i1182) + uint32_t _size1171; + ::apache::thrift::protocol::TType _etype1174; + xfer += iprot->readListBegin(_etype1174, _size1171); + (*(this->success)).resize(_size1171); + uint32_t _i1175; + for (_i1175 = 0; _i1175 < _size1171; ++_i1175) { - xfer += iprot->readString((*(this->success))[_i1182]); + xfer += iprot->readString((*(this->success))[_i1175]); } xfer += iprot->readListEnd(); } @@ -7075,14 +7075,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_result::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1183; - ::apache::thrift::protocol::TType _etype1186; - xfer += iprot->readListBegin(_etype1186, _size1183); - this->success.resize(_size1183); - uint32_t _i1187; - for (_i1187 = 0; _i1187 < _size1183; ++_i1187) + uint32_t _size1176; + ::apache::thrift::protocol::TType _etype1179; + xfer += iprot->readListBegin(_etype1179, _size1176); + this->success.resize(_size1176); + uint32_t _i1180; + for (_i1180 = 0; _i1180 < _size1176; ++_i1180) { - xfer += iprot->readString(this->success[_i1187]); + xfer += iprot->readString(this->success[_i1180]); } xfer += iprot->readListEnd(); } @@ -7121,10 +7121,10 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_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 _iter1188; - for (_iter1188 = this->success.begin(); _iter1188 != this->success.end(); ++_iter1188) + std::vector ::const_iterator _iter1181; + for (_iter1181 = this->success.begin(); _iter1181 != this->success.end(); ++_iter1181) { - xfer += oprot->writeString((*_iter1188)); + xfer += oprot->writeString((*_iter1181)); } xfer += oprot->writeListEnd(); } @@ -7169,14 +7169,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1189; - ::apache::thrift::protocol::TType _etype1192; - xfer += iprot->readListBegin(_etype1192, _size1189); - (*(this->success)).resize(_size1189); - uint32_t _i1193; - for (_i1193 = 0; _i1193 < _size1189; ++_i1193) + uint32_t _size1182; + ::apache::thrift::protocol::TType _etype1185; + xfer += iprot->readListBegin(_etype1185, _size1182); + (*(this->success)).resize(_size1182); + uint32_t _i1186; + for (_i1186 = 0; _i1186 < _size1182; ++_i1186) { - xfer += iprot->readString((*(this->success))[_i1193]); + xfer += iprot->readString((*(this->success))[_i1186]); } xfer += iprot->readListEnd(); } @@ -7314,14 +7314,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1194; - ::apache::thrift::protocol::TType _etype1197; - xfer += iprot->readListBegin(_etype1197, _size1194); - this->success.resize(_size1194); - uint32_t _i1198; - for (_i1198 = 0; _i1198 < _size1194; ++_i1198) + uint32_t _size1187; + ::apache::thrift::protocol::TType _etype1190; + xfer += iprot->readListBegin(_etype1190, _size1187); + this->success.resize(_size1187); + uint32_t _i1191; + for (_i1191 = 0; _i1191 < _size1187; ++_i1191) { - xfer += iprot->readString(this->success[_i1198]); + xfer += iprot->readString(this->success[_i1191]); } xfer += iprot->readListEnd(); } @@ -7360,10 +7360,10 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::write( 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 _iter1199; - for (_iter1199 = this->success.begin(); _iter1199 != this->success.end(); ++_iter1199) + std::vector ::const_iterator _iter1192; + for (_iter1192 = this->success.begin(); _iter1192 != this->success.end(); ++_iter1192) { - xfer += oprot->writeString((*_iter1199)); + xfer += oprot->writeString((*_iter1192)); } xfer += oprot->writeListEnd(); } @@ -7408,14 +7408,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_presult::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1200; - ::apache::thrift::protocol::TType _etype1203; - xfer += iprot->readListBegin(_etype1203, _size1200); - (*(this->success)).resize(_size1200); - uint32_t _i1204; - for (_i1204 = 0; _i1204 < _size1200; ++_i1204) + 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) { - xfer += iprot->readString((*(this->success))[_i1204]); + xfer += iprot->readString((*(this->success))[_i1197]); } xfer += iprot->readListEnd(); } @@ -7490,14 +7490,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 _size1205; - ::apache::thrift::protocol::TType _etype1208; - xfer += iprot->readListBegin(_etype1208, _size1205); - this->tbl_types.resize(_size1205); - uint32_t _i1209; - for (_i1209 = 0; _i1209 < _size1205; ++_i1209) + uint32_t _size1198; + ::apache::thrift::protocol::TType _etype1201; + xfer += iprot->readListBegin(_etype1201, _size1198); + this->tbl_types.resize(_size1198); + uint32_t _i1202; + for (_i1202 = 0; _i1202 < _size1198; ++_i1202) { - xfer += iprot->readString(this->tbl_types[_i1209]); + xfer += iprot->readString(this->tbl_types[_i1202]); } xfer += iprot->readListEnd(); } @@ -7534,10 +7534,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 _iter1210; - for (_iter1210 = this->tbl_types.begin(); _iter1210 != this->tbl_types.end(); ++_iter1210) + std::vector ::const_iterator _iter1203; + for (_iter1203 = this->tbl_types.begin(); _iter1203 != this->tbl_types.end(); ++_iter1203) { - xfer += oprot->writeString((*_iter1210)); + xfer += oprot->writeString((*_iter1203)); } xfer += oprot->writeListEnd(); } @@ -7569,10 +7569,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 _iter1211; - for (_iter1211 = (*(this->tbl_types)).begin(); _iter1211 != (*(this->tbl_types)).end(); ++_iter1211) + std::vector ::const_iterator _iter1204; + for (_iter1204 = (*(this->tbl_types)).begin(); _iter1204 != (*(this->tbl_types)).end(); ++_iter1204) { - xfer += oprot->writeString((*_iter1211)); + xfer += oprot->writeString((*_iter1204)); } xfer += oprot->writeListEnd(); } @@ -7613,14 +7613,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1212; - ::apache::thrift::protocol::TType _etype1215; - xfer += iprot->readListBegin(_etype1215, _size1212); - this->success.resize(_size1212); - uint32_t _i1216; - for (_i1216 = 0; _i1216 < _size1212; ++_i1216) + uint32_t _size1205; + ::apache::thrift::protocol::TType _etype1208; + xfer += iprot->readListBegin(_etype1208, _size1205); + this->success.resize(_size1205); + uint32_t _i1209; + for (_i1209 = 0; _i1209 < _size1205; ++_i1209) { - xfer += this->success[_i1216].read(iprot); + xfer += this->success[_i1209].read(iprot); } xfer += iprot->readListEnd(); } @@ -7659,10 +7659,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 _iter1217; - for (_iter1217 = this->success.begin(); _iter1217 != this->success.end(); ++_iter1217) + std::vector ::const_iterator _iter1210; + for (_iter1210 = this->success.begin(); _iter1210 != this->success.end(); ++_iter1210) { - xfer += (*_iter1217).write(oprot); + xfer += (*_iter1210).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7707,14 +7707,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1218; - ::apache::thrift::protocol::TType _etype1221; - xfer += iprot->readListBegin(_etype1221, _size1218); - (*(this->success)).resize(_size1218); - uint32_t _i1222; - for (_i1222 = 0; _i1222 < _size1218; ++_i1222) + uint32_t _size1211; + ::apache::thrift::protocol::TType _etype1214; + xfer += iprot->readListBegin(_etype1214, _size1211); + (*(this->success)).resize(_size1211); + uint32_t _i1215; + for (_i1215 = 0; _i1215 < _size1211; ++_i1215) { - xfer += (*(this->success))[_i1222].read(iprot); + xfer += (*(this->success))[_i1215].read(iprot); } xfer += iprot->readListEnd(); } @@ -7852,14 +7852,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1223; - ::apache::thrift::protocol::TType _etype1226; - xfer += iprot->readListBegin(_etype1226, _size1223); - this->success.resize(_size1223); - uint32_t _i1227; - for (_i1227 = 0; _i1227 < _size1223; ++_i1227) + uint32_t _size1216; + ::apache::thrift::protocol::TType _etype1219; + xfer += iprot->readListBegin(_etype1219, _size1216); + this->success.resize(_size1216); + uint32_t _i1220; + for (_i1220 = 0; _i1220 < _size1216; ++_i1220) { - xfer += iprot->readString(this->success[_i1227]); + xfer += iprot->readString(this->success[_i1220]); } xfer += iprot->readListEnd(); } @@ -7898,10 +7898,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 _iter1228; - for (_iter1228 = this->success.begin(); _iter1228 != this->success.end(); ++_iter1228) + std::vector ::const_iterator _iter1221; + for (_iter1221 = this->success.begin(); _iter1221 != this->success.end(); ++_iter1221) { - xfer += oprot->writeString((*_iter1228)); + xfer += oprot->writeString((*_iter1221)); } xfer += oprot->writeListEnd(); } @@ -7946,14 +7946,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1229; - ::apache::thrift::protocol::TType _etype1232; - xfer += iprot->readListBegin(_etype1232, _size1229); - (*(this->success)).resize(_size1229); - uint32_t _i1233; - for (_i1233 = 0; _i1233 < _size1229; ++_i1233) + uint32_t _size1222; + ::apache::thrift::protocol::TType _etype1225; + xfer += iprot->readListBegin(_etype1225, _size1222); + (*(this->success)).resize(_size1222); + uint32_t _i1226; + for (_i1226 = 0; _i1226 < _size1222; ++_i1226) { - xfer += iprot->readString((*(this->success))[_i1233]); + xfer += iprot->readString((*(this->success))[_i1226]); } xfer += iprot->readListEnd(); } @@ -8263,14 +8263,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 _size1234; - ::apache::thrift::protocol::TType _etype1237; - xfer += iprot->readListBegin(_etype1237, _size1234); - this->tbl_names.resize(_size1234); - uint32_t _i1238; - for (_i1238 = 0; _i1238 < _size1234; ++_i1238) + uint32_t _size1227; + ::apache::thrift::protocol::TType _etype1230; + xfer += iprot->readListBegin(_etype1230, _size1227); + this->tbl_names.resize(_size1227); + uint32_t _i1231; + for (_i1231 = 0; _i1231 < _size1227; ++_i1231) { - xfer += iprot->readString(this->tbl_names[_i1238]); + xfer += iprot->readString(this->tbl_names[_i1231]); } xfer += iprot->readListEnd(); } @@ -8303,10 +8303,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 _iter1239; - for (_iter1239 = this->tbl_names.begin(); _iter1239 != this->tbl_names.end(); ++_iter1239) + std::vector ::const_iterator _iter1232; + for (_iter1232 = this->tbl_names.begin(); _iter1232 != this->tbl_names.end(); ++_iter1232) { - xfer += oprot->writeString((*_iter1239)); + xfer += oprot->writeString((*_iter1232)); } xfer += oprot->writeListEnd(); } @@ -8334,10 +8334,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 _iter1240; - for (_iter1240 = (*(this->tbl_names)).begin(); _iter1240 != (*(this->tbl_names)).end(); ++_iter1240) + std::vector ::const_iterator _iter1233; + for (_iter1233 = (*(this->tbl_names)).begin(); _iter1233 != (*(this->tbl_names)).end(); ++_iter1233) { - xfer += oprot->writeString((*_iter1240)); + xfer += oprot->writeString((*_iter1233)); } xfer += oprot->writeListEnd(); } @@ -8378,14 +8378,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 _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 _size1234; + ::apache::thrift::protocol::TType _etype1237; + xfer += iprot->readListBegin(_etype1237, _size1234); + this->success.resize(_size1234); + uint32_t _i1238; + for (_i1238 = 0; _i1238 < _size1234; ++_i1238) { - xfer += this->success[_i1245].read(iprot); + xfer += this->success[_i1238].read(iprot); } xfer += iprot->readListEnd(); } @@ -8416,10 +8416,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 _iter1246; - for (_iter1246 = this->success.begin(); _iter1246 != this->success.end(); ++_iter1246) + std::vector
::const_iterator _iter1239; + for (_iter1239 = this->success.begin(); _iter1239 != this->success.end(); ++_iter1239) { - xfer += (*_iter1246).write(oprot); + xfer += (*_iter1239).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8460,14 +8460,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 _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 _size1240; + ::apache::thrift::protocol::TType _etype1243; + xfer += iprot->readListBegin(_etype1243, _size1240); + (*(this->success)).resize(_size1240); + uint32_t _i1244; + for (_i1244 = 0; _i1244 < _size1240; ++_i1244) { - xfer += (*(this->success))[_i1251].read(iprot); + xfer += (*(this->success))[_i1244].read(iprot); } xfer += iprot->readListEnd(); } @@ -9000,14 +9000,14 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1252; - ::apache::thrift::protocol::TType _etype1255; - xfer += iprot->readListBegin(_etype1255, _size1252); - this->tbl_names.resize(_size1252); - uint32_t _i1256; - for (_i1256 = 0; _i1256 < _size1252; ++_i1256) + uint32_t _size1245; + ::apache::thrift::protocol::TType _etype1248; + xfer += iprot->readListBegin(_etype1248, _size1245); + this->tbl_names.resize(_size1245); + uint32_t _i1249; + for (_i1249 = 0; _i1249 < _size1245; ++_i1249) { - xfer += iprot->readString(this->tbl_names[_i1256]); + xfer += iprot->readString(this->tbl_names[_i1249]); } xfer += iprot->readListEnd(); } @@ -9040,10 +9040,10 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::write(: 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 _iter1257; - for (_iter1257 = this->tbl_names.begin(); _iter1257 != this->tbl_names.end(); ++_iter1257) + std::vector ::const_iterator _iter1250; + for (_iter1250 = this->tbl_names.begin(); _iter1250 != this->tbl_names.end(); ++_iter1250) { - xfer += oprot->writeString((*_iter1257)); + xfer += oprot->writeString((*_iter1250)); } xfer += oprot->writeListEnd(); } @@ -9071,10 +9071,10 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_pargs::write( 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 _iter1258; - for (_iter1258 = (*(this->tbl_names)).begin(); _iter1258 != (*(this->tbl_names)).end(); ++_iter1258) + std::vector ::const_iterator _iter1251; + for (_iter1251 = (*(this->tbl_names)).begin(); _iter1251 != (*(this->tbl_names)).end(); ++_iter1251) { - xfer += oprot->writeString((*_iter1258)); + xfer += oprot->writeString((*_iter1251)); } xfer += oprot->writeListEnd(); } @@ -9115,17 +9115,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::read( if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1259; - ::apache::thrift::protocol::TType _ktype1260; - ::apache::thrift::protocol::TType _vtype1261; - xfer += iprot->readMapBegin(_ktype1260, _vtype1261, _size1259); - uint32_t _i1263; - for (_i1263 = 0; _i1263 < _size1259; ++_i1263) + uint32_t _size1252; + ::apache::thrift::protocol::TType _ktype1253; + ::apache::thrift::protocol::TType _vtype1254; + xfer += iprot->readMapBegin(_ktype1253, _vtype1254, _size1252); + uint32_t _i1256; + for (_i1256 = 0; _i1256 < _size1252; ++_i1256) { - std::string _key1264; - xfer += iprot->readString(_key1264); - Materialization& _val1265 = this->success[_key1264]; - xfer += _val1265.read(iprot); + std::string _key1257; + xfer += iprot->readString(_key1257); + Materialization& _val1258 = this->success[_key1257]; + xfer += _val1258.read(iprot); } xfer += iprot->readMapEnd(); } @@ -9180,11 +9180,11 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::write 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 _iter1266; - for (_iter1266 = this->success.begin(); _iter1266 != this->success.end(); ++_iter1266) + std::map ::const_iterator _iter1259; + for (_iter1259 = this->success.begin(); _iter1259 != this->success.end(); ++_iter1259) { - xfer += oprot->writeString(_iter1266->first); - xfer += _iter1266->second.write(oprot); + xfer += oprot->writeString(_iter1259->first); + xfer += _iter1259->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -9237,17 +9237,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_presult::read if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1267; - ::apache::thrift::protocol::TType _ktype1268; - ::apache::thrift::protocol::TType _vtype1269; - xfer += iprot->readMapBegin(_ktype1268, _vtype1269, _size1267); - uint32_t _i1271; - for (_i1271 = 0; _i1271 < _size1267; ++_i1271) + uint32_t _size1260; + ::apache::thrift::protocol::TType _ktype1261; + ::apache::thrift::protocol::TType _vtype1262; + xfer += iprot->readMapBegin(_ktype1261, _vtype1262, _size1260); + uint32_t _i1264; + for (_i1264 = 0; _i1264 < _size1260; ++_i1264) { - std::string _key1272; - xfer += iprot->readString(_key1272); - Materialization& _val1273 = (*(this->success))[_key1272]; - xfer += _val1273.read(iprot); + std::string _key1265; + xfer += iprot->readString(_key1265); + Materialization& _val1266 = (*(this->success))[_key1265]; + xfer += _val1266.read(iprot); } xfer += iprot->readMapEnd(); } @@ -9433,14 +9433,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 _size1274; - ::apache::thrift::protocol::TType _etype1277; - xfer += iprot->readListBegin(_etype1277, _size1274); - this->success.resize(_size1274); - uint32_t _i1278; - for (_i1278 = 0; _i1278 < _size1274; ++_i1278) + uint32_t _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 += iprot->readString(this->success[_i1278]); + xfer += iprot->readString(this->success[_i1271]); } xfer += iprot->readListEnd(); } @@ -9495,10 +9495,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 _iter1279; - for (_iter1279 = this->success.begin(); _iter1279 != this->success.end(); ++_iter1279) + std::vector ::const_iterator _iter1272; + for (_iter1272 = this->success.begin(); _iter1272 != this->success.end(); ++_iter1272) { - xfer += oprot->writeString((*_iter1279)); + xfer += oprot->writeString((*_iter1272)); } xfer += oprot->writeListEnd(); } @@ -9551,14 +9551,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 _size1280; - ::apache::thrift::protocol::TType _etype1283; - xfer += iprot->readListBegin(_etype1283, _size1280); - (*(this->success)).resize(_size1280); - uint32_t _i1284; - for (_i1284 = 0; _i1284 < _size1280; ++_i1284) + uint32_t _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 += iprot->readString((*(this->success))[_i1284]); + xfer += iprot->readString((*(this->success))[_i1277]); } xfer += iprot->readListEnd(); } @@ -10892,14 +10892,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1285; - ::apache::thrift::protocol::TType _etype1288; - xfer += iprot->readListBegin(_etype1288, _size1285); - this->new_parts.resize(_size1285); - uint32_t _i1289; - for (_i1289 = 0; _i1289 < _size1285; ++_i1289) + uint32_t _size1278; + ::apache::thrift::protocol::TType _etype1281; + xfer += iprot->readListBegin(_etype1281, _size1278); + this->new_parts.resize(_size1278); + uint32_t _i1282; + for (_i1282 = 0; _i1282 < _size1278; ++_i1282) { - xfer += this->new_parts[_i1289].read(iprot); + xfer += this->new_parts[_i1282].read(iprot); } xfer += iprot->readListEnd(); } @@ -10928,10 +10928,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 _iter1290; - for (_iter1290 = this->new_parts.begin(); _iter1290 != this->new_parts.end(); ++_iter1290) + std::vector ::const_iterator _iter1283; + for (_iter1283 = this->new_parts.begin(); _iter1283 != this->new_parts.end(); ++_iter1283) { - xfer += (*_iter1290).write(oprot); + xfer += (*_iter1283).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10955,10 +10955,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 _iter1291; - for (_iter1291 = (*(this->new_parts)).begin(); _iter1291 != (*(this->new_parts)).end(); ++_iter1291) + std::vector ::const_iterator _iter1284; + for (_iter1284 = (*(this->new_parts)).begin(); _iter1284 != (*(this->new_parts)).end(); ++_iter1284) { - xfer += (*_iter1291).write(oprot); + xfer += (*_iter1284).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11167,14 +11167,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 _size1292; - ::apache::thrift::protocol::TType _etype1295; - xfer += iprot->readListBegin(_etype1295, _size1292); - this->new_parts.resize(_size1292); - uint32_t _i1296; - for (_i1296 = 0; _i1296 < _size1292; ++_i1296) + uint32_t _size1285; + ::apache::thrift::protocol::TType _etype1288; + xfer += iprot->readListBegin(_etype1288, _size1285); + this->new_parts.resize(_size1285); + uint32_t _i1289; + for (_i1289 = 0; _i1289 < _size1285; ++_i1289) { - xfer += this->new_parts[_i1296].read(iprot); + xfer += this->new_parts[_i1289].read(iprot); } xfer += iprot->readListEnd(); } @@ -11203,10 +11203,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 _iter1297; - for (_iter1297 = this->new_parts.begin(); _iter1297 != this->new_parts.end(); ++_iter1297) + std::vector ::const_iterator _iter1290; + for (_iter1290 = this->new_parts.begin(); _iter1290 != this->new_parts.end(); ++_iter1290) { - xfer += (*_iter1297).write(oprot); + xfer += (*_iter1290).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11230,10 +11230,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 _iter1298; - for (_iter1298 = (*(this->new_parts)).begin(); _iter1298 != (*(this->new_parts)).end(); ++_iter1298) + std::vector ::const_iterator _iter1291; + for (_iter1291 = (*(this->new_parts)).begin(); _iter1291 != (*(this->new_parts)).end(); ++_iter1291) { - xfer += (*_iter1298).write(oprot); + xfer += (*_iter1291).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11458,14 +11458,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1299; - ::apache::thrift::protocol::TType _etype1302; - xfer += iprot->readListBegin(_etype1302, _size1299); - this->part_vals.resize(_size1299); - uint32_t _i1303; - for (_i1303 = 0; _i1303 < _size1299; ++_i1303) + uint32_t _size1292; + ::apache::thrift::protocol::TType _etype1295; + xfer += iprot->readListBegin(_etype1295, _size1292); + this->part_vals.resize(_size1292); + uint32_t _i1296; + for (_i1296 = 0; _i1296 < _size1292; ++_i1296) { - xfer += iprot->readString(this->part_vals[_i1303]); + xfer += iprot->readString(this->part_vals[_i1296]); } xfer += iprot->readListEnd(); } @@ -11502,10 +11502,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 _iter1304; - for (_iter1304 = this->part_vals.begin(); _iter1304 != this->part_vals.end(); ++_iter1304) + std::vector ::const_iterator _iter1297; + for (_iter1297 = this->part_vals.begin(); _iter1297 != this->part_vals.end(); ++_iter1297) { - xfer += oprot->writeString((*_iter1304)); + xfer += oprot->writeString((*_iter1297)); } xfer += oprot->writeListEnd(); } @@ -11537,10 +11537,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 _iter1305; - for (_iter1305 = (*(this->part_vals)).begin(); _iter1305 != (*(this->part_vals)).end(); ++_iter1305) + std::vector ::const_iterator _iter1298; + for (_iter1298 = (*(this->part_vals)).begin(); _iter1298 != (*(this->part_vals)).end(); ++_iter1298) { - xfer += oprot->writeString((*_iter1305)); + xfer += oprot->writeString((*_iter1298)); } xfer += oprot->writeListEnd(); } @@ -12012,14 +12012,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1306; - ::apache::thrift::protocol::TType _etype1309; - xfer += iprot->readListBegin(_etype1309, _size1306); - this->part_vals.resize(_size1306); - uint32_t _i1310; - for (_i1310 = 0; _i1310 < _size1306; ++_i1310) + uint32_t _size1299; + ::apache::thrift::protocol::TType _etype1302; + xfer += iprot->readListBegin(_etype1302, _size1299); + this->part_vals.resize(_size1299); + uint32_t _i1303; + for (_i1303 = 0; _i1303 < _size1299; ++_i1303) { - xfer += iprot->readString(this->part_vals[_i1310]); + xfer += iprot->readString(this->part_vals[_i1303]); } xfer += iprot->readListEnd(); } @@ -12064,10 +12064,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 _iter1311; - for (_iter1311 = this->part_vals.begin(); _iter1311 != this->part_vals.end(); ++_iter1311) + std::vector ::const_iterator _iter1304; + for (_iter1304 = this->part_vals.begin(); _iter1304 != this->part_vals.end(); ++_iter1304) { - xfer += oprot->writeString((*_iter1311)); + xfer += oprot->writeString((*_iter1304)); } xfer += oprot->writeListEnd(); } @@ -12103,10 +12103,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 _iter1312; - for (_iter1312 = (*(this->part_vals)).begin(); _iter1312 != (*(this->part_vals)).end(); ++_iter1312) + std::vector ::const_iterator _iter1305; + for (_iter1305 = (*(this->part_vals)).begin(); _iter1305 != (*(this->part_vals)).end(); ++_iter1305) { - xfer += oprot->writeString((*_iter1312)); + xfer += oprot->writeString((*_iter1305)); } xfer += oprot->writeListEnd(); } @@ -12909,14 +12909,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1313; - ::apache::thrift::protocol::TType _etype1316; - xfer += iprot->readListBegin(_etype1316, _size1313); - this->part_vals.resize(_size1313); - uint32_t _i1317; - for (_i1317 = 0; _i1317 < _size1313; ++_i1317) + uint32_t _size1306; + ::apache::thrift::protocol::TType _etype1309; + xfer += iprot->readListBegin(_etype1309, _size1306); + this->part_vals.resize(_size1306); + uint32_t _i1310; + for (_i1310 = 0; _i1310 < _size1306; ++_i1310) { - xfer += iprot->readString(this->part_vals[_i1317]); + xfer += iprot->readString(this->part_vals[_i1310]); } xfer += iprot->readListEnd(); } @@ -12961,10 +12961,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 _iter1318; - for (_iter1318 = this->part_vals.begin(); _iter1318 != this->part_vals.end(); ++_iter1318) + std::vector ::const_iterator _iter1311; + for (_iter1311 = this->part_vals.begin(); _iter1311 != this->part_vals.end(); ++_iter1311) { - xfer += oprot->writeString((*_iter1318)); + xfer += oprot->writeString((*_iter1311)); } xfer += oprot->writeListEnd(); } @@ -13000,10 +13000,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 _iter1319; - for (_iter1319 = (*(this->part_vals)).begin(); _iter1319 != (*(this->part_vals)).end(); ++_iter1319) + std::vector ::const_iterator _iter1312; + for (_iter1312 = (*(this->part_vals)).begin(); _iter1312 != (*(this->part_vals)).end(); ++_iter1312) { - xfer += oprot->writeString((*_iter1319)); + xfer += oprot->writeString((*_iter1312)); } xfer += oprot->writeListEnd(); } @@ -13212,14 +13212,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1320; - ::apache::thrift::protocol::TType _etype1323; - xfer += iprot->readListBegin(_etype1323, _size1320); - this->part_vals.resize(_size1320); - uint32_t _i1324; - for (_i1324 = 0; _i1324 < _size1320; ++_i1324) + uint32_t _size1313; + ::apache::thrift::protocol::TType _etype1316; + xfer += iprot->readListBegin(_etype1316, _size1313); + this->part_vals.resize(_size1313); + uint32_t _i1317; + for (_i1317 = 0; _i1317 < _size1313; ++_i1317) { - xfer += iprot->readString(this->part_vals[_i1324]); + xfer += iprot->readString(this->part_vals[_i1317]); } xfer += iprot->readListEnd(); } @@ -13272,10 +13272,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 _iter1325; - for (_iter1325 = this->part_vals.begin(); _iter1325 != this->part_vals.end(); ++_iter1325) + std::vector ::const_iterator _iter1318; + for (_iter1318 = this->part_vals.begin(); _iter1318 != this->part_vals.end(); ++_iter1318) { - xfer += oprot->writeString((*_iter1325)); + xfer += oprot->writeString((*_iter1318)); } xfer += oprot->writeListEnd(); } @@ -13315,10 +13315,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 _iter1326; - for (_iter1326 = (*(this->part_vals)).begin(); _iter1326 != (*(this->part_vals)).end(); ++_iter1326) + std::vector ::const_iterator _iter1319; + for (_iter1319 = (*(this->part_vals)).begin(); _iter1319 != (*(this->part_vals)).end(); ++_iter1319) { - xfer += oprot->writeString((*_iter1326)); + xfer += oprot->writeString((*_iter1319)); } xfer += oprot->writeListEnd(); } @@ -14324,14 +14324,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1327; - ::apache::thrift::protocol::TType _etype1330; - xfer += iprot->readListBegin(_etype1330, _size1327); - this->part_vals.resize(_size1327); - uint32_t _i1331; - for (_i1331 = 0; _i1331 < _size1327; ++_i1331) + uint32_t _size1320; + ::apache::thrift::protocol::TType _etype1323; + xfer += iprot->readListBegin(_etype1323, _size1320); + this->part_vals.resize(_size1320); + uint32_t _i1324; + for (_i1324 = 0; _i1324 < _size1320; ++_i1324) { - xfer += iprot->readString(this->part_vals[_i1331]); + xfer += iprot->readString(this->part_vals[_i1324]); } xfer += iprot->readListEnd(); } @@ -14368,10 +14368,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 _iter1332; - for (_iter1332 = this->part_vals.begin(); _iter1332 != this->part_vals.end(); ++_iter1332) + std::vector ::const_iterator _iter1325; + for (_iter1325 = this->part_vals.begin(); _iter1325 != this->part_vals.end(); ++_iter1325) { - xfer += oprot->writeString((*_iter1332)); + xfer += oprot->writeString((*_iter1325)); } xfer += oprot->writeListEnd(); } @@ -14403,10 +14403,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 _iter1333; - for (_iter1333 = (*(this->part_vals)).begin(); _iter1333 != (*(this->part_vals)).end(); ++_iter1333) + std::vector ::const_iterator _iter1326; + for (_iter1326 = (*(this->part_vals)).begin(); _iter1326 != (*(this->part_vals)).end(); ++_iter1326) { - xfer += oprot->writeString((*_iter1333)); + xfer += oprot->writeString((*_iter1326)); } xfer += oprot->writeListEnd(); } @@ -14595,17 +14595,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1334; - ::apache::thrift::protocol::TType _ktype1335; - ::apache::thrift::protocol::TType _vtype1336; - xfer += iprot->readMapBegin(_ktype1335, _vtype1336, _size1334); - uint32_t _i1338; - for (_i1338 = 0; _i1338 < _size1334; ++_i1338) + uint32_t _size1327; + ::apache::thrift::protocol::TType _ktype1328; + ::apache::thrift::protocol::TType _vtype1329; + xfer += iprot->readMapBegin(_ktype1328, _vtype1329, _size1327); + uint32_t _i1331; + for (_i1331 = 0; _i1331 < _size1327; ++_i1331) { - std::string _key1339; - xfer += iprot->readString(_key1339); - std::string& _val1340 = this->partitionSpecs[_key1339]; - xfer += iprot->readString(_val1340); + std::string _key1332; + xfer += iprot->readString(_key1332); + std::string& _val1333 = this->partitionSpecs[_key1332]; + xfer += iprot->readString(_val1333); } xfer += iprot->readMapEnd(); } @@ -14666,11 +14666,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 _iter1341; - for (_iter1341 = this->partitionSpecs.begin(); _iter1341 != this->partitionSpecs.end(); ++_iter1341) + std::map ::const_iterator _iter1334; + for (_iter1334 = this->partitionSpecs.begin(); _iter1334 != this->partitionSpecs.end(); ++_iter1334) { - xfer += oprot->writeString(_iter1341->first); - xfer += oprot->writeString(_iter1341->second); + xfer += oprot->writeString(_iter1334->first); + xfer += oprot->writeString(_iter1334->second); } xfer += oprot->writeMapEnd(); } @@ -14710,11 +14710,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 _iter1342; - for (_iter1342 = (*(this->partitionSpecs)).begin(); _iter1342 != (*(this->partitionSpecs)).end(); ++_iter1342) + std::map ::const_iterator _iter1335; + for (_iter1335 = (*(this->partitionSpecs)).begin(); _iter1335 != (*(this->partitionSpecs)).end(); ++_iter1335) { - xfer += oprot->writeString(_iter1342->first); - xfer += oprot->writeString(_iter1342->second); + xfer += oprot->writeString(_iter1335->first); + xfer += oprot->writeString(_iter1335->second); } xfer += oprot->writeMapEnd(); } @@ -14959,17 +14959,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1343; - ::apache::thrift::protocol::TType _ktype1344; - ::apache::thrift::protocol::TType _vtype1345; - xfer += iprot->readMapBegin(_ktype1344, _vtype1345, _size1343); - uint32_t _i1347; - for (_i1347 = 0; _i1347 < _size1343; ++_i1347) + uint32_t _size1336; + ::apache::thrift::protocol::TType _ktype1337; + ::apache::thrift::protocol::TType _vtype1338; + xfer += iprot->readMapBegin(_ktype1337, _vtype1338, _size1336); + uint32_t _i1340; + for (_i1340 = 0; _i1340 < _size1336; ++_i1340) { - std::string _key1348; - xfer += iprot->readString(_key1348); - std::string& _val1349 = this->partitionSpecs[_key1348]; - xfer += iprot->readString(_val1349); + std::string _key1341; + xfer += iprot->readString(_key1341); + std::string& _val1342 = this->partitionSpecs[_key1341]; + xfer += iprot->readString(_val1342); } xfer += iprot->readMapEnd(); } @@ -15030,11 +15030,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 _iter1350; - for (_iter1350 = this->partitionSpecs.begin(); _iter1350 != this->partitionSpecs.end(); ++_iter1350) + std::map ::const_iterator _iter1343; + for (_iter1343 = this->partitionSpecs.begin(); _iter1343 != this->partitionSpecs.end(); ++_iter1343) { - xfer += oprot->writeString(_iter1350->first); - xfer += oprot->writeString(_iter1350->second); + xfer += oprot->writeString(_iter1343->first); + xfer += oprot->writeString(_iter1343->second); } xfer += oprot->writeMapEnd(); } @@ -15074,11 +15074,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 _iter1351; - for (_iter1351 = (*(this->partitionSpecs)).begin(); _iter1351 != (*(this->partitionSpecs)).end(); ++_iter1351) + std::map ::const_iterator _iter1344; + for (_iter1344 = (*(this->partitionSpecs)).begin(); _iter1344 != (*(this->partitionSpecs)).end(); ++_iter1344) { - xfer += oprot->writeString(_iter1351->first); - xfer += oprot->writeString(_iter1351->second); + xfer += oprot->writeString(_iter1344->first); + xfer += oprot->writeString(_iter1344->second); } xfer += oprot->writeMapEnd(); } @@ -15135,14 +15135,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1352; - ::apache::thrift::protocol::TType _etype1355; - xfer += iprot->readListBegin(_etype1355, _size1352); - this->success.resize(_size1352); - uint32_t _i1356; - for (_i1356 = 0; _i1356 < _size1352; ++_i1356) + uint32_t _size1345; + ::apache::thrift::protocol::TType _etype1348; + xfer += iprot->readListBegin(_etype1348, _size1345); + this->success.resize(_size1345); + uint32_t _i1349; + for (_i1349 = 0; _i1349 < _size1345; ++_i1349) { - xfer += this->success[_i1356].read(iprot); + xfer += this->success[_i1349].read(iprot); } xfer += iprot->readListEnd(); } @@ -15205,10 +15205,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 _iter1357; - for (_iter1357 = this->success.begin(); _iter1357 != this->success.end(); ++_iter1357) + std::vector ::const_iterator _iter1350; + for (_iter1350 = this->success.begin(); _iter1350 != this->success.end(); ++_iter1350) { - xfer += (*_iter1357).write(oprot); + xfer += (*_iter1350).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15265,14 +15265,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1358; - ::apache::thrift::protocol::TType _etype1361; - xfer += iprot->readListBegin(_etype1361, _size1358); - (*(this->success)).resize(_size1358); - uint32_t _i1362; - for (_i1362 = 0; _i1362 < _size1358; ++_i1362) + uint32_t _size1351; + ::apache::thrift::protocol::TType _etype1354; + xfer += iprot->readListBegin(_etype1354, _size1351); + (*(this->success)).resize(_size1351); + uint32_t _i1355; + for (_i1355 = 0; _i1355 < _size1351; ++_i1355) { - xfer += (*(this->success))[_i1362].read(iprot); + xfer += (*(this->success))[_i1355].read(iprot); } xfer += iprot->readListEnd(); } @@ -15371,14 +15371,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 _size1363; - ::apache::thrift::protocol::TType _etype1366; - xfer += iprot->readListBegin(_etype1366, _size1363); - this->part_vals.resize(_size1363); - uint32_t _i1367; - for (_i1367 = 0; _i1367 < _size1363; ++_i1367) + uint32_t _size1356; + ::apache::thrift::protocol::TType _etype1359; + xfer += iprot->readListBegin(_etype1359, _size1356); + this->part_vals.resize(_size1356); + uint32_t _i1360; + for (_i1360 = 0; _i1360 < _size1356; ++_i1360) { - xfer += iprot->readString(this->part_vals[_i1367]); + xfer += iprot->readString(this->part_vals[_i1360]); } xfer += iprot->readListEnd(); } @@ -15399,14 +15399,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 _size1368; - ::apache::thrift::protocol::TType _etype1371; - xfer += iprot->readListBegin(_etype1371, _size1368); - this->group_names.resize(_size1368); - uint32_t _i1372; - for (_i1372 = 0; _i1372 < _size1368; ++_i1372) + uint32_t _size1361; + ::apache::thrift::protocol::TType _etype1364; + xfer += iprot->readListBegin(_etype1364, _size1361); + this->group_names.resize(_size1361); + uint32_t _i1365; + for (_i1365 = 0; _i1365 < _size1361; ++_i1365) { - xfer += iprot->readString(this->group_names[_i1372]); + xfer += iprot->readString(this->group_names[_i1365]); } xfer += iprot->readListEnd(); } @@ -15443,10 +15443,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 _iter1373; - for (_iter1373 = this->part_vals.begin(); _iter1373 != this->part_vals.end(); ++_iter1373) + std::vector ::const_iterator _iter1366; + for (_iter1366 = this->part_vals.begin(); _iter1366 != this->part_vals.end(); ++_iter1366) { - xfer += oprot->writeString((*_iter1373)); + xfer += oprot->writeString((*_iter1366)); } xfer += oprot->writeListEnd(); } @@ -15459,10 +15459,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 _iter1374; - for (_iter1374 = this->group_names.begin(); _iter1374 != this->group_names.end(); ++_iter1374) + std::vector ::const_iterator _iter1367; + for (_iter1367 = this->group_names.begin(); _iter1367 != this->group_names.end(); ++_iter1367) { - xfer += oprot->writeString((*_iter1374)); + xfer += oprot->writeString((*_iter1367)); } xfer += oprot->writeListEnd(); } @@ -15494,10 +15494,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 _iter1375; - for (_iter1375 = (*(this->part_vals)).begin(); _iter1375 != (*(this->part_vals)).end(); ++_iter1375) + std::vector ::const_iterator _iter1368; + for (_iter1368 = (*(this->part_vals)).begin(); _iter1368 != (*(this->part_vals)).end(); ++_iter1368) { - xfer += oprot->writeString((*_iter1375)); + xfer += oprot->writeString((*_iter1368)); } xfer += oprot->writeListEnd(); } @@ -15510,10 +15510,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 _iter1376; - for (_iter1376 = (*(this->group_names)).begin(); _iter1376 != (*(this->group_names)).end(); ++_iter1376) + std::vector ::const_iterator _iter1369; + for (_iter1369 = (*(this->group_names)).begin(); _iter1369 != (*(this->group_names)).end(); ++_iter1369) { - xfer += oprot->writeString((*_iter1376)); + xfer += oprot->writeString((*_iter1369)); } xfer += oprot->writeListEnd(); } @@ -16072,14 +16072,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1377; - ::apache::thrift::protocol::TType _etype1380; - xfer += iprot->readListBegin(_etype1380, _size1377); - this->success.resize(_size1377); - uint32_t _i1381; - for (_i1381 = 0; _i1381 < _size1377; ++_i1381) + uint32_t _size1370; + ::apache::thrift::protocol::TType _etype1373; + xfer += iprot->readListBegin(_etype1373, _size1370); + this->success.resize(_size1370); + uint32_t _i1374; + for (_i1374 = 0; _i1374 < _size1370; ++_i1374) { - xfer += this->success[_i1381].read(iprot); + xfer += this->success[_i1374].read(iprot); } xfer += iprot->readListEnd(); } @@ -16126,10 +16126,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 _iter1382; - for (_iter1382 = this->success.begin(); _iter1382 != this->success.end(); ++_iter1382) + std::vector ::const_iterator _iter1375; + for (_iter1375 = this->success.begin(); _iter1375 != this->success.end(); ++_iter1375) { - xfer += (*_iter1382).write(oprot); + xfer += (*_iter1375).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16178,14 +16178,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1383; - ::apache::thrift::protocol::TType _etype1386; - xfer += iprot->readListBegin(_etype1386, _size1383); - (*(this->success)).resize(_size1383); - uint32_t _i1387; - for (_i1387 = 0; _i1387 < _size1383; ++_i1387) + uint32_t _size1376; + ::apache::thrift::protocol::TType _etype1379; + xfer += iprot->readListBegin(_etype1379, _size1376); + (*(this->success)).resize(_size1376); + uint32_t _i1380; + for (_i1380 = 0; _i1380 < _size1376; ++_i1380) { - xfer += (*(this->success))[_i1387].read(iprot); + xfer += (*(this->success))[_i1380].read(iprot); } xfer += iprot->readListEnd(); } @@ -16284,14 +16284,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 _size1388; - ::apache::thrift::protocol::TType _etype1391; - xfer += iprot->readListBegin(_etype1391, _size1388); - this->group_names.resize(_size1388); - uint32_t _i1392; - for (_i1392 = 0; _i1392 < _size1388; ++_i1392) + uint32_t _size1381; + ::apache::thrift::protocol::TType _etype1384; + xfer += iprot->readListBegin(_etype1384, _size1381); + this->group_names.resize(_size1381); + uint32_t _i1385; + for (_i1385 = 0; _i1385 < _size1381; ++_i1385) { - xfer += iprot->readString(this->group_names[_i1392]); + xfer += iprot->readString(this->group_names[_i1385]); } xfer += iprot->readListEnd(); } @@ -16336,10 +16336,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 _iter1393; - for (_iter1393 = this->group_names.begin(); _iter1393 != this->group_names.end(); ++_iter1393) + std::vector ::const_iterator _iter1386; + for (_iter1386 = this->group_names.begin(); _iter1386 != this->group_names.end(); ++_iter1386) { - xfer += oprot->writeString((*_iter1393)); + xfer += oprot->writeString((*_iter1386)); } xfer += oprot->writeListEnd(); } @@ -16379,10 +16379,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 _iter1394; - for (_iter1394 = (*(this->group_names)).begin(); _iter1394 != (*(this->group_names)).end(); ++_iter1394) + std::vector ::const_iterator _iter1387; + for (_iter1387 = (*(this->group_names)).begin(); _iter1387 != (*(this->group_names)).end(); ++_iter1387) { - xfer += oprot->writeString((*_iter1394)); + xfer += oprot->writeString((*_iter1387)); } xfer += oprot->writeListEnd(); } @@ -16423,14 +16423,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1395; - ::apache::thrift::protocol::TType _etype1398; - xfer += iprot->readListBegin(_etype1398, _size1395); - this->success.resize(_size1395); - uint32_t _i1399; - for (_i1399 = 0; _i1399 < _size1395; ++_i1399) + uint32_t _size1388; + ::apache::thrift::protocol::TType _etype1391; + xfer += iprot->readListBegin(_etype1391, _size1388); + this->success.resize(_size1388); + uint32_t _i1392; + for (_i1392 = 0; _i1392 < _size1388; ++_i1392) { - xfer += this->success[_i1399].read(iprot); + xfer += this->success[_i1392].read(iprot); } xfer += iprot->readListEnd(); } @@ -16477,10 +16477,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 _iter1400; - for (_iter1400 = this->success.begin(); _iter1400 != this->success.end(); ++_iter1400) + std::vector ::const_iterator _iter1393; + for (_iter1393 = this->success.begin(); _iter1393 != this->success.end(); ++_iter1393) { - xfer += (*_iter1400).write(oprot); + xfer += (*_iter1393).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16529,14 +16529,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1401; - ::apache::thrift::protocol::TType _etype1404; - xfer += iprot->readListBegin(_etype1404, _size1401); - (*(this->success)).resize(_size1401); - uint32_t _i1405; - for (_i1405 = 0; _i1405 < _size1401; ++_i1405) + uint32_t _size1394; + ::apache::thrift::protocol::TType _etype1397; + xfer += iprot->readListBegin(_etype1397, _size1394); + (*(this->success)).resize(_size1394); + uint32_t _i1398; + for (_i1398 = 0; _i1398 < _size1394; ++_i1398) { - xfer += (*(this->success))[_i1405].read(iprot); + xfer += (*(this->success))[_i1398].read(iprot); } xfer += iprot->readListEnd(); } @@ -16714,14 +16714,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1406; - ::apache::thrift::protocol::TType _etype1409; - xfer += iprot->readListBegin(_etype1409, _size1406); - this->success.resize(_size1406); - uint32_t _i1410; - for (_i1410 = 0; _i1410 < _size1406; ++_i1410) + uint32_t _size1399; + ::apache::thrift::protocol::TType _etype1402; + xfer += iprot->readListBegin(_etype1402, _size1399); + this->success.resize(_size1399); + uint32_t _i1403; + for (_i1403 = 0; _i1403 < _size1399; ++_i1403) { - xfer += this->success[_i1410].read(iprot); + xfer += this->success[_i1403].read(iprot); } xfer += iprot->readListEnd(); } @@ -16768,10 +16768,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 _iter1411; - for (_iter1411 = this->success.begin(); _iter1411 != this->success.end(); ++_iter1411) + std::vector ::const_iterator _iter1404; + for (_iter1404 = this->success.begin(); _iter1404 != this->success.end(); ++_iter1404) { - xfer += (*_iter1411).write(oprot); + xfer += (*_iter1404).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16820,14 +16820,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1412; - ::apache::thrift::protocol::TType _etype1415; - xfer += iprot->readListBegin(_etype1415, _size1412); - (*(this->success)).resize(_size1412); - uint32_t _i1416; - for (_i1416 = 0; _i1416 < _size1412; ++_i1416) + uint32_t _size1405; + ::apache::thrift::protocol::TType _etype1408; + xfer += iprot->readListBegin(_etype1408, _size1405); + (*(this->success)).resize(_size1405); + uint32_t _i1409; + for (_i1409 = 0; _i1409 < _size1405; ++_i1409) { - xfer += (*(this->success))[_i1416].read(iprot); + xfer += (*(this->success))[_i1409].read(iprot); } xfer += iprot->readListEnd(); } @@ -17005,14 +17005,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1417; - ::apache::thrift::protocol::TType _etype1420; - xfer += iprot->readListBegin(_etype1420, _size1417); - this->success.resize(_size1417); - uint32_t _i1421; - for (_i1421 = 0; _i1421 < _size1417; ++_i1421) + uint32_t _size1410; + ::apache::thrift::protocol::TType _etype1413; + xfer += iprot->readListBegin(_etype1413, _size1410); + this->success.resize(_size1410); + uint32_t _i1414; + for (_i1414 = 0; _i1414 < _size1410; ++_i1414) { - xfer += iprot->readString(this->success[_i1421]); + xfer += iprot->readString(this->success[_i1414]); } xfer += iprot->readListEnd(); } @@ -17059,10 +17059,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 _iter1422; - for (_iter1422 = this->success.begin(); _iter1422 != this->success.end(); ++_iter1422) + std::vector ::const_iterator _iter1415; + for (_iter1415 = this->success.begin(); _iter1415 != this->success.end(); ++_iter1415) { - xfer += oprot->writeString((*_iter1422)); + xfer += oprot->writeString((*_iter1415)); } xfer += oprot->writeListEnd(); } @@ -17111,14 +17111,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1423; - ::apache::thrift::protocol::TType _etype1426; - xfer += iprot->readListBegin(_etype1426, _size1423); - (*(this->success)).resize(_size1423); - uint32_t _i1427; - for (_i1427 = 0; _i1427 < _size1423; ++_i1427) + uint32_t _size1416; + ::apache::thrift::protocol::TType _etype1419; + xfer += iprot->readListBegin(_etype1419, _size1416); + (*(this->success)).resize(_size1416); + uint32_t _i1420; + for (_i1420 = 0; _i1420 < _size1416; ++_i1420) { - xfer += iprot->readString((*(this->success))[_i1427]); + xfer += iprot->readString((*(this->success))[_i1420]); } xfer += iprot->readListEnd(); } @@ -17428,14 +17428,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 _size1428; - ::apache::thrift::protocol::TType _etype1431; - xfer += iprot->readListBegin(_etype1431, _size1428); - this->part_vals.resize(_size1428); - uint32_t _i1432; - for (_i1432 = 0; _i1432 < _size1428; ++_i1432) + uint32_t _size1421; + ::apache::thrift::protocol::TType _etype1424; + xfer += iprot->readListBegin(_etype1424, _size1421); + this->part_vals.resize(_size1421); + uint32_t _i1425; + for (_i1425 = 0; _i1425 < _size1421; ++_i1425) { - xfer += iprot->readString(this->part_vals[_i1432]); + xfer += iprot->readString(this->part_vals[_i1425]); } xfer += iprot->readListEnd(); } @@ -17480,10 +17480,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 _iter1433; - for (_iter1433 = this->part_vals.begin(); _iter1433 != this->part_vals.end(); ++_iter1433) + std::vector ::const_iterator _iter1426; + for (_iter1426 = this->part_vals.begin(); _iter1426 != this->part_vals.end(); ++_iter1426) { - xfer += oprot->writeString((*_iter1433)); + xfer += oprot->writeString((*_iter1426)); } xfer += oprot->writeListEnd(); } @@ -17519,10 +17519,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 _iter1434; - for (_iter1434 = (*(this->part_vals)).begin(); _iter1434 != (*(this->part_vals)).end(); ++_iter1434) + std::vector ::const_iterator _iter1427; + for (_iter1427 = (*(this->part_vals)).begin(); _iter1427 != (*(this->part_vals)).end(); ++_iter1427) { - xfer += oprot->writeString((*_iter1434)); + xfer += oprot->writeString((*_iter1427)); } xfer += oprot->writeListEnd(); } @@ -17567,14 +17567,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1435; - ::apache::thrift::protocol::TType _etype1438; - xfer += iprot->readListBegin(_etype1438, _size1435); - this->success.resize(_size1435); - uint32_t _i1439; - for (_i1439 = 0; _i1439 < _size1435; ++_i1439) + uint32_t _size1428; + ::apache::thrift::protocol::TType _etype1431; + xfer += iprot->readListBegin(_etype1431, _size1428); + this->success.resize(_size1428); + uint32_t _i1432; + for (_i1432 = 0; _i1432 < _size1428; ++_i1432) { - xfer += this->success[_i1439].read(iprot); + xfer += this->success[_i1432].read(iprot); } xfer += iprot->readListEnd(); } @@ -17621,10 +17621,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 _iter1440; - for (_iter1440 = this->success.begin(); _iter1440 != this->success.end(); ++_iter1440) + std::vector ::const_iterator _iter1433; + for (_iter1433 = this->success.begin(); _iter1433 != this->success.end(); ++_iter1433) { - xfer += (*_iter1440).write(oprot); + xfer += (*_iter1433).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17673,14 +17673,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1441; - ::apache::thrift::protocol::TType _etype1444; - xfer += iprot->readListBegin(_etype1444, _size1441); - (*(this->success)).resize(_size1441); - uint32_t _i1445; - for (_i1445 = 0; _i1445 < _size1441; ++_i1445) + uint32_t _size1434; + ::apache::thrift::protocol::TType _etype1437; + xfer += iprot->readListBegin(_etype1437, _size1434); + (*(this->success)).resize(_size1434); + uint32_t _i1438; + for (_i1438 = 0; _i1438 < _size1434; ++_i1438) { - xfer += (*(this->success))[_i1445].read(iprot); + xfer += (*(this->success))[_i1438].read(iprot); } xfer += iprot->readListEnd(); } @@ -17763,14 +17763,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 _size1446; - ::apache::thrift::protocol::TType _etype1449; - xfer += iprot->readListBegin(_etype1449, _size1446); - this->part_vals.resize(_size1446); - uint32_t _i1450; - for (_i1450 = 0; _i1450 < _size1446; ++_i1450) + uint32_t _size1439; + ::apache::thrift::protocol::TType _etype1442; + xfer += iprot->readListBegin(_etype1442, _size1439); + this->part_vals.resize(_size1439); + uint32_t _i1443; + for (_i1443 = 0; _i1443 < _size1439; ++_i1443) { - xfer += iprot->readString(this->part_vals[_i1450]); + xfer += iprot->readString(this->part_vals[_i1443]); } xfer += iprot->readListEnd(); } @@ -17799,14 +17799,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 _size1451; - ::apache::thrift::protocol::TType _etype1454; - xfer += iprot->readListBegin(_etype1454, _size1451); - this->group_names.resize(_size1451); - uint32_t _i1455; - for (_i1455 = 0; _i1455 < _size1451; ++_i1455) + uint32_t _size1444; + ::apache::thrift::protocol::TType _etype1447; + xfer += iprot->readListBegin(_etype1447, _size1444); + this->group_names.resize(_size1444); + uint32_t _i1448; + for (_i1448 = 0; _i1448 < _size1444; ++_i1448) { - xfer += iprot->readString(this->group_names[_i1455]); + xfer += iprot->readString(this->group_names[_i1448]); } xfer += iprot->readListEnd(); } @@ -17843,10 +17843,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 _iter1456; - for (_iter1456 = this->part_vals.begin(); _iter1456 != this->part_vals.end(); ++_iter1456) + std::vector ::const_iterator _iter1449; + for (_iter1449 = this->part_vals.begin(); _iter1449 != this->part_vals.end(); ++_iter1449) { - xfer += oprot->writeString((*_iter1456)); + xfer += oprot->writeString((*_iter1449)); } xfer += oprot->writeListEnd(); } @@ -17863,10 +17863,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 _iter1457; - for (_iter1457 = this->group_names.begin(); _iter1457 != this->group_names.end(); ++_iter1457) + std::vector ::const_iterator _iter1450; + for (_iter1450 = this->group_names.begin(); _iter1450 != this->group_names.end(); ++_iter1450) { - xfer += oprot->writeString((*_iter1457)); + xfer += oprot->writeString((*_iter1450)); } xfer += oprot->writeListEnd(); } @@ -17898,10 +17898,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 _iter1458; - for (_iter1458 = (*(this->part_vals)).begin(); _iter1458 != (*(this->part_vals)).end(); ++_iter1458) + std::vector ::const_iterator _iter1451; + for (_iter1451 = (*(this->part_vals)).begin(); _iter1451 != (*(this->part_vals)).end(); ++_iter1451) { - xfer += oprot->writeString((*_iter1458)); + xfer += oprot->writeString((*_iter1451)); } xfer += oprot->writeListEnd(); } @@ -17918,10 +17918,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 _iter1459; - for (_iter1459 = (*(this->group_names)).begin(); _iter1459 != (*(this->group_names)).end(); ++_iter1459) + std::vector ::const_iterator _iter1452; + for (_iter1452 = (*(this->group_names)).begin(); _iter1452 != (*(this->group_names)).end(); ++_iter1452) { - xfer += oprot->writeString((*_iter1459)); + xfer += oprot->writeString((*_iter1452)); } xfer += oprot->writeListEnd(); } @@ -17962,14 +17962,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1460; - ::apache::thrift::protocol::TType _etype1463; - xfer += iprot->readListBegin(_etype1463, _size1460); - this->success.resize(_size1460); - uint32_t _i1464; - for (_i1464 = 0; _i1464 < _size1460; ++_i1464) + uint32_t _size1453; + ::apache::thrift::protocol::TType _etype1456; + xfer += iprot->readListBegin(_etype1456, _size1453); + this->success.resize(_size1453); + uint32_t _i1457; + for (_i1457 = 0; _i1457 < _size1453; ++_i1457) { - xfer += this->success[_i1464].read(iprot); + xfer += this->success[_i1457].read(iprot); } xfer += iprot->readListEnd(); } @@ -18016,10 +18016,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 _iter1465; - for (_iter1465 = this->success.begin(); _iter1465 != this->success.end(); ++_iter1465) + std::vector ::const_iterator _iter1458; + for (_iter1458 = this->success.begin(); _iter1458 != this->success.end(); ++_iter1458) { - xfer += (*_iter1465).write(oprot); + xfer += (*_iter1458).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18068,14 +18068,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1466; - ::apache::thrift::protocol::TType _etype1469; - xfer += iprot->readListBegin(_etype1469, _size1466); - (*(this->success)).resize(_size1466); - uint32_t _i1470; - for (_i1470 = 0; _i1470 < _size1466; ++_i1470) + uint32_t _size1459; + ::apache::thrift::protocol::TType _etype1462; + xfer += iprot->readListBegin(_etype1462, _size1459); + (*(this->success)).resize(_size1459); + uint32_t _i1463; + for (_i1463 = 0; _i1463 < _size1459; ++_i1463) { - xfer += (*(this->success))[_i1470].read(iprot); + xfer += (*(this->success))[_i1463].read(iprot); } xfer += iprot->readListEnd(); } @@ -18158,14 +18158,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 _size1471; - ::apache::thrift::protocol::TType _etype1474; - xfer += iprot->readListBegin(_etype1474, _size1471); - this->part_vals.resize(_size1471); - uint32_t _i1475; - for (_i1475 = 0; _i1475 < _size1471; ++_i1475) + uint32_t _size1464; + ::apache::thrift::protocol::TType _etype1467; + xfer += iprot->readListBegin(_etype1467, _size1464); + this->part_vals.resize(_size1464); + uint32_t _i1468; + for (_i1468 = 0; _i1468 < _size1464; ++_i1468) { - xfer += iprot->readString(this->part_vals[_i1475]); + xfer += iprot->readString(this->part_vals[_i1468]); } xfer += iprot->readListEnd(); } @@ -18210,10 +18210,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 _iter1476; - for (_iter1476 = this->part_vals.begin(); _iter1476 != this->part_vals.end(); ++_iter1476) + std::vector ::const_iterator _iter1469; + for (_iter1469 = this->part_vals.begin(); _iter1469 != this->part_vals.end(); ++_iter1469) { - xfer += oprot->writeString((*_iter1476)); + xfer += oprot->writeString((*_iter1469)); } xfer += oprot->writeListEnd(); } @@ -18249,10 +18249,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 _iter1477; - for (_iter1477 = (*(this->part_vals)).begin(); _iter1477 != (*(this->part_vals)).end(); ++_iter1477) + std::vector ::const_iterator _iter1470; + for (_iter1470 = (*(this->part_vals)).begin(); _iter1470 != (*(this->part_vals)).end(); ++_iter1470) { - xfer += oprot->writeString((*_iter1477)); + xfer += oprot->writeString((*_iter1470)); } xfer += oprot->writeListEnd(); } @@ -18297,14 +18297,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1478; - ::apache::thrift::protocol::TType _etype1481; - xfer += iprot->readListBegin(_etype1481, _size1478); - this->success.resize(_size1478); - uint32_t _i1482; - for (_i1482 = 0; _i1482 < _size1478; ++_i1482) + uint32_t _size1471; + ::apache::thrift::protocol::TType _etype1474; + xfer += iprot->readListBegin(_etype1474, _size1471); + this->success.resize(_size1471); + uint32_t _i1475; + for (_i1475 = 0; _i1475 < _size1471; ++_i1475) { - xfer += iprot->readString(this->success[_i1482]); + xfer += iprot->readString(this->success[_i1475]); } xfer += iprot->readListEnd(); } @@ -18351,10 +18351,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 _iter1483; - for (_iter1483 = this->success.begin(); _iter1483 != this->success.end(); ++_iter1483) + std::vector ::const_iterator _iter1476; + for (_iter1476 = this->success.begin(); _iter1476 != this->success.end(); ++_iter1476) { - xfer += oprot->writeString((*_iter1483)); + xfer += oprot->writeString((*_iter1476)); } xfer += oprot->writeListEnd(); } @@ -18403,14 +18403,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1484; - ::apache::thrift::protocol::TType _etype1487; - xfer += iprot->readListBegin(_etype1487, _size1484); - (*(this->success)).resize(_size1484); - uint32_t _i1488; - for (_i1488 = 0; _i1488 < _size1484; ++_i1488) + uint32_t _size1477; + ::apache::thrift::protocol::TType _etype1480; + xfer += iprot->readListBegin(_etype1480, _size1477); + (*(this->success)).resize(_size1477); + uint32_t _i1481; + for (_i1481 = 0; _i1481 < _size1477; ++_i1481) { - xfer += iprot->readString((*(this->success))[_i1488]); + xfer += iprot->readString((*(this->success))[_i1481]); } xfer += iprot->readListEnd(); } @@ -18604,14 +18604,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1489; - ::apache::thrift::protocol::TType _etype1492; - xfer += iprot->readListBegin(_etype1492, _size1489); - this->success.resize(_size1489); - uint32_t _i1493; - for (_i1493 = 0; _i1493 < _size1489; ++_i1493) + uint32_t _size1482; + ::apache::thrift::protocol::TType _etype1485; + xfer += iprot->readListBegin(_etype1485, _size1482); + this->success.resize(_size1482); + uint32_t _i1486; + for (_i1486 = 0; _i1486 < _size1482; ++_i1486) { - xfer += this->success[_i1493].read(iprot); + xfer += this->success[_i1486].read(iprot); } xfer += iprot->readListEnd(); } @@ -18658,10 +18658,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 _iter1494; - for (_iter1494 = this->success.begin(); _iter1494 != this->success.end(); ++_iter1494) + std::vector ::const_iterator _iter1487; + for (_iter1487 = this->success.begin(); _iter1487 != this->success.end(); ++_iter1487) { - xfer += (*_iter1494).write(oprot); + xfer += (*_iter1487).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18710,14 +18710,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1495; - ::apache::thrift::protocol::TType _etype1498; - xfer += iprot->readListBegin(_etype1498, _size1495); - (*(this->success)).resize(_size1495); - uint32_t _i1499; - for (_i1499 = 0; _i1499 < _size1495; ++_i1499) + uint32_t _size1488; + ::apache::thrift::protocol::TType _etype1491; + xfer += iprot->readListBegin(_etype1491, _size1488); + (*(this->success)).resize(_size1488); + uint32_t _i1492; + for (_i1492 = 0; _i1492 < _size1488; ++_i1492) { - xfer += (*(this->success))[_i1499].read(iprot); + xfer += (*(this->success))[_i1492].read(iprot); } xfer += iprot->readListEnd(); } @@ -18911,14 +18911,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 _size1500; - ::apache::thrift::protocol::TType _etype1503; - xfer += iprot->readListBegin(_etype1503, _size1500); - this->success.resize(_size1500); - uint32_t _i1504; - for (_i1504 = 0; _i1504 < _size1500; ++_i1504) + uint32_t _size1493; + ::apache::thrift::protocol::TType _etype1496; + xfer += iprot->readListBegin(_etype1496, _size1493); + this->success.resize(_size1493); + uint32_t _i1497; + for (_i1497 = 0; _i1497 < _size1493; ++_i1497) { - xfer += this->success[_i1504].read(iprot); + xfer += this->success[_i1497].read(iprot); } xfer += iprot->readListEnd(); } @@ -18965,10 +18965,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 _iter1505; - for (_iter1505 = this->success.begin(); _iter1505 != this->success.end(); ++_iter1505) + std::vector ::const_iterator _iter1498; + for (_iter1498 = this->success.begin(); _iter1498 != this->success.end(); ++_iter1498) { - xfer += (*_iter1505).write(oprot); + xfer += (*_iter1498).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19017,14 +19017,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 _size1506; - ::apache::thrift::protocol::TType _etype1509; - xfer += iprot->readListBegin(_etype1509, _size1506); - (*(this->success)).resize(_size1506); - uint32_t _i1510; - for (_i1510 = 0; _i1510 < _size1506; ++_i1510) + uint32_t _size1499; + ::apache::thrift::protocol::TType _etype1502; + xfer += iprot->readListBegin(_etype1502, _size1499); + (*(this->success)).resize(_size1499); + uint32_t _i1503; + for (_i1503 = 0; _i1503 < _size1499; ++_i1503) { - xfer += (*(this->success))[_i1510].read(iprot); + xfer += (*(this->success))[_i1503].read(iprot); } xfer += iprot->readListEnd(); } @@ -19593,14 +19593,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1511; - ::apache::thrift::protocol::TType _etype1514; - xfer += iprot->readListBegin(_etype1514, _size1511); - this->names.resize(_size1511); - uint32_t _i1515; - for (_i1515 = 0; _i1515 < _size1511; ++_i1515) + uint32_t _size1504; + ::apache::thrift::protocol::TType _etype1507; + xfer += iprot->readListBegin(_etype1507, _size1504); + this->names.resize(_size1504); + uint32_t _i1508; + for (_i1508 = 0; _i1508 < _size1504; ++_i1508) { - xfer += iprot->readString(this->names[_i1515]); + xfer += iprot->readString(this->names[_i1508]); } xfer += iprot->readListEnd(); } @@ -19637,10 +19637,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 _iter1516; - for (_iter1516 = this->names.begin(); _iter1516 != this->names.end(); ++_iter1516) + std::vector ::const_iterator _iter1509; + for (_iter1509 = this->names.begin(); _iter1509 != this->names.end(); ++_iter1509) { - xfer += oprot->writeString((*_iter1516)); + xfer += oprot->writeString((*_iter1509)); } xfer += oprot->writeListEnd(); } @@ -19672,10 +19672,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 _iter1517; - for (_iter1517 = (*(this->names)).begin(); _iter1517 != (*(this->names)).end(); ++_iter1517) + std::vector ::const_iterator _iter1510; + for (_iter1510 = (*(this->names)).begin(); _iter1510 != (*(this->names)).end(); ++_iter1510) { - xfer += oprot->writeString((*_iter1517)); + xfer += oprot->writeString((*_iter1510)); } xfer += oprot->writeListEnd(); } @@ -19716,14 +19716,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1518; - ::apache::thrift::protocol::TType _etype1521; - xfer += iprot->readListBegin(_etype1521, _size1518); - this->success.resize(_size1518); - uint32_t _i1522; - for (_i1522 = 0; _i1522 < _size1518; ++_i1522) + uint32_t _size1511; + ::apache::thrift::protocol::TType _etype1514; + xfer += iprot->readListBegin(_etype1514, _size1511); + this->success.resize(_size1511); + uint32_t _i1515; + for (_i1515 = 0; _i1515 < _size1511; ++_i1515) { - xfer += this->success[_i1522].read(iprot); + xfer += this->success[_i1515].read(iprot); } xfer += iprot->readListEnd(); } @@ -19770,10 +19770,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 _iter1523; - for (_iter1523 = this->success.begin(); _iter1523 != this->success.end(); ++_iter1523) + std::vector ::const_iterator _iter1516; + for (_iter1516 = this->success.begin(); _iter1516 != this->success.end(); ++_iter1516) { - xfer += (*_iter1523).write(oprot); + xfer += (*_iter1516).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19822,14 +19822,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1524; - ::apache::thrift::protocol::TType _etype1527; - xfer += iprot->readListBegin(_etype1527, _size1524); - (*(this->success)).resize(_size1524); - uint32_t _i1528; - for (_i1528 = 0; _i1528 < _size1524; ++_i1528) + uint32_t _size1517; + ::apache::thrift::protocol::TType _etype1520; + xfer += iprot->readListBegin(_etype1520, _size1517); + (*(this->success)).resize(_size1517); + uint32_t _i1521; + for (_i1521 = 0; _i1521 < _size1517; ++_i1521) { - xfer += (*(this->success))[_i1528].read(iprot); + xfer += (*(this->success))[_i1521].read(iprot); } xfer += iprot->readListEnd(); } @@ -20151,14 +20151,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1529; - ::apache::thrift::protocol::TType _etype1532; - xfer += iprot->readListBegin(_etype1532, _size1529); - this->new_parts.resize(_size1529); - uint32_t _i1533; - for (_i1533 = 0; _i1533 < _size1529; ++_i1533) + uint32_t _size1522; + ::apache::thrift::protocol::TType _etype1525; + xfer += iprot->readListBegin(_etype1525, _size1522); + this->new_parts.resize(_size1522); + uint32_t _i1526; + for (_i1526 = 0; _i1526 < _size1522; ++_i1526) { - xfer += this->new_parts[_i1533].read(iprot); + xfer += this->new_parts[_i1526].read(iprot); } xfer += iprot->readListEnd(); } @@ -20195,10 +20195,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 _iter1534; - for (_iter1534 = this->new_parts.begin(); _iter1534 != this->new_parts.end(); ++_iter1534) + std::vector ::const_iterator _iter1527; + for (_iter1527 = this->new_parts.begin(); _iter1527 != this->new_parts.end(); ++_iter1527) { - xfer += (*_iter1534).write(oprot); + xfer += (*_iter1527).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20230,10 +20230,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 _iter1535; - for (_iter1535 = (*(this->new_parts)).begin(); _iter1535 != (*(this->new_parts)).end(); ++_iter1535) + std::vector ::const_iterator _iter1528; + for (_iter1528 = (*(this->new_parts)).begin(); _iter1528 != (*(this->new_parts)).end(); ++_iter1528) { - xfer += (*_iter1535).write(oprot); + xfer += (*_iter1528).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20418,14 +20418,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1536; - ::apache::thrift::protocol::TType _etype1539; - xfer += iprot->readListBegin(_etype1539, _size1536); - this->new_parts.resize(_size1536); - uint32_t _i1540; - for (_i1540 = 0; _i1540 < _size1536; ++_i1540) + uint32_t _size1529; + ::apache::thrift::protocol::TType _etype1532; + xfer += iprot->readListBegin(_etype1532, _size1529); + this->new_parts.resize(_size1529); + uint32_t _i1533; + for (_i1533 = 0; _i1533 < _size1529; ++_i1533) { - xfer += this->new_parts[_i1540].read(iprot); + xfer += this->new_parts[_i1533].read(iprot); } xfer += iprot->readListEnd(); } @@ -20470,10 +20470,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 _iter1541; - for (_iter1541 = this->new_parts.begin(); _iter1541 != this->new_parts.end(); ++_iter1541) + std::vector ::const_iterator _iter1534; + for (_iter1534 = this->new_parts.begin(); _iter1534 != this->new_parts.end(); ++_iter1534) { - xfer += (*_iter1541).write(oprot); + xfer += (*_iter1534).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20509,10 +20509,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 _iter1542; - for (_iter1542 = (*(this->new_parts)).begin(); _iter1542 != (*(this->new_parts)).end(); ++_iter1542) + std::vector ::const_iterator _iter1535; + for (_iter1535 = (*(this->new_parts)).begin(); _iter1535 != (*(this->new_parts)).end(); ++_iter1535) { - xfer += (*_iter1542).write(oprot); + xfer += (*_iter1535).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20956,14 +20956,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1543; - ::apache::thrift::protocol::TType _etype1546; - xfer += iprot->readListBegin(_etype1546, _size1543); - this->part_vals.resize(_size1543); - uint32_t _i1547; - for (_i1547 = 0; _i1547 < _size1543; ++_i1547) + uint32_t _size1536; + ::apache::thrift::protocol::TType _etype1539; + xfer += iprot->readListBegin(_etype1539, _size1536); + this->part_vals.resize(_size1536); + uint32_t _i1540; + for (_i1540 = 0; _i1540 < _size1536; ++_i1540) { - xfer += iprot->readString(this->part_vals[_i1547]); + xfer += iprot->readString(this->part_vals[_i1540]); } xfer += iprot->readListEnd(); } @@ -21008,10 +21008,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 _iter1548; - for (_iter1548 = this->part_vals.begin(); _iter1548 != this->part_vals.end(); ++_iter1548) + std::vector ::const_iterator _iter1541; + for (_iter1541 = this->part_vals.begin(); _iter1541 != this->part_vals.end(); ++_iter1541) { - xfer += oprot->writeString((*_iter1548)); + xfer += oprot->writeString((*_iter1541)); } xfer += oprot->writeListEnd(); } @@ -21047,10 +21047,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 _iter1549; - for (_iter1549 = (*(this->part_vals)).begin(); _iter1549 != (*(this->part_vals)).end(); ++_iter1549) + std::vector ::const_iterator _iter1542; + for (_iter1542 = (*(this->part_vals)).begin(); _iter1542 != (*(this->part_vals)).end(); ++_iter1542) { - xfer += oprot->writeString((*_iter1549)); + xfer += oprot->writeString((*_iter1542)); } xfer += oprot->writeListEnd(); } @@ -21223,14 +21223,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 _size1550; - ::apache::thrift::protocol::TType _etype1553; - xfer += iprot->readListBegin(_etype1553, _size1550); - this->part_vals.resize(_size1550); - uint32_t _i1554; - for (_i1554 = 0; _i1554 < _size1550; ++_i1554) + uint32_t _size1543; + ::apache::thrift::protocol::TType _etype1546; + xfer += iprot->readListBegin(_etype1546, _size1543); + this->part_vals.resize(_size1543); + uint32_t _i1547; + for (_i1547 = 0; _i1547 < _size1543; ++_i1547) { - xfer += iprot->readString(this->part_vals[_i1554]); + xfer += iprot->readString(this->part_vals[_i1547]); } xfer += iprot->readListEnd(); } @@ -21267,10 +21267,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 _iter1555; - for (_iter1555 = this->part_vals.begin(); _iter1555 != this->part_vals.end(); ++_iter1555) + std::vector ::const_iterator _iter1548; + for (_iter1548 = this->part_vals.begin(); _iter1548 != this->part_vals.end(); ++_iter1548) { - xfer += oprot->writeString((*_iter1555)); + xfer += oprot->writeString((*_iter1548)); } xfer += oprot->writeListEnd(); } @@ -21298,10 +21298,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 _iter1556; - for (_iter1556 = (*(this->part_vals)).begin(); _iter1556 != (*(this->part_vals)).end(); ++_iter1556) + std::vector ::const_iterator _iter1549; + for (_iter1549 = (*(this->part_vals)).begin(); _iter1549 != (*(this->part_vals)).end(); ++_iter1549) { - xfer += oprot->writeString((*_iter1556)); + xfer += oprot->writeString((*_iter1549)); } xfer += oprot->writeListEnd(); } @@ -21776,14 +21776,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1557; - ::apache::thrift::protocol::TType _etype1560; - xfer += iprot->readListBegin(_etype1560, _size1557); - this->success.resize(_size1557); - uint32_t _i1561; - for (_i1561 = 0; _i1561 < _size1557; ++_i1561) + uint32_t _size1550; + ::apache::thrift::protocol::TType _etype1553; + xfer += iprot->readListBegin(_etype1553, _size1550); + this->success.resize(_size1550); + uint32_t _i1554; + for (_i1554 = 0; _i1554 < _size1550; ++_i1554) { - xfer += iprot->readString(this->success[_i1561]); + xfer += iprot->readString(this->success[_i1554]); } xfer += iprot->readListEnd(); } @@ -21822,10 +21822,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 _iter1562; - for (_iter1562 = this->success.begin(); _iter1562 != this->success.end(); ++_iter1562) + std::vector ::const_iterator _iter1555; + for (_iter1555 = this->success.begin(); _iter1555 != this->success.end(); ++_iter1555) { - xfer += oprot->writeString((*_iter1562)); + xfer += oprot->writeString((*_iter1555)); } xfer += oprot->writeListEnd(); } @@ -21870,14 +21870,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1563; - ::apache::thrift::protocol::TType _etype1566; - xfer += iprot->readListBegin(_etype1566, _size1563); - (*(this->success)).resize(_size1563); - uint32_t _i1567; - for (_i1567 = 0; _i1567 < _size1563; ++_i1567) + uint32_t _size1556; + ::apache::thrift::protocol::TType _etype1559; + xfer += iprot->readListBegin(_etype1559, _size1556); + (*(this->success)).resize(_size1556); + uint32_t _i1560; + for (_i1560 = 0; _i1560 < _size1556; ++_i1560) { - xfer += iprot->readString((*(this->success))[_i1567]); + xfer += iprot->readString((*(this->success))[_i1560]); } xfer += iprot->readListEnd(); } @@ -22015,17 +22015,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1568; - ::apache::thrift::protocol::TType _ktype1569; - ::apache::thrift::protocol::TType _vtype1570; - xfer += iprot->readMapBegin(_ktype1569, _vtype1570, _size1568); - uint32_t _i1572; - for (_i1572 = 0; _i1572 < _size1568; ++_i1572) + uint32_t _size1561; + ::apache::thrift::protocol::TType _ktype1562; + ::apache::thrift::protocol::TType _vtype1563; + xfer += iprot->readMapBegin(_ktype1562, _vtype1563, _size1561); + uint32_t _i1565; + for (_i1565 = 0; _i1565 < _size1561; ++_i1565) { - std::string _key1573; - xfer += iprot->readString(_key1573); - std::string& _val1574 = this->success[_key1573]; - xfer += iprot->readString(_val1574); + std::string _key1566; + xfer += iprot->readString(_key1566); + std::string& _val1567 = this->success[_key1566]; + xfer += iprot->readString(_val1567); } xfer += iprot->readMapEnd(); } @@ -22064,11 +22064,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 _iter1575; - for (_iter1575 = this->success.begin(); _iter1575 != this->success.end(); ++_iter1575) + std::map ::const_iterator _iter1568; + for (_iter1568 = this->success.begin(); _iter1568 != this->success.end(); ++_iter1568) { - xfer += oprot->writeString(_iter1575->first); - xfer += oprot->writeString(_iter1575->second); + xfer += oprot->writeString(_iter1568->first); + xfer += oprot->writeString(_iter1568->second); } xfer += oprot->writeMapEnd(); } @@ -22113,17 +22113,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1576; - ::apache::thrift::protocol::TType _ktype1577; - ::apache::thrift::protocol::TType _vtype1578; - xfer += iprot->readMapBegin(_ktype1577, _vtype1578, _size1576); - uint32_t _i1580; - for (_i1580 = 0; _i1580 < _size1576; ++_i1580) + uint32_t _size1569; + ::apache::thrift::protocol::TType _ktype1570; + ::apache::thrift::protocol::TType _vtype1571; + xfer += iprot->readMapBegin(_ktype1570, _vtype1571, _size1569); + uint32_t _i1573; + for (_i1573 = 0; _i1573 < _size1569; ++_i1573) { - std::string _key1581; - xfer += iprot->readString(_key1581); - std::string& _val1582 = (*(this->success))[_key1581]; - xfer += iprot->readString(_val1582); + std::string _key1574; + xfer += iprot->readString(_key1574); + std::string& _val1575 = (*(this->success))[_key1574]; + xfer += iprot->readString(_val1575); } xfer += iprot->readMapEnd(); } @@ -22198,17 +22198,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1583; - ::apache::thrift::protocol::TType _ktype1584; - ::apache::thrift::protocol::TType _vtype1585; - xfer += iprot->readMapBegin(_ktype1584, _vtype1585, _size1583); - uint32_t _i1587; - for (_i1587 = 0; _i1587 < _size1583; ++_i1587) + uint32_t _size1576; + ::apache::thrift::protocol::TType _ktype1577; + ::apache::thrift::protocol::TType _vtype1578; + xfer += iprot->readMapBegin(_ktype1577, _vtype1578, _size1576); + uint32_t _i1580; + for (_i1580 = 0; _i1580 < _size1576; ++_i1580) { - std::string _key1588; - xfer += iprot->readString(_key1588); - std::string& _val1589 = this->part_vals[_key1588]; - xfer += iprot->readString(_val1589); + std::string _key1581; + xfer += iprot->readString(_key1581); + std::string& _val1582 = this->part_vals[_key1581]; + xfer += iprot->readString(_val1582); } xfer += iprot->readMapEnd(); } @@ -22219,9 +22219,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1590; - xfer += iprot->readI32(ecast1590); - this->eventType = (PartitionEventType::type)ecast1590; + int32_t ecast1583; + xfer += iprot->readI32(ecast1583); + this->eventType = (PartitionEventType::type)ecast1583; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -22255,11 +22255,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 _iter1591; - for (_iter1591 = this->part_vals.begin(); _iter1591 != this->part_vals.end(); ++_iter1591) + std::map ::const_iterator _iter1584; + for (_iter1584 = this->part_vals.begin(); _iter1584 != this->part_vals.end(); ++_iter1584) { - xfer += oprot->writeString(_iter1591->first); - xfer += oprot->writeString(_iter1591->second); + xfer += oprot->writeString(_iter1584->first); + xfer += oprot->writeString(_iter1584->second); } xfer += oprot->writeMapEnd(); } @@ -22295,11 +22295,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 _iter1592; - for (_iter1592 = (*(this->part_vals)).begin(); _iter1592 != (*(this->part_vals)).end(); ++_iter1592) + std::map ::const_iterator _iter1585; + for (_iter1585 = (*(this->part_vals)).begin(); _iter1585 != (*(this->part_vals)).end(); ++_iter1585) { - xfer += oprot->writeString(_iter1592->first); - xfer += oprot->writeString(_iter1592->second); + xfer += oprot->writeString(_iter1585->first); + xfer += oprot->writeString(_iter1585->second); } xfer += oprot->writeMapEnd(); } @@ -22568,17 +22568,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1593; - ::apache::thrift::protocol::TType _ktype1594; - ::apache::thrift::protocol::TType _vtype1595; - xfer += iprot->readMapBegin(_ktype1594, _vtype1595, _size1593); - uint32_t _i1597; - for (_i1597 = 0; _i1597 < _size1593; ++_i1597) + uint32_t _size1586; + ::apache::thrift::protocol::TType _ktype1587; + ::apache::thrift::protocol::TType _vtype1588; + xfer += iprot->readMapBegin(_ktype1587, _vtype1588, _size1586); + uint32_t _i1590; + for (_i1590 = 0; _i1590 < _size1586; ++_i1590) { - std::string _key1598; - xfer += iprot->readString(_key1598); - std::string& _val1599 = this->part_vals[_key1598]; - xfer += iprot->readString(_val1599); + std::string _key1591; + xfer += iprot->readString(_key1591); + std::string& _val1592 = this->part_vals[_key1591]; + xfer += iprot->readString(_val1592); } xfer += iprot->readMapEnd(); } @@ -22589,9 +22589,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1600; - xfer += iprot->readI32(ecast1600); - this->eventType = (PartitionEventType::type)ecast1600; + int32_t ecast1593; + xfer += iprot->readI32(ecast1593); + this->eventType = (PartitionEventType::type)ecast1593; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -22625,11 +22625,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 _iter1601; - for (_iter1601 = this->part_vals.begin(); _iter1601 != this->part_vals.end(); ++_iter1601) + std::map ::const_iterator _iter1594; + for (_iter1594 = this->part_vals.begin(); _iter1594 != this->part_vals.end(); ++_iter1594) { - xfer += oprot->writeString(_iter1601->first); - xfer += oprot->writeString(_iter1601->second); + xfer += oprot->writeString(_iter1594->first); + xfer += oprot->writeString(_iter1594->second); } xfer += oprot->writeMapEnd(); } @@ -22665,11 +22665,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 _iter1602; - for (_iter1602 = (*(this->part_vals)).begin(); _iter1602 != (*(this->part_vals)).end(); ++_iter1602) + std::map ::const_iterator _iter1595; + for (_iter1595 = (*(this->part_vals)).begin(); _iter1595 != (*(this->part_vals)).end(); ++_iter1595) { - xfer += oprot->writeString(_iter1602->first); - xfer += oprot->writeString(_iter1602->second); + xfer += oprot->writeString(_iter1595->first); + xfer += oprot->writeString(_iter1595->second); } xfer += oprot->writeMapEnd(); } @@ -24105,14 +24105,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1603; - ::apache::thrift::protocol::TType _etype1606; - xfer += iprot->readListBegin(_etype1606, _size1603); - this->success.resize(_size1603); - uint32_t _i1607; - for (_i1607 = 0; _i1607 < _size1603; ++_i1607) + uint32_t _size1596; + ::apache::thrift::protocol::TType _etype1599; + xfer += iprot->readListBegin(_etype1599, _size1596); + this->success.resize(_size1596); + uint32_t _i1600; + for (_i1600 = 0; _i1600 < _size1596; ++_i1600) { - xfer += this->success[_i1607].read(iprot); + xfer += this->success[_i1600].read(iprot); } xfer += iprot->readListEnd(); } @@ -24159,10 +24159,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 _iter1608; - for (_iter1608 = this->success.begin(); _iter1608 != this->success.end(); ++_iter1608) + std::vector ::const_iterator _iter1601; + for (_iter1601 = this->success.begin(); _iter1601 != this->success.end(); ++_iter1601) { - xfer += (*_iter1608).write(oprot); + xfer += (*_iter1601).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24211,14 +24211,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1609; - ::apache::thrift::protocol::TType _etype1612; - xfer += iprot->readListBegin(_etype1612, _size1609); - (*(this->success)).resize(_size1609); - uint32_t _i1613; - for (_i1613 = 0; _i1613 < _size1609; ++_i1613) + uint32_t _size1602; + ::apache::thrift::protocol::TType _etype1605; + xfer += iprot->readListBegin(_etype1605, _size1602); + (*(this->success)).resize(_size1602); + uint32_t _i1606; + for (_i1606 = 0; _i1606 < _size1602; ++_i1606) { - xfer += (*(this->success))[_i1613].read(iprot); + xfer += (*(this->success))[_i1606].read(iprot); } xfer += iprot->readListEnd(); } @@ -24396,14 +24396,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1614; - ::apache::thrift::protocol::TType _etype1617; - xfer += iprot->readListBegin(_etype1617, _size1614); - this->success.resize(_size1614); - uint32_t _i1618; - for (_i1618 = 0; _i1618 < _size1614; ++_i1618) + uint32_t _size1607; + ::apache::thrift::protocol::TType _etype1610; + xfer += iprot->readListBegin(_etype1610, _size1607); + this->success.resize(_size1607); + uint32_t _i1611; + for (_i1611 = 0; _i1611 < _size1607; ++_i1611) { - xfer += iprot->readString(this->success[_i1618]); + xfer += iprot->readString(this->success[_i1611]); } xfer += iprot->readListEnd(); } @@ -24442,10 +24442,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 _iter1619; - for (_iter1619 = this->success.begin(); _iter1619 != this->success.end(); ++_iter1619) + std::vector ::const_iterator _iter1612; + for (_iter1612 = this->success.begin(); _iter1612 != this->success.end(); ++_iter1612) { - xfer += oprot->writeString((*_iter1619)); + xfer += oprot->writeString((*_iter1612)); } xfer += oprot->writeListEnd(); } @@ -24490,14 +24490,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1620; - ::apache::thrift::protocol::TType _etype1623; - xfer += iprot->readListBegin(_etype1623, _size1620); - (*(this->success)).resize(_size1620); - uint32_t _i1624; - for (_i1624 = 0; _i1624 < _size1620; ++_i1624) + uint32_t _size1613; + ::apache::thrift::protocol::TType _etype1616; + xfer += iprot->readListBegin(_etype1616, _size1613); + (*(this->success)).resize(_size1613); + uint32_t _i1617; + for (_i1617 = 0; _i1617 < _size1613; ++_i1617) { - xfer += iprot->readString((*(this->success))[_i1624]); + xfer += iprot->readString((*(this->success))[_i1617]); } xfer += iprot->readListEnd(); } @@ -28978,14 +28978,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1625; - ::apache::thrift::protocol::TType _etype1628; - xfer += iprot->readListBegin(_etype1628, _size1625); - this->success.resize(_size1625); - uint32_t _i1629; - for (_i1629 = 0; _i1629 < _size1625; ++_i1629) + uint32_t _size1618; + ::apache::thrift::protocol::TType _etype1621; + xfer += iprot->readListBegin(_etype1621, _size1618); + this->success.resize(_size1618); + uint32_t _i1622; + for (_i1622 = 0; _i1622 < _size1618; ++_i1622) { - xfer += iprot->readString(this->success[_i1629]); + xfer += iprot->readString(this->success[_i1622]); } xfer += iprot->readListEnd(); } @@ -29024,10 +29024,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 _iter1630; - for (_iter1630 = this->success.begin(); _iter1630 != this->success.end(); ++_iter1630) + std::vector ::const_iterator _iter1623; + for (_iter1623 = this->success.begin(); _iter1623 != this->success.end(); ++_iter1623) { - xfer += oprot->writeString((*_iter1630)); + xfer += oprot->writeString((*_iter1623)); } xfer += oprot->writeListEnd(); } @@ -29072,14 +29072,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1631; - ::apache::thrift::protocol::TType _etype1634; - xfer += iprot->readListBegin(_etype1634, _size1631); - (*(this->success)).resize(_size1631); - uint32_t _i1635; - for (_i1635 = 0; _i1635 < _size1631; ++_i1635) + uint32_t _size1624; + ::apache::thrift::protocol::TType _etype1627; + xfer += iprot->readListBegin(_etype1627, _size1624); + (*(this->success)).resize(_size1624); + uint32_t _i1628; + for (_i1628 = 0; _i1628 < _size1624; ++_i1628) { - xfer += iprot->readString((*(this->success))[_i1635]); + xfer += iprot->readString((*(this->success))[_i1628]); } xfer += iprot->readListEnd(); } @@ -30039,14 +30039,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1636; - ::apache::thrift::protocol::TType _etype1639; - xfer += iprot->readListBegin(_etype1639, _size1636); - this->success.resize(_size1636); - uint32_t _i1640; - for (_i1640 = 0; _i1640 < _size1636; ++_i1640) + uint32_t _size1629; + ::apache::thrift::protocol::TType _etype1632; + xfer += iprot->readListBegin(_etype1632, _size1629); + this->success.resize(_size1629); + uint32_t _i1633; + for (_i1633 = 0; _i1633 < _size1629; ++_i1633) { - xfer += iprot->readString(this->success[_i1640]); + xfer += iprot->readString(this->success[_i1633]); } xfer += iprot->readListEnd(); } @@ -30085,10 +30085,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 _iter1641; - for (_iter1641 = this->success.begin(); _iter1641 != this->success.end(); ++_iter1641) + std::vector ::const_iterator _iter1634; + for (_iter1634 = this->success.begin(); _iter1634 != this->success.end(); ++_iter1634) { - xfer += oprot->writeString((*_iter1641)); + xfer += oprot->writeString((*_iter1634)); } xfer += oprot->writeListEnd(); } @@ -30133,14 +30133,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1642; - ::apache::thrift::protocol::TType _etype1645; - xfer += iprot->readListBegin(_etype1645, _size1642); - (*(this->success)).resize(_size1642); - uint32_t _i1646; - for (_i1646 = 0; _i1646 < _size1642; ++_i1646) + uint32_t _size1635; + ::apache::thrift::protocol::TType _etype1638; + xfer += iprot->readListBegin(_etype1638, _size1635); + (*(this->success)).resize(_size1635); + uint32_t _i1639; + for (_i1639 = 0; _i1639 < _size1635; ++_i1639) { - xfer += iprot->readString((*(this->success))[_i1646]); + xfer += iprot->readString((*(this->success))[_i1639]); } xfer += iprot->readListEnd(); } @@ -30213,9 +30213,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1647; - xfer += iprot->readI32(ecast1647); - this->principal_type = (PrincipalType::type)ecast1647; + int32_t ecast1640; + xfer += iprot->readI32(ecast1640); + this->principal_type = (PrincipalType::type)ecast1640; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -30231,9 +30231,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1648; - xfer += iprot->readI32(ecast1648); - this->grantorType = (PrincipalType::type)ecast1648; + int32_t ecast1641; + xfer += iprot->readI32(ecast1641); + this->grantorType = (PrincipalType::type)ecast1641; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -30504,9 +30504,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1649; - xfer += iprot->readI32(ecast1649); - this->principal_type = (PrincipalType::type)ecast1649; + int32_t ecast1642; + xfer += iprot->readI32(ecast1642); + this->principal_type = (PrincipalType::type)ecast1642; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -30737,9 +30737,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1650; - xfer += iprot->readI32(ecast1650); - this->principal_type = (PrincipalType::type)ecast1650; + int32_t ecast1643; + xfer += iprot->readI32(ecast1643); + this->principal_type = (PrincipalType::type)ecast1643; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -30828,14 +30828,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1651; - ::apache::thrift::protocol::TType _etype1654; - xfer += iprot->readListBegin(_etype1654, _size1651); - this->success.resize(_size1651); - uint32_t _i1655; - for (_i1655 = 0; _i1655 < _size1651; ++_i1655) + uint32_t _size1644; + ::apache::thrift::protocol::TType _etype1647; + xfer += iprot->readListBegin(_etype1647, _size1644); + this->success.resize(_size1644); + uint32_t _i1648; + for (_i1648 = 0; _i1648 < _size1644; ++_i1648) { - xfer += this->success[_i1655].read(iprot); + xfer += this->success[_i1648].read(iprot); } xfer += iprot->readListEnd(); } @@ -30874,10 +30874,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 _iter1656; - for (_iter1656 = this->success.begin(); _iter1656 != this->success.end(); ++_iter1656) + std::vector ::const_iterator _iter1649; + for (_iter1649 = this->success.begin(); _iter1649 != this->success.end(); ++_iter1649) { - xfer += (*_iter1656).write(oprot); + xfer += (*_iter1649).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30922,14 +30922,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1657; - ::apache::thrift::protocol::TType _etype1660; - xfer += iprot->readListBegin(_etype1660, _size1657); - (*(this->success)).resize(_size1657); - uint32_t _i1661; - for (_i1661 = 0; _i1661 < _size1657; ++_i1661) + uint32_t _size1650; + ::apache::thrift::protocol::TType _etype1653; + xfer += iprot->readListBegin(_etype1653, _size1650); + (*(this->success)).resize(_size1650); + uint32_t _i1654; + for (_i1654 = 0; _i1654 < _size1650; ++_i1654) { - xfer += (*(this->success))[_i1661].read(iprot); + xfer += (*(this->success))[_i1654].read(iprot); } xfer += iprot->readListEnd(); } @@ -31625,14 +31625,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 _size1662; - ::apache::thrift::protocol::TType _etype1665; - xfer += iprot->readListBegin(_etype1665, _size1662); - this->group_names.resize(_size1662); - uint32_t _i1666; - for (_i1666 = 0; _i1666 < _size1662; ++_i1666) + uint32_t _size1655; + ::apache::thrift::protocol::TType _etype1658; + xfer += iprot->readListBegin(_etype1658, _size1655); + this->group_names.resize(_size1655); + uint32_t _i1659; + for (_i1659 = 0; _i1659 < _size1655; ++_i1659) { - xfer += iprot->readString(this->group_names[_i1666]); + xfer += iprot->readString(this->group_names[_i1659]); } xfer += iprot->readListEnd(); } @@ -31669,10 +31669,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 _iter1667; - for (_iter1667 = this->group_names.begin(); _iter1667 != this->group_names.end(); ++_iter1667) + std::vector ::const_iterator _iter1660; + for (_iter1660 = this->group_names.begin(); _iter1660 != this->group_names.end(); ++_iter1660) { - xfer += oprot->writeString((*_iter1667)); + xfer += oprot->writeString((*_iter1660)); } xfer += oprot->writeListEnd(); } @@ -31704,10 +31704,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 _iter1668; - for (_iter1668 = (*(this->group_names)).begin(); _iter1668 != (*(this->group_names)).end(); ++_iter1668) + std::vector ::const_iterator _iter1661; + for (_iter1661 = (*(this->group_names)).begin(); _iter1661 != (*(this->group_names)).end(); ++_iter1661) { - xfer += oprot->writeString((*_iter1668)); + xfer += oprot->writeString((*_iter1661)); } xfer += oprot->writeListEnd(); } @@ -31882,9 +31882,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1669; - xfer += iprot->readI32(ecast1669); - this->principal_type = (PrincipalType::type)ecast1669; + int32_t ecast1662; + xfer += iprot->readI32(ecast1662); + this->principal_type = (PrincipalType::type)ecast1662; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31989,14 +31989,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1670; - ::apache::thrift::protocol::TType _etype1673; - xfer += iprot->readListBegin(_etype1673, _size1670); - this->success.resize(_size1670); - uint32_t _i1674; - for (_i1674 = 0; _i1674 < _size1670; ++_i1674) + uint32_t _size1663; + ::apache::thrift::protocol::TType _etype1666; + xfer += iprot->readListBegin(_etype1666, _size1663); + this->success.resize(_size1663); + uint32_t _i1667; + for (_i1667 = 0; _i1667 < _size1663; ++_i1667) { - xfer += this->success[_i1674].read(iprot); + xfer += this->success[_i1667].read(iprot); } xfer += iprot->readListEnd(); } @@ -32035,10 +32035,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 _iter1675; - for (_iter1675 = this->success.begin(); _iter1675 != this->success.end(); ++_iter1675) + std::vector ::const_iterator _iter1668; + for (_iter1668 = this->success.begin(); _iter1668 != this->success.end(); ++_iter1668) { - xfer += (*_iter1675).write(oprot); + xfer += (*_iter1668).write(oprot); } xfer += oprot->writeListEnd(); } @@ -32083,14 +32083,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1676; - ::apache::thrift::protocol::TType _etype1679; - xfer += iprot->readListBegin(_etype1679, _size1676); - (*(this->success)).resize(_size1676); - uint32_t _i1680; - for (_i1680 = 0; _i1680 < _size1676; ++_i1680) + uint32_t _size1669; + ::apache::thrift::protocol::TType _etype1672; + xfer += iprot->readListBegin(_etype1672, _size1669); + (*(this->success)).resize(_size1669); + uint32_t _i1673; + for (_i1673 = 0; _i1673 < _size1669; ++_i1673) { - xfer += (*(this->success))[_i1680].read(iprot); + xfer += (*(this->success))[_i1673].read(iprot); } xfer += iprot->readListEnd(); } @@ -32778,14 +32778,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 _size1681; - ::apache::thrift::protocol::TType _etype1684; - xfer += iprot->readListBegin(_etype1684, _size1681); - this->group_names.resize(_size1681); - uint32_t _i1685; - for (_i1685 = 0; _i1685 < _size1681; ++_i1685) + uint32_t _size1674; + ::apache::thrift::protocol::TType _etype1677; + xfer += iprot->readListBegin(_etype1677, _size1674); + this->group_names.resize(_size1674); + uint32_t _i1678; + for (_i1678 = 0; _i1678 < _size1674; ++_i1678) { - xfer += iprot->readString(this->group_names[_i1685]); + xfer += iprot->readString(this->group_names[_i1678]); } xfer += iprot->readListEnd(); } @@ -32818,10 +32818,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 _iter1686; - for (_iter1686 = this->group_names.begin(); _iter1686 != this->group_names.end(); ++_iter1686) + std::vector ::const_iterator _iter1679; + for (_iter1679 = this->group_names.begin(); _iter1679 != this->group_names.end(); ++_iter1679) { - xfer += oprot->writeString((*_iter1686)); + xfer += oprot->writeString((*_iter1679)); } xfer += oprot->writeListEnd(); } @@ -32849,10 +32849,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 _iter1687; - for (_iter1687 = (*(this->group_names)).begin(); _iter1687 != (*(this->group_names)).end(); ++_iter1687) + std::vector ::const_iterator _iter1680; + for (_iter1680 = (*(this->group_names)).begin(); _iter1680 != (*(this->group_names)).end(); ++_iter1680) { - xfer += oprot->writeString((*_iter1687)); + xfer += oprot->writeString((*_iter1680)); } xfer += oprot->writeListEnd(); } @@ -32893,14 +32893,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1688; - ::apache::thrift::protocol::TType _etype1691; - xfer += iprot->readListBegin(_etype1691, _size1688); - this->success.resize(_size1688); - uint32_t _i1692; - for (_i1692 = 0; _i1692 < _size1688; ++_i1692) + uint32_t _size1681; + ::apache::thrift::protocol::TType _etype1684; + xfer += iprot->readListBegin(_etype1684, _size1681); + this->success.resize(_size1681); + uint32_t _i1685; + for (_i1685 = 0; _i1685 < _size1681; ++_i1685) { - xfer += iprot->readString(this->success[_i1692]); + xfer += iprot->readString(this->success[_i1685]); } xfer += iprot->readListEnd(); } @@ -32939,10 +32939,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 _iter1693; - for (_iter1693 = this->success.begin(); _iter1693 != this->success.end(); ++_iter1693) + std::vector ::const_iterator _iter1686; + for (_iter1686 = this->success.begin(); _iter1686 != this->success.end(); ++_iter1686) { - xfer += oprot->writeString((*_iter1693)); + xfer += oprot->writeString((*_iter1686)); } xfer += oprot->writeListEnd(); } @@ -32987,14 +32987,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1694; - ::apache::thrift::protocol::TType _etype1697; - xfer += iprot->readListBegin(_etype1697, _size1694); - (*(this->success)).resize(_size1694); - uint32_t _i1698; - for (_i1698 = 0; _i1698 < _size1694; ++_i1698) + uint32_t _size1687; + ::apache::thrift::protocol::TType _etype1690; + xfer += iprot->readListBegin(_etype1690, _size1687); + (*(this->success)).resize(_size1687); + uint32_t _i1691; + for (_i1691 = 0; _i1691 < _size1687; ++_i1691) { - xfer += iprot->readString((*(this->success))[_i1698]); + xfer += iprot->readString((*(this->success))[_i1691]); } xfer += iprot->readListEnd(); } @@ -34305,14 +34305,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1699; - ::apache::thrift::protocol::TType _etype1702; - xfer += iprot->readListBegin(_etype1702, _size1699); - this->success.resize(_size1699); - uint32_t _i1703; - for (_i1703 = 0; _i1703 < _size1699; ++_i1703) + uint32_t _size1692; + ::apache::thrift::protocol::TType _etype1695; + xfer += iprot->readListBegin(_etype1695, _size1692); + this->success.resize(_size1692); + uint32_t _i1696; + for (_i1696 = 0; _i1696 < _size1692; ++_i1696) { - xfer += iprot->readString(this->success[_i1703]); + xfer += iprot->readString(this->success[_i1696]); } xfer += iprot->readListEnd(); } @@ -34343,10 +34343,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 _iter1704; - for (_iter1704 = this->success.begin(); _iter1704 != this->success.end(); ++_iter1704) + std::vector ::const_iterator _iter1697; + for (_iter1697 = this->success.begin(); _iter1697 != this->success.end(); ++_iter1697) { - xfer += oprot->writeString((*_iter1704)); + xfer += oprot->writeString((*_iter1697)); } xfer += oprot->writeListEnd(); } @@ -34387,14 +34387,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1705; - ::apache::thrift::protocol::TType _etype1708; - xfer += iprot->readListBegin(_etype1708, _size1705); - (*(this->success)).resize(_size1705); - uint32_t _i1709; - for (_i1709 = 0; _i1709 < _size1705; ++_i1709) + uint32_t _size1698; + ::apache::thrift::protocol::TType _etype1701; + xfer += iprot->readListBegin(_etype1701, _size1698); + (*(this->success)).resize(_size1698); + uint32_t _i1702; + for (_i1702 = 0; _i1702 < _size1698; ++_i1702) { - xfer += iprot->readString((*(this->success))[_i1709]); + xfer += iprot->readString((*(this->success))[_i1702]); } xfer += iprot->readListEnd(); } @@ -35120,14 +35120,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1710; - ::apache::thrift::protocol::TType _etype1713; - xfer += iprot->readListBegin(_etype1713, _size1710); - this->success.resize(_size1710); - uint32_t _i1714; - for (_i1714 = 0; _i1714 < _size1710; ++_i1714) + uint32_t _size1703; + ::apache::thrift::protocol::TType _etype1706; + xfer += iprot->readListBegin(_etype1706, _size1703); + this->success.resize(_size1703); + uint32_t _i1707; + for (_i1707 = 0; _i1707 < _size1703; ++_i1707) { - xfer += iprot->readString(this->success[_i1714]); + xfer += iprot->readString(this->success[_i1707]); } xfer += iprot->readListEnd(); } @@ -35158,10 +35158,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 _iter1715; - for (_iter1715 = this->success.begin(); _iter1715 != this->success.end(); ++_iter1715) + std::vector ::const_iterator _iter1708; + for (_iter1708 = this->success.begin(); _iter1708 != this->success.end(); ++_iter1708) { - xfer += oprot->writeString((*_iter1715)); + xfer += oprot->writeString((*_iter1708)); } xfer += oprot->writeListEnd(); } @@ -35202,14 +35202,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1716; - ::apache::thrift::protocol::TType _etype1719; - xfer += iprot->readListBegin(_etype1719, _size1716); - (*(this->success)).resize(_size1716); - uint32_t _i1720; - for (_i1720 = 0; _i1720 < _size1716; ++_i1720) + uint32_t _size1709; + ::apache::thrift::protocol::TType _etype1712; + xfer += iprot->readListBegin(_etype1712, _size1709); + (*(this->success)).resize(_size1709); + uint32_t _i1713; + for (_i1713 = 0; _i1713 < _size1709; ++_i1713) { - xfer += iprot->readString((*(this->success))[_i1720]); + xfer += iprot->readString((*(this->success))[_i1713]); } xfer += iprot->readListEnd(); } @@ -38350,11 +38350,11 @@ uint32_t ThriftHiveMetastore_add_dynamic_partitions_presult::read(::apache::thri } -ThriftHiveMetastore_get_last_completed_transaction_for_tables_args::~ThriftHiveMetastore_get_last_completed_transaction_for_tables_args() throw() { +ThriftHiveMetastore_get_next_notification_args::~ThriftHiveMetastore_get_next_notification_args() throw() { } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_next_notification_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -38376,49 +38376,9 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_args::rea switch (fid) { case 1: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->db_names.clear(); - uint32_t _size1721; - ::apache::thrift::protocol::TType _etype1724; - xfer += iprot->readListBegin(_etype1724, _size1721); - this->db_names.resize(_size1721); - uint32_t _i1725; - for (_i1725 = 0; _i1725 < _size1721; ++_i1725) - { - xfer += iprot->readString(this->db_names[_i1725]); - } - xfer += iprot->readListEnd(); - } - this->__isset.db_names = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->table_names.clear(); - uint32_t _size1726; - ::apache::thrift::protocol::TType _etype1729; - xfer += iprot->readListBegin(_etype1729, _size1726); - this->table_names.resize(_size1726); - uint32_t _i1730; - for (_i1730 = 0; _i1730 < _size1726; ++_i1730) - { - xfer += iprot->readString(this->table_names[_i1730]); - } - xfer += iprot->readListEnd(); - } - this->__isset.table_names = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->txns_snapshot.read(iprot); - this->__isset.txns_snapshot = true; + xfer += this->rqst.read(iprot); + this->__isset.rqst = true; } else { xfer += iprot->skip(ftype); } @@ -38435,37 +38395,13 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_args::rea return xfer; } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_next_notification_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_last_completed_transaction_for_tables_args"); - - xfer += oprot->writeFieldBegin("db_names", ::apache::thrift::protocol::T_LIST, 1); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->db_names.size())); - std::vector ::const_iterator _iter1731; - for (_iter1731 = this->db_names.begin(); _iter1731 != this->db_names.end(); ++_iter1731) - { - xfer += oprot->writeString((*_iter1731)); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("table_names", ::apache::thrift::protocol::T_LIST, 2); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->table_names.size())); - std::vector ::const_iterator _iter1732; - for (_iter1732 = this->table_names.begin(); _iter1732 != this->table_names.end(); ++_iter1732) - { - xfer += oprot->writeString((*_iter1732)); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_next_notification_args"); - xfer += oprot->writeFieldBegin("txns_snapshot", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->txns_snapshot.write(oprot); + xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += this->rqst.write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -38474,41 +38410,17 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_args::wri } -ThriftHiveMetastore_get_last_completed_transaction_for_tables_pargs::~ThriftHiveMetastore_get_last_completed_transaction_for_tables_pargs() throw() { +ThriftHiveMetastore_get_next_notification_pargs::~ThriftHiveMetastore_get_next_notification_pargs() throw() { } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_next_notification_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_last_completed_transaction_for_tables_pargs"); - - xfer += oprot->writeFieldBegin("db_names", ::apache::thrift::protocol::T_LIST, 1); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->db_names)).size())); - std::vector ::const_iterator _iter1733; - for (_iter1733 = (*(this->db_names)).begin(); _iter1733 != (*(this->db_names)).end(); ++_iter1733) - { - xfer += oprot->writeString((*_iter1733)); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("table_names", ::apache::thrift::protocol::T_LIST, 2); - { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast((*(this->table_names)).size())); - std::vector ::const_iterator _iter1734; - for (_iter1734 = (*(this->table_names)).begin(); _iter1734 != (*(this->table_names)).end(); ++_iter1734) - { - xfer += oprot->writeString((*_iter1734)); - } - xfer += oprot->writeListEnd(); - } - xfer += oprot->writeFieldEnd(); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_next_notification_pargs"); - xfer += oprot->writeFieldBegin("txns_snapshot", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += (*(this->txns_snapshot)).write(oprot); + xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); + xfer += (*(this->rqst)).write(oprot); xfer += oprot->writeFieldEnd(); xfer += oprot->writeFieldStop(); @@ -38517,11 +38429,11 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_pargs::wr } -ThriftHiveMetastore_get_last_completed_transaction_for_tables_result::~ThriftHiveMetastore_get_last_completed_transaction_for_tables_result() throw() { +ThriftHiveMetastore_get_next_notification_result::~ThriftHiveMetastore_get_next_notification_result() throw() { } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_next_notification_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -38543,20 +38455,8 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_result::r switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - this->success.clear(); - uint32_t _size1735; - ::apache::thrift::protocol::TType _etype1738; - xfer += iprot->readListBegin(_etype1738, _size1735); - this->success.resize(_size1735); - uint32_t _i1739; - for (_i1739 = 0; _i1739 < _size1735; ++_i1739) - { - xfer += this->success[_i1739].read(iprot); - } - xfer += iprot->readListEnd(); - } + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->success.read(iprot); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -38574,23 +38474,15 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_result::r return xfer; } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_next_notification_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_last_completed_transaction_for_tables_result"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_next_notification_result"); if (this->__isset.success) { - 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 _iter1740; - for (_iter1740 = this->success.begin(); _iter1740 != this->success.end(); ++_iter1740) - { - xfer += (*_iter1740).write(oprot); - } - xfer += oprot->writeListEnd(); - } + xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); + xfer += this->success.write(oprot); xfer += oprot->writeFieldEnd(); } xfer += oprot->writeFieldStop(); @@ -38599,11 +38491,11 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_result::w } -ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult::~ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult() throw() { +ThriftHiveMetastore_get_next_notification_presult::~ThriftHiveMetastore_get_next_notification_presult() throw() { } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_next_notification_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -38625,20 +38517,8 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult:: switch (fid) { case 0: - if (ftype == ::apache::thrift::protocol::T_LIST) { - { - (*(this->success)).clear(); - uint32_t _size1741; - ::apache::thrift::protocol::TType _etype1744; - xfer += iprot->readListBegin(_etype1744, _size1741); - (*(this->success)).resize(_size1741); - uint32_t _i1745; - for (_i1745 = 0; _i1745 < _size1741; ++_i1745) - { - xfer += (*(this->success))[_i1745].read(iprot); - } - xfer += iprot->readListEnd(); - } + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += (*(this->success)).read(iprot); this->__isset.success = true; } else { xfer += iprot->skip(ftype); @@ -38657,11 +38537,11 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult:: } -ThriftHiveMetastore_get_last_completed_transaction_for_table_args::~ThriftHiveMetastore_get_last_completed_transaction_for_table_args() throw() { +ThriftHiveMetastore_get_current_notificationEventId_args::~ThriftHiveMetastore_get_current_notificationEventId_args() throw() { } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_current_notificationEventId_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -38680,36 +38560,7 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_args::read if (ftype == ::apache::thrift::protocol::T_STOP) { break; } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->db_name); - this->__isset.db_name = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 2: - if (ftype == ::apache::thrift::protocol::T_STRING) { - xfer += iprot->readString(this->table_name); - this->__isset.table_name = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->txns_snapshot.read(iprot); - this->__isset.txns_snapshot = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } + xfer += iprot->skip(ftype); xfer += iprot->readFieldEnd(); } @@ -38718,22 +38569,10 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_args::read return xfer; } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_current_notificationEventId_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_last_completed_transaction_for_table_args"); - - xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString(this->db_name); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("table_name", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString(this->table_name); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("txns_snapshot", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += this->txns_snapshot.write(oprot); - xfer += oprot->writeFieldEnd(); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_current_notificationEventId_args"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); @@ -38741,26 +38580,14 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_args::writ } -ThriftHiveMetastore_get_last_completed_transaction_for_table_pargs::~ThriftHiveMetastore_get_last_completed_transaction_for_table_pargs() throw() { +ThriftHiveMetastore_get_current_notificationEventId_pargs::~ThriftHiveMetastore_get_current_notificationEventId_pargs() throw() { } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_current_notificationEventId_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_last_completed_transaction_for_table_pargs"); - - xfer += oprot->writeFieldBegin("db_name", ::apache::thrift::protocol::T_STRING, 1); - xfer += oprot->writeString((*(this->db_name))); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("table_name", ::apache::thrift::protocol::T_STRING, 2); - xfer += oprot->writeString((*(this->table_name))); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldBegin("txns_snapshot", ::apache::thrift::protocol::T_STRUCT, 3); - xfer += (*(this->txns_snapshot)).write(oprot); - xfer += oprot->writeFieldEnd(); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_current_notificationEventId_pargs"); xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); @@ -38768,11 +38595,11 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_pargs::wri } -ThriftHiveMetastore_get_last_completed_transaction_for_table_result::~ThriftHiveMetastore_get_last_completed_transaction_for_table_result() throw() { +ThriftHiveMetastore_get_current_notificationEventId_result::~ThriftHiveMetastore_get_current_notificationEventId_result() throw() { } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_current_notificationEventId_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -38813,11 +38640,11 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_result::re return xfer; } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_current_notificationEventId_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_last_completed_transaction_for_table_result"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_current_notificationEventId_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); @@ -38830,11 +38657,11 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_result::wr } -ThriftHiveMetastore_get_last_completed_transaction_for_table_presult::~ThriftHiveMetastore_get_last_completed_transaction_for_table_presult() throw() { +ThriftHiveMetastore_get_current_notificationEventId_presult::~ThriftHiveMetastore_get_current_notificationEventId_presult() throw() { } -uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_current_notificationEventId_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -38876,11 +38703,11 @@ uint32_t ThriftHiveMetastore_get_last_completed_transaction_for_table_presult::r } -ThriftHiveMetastore_get_next_notification_args::~ThriftHiveMetastore_get_next_notification_args() throw() { +ThriftHiveMetastore_get_notification_events_count_args::~ThriftHiveMetastore_get_notification_events_count_args() throw() { } -uint32_t ThriftHiveMetastore_get_next_notification_args::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_notification_events_count_args::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -38921,10 +38748,10 @@ uint32_t ThriftHiveMetastore_get_next_notification_args::read(::apache::thrift:: return xfer; } -uint32_t ThriftHiveMetastore_get_next_notification_args::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_notification_events_count_args::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_next_notification_args"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_notification_events_count_args"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); xfer += this->rqst.write(oprot); @@ -38936,14 +38763,14 @@ uint32_t ThriftHiveMetastore_get_next_notification_args::write(::apache::thrift: } -ThriftHiveMetastore_get_next_notification_pargs::~ThriftHiveMetastore_get_next_notification_pargs() throw() { +ThriftHiveMetastore_get_notification_events_count_pargs::~ThriftHiveMetastore_get_notification_events_count_pargs() throw() { } -uint32_t ThriftHiveMetastore_get_next_notification_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_notification_events_count_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_next_notification_pargs"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_notification_events_count_pargs"); xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); xfer += (*(this->rqst)).write(oprot); @@ -38955,11 +38782,11 @@ uint32_t ThriftHiveMetastore_get_next_notification_pargs::write(::apache::thrift } -ThriftHiveMetastore_get_next_notification_result::~ThriftHiveMetastore_get_next_notification_result() throw() { +ThriftHiveMetastore_get_notification_events_count_result::~ThriftHiveMetastore_get_notification_events_count_result() throw() { } -uint32_t ThriftHiveMetastore_get_next_notification_result::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_notification_events_count_result::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -39000,11 +38827,11 @@ uint32_t ThriftHiveMetastore_get_next_notification_result::read(::apache::thrift return xfer; } -uint32_t ThriftHiveMetastore_get_next_notification_result::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t ThriftHiveMetastore_get_notification_events_count_result::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_next_notification_result"); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_notification_events_count_result"); if (this->__isset.success) { xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); @@ -39017,364 +38844,11 @@ uint32_t ThriftHiveMetastore_get_next_notification_result::write(::apache::thrif } -ThriftHiveMetastore_get_next_notification_presult::~ThriftHiveMetastore_get_next_notification_presult() throw() { +ThriftHiveMetastore_get_notification_events_count_presult::~ThriftHiveMetastore_get_notification_events_count_presult() throw() { } -uint32_t ThriftHiveMetastore_get_next_notification_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - -ThriftHiveMetastore_get_current_notificationEventId_args::~ThriftHiveMetastore_get_current_notificationEventId_args() throw() { -} - - -uint32_t ThriftHiveMetastore_get_current_notificationEventId_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - xfer += iprot->skip(ftype); - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t ThriftHiveMetastore_get_current_notificationEventId_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_current_notificationEventId_args"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -ThriftHiveMetastore_get_current_notificationEventId_pargs::~ThriftHiveMetastore_get_current_notificationEventId_pargs() throw() { -} - - -uint32_t ThriftHiveMetastore_get_current_notificationEventId_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_current_notificationEventId_pargs"); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -ThriftHiveMetastore_get_current_notificationEventId_result::~ThriftHiveMetastore_get_current_notificationEventId_result() throw() { -} - - -uint32_t ThriftHiveMetastore_get_current_notificationEventId_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t ThriftHiveMetastore_get_current_notificationEventId_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_current_notificationEventId_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -ThriftHiveMetastore_get_current_notificationEventId_presult::~ThriftHiveMetastore_get_current_notificationEventId_presult() throw() { -} - - -uint32_t ThriftHiveMetastore_get_current_notificationEventId_presult::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += (*(this->success)).read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - - -ThriftHiveMetastore_get_notification_events_count_args::~ThriftHiveMetastore_get_notification_events_count_args() throw() { -} - - -uint32_t ThriftHiveMetastore_get_notification_events_count_args::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 1: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->rqst.read(iprot); - this->__isset.rqst = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t ThriftHiveMetastore_get_notification_events_count_args::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_notification_events_count_args"); - - xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += this->rqst.write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -ThriftHiveMetastore_get_notification_events_count_pargs::~ThriftHiveMetastore_get_notification_events_count_pargs() throw() { -} - - -uint32_t ThriftHiveMetastore_get_notification_events_count_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { - uint32_t xfer = 0; - apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_notification_events_count_pargs"); - - xfer += oprot->writeFieldBegin("rqst", ::apache::thrift::protocol::T_STRUCT, 1); - xfer += (*(this->rqst)).write(oprot); - xfer += oprot->writeFieldEnd(); - - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -ThriftHiveMetastore_get_notification_events_count_result::~ThriftHiveMetastore_get_notification_events_count_result() throw() { -} - - -uint32_t ThriftHiveMetastore_get_notification_events_count_result::read(::apache::thrift::protocol::TProtocol* iprot) { - - apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); - uint32_t xfer = 0; - std::string fname; - ::apache::thrift::protocol::TType ftype; - int16_t fid; - - xfer += iprot->readStructBegin(fname); - - using ::apache::thrift::protocol::TProtocolException; - - - while (true) - { - xfer += iprot->readFieldBegin(fname, ftype, fid); - if (ftype == ::apache::thrift::protocol::T_STOP) { - break; - } - switch (fid) - { - case 0: - if (ftype == ::apache::thrift::protocol::T_STRUCT) { - xfer += this->success.read(iprot); - this->__isset.success = true; - } else { - xfer += iprot->skip(ftype); - } - break; - default: - xfer += iprot->skip(ftype); - break; - } - xfer += iprot->readFieldEnd(); - } - - xfer += iprot->readStructEnd(); - - return xfer; -} - -uint32_t ThriftHiveMetastore_get_notification_events_count_result::write(::apache::thrift::protocol::TProtocol* oprot) const { - - uint32_t xfer = 0; - - xfer += oprot->writeStructBegin("ThriftHiveMetastore_get_notification_events_count_result"); - - if (this->__isset.success) { - xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_STRUCT, 0); - xfer += this->success.write(oprot); - xfer += oprot->writeFieldEnd(); - } - xfer += oprot->writeFieldStop(); - xfer += oprot->writeStructEnd(); - return xfer; -} - - -ThriftHiveMetastore_get_notification_events_count_presult::~ThriftHiveMetastore_get_notification_events_count_presult() throw() { -} - - -uint32_t ThriftHiveMetastore_get_notification_events_count_presult::read(::apache::thrift::protocol::TProtocol* iprot) { +uint32_t ThriftHiveMetastore_get_notification_events_count_presult::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -54898,126 +54372,6 @@ void ThriftHiveMetastoreClient::recv_add_dynamic_partitions() return; } -void ThriftHiveMetastoreClient::get_last_completed_transaction_for_tables(std::vector & _return, const std::vector & db_names, const std::vector & table_names, const TxnsSnapshot& txns_snapshot) -{ - send_get_last_completed_transaction_for_tables(db_names, table_names, txns_snapshot); - recv_get_last_completed_transaction_for_tables(_return); -} - -void ThriftHiveMetastoreClient::send_get_last_completed_transaction_for_tables(const std::vector & db_names, const std::vector & table_names, const TxnsSnapshot& txns_snapshot) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("get_last_completed_transaction_for_tables", ::apache::thrift::protocol::T_CALL, cseqid); - - ThriftHiveMetastore_get_last_completed_transaction_for_tables_pargs args; - args.db_names = &db_names; - args.table_names = &table_names; - args.txns_snapshot = &txns_snapshot; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void ThriftHiveMetastoreClient::recv_get_last_completed_transaction_for_tables(std::vector & _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("get_last_completed_transaction_for_tables") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_last_completed_transaction_for_tables failed: unknown result"); -} - -void ThriftHiveMetastoreClient::get_last_completed_transaction_for_table(BasicTxnInfo& _return, const std::string& db_name, const std::string& table_name, const TxnsSnapshot& txns_snapshot) -{ - send_get_last_completed_transaction_for_table(db_name, table_name, txns_snapshot); - recv_get_last_completed_transaction_for_table(_return); -} - -void ThriftHiveMetastoreClient::send_get_last_completed_transaction_for_table(const std::string& db_name, const std::string& table_name, const TxnsSnapshot& txns_snapshot) -{ - int32_t cseqid = 0; - oprot_->writeMessageBegin("get_last_completed_transaction_for_table", ::apache::thrift::protocol::T_CALL, cseqid); - - ThriftHiveMetastore_get_last_completed_transaction_for_table_pargs args; - args.db_name = &db_name; - args.table_name = &table_name; - args.txns_snapshot = &txns_snapshot; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); -} - -void ThriftHiveMetastoreClient::recv_get_last_completed_transaction_for_table(BasicTxnInfo& _return) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - iprot_->readMessageBegin(fname, mtype, rseqid); - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("get_last_completed_transaction_for_table") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - ThriftHiveMetastore_get_last_completed_transaction_for_table_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - return; - } - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_last_completed_transaction_for_table failed: unknown result"); -} - void ThriftHiveMetastoreClient::get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst) { send_get_next_notification(rqst); @@ -65899,114 +65253,6 @@ void ThriftHiveMetastoreProcessor::process_add_dynamic_partitions(int32_t seqid, } } -void ThriftHiveMetastoreProcessor::process_get_last_completed_transaction_for_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = NULL; - if (this->eventHandler_.get() != NULL) { - ctx = this->eventHandler_->getContext("ThriftHiveMetastore.get_last_completed_transaction_for_tables", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_tables"); - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_tables"); - } - - ThriftHiveMetastore_get_last_completed_transaction_for_tables_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_tables", bytes); - } - - ThriftHiveMetastore_get_last_completed_transaction_for_tables_result result; - try { - iface_->get_last_completed_transaction_for_tables(result.success, args.db_names, args.table_names, args.txns_snapshot); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_tables"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("get_last_completed_transaction_for_tables", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_tables"); - } - - oprot->writeMessageBegin("get_last_completed_transaction_for_tables", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_tables", bytes); - } -} - -void ThriftHiveMetastoreProcessor::process_get_last_completed_transaction_for_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) -{ - void* ctx = NULL; - if (this->eventHandler_.get() != NULL) { - ctx = this->eventHandler_->getContext("ThriftHiveMetastore.get_last_completed_transaction_for_table", callContext); - } - ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_table"); - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_table"); - } - - ThriftHiveMetastore_get_last_completed_transaction_for_table_args args; - args.read(iprot); - iprot->readMessageEnd(); - uint32_t bytes = iprot->getTransport()->readEnd(); - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_table", bytes); - } - - ThriftHiveMetastore_get_last_completed_transaction_for_table_result result; - try { - iface_->get_last_completed_transaction_for_table(result.success, args.db_name, args.table_name, args.txns_snapshot); - result.__isset.success = true; - } catch (const std::exception& e) { - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_table"); - } - - ::apache::thrift::TApplicationException x(e.what()); - oprot->writeMessageBegin("get_last_completed_transaction_for_table", ::apache::thrift::protocol::T_EXCEPTION, seqid); - x.write(oprot); - oprot->writeMessageEnd(); - oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - return; - } - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->preWrite(ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_table"); - } - - oprot->writeMessageBegin("get_last_completed_transaction_for_table", ::apache::thrift::protocol::T_REPLY, seqid); - result.write(oprot); - oprot->writeMessageEnd(); - bytes = oprot->getTransport()->writeEnd(); - oprot->getTransport()->flush(); - - if (this->eventHandler_.get() != NULL) { - this->eventHandler_->postWrite(ctx, "ThriftHiveMetastore.get_last_completed_transaction_for_table", bytes); - } -} - void ThriftHiveMetastoreProcessor::process_get_next_notification(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; @@ -80893,273 +80139,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_check_lock(LockResponse& _return, iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); } - if (fname.compare("check_lock") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - ThriftHiveMetastore_check_lock_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - if (result.__isset.o1) { - sentry.commit(); - throw result.o1; - } - if (result.__isset.o2) { - sentry.commit(); - throw result.o2; - } - if (result.__isset.o3) { - sentry.commit(); - throw result.o3; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "check_lock failed: unknown result"); - } - // seqid != rseqid - this->sync_.updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_.waitForWork(seqid); - } // end while(true) -} - -void ThriftHiveMetastoreConcurrentClient::unlock(const UnlockRequest& rqst) -{ - int32_t seqid = send_unlock(rqst); - recv_unlock(seqid); -} - -int32_t ThriftHiveMetastoreConcurrentClient::send_unlock(const UnlockRequest& rqst) -{ - int32_t cseqid = this->sync_.generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); - oprot_->writeMessageBegin("unlock", ::apache::thrift::protocol::T_CALL, cseqid); - - ThriftHiveMetastore_unlock_pargs args; - args.rqst = &rqst; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void ThriftHiveMetastoreConcurrentClient::recv_unlock(const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid); - - while(true) { - if(!this->sync_.getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("unlock") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - ThriftHiveMetastore_unlock_presult result; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.o1) { - sentry.commit(); - throw result.o1; - } - if (result.__isset.o2) { - sentry.commit(); - throw result.o2; - } - sentry.commit(); - return; - } - // seqid != rseqid - this->sync_.updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_.waitForWork(seqid); - } // end while(true) -} - -void ThriftHiveMetastoreConcurrentClient::show_locks(ShowLocksResponse& _return, const ShowLocksRequest& rqst) -{ - int32_t seqid = send_show_locks(rqst); - recv_show_locks(_return, seqid); -} - -int32_t ThriftHiveMetastoreConcurrentClient::send_show_locks(const ShowLocksRequest& rqst) -{ - int32_t cseqid = this->sync_.generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); - oprot_->writeMessageBegin("show_locks", ::apache::thrift::protocol::T_CALL, cseqid); - - ThriftHiveMetastore_show_locks_pargs args; - args.rqst = &rqst; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void ThriftHiveMetastoreConcurrentClient::recv_show_locks(ShowLocksResponse& _return, const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid); - - while(true) { - if(!this->sync_.getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("show_locks") != 0) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - // in a bad state, don't commit - using ::apache::thrift::protocol::TProtocolException; - throw TProtocolException(TProtocolException::INVALID_DATA); - } - ThriftHiveMetastore_show_locks_presult result; - result.success = &_return; - result.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "show_locks failed: unknown result"); - } - // seqid != rseqid - this->sync_.updatePending(fname, mtype, rseqid); - - // this will temporarily unlock the readMutex, and let other clients get work done - this->sync_.waitForWork(seqid); - } // end while(true) -} - -void ThriftHiveMetastoreConcurrentClient::heartbeat(const HeartbeatRequest& ids) -{ - int32_t seqid = send_heartbeat(ids); - recv_heartbeat(seqid); -} - -int32_t ThriftHiveMetastoreConcurrentClient::send_heartbeat(const HeartbeatRequest& ids) -{ - int32_t cseqid = this->sync_.generateSeqId(); - ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); - oprot_->writeMessageBegin("heartbeat", ::apache::thrift::protocol::T_CALL, cseqid); - - ThriftHiveMetastore_heartbeat_pargs args; - args.ids = &ids; - args.write(oprot_); - - oprot_->writeMessageEnd(); - oprot_->getTransport()->writeEnd(); - oprot_->getTransport()->flush(); - - sentry.commit(); - return cseqid; -} - -void ThriftHiveMetastoreConcurrentClient::recv_heartbeat(const int32_t seqid) -{ - - int32_t rseqid = 0; - std::string fname; - ::apache::thrift::protocol::TMessageType mtype; - - // the read mutex gets dropped and reacquired as part of waitForWork() - // The destructor of this sentry wakes up other clients - ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid); - - while(true) { - if(!this->sync_.getPending(fname, mtype, rseqid)) { - iprot_->readMessageBegin(fname, mtype, rseqid); - } - if(seqid == rseqid) { - if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { - ::apache::thrift::TApplicationException x; - x.read(iprot_); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - sentry.commit(); - throw x; - } - if (mtype != ::apache::thrift::protocol::T_REPLY) { - iprot_->skip(::apache::thrift::protocol::T_STRUCT); - iprot_->readMessageEnd(); - iprot_->getTransport()->readEnd(); - } - if (fname.compare("heartbeat") != 0) { + if (fname.compare("check_lock") != 0) { iprot_->skip(::apache::thrift::protocol::T_STRUCT); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); @@ -81168,11 +80148,17 @@ void ThriftHiveMetastoreConcurrentClient::recv_heartbeat(const int32_t seqid) using ::apache::thrift::protocol::TProtocolException; throw TProtocolException(TProtocolException::INVALID_DATA); } - ThriftHiveMetastore_heartbeat_presult result; + ThriftHiveMetastore_check_lock_presult result; + result.success = &_return; result.read(iprot_); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); + if (result.__isset.success) { + // _return pointer has now been filled + sentry.commit(); + return; + } if (result.__isset.o1) { sentry.commit(); throw result.o1; @@ -81185,6 +80171,92 @@ void ThriftHiveMetastoreConcurrentClient::recv_heartbeat(const int32_t seqid) sentry.commit(); throw result.o3; } + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "check_lock failed: unknown result"); + } + // seqid != rseqid + this->sync_.updatePending(fname, mtype, rseqid); + + // this will temporarily unlock the readMutex, and let other clients get work done + this->sync_.waitForWork(seqid); + } // end while(true) +} + +void ThriftHiveMetastoreConcurrentClient::unlock(const UnlockRequest& rqst) +{ + int32_t seqid = send_unlock(rqst); + recv_unlock(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_unlock(const UnlockRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("unlock", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_unlock_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_unlock(const int32_t seqid) +{ + + int32_t rseqid = 0; + std::string fname; + ::apache::thrift::protocol::TMessageType mtype; + + // the read mutex gets dropped and reacquired as part of waitForWork() + // The destructor of this sentry wakes up other clients + ::apache::thrift::async::TConcurrentRecvSentry sentry(&this->sync_, seqid); + + while(true) { + if(!this->sync_.getPending(fname, mtype, rseqid)) { + iprot_->readMessageBegin(fname, mtype, rseqid); + } + if(seqid == rseqid) { + if (mtype == ::apache::thrift::protocol::T_EXCEPTION) { + ::apache::thrift::TApplicationException x; + x.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + sentry.commit(); + throw x; + } + if (mtype != ::apache::thrift::protocol::T_REPLY) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + if (fname.compare("unlock") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + // in a bad state, don't commit + using ::apache::thrift::protocol::TProtocolException; + throw TProtocolException(TProtocolException::INVALID_DATA); + } + ThriftHiveMetastore_unlock_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } sentry.commit(); return; } @@ -81196,20 +80268,20 @@ void ThriftHiveMetastoreConcurrentClient::recv_heartbeat(const int32_t seqid) } // end while(true) } -void ThriftHiveMetastoreConcurrentClient::heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const HeartbeatTxnRangeRequest& txns) +void ThriftHiveMetastoreConcurrentClient::show_locks(ShowLocksResponse& _return, const ShowLocksRequest& rqst) { - int32_t seqid = send_heartbeat_txn_range(txns); - recv_heartbeat_txn_range(_return, seqid); + int32_t seqid = send_show_locks(rqst); + recv_show_locks(_return, seqid); } -int32_t ThriftHiveMetastoreConcurrentClient::send_heartbeat_txn_range(const HeartbeatTxnRangeRequest& txns) +int32_t ThriftHiveMetastoreConcurrentClient::send_show_locks(const ShowLocksRequest& rqst) { int32_t cseqid = this->sync_.generateSeqId(); ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); - oprot_->writeMessageBegin("heartbeat_txn_range", ::apache::thrift::protocol::T_CALL, cseqid); + oprot_->writeMessageBegin("show_locks", ::apache::thrift::protocol::T_CALL, cseqid); - ThriftHiveMetastore_heartbeat_txn_range_pargs args; - args.txns = &txns; + ThriftHiveMetastore_show_locks_pargs args; + args.rqst = &rqst; args.write(oprot_); oprot_->writeMessageEnd(); @@ -81220,7 +80292,7 @@ int32_t ThriftHiveMetastoreConcurrentClient::send_heartbeat_txn_range(const Hear return cseqid; } -void ThriftHiveMetastoreConcurrentClient::recv_heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const int32_t seqid) +void ThriftHiveMetastoreConcurrentClient::recv_show_locks(ShowLocksResponse& _return, const int32_t seqid) { int32_t rseqid = 0; @@ -81249,7 +80321,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_heartbeat_txn_range(HeartbeatTxnR iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); } - if (fname.compare("heartbeat_txn_range") != 0) { + if (fname.compare("show_locks") != 0) { iprot_->skip(::apache::thrift::protocol::T_STRUCT); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); @@ -81258,7 +80330,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_heartbeat_txn_range(HeartbeatTxnR using ::apache::thrift::protocol::TProtocolException; throw TProtocolException(TProtocolException::INVALID_DATA); } - ThriftHiveMetastore_heartbeat_txn_range_presult result; + ThriftHiveMetastore_show_locks_presult result; result.success = &_return; result.read(iprot_); iprot_->readMessageEnd(); @@ -81270,7 +80342,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_heartbeat_txn_range(HeartbeatTxnR return; } // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "heartbeat_txn_range failed: unknown result"); + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "show_locks failed: unknown result"); } // seqid != rseqid this->sync_.updatePending(fname, mtype, rseqid); @@ -81280,20 +80352,20 @@ void ThriftHiveMetastoreConcurrentClient::recv_heartbeat_txn_range(HeartbeatTxnR } // end while(true) } -void ThriftHiveMetastoreConcurrentClient::compact(const CompactionRequest& rqst) +void ThriftHiveMetastoreConcurrentClient::heartbeat(const HeartbeatRequest& ids) { - int32_t seqid = send_compact(rqst); - recv_compact(seqid); + int32_t seqid = send_heartbeat(ids); + recv_heartbeat(seqid); } -int32_t ThriftHiveMetastoreConcurrentClient::send_compact(const CompactionRequest& rqst) +int32_t ThriftHiveMetastoreConcurrentClient::send_heartbeat(const HeartbeatRequest& ids) { int32_t cseqid = this->sync_.generateSeqId(); ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); - oprot_->writeMessageBegin("compact", ::apache::thrift::protocol::T_CALL, cseqid); + oprot_->writeMessageBegin("heartbeat", ::apache::thrift::protocol::T_CALL, cseqid); - ThriftHiveMetastore_compact_pargs args; - args.rqst = &rqst; + ThriftHiveMetastore_heartbeat_pargs args; + args.ids = &ids; args.write(oprot_); oprot_->writeMessageEnd(); @@ -81304,7 +80376,7 @@ int32_t ThriftHiveMetastoreConcurrentClient::send_compact(const CompactionReques return cseqid; } -void ThriftHiveMetastoreConcurrentClient::recv_compact(const int32_t seqid) +void ThriftHiveMetastoreConcurrentClient::recv_heartbeat(const int32_t seqid) { int32_t rseqid = 0; @@ -81333,7 +80405,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_compact(const int32_t seqid) iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); } - if (fname.compare("compact") != 0) { + if (fname.compare("heartbeat") != 0) { iprot_->skip(::apache::thrift::protocol::T_STRUCT); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); @@ -81342,11 +80414,23 @@ void ThriftHiveMetastoreConcurrentClient::recv_compact(const int32_t seqid) using ::apache::thrift::protocol::TProtocolException; throw TProtocolException(TProtocolException::INVALID_DATA); } - ThriftHiveMetastore_compact_presult result; + ThriftHiveMetastore_heartbeat_presult result; result.read(iprot_); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); + if (result.__isset.o1) { + sentry.commit(); + throw result.o1; + } + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + if (result.__isset.o3) { + sentry.commit(); + throw result.o3; + } sentry.commit(); return; } @@ -81358,20 +80442,20 @@ void ThriftHiveMetastoreConcurrentClient::recv_compact(const int32_t seqid) } // end while(true) } -void ThriftHiveMetastoreConcurrentClient::compact2(CompactionResponse& _return, const CompactionRequest& rqst) +void ThriftHiveMetastoreConcurrentClient::heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const HeartbeatTxnRangeRequest& txns) { - int32_t seqid = send_compact2(rqst); - recv_compact2(_return, seqid); + int32_t seqid = send_heartbeat_txn_range(txns); + recv_heartbeat_txn_range(_return, seqid); } -int32_t ThriftHiveMetastoreConcurrentClient::send_compact2(const CompactionRequest& rqst) +int32_t ThriftHiveMetastoreConcurrentClient::send_heartbeat_txn_range(const HeartbeatTxnRangeRequest& txns) { int32_t cseqid = this->sync_.generateSeqId(); ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); - oprot_->writeMessageBegin("compact2", ::apache::thrift::protocol::T_CALL, cseqid); + oprot_->writeMessageBegin("heartbeat_txn_range", ::apache::thrift::protocol::T_CALL, cseqid); - ThriftHiveMetastore_compact2_pargs args; - args.rqst = &rqst; + ThriftHiveMetastore_heartbeat_txn_range_pargs args; + args.txns = &txns; args.write(oprot_); oprot_->writeMessageEnd(); @@ -81382,7 +80466,7 @@ int32_t ThriftHiveMetastoreConcurrentClient::send_compact2(const CompactionReque return cseqid; } -void ThriftHiveMetastoreConcurrentClient::recv_compact2(CompactionResponse& _return, const int32_t seqid) +void ThriftHiveMetastoreConcurrentClient::recv_heartbeat_txn_range(HeartbeatTxnRangeResponse& _return, const int32_t seqid) { int32_t rseqid = 0; @@ -81411,7 +80495,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_compact2(CompactionResponse& _ret iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); } - if (fname.compare("compact2") != 0) { + if (fname.compare("heartbeat_txn_range") != 0) { iprot_->skip(::apache::thrift::protocol::T_STRUCT); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); @@ -81420,7 +80504,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_compact2(CompactionResponse& _ret using ::apache::thrift::protocol::TProtocolException; throw TProtocolException(TProtocolException::INVALID_DATA); } - ThriftHiveMetastore_compact2_presult result; + ThriftHiveMetastore_heartbeat_txn_range_presult result; result.success = &_return; result.read(iprot_); iprot_->readMessageEnd(); @@ -81432,7 +80516,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_compact2(CompactionResponse& _ret return; } // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "compact2 failed: unknown result"); + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "heartbeat_txn_range failed: unknown result"); } // seqid != rseqid this->sync_.updatePending(fname, mtype, rseqid); @@ -81442,19 +80526,19 @@ void ThriftHiveMetastoreConcurrentClient::recv_compact2(CompactionResponse& _ret } // end while(true) } -void ThriftHiveMetastoreConcurrentClient::show_compact(ShowCompactResponse& _return, const ShowCompactRequest& rqst) +void ThriftHiveMetastoreConcurrentClient::compact(const CompactionRequest& rqst) { - int32_t seqid = send_show_compact(rqst); - recv_show_compact(_return, seqid); + int32_t seqid = send_compact(rqst); + recv_compact(seqid); } -int32_t ThriftHiveMetastoreConcurrentClient::send_show_compact(const ShowCompactRequest& rqst) +int32_t ThriftHiveMetastoreConcurrentClient::send_compact(const CompactionRequest& rqst) { int32_t cseqid = this->sync_.generateSeqId(); ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); - oprot_->writeMessageBegin("show_compact", ::apache::thrift::protocol::T_CALL, cseqid); + oprot_->writeMessageBegin("compact", ::apache::thrift::protocol::T_CALL, cseqid); - ThriftHiveMetastore_show_compact_pargs args; + ThriftHiveMetastore_compact_pargs args; args.rqst = &rqst; args.write(oprot_); @@ -81466,7 +80550,7 @@ int32_t ThriftHiveMetastoreConcurrentClient::send_show_compact(const ShowCompact return cseqid; } -void ThriftHiveMetastoreConcurrentClient::recv_show_compact(ShowCompactResponse& _return, const int32_t seqid) +void ThriftHiveMetastoreConcurrentClient::recv_compact(const int32_t seqid) { int32_t rseqid = 0; @@ -81495,7 +80579,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_show_compact(ShowCompactResponse& iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); } - if (fname.compare("show_compact") != 0) { + if (fname.compare("compact") != 0) { iprot_->skip(::apache::thrift::protocol::T_STRUCT); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); @@ -81504,19 +80588,13 @@ void ThriftHiveMetastoreConcurrentClient::recv_show_compact(ShowCompactResponse& using ::apache::thrift::protocol::TProtocolException; throw TProtocolException(TProtocolException::INVALID_DATA); } - ThriftHiveMetastore_show_compact_presult result; - result.success = &_return; + ThriftHiveMetastore_compact_presult result; result.read(iprot_); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); - if (result.__isset.success) { - // _return pointer has now been filled - sentry.commit(); - return; - } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "show_compact failed: unknown result"); + sentry.commit(); + return; } // seqid != rseqid this->sync_.updatePending(fname, mtype, rseqid); @@ -81526,19 +80604,19 @@ void ThriftHiveMetastoreConcurrentClient::recv_show_compact(ShowCompactResponse& } // end while(true) } -void ThriftHiveMetastoreConcurrentClient::add_dynamic_partitions(const AddDynamicPartitions& rqst) +void ThriftHiveMetastoreConcurrentClient::compact2(CompactionResponse& _return, const CompactionRequest& rqst) { - int32_t seqid = send_add_dynamic_partitions(rqst); - recv_add_dynamic_partitions(seqid); + int32_t seqid = send_compact2(rqst); + recv_compact2(_return, seqid); } -int32_t ThriftHiveMetastoreConcurrentClient::send_add_dynamic_partitions(const AddDynamicPartitions& rqst) +int32_t ThriftHiveMetastoreConcurrentClient::send_compact2(const CompactionRequest& rqst) { int32_t cseqid = this->sync_.generateSeqId(); ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); - oprot_->writeMessageBegin("add_dynamic_partitions", ::apache::thrift::protocol::T_CALL, cseqid); + oprot_->writeMessageBegin("compact2", ::apache::thrift::protocol::T_CALL, cseqid); - ThriftHiveMetastore_add_dynamic_partitions_pargs args; + ThriftHiveMetastore_compact2_pargs args; args.rqst = &rqst; args.write(oprot_); @@ -81550,7 +80628,7 @@ int32_t ThriftHiveMetastoreConcurrentClient::send_add_dynamic_partitions(const A return cseqid; } -void ThriftHiveMetastoreConcurrentClient::recv_add_dynamic_partitions(const int32_t seqid) +void ThriftHiveMetastoreConcurrentClient::recv_compact2(CompactionResponse& _return, const int32_t seqid) { int32_t rseqid = 0; @@ -81579,7 +80657,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_add_dynamic_partitions(const int3 iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); } - if (fname.compare("add_dynamic_partitions") != 0) { + if (fname.compare("compact2") != 0) { iprot_->skip(::apache::thrift::protocol::T_STRUCT); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); @@ -81588,21 +80666,19 @@ void ThriftHiveMetastoreConcurrentClient::recv_add_dynamic_partitions(const int3 using ::apache::thrift::protocol::TProtocolException; throw TProtocolException(TProtocolException::INVALID_DATA); } - ThriftHiveMetastore_add_dynamic_partitions_presult result; + ThriftHiveMetastore_compact2_presult result; + result.success = &_return; result.read(iprot_); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); - if (result.__isset.o1) { - sentry.commit(); - throw result.o1; - } - if (result.__isset.o2) { + if (result.__isset.success) { + // _return pointer has now been filled sentry.commit(); - throw result.o2; + return; } - sentry.commit(); - return; + // in a bad state, don't commit + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "compact2 failed: unknown result"); } // seqid != rseqid this->sync_.updatePending(fname, mtype, rseqid); @@ -81612,22 +80688,20 @@ void ThriftHiveMetastoreConcurrentClient::recv_add_dynamic_partitions(const int3 } // end while(true) } -void ThriftHiveMetastoreConcurrentClient::get_last_completed_transaction_for_tables(std::vector & _return, const std::vector & db_names, const std::vector & table_names, const TxnsSnapshot& txns_snapshot) +void ThriftHiveMetastoreConcurrentClient::show_compact(ShowCompactResponse& _return, const ShowCompactRequest& rqst) { - int32_t seqid = send_get_last_completed_transaction_for_tables(db_names, table_names, txns_snapshot); - recv_get_last_completed_transaction_for_tables(_return, seqid); + int32_t seqid = send_show_compact(rqst); + recv_show_compact(_return, seqid); } -int32_t ThriftHiveMetastoreConcurrentClient::send_get_last_completed_transaction_for_tables(const std::vector & db_names, const std::vector & table_names, const TxnsSnapshot& txns_snapshot) +int32_t ThriftHiveMetastoreConcurrentClient::send_show_compact(const ShowCompactRequest& rqst) { int32_t cseqid = this->sync_.generateSeqId(); ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); - oprot_->writeMessageBegin("get_last_completed_transaction_for_tables", ::apache::thrift::protocol::T_CALL, cseqid); + oprot_->writeMessageBegin("show_compact", ::apache::thrift::protocol::T_CALL, cseqid); - ThriftHiveMetastore_get_last_completed_transaction_for_tables_pargs args; - args.db_names = &db_names; - args.table_names = &table_names; - args.txns_snapshot = &txns_snapshot; + ThriftHiveMetastore_show_compact_pargs args; + args.rqst = &rqst; args.write(oprot_); oprot_->writeMessageEnd(); @@ -81638,7 +80712,7 @@ int32_t ThriftHiveMetastoreConcurrentClient::send_get_last_completed_transaction return cseqid; } -void ThriftHiveMetastoreConcurrentClient::recv_get_last_completed_transaction_for_tables(std::vector & _return, const int32_t seqid) +void ThriftHiveMetastoreConcurrentClient::recv_show_compact(ShowCompactResponse& _return, const int32_t seqid) { int32_t rseqid = 0; @@ -81667,7 +80741,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_last_completed_transaction_fo iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); } - if (fname.compare("get_last_completed_transaction_for_tables") != 0) { + if (fname.compare("show_compact") != 0) { iprot_->skip(::apache::thrift::protocol::T_STRUCT); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); @@ -81676,7 +80750,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_last_completed_transaction_fo using ::apache::thrift::protocol::TProtocolException; throw TProtocolException(TProtocolException::INVALID_DATA); } - ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult result; + ThriftHiveMetastore_show_compact_presult result; result.success = &_return; result.read(iprot_); iprot_->readMessageEnd(); @@ -81688,7 +80762,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_last_completed_transaction_fo return; } // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_last_completed_transaction_for_tables failed: unknown result"); + throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "show_compact failed: unknown result"); } // seqid != rseqid this->sync_.updatePending(fname, mtype, rseqid); @@ -81698,22 +80772,20 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_last_completed_transaction_fo } // end while(true) } -void ThriftHiveMetastoreConcurrentClient::get_last_completed_transaction_for_table(BasicTxnInfo& _return, const std::string& db_name, const std::string& table_name, const TxnsSnapshot& txns_snapshot) +void ThriftHiveMetastoreConcurrentClient::add_dynamic_partitions(const AddDynamicPartitions& rqst) { - int32_t seqid = send_get_last_completed_transaction_for_table(db_name, table_name, txns_snapshot); - recv_get_last_completed_transaction_for_table(_return, seqid); + int32_t seqid = send_add_dynamic_partitions(rqst); + recv_add_dynamic_partitions(seqid); } -int32_t ThriftHiveMetastoreConcurrentClient::send_get_last_completed_transaction_for_table(const std::string& db_name, const std::string& table_name, const TxnsSnapshot& txns_snapshot) +int32_t ThriftHiveMetastoreConcurrentClient::send_add_dynamic_partitions(const AddDynamicPartitions& rqst) { int32_t cseqid = this->sync_.generateSeqId(); ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); - oprot_->writeMessageBegin("get_last_completed_transaction_for_table", ::apache::thrift::protocol::T_CALL, cseqid); + oprot_->writeMessageBegin("add_dynamic_partitions", ::apache::thrift::protocol::T_CALL, cseqid); - ThriftHiveMetastore_get_last_completed_transaction_for_table_pargs args; - args.db_name = &db_name; - args.table_name = &table_name; - args.txns_snapshot = &txns_snapshot; + ThriftHiveMetastore_add_dynamic_partitions_pargs args; + args.rqst = &rqst; args.write(oprot_); oprot_->writeMessageEnd(); @@ -81724,7 +80796,7 @@ int32_t ThriftHiveMetastoreConcurrentClient::send_get_last_completed_transaction return cseqid; } -void ThriftHiveMetastoreConcurrentClient::recv_get_last_completed_transaction_for_table(BasicTxnInfo& _return, const int32_t seqid) +void ThriftHiveMetastoreConcurrentClient::recv_add_dynamic_partitions(const int32_t seqid) { int32_t rseqid = 0; @@ -81753,7 +80825,7 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_last_completed_transaction_fo iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); } - if (fname.compare("get_last_completed_transaction_for_table") != 0) { + if (fname.compare("add_dynamic_partitions") != 0) { iprot_->skip(::apache::thrift::protocol::T_STRUCT); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); @@ -81762,19 +80834,21 @@ void ThriftHiveMetastoreConcurrentClient::recv_get_last_completed_transaction_fo using ::apache::thrift::protocol::TProtocolException; throw TProtocolException(TProtocolException::INVALID_DATA); } - ThriftHiveMetastore_get_last_completed_transaction_for_table_presult result; - result.success = &_return; + ThriftHiveMetastore_add_dynamic_partitions_presult result; result.read(iprot_); iprot_->readMessageEnd(); iprot_->getTransport()->readEnd(); - if (result.__isset.success) { - // _return pointer has now been filled + if (result.__isset.o1) { sentry.commit(); - return; + throw result.o1; } - // in a bad state, don't commit - throw ::apache::thrift::TApplicationException(::apache::thrift::TApplicationException::MISSING_RESULT, "get_last_completed_transaction_for_table failed: unknown result"); + if (result.__isset.o2) { + sentry.commit(); + throw result.o2; + } + sentry.commit(); + return; } // seqid != rseqid this->sync_.updatePending(fname, mtype, rseqid); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index 42bc9297e7..bfa17eb3e6 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -174,8 +174,6 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void compact2(CompactionResponse& _return, const CompactionRequest& rqst) = 0; virtual void show_compact(ShowCompactResponse& _return, const ShowCompactRequest& rqst) = 0; virtual void add_dynamic_partitions(const AddDynamicPartitions& rqst) = 0; - virtual void get_last_completed_transaction_for_tables(std::vector & _return, const std::vector & db_names, const std::vector & table_names, const TxnsSnapshot& txns_snapshot) = 0; - virtual void get_last_completed_transaction_for_table(BasicTxnInfo& _return, const std::string& db_name, const std::string& table_name, const TxnsSnapshot& txns_snapshot) = 0; virtual void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst) = 0; virtual void get_current_notificationEventId(CurrentNotificationEventId& _return) = 0; virtual void get_notification_events_count(NotificationEventsCountResponse& _return, const NotificationEventsCountRequest& rqst) = 0; @@ -718,12 +716,6 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void add_dynamic_partitions(const AddDynamicPartitions& /* rqst */) { return; } - void get_last_completed_transaction_for_tables(std::vector & /* _return */, const std::vector & /* db_names */, const std::vector & /* table_names */, const TxnsSnapshot& /* txns_snapshot */) { - return; - } - void get_last_completed_transaction_for_table(BasicTxnInfo& /* _return */, const std::string& /* db_name */, const std::string& /* table_name */, const TxnsSnapshot& /* txns_snapshot */) { - return; - } void get_next_notification(NotificationEventResponse& /* _return */, const NotificationEventRequest& /* rqst */) { return; } @@ -19798,242 +19790,6 @@ class ThriftHiveMetastore_add_dynamic_partitions_presult { }; -typedef struct _ThriftHiveMetastore_get_last_completed_transaction_for_tables_args__isset { - _ThriftHiveMetastore_get_last_completed_transaction_for_tables_args__isset() : db_names(false), table_names(false), txns_snapshot(false) {} - bool db_names :1; - bool table_names :1; - bool txns_snapshot :1; -} _ThriftHiveMetastore_get_last_completed_transaction_for_tables_args__isset; - -class ThriftHiveMetastore_get_last_completed_transaction_for_tables_args { - public: - - ThriftHiveMetastore_get_last_completed_transaction_for_tables_args(const ThriftHiveMetastore_get_last_completed_transaction_for_tables_args&); - ThriftHiveMetastore_get_last_completed_transaction_for_tables_args& operator=(const ThriftHiveMetastore_get_last_completed_transaction_for_tables_args&); - ThriftHiveMetastore_get_last_completed_transaction_for_tables_args() { - } - - virtual ~ThriftHiveMetastore_get_last_completed_transaction_for_tables_args() throw(); - std::vector db_names; - std::vector table_names; - TxnsSnapshot txns_snapshot; - - _ThriftHiveMetastore_get_last_completed_transaction_for_tables_args__isset __isset; - - void __set_db_names(const std::vector & val); - - void __set_table_names(const std::vector & val); - - void __set_txns_snapshot(const TxnsSnapshot& val); - - bool operator == (const ThriftHiveMetastore_get_last_completed_transaction_for_tables_args & rhs) const - { - if (!(db_names == rhs.db_names)) - return false; - if (!(table_names == rhs.table_names)) - return false; - if (!(txns_snapshot == rhs.txns_snapshot)) - return false; - return true; - } - bool operator != (const ThriftHiveMetastore_get_last_completed_transaction_for_tables_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ThriftHiveMetastore_get_last_completed_transaction_for_tables_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class ThriftHiveMetastore_get_last_completed_transaction_for_tables_pargs { - public: - - - virtual ~ThriftHiveMetastore_get_last_completed_transaction_for_tables_pargs() throw(); - const std::vector * db_names; - const std::vector * table_names; - const TxnsSnapshot* txns_snapshot; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _ThriftHiveMetastore_get_last_completed_transaction_for_tables_result__isset { - _ThriftHiveMetastore_get_last_completed_transaction_for_tables_result__isset() : success(false) {} - bool success :1; -} _ThriftHiveMetastore_get_last_completed_transaction_for_tables_result__isset; - -class ThriftHiveMetastore_get_last_completed_transaction_for_tables_result { - public: - - ThriftHiveMetastore_get_last_completed_transaction_for_tables_result(const ThriftHiveMetastore_get_last_completed_transaction_for_tables_result&); - ThriftHiveMetastore_get_last_completed_transaction_for_tables_result& operator=(const ThriftHiveMetastore_get_last_completed_transaction_for_tables_result&); - ThriftHiveMetastore_get_last_completed_transaction_for_tables_result() { - } - - virtual ~ThriftHiveMetastore_get_last_completed_transaction_for_tables_result() throw(); - std::vector success; - - _ThriftHiveMetastore_get_last_completed_transaction_for_tables_result__isset __isset; - - void __set_success(const std::vector & val); - - bool operator == (const ThriftHiveMetastore_get_last_completed_transaction_for_tables_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const ThriftHiveMetastore_get_last_completed_transaction_for_tables_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ThriftHiveMetastore_get_last_completed_transaction_for_tables_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult__isset { - _ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult__isset() : success(false) {} - bool success :1; -} _ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult__isset; - -class ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult { - public: - - - virtual ~ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult() throw(); - std::vector * success; - - _ThriftHiveMetastore_get_last_completed_transaction_for_tables_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - -typedef struct _ThriftHiveMetastore_get_last_completed_transaction_for_table_args__isset { - _ThriftHiveMetastore_get_last_completed_transaction_for_table_args__isset() : db_name(false), table_name(false), txns_snapshot(false) {} - bool db_name :1; - bool table_name :1; - bool txns_snapshot :1; -} _ThriftHiveMetastore_get_last_completed_transaction_for_table_args__isset; - -class ThriftHiveMetastore_get_last_completed_transaction_for_table_args { - public: - - ThriftHiveMetastore_get_last_completed_transaction_for_table_args(const ThriftHiveMetastore_get_last_completed_transaction_for_table_args&); - ThriftHiveMetastore_get_last_completed_transaction_for_table_args& operator=(const ThriftHiveMetastore_get_last_completed_transaction_for_table_args&); - ThriftHiveMetastore_get_last_completed_transaction_for_table_args() : db_name(), table_name() { - } - - virtual ~ThriftHiveMetastore_get_last_completed_transaction_for_table_args() throw(); - std::string db_name; - std::string table_name; - TxnsSnapshot txns_snapshot; - - _ThriftHiveMetastore_get_last_completed_transaction_for_table_args__isset __isset; - - void __set_db_name(const std::string& val); - - void __set_table_name(const std::string& val); - - void __set_txns_snapshot(const TxnsSnapshot& val); - - bool operator == (const ThriftHiveMetastore_get_last_completed_transaction_for_table_args & rhs) const - { - if (!(db_name == rhs.db_name)) - return false; - if (!(table_name == rhs.table_name)) - return false; - if (!(txns_snapshot == rhs.txns_snapshot)) - return false; - return true; - } - bool operator != (const ThriftHiveMetastore_get_last_completed_transaction_for_table_args &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ThriftHiveMetastore_get_last_completed_transaction_for_table_args & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - - -class ThriftHiveMetastore_get_last_completed_transaction_for_table_pargs { - public: - - - virtual ~ThriftHiveMetastore_get_last_completed_transaction_for_table_pargs() throw(); - const std::string* db_name; - const std::string* table_name; - const TxnsSnapshot* txns_snapshot; - - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _ThriftHiveMetastore_get_last_completed_transaction_for_table_result__isset { - _ThriftHiveMetastore_get_last_completed_transaction_for_table_result__isset() : success(false) {} - bool success :1; -} _ThriftHiveMetastore_get_last_completed_transaction_for_table_result__isset; - -class ThriftHiveMetastore_get_last_completed_transaction_for_table_result { - public: - - ThriftHiveMetastore_get_last_completed_transaction_for_table_result(const ThriftHiveMetastore_get_last_completed_transaction_for_table_result&); - ThriftHiveMetastore_get_last_completed_transaction_for_table_result& operator=(const ThriftHiveMetastore_get_last_completed_transaction_for_table_result&); - ThriftHiveMetastore_get_last_completed_transaction_for_table_result() { - } - - virtual ~ThriftHiveMetastore_get_last_completed_transaction_for_table_result() throw(); - BasicTxnInfo success; - - _ThriftHiveMetastore_get_last_completed_transaction_for_table_result__isset __isset; - - void __set_success(const BasicTxnInfo& val); - - bool operator == (const ThriftHiveMetastore_get_last_completed_transaction_for_table_result & rhs) const - { - if (!(success == rhs.success)) - return false; - return true; - } - bool operator != (const ThriftHiveMetastore_get_last_completed_transaction_for_table_result &rhs) const { - return !(*this == rhs); - } - - bool operator < (const ThriftHiveMetastore_get_last_completed_transaction_for_table_result & ) const; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; - -}; - -typedef struct _ThriftHiveMetastore_get_last_completed_transaction_for_table_presult__isset { - _ThriftHiveMetastore_get_last_completed_transaction_for_table_presult__isset() : success(false) {} - bool success :1; -} _ThriftHiveMetastore_get_last_completed_transaction_for_table_presult__isset; - -class ThriftHiveMetastore_get_last_completed_transaction_for_table_presult { - public: - - - virtual ~ThriftHiveMetastore_get_last_completed_transaction_for_table_presult() throw(); - BasicTxnInfo* success; - - _ThriftHiveMetastore_get_last_completed_transaction_for_table_presult__isset __isset; - - uint32_t read(::apache::thrift::protocol::TProtocol* iprot); - -}; - typedef struct _ThriftHiveMetastore_get_next_notification_args__isset { _ThriftHiveMetastore_get_next_notification_args__isset() : rqst(false) {} bool rqst :1; @@ -23871,12 +23627,6 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void add_dynamic_partitions(const AddDynamicPartitions& rqst); void send_add_dynamic_partitions(const AddDynamicPartitions& rqst); void recv_add_dynamic_partitions(); - void get_last_completed_transaction_for_tables(std::vector & _return, const std::vector & db_names, const std::vector & table_names, const TxnsSnapshot& txns_snapshot); - void send_get_last_completed_transaction_for_tables(const std::vector & db_names, const std::vector & table_names, const TxnsSnapshot& txns_snapshot); - void recv_get_last_completed_transaction_for_tables(std::vector & _return); - void get_last_completed_transaction_for_table(BasicTxnInfo& _return, const std::string& db_name, const std::string& table_name, const TxnsSnapshot& txns_snapshot); - void send_get_last_completed_transaction_for_table(const std::string& db_name, const std::string& table_name, const TxnsSnapshot& txns_snapshot); - void recv_get_last_completed_transaction_for_table(BasicTxnInfo& _return); void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst); void send_get_next_notification(const NotificationEventRequest& rqst); void recv_get_next_notification(NotificationEventResponse& _return); @@ -24126,8 +23876,6 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_compact2(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_show_compact(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_add_dynamic_partitions(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_get_last_completed_transaction_for_tables(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); - void process_get_last_completed_transaction_for_table(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_next_notification(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_current_notificationEventId(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_notification_events_count(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -24313,8 +24061,6 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["compact2"] = &ThriftHiveMetastoreProcessor::process_compact2; processMap_["show_compact"] = &ThriftHiveMetastoreProcessor::process_show_compact; processMap_["add_dynamic_partitions"] = &ThriftHiveMetastoreProcessor::process_add_dynamic_partitions; - processMap_["get_last_completed_transaction_for_tables"] = &ThriftHiveMetastoreProcessor::process_get_last_completed_transaction_for_tables; - processMap_["get_last_completed_transaction_for_table"] = &ThriftHiveMetastoreProcessor::process_get_last_completed_transaction_for_table; processMap_["get_next_notification"] = &ThriftHiveMetastoreProcessor::process_get_next_notification; processMap_["get_current_notificationEventId"] = &ThriftHiveMetastoreProcessor::process_get_current_notificationEventId; processMap_["get_notification_events_count"] = &ThriftHiveMetastoreProcessor::process_get_notification_events_count; @@ -25832,26 +25578,6 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi ifaces_[i]->add_dynamic_partitions(rqst); } - void get_last_completed_transaction_for_tables(std::vector & _return, const std::vector & db_names, const std::vector & table_names, const TxnsSnapshot& txns_snapshot) { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->get_last_completed_transaction_for_tables(_return, db_names, table_names, txns_snapshot); - } - ifaces_[i]->get_last_completed_transaction_for_tables(_return, db_names, table_names, txns_snapshot); - return; - } - - void get_last_completed_transaction_for_table(BasicTxnInfo& _return, const std::string& db_name, const std::string& table_name, const TxnsSnapshot& txns_snapshot) { - size_t sz = ifaces_.size(); - size_t i = 0; - for (; i < (sz - 1); ++i) { - ifaces_[i]->get_last_completed_transaction_for_table(_return, db_name, table_name, txns_snapshot); - } - ifaces_[i]->get_last_completed_transaction_for_table(_return, db_name, table_name, txns_snapshot); - return; - } - void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst) { size_t sz = ifaces_.size(); size_t i = 0; @@ -26613,12 +26339,6 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf void add_dynamic_partitions(const AddDynamicPartitions& rqst); int32_t send_add_dynamic_partitions(const AddDynamicPartitions& rqst); void recv_add_dynamic_partitions(const int32_t seqid); - void get_last_completed_transaction_for_tables(std::vector & _return, const std::vector & db_names, const std::vector & table_names, const TxnsSnapshot& txns_snapshot); - int32_t send_get_last_completed_transaction_for_tables(const std::vector & db_names, const std::vector & table_names, const TxnsSnapshot& txns_snapshot); - void recv_get_last_completed_transaction_for_tables(std::vector & _return, const int32_t seqid); - void get_last_completed_transaction_for_table(BasicTxnInfo& _return, const std::string& db_name, const std::string& table_name, const TxnsSnapshot& txns_snapshot); - int32_t send_get_last_completed_transaction_for_table(const std::string& db_name, const std::string& table_name, const TxnsSnapshot& txns_snapshot); - void recv_get_last_completed_transaction_for_table(BasicTxnInfo& _return, const int32_t seqid); void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst); int32_t send_get_next_notification(const NotificationEventRequest& rqst); void recv_get_next_notification(NotificationEventResponse& _return, const int32_t seqid); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp index 6a2ff6c4c6..cf9a1713aa 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp @@ -782,16 +782,6 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("add_dynamic_partitions\n"); } - void get_last_completed_transaction_for_tables(std::vector & _return, const std::vector & db_names, const std::vector & table_names, const TxnsSnapshot& txns_snapshot) { - // Your implementation goes here - printf("get_last_completed_transaction_for_tables\n"); - } - - void get_last_completed_transaction_for_table(BasicTxnInfo& _return, const std::string& db_name, const std::string& table_name, const TxnsSnapshot& txns_snapshot) { - // Your implementation goes here - printf("get_last_completed_transaction_for_table\n"); - } - void get_next_notification(NotificationEventResponse& _return, const NotificationEventRequest& rqst) { // Your implementation goes here printf("get_next_notification\n"); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp index 27f8c0f2fc..aadf8f17c4 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp @@ -4940,7 +4940,7 @@ void Table::__set_rewriteEnabled(const bool val) { __isset.rewriteEnabled = true; } -void Table::__set_creationMetadata(const std::map & val) { +void Table::__set_creationMetadata(const CreationMetadata& val) { this->creationMetadata = val; __isset.creationMetadata = true; } @@ -5114,23 +5114,8 @@ uint32_t Table::read(::apache::thrift::protocol::TProtocol* iprot) { } break; case 16: - if (ftype == ::apache::thrift::protocol::T_MAP) { - { - this->creationMetadata.clear(); - uint32_t _size223; - ::apache::thrift::protocol::TType _ktype224; - ::apache::thrift::protocol::TType _vtype225; - xfer += iprot->readMapBegin(_ktype224, _vtype225, _size223); - uint32_t _i227; - for (_i227 = 0; _i227 < _size223; ++_i227) - { - std::string _key228; - xfer += iprot->readString(_key228); - BasicTxnInfo& _val229 = this->creationMetadata[_key228]; - xfer += _val229.read(iprot); - } - xfer += iprot->readMapEnd(); - } + if (ftype == ::apache::thrift::protocol::T_STRUCT) { + xfer += this->creationMetadata.read(iprot); this->__isset.creationMetadata = true; } else { xfer += iprot->skip(ftype); @@ -5184,10 +5169,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 _iter230; - for (_iter230 = this->partitionKeys.begin(); _iter230 != this->partitionKeys.end(); ++_iter230) + std::vector ::const_iterator _iter223; + for (_iter223 = this->partitionKeys.begin(); _iter223 != this->partitionKeys.end(); ++_iter223) { - xfer += (*_iter230).write(oprot); + xfer += (*_iter223).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5196,11 +5181,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 _iter231; - for (_iter231 = this->parameters.begin(); _iter231 != this->parameters.end(); ++_iter231) + std::map ::const_iterator _iter224; + for (_iter224 = this->parameters.begin(); _iter224 != this->parameters.end(); ++_iter224) { - xfer += oprot->writeString(_iter231->first); - xfer += oprot->writeString(_iter231->second); + xfer += oprot->writeString(_iter224->first); + xfer += oprot->writeString(_iter224->second); } xfer += oprot->writeMapEnd(); } @@ -5234,17 +5219,8 @@ uint32_t Table::write(::apache::thrift::protocol::TProtocol* oprot) const { xfer += oprot->writeFieldEnd(); } if (this->__isset.creationMetadata) { - xfer += oprot->writeFieldBegin("creationMetadata", ::apache::thrift::protocol::T_MAP, 16); - { - xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->creationMetadata.size())); - std::map ::const_iterator _iter232; - for (_iter232 = this->creationMetadata.begin(); _iter232 != this->creationMetadata.end(); ++_iter232) - { - xfer += oprot->writeString(_iter232->first); - xfer += _iter232->second.write(oprot); - } - xfer += oprot->writeMapEnd(); - } + xfer += oprot->writeFieldBegin("creationMetadata", ::apache::thrift::protocol::T_STRUCT, 16); + xfer += this->creationMetadata.write(oprot); xfer += oprot->writeFieldEnd(); } xfer += oprot->writeFieldStop(); @@ -5273,43 +5249,43 @@ void swap(Table &a, Table &b) { swap(a.__isset, b.__isset); } -Table::Table(const Table& other233) { - tableName = other233.tableName; - dbName = other233.dbName; - owner = other233.owner; - createTime = other233.createTime; - lastAccessTime = other233.lastAccessTime; - retention = other233.retention; - sd = other233.sd; - partitionKeys = other233.partitionKeys; - parameters = other233.parameters; - viewOriginalText = other233.viewOriginalText; - viewExpandedText = other233.viewExpandedText; - tableType = other233.tableType; - privileges = other233.privileges; - temporary = other233.temporary; - rewriteEnabled = other233.rewriteEnabled; - creationMetadata = other233.creationMetadata; - __isset = other233.__isset; -} -Table& Table::operator=(const Table& other234) { - tableName = other234.tableName; - dbName = other234.dbName; - owner = other234.owner; - createTime = other234.createTime; - lastAccessTime = other234.lastAccessTime; - retention = other234.retention; - sd = other234.sd; - partitionKeys = other234.partitionKeys; - parameters = other234.parameters; - viewOriginalText = other234.viewOriginalText; - viewExpandedText = other234.viewExpandedText; - tableType = other234.tableType; - privileges = other234.privileges; - temporary = other234.temporary; - rewriteEnabled = other234.rewriteEnabled; - creationMetadata = other234.creationMetadata; - __isset = other234.__isset; +Table::Table(const Table& other225) { + tableName = other225.tableName; + dbName = other225.dbName; + owner = other225.owner; + createTime = other225.createTime; + lastAccessTime = other225.lastAccessTime; + retention = other225.retention; + sd = other225.sd; + partitionKeys = other225.partitionKeys; + parameters = other225.parameters; + viewOriginalText = other225.viewOriginalText; + viewExpandedText = other225.viewExpandedText; + tableType = other225.tableType; + privileges = other225.privileges; + temporary = other225.temporary; + rewriteEnabled = other225.rewriteEnabled; + creationMetadata = other225.creationMetadata; + __isset = other225.__isset; +} +Table& Table::operator=(const Table& other226) { + tableName = other226.tableName; + dbName = other226.dbName; + owner = other226.owner; + createTime = other226.createTime; + lastAccessTime = other226.lastAccessTime; + retention = other226.retention; + sd = other226.sd; + partitionKeys = other226.partitionKeys; + parameters = other226.parameters; + viewOriginalText = other226.viewOriginalText; + viewExpandedText = other226.viewExpandedText; + tableType = other226.tableType; + privileges = other226.privileges; + temporary = other226.temporary; + rewriteEnabled = other226.rewriteEnabled; + creationMetadata = other226.creationMetadata; + __isset = other226.__isset; return *this; } void Table::printTo(std::ostream& out) const { @@ -5397,14 +5373,14 @@ uint32_t Partition::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 _size227; + ::apache::thrift::protocol::TType _etype230; + xfer += iprot->readListBegin(_etype230, _size227); + this->values.resize(_size227); + uint32_t _i231; + for (_i231 = 0; _i231 < _size227; ++_i231) { - xfer += iprot->readString(this->values[_i239]); + xfer += iprot->readString(this->values[_i231]); } xfer += iprot->readListEnd(); } @@ -5457,17 +5433,17 @@ uint32_t Partition::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 _size232; + ::apache::thrift::protocol::TType _ktype233; + ::apache::thrift::protocol::TType _vtype234; + xfer += iprot->readMapBegin(_ktype233, _vtype234, _size232); + uint32_t _i236; + for (_i236 = 0; _i236 < _size232; ++_i236) { - std::string _key245; - xfer += iprot->readString(_key245); - std::string& _val246 = this->parameters[_key245]; - xfer += iprot->readString(_val246); + std::string _key237; + xfer += iprot->readString(_key237); + std::string& _val238 = this->parameters[_key237]; + xfer += iprot->readString(_val238); } xfer += iprot->readMapEnd(); } @@ -5504,10 +5480,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 _iter247; - for (_iter247 = this->values.begin(); _iter247 != this->values.end(); ++_iter247) + std::vector ::const_iterator _iter239; + for (_iter239 = this->values.begin(); _iter239 != this->values.end(); ++_iter239) { - xfer += oprot->writeString((*_iter247)); + xfer += oprot->writeString((*_iter239)); } xfer += oprot->writeListEnd(); } @@ -5536,11 +5512,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 _iter248; - for (_iter248 = this->parameters.begin(); _iter248 != this->parameters.end(); ++_iter248) + std::map ::const_iterator _iter240; + for (_iter240 = this->parameters.begin(); _iter240 != this->parameters.end(); ++_iter240) { - xfer += oprot->writeString(_iter248->first); - xfer += oprot->writeString(_iter248->second); + xfer += oprot->writeString(_iter240->first); + xfer += oprot->writeString(_iter240->second); } xfer += oprot->writeMapEnd(); } @@ -5569,27 +5545,27 @@ void swap(Partition &a, Partition &b) { swap(a.__isset, b.__isset); } -Partition::Partition(const Partition& other249) { - values = other249.values; - dbName = other249.dbName; - tableName = other249.tableName; - createTime = other249.createTime; - lastAccessTime = other249.lastAccessTime; - sd = other249.sd; - parameters = other249.parameters; - privileges = other249.privileges; - __isset = other249.__isset; -} -Partition& Partition::operator=(const Partition& other250) { - values = other250.values; - dbName = other250.dbName; - tableName = other250.tableName; - createTime = other250.createTime; - lastAccessTime = other250.lastAccessTime; - sd = other250.sd; - parameters = other250.parameters; - privileges = other250.privileges; - __isset = other250.__isset; +Partition::Partition(const Partition& other241) { + values = other241.values; + dbName = other241.dbName; + tableName = other241.tableName; + createTime = other241.createTime; + lastAccessTime = other241.lastAccessTime; + sd = other241.sd; + parameters = other241.parameters; + privileges = other241.privileges; + __isset = other241.__isset; +} +Partition& Partition::operator=(const Partition& other242) { + values = other242.values; + dbName = other242.dbName; + tableName = other242.tableName; + createTime = other242.createTime; + lastAccessTime = other242.lastAccessTime; + sd = other242.sd; + parameters = other242.parameters; + privileges = other242.privileges; + __isset = other242.__isset; return *this; } void Partition::printTo(std::ostream& out) const { @@ -5661,14 +5637,14 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size251; - ::apache::thrift::protocol::TType _etype254; - xfer += iprot->readListBegin(_etype254, _size251); - this->values.resize(_size251); - uint32_t _i255; - for (_i255 = 0; _i255 < _size251; ++_i255) + uint32_t _size243; + ::apache::thrift::protocol::TType _etype246; + xfer += iprot->readListBegin(_etype246, _size243); + this->values.resize(_size243); + uint32_t _i247; + for (_i247 = 0; _i247 < _size243; ++_i247) { - xfer += iprot->readString(this->values[_i255]); + xfer += iprot->readString(this->values[_i247]); } xfer += iprot->readListEnd(); } @@ -5705,17 +5681,17 @@ uint32_t PartitionWithoutSD::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size256; - ::apache::thrift::protocol::TType _ktype257; - ::apache::thrift::protocol::TType _vtype258; - xfer += iprot->readMapBegin(_ktype257, _vtype258, _size256); - uint32_t _i260; - for (_i260 = 0; _i260 < _size256; ++_i260) + uint32_t _size248; + ::apache::thrift::protocol::TType _ktype249; + ::apache::thrift::protocol::TType _vtype250; + xfer += iprot->readMapBegin(_ktype249, _vtype250, _size248); + uint32_t _i252; + for (_i252 = 0; _i252 < _size248; ++_i252) { - std::string _key261; - xfer += iprot->readString(_key261); - std::string& _val262 = this->parameters[_key261]; - xfer += iprot->readString(_val262); + std::string _key253; + xfer += iprot->readString(_key253); + std::string& _val254 = this->parameters[_key253]; + xfer += iprot->readString(_val254); } xfer += iprot->readMapEnd(); } @@ -5752,10 +5728,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 _iter263; - for (_iter263 = this->values.begin(); _iter263 != this->values.end(); ++_iter263) + std::vector ::const_iterator _iter255; + for (_iter255 = this->values.begin(); _iter255 != this->values.end(); ++_iter255) { - xfer += oprot->writeString((*_iter263)); + xfer += oprot->writeString((*_iter255)); } xfer += oprot->writeListEnd(); } @@ -5776,11 +5752,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 _iter264; - for (_iter264 = this->parameters.begin(); _iter264 != this->parameters.end(); ++_iter264) + std::map ::const_iterator _iter256; + for (_iter256 = this->parameters.begin(); _iter256 != this->parameters.end(); ++_iter256) { - xfer += oprot->writeString(_iter264->first); - xfer += oprot->writeString(_iter264->second); + xfer += oprot->writeString(_iter256->first); + xfer += oprot->writeString(_iter256->second); } xfer += oprot->writeMapEnd(); } @@ -5807,23 +5783,23 @@ void swap(PartitionWithoutSD &a, PartitionWithoutSD &b) { swap(a.__isset, b.__isset); } -PartitionWithoutSD::PartitionWithoutSD(const PartitionWithoutSD& other265) { - values = other265.values; - createTime = other265.createTime; - lastAccessTime = other265.lastAccessTime; - relativePath = other265.relativePath; - parameters = other265.parameters; - privileges = other265.privileges; - __isset = other265.__isset; -} -PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& other266) { - values = other266.values; - createTime = other266.createTime; - lastAccessTime = other266.lastAccessTime; - relativePath = other266.relativePath; - parameters = other266.parameters; - privileges = other266.privileges; - __isset = other266.__isset; +PartitionWithoutSD::PartitionWithoutSD(const PartitionWithoutSD& other257) { + values = other257.values; + createTime = other257.createTime; + lastAccessTime = other257.lastAccessTime; + relativePath = other257.relativePath; + parameters = other257.parameters; + privileges = other257.privileges; + __isset = other257.__isset; +} +PartitionWithoutSD& PartitionWithoutSD::operator=(const PartitionWithoutSD& other258) { + values = other258.values; + createTime = other258.createTime; + lastAccessTime = other258.lastAccessTime; + relativePath = other258.relativePath; + parameters = other258.parameters; + privileges = other258.privileges; + __isset = other258.__isset; return *this; } void PartitionWithoutSD::printTo(std::ostream& out) const { @@ -5876,14 +5852,14 @@ uint32_t PartitionSpecWithSharedSD::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size267; - ::apache::thrift::protocol::TType _etype270; - xfer += iprot->readListBegin(_etype270, _size267); - this->partitions.resize(_size267); - uint32_t _i271; - for (_i271 = 0; _i271 < _size267; ++_i271) + 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) { - xfer += this->partitions[_i271].read(iprot); + xfer += this->partitions[_i263].read(iprot); } xfer += iprot->readListEnd(); } @@ -5920,10 +5896,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 _iter272; - for (_iter272 = this->partitions.begin(); _iter272 != this->partitions.end(); ++_iter272) + std::vector ::const_iterator _iter264; + for (_iter264 = this->partitions.begin(); _iter264 != this->partitions.end(); ++_iter264) { - xfer += (*_iter272).write(oprot); + xfer += (*_iter264).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5945,15 +5921,15 @@ void swap(PartitionSpecWithSharedSD &a, PartitionSpecWithSharedSD &b) { swap(a.__isset, b.__isset); } -PartitionSpecWithSharedSD::PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD& other273) { - partitions = other273.partitions; - sd = other273.sd; - __isset = other273.__isset; +PartitionSpecWithSharedSD::PartitionSpecWithSharedSD(const PartitionSpecWithSharedSD& other265) { + partitions = other265.partitions; + sd = other265.sd; + __isset = other265.__isset; } -PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionSpecWithSharedSD& other274) { - partitions = other274.partitions; - sd = other274.sd; - __isset = other274.__isset; +PartitionSpecWithSharedSD& PartitionSpecWithSharedSD::operator=(const PartitionSpecWithSharedSD& other266) { + partitions = other266.partitions; + sd = other266.sd; + __isset = other266.__isset; return *this; } void PartitionSpecWithSharedSD::printTo(std::ostream& out) const { @@ -5998,14 +5974,14 @@ uint32_t PartitionListComposingSpec::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size275; - ::apache::thrift::protocol::TType _etype278; - xfer += iprot->readListBegin(_etype278, _size275); - this->partitions.resize(_size275); - uint32_t _i279; - for (_i279 = 0; _i279 < _size275; ++_i279) + uint32_t _size267; + ::apache::thrift::protocol::TType _etype270; + xfer += iprot->readListBegin(_etype270, _size267); + this->partitions.resize(_size267); + uint32_t _i271; + for (_i271 = 0; _i271 < _size267; ++_i271) { - xfer += this->partitions[_i279].read(iprot); + xfer += this->partitions[_i271].read(iprot); } xfer += iprot->readListEnd(); } @@ -6034,10 +6010,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 _iter280; - for (_iter280 = this->partitions.begin(); _iter280 != this->partitions.end(); ++_iter280) + std::vector ::const_iterator _iter272; + for (_iter272 = this->partitions.begin(); _iter272 != this->partitions.end(); ++_iter272) { - xfer += (*_iter280).write(oprot); + xfer += (*_iter272).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6054,13 +6030,13 @@ void swap(PartitionListComposingSpec &a, PartitionListComposingSpec &b) { swap(a.__isset, b.__isset); } -PartitionListComposingSpec::PartitionListComposingSpec(const PartitionListComposingSpec& other281) { - partitions = other281.partitions; - __isset = other281.__isset; +PartitionListComposingSpec::PartitionListComposingSpec(const PartitionListComposingSpec& other273) { + partitions = other273.partitions; + __isset = other273.__isset; } -PartitionListComposingSpec& PartitionListComposingSpec::operator=(const PartitionListComposingSpec& other282) { - partitions = other282.partitions; - __isset = other282.__isset; +PartitionListComposingSpec& PartitionListComposingSpec::operator=(const PartitionListComposingSpec& other274) { + partitions = other274.partitions; + __isset = other274.__isset; return *this; } void PartitionListComposingSpec::printTo(std::ostream& out) const { @@ -6212,21 +6188,21 @@ void swap(PartitionSpec &a, PartitionSpec &b) { swap(a.__isset, b.__isset); } -PartitionSpec::PartitionSpec(const PartitionSpec& other283) { - dbName = other283.dbName; - tableName = other283.tableName; - rootPath = other283.rootPath; - sharedSDPartitionSpec = other283.sharedSDPartitionSpec; - partitionList = other283.partitionList; - __isset = other283.__isset; -} -PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other284) { - dbName = other284.dbName; - tableName = other284.tableName; - rootPath = other284.rootPath; - sharedSDPartitionSpec = other284.sharedSDPartitionSpec; - partitionList = other284.partitionList; - __isset = other284.__isset; +PartitionSpec::PartitionSpec(const PartitionSpec& other275) { + dbName = other275.dbName; + tableName = other275.tableName; + rootPath = other275.rootPath; + sharedSDPartitionSpec = other275.sharedSDPartitionSpec; + partitionList = other275.partitionList; + __isset = other275.__isset; +} +PartitionSpec& PartitionSpec::operator=(const PartitionSpec& other276) { + dbName = other276.dbName; + tableName = other276.tableName; + rootPath = other276.rootPath; + sharedSDPartitionSpec = other276.sharedSDPartitionSpec; + partitionList = other276.partitionList; + __isset = other276.__isset; return *this; } void PartitionSpec::printTo(std::ostream& out) const { @@ -6374,17 +6350,17 @@ uint32_t Index::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->parameters.clear(); - uint32_t _size285; - ::apache::thrift::protocol::TType _ktype286; - ::apache::thrift::protocol::TType _vtype287; - xfer += iprot->readMapBegin(_ktype286, _vtype287, _size285); - uint32_t _i289; - for (_i289 = 0; _i289 < _size285; ++_i289) + uint32_t _size277; + ::apache::thrift::protocol::TType _ktype278; + ::apache::thrift::protocol::TType _vtype279; + xfer += iprot->readMapBegin(_ktype278, _vtype279, _size277); + uint32_t _i281; + for (_i281 = 0; _i281 < _size277; ++_i281) { - std::string _key290; - xfer += iprot->readString(_key290); - std::string& _val291 = this->parameters[_key290]; - xfer += iprot->readString(_val291); + std::string _key282; + xfer += iprot->readString(_key282); + std::string& _val283 = this->parameters[_key282]; + xfer += iprot->readString(_val283); } xfer += iprot->readMapEnd(); } @@ -6453,11 +6429,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 _iter292; - for (_iter292 = this->parameters.begin(); _iter292 != this->parameters.end(); ++_iter292) + std::map ::const_iterator _iter284; + for (_iter284 = this->parameters.begin(); _iter284 != this->parameters.end(); ++_iter284) { - xfer += oprot->writeString(_iter292->first); - xfer += oprot->writeString(_iter292->second); + xfer += oprot->writeString(_iter284->first); + xfer += oprot->writeString(_iter284->second); } xfer += oprot->writeMapEnd(); } @@ -6487,31 +6463,31 @@ void swap(Index &a, Index &b) { swap(a.__isset, b.__isset); } -Index::Index(const Index& other293) { - indexName = other293.indexName; - indexHandlerClass = other293.indexHandlerClass; - dbName = other293.dbName; - origTableName = other293.origTableName; - createTime = other293.createTime; - lastAccessTime = other293.lastAccessTime; - indexTableName = other293.indexTableName; - sd = other293.sd; - parameters = other293.parameters; - deferredRebuild = other293.deferredRebuild; - __isset = other293.__isset; -} -Index& Index::operator=(const Index& other294) { - indexName = other294.indexName; - indexHandlerClass = other294.indexHandlerClass; - dbName = other294.dbName; - origTableName = other294.origTableName; - createTime = other294.createTime; - lastAccessTime = other294.lastAccessTime; - indexTableName = other294.indexTableName; - sd = other294.sd; - parameters = other294.parameters; - deferredRebuild = other294.deferredRebuild; - __isset = other294.__isset; +Index::Index(const Index& other285) { + indexName = other285.indexName; + indexHandlerClass = other285.indexHandlerClass; + dbName = other285.dbName; + origTableName = other285.origTableName; + createTime = other285.createTime; + lastAccessTime = other285.lastAccessTime; + indexTableName = other285.indexTableName; + sd = other285.sd; + parameters = other285.parameters; + deferredRebuild = other285.deferredRebuild; + __isset = other285.__isset; +} +Index& Index::operator=(const Index& other286) { + indexName = other286.indexName; + indexHandlerClass = other286.indexHandlerClass; + dbName = other286.dbName; + origTableName = other286.origTableName; + createTime = other286.createTime; + lastAccessTime = other286.lastAccessTime; + indexTableName = other286.indexTableName; + sd = other286.sd; + parameters = other286.parameters; + deferredRebuild = other286.deferredRebuild; + __isset = other286.__isset; return *this; } void Index::printTo(std::ostream& out) const { @@ -6662,19 +6638,19 @@ void swap(BooleanColumnStatsData &a, BooleanColumnStatsData &b) { swap(a.__isset, b.__isset); } -BooleanColumnStatsData::BooleanColumnStatsData(const BooleanColumnStatsData& other295) { - numTrues = other295.numTrues; - numFalses = other295.numFalses; - numNulls = other295.numNulls; - bitVectors = other295.bitVectors; - __isset = other295.__isset; +BooleanColumnStatsData::BooleanColumnStatsData(const BooleanColumnStatsData& other287) { + numTrues = other287.numTrues; + numFalses = other287.numFalses; + numNulls = other287.numNulls; + bitVectors = other287.bitVectors; + __isset = other287.__isset; } -BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnStatsData& other296) { - numTrues = other296.numTrues; - numFalses = other296.numFalses; - numNulls = other296.numNulls; - bitVectors = other296.bitVectors; - __isset = other296.__isset; +BooleanColumnStatsData& BooleanColumnStatsData::operator=(const BooleanColumnStatsData& other288) { + numTrues = other288.numTrues; + numFalses = other288.numFalses; + numNulls = other288.numNulls; + bitVectors = other288.bitVectors; + __isset = other288.__isset; return *this; } void BooleanColumnStatsData::printTo(std::ostream& out) const { @@ -6837,21 +6813,21 @@ void swap(DoubleColumnStatsData &a, DoubleColumnStatsData &b) { swap(a.__isset, b.__isset); } -DoubleColumnStatsData::DoubleColumnStatsData(const DoubleColumnStatsData& other297) { - lowValue = other297.lowValue; - highValue = other297.highValue; - numNulls = other297.numNulls; - numDVs = other297.numDVs; - bitVectors = other297.bitVectors; - __isset = other297.__isset; -} -DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsData& other298) { - lowValue = other298.lowValue; - highValue = other298.highValue; - numNulls = other298.numNulls; - numDVs = other298.numDVs; - bitVectors = other298.bitVectors; - __isset = other298.__isset; +DoubleColumnStatsData::DoubleColumnStatsData(const DoubleColumnStatsData& other289) { + lowValue = other289.lowValue; + highValue = other289.highValue; + numNulls = other289.numNulls; + numDVs = other289.numDVs; + bitVectors = other289.bitVectors; + __isset = other289.__isset; +} +DoubleColumnStatsData& DoubleColumnStatsData::operator=(const DoubleColumnStatsData& other290) { + lowValue = other290.lowValue; + highValue = other290.highValue; + numNulls = other290.numNulls; + numDVs = other290.numDVs; + bitVectors = other290.bitVectors; + __isset = other290.__isset; return *this; } void DoubleColumnStatsData::printTo(std::ostream& out) const { @@ -7015,21 +6991,21 @@ void swap(LongColumnStatsData &a, LongColumnStatsData &b) { swap(a.__isset, b.__isset); } -LongColumnStatsData::LongColumnStatsData(const LongColumnStatsData& other299) { - lowValue = other299.lowValue; - highValue = other299.highValue; - numNulls = other299.numNulls; - numDVs = other299.numDVs; - bitVectors = other299.bitVectors; - __isset = other299.__isset; -} -LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& other300) { - lowValue = other300.lowValue; - highValue = other300.highValue; - numNulls = other300.numNulls; - numDVs = other300.numDVs; - bitVectors = other300.bitVectors; - __isset = other300.__isset; +LongColumnStatsData::LongColumnStatsData(const LongColumnStatsData& other291) { + lowValue = other291.lowValue; + highValue = other291.highValue; + numNulls = other291.numNulls; + numDVs = other291.numDVs; + bitVectors = other291.bitVectors; + __isset = other291.__isset; +} +LongColumnStatsData& LongColumnStatsData::operator=(const LongColumnStatsData& other292) { + lowValue = other292.lowValue; + highValue = other292.highValue; + numNulls = other292.numNulls; + numDVs = other292.numDVs; + bitVectors = other292.bitVectors; + __isset = other292.__isset; return *this; } void LongColumnStatsData::printTo(std::ostream& out) const { @@ -7195,21 +7171,21 @@ void swap(StringColumnStatsData &a, StringColumnStatsData &b) { swap(a.__isset, b.__isset); } -StringColumnStatsData::StringColumnStatsData(const StringColumnStatsData& other301) { - maxColLen = other301.maxColLen; - avgColLen = other301.avgColLen; - numNulls = other301.numNulls; - numDVs = other301.numDVs; - bitVectors = other301.bitVectors; - __isset = other301.__isset; -} -StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsData& other302) { - maxColLen = other302.maxColLen; - avgColLen = other302.avgColLen; - numNulls = other302.numNulls; - numDVs = other302.numDVs; - bitVectors = other302.bitVectors; - __isset = other302.__isset; +StringColumnStatsData::StringColumnStatsData(const StringColumnStatsData& other293) { + maxColLen = other293.maxColLen; + avgColLen = other293.avgColLen; + numNulls = other293.numNulls; + numDVs = other293.numDVs; + bitVectors = other293.bitVectors; + __isset = other293.__isset; +} +StringColumnStatsData& StringColumnStatsData::operator=(const StringColumnStatsData& other294) { + maxColLen = other294.maxColLen; + avgColLen = other294.avgColLen; + numNulls = other294.numNulls; + numDVs = other294.numDVs; + bitVectors = other294.bitVectors; + __isset = other294.__isset; return *this; } void StringColumnStatsData::printTo(std::ostream& out) const { @@ -7355,19 +7331,19 @@ void swap(BinaryColumnStatsData &a, BinaryColumnStatsData &b) { swap(a.__isset, b.__isset); } -BinaryColumnStatsData::BinaryColumnStatsData(const BinaryColumnStatsData& other303) { - maxColLen = other303.maxColLen; - avgColLen = other303.avgColLen; - numNulls = other303.numNulls; - bitVectors = other303.bitVectors; - __isset = other303.__isset; +BinaryColumnStatsData::BinaryColumnStatsData(const BinaryColumnStatsData& other295) { + maxColLen = other295.maxColLen; + avgColLen = other295.avgColLen; + numNulls = other295.numNulls; + bitVectors = other295.bitVectors; + __isset = other295.__isset; } -BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsData& other304) { - maxColLen = other304.maxColLen; - avgColLen = other304.avgColLen; - numNulls = other304.numNulls; - bitVectors = other304.bitVectors; - __isset = other304.__isset; +BinaryColumnStatsData& BinaryColumnStatsData::operator=(const BinaryColumnStatsData& other296) { + maxColLen = other296.maxColLen; + avgColLen = other296.avgColLen; + numNulls = other296.numNulls; + bitVectors = other296.bitVectors; + __isset = other296.__isset; return *this; } void BinaryColumnStatsData::printTo(std::ostream& out) const { @@ -7472,13 +7448,13 @@ void swap(Decimal &a, Decimal &b) { swap(a.scale, b.scale); } -Decimal::Decimal(const Decimal& other305) { - unscaled = other305.unscaled; - scale = other305.scale; +Decimal::Decimal(const Decimal& other297) { + unscaled = other297.unscaled; + scale = other297.scale; } -Decimal& Decimal::operator=(const Decimal& other306) { - unscaled = other306.unscaled; - scale = other306.scale; +Decimal& Decimal::operator=(const Decimal& other298) { + unscaled = other298.unscaled; + scale = other298.scale; return *this; } void Decimal::printTo(std::ostream& out) const { @@ -7639,21 +7615,21 @@ void swap(DecimalColumnStatsData &a, DecimalColumnStatsData &b) { swap(a.__isset, b.__isset); } -DecimalColumnStatsData::DecimalColumnStatsData(const DecimalColumnStatsData& other307) { - lowValue = other307.lowValue; - highValue = other307.highValue; - numNulls = other307.numNulls; - numDVs = other307.numDVs; - bitVectors = other307.bitVectors; - __isset = other307.__isset; -} -DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnStatsData& other308) { - lowValue = other308.lowValue; - highValue = other308.highValue; - numNulls = other308.numNulls; - numDVs = other308.numDVs; - bitVectors = other308.bitVectors; - __isset = other308.__isset; +DecimalColumnStatsData::DecimalColumnStatsData(const DecimalColumnStatsData& other299) { + lowValue = other299.lowValue; + highValue = other299.highValue; + numNulls = other299.numNulls; + numDVs = other299.numDVs; + bitVectors = other299.bitVectors; + __isset = other299.__isset; +} +DecimalColumnStatsData& DecimalColumnStatsData::operator=(const DecimalColumnStatsData& other300) { + lowValue = other300.lowValue; + highValue = other300.highValue; + numNulls = other300.numNulls; + numDVs = other300.numDVs; + bitVectors = other300.bitVectors; + __isset = other300.__isset; return *this; } void DecimalColumnStatsData::printTo(std::ostream& out) const { @@ -7739,11 +7715,11 @@ void swap(Date &a, Date &b) { swap(a.daysSinceEpoch, b.daysSinceEpoch); } -Date::Date(const Date& other309) { - daysSinceEpoch = other309.daysSinceEpoch; +Date::Date(const Date& other301) { + daysSinceEpoch = other301.daysSinceEpoch; } -Date& Date::operator=(const Date& other310) { - daysSinceEpoch = other310.daysSinceEpoch; +Date& Date::operator=(const Date& other302) { + daysSinceEpoch = other302.daysSinceEpoch; return *this; } void Date::printTo(std::ostream& out) const { @@ -7903,21 +7879,21 @@ void swap(DateColumnStatsData &a, DateColumnStatsData &b) { swap(a.__isset, b.__isset); } -DateColumnStatsData::DateColumnStatsData(const DateColumnStatsData& other311) { - lowValue = other311.lowValue; - highValue = other311.highValue; - numNulls = other311.numNulls; - numDVs = other311.numDVs; - bitVectors = other311.bitVectors; - __isset = other311.__isset; -} -DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& other312) { - lowValue = other312.lowValue; - highValue = other312.highValue; - numNulls = other312.numNulls; - numDVs = other312.numDVs; - bitVectors = other312.bitVectors; - __isset = other312.__isset; +DateColumnStatsData::DateColumnStatsData(const DateColumnStatsData& other303) { + lowValue = other303.lowValue; + highValue = other303.highValue; + numNulls = other303.numNulls; + numDVs = other303.numDVs; + bitVectors = other303.bitVectors; + __isset = other303.__isset; +} +DateColumnStatsData& DateColumnStatsData::operator=(const DateColumnStatsData& other304) { + lowValue = other304.lowValue; + highValue = other304.highValue; + numNulls = other304.numNulls; + numDVs = other304.numDVs; + bitVectors = other304.bitVectors; + __isset = other304.__isset; return *this; } void DateColumnStatsData::printTo(std::ostream& out) const { @@ -8103,25 +8079,25 @@ void swap(ColumnStatisticsData &a, ColumnStatisticsData &b) { swap(a.__isset, b.__isset); } -ColumnStatisticsData::ColumnStatisticsData(const ColumnStatisticsData& other313) { - booleanStats = other313.booleanStats; - longStats = other313.longStats; - doubleStats = other313.doubleStats; - stringStats = other313.stringStats; - binaryStats = other313.binaryStats; - decimalStats = other313.decimalStats; - dateStats = other313.dateStats; - __isset = other313.__isset; -} -ColumnStatisticsData& ColumnStatisticsData::operator=(const ColumnStatisticsData& other314) { - booleanStats = other314.booleanStats; - longStats = other314.longStats; - doubleStats = other314.doubleStats; - stringStats = other314.stringStats; - binaryStats = other314.binaryStats; - decimalStats = other314.decimalStats; - dateStats = other314.dateStats; - __isset = other314.__isset; +ColumnStatisticsData::ColumnStatisticsData(const ColumnStatisticsData& other305) { + booleanStats = other305.booleanStats; + longStats = other305.longStats; + doubleStats = other305.doubleStats; + stringStats = other305.stringStats; + binaryStats = other305.binaryStats; + decimalStats = other305.decimalStats; + dateStats = other305.dateStats; + __isset = other305.__isset; +} +ColumnStatisticsData& ColumnStatisticsData::operator=(const ColumnStatisticsData& other306) { + booleanStats = other306.booleanStats; + longStats = other306.longStats; + doubleStats = other306.doubleStats; + stringStats = other306.stringStats; + binaryStats = other306.binaryStats; + decimalStats = other306.decimalStats; + dateStats = other306.dateStats; + __isset = other306.__isset; return *this; } void ColumnStatisticsData::printTo(std::ostream& out) const { @@ -8249,15 +8225,15 @@ void swap(ColumnStatisticsObj &a, ColumnStatisticsObj &b) { swap(a.statsData, b.statsData); } -ColumnStatisticsObj::ColumnStatisticsObj(const ColumnStatisticsObj& other315) { - colName = other315.colName; - colType = other315.colType; - statsData = other315.statsData; +ColumnStatisticsObj::ColumnStatisticsObj(const ColumnStatisticsObj& other307) { + colName = other307.colName; + colType = other307.colType; + statsData = other307.statsData; } -ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& other316) { - colName = other316.colName; - colType = other316.colType; - statsData = other316.statsData; +ColumnStatisticsObj& ColumnStatisticsObj::operator=(const ColumnStatisticsObj& other308) { + colName = other308.colName; + colType = other308.colType; + statsData = other308.statsData; return *this; } void ColumnStatisticsObj::printTo(std::ostream& out) const { @@ -8420,21 +8396,21 @@ void swap(ColumnStatisticsDesc &a, ColumnStatisticsDesc &b) { swap(a.__isset, b.__isset); } -ColumnStatisticsDesc::ColumnStatisticsDesc(const ColumnStatisticsDesc& other317) { - isTblLevel = other317.isTblLevel; - dbName = other317.dbName; - tableName = other317.tableName; - partName = other317.partName; - lastAnalyzed = other317.lastAnalyzed; - __isset = other317.__isset; -} -ColumnStatisticsDesc& ColumnStatisticsDesc::operator=(const ColumnStatisticsDesc& other318) { - isTblLevel = other318.isTblLevel; - dbName = other318.dbName; - tableName = other318.tableName; - partName = other318.partName; - lastAnalyzed = other318.lastAnalyzed; - __isset = other318.__isset; +ColumnStatisticsDesc::ColumnStatisticsDesc(const ColumnStatisticsDesc& other309) { + isTblLevel = other309.isTblLevel; + dbName = other309.dbName; + tableName = other309.tableName; + partName = other309.partName; + lastAnalyzed = other309.lastAnalyzed; + __isset = other309.__isset; +} +ColumnStatisticsDesc& ColumnStatisticsDesc::operator=(const ColumnStatisticsDesc& other310) { + isTblLevel = other310.isTblLevel; + dbName = other310.dbName; + tableName = other310.tableName; + partName = other310.partName; + lastAnalyzed = other310.lastAnalyzed; + __isset = other310.__isset; return *this; } void ColumnStatisticsDesc::printTo(std::ostream& out) const { @@ -8496,14 +8472,14 @@ uint32_t ColumnStatistics::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->statsObj.clear(); - uint32_t _size319; - ::apache::thrift::protocol::TType _etype322; - xfer += iprot->readListBegin(_etype322, _size319); - this->statsObj.resize(_size319); - uint32_t _i323; - for (_i323 = 0; _i323 < _size319; ++_i323) + uint32_t _size311; + ::apache::thrift::protocol::TType _etype314; + xfer += iprot->readListBegin(_etype314, _size311); + this->statsObj.resize(_size311); + uint32_t _i315; + for (_i315 = 0; _i315 < _size311; ++_i315) { - xfer += this->statsObj[_i323].read(iprot); + xfer += this->statsObj[_i315].read(iprot); } xfer += iprot->readListEnd(); } @@ -8540,10 +8516,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 _iter324; - for (_iter324 = this->statsObj.begin(); _iter324 != this->statsObj.end(); ++_iter324) + std::vector ::const_iterator _iter316; + for (_iter316 = this->statsObj.begin(); _iter316 != this->statsObj.end(); ++_iter316) { - xfer += (*_iter324).write(oprot); + xfer += (*_iter316).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8560,13 +8536,13 @@ void swap(ColumnStatistics &a, ColumnStatistics &b) { swap(a.statsObj, b.statsObj); } -ColumnStatistics::ColumnStatistics(const ColumnStatistics& other325) { - statsDesc = other325.statsDesc; - statsObj = other325.statsObj; +ColumnStatistics::ColumnStatistics(const ColumnStatistics& other317) { + statsDesc = other317.statsDesc; + statsObj = other317.statsObj; } -ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other326) { - statsDesc = other326.statsDesc; - statsObj = other326.statsObj; +ColumnStatistics& ColumnStatistics::operator=(const ColumnStatistics& other318) { + statsDesc = other318.statsDesc; + statsObj = other318.statsObj; return *this; } void ColumnStatistics::printTo(std::ostream& out) const { @@ -8617,14 +8593,14 @@ uint32_t AggrStats::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colStats.clear(); - uint32_t _size327; - ::apache::thrift::protocol::TType _etype330; - xfer += iprot->readListBegin(_etype330, _size327); - this->colStats.resize(_size327); - uint32_t _i331; - for (_i331 = 0; _i331 < _size327; ++_i331) + 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) { - xfer += this->colStats[_i331].read(iprot); + xfer += this->colStats[_i323].read(iprot); } xfer += iprot->readListEnd(); } @@ -8665,10 +8641,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 _iter332; - for (_iter332 = this->colStats.begin(); _iter332 != this->colStats.end(); ++_iter332) + std::vector ::const_iterator _iter324; + for (_iter324 = this->colStats.begin(); _iter324 != this->colStats.end(); ++_iter324) { - xfer += (*_iter332).write(oprot); + xfer += (*_iter324).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8689,13 +8665,13 @@ void swap(AggrStats &a, AggrStats &b) { swap(a.partsFound, b.partsFound); } -AggrStats::AggrStats(const AggrStats& other333) { - colStats = other333.colStats; - partsFound = other333.partsFound; +AggrStats::AggrStats(const AggrStats& other325) { + colStats = other325.colStats; + partsFound = other325.partsFound; } -AggrStats& AggrStats::operator=(const AggrStats& other334) { - colStats = other334.colStats; - partsFound = other334.partsFound; +AggrStats& AggrStats::operator=(const AggrStats& other326) { + colStats = other326.colStats; + partsFound = other326.partsFound; return *this; } void AggrStats::printTo(std::ostream& out) const { @@ -8746,14 +8722,14 @@ uint32_t SetPartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colStats.clear(); - uint32_t _size335; - ::apache::thrift::protocol::TType _etype338; - xfer += iprot->readListBegin(_etype338, _size335); - this->colStats.resize(_size335); - uint32_t _i339; - for (_i339 = 0; _i339 < _size335; ++_i339) + uint32_t _size327; + ::apache::thrift::protocol::TType _etype330; + xfer += iprot->readListBegin(_etype330, _size327); + this->colStats.resize(_size327); + uint32_t _i331; + for (_i331 = 0; _i331 < _size327; ++_i331) { - xfer += this->colStats[_i339].read(iprot); + xfer += this->colStats[_i331].read(iprot); } xfer += iprot->readListEnd(); } @@ -8792,10 +8768,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 _iter340; - for (_iter340 = this->colStats.begin(); _iter340 != this->colStats.end(); ++_iter340) + std::vector ::const_iterator _iter332; + for (_iter332 = this->colStats.begin(); _iter332 != this->colStats.end(); ++_iter332) { - xfer += (*_iter340).write(oprot); + xfer += (*_iter332).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8818,15 +8794,15 @@ void swap(SetPartitionsStatsRequest &a, SetPartitionsStatsRequest &b) { swap(a.__isset, b.__isset); } -SetPartitionsStatsRequest::SetPartitionsStatsRequest(const SetPartitionsStatsRequest& other341) { - colStats = other341.colStats; - needMerge = other341.needMerge; - __isset = other341.__isset; +SetPartitionsStatsRequest::SetPartitionsStatsRequest(const SetPartitionsStatsRequest& other333) { + colStats = other333.colStats; + needMerge = other333.needMerge; + __isset = other333.__isset; } -SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartitionsStatsRequest& other342) { - colStats = other342.colStats; - needMerge = other342.needMerge; - __isset = other342.__isset; +SetPartitionsStatsRequest& SetPartitionsStatsRequest::operator=(const SetPartitionsStatsRequest& other334) { + colStats = other334.colStats; + needMerge = other334.needMerge; + __isset = other334.__isset; return *this; } void SetPartitionsStatsRequest::printTo(std::ostream& out) const { @@ -8875,14 +8851,14 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fieldSchemas.clear(); - uint32_t _size343; - ::apache::thrift::protocol::TType _etype346; - xfer += iprot->readListBegin(_etype346, _size343); - this->fieldSchemas.resize(_size343); - uint32_t _i347; - for (_i347 = 0; _i347 < _size343; ++_i347) + uint32_t _size335; + ::apache::thrift::protocol::TType _etype338; + xfer += iprot->readListBegin(_etype338, _size335); + this->fieldSchemas.resize(_size335); + uint32_t _i339; + for (_i339 = 0; _i339 < _size335; ++_i339) { - xfer += this->fieldSchemas[_i347].read(iprot); + xfer += this->fieldSchemas[_i339].read(iprot); } xfer += iprot->readListEnd(); } @@ -8895,17 +8871,17 @@ uint32_t Schema::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size348; - ::apache::thrift::protocol::TType _ktype349; - ::apache::thrift::protocol::TType _vtype350; - xfer += iprot->readMapBegin(_ktype349, _vtype350, _size348); - uint32_t _i352; - for (_i352 = 0; _i352 < _size348; ++_i352) + uint32_t _size340; + ::apache::thrift::protocol::TType _ktype341; + ::apache::thrift::protocol::TType _vtype342; + xfer += iprot->readMapBegin(_ktype341, _vtype342, _size340); + uint32_t _i344; + for (_i344 = 0; _i344 < _size340; ++_i344) { - std::string _key353; - xfer += iprot->readString(_key353); - std::string& _val354 = this->properties[_key353]; - xfer += iprot->readString(_val354); + std::string _key345; + xfer += iprot->readString(_key345); + std::string& _val346 = this->properties[_key345]; + xfer += iprot->readString(_val346); } xfer += iprot->readMapEnd(); } @@ -8934,10 +8910,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 _iter355; - for (_iter355 = this->fieldSchemas.begin(); _iter355 != this->fieldSchemas.end(); ++_iter355) + std::vector ::const_iterator _iter347; + for (_iter347 = this->fieldSchemas.begin(); _iter347 != this->fieldSchemas.end(); ++_iter347) { - xfer += (*_iter355).write(oprot); + xfer += (*_iter347).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8946,11 +8922,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 _iter356; - for (_iter356 = this->properties.begin(); _iter356 != this->properties.end(); ++_iter356) + std::map ::const_iterator _iter348; + for (_iter348 = this->properties.begin(); _iter348 != this->properties.end(); ++_iter348) { - xfer += oprot->writeString(_iter356->first); - xfer += oprot->writeString(_iter356->second); + xfer += oprot->writeString(_iter348->first); + xfer += oprot->writeString(_iter348->second); } xfer += oprot->writeMapEnd(); } @@ -8968,15 +8944,15 @@ void swap(Schema &a, Schema &b) { swap(a.__isset, b.__isset); } -Schema::Schema(const Schema& other357) { - fieldSchemas = other357.fieldSchemas; - properties = other357.properties; - __isset = other357.__isset; +Schema::Schema(const Schema& other349) { + fieldSchemas = other349.fieldSchemas; + properties = other349.properties; + __isset = other349.__isset; } -Schema& Schema::operator=(const Schema& other358) { - fieldSchemas = other358.fieldSchemas; - properties = other358.properties; - __isset = other358.__isset; +Schema& Schema::operator=(const Schema& other350) { + fieldSchemas = other350.fieldSchemas; + properties = other350.properties; + __isset = other350.__isset; return *this; } void Schema::printTo(std::ostream& out) const { @@ -9021,17 +8997,17 @@ uint32_t EnvironmentContext::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size359; - ::apache::thrift::protocol::TType _ktype360; - ::apache::thrift::protocol::TType _vtype361; - xfer += iprot->readMapBegin(_ktype360, _vtype361, _size359); - uint32_t _i363; - for (_i363 = 0; _i363 < _size359; ++_i363) + uint32_t _size351; + ::apache::thrift::protocol::TType _ktype352; + ::apache::thrift::protocol::TType _vtype353; + xfer += iprot->readMapBegin(_ktype352, _vtype353, _size351); + uint32_t _i355; + for (_i355 = 0; _i355 < _size351; ++_i355) { - std::string _key364; - xfer += iprot->readString(_key364); - std::string& _val365 = this->properties[_key364]; - xfer += iprot->readString(_val365); + std::string _key356; + xfer += iprot->readString(_key356); + std::string& _val357 = this->properties[_key356]; + xfer += iprot->readString(_val357); } xfer += iprot->readMapEnd(); } @@ -9060,11 +9036,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 _iter366; - for (_iter366 = this->properties.begin(); _iter366 != this->properties.end(); ++_iter366) + std::map ::const_iterator _iter358; + for (_iter358 = this->properties.begin(); _iter358 != this->properties.end(); ++_iter358) { - xfer += oprot->writeString(_iter366->first); - xfer += oprot->writeString(_iter366->second); + xfer += oprot->writeString(_iter358->first); + xfer += oprot->writeString(_iter358->second); } xfer += oprot->writeMapEnd(); } @@ -9081,13 +9057,13 @@ void swap(EnvironmentContext &a, EnvironmentContext &b) { swap(a.__isset, b.__isset); } -EnvironmentContext::EnvironmentContext(const EnvironmentContext& other367) { - properties = other367.properties; - __isset = other367.__isset; +EnvironmentContext::EnvironmentContext(const EnvironmentContext& other359) { + properties = other359.properties; + __isset = other359.__isset; } -EnvironmentContext& EnvironmentContext::operator=(const EnvironmentContext& other368) { - properties = other368.properties; - __isset = other368.__isset; +EnvironmentContext& EnvironmentContext::operator=(const EnvironmentContext& other360) { + properties = other360.properties; + __isset = other360.__isset; return *this; } void EnvironmentContext::printTo(std::ostream& out) const { @@ -9189,13 +9165,13 @@ void swap(PrimaryKeysRequest &a, PrimaryKeysRequest &b) { swap(a.tbl_name, b.tbl_name); } -PrimaryKeysRequest::PrimaryKeysRequest(const PrimaryKeysRequest& other369) { - db_name = other369.db_name; - tbl_name = other369.tbl_name; +PrimaryKeysRequest::PrimaryKeysRequest(const PrimaryKeysRequest& other361) { + db_name = other361.db_name; + tbl_name = other361.tbl_name; } -PrimaryKeysRequest& PrimaryKeysRequest::operator=(const PrimaryKeysRequest& other370) { - db_name = other370.db_name; - tbl_name = other370.tbl_name; +PrimaryKeysRequest& PrimaryKeysRequest::operator=(const PrimaryKeysRequest& other362) { + db_name = other362.db_name; + tbl_name = other362.tbl_name; return *this; } void PrimaryKeysRequest::printTo(std::ostream& out) const { @@ -9241,14 +9217,14 @@ uint32_t PrimaryKeysResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size371; - ::apache::thrift::protocol::TType _etype374; - xfer += iprot->readListBegin(_etype374, _size371); - this->primaryKeys.resize(_size371); - uint32_t _i375; - for (_i375 = 0; _i375 < _size371; ++_i375) + uint32_t _size363; + ::apache::thrift::protocol::TType _etype366; + xfer += iprot->readListBegin(_etype366, _size363); + this->primaryKeys.resize(_size363); + uint32_t _i367; + for (_i367 = 0; _i367 < _size363; ++_i367) { - xfer += this->primaryKeys[_i375].read(iprot); + xfer += this->primaryKeys[_i367].read(iprot); } xfer += iprot->readListEnd(); } @@ -9279,10 +9255,10 @@ uint32_t PrimaryKeysResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("primaryKeys", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeys.size())); - std::vector ::const_iterator _iter376; - for (_iter376 = this->primaryKeys.begin(); _iter376 != this->primaryKeys.end(); ++_iter376) + std::vector ::const_iterator _iter368; + for (_iter368 = this->primaryKeys.begin(); _iter368 != this->primaryKeys.end(); ++_iter368) { - xfer += (*_iter376).write(oprot); + xfer += (*_iter368).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9298,11 +9274,11 @@ void swap(PrimaryKeysResponse &a, PrimaryKeysResponse &b) { swap(a.primaryKeys, b.primaryKeys); } -PrimaryKeysResponse::PrimaryKeysResponse(const PrimaryKeysResponse& other377) { - primaryKeys = other377.primaryKeys; +PrimaryKeysResponse::PrimaryKeysResponse(const PrimaryKeysResponse& other369) { + primaryKeys = other369.primaryKeys; } -PrimaryKeysResponse& PrimaryKeysResponse::operator=(const PrimaryKeysResponse& other378) { - primaryKeys = other378.primaryKeys; +PrimaryKeysResponse& PrimaryKeysResponse::operator=(const PrimaryKeysResponse& other370) { + primaryKeys = other370.primaryKeys; return *this; } void PrimaryKeysResponse::printTo(std::ostream& out) const { @@ -9433,19 +9409,19 @@ void swap(ForeignKeysRequest &a, ForeignKeysRequest &b) { swap(a.__isset, b.__isset); } -ForeignKeysRequest::ForeignKeysRequest(const ForeignKeysRequest& other379) { - parent_db_name = other379.parent_db_name; - parent_tbl_name = other379.parent_tbl_name; - foreign_db_name = other379.foreign_db_name; - foreign_tbl_name = other379.foreign_tbl_name; - __isset = other379.__isset; +ForeignKeysRequest::ForeignKeysRequest(const ForeignKeysRequest& other371) { + parent_db_name = other371.parent_db_name; + parent_tbl_name = other371.parent_tbl_name; + foreign_db_name = other371.foreign_db_name; + foreign_tbl_name = other371.foreign_tbl_name; + __isset = other371.__isset; } -ForeignKeysRequest& ForeignKeysRequest::operator=(const ForeignKeysRequest& other380) { - parent_db_name = other380.parent_db_name; - parent_tbl_name = other380.parent_tbl_name; - foreign_db_name = other380.foreign_db_name; - foreign_tbl_name = other380.foreign_tbl_name; - __isset = other380.__isset; +ForeignKeysRequest& ForeignKeysRequest::operator=(const ForeignKeysRequest& other372) { + parent_db_name = other372.parent_db_name; + parent_tbl_name = other372.parent_tbl_name; + foreign_db_name = other372.foreign_db_name; + foreign_tbl_name = other372.foreign_tbl_name; + __isset = other372.__isset; return *this; } void ForeignKeysRequest::printTo(std::ostream& out) const { @@ -9493,14 +9469,14 @@ uint32_t ForeignKeysResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size381; - ::apache::thrift::protocol::TType _etype384; - xfer += iprot->readListBegin(_etype384, _size381); - this->foreignKeys.resize(_size381); - uint32_t _i385; - for (_i385 = 0; _i385 < _size381; ++_i385) + uint32_t _size373; + ::apache::thrift::protocol::TType _etype376; + xfer += iprot->readListBegin(_etype376, _size373); + this->foreignKeys.resize(_size373); + uint32_t _i377; + for (_i377 = 0; _i377 < _size373; ++_i377) { - xfer += this->foreignKeys[_i385].read(iprot); + xfer += this->foreignKeys[_i377].read(iprot); } xfer += iprot->readListEnd(); } @@ -9531,10 +9507,10 @@ uint32_t ForeignKeysResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("foreignKeys", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeys.size())); - std::vector ::const_iterator _iter386; - for (_iter386 = this->foreignKeys.begin(); _iter386 != this->foreignKeys.end(); ++_iter386) + std::vector ::const_iterator _iter378; + for (_iter378 = this->foreignKeys.begin(); _iter378 != this->foreignKeys.end(); ++_iter378) { - xfer += (*_iter386).write(oprot); + xfer += (*_iter378).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9550,11 +9526,11 @@ void swap(ForeignKeysResponse &a, ForeignKeysResponse &b) { swap(a.foreignKeys, b.foreignKeys); } -ForeignKeysResponse::ForeignKeysResponse(const ForeignKeysResponse& other387) { - foreignKeys = other387.foreignKeys; +ForeignKeysResponse::ForeignKeysResponse(const ForeignKeysResponse& other379) { + foreignKeys = other379.foreignKeys; } -ForeignKeysResponse& ForeignKeysResponse::operator=(const ForeignKeysResponse& other388) { - foreignKeys = other388.foreignKeys; +ForeignKeysResponse& ForeignKeysResponse::operator=(const ForeignKeysResponse& other380) { + foreignKeys = other380.foreignKeys; return *this; } void ForeignKeysResponse::printTo(std::ostream& out) const { @@ -9656,13 +9632,13 @@ void swap(UniqueConstraintsRequest &a, UniqueConstraintsRequest &b) { swap(a.tbl_name, b.tbl_name); } -UniqueConstraintsRequest::UniqueConstraintsRequest(const UniqueConstraintsRequest& other389) { - db_name = other389.db_name; - tbl_name = other389.tbl_name; +UniqueConstraintsRequest::UniqueConstraintsRequest(const UniqueConstraintsRequest& other381) { + db_name = other381.db_name; + tbl_name = other381.tbl_name; } -UniqueConstraintsRequest& UniqueConstraintsRequest::operator=(const UniqueConstraintsRequest& other390) { - db_name = other390.db_name; - tbl_name = other390.tbl_name; +UniqueConstraintsRequest& UniqueConstraintsRequest::operator=(const UniqueConstraintsRequest& other382) { + db_name = other382.db_name; + tbl_name = other382.tbl_name; return *this; } void UniqueConstraintsRequest::printTo(std::ostream& out) const { @@ -9708,14 +9684,14 @@ uint32_t UniqueConstraintsResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size391; - ::apache::thrift::protocol::TType _etype394; - xfer += iprot->readListBegin(_etype394, _size391); - this->uniqueConstraints.resize(_size391); - uint32_t _i395; - for (_i395 = 0; _i395 < _size391; ++_i395) + uint32_t _size383; + ::apache::thrift::protocol::TType _etype386; + xfer += iprot->readListBegin(_etype386, _size383); + this->uniqueConstraints.resize(_size383); + uint32_t _i387; + for (_i387 = 0; _i387 < _size383; ++_i387) { - xfer += this->uniqueConstraints[_i395].read(iprot); + xfer += this->uniqueConstraints[_i387].read(iprot); } xfer += iprot->readListEnd(); } @@ -9746,10 +9722,10 @@ uint32_t UniqueConstraintsResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("uniqueConstraints", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->uniqueConstraints.size())); - std::vector ::const_iterator _iter396; - for (_iter396 = this->uniqueConstraints.begin(); _iter396 != this->uniqueConstraints.end(); ++_iter396) + std::vector ::const_iterator _iter388; + for (_iter388 = this->uniqueConstraints.begin(); _iter388 != this->uniqueConstraints.end(); ++_iter388) { - xfer += (*_iter396).write(oprot); + xfer += (*_iter388).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9765,11 +9741,11 @@ void swap(UniqueConstraintsResponse &a, UniqueConstraintsResponse &b) { swap(a.uniqueConstraints, b.uniqueConstraints); } -UniqueConstraintsResponse::UniqueConstraintsResponse(const UniqueConstraintsResponse& other397) { - uniqueConstraints = other397.uniqueConstraints; +UniqueConstraintsResponse::UniqueConstraintsResponse(const UniqueConstraintsResponse& other389) { + uniqueConstraints = other389.uniqueConstraints; } -UniqueConstraintsResponse& UniqueConstraintsResponse::operator=(const UniqueConstraintsResponse& other398) { - uniqueConstraints = other398.uniqueConstraints; +UniqueConstraintsResponse& UniqueConstraintsResponse::operator=(const UniqueConstraintsResponse& other390) { + uniqueConstraints = other390.uniqueConstraints; return *this; } void UniqueConstraintsResponse::printTo(std::ostream& out) const { @@ -9871,13 +9847,13 @@ void swap(NotNullConstraintsRequest &a, NotNullConstraintsRequest &b) { swap(a.tbl_name, b.tbl_name); } -NotNullConstraintsRequest::NotNullConstraintsRequest(const NotNullConstraintsRequest& other399) { - db_name = other399.db_name; - tbl_name = other399.tbl_name; +NotNullConstraintsRequest::NotNullConstraintsRequest(const NotNullConstraintsRequest& other391) { + db_name = other391.db_name; + tbl_name = other391.tbl_name; } -NotNullConstraintsRequest& NotNullConstraintsRequest::operator=(const NotNullConstraintsRequest& other400) { - db_name = other400.db_name; - tbl_name = other400.tbl_name; +NotNullConstraintsRequest& NotNullConstraintsRequest::operator=(const NotNullConstraintsRequest& other392) { + db_name = other392.db_name; + tbl_name = other392.tbl_name; return *this; } void NotNullConstraintsRequest::printTo(std::ostream& out) const { @@ -9923,14 +9899,14 @@ uint32_t NotNullConstraintsResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size401; - ::apache::thrift::protocol::TType _etype404; - xfer += iprot->readListBegin(_etype404, _size401); - this->notNullConstraints.resize(_size401); - uint32_t _i405; - for (_i405 = 0; _i405 < _size401; ++_i405) + uint32_t _size393; + ::apache::thrift::protocol::TType _etype396; + xfer += iprot->readListBegin(_etype396, _size393); + this->notNullConstraints.resize(_size393); + uint32_t _i397; + for (_i397 = 0; _i397 < _size393; ++_i397) { - xfer += this->notNullConstraints[_i405].read(iprot); + xfer += this->notNullConstraints[_i397].read(iprot); } xfer += iprot->readListEnd(); } @@ -9961,10 +9937,10 @@ uint32_t NotNullConstraintsResponse::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldBegin("notNullConstraints", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->notNullConstraints.size())); - std::vector ::const_iterator _iter406; - for (_iter406 = this->notNullConstraints.begin(); _iter406 != this->notNullConstraints.end(); ++_iter406) + std::vector ::const_iterator _iter398; + for (_iter398 = this->notNullConstraints.begin(); _iter398 != this->notNullConstraints.end(); ++_iter398) { - xfer += (*_iter406).write(oprot); + xfer += (*_iter398).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9980,11 +9956,11 @@ void swap(NotNullConstraintsResponse &a, NotNullConstraintsResponse &b) { swap(a.notNullConstraints, b.notNullConstraints); } -NotNullConstraintsResponse::NotNullConstraintsResponse(const NotNullConstraintsResponse& other407) { - notNullConstraints = other407.notNullConstraints; +NotNullConstraintsResponse::NotNullConstraintsResponse(const NotNullConstraintsResponse& other399) { + notNullConstraints = other399.notNullConstraints; } -NotNullConstraintsResponse& NotNullConstraintsResponse::operator=(const NotNullConstraintsResponse& other408) { - notNullConstraints = other408.notNullConstraints; +NotNullConstraintsResponse& NotNullConstraintsResponse::operator=(const NotNullConstraintsResponse& other400) { + notNullConstraints = other400.notNullConstraints; return *this; } void NotNullConstraintsResponse::printTo(std::ostream& out) const { @@ -10106,15 +10082,15 @@ void swap(DropConstraintRequest &a, DropConstraintRequest &b) { swap(a.constraintname, b.constraintname); } -DropConstraintRequest::DropConstraintRequest(const DropConstraintRequest& other409) { - dbname = other409.dbname; - tablename = other409.tablename; - constraintname = other409.constraintname; +DropConstraintRequest::DropConstraintRequest(const DropConstraintRequest& other401) { + dbname = other401.dbname; + tablename = other401.tablename; + constraintname = other401.constraintname; } -DropConstraintRequest& DropConstraintRequest::operator=(const DropConstraintRequest& other410) { - dbname = other410.dbname; - tablename = other410.tablename; - constraintname = other410.constraintname; +DropConstraintRequest& DropConstraintRequest::operator=(const DropConstraintRequest& other402) { + dbname = other402.dbname; + tablename = other402.tablename; + constraintname = other402.constraintname; return *this; } void DropConstraintRequest::printTo(std::ostream& out) const { @@ -10161,14 +10137,14 @@ uint32_t AddPrimaryKeyRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeyCols.clear(); - uint32_t _size411; - ::apache::thrift::protocol::TType _etype414; - xfer += iprot->readListBegin(_etype414, _size411); - this->primaryKeyCols.resize(_size411); - uint32_t _i415; - for (_i415 = 0; _i415 < _size411; ++_i415) + uint32_t _size403; + ::apache::thrift::protocol::TType _etype406; + xfer += iprot->readListBegin(_etype406, _size403); + this->primaryKeyCols.resize(_size403); + uint32_t _i407; + for (_i407 = 0; _i407 < _size403; ++_i407) { - xfer += this->primaryKeyCols[_i415].read(iprot); + xfer += this->primaryKeyCols[_i407].read(iprot); } xfer += iprot->readListEnd(); } @@ -10199,10 +10175,10 @@ uint32_t AddPrimaryKeyRequest::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("primaryKeyCols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->primaryKeyCols.size())); - std::vector ::const_iterator _iter416; - for (_iter416 = this->primaryKeyCols.begin(); _iter416 != this->primaryKeyCols.end(); ++_iter416) + std::vector ::const_iterator _iter408; + for (_iter408 = this->primaryKeyCols.begin(); _iter408 != this->primaryKeyCols.end(); ++_iter408) { - xfer += (*_iter416).write(oprot); + xfer += (*_iter408).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10218,11 +10194,11 @@ void swap(AddPrimaryKeyRequest &a, AddPrimaryKeyRequest &b) { swap(a.primaryKeyCols, b.primaryKeyCols); } -AddPrimaryKeyRequest::AddPrimaryKeyRequest(const AddPrimaryKeyRequest& other417) { - primaryKeyCols = other417.primaryKeyCols; +AddPrimaryKeyRequest::AddPrimaryKeyRequest(const AddPrimaryKeyRequest& other409) { + primaryKeyCols = other409.primaryKeyCols; } -AddPrimaryKeyRequest& AddPrimaryKeyRequest::operator=(const AddPrimaryKeyRequest& other418) { - primaryKeyCols = other418.primaryKeyCols; +AddPrimaryKeyRequest& AddPrimaryKeyRequest::operator=(const AddPrimaryKeyRequest& other410) { + primaryKeyCols = other410.primaryKeyCols; return *this; } void AddPrimaryKeyRequest::printTo(std::ostream& out) const { @@ -10267,14 +10243,14 @@ uint32_t AddForeignKeyRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeyCols.clear(); - uint32_t _size419; - ::apache::thrift::protocol::TType _etype422; - xfer += iprot->readListBegin(_etype422, _size419); - this->foreignKeyCols.resize(_size419); - uint32_t _i423; - for (_i423 = 0; _i423 < _size419; ++_i423) + uint32_t _size411; + ::apache::thrift::protocol::TType _etype414; + xfer += iprot->readListBegin(_etype414, _size411); + this->foreignKeyCols.resize(_size411); + uint32_t _i415; + for (_i415 = 0; _i415 < _size411; ++_i415) { - xfer += this->foreignKeyCols[_i423].read(iprot); + xfer += this->foreignKeyCols[_i415].read(iprot); } xfer += iprot->readListEnd(); } @@ -10305,10 +10281,10 @@ uint32_t AddForeignKeyRequest::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("foreignKeyCols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->foreignKeyCols.size())); - std::vector ::const_iterator _iter424; - for (_iter424 = this->foreignKeyCols.begin(); _iter424 != this->foreignKeyCols.end(); ++_iter424) + std::vector ::const_iterator _iter416; + for (_iter416 = this->foreignKeyCols.begin(); _iter416 != this->foreignKeyCols.end(); ++_iter416) { - xfer += (*_iter424).write(oprot); + xfer += (*_iter416).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10324,11 +10300,11 @@ void swap(AddForeignKeyRequest &a, AddForeignKeyRequest &b) { swap(a.foreignKeyCols, b.foreignKeyCols); } -AddForeignKeyRequest::AddForeignKeyRequest(const AddForeignKeyRequest& other425) { - foreignKeyCols = other425.foreignKeyCols; +AddForeignKeyRequest::AddForeignKeyRequest(const AddForeignKeyRequest& other417) { + foreignKeyCols = other417.foreignKeyCols; } -AddForeignKeyRequest& AddForeignKeyRequest::operator=(const AddForeignKeyRequest& other426) { - foreignKeyCols = other426.foreignKeyCols; +AddForeignKeyRequest& AddForeignKeyRequest::operator=(const AddForeignKeyRequest& other418) { + foreignKeyCols = other418.foreignKeyCols; return *this; } void AddForeignKeyRequest::printTo(std::ostream& out) const { @@ -10373,14 +10349,14 @@ uint32_t AddUniqueConstraintRequest::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraintCols.clear(); - uint32_t _size427; - ::apache::thrift::protocol::TType _etype430; - xfer += iprot->readListBegin(_etype430, _size427); - this->uniqueConstraintCols.resize(_size427); - uint32_t _i431; - for (_i431 = 0; _i431 < _size427; ++_i431) + uint32_t _size419; + ::apache::thrift::protocol::TType _etype422; + xfer += iprot->readListBegin(_etype422, _size419); + this->uniqueConstraintCols.resize(_size419); + uint32_t _i423; + for (_i423 = 0; _i423 < _size419; ++_i423) { - xfer += this->uniqueConstraintCols[_i431].read(iprot); + xfer += this->uniqueConstraintCols[_i423].read(iprot); } xfer += iprot->readListEnd(); } @@ -10411,10 +10387,10 @@ uint32_t AddUniqueConstraintRequest::write(::apache::thrift::protocol::TProtocol xfer += oprot->writeFieldBegin("uniqueConstraintCols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->uniqueConstraintCols.size())); - std::vector ::const_iterator _iter432; - for (_iter432 = this->uniqueConstraintCols.begin(); _iter432 != this->uniqueConstraintCols.end(); ++_iter432) + std::vector ::const_iterator _iter424; + for (_iter424 = this->uniqueConstraintCols.begin(); _iter424 != this->uniqueConstraintCols.end(); ++_iter424) { - xfer += (*_iter432).write(oprot); + xfer += (*_iter424).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10430,11 +10406,11 @@ void swap(AddUniqueConstraintRequest &a, AddUniqueConstraintRequest &b) { swap(a.uniqueConstraintCols, b.uniqueConstraintCols); } -AddUniqueConstraintRequest::AddUniqueConstraintRequest(const AddUniqueConstraintRequest& other433) { - uniqueConstraintCols = other433.uniqueConstraintCols; +AddUniqueConstraintRequest::AddUniqueConstraintRequest(const AddUniqueConstraintRequest& other425) { + uniqueConstraintCols = other425.uniqueConstraintCols; } -AddUniqueConstraintRequest& AddUniqueConstraintRequest::operator=(const AddUniqueConstraintRequest& other434) { - uniqueConstraintCols = other434.uniqueConstraintCols; +AddUniqueConstraintRequest& AddUniqueConstraintRequest::operator=(const AddUniqueConstraintRequest& other426) { + uniqueConstraintCols = other426.uniqueConstraintCols; return *this; } void AddUniqueConstraintRequest::printTo(std::ostream& out) const { @@ -10479,14 +10455,14 @@ uint32_t AddNotNullConstraintRequest::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraintCols.clear(); - uint32_t _size435; - ::apache::thrift::protocol::TType _etype438; - xfer += iprot->readListBegin(_etype438, _size435); - this->notNullConstraintCols.resize(_size435); - uint32_t _i439; - for (_i439 = 0; _i439 < _size435; ++_i439) + uint32_t _size427; + ::apache::thrift::protocol::TType _etype430; + xfer += iprot->readListBegin(_etype430, _size427); + this->notNullConstraintCols.resize(_size427); + uint32_t _i431; + for (_i431 = 0; _i431 < _size427; ++_i431) { - xfer += this->notNullConstraintCols[_i439].read(iprot); + xfer += this->notNullConstraintCols[_i431].read(iprot); } xfer += iprot->readListEnd(); } @@ -10517,10 +10493,10 @@ uint32_t AddNotNullConstraintRequest::write(::apache::thrift::protocol::TProtoco xfer += oprot->writeFieldBegin("notNullConstraintCols", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->notNullConstraintCols.size())); - std::vector ::const_iterator _iter440; - for (_iter440 = this->notNullConstraintCols.begin(); _iter440 != this->notNullConstraintCols.end(); ++_iter440) + std::vector ::const_iterator _iter432; + for (_iter432 = this->notNullConstraintCols.begin(); _iter432 != this->notNullConstraintCols.end(); ++_iter432) { - xfer += (*_iter440).write(oprot); + xfer += (*_iter432).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10536,11 +10512,11 @@ void swap(AddNotNullConstraintRequest &a, AddNotNullConstraintRequest &b) { swap(a.notNullConstraintCols, b.notNullConstraintCols); } -AddNotNullConstraintRequest::AddNotNullConstraintRequest(const AddNotNullConstraintRequest& other441) { - notNullConstraintCols = other441.notNullConstraintCols; +AddNotNullConstraintRequest::AddNotNullConstraintRequest(const AddNotNullConstraintRequest& other433) { + notNullConstraintCols = other433.notNullConstraintCols; } -AddNotNullConstraintRequest& AddNotNullConstraintRequest::operator=(const AddNotNullConstraintRequest& other442) { - notNullConstraintCols = other442.notNullConstraintCols; +AddNotNullConstraintRequest& AddNotNullConstraintRequest::operator=(const AddNotNullConstraintRequest& other434) { + notNullConstraintCols = other434.notNullConstraintCols; return *this; } void AddNotNullConstraintRequest::printTo(std::ostream& out) const { @@ -10590,14 +10566,14 @@ uint32_t PartitionsByExprResult::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size443; - ::apache::thrift::protocol::TType _etype446; - xfer += iprot->readListBegin(_etype446, _size443); - this->partitions.resize(_size443); - uint32_t _i447; - for (_i447 = 0; _i447 < _size443; ++_i447) + 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[_i447].read(iprot); + xfer += this->partitions[_i439].read(iprot); } xfer += iprot->readListEnd(); } @@ -10638,10 +10614,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 _iter448; - for (_iter448 = this->partitions.begin(); _iter448 != this->partitions.end(); ++_iter448) + std::vector ::const_iterator _iter440; + for (_iter440 = this->partitions.begin(); _iter440 != this->partitions.end(); ++_iter440) { - xfer += (*_iter448).write(oprot); + xfer += (*_iter440).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10662,13 +10638,13 @@ void swap(PartitionsByExprResult &a, PartitionsByExprResult &b) { swap(a.hasUnknownPartitions, b.hasUnknownPartitions); } -PartitionsByExprResult::PartitionsByExprResult(const PartitionsByExprResult& other449) { - partitions = other449.partitions; - hasUnknownPartitions = other449.hasUnknownPartitions; +PartitionsByExprResult::PartitionsByExprResult(const PartitionsByExprResult& other441) { + partitions = other441.partitions; + hasUnknownPartitions = other441.hasUnknownPartitions; } -PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExprResult& other450) { - partitions = other450.partitions; - hasUnknownPartitions = other450.hasUnknownPartitions; +PartitionsByExprResult& PartitionsByExprResult::operator=(const PartitionsByExprResult& other442) { + partitions = other442.partitions; + hasUnknownPartitions = other442.hasUnknownPartitions; return *this; } void PartitionsByExprResult::printTo(std::ostream& out) const { @@ -10830,21 +10806,21 @@ void swap(PartitionsByExprRequest &a, PartitionsByExprRequest &b) { swap(a.__isset, b.__isset); } -PartitionsByExprRequest::PartitionsByExprRequest(const PartitionsByExprRequest& other451) { - dbName = other451.dbName; - tblName = other451.tblName; - expr = other451.expr; - defaultPartitionName = other451.defaultPartitionName; - maxParts = other451.maxParts; - __isset = other451.__isset; -} -PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByExprRequest& other452) { - dbName = other452.dbName; - tblName = other452.tblName; - expr = other452.expr; - defaultPartitionName = other452.defaultPartitionName; - maxParts = other452.maxParts; - __isset = other452.__isset; +PartitionsByExprRequest::PartitionsByExprRequest(const PartitionsByExprRequest& other443) { + dbName = other443.dbName; + tblName = other443.tblName; + expr = other443.expr; + defaultPartitionName = other443.defaultPartitionName; + maxParts = other443.maxParts; + __isset = other443.__isset; +} +PartitionsByExprRequest& PartitionsByExprRequest::operator=(const PartitionsByExprRequest& other444) { + dbName = other444.dbName; + tblName = other444.tblName; + expr = other444.expr; + defaultPartitionName = other444.defaultPartitionName; + maxParts = other444.maxParts; + __isset = other444.__isset; return *this; } void PartitionsByExprRequest::printTo(std::ostream& out) const { @@ -10893,14 +10869,14 @@ uint32_t TableStatsResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tableStats.clear(); - uint32_t _size453; - ::apache::thrift::protocol::TType _etype456; - xfer += iprot->readListBegin(_etype456, _size453); - this->tableStats.resize(_size453); - uint32_t _i457; - for (_i457 = 0; _i457 < _size453; ++_i457) + uint32_t _size445; + ::apache::thrift::protocol::TType _etype448; + xfer += iprot->readListBegin(_etype448, _size445); + this->tableStats.resize(_size445); + uint32_t _i449; + for (_i449 = 0; _i449 < _size445; ++_i449) { - xfer += this->tableStats[_i457].read(iprot); + xfer += this->tableStats[_i449].read(iprot); } xfer += iprot->readListEnd(); } @@ -10931,10 +10907,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 _iter458; - for (_iter458 = this->tableStats.begin(); _iter458 != this->tableStats.end(); ++_iter458) + std::vector ::const_iterator _iter450; + for (_iter450 = this->tableStats.begin(); _iter450 != this->tableStats.end(); ++_iter450) { - xfer += (*_iter458).write(oprot); + xfer += (*_iter450).write(oprot); } xfer += oprot->writeListEnd(); } @@ -10950,11 +10926,11 @@ void swap(TableStatsResult &a, TableStatsResult &b) { swap(a.tableStats, b.tableStats); } -TableStatsResult::TableStatsResult(const TableStatsResult& other459) { - tableStats = other459.tableStats; +TableStatsResult::TableStatsResult(const TableStatsResult& other451) { + tableStats = other451.tableStats; } -TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other460) { - tableStats = other460.tableStats; +TableStatsResult& TableStatsResult::operator=(const TableStatsResult& other452) { + tableStats = other452.tableStats; return *this; } void TableStatsResult::printTo(std::ostream& out) const { @@ -10999,26 +10975,26 @@ uint32_t PartitionsStatsResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partStats.clear(); - uint32_t _size461; - ::apache::thrift::protocol::TType _ktype462; - ::apache::thrift::protocol::TType _vtype463; - xfer += iprot->readMapBegin(_ktype462, _vtype463, _size461); - uint32_t _i465; - for (_i465 = 0; _i465 < _size461; ++_i465) + uint32_t _size453; + ::apache::thrift::protocol::TType _ktype454; + ::apache::thrift::protocol::TType _vtype455; + xfer += iprot->readMapBegin(_ktype454, _vtype455, _size453); + uint32_t _i457; + for (_i457 = 0; _i457 < _size453; ++_i457) { - std::string _key466; - xfer += iprot->readString(_key466); - std::vector & _val467 = this->partStats[_key466]; + std::string _key458; + xfer += iprot->readString(_key458); + std::vector & _val459 = this->partStats[_key458]; { - _val467.clear(); - uint32_t _size468; - ::apache::thrift::protocol::TType _etype471; - xfer += iprot->readListBegin(_etype471, _size468); - _val467.resize(_size468); - uint32_t _i472; - for (_i472 = 0; _i472 < _size468; ++_i472) + _val459.clear(); + uint32_t _size460; + ::apache::thrift::protocol::TType _etype463; + xfer += iprot->readListBegin(_etype463, _size460); + _val459.resize(_size460); + uint32_t _i464; + for (_i464 = 0; _i464 < _size460; ++_i464) { - xfer += _val467[_i472].read(iprot); + xfer += _val459[_i464].read(iprot); } xfer += iprot->readListEnd(); } @@ -11052,16 +11028,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 _iter473; - for (_iter473 = this->partStats.begin(); _iter473 != this->partStats.end(); ++_iter473) + std::map > ::const_iterator _iter465; + for (_iter465 = this->partStats.begin(); _iter465 != this->partStats.end(); ++_iter465) { - xfer += oprot->writeString(_iter473->first); + xfer += oprot->writeString(_iter465->first); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter473->second.size())); - std::vector ::const_iterator _iter474; - for (_iter474 = _iter473->second.begin(); _iter474 != _iter473->second.end(); ++_iter474) + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(_iter465->second.size())); + std::vector ::const_iterator _iter466; + for (_iter466 = _iter465->second.begin(); _iter466 != _iter465->second.end(); ++_iter466) { - xfer += (*_iter474).write(oprot); + xfer += (*_iter466).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11080,11 +11056,11 @@ void swap(PartitionsStatsResult &a, PartitionsStatsResult &b) { swap(a.partStats, b.partStats); } -PartitionsStatsResult::PartitionsStatsResult(const PartitionsStatsResult& other475) { - partStats = other475.partStats; +PartitionsStatsResult::PartitionsStatsResult(const PartitionsStatsResult& other467) { + partStats = other467.partStats; } -PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsResult& other476) { - partStats = other476.partStats; +PartitionsStatsResult& PartitionsStatsResult::operator=(const PartitionsStatsResult& other468) { + partStats = other468.partStats; return *this; } void PartitionsStatsResult::printTo(std::ostream& out) const { @@ -11155,14 +11131,14 @@ uint32_t TableStatsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size477; - ::apache::thrift::protocol::TType _etype480; - xfer += iprot->readListBegin(_etype480, _size477); - this->colNames.resize(_size477); - uint32_t _i481; - for (_i481 = 0; _i481 < _size477; ++_i481) + uint32_t _size469; + ::apache::thrift::protocol::TType _etype472; + xfer += iprot->readListBegin(_etype472, _size469); + this->colNames.resize(_size469); + uint32_t _i473; + for (_i473 = 0; _i473 < _size469; ++_i473) { - xfer += iprot->readString(this->colNames[_i481]); + xfer += iprot->readString(this->colNames[_i473]); } xfer += iprot->readListEnd(); } @@ -11205,10 +11181,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 _iter482; - for (_iter482 = this->colNames.begin(); _iter482 != this->colNames.end(); ++_iter482) + std::vector ::const_iterator _iter474; + for (_iter474 = this->colNames.begin(); _iter474 != this->colNames.end(); ++_iter474) { - xfer += oprot->writeString((*_iter482)); + xfer += oprot->writeString((*_iter474)); } xfer += oprot->writeListEnd(); } @@ -11226,15 +11202,15 @@ void swap(TableStatsRequest &a, TableStatsRequest &b) { swap(a.colNames, b.colNames); } -TableStatsRequest::TableStatsRequest(const TableStatsRequest& other483) { - dbName = other483.dbName; - tblName = other483.tblName; - colNames = other483.colNames; +TableStatsRequest::TableStatsRequest(const TableStatsRequest& other475) { + dbName = other475.dbName; + tblName = other475.tblName; + colNames = other475.colNames; } -TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other484) { - dbName = other484.dbName; - tblName = other484.tblName; - colNames = other484.colNames; +TableStatsRequest& TableStatsRequest::operator=(const TableStatsRequest& other476) { + dbName = other476.dbName; + tblName = other476.tblName; + colNames = other476.colNames; return *this; } void TableStatsRequest::printTo(std::ostream& out) const { @@ -11312,14 +11288,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->colNames.clear(); - uint32_t _size485; - ::apache::thrift::protocol::TType _etype488; - xfer += iprot->readListBegin(_etype488, _size485); - this->colNames.resize(_size485); - uint32_t _i489; - for (_i489 = 0; _i489 < _size485; ++_i489) + uint32_t _size477; + ::apache::thrift::protocol::TType _etype480; + xfer += iprot->readListBegin(_etype480, _size477); + this->colNames.resize(_size477); + uint32_t _i481; + for (_i481 = 0; _i481 < _size477; ++_i481) { - xfer += iprot->readString(this->colNames[_i489]); + xfer += iprot->readString(this->colNames[_i481]); } xfer += iprot->readListEnd(); } @@ -11332,14 +11308,14 @@ uint32_t PartitionsStatsRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size490; - ::apache::thrift::protocol::TType _etype493; - xfer += iprot->readListBegin(_etype493, _size490); - this->partNames.resize(_size490); - uint32_t _i494; - for (_i494 = 0; _i494 < _size490; ++_i494) + uint32_t _size482; + ::apache::thrift::protocol::TType _etype485; + xfer += iprot->readListBegin(_etype485, _size482); + this->partNames.resize(_size482); + uint32_t _i486; + for (_i486 = 0; _i486 < _size482; ++_i486) { - xfer += iprot->readString(this->partNames[_i494]); + xfer += iprot->readString(this->partNames[_i486]); } xfer += iprot->readListEnd(); } @@ -11384,10 +11360,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 _iter495; - for (_iter495 = this->colNames.begin(); _iter495 != this->colNames.end(); ++_iter495) + std::vector ::const_iterator _iter487; + for (_iter487 = this->colNames.begin(); _iter487 != this->colNames.end(); ++_iter487) { - xfer += oprot->writeString((*_iter495)); + xfer += oprot->writeString((*_iter487)); } xfer += oprot->writeListEnd(); } @@ -11396,10 +11372,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 _iter496; - for (_iter496 = this->partNames.begin(); _iter496 != this->partNames.end(); ++_iter496) + std::vector ::const_iterator _iter488; + for (_iter488 = this->partNames.begin(); _iter488 != this->partNames.end(); ++_iter488) { - xfer += oprot->writeString((*_iter496)); + xfer += oprot->writeString((*_iter488)); } xfer += oprot->writeListEnd(); } @@ -11418,17 +11394,17 @@ void swap(PartitionsStatsRequest &a, PartitionsStatsRequest &b) { swap(a.partNames, b.partNames); } -PartitionsStatsRequest::PartitionsStatsRequest(const PartitionsStatsRequest& other497) { - dbName = other497.dbName; - tblName = other497.tblName; - colNames = other497.colNames; - partNames = other497.partNames; +PartitionsStatsRequest::PartitionsStatsRequest(const PartitionsStatsRequest& other489) { + dbName = other489.dbName; + tblName = other489.tblName; + colNames = other489.colNames; + partNames = other489.partNames; } -PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsRequest& other498) { - dbName = other498.dbName; - tblName = other498.tblName; - colNames = other498.colNames; - partNames = other498.partNames; +PartitionsStatsRequest& PartitionsStatsRequest::operator=(const PartitionsStatsRequest& other490) { + dbName = other490.dbName; + tblName = other490.tblName; + colNames = other490.colNames; + partNames = other490.partNames; return *this; } void PartitionsStatsRequest::printTo(std::ostream& out) const { @@ -11476,14 +11452,14 @@ uint32_t AddPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size499; - ::apache::thrift::protocol::TType _etype502; - xfer += iprot->readListBegin(_etype502, _size499); - this->partitions.resize(_size499); - uint32_t _i503; - for (_i503 = 0; _i503 < _size499; ++_i503) + uint32_t _size491; + ::apache::thrift::protocol::TType _etype494; + xfer += iprot->readListBegin(_etype494, _size491); + this->partitions.resize(_size491); + uint32_t _i495; + for (_i495 = 0; _i495 < _size491; ++_i495) { - xfer += this->partitions[_i503].read(iprot); + xfer += this->partitions[_i495].read(iprot); } xfer += iprot->readListEnd(); } @@ -11513,10 +11489,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 _iter504; - for (_iter504 = this->partitions.begin(); _iter504 != this->partitions.end(); ++_iter504) + std::vector ::const_iterator _iter496; + for (_iter496 = this->partitions.begin(); _iter496 != this->partitions.end(); ++_iter496) { - xfer += (*_iter504).write(oprot); + xfer += (*_iter496).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11533,13 +11509,13 @@ void swap(AddPartitionsResult &a, AddPartitionsResult &b) { swap(a.__isset, b.__isset); } -AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other505) { - partitions = other505.partitions; - __isset = other505.__isset; +AddPartitionsResult::AddPartitionsResult(const AddPartitionsResult& other497) { + partitions = other497.partitions; + __isset = other497.__isset; } -AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other506) { - partitions = other506.partitions; - __isset = other506.__isset; +AddPartitionsResult& AddPartitionsResult::operator=(const AddPartitionsResult& other498) { + partitions = other498.partitions; + __isset = other498.__isset; return *this; } void AddPartitionsResult::printTo(std::ostream& out) const { @@ -11620,14 +11596,14 @@ uint32_t AddPartitionsRequest::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->parts.clear(); - uint32_t _size507; - ::apache::thrift::protocol::TType _etype510; - xfer += iprot->readListBegin(_etype510, _size507); - this->parts.resize(_size507); - uint32_t _i511; - for (_i511 = 0; _i511 < _size507; ++_i511) + uint32_t _size499; + ::apache::thrift::protocol::TType _etype502; + xfer += iprot->readListBegin(_etype502, _size499); + this->parts.resize(_size499); + uint32_t _i503; + for (_i503 = 0; _i503 < _size499; ++_i503) { - xfer += this->parts[_i511].read(iprot); + xfer += this->parts[_i503].read(iprot); } xfer += iprot->readListEnd(); } @@ -11688,10 +11664,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 _iter512; - for (_iter512 = this->parts.begin(); _iter512 != this->parts.end(); ++_iter512) + std::vector ::const_iterator _iter504; + for (_iter504 = this->parts.begin(); _iter504 != this->parts.end(); ++_iter504) { - xfer += (*_iter512).write(oprot); + xfer += (*_iter504).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11721,21 +11697,21 @@ void swap(AddPartitionsRequest &a, AddPartitionsRequest &b) { swap(a.__isset, b.__isset); } -AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other513) { - dbName = other513.dbName; - tblName = other513.tblName; - parts = other513.parts; - ifNotExists = other513.ifNotExists; - needResult = other513.needResult; - __isset = other513.__isset; +AddPartitionsRequest::AddPartitionsRequest(const AddPartitionsRequest& other505) { + dbName = other505.dbName; + tblName = other505.tblName; + parts = other505.parts; + ifNotExists = other505.ifNotExists; + needResult = other505.needResult; + __isset = other505.__isset; } -AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other514) { - dbName = other514.dbName; - tblName = other514.tblName; - parts = other514.parts; - ifNotExists = other514.ifNotExists; - needResult = other514.needResult; - __isset = other514.__isset; +AddPartitionsRequest& AddPartitionsRequest::operator=(const AddPartitionsRequest& other506) { + dbName = other506.dbName; + tblName = other506.tblName; + parts = other506.parts; + ifNotExists = other506.ifNotExists; + needResult = other506.needResult; + __isset = other506.__isset; return *this; } void AddPartitionsRequest::printTo(std::ostream& out) const { @@ -11784,14 +11760,14 @@ uint32_t DropPartitionsResult::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitions.clear(); - uint32_t _size515; - ::apache::thrift::protocol::TType _etype518; - xfer += iprot->readListBegin(_etype518, _size515); - this->partitions.resize(_size515); - uint32_t _i519; - for (_i519 = 0; _i519 < _size515; ++_i519) + uint32_t _size507; + ::apache::thrift::protocol::TType _etype510; + xfer += iprot->readListBegin(_etype510, _size507); + this->partitions.resize(_size507); + uint32_t _i511; + for (_i511 = 0; _i511 < _size507; ++_i511) { - xfer += this->partitions[_i519].read(iprot); + xfer += this->partitions[_i511].read(iprot); } xfer += iprot->readListEnd(); } @@ -11821,10 +11797,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 _iter520; - for (_iter520 = this->partitions.begin(); _iter520 != this->partitions.end(); ++_iter520) + std::vector ::const_iterator _iter512; + for (_iter512 = this->partitions.begin(); _iter512 != this->partitions.end(); ++_iter512) { - xfer += (*_iter520).write(oprot); + xfer += (*_iter512).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11841,13 +11817,13 @@ void swap(DropPartitionsResult &a, DropPartitionsResult &b) { swap(a.__isset, b.__isset); } -DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other521) { - partitions = other521.partitions; - __isset = other521.__isset; +DropPartitionsResult::DropPartitionsResult(const DropPartitionsResult& other513) { + partitions = other513.partitions; + __isset = other513.__isset; } -DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult& other522) { - partitions = other522.partitions; - __isset = other522.__isset; +DropPartitionsResult& DropPartitionsResult::operator=(const DropPartitionsResult& other514) { + partitions = other514.partitions; + __isset = other514.__isset; return *this; } void DropPartitionsResult::printTo(std::ostream& out) const { @@ -11949,15 +11925,15 @@ void swap(DropPartitionsExpr &a, DropPartitionsExpr &b) { swap(a.__isset, b.__isset); } -DropPartitionsExpr::DropPartitionsExpr(const DropPartitionsExpr& other523) { - expr = other523.expr; - partArchiveLevel = other523.partArchiveLevel; - __isset = other523.__isset; +DropPartitionsExpr::DropPartitionsExpr(const DropPartitionsExpr& other515) { + expr = other515.expr; + partArchiveLevel = other515.partArchiveLevel; + __isset = other515.__isset; } -DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& other524) { - expr = other524.expr; - partArchiveLevel = other524.partArchiveLevel; - __isset = other524.__isset; +DropPartitionsExpr& DropPartitionsExpr::operator=(const DropPartitionsExpr& other516) { + expr = other516.expr; + partArchiveLevel = other516.partArchiveLevel; + __isset = other516.__isset; return *this; } void DropPartitionsExpr::printTo(std::ostream& out) const { @@ -12006,14 +11982,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size525; - ::apache::thrift::protocol::TType _etype528; - xfer += iprot->readListBegin(_etype528, _size525); - this->names.resize(_size525); - uint32_t _i529; - for (_i529 = 0; _i529 < _size525; ++_i529) + uint32_t _size517; + ::apache::thrift::protocol::TType _etype520; + xfer += iprot->readListBegin(_etype520, _size517); + this->names.resize(_size517); + uint32_t _i521; + for (_i521 = 0; _i521 < _size517; ++_i521) { - xfer += iprot->readString(this->names[_i529]); + xfer += iprot->readString(this->names[_i521]); } xfer += iprot->readListEnd(); } @@ -12026,14 +12002,14 @@ uint32_t RequestPartsSpec::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->exprs.clear(); - uint32_t _size530; - ::apache::thrift::protocol::TType _etype533; - xfer += iprot->readListBegin(_etype533, _size530); - this->exprs.resize(_size530); - uint32_t _i534; - for (_i534 = 0; _i534 < _size530; ++_i534) + uint32_t _size522; + ::apache::thrift::protocol::TType _etype525; + xfer += iprot->readListBegin(_etype525, _size522); + this->exprs.resize(_size522); + uint32_t _i526; + for (_i526 = 0; _i526 < _size522; ++_i526) { - xfer += this->exprs[_i534].read(iprot); + xfer += this->exprs[_i526].read(iprot); } xfer += iprot->readListEnd(); } @@ -12062,10 +12038,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 _iter535; - for (_iter535 = this->names.begin(); _iter535 != this->names.end(); ++_iter535) + std::vector ::const_iterator _iter527; + for (_iter527 = this->names.begin(); _iter527 != this->names.end(); ++_iter527) { - xfer += oprot->writeString((*_iter535)); + xfer += oprot->writeString((*_iter527)); } xfer += oprot->writeListEnd(); } @@ -12074,10 +12050,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 _iter536; - for (_iter536 = this->exprs.begin(); _iter536 != this->exprs.end(); ++_iter536) + std::vector ::const_iterator _iter528; + for (_iter528 = this->exprs.begin(); _iter528 != this->exprs.end(); ++_iter528) { - xfer += (*_iter536).write(oprot); + xfer += (*_iter528).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12095,15 +12071,15 @@ void swap(RequestPartsSpec &a, RequestPartsSpec &b) { swap(a.__isset, b.__isset); } -RequestPartsSpec::RequestPartsSpec(const RequestPartsSpec& other537) { - names = other537.names; - exprs = other537.exprs; - __isset = other537.__isset; +RequestPartsSpec::RequestPartsSpec(const RequestPartsSpec& other529) { + names = other529.names; + exprs = other529.exprs; + __isset = other529.__isset; } -RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other538) { - names = other538.names; - exprs = other538.exprs; - __isset = other538.__isset; +RequestPartsSpec& RequestPartsSpec::operator=(const RequestPartsSpec& other530) { + names = other530.names; + exprs = other530.exprs; + __isset = other530.__isset; return *this; } void RequestPartsSpec::printTo(std::ostream& out) const { @@ -12322,27 +12298,27 @@ void swap(DropPartitionsRequest &a, DropPartitionsRequest &b) { swap(a.__isset, b.__isset); } -DropPartitionsRequest::DropPartitionsRequest(const DropPartitionsRequest& other539) { - dbName = other539.dbName; - tblName = other539.tblName; - parts = other539.parts; - deleteData = other539.deleteData; - ifExists = other539.ifExists; - ignoreProtection = other539.ignoreProtection; - environmentContext = other539.environmentContext; - needResult = other539.needResult; - __isset = other539.__isset; -} -DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequest& other540) { - dbName = other540.dbName; - tblName = other540.tblName; - parts = other540.parts; - deleteData = other540.deleteData; - ifExists = other540.ifExists; - ignoreProtection = other540.ignoreProtection; - environmentContext = other540.environmentContext; - needResult = other540.needResult; - __isset = other540.__isset; +DropPartitionsRequest::DropPartitionsRequest(const DropPartitionsRequest& other531) { + dbName = other531.dbName; + tblName = other531.tblName; + parts = other531.parts; + deleteData = other531.deleteData; + ifExists = other531.ifExists; + ignoreProtection = other531.ignoreProtection; + environmentContext = other531.environmentContext; + needResult = other531.needResult; + __isset = other531.__isset; +} +DropPartitionsRequest& DropPartitionsRequest::operator=(const DropPartitionsRequest& other532) { + dbName = other532.dbName; + tblName = other532.tblName; + parts = other532.parts; + deleteData = other532.deleteData; + ifExists = other532.ifExists; + ignoreProtection = other532.ignoreProtection; + environmentContext = other532.environmentContext; + needResult = other532.needResult; + __isset = other532.__isset; return *this; } void DropPartitionsRequest::printTo(std::ostream& out) const { @@ -12445,14 +12421,14 @@ uint32_t PartitionValuesRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionKeys.clear(); - uint32_t _size541; - ::apache::thrift::protocol::TType _etype544; - xfer += iprot->readListBegin(_etype544, _size541); - this->partitionKeys.resize(_size541); - uint32_t _i545; - for (_i545 = 0; _i545 < _size541; ++_i545) + uint32_t _size533; + ::apache::thrift::protocol::TType _etype536; + xfer += iprot->readListBegin(_etype536, _size533); + this->partitionKeys.resize(_size533); + uint32_t _i537; + for (_i537 = 0; _i537 < _size533; ++_i537) { - xfer += this->partitionKeys[_i545].read(iprot); + xfer += this->partitionKeys[_i537].read(iprot); } xfer += iprot->readListEnd(); } @@ -12481,14 +12457,14 @@ uint32_t PartitionValuesRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionOrder.clear(); - uint32_t _size546; - ::apache::thrift::protocol::TType _etype549; - xfer += iprot->readListBegin(_etype549, _size546); - this->partitionOrder.resize(_size546); - uint32_t _i550; - for (_i550 = 0; _i550 < _size546; ++_i550) + uint32_t _size538; + ::apache::thrift::protocol::TType _etype541; + xfer += iprot->readListBegin(_etype541, _size538); + this->partitionOrder.resize(_size538); + uint32_t _i542; + for (_i542 = 0; _i542 < _size538; ++_i542) { - xfer += this->partitionOrder[_i550].read(iprot); + xfer += this->partitionOrder[_i542].read(iprot); } xfer += iprot->readListEnd(); } @@ -12547,10 +12523,10 @@ uint32_t PartitionValuesRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partitionKeys", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionKeys.size())); - std::vector ::const_iterator _iter551; - for (_iter551 = this->partitionKeys.begin(); _iter551 != this->partitionKeys.end(); ++_iter551) + std::vector ::const_iterator _iter543; + for (_iter543 = this->partitionKeys.begin(); _iter543 != this->partitionKeys.end(); ++_iter543) { - xfer += (*_iter551).write(oprot); + xfer += (*_iter543).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12570,10 +12546,10 @@ uint32_t PartitionValuesRequest::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("partitionOrder", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionOrder.size())); - std::vector ::const_iterator _iter552; - for (_iter552 = this->partitionOrder.begin(); _iter552 != this->partitionOrder.end(); ++_iter552) + std::vector ::const_iterator _iter544; + for (_iter544 = this->partitionOrder.begin(); _iter544 != this->partitionOrder.end(); ++_iter544) { - xfer += (*_iter552).write(oprot); + xfer += (*_iter544).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12607,27 +12583,27 @@ void swap(PartitionValuesRequest &a, PartitionValuesRequest &b) { swap(a.__isset, b.__isset); } -PartitionValuesRequest::PartitionValuesRequest(const PartitionValuesRequest& other553) { - dbName = other553.dbName; - tblName = other553.tblName; - partitionKeys = other553.partitionKeys; - applyDistinct = other553.applyDistinct; - filter = other553.filter; - partitionOrder = other553.partitionOrder; - ascending = other553.ascending; - maxParts = other553.maxParts; - __isset = other553.__isset; -} -PartitionValuesRequest& PartitionValuesRequest::operator=(const PartitionValuesRequest& other554) { - dbName = other554.dbName; - tblName = other554.tblName; - partitionKeys = other554.partitionKeys; - applyDistinct = other554.applyDistinct; - filter = other554.filter; - partitionOrder = other554.partitionOrder; - ascending = other554.ascending; - maxParts = other554.maxParts; - __isset = other554.__isset; +PartitionValuesRequest::PartitionValuesRequest(const PartitionValuesRequest& other545) { + dbName = other545.dbName; + tblName = other545.tblName; + partitionKeys = other545.partitionKeys; + applyDistinct = other545.applyDistinct; + filter = other545.filter; + partitionOrder = other545.partitionOrder; + ascending = other545.ascending; + maxParts = other545.maxParts; + __isset = other545.__isset; +} +PartitionValuesRequest& PartitionValuesRequest::operator=(const PartitionValuesRequest& other546) { + dbName = other546.dbName; + tblName = other546.tblName; + partitionKeys = other546.partitionKeys; + applyDistinct = other546.applyDistinct; + filter = other546.filter; + partitionOrder = other546.partitionOrder; + ascending = other546.ascending; + maxParts = other546.maxParts; + __isset = other546.__isset; return *this; } void PartitionValuesRequest::printTo(std::ostream& out) const { @@ -12679,14 +12655,14 @@ uint32_t PartitionValuesRow::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->row.clear(); - uint32_t _size555; - ::apache::thrift::protocol::TType _etype558; - xfer += iprot->readListBegin(_etype558, _size555); - this->row.resize(_size555); - uint32_t _i559; - for (_i559 = 0; _i559 < _size555; ++_i559) + uint32_t _size547; + ::apache::thrift::protocol::TType _etype550; + xfer += iprot->readListBegin(_etype550, _size547); + this->row.resize(_size547); + uint32_t _i551; + for (_i551 = 0; _i551 < _size547; ++_i551) { - xfer += iprot->readString(this->row[_i559]); + xfer += iprot->readString(this->row[_i551]); } xfer += iprot->readListEnd(); } @@ -12717,10 +12693,10 @@ uint32_t PartitionValuesRow::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("row", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->row.size())); - std::vector ::const_iterator _iter560; - for (_iter560 = this->row.begin(); _iter560 != this->row.end(); ++_iter560) + std::vector ::const_iterator _iter552; + for (_iter552 = this->row.begin(); _iter552 != this->row.end(); ++_iter552) { - xfer += oprot->writeString((*_iter560)); + xfer += oprot->writeString((*_iter552)); } xfer += oprot->writeListEnd(); } @@ -12736,11 +12712,11 @@ void swap(PartitionValuesRow &a, PartitionValuesRow &b) { swap(a.row, b.row); } -PartitionValuesRow::PartitionValuesRow(const PartitionValuesRow& other561) { - row = other561.row; +PartitionValuesRow::PartitionValuesRow(const PartitionValuesRow& other553) { + row = other553.row; } -PartitionValuesRow& PartitionValuesRow::operator=(const PartitionValuesRow& other562) { - row = other562.row; +PartitionValuesRow& PartitionValuesRow::operator=(const PartitionValuesRow& other554) { + row = other554.row; return *this; } void PartitionValuesRow::printTo(std::ostream& out) const { @@ -12785,14 +12761,14 @@ uint32_t PartitionValuesResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionValues.clear(); - uint32_t _size563; - ::apache::thrift::protocol::TType _etype566; - xfer += iprot->readListBegin(_etype566, _size563); - this->partitionValues.resize(_size563); - uint32_t _i567; - for (_i567 = 0; _i567 < _size563; ++_i567) + uint32_t _size555; + ::apache::thrift::protocol::TType _etype558; + xfer += iprot->readListBegin(_etype558, _size555); + this->partitionValues.resize(_size555); + uint32_t _i559; + for (_i559 = 0; _i559 < _size555; ++_i559) { - xfer += this->partitionValues[_i567].read(iprot); + xfer += this->partitionValues[_i559].read(iprot); } xfer += iprot->readListEnd(); } @@ -12823,10 +12799,10 @@ uint32_t PartitionValuesResponse::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("partitionValues", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->partitionValues.size())); - std::vector ::const_iterator _iter568; - for (_iter568 = this->partitionValues.begin(); _iter568 != this->partitionValues.end(); ++_iter568) + std::vector ::const_iterator _iter560; + for (_iter560 = this->partitionValues.begin(); _iter560 != this->partitionValues.end(); ++_iter560) { - xfer += (*_iter568).write(oprot); + xfer += (*_iter560).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12842,11 +12818,11 @@ void swap(PartitionValuesResponse &a, PartitionValuesResponse &b) { swap(a.partitionValues, b.partitionValues); } -PartitionValuesResponse::PartitionValuesResponse(const PartitionValuesResponse& other569) { - partitionValues = other569.partitionValues; +PartitionValuesResponse::PartitionValuesResponse(const PartitionValuesResponse& other561) { + partitionValues = other561.partitionValues; } -PartitionValuesResponse& PartitionValuesResponse::operator=(const PartitionValuesResponse& other570) { - partitionValues = other570.partitionValues; +PartitionValuesResponse& PartitionValuesResponse::operator=(const PartitionValuesResponse& other562) { + partitionValues = other562.partitionValues; return *this; } void PartitionValuesResponse::printTo(std::ostream& out) const { @@ -12892,9 +12868,9 @@ uint32_t ResourceUri::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast571; - xfer += iprot->readI32(ecast571); - this->resourceType = (ResourceType::type)ecast571; + int32_t ecast563; + xfer += iprot->readI32(ecast563); + this->resourceType = (ResourceType::type)ecast563; this->__isset.resourceType = true; } else { xfer += iprot->skip(ftype); @@ -12945,15 +12921,15 @@ void swap(ResourceUri &a, ResourceUri &b) { swap(a.__isset, b.__isset); } -ResourceUri::ResourceUri(const ResourceUri& other572) { - resourceType = other572.resourceType; - uri = other572.uri; - __isset = other572.__isset; +ResourceUri::ResourceUri(const ResourceUri& other564) { + resourceType = other564.resourceType; + uri = other564.uri; + __isset = other564.__isset; } -ResourceUri& ResourceUri::operator=(const ResourceUri& other573) { - resourceType = other573.resourceType; - uri = other573.uri; - __isset = other573.__isset; +ResourceUri& ResourceUri::operator=(const ResourceUri& other565) { + resourceType = other565.resourceType; + uri = other565.uri; + __isset = other565.__isset; return *this; } void ResourceUri::printTo(std::ostream& out) const { @@ -13056,9 +13032,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast574; - xfer += iprot->readI32(ecast574); - this->ownerType = (PrincipalType::type)ecast574; + int32_t ecast566; + xfer += iprot->readI32(ecast566); + this->ownerType = (PrincipalType::type)ecast566; this->__isset.ownerType = true; } else { xfer += iprot->skip(ftype); @@ -13074,9 +13050,9 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 7: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast575; - xfer += iprot->readI32(ecast575); - this->functionType = (FunctionType::type)ecast575; + int32_t ecast567; + xfer += iprot->readI32(ecast567); + this->functionType = (FunctionType::type)ecast567; this->__isset.functionType = true; } else { xfer += iprot->skip(ftype); @@ -13086,14 +13062,14 @@ uint32_t Function::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourceUris.clear(); - uint32_t _size576; - ::apache::thrift::protocol::TType _etype579; - xfer += iprot->readListBegin(_etype579, _size576); - this->resourceUris.resize(_size576); - uint32_t _i580; - for (_i580 = 0; _i580 < _size576; ++_i580) + uint32_t _size568; + ::apache::thrift::protocol::TType _etype571; + xfer += iprot->readListBegin(_etype571, _size568); + this->resourceUris.resize(_size568); + uint32_t _i572; + for (_i572 = 0; _i572 < _size568; ++_i572) { - xfer += this->resourceUris[_i580].read(iprot); + xfer += this->resourceUris[_i572].read(iprot); } xfer += iprot->readListEnd(); } @@ -13150,10 +13126,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 _iter581; - for (_iter581 = this->resourceUris.begin(); _iter581 != this->resourceUris.end(); ++_iter581) + std::vector ::const_iterator _iter573; + for (_iter573 = this->resourceUris.begin(); _iter573 != this->resourceUris.end(); ++_iter573) { - xfer += (*_iter581).write(oprot); + xfer += (*_iter573).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13177,27 +13153,27 @@ void swap(Function &a, Function &b) { swap(a.__isset, b.__isset); } -Function::Function(const Function& other582) { - functionName = other582.functionName; - dbName = other582.dbName; - className = other582.className; - ownerName = other582.ownerName; - ownerType = other582.ownerType; - createTime = other582.createTime; - functionType = other582.functionType; - resourceUris = other582.resourceUris; - __isset = other582.__isset; -} -Function& Function::operator=(const Function& other583) { - functionName = other583.functionName; - dbName = other583.dbName; - className = other583.className; - ownerName = other583.ownerName; - ownerType = other583.ownerType; - createTime = other583.createTime; - functionType = other583.functionType; - resourceUris = other583.resourceUris; - __isset = other583.__isset; +Function::Function(const Function& other574) { + functionName = other574.functionName; + dbName = other574.dbName; + className = other574.className; + ownerName = other574.ownerName; + ownerType = other574.ownerType; + createTime = other574.createTime; + functionType = other574.functionType; + resourceUris = other574.resourceUris; + __isset = other574.__isset; +} +Function& Function::operator=(const Function& other575) { + functionName = other575.functionName; + dbName = other575.dbName; + className = other575.className; + ownerName = other575.ownerName; + ownerType = other575.ownerType; + createTime = other575.createTime; + functionType = other575.functionType; + resourceUris = other575.resourceUris; + __isset = other575.__isset; return *this; } void Function::printTo(std::ostream& out) const { @@ -13295,9 +13271,9 @@ uint32_t TxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast584; - xfer += iprot->readI32(ecast584); - this->state = (TxnState::type)ecast584; + int32_t ecast576; + xfer += iprot->readI32(ecast576); + this->state = (TxnState::type)ecast576; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -13444,29 +13420,29 @@ void swap(TxnInfo &a, TxnInfo &b) { swap(a.__isset, b.__isset); } -TxnInfo::TxnInfo(const TxnInfo& other585) { - id = other585.id; - state = other585.state; - user = other585.user; - hostname = other585.hostname; - agentInfo = other585.agentInfo; - heartbeatCount = other585.heartbeatCount; - metaInfo = other585.metaInfo; - startedTime = other585.startedTime; - lastHeartbeatTime = other585.lastHeartbeatTime; - __isset = other585.__isset; -} -TxnInfo& TxnInfo::operator=(const TxnInfo& other586) { - id = other586.id; - state = other586.state; - user = other586.user; - hostname = other586.hostname; - agentInfo = other586.agentInfo; - heartbeatCount = other586.heartbeatCount; - metaInfo = other586.metaInfo; - startedTime = other586.startedTime; - lastHeartbeatTime = other586.lastHeartbeatTime; - __isset = other586.__isset; +TxnInfo::TxnInfo(const TxnInfo& other577) { + id = other577.id; + state = other577.state; + user = other577.user; + hostname = other577.hostname; + agentInfo = other577.agentInfo; + heartbeatCount = other577.heartbeatCount; + metaInfo = other577.metaInfo; + startedTime = other577.startedTime; + lastHeartbeatTime = other577.lastHeartbeatTime; + __isset = other577.__isset; +} +TxnInfo& TxnInfo::operator=(const TxnInfo& other578) { + id = other578.id; + state = other578.state; + user = other578.user; + hostname = other578.hostname; + agentInfo = other578.agentInfo; + heartbeatCount = other578.heartbeatCount; + metaInfo = other578.metaInfo; + startedTime = other578.startedTime; + lastHeartbeatTime = other578.lastHeartbeatTime; + __isset = other578.__isset; return *this; } void TxnInfo::printTo(std::ostream& out) const { @@ -13532,14 +13508,14 @@ uint32_t GetOpenTxnsInfoResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size587; - ::apache::thrift::protocol::TType _etype590; - xfer += iprot->readListBegin(_etype590, _size587); - this->open_txns.resize(_size587); - uint32_t _i591; - for (_i591 = 0; _i591 < _size587; ++_i591) + uint32_t _size579; + ::apache::thrift::protocol::TType _etype582; + xfer += iprot->readListBegin(_etype582, _size579); + this->open_txns.resize(_size579); + uint32_t _i583; + for (_i583 = 0; _i583 < _size579; ++_i583) { - xfer += this->open_txns[_i591].read(iprot); + xfer += this->open_txns[_i583].read(iprot); } xfer += iprot->readListEnd(); } @@ -13576,10 +13552,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 _iter592; - for (_iter592 = this->open_txns.begin(); _iter592 != this->open_txns.end(); ++_iter592) + std::vector ::const_iterator _iter584; + for (_iter584 = this->open_txns.begin(); _iter584 != this->open_txns.end(); ++_iter584) { - xfer += (*_iter592).write(oprot); + xfer += (*_iter584).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13596,13 +13572,13 @@ void swap(GetOpenTxnsInfoResponse &a, GetOpenTxnsInfoResponse &b) { swap(a.open_txns, b.open_txns); } -GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other593) { - txn_high_water_mark = other593.txn_high_water_mark; - open_txns = other593.open_txns; +GetOpenTxnsInfoResponse::GetOpenTxnsInfoResponse(const GetOpenTxnsInfoResponse& other585) { + txn_high_water_mark = other585.txn_high_water_mark; + open_txns = other585.open_txns; } -GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other594) { - txn_high_water_mark = other594.txn_high_water_mark; - open_txns = other594.open_txns; +GetOpenTxnsInfoResponse& GetOpenTxnsInfoResponse::operator=(const GetOpenTxnsInfoResponse& other586) { + txn_high_water_mark = other586.txn_high_water_mark; + open_txns = other586.open_txns; return *this; } void GetOpenTxnsInfoResponse::printTo(std::ostream& out) const { @@ -13671,14 +13647,14 @@ uint32_t GetOpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->open_txns.clear(); - uint32_t _size595; - ::apache::thrift::protocol::TType _etype598; - xfer += iprot->readListBegin(_etype598, _size595); - this->open_txns.resize(_size595); - uint32_t _i599; - for (_i599 = 0; _i599 < _size595; ++_i599) + uint32_t _size587; + ::apache::thrift::protocol::TType _etype590; + xfer += iprot->readListBegin(_etype590, _size587); + this->open_txns.resize(_size587); + uint32_t _i591; + for (_i591 = 0; _i591 < _size587; ++_i591) { - xfer += iprot->readI64(this->open_txns[_i599]); + xfer += iprot->readI64(this->open_txns[_i591]); } xfer += iprot->readListEnd(); } @@ -13733,10 +13709,10 @@ uint32_t GetOpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->open_txns.size())); - std::vector ::const_iterator _iter600; - for (_iter600 = this->open_txns.begin(); _iter600 != this->open_txns.end(); ++_iter600) + std::vector ::const_iterator _iter592; + for (_iter592 = this->open_txns.begin(); _iter592 != this->open_txns.end(); ++_iter592) { - xfer += oprot->writeI64((*_iter600)); + xfer += oprot->writeI64((*_iter592)); } xfer += oprot->writeListEnd(); } @@ -13765,19 +13741,19 @@ void swap(GetOpenTxnsResponse &a, GetOpenTxnsResponse &b) { swap(a.__isset, b.__isset); } -GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other601) { - txn_high_water_mark = other601.txn_high_water_mark; - open_txns = other601.open_txns; - min_open_txn = other601.min_open_txn; - abortedBits = other601.abortedBits; - __isset = other601.__isset; +GetOpenTxnsResponse::GetOpenTxnsResponse(const GetOpenTxnsResponse& other593) { + txn_high_water_mark = other593.txn_high_water_mark; + open_txns = other593.open_txns; + min_open_txn = other593.min_open_txn; + abortedBits = other593.abortedBits; + __isset = other593.__isset; } -GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other602) { - txn_high_water_mark = other602.txn_high_water_mark; - open_txns = other602.open_txns; - min_open_txn = other602.min_open_txn; - abortedBits = other602.abortedBits; - __isset = other602.__isset; +GetOpenTxnsResponse& GetOpenTxnsResponse::operator=(const GetOpenTxnsResponse& other594) { + txn_high_water_mark = other594.txn_high_water_mark; + open_txns = other594.open_txns; + min_open_txn = other594.min_open_txn; + abortedBits = other594.abortedBits; + __isset = other594.__isset; return *this; } void GetOpenTxnsResponse::printTo(std::ostream& out) const { @@ -13922,19 +13898,19 @@ void swap(OpenTxnRequest &a, OpenTxnRequest &b) { swap(a.__isset, b.__isset); } -OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other603) { - num_txns = other603.num_txns; - user = other603.user; - hostname = other603.hostname; - agentInfo = other603.agentInfo; - __isset = other603.__isset; +OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other595) { + num_txns = other595.num_txns; + user = other595.user; + hostname = other595.hostname; + agentInfo = other595.agentInfo; + __isset = other595.__isset; } -OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other604) { - num_txns = other604.num_txns; - user = other604.user; - hostname = other604.hostname; - agentInfo = other604.agentInfo; - __isset = other604.__isset; +OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other596) { + num_txns = other596.num_txns; + user = other596.user; + hostname = other596.hostname; + agentInfo = other596.agentInfo; + __isset = other596.__isset; return *this; } void OpenTxnRequest::printTo(std::ostream& out) const { @@ -13982,14 +13958,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size605; - ::apache::thrift::protocol::TType _etype608; - xfer += iprot->readListBegin(_etype608, _size605); - this->txn_ids.resize(_size605); - uint32_t _i609; - for (_i609 = 0; _i609 < _size605; ++_i609) + uint32_t _size597; + ::apache::thrift::protocol::TType _etype600; + xfer += iprot->readListBegin(_etype600, _size597); + this->txn_ids.resize(_size597); + uint32_t _i601; + for (_i601 = 0; _i601 < _size597; ++_i601) { - xfer += iprot->readI64(this->txn_ids[_i609]); + xfer += iprot->readI64(this->txn_ids[_i601]); } xfer += iprot->readListEnd(); } @@ -14020,10 +13996,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 _iter610; - for (_iter610 = this->txn_ids.begin(); _iter610 != this->txn_ids.end(); ++_iter610) + std::vector ::const_iterator _iter602; + for (_iter602 = this->txn_ids.begin(); _iter602 != this->txn_ids.end(); ++_iter602) { - xfer += oprot->writeI64((*_iter610)); + xfer += oprot->writeI64((*_iter602)); } xfer += oprot->writeListEnd(); } @@ -14039,11 +14015,11 @@ void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) { swap(a.txn_ids, b.txn_ids); } -OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other611) { - txn_ids = other611.txn_ids; +OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other603) { + txn_ids = other603.txn_ids; } -OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other612) { - txn_ids = other612.txn_ids; +OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other604) { + txn_ids = other604.txn_ids; return *this; } void OpenTxnsResponse::printTo(std::ostream& out) const { @@ -14125,11 +14101,11 @@ void swap(AbortTxnRequest &a, AbortTxnRequest &b) { swap(a.txnid, b.txnid); } -AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other613) { - txnid = other613.txnid; +AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other605) { + txnid = other605.txnid; } -AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other614) { - txnid = other614.txnid; +AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other606) { + txnid = other606.txnid; return *this; } void AbortTxnRequest::printTo(std::ostream& out) const { @@ -14174,14 +14150,14 @@ uint32_t AbortTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size615; - ::apache::thrift::protocol::TType _etype618; - xfer += iprot->readListBegin(_etype618, _size615); - this->txn_ids.resize(_size615); - uint32_t _i619; - for (_i619 = 0; _i619 < _size615; ++_i619) + uint32_t _size607; + ::apache::thrift::protocol::TType _etype610; + xfer += iprot->readListBegin(_etype610, _size607); + this->txn_ids.resize(_size607); + uint32_t _i611; + for (_i611 = 0; _i611 < _size607; ++_i611) { - xfer += iprot->readI64(this->txn_ids[_i619]); + xfer += iprot->readI64(this->txn_ids[_i611]); } xfer += iprot->readListEnd(); } @@ -14212,10 +14188,10 @@ uint32_t AbortTxnsRequest::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 _iter620; - for (_iter620 = this->txn_ids.begin(); _iter620 != this->txn_ids.end(); ++_iter620) + std::vector ::const_iterator _iter612; + for (_iter612 = this->txn_ids.begin(); _iter612 != this->txn_ids.end(); ++_iter612) { - xfer += oprot->writeI64((*_iter620)); + xfer += oprot->writeI64((*_iter612)); } xfer += oprot->writeListEnd(); } @@ -14231,11 +14207,11 @@ void swap(AbortTxnsRequest &a, AbortTxnsRequest &b) { swap(a.txn_ids, b.txn_ids); } -AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other621) { - txn_ids = other621.txn_ids; +AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other613) { + txn_ids = other613.txn_ids; } -AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other622) { - txn_ids = other622.txn_ids; +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other614) { + txn_ids = other614.txn_ids; return *this; } void AbortTxnsRequest::printTo(std::ostream& out) const { @@ -14317,11 +14293,11 @@ void swap(CommitTxnRequest &a, CommitTxnRequest &b) { swap(a.txnid, b.txnid); } -CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other623) { - txnid = other623.txnid; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other615) { + txnid = other615.txnid; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other624) { - txnid = other624.txnid; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other616) { + txnid = other616.txnid; return *this; } void CommitTxnRequest::printTo(std::ostream& out) const { @@ -14399,9 +14375,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast625; - xfer += iprot->readI32(ecast625); - this->type = (LockType::type)ecast625; + int32_t ecast617; + xfer += iprot->readI32(ecast617); + this->type = (LockType::type)ecast617; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -14409,9 +14385,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast626; - xfer += iprot->readI32(ecast626); - this->level = (LockLevel::type)ecast626; + int32_t ecast618; + xfer += iprot->readI32(ecast618); + this->level = (LockLevel::type)ecast618; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -14443,9 +14419,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast627; - xfer += iprot->readI32(ecast627); - this->operationType = (DataOperationType::type)ecast627; + int32_t ecast619; + xfer += iprot->readI32(ecast619); + this->operationType = (DataOperationType::type)ecast619; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -14545,27 +14521,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other628) { - type = other628.type; - level = other628.level; - dbname = other628.dbname; - tablename = other628.tablename; - partitionname = other628.partitionname; - operationType = other628.operationType; - isAcid = other628.isAcid; - isDynamicPartitionWrite = other628.isDynamicPartitionWrite; - __isset = other628.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other629) { - type = other629.type; - level = other629.level; - dbname = other629.dbname; - tablename = other629.tablename; - partitionname = other629.partitionname; - operationType = other629.operationType; - isAcid = other629.isAcid; - isDynamicPartitionWrite = other629.isDynamicPartitionWrite; - __isset = other629.__isset; +LockComponent::LockComponent(const LockComponent& other620) { + type = other620.type; + level = other620.level; + dbname = other620.dbname; + tablename = other620.tablename; + partitionname = other620.partitionname; + operationType = other620.operationType; + isAcid = other620.isAcid; + isDynamicPartitionWrite = other620.isDynamicPartitionWrite; + __isset = other620.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other621) { + type = other621.type; + level = other621.level; + dbname = other621.dbname; + tablename = other621.tablename; + partitionname = other621.partitionname; + operationType = other621.operationType; + isAcid = other621.isAcid; + isDynamicPartitionWrite = other621.isDynamicPartitionWrite; + __isset = other621.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -14637,14 +14613,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size630; - ::apache::thrift::protocol::TType _etype633; - xfer += iprot->readListBegin(_etype633, _size630); - this->component.resize(_size630); - uint32_t _i634; - for (_i634 = 0; _i634 < _size630; ++_i634) + uint32_t _size622; + ::apache::thrift::protocol::TType _etype625; + xfer += iprot->readListBegin(_etype625, _size622); + this->component.resize(_size622); + uint32_t _i626; + for (_i626 = 0; _i626 < _size622; ++_i626) { - xfer += this->component[_i634].read(iprot); + xfer += this->component[_i626].read(iprot); } xfer += iprot->readListEnd(); } @@ -14711,10 +14687,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 _iter635; - for (_iter635 = this->component.begin(); _iter635 != this->component.end(); ++_iter635) + std::vector ::const_iterator _iter627; + for (_iter627 = this->component.begin(); _iter627 != this->component.end(); ++_iter627) { - xfer += (*_iter635).write(oprot); + xfer += (*_iter627).write(oprot); } xfer += oprot->writeListEnd(); } @@ -14753,21 +14729,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other636) { - component = other636.component; - txnid = other636.txnid; - user = other636.user; - hostname = other636.hostname; - agentInfo = other636.agentInfo; - __isset = other636.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other637) { - component = other637.component; - txnid = other637.txnid; - user = other637.user; - hostname = other637.hostname; - agentInfo = other637.agentInfo; - __isset = other637.__isset; +LockRequest::LockRequest(const LockRequest& other628) { + component = other628.component; + txnid = other628.txnid; + user = other628.user; + hostname = other628.hostname; + agentInfo = other628.agentInfo; + __isset = other628.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other629) { + component = other629.component; + txnid = other629.txnid; + user = other629.user; + hostname = other629.hostname; + agentInfo = other629.agentInfo; + __isset = other629.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -14827,9 +14803,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast638; - xfer += iprot->readI32(ecast638); - this->state = (LockState::type)ecast638; + int32_t ecast630; + xfer += iprot->readI32(ecast630); + this->state = (LockState::type)ecast630; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -14875,13 +14851,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other639) { - lockid = other639.lockid; - state = other639.state; +LockResponse::LockResponse(const LockResponse& other631) { + lockid = other631.lockid; + state = other631.state; } -LockResponse& LockResponse::operator=(const LockResponse& other640) { - lockid = other640.lockid; - state = other640.state; +LockResponse& LockResponse::operator=(const LockResponse& other632) { + lockid = other632.lockid; + state = other632.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -15003,17 +14979,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other641) { - lockid = other641.lockid; - txnid = other641.txnid; - elapsed_ms = other641.elapsed_ms; - __isset = other641.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other633) { + lockid = other633.lockid; + txnid = other633.txnid; + elapsed_ms = other633.elapsed_ms; + __isset = other633.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other642) { - lockid = other642.lockid; - txnid = other642.txnid; - elapsed_ms = other642.elapsed_ms; - __isset = other642.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other634) { + lockid = other634.lockid; + txnid = other634.txnid; + elapsed_ms = other634.elapsed_ms; + __isset = other634.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -15097,11 +15073,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other643) { - lockid = other643.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other635) { + lockid = other635.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other644) { - lockid = other644.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other636) { + lockid = other636.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -15240,19 +15216,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other645) { - dbname = other645.dbname; - tablename = other645.tablename; - partname = other645.partname; - isExtended = other645.isExtended; - __isset = other645.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other637) { + dbname = other637.dbname; + tablename = other637.tablename; + partname = other637.partname; + isExtended = other637.isExtended; + __isset = other637.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other646) { - dbname = other646.dbname; - tablename = other646.tablename; - partname = other646.partname; - isExtended = other646.isExtended; - __isset = other646.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other638) { + dbname = other638.dbname; + tablename = other638.tablename; + partname = other638.partname; + isExtended = other638.isExtended; + __isset = other638.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -15405,9 +15381,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast647; - xfer += iprot->readI32(ecast647); - this->state = (LockState::type)ecast647; + int32_t ecast639; + xfer += iprot->readI32(ecast639); + this->state = (LockState::type)ecast639; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -15415,9 +15391,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast648; - xfer += iprot->readI32(ecast648); - this->type = (LockType::type)ecast648; + int32_t ecast640; + xfer += iprot->readI32(ecast640); + this->type = (LockType::type)ecast640; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -15633,43 +15609,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other649) { - lockid = other649.lockid; - dbname = other649.dbname; - tablename = other649.tablename; - partname = other649.partname; - state = other649.state; - type = other649.type; - txnid = other649.txnid; - lastheartbeat = other649.lastheartbeat; - acquiredat = other649.acquiredat; - user = other649.user; - hostname = other649.hostname; - heartbeatCount = other649.heartbeatCount; - agentInfo = other649.agentInfo; - blockedByExtId = other649.blockedByExtId; - blockedByIntId = other649.blockedByIntId; - lockIdInternal = other649.lockIdInternal; - __isset = other649.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other641) { + lockid = other641.lockid; + dbname = other641.dbname; + tablename = other641.tablename; + partname = other641.partname; + state = other641.state; + type = other641.type; + txnid = other641.txnid; + lastheartbeat = other641.lastheartbeat; + acquiredat = other641.acquiredat; + user = other641.user; + hostname = other641.hostname; + heartbeatCount = other641.heartbeatCount; + agentInfo = other641.agentInfo; + blockedByExtId = other641.blockedByExtId; + blockedByIntId = other641.blockedByIntId; + lockIdInternal = other641.lockIdInternal; + __isset = other641.__isset; } -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other650) { - lockid = other650.lockid; - dbname = other650.dbname; - tablename = other650.tablename; - partname = other650.partname; - state = other650.state; - type = other650.type; - txnid = other650.txnid; - lastheartbeat = other650.lastheartbeat; - acquiredat = other650.acquiredat; - user = other650.user; - hostname = other650.hostname; - heartbeatCount = other650.heartbeatCount; - agentInfo = other650.agentInfo; - blockedByExtId = other650.blockedByExtId; - blockedByIntId = other650.blockedByIntId; - lockIdInternal = other650.lockIdInternal; - __isset = other650.__isset; +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other642) { + lockid = other642.lockid; + dbname = other642.dbname; + tablename = other642.tablename; + partname = other642.partname; + state = other642.state; + type = other642.type; + txnid = other642.txnid; + lastheartbeat = other642.lastheartbeat; + acquiredat = other642.acquiredat; + user = other642.user; + hostname = other642.hostname; + heartbeatCount = other642.heartbeatCount; + agentInfo = other642.agentInfo; + blockedByExtId = other642.blockedByExtId; + blockedByIntId = other642.blockedByIntId; + lockIdInternal = other642.lockIdInternal; + __isset = other642.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -15728,14 +15704,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size651; - ::apache::thrift::protocol::TType _etype654; - xfer += iprot->readListBegin(_etype654, _size651); - this->locks.resize(_size651); - uint32_t _i655; - for (_i655 = 0; _i655 < _size651; ++_i655) + uint32_t _size643; + ::apache::thrift::protocol::TType _etype646; + xfer += iprot->readListBegin(_etype646, _size643); + this->locks.resize(_size643); + uint32_t _i647; + for (_i647 = 0; _i647 < _size643; ++_i647) { - xfer += this->locks[_i655].read(iprot); + xfer += this->locks[_i647].read(iprot); } xfer += iprot->readListEnd(); } @@ -15764,10 +15740,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 _iter656; - for (_iter656 = this->locks.begin(); _iter656 != this->locks.end(); ++_iter656) + std::vector ::const_iterator _iter648; + for (_iter648 = this->locks.begin(); _iter648 != this->locks.end(); ++_iter648) { - xfer += (*_iter656).write(oprot); + xfer += (*_iter648).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15784,13 +15760,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other657) { - locks = other657.locks; - __isset = other657.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other649) { + locks = other649.locks; + __isset = other649.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other658) { - locks = other658.locks; - __isset = other658.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other650) { + locks = other650.locks; + __isset = other650.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -15891,15 +15867,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other659) { - lockid = other659.lockid; - txnid = other659.txnid; - __isset = other659.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other651) { + lockid = other651.lockid; + txnid = other651.txnid; + __isset = other651.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other660) { - lockid = other660.lockid; - txnid = other660.txnid; - __isset = other660.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other652) { + lockid = other652.lockid; + txnid = other652.txnid; + __isset = other652.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -16002,13 +15978,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other661) { - min = other661.min; - max = other661.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other653) { + min = other653.min; + max = other653.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other662) { - min = other662.min; - max = other662.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other654) { + min = other654.min; + max = other654.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -16059,15 +16035,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size663; - ::apache::thrift::protocol::TType _etype666; - xfer += iprot->readSetBegin(_etype666, _size663); - uint32_t _i667; - for (_i667 = 0; _i667 < _size663; ++_i667) + uint32_t _size655; + ::apache::thrift::protocol::TType _etype658; + xfer += iprot->readSetBegin(_etype658, _size655); + uint32_t _i659; + for (_i659 = 0; _i659 < _size655; ++_i659) { - int64_t _elem668; - xfer += iprot->readI64(_elem668); - this->aborted.insert(_elem668); + int64_t _elem660; + xfer += iprot->readI64(_elem660); + this->aborted.insert(_elem660); } xfer += iprot->readSetEnd(); } @@ -16080,15 +16056,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size669; - ::apache::thrift::protocol::TType _etype672; - xfer += iprot->readSetBegin(_etype672, _size669); - uint32_t _i673; - for (_i673 = 0; _i673 < _size669; ++_i673) + uint32_t _size661; + ::apache::thrift::protocol::TType _etype664; + xfer += iprot->readSetBegin(_etype664, _size661); + uint32_t _i665; + for (_i665 = 0; _i665 < _size661; ++_i665) { - int64_t _elem674; - xfer += iprot->readI64(_elem674); - this->nosuch.insert(_elem674); + int64_t _elem666; + xfer += iprot->readI64(_elem666); + this->nosuch.insert(_elem666); } xfer += iprot->readSetEnd(); } @@ -16121,10 +16097,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 _iter675; - for (_iter675 = this->aborted.begin(); _iter675 != this->aborted.end(); ++_iter675) + std::set ::const_iterator _iter667; + for (_iter667 = this->aborted.begin(); _iter667 != this->aborted.end(); ++_iter667) { - xfer += oprot->writeI64((*_iter675)); + xfer += oprot->writeI64((*_iter667)); } xfer += oprot->writeSetEnd(); } @@ -16133,10 +16109,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 _iter676; - for (_iter676 = this->nosuch.begin(); _iter676 != this->nosuch.end(); ++_iter676) + std::set ::const_iterator _iter668; + for (_iter668 = this->nosuch.begin(); _iter668 != this->nosuch.end(); ++_iter668) { - xfer += oprot->writeI64((*_iter676)); + xfer += oprot->writeI64((*_iter668)); } xfer += oprot->writeSetEnd(); } @@ -16153,13 +16129,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other677) { - aborted = other677.aborted; - nosuch = other677.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other669) { + aborted = other669.aborted; + nosuch = other669.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other678) { - aborted = other678.aborted; - nosuch = other678.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other670) { + aborted = other670.aborted; + nosuch = other670.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -16252,9 +16228,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast679; - xfer += iprot->readI32(ecast679); - this->type = (CompactionType::type)ecast679; + int32_t ecast671; + xfer += iprot->readI32(ecast671); + this->type = (CompactionType::type)ecast671; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -16272,17 +16248,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size680; - ::apache::thrift::protocol::TType _ktype681; - ::apache::thrift::protocol::TType _vtype682; - xfer += iprot->readMapBegin(_ktype681, _vtype682, _size680); - uint32_t _i684; - for (_i684 = 0; _i684 < _size680; ++_i684) + uint32_t _size672; + ::apache::thrift::protocol::TType _ktype673; + ::apache::thrift::protocol::TType _vtype674; + xfer += iprot->readMapBegin(_ktype673, _vtype674, _size672); + uint32_t _i676; + for (_i676 = 0; _i676 < _size672; ++_i676) { - std::string _key685; - xfer += iprot->readString(_key685); - std::string& _val686 = this->properties[_key685]; - xfer += iprot->readString(_val686); + std::string _key677; + xfer += iprot->readString(_key677); + std::string& _val678 = this->properties[_key677]; + xfer += iprot->readString(_val678); } xfer += iprot->readMapEnd(); } @@ -16340,11 +16316,11 @@ uint32_t CompactionRequest::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("properties", ::apache::thrift::protocol::T_MAP, 6); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRING, static_cast(this->properties.size())); - std::map ::const_iterator _iter687; - for (_iter687 = this->properties.begin(); _iter687 != this->properties.end(); ++_iter687) + std::map ::const_iterator _iter679; + for (_iter679 = this->properties.begin(); _iter679 != this->properties.end(); ++_iter679) { - xfer += oprot->writeString(_iter687->first); - xfer += oprot->writeString(_iter687->second); + xfer += oprot->writeString(_iter679->first); + xfer += oprot->writeString(_iter679->second); } xfer += oprot->writeMapEnd(); } @@ -16366,23 +16342,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other688) { - dbname = other688.dbname; - tablename = other688.tablename; - partitionname = other688.partitionname; - type = other688.type; - runas = other688.runas; - properties = other688.properties; - __isset = other688.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other689) { - dbname = other689.dbname; - tablename = other689.tablename; - partitionname = other689.partitionname; - type = other689.type; - runas = other689.runas; - properties = other689.properties; - __isset = other689.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other680) { + dbname = other680.dbname; + tablename = other680.tablename; + partitionname = other680.partitionname; + type = other680.type; + runas = other680.runas; + properties = other680.properties; + __isset = other680.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other681) { + dbname = other681.dbname; + tablename = other681.tablename; + partitionname = other681.partitionname; + type = other681.type; + runas = other681.runas; + properties = other681.properties; + __isset = other681.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -16509,15 +16485,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other690) { - id = other690.id; - state = other690.state; - accepted = other690.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other682) { + id = other682.id; + state = other682.state; + accepted = other682.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other691) { - id = other691.id; - state = other691.state; - accepted = other691.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other683) { + id = other683.id; + state = other683.state; + accepted = other683.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -16578,11 +16554,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other692) { - (void) other692; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other684) { + (void) other684; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other693) { - (void) other693; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other685) { + (void) other685; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -16708,9 +16684,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast694; - xfer += iprot->readI32(ecast694); - this->type = (CompactionType::type)ecast694; + int32_t ecast686; + xfer += iprot->readI32(ecast686); + this->type = (CompactionType::type)ecast686; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -16897,37 +16873,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other695) { - dbname = other695.dbname; - tablename = other695.tablename; - partitionname = other695.partitionname; - type = other695.type; - state = other695.state; - workerid = other695.workerid; - start = other695.start; - runAs = other695.runAs; - hightestTxnId = other695.hightestTxnId; - metaInfo = other695.metaInfo; - endTime = other695.endTime; - hadoopJobId = other695.hadoopJobId; - id = other695.id; - __isset = other695.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other696) { - dbname = other696.dbname; - tablename = other696.tablename; - partitionname = other696.partitionname; - type = other696.type; - state = other696.state; - workerid = other696.workerid; - start = other696.start; - runAs = other696.runAs; - hightestTxnId = other696.hightestTxnId; - metaInfo = other696.metaInfo; - endTime = other696.endTime; - hadoopJobId = other696.hadoopJobId; - id = other696.id; - __isset = other696.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other687) { + dbname = other687.dbname; + tablename = other687.tablename; + partitionname = other687.partitionname; + type = other687.type; + state = other687.state; + workerid = other687.workerid; + start = other687.start; + runAs = other687.runAs; + hightestTxnId = other687.hightestTxnId; + metaInfo = other687.metaInfo; + endTime = other687.endTime; + hadoopJobId = other687.hadoopJobId; + id = other687.id; + __isset = other687.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other688) { + dbname = other688.dbname; + tablename = other688.tablename; + partitionname = other688.partitionname; + type = other688.type; + state = other688.state; + workerid = other688.workerid; + start = other688.start; + runAs = other688.runAs; + hightestTxnId = other688.hightestTxnId; + metaInfo = other688.metaInfo; + endTime = other688.endTime; + hadoopJobId = other688.hadoopJobId; + id = other688.id; + __isset = other688.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -16984,14 +16960,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size697; - ::apache::thrift::protocol::TType _etype700; - xfer += iprot->readListBegin(_etype700, _size697); - this->compacts.resize(_size697); - uint32_t _i701; - for (_i701 = 0; _i701 < _size697; ++_i701) + uint32_t _size689; + ::apache::thrift::protocol::TType _etype692; + xfer += iprot->readListBegin(_etype692, _size689); + this->compacts.resize(_size689); + uint32_t _i693; + for (_i693 = 0; _i693 < _size689; ++_i693) { - xfer += this->compacts[_i701].read(iprot); + xfer += this->compacts[_i693].read(iprot); } xfer += iprot->readListEnd(); } @@ -17022,10 +16998,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 _iter702; - for (_iter702 = this->compacts.begin(); _iter702 != this->compacts.end(); ++_iter702) + std::vector ::const_iterator _iter694; + for (_iter694 = this->compacts.begin(); _iter694 != this->compacts.end(); ++_iter694) { - xfer += (*_iter702).write(oprot); + xfer += (*_iter694).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17041,11 +17017,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other703) { - compacts = other703.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other695) { + compacts = other695.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other704) { - compacts = other704.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other696) { + compacts = other696.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -17134,14 +17110,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size705; - ::apache::thrift::protocol::TType _etype708; - xfer += iprot->readListBegin(_etype708, _size705); - this->partitionnames.resize(_size705); - uint32_t _i709; - for (_i709 = 0; _i709 < _size705; ++_i709) + uint32_t _size697; + ::apache::thrift::protocol::TType _etype700; + xfer += iprot->readListBegin(_etype700, _size697); + this->partitionnames.resize(_size697); + uint32_t _i701; + for (_i701 = 0; _i701 < _size697; ++_i701) { - xfer += iprot->readString(this->partitionnames[_i709]); + xfer += iprot->readString(this->partitionnames[_i701]); } xfer += iprot->readListEnd(); } @@ -17152,9 +17128,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast710; - xfer += iprot->readI32(ecast710); - this->operationType = (DataOperationType::type)ecast710; + int32_t ecast702; + xfer += iprot->readI32(ecast702); + this->operationType = (DataOperationType::type)ecast702; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -17200,10 +17176,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 _iter711; - for (_iter711 = this->partitionnames.begin(); _iter711 != this->partitionnames.end(); ++_iter711) + std::vector ::const_iterator _iter703; + for (_iter703 = this->partitionnames.begin(); _iter703 != this->partitionnames.end(); ++_iter703) { - xfer += oprot->writeString((*_iter711)); + xfer += oprot->writeString((*_iter703)); } xfer += oprot->writeListEnd(); } @@ -17229,21 +17205,21 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other712) { - txnid = other712.txnid; - dbname = other712.dbname; - tablename = other712.tablename; - partitionnames = other712.partitionnames; - operationType = other712.operationType; - __isset = other712.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other713) { - txnid = other713.txnid; - dbname = other713.dbname; - tablename = other713.tablename; - partitionnames = other713.partitionnames; - operationType = other713.operationType; - __isset = other713.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other704) { + txnid = other704.txnid; + dbname = other704.dbname; + tablename = other704.tablename; + partitionnames = other704.partitionnames; + operationType = other704.operationType; + __isset = other704.__isset; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other705) { + txnid = other705.txnid; + dbname = other705.dbname; + tablename = other705.tablename; + partitionnames = other705.partitionnames; + operationType = other705.operationType; + __isset = other705.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -17266,11 +17242,6 @@ void BasicTxnInfo::__set_isnull(const bool val) { this->isnull = val; } -void BasicTxnInfo::__set_id(const int64_t val) { - this->id = val; -__isset.id = true; -} - void BasicTxnInfo::__set_time(const int64_t val) { this->time = val; __isset.time = true; @@ -17327,14 +17298,6 @@ uint32_t BasicTxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { } break; case 2: - if (ftype == ::apache::thrift::protocol::T_I64) { - xfer += iprot->readI64(this->id); - this->__isset.id = true; - } else { - xfer += iprot->skip(ftype); - } - break; - case 3: if (ftype == ::apache::thrift::protocol::T_I64) { xfer += iprot->readI64(this->time); this->__isset.time = true; @@ -17342,7 +17305,7 @@ uint32_t BasicTxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; - case 4: + case 3: if (ftype == ::apache::thrift::protocol::T_I64) { xfer += iprot->readI64(this->txnid); this->__isset.txnid = true; @@ -17350,7 +17313,7 @@ uint32_t BasicTxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; - case 5: + case 4: if (ftype == ::apache::thrift::protocol::T_STRING) { xfer += iprot->readString(this->dbname); this->__isset.dbname = true; @@ -17358,7 +17321,7 @@ uint32_t BasicTxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; - case 6: + case 5: if (ftype == ::apache::thrift::protocol::T_STRING) { xfer += iprot->readString(this->tablename); this->__isset.tablename = true; @@ -17366,7 +17329,7 @@ uint32_t BasicTxnInfo::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; - case 7: + case 6: if (ftype == ::apache::thrift::protocol::T_STRING) { xfer += iprot->readString(this->partitionname); this->__isset.partitionname = true; @@ -17396,34 +17359,29 @@ uint32_t BasicTxnInfo::write(::apache::thrift::protocol::TProtocol* oprot) const xfer += oprot->writeFieldBegin("isnull", ::apache::thrift::protocol::T_BOOL, 1); xfer += oprot->writeBool(this->isnull); xfer += oprot->writeFieldEnd(); - - if (this->__isset.id) { - xfer += oprot->writeFieldBegin("id", ::apache::thrift::protocol::T_I64, 2); - xfer += oprot->writeI64(this->id); - xfer += oprot->writeFieldEnd(); - } + if (this->__isset.time) { - xfer += oprot->writeFieldBegin("time", ::apache::thrift::protocol::T_I64, 3); + xfer += oprot->writeFieldBegin("time", ::apache::thrift::protocol::T_I64, 2); xfer += oprot->writeI64(this->time); xfer += oprot->writeFieldEnd(); } if (this->__isset.txnid) { - xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 4); + xfer += oprot->writeFieldBegin("txnid", ::apache::thrift::protocol::T_I64, 3); xfer += oprot->writeI64(this->txnid); xfer += oprot->writeFieldEnd(); } if (this->__isset.dbname) { - xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 5); + xfer += oprot->writeFieldBegin("dbname", ::apache::thrift::protocol::T_STRING, 4); xfer += oprot->writeString(this->dbname); xfer += oprot->writeFieldEnd(); } if (this->__isset.tablename) { - xfer += oprot->writeFieldBegin("tablename", ::apache::thrift::protocol::T_STRING, 6); + xfer += oprot->writeFieldBegin("tablename", ::apache::thrift::protocol::T_STRING, 5); xfer += oprot->writeString(this->tablename); xfer += oprot->writeFieldEnd(); } if (this->__isset.partitionname) { - xfer += oprot->writeFieldBegin("partitionname", ::apache::thrift::protocol::T_STRING, 7); + xfer += oprot->writeFieldBegin("partitionname", ::apache::thrift::protocol::T_STRING, 6); xfer += oprot->writeString(this->partitionname); xfer += oprot->writeFieldEnd(); } @@ -17435,7 +17393,6 @@ uint32_t BasicTxnInfo::write(::apache::thrift::protocol::TProtocol* oprot) const void swap(BasicTxnInfo &a, BasicTxnInfo &b) { using ::std::swap; swap(a.isnull, b.isnull); - swap(a.id, b.id); swap(a.time, b.time); swap(a.txnid, b.txnid); swap(a.dbname, b.dbname); @@ -17444,32 +17401,29 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other714) { - isnull = other714.isnull; - id = other714.id; - time = other714.time; - txnid = other714.txnid; - dbname = other714.dbname; - tablename = other714.tablename; - partitionname = other714.partitionname; - __isset = other714.__isset; -} -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other715) { - isnull = other715.isnull; - id = other715.id; - time = other715.time; - txnid = other715.txnid; - dbname = other715.dbname; - tablename = other715.tablename; - partitionname = other715.partitionname; - __isset = other715.__isset; +BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other706) { + isnull = other706.isnull; + time = other706.time; + txnid = other706.txnid; + dbname = other706.dbname; + tablename = other706.tablename; + partitionname = other706.partitionname; + __isset = other706.__isset; +} +BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other707) { + isnull = other707.isnull; + time = other707.time; + txnid = other707.txnid; + dbname = other707.dbname; + tablename = other707.tablename; + partitionname = other707.partitionname; + __isset = other707.__isset; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { using ::apache::thrift::to_string; out << "BasicTxnInfo("; out << "isnull=" << to_string(isnull); - out << ", " << "id="; (__isset.id ? (out << to_string(id)) : (out << "")); out << ", " << "time="; (__isset.time ? (out << to_string(time)) : (out << "")); out << ", " << "txnid="; (__isset.txnid ? (out << to_string(txnid)) : (out << "")); out << ", " << "dbname="; (__isset.dbname ? (out << to_string(dbname)) : (out << "")); @@ -17479,19 +17433,28 @@ void BasicTxnInfo::printTo(std::ostream& out) const { } -TxnsSnapshot::~TxnsSnapshot() throw() { +CreationMetadata::~CreationMetadata() throw() { } -void TxnsSnapshot::__set_txn_high_water_mark(const int64_t val) { - this->txn_high_water_mark = val; +void CreationMetadata::__set_dbName(const std::string& val) { + this->dbName = val; } -void TxnsSnapshot::__set_open_txns(const std::vector & val) { - this->open_txns = val; +void CreationMetadata::__set_tblName(const std::string& val) { + this->tblName = val; } -uint32_t TxnsSnapshot::read(::apache::thrift::protocol::TProtocol* iprot) { +void CreationMetadata::__set_tablesUsed(const std::set & val) { + this->tablesUsed = val; +} + +void CreationMetadata::__set_validTxnList(const std::string& val) { + this->validTxnList = val; +__isset.validTxnList = true; +} + +uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); uint32_t xfer = 0; @@ -17503,8 +17466,9 @@ uint32_t TxnsSnapshot::read(::apache::thrift::protocol::TProtocol* iprot) { using ::apache::thrift::protocol::TProtocolException; - bool isset_txn_high_water_mark = false; - bool isset_open_txns = false; + bool isset_dbName = false; + bool isset_tblName = false; + bool isset_tablesUsed = false; while (true) { @@ -17515,29 +17479,46 @@ uint32_t TxnsSnapshot::read(::apache::thrift::protocol::TProtocol* iprot) { switch (fid) { case 1: - if (ftype == ::apache::thrift::protocol::T_I64) { - xfer += iprot->readI64(this->txn_high_water_mark); - isset_txn_high_water_mark = true; + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->dbName); + isset_dbName = true; } else { xfer += iprot->skip(ftype); } break; case 2: - if (ftype == ::apache::thrift::protocol::T_LIST) { + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->tblName); + isset_tblName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_SET) { { - this->open_txns.clear(); - uint32_t _size716; - ::apache::thrift::protocol::TType _etype719; - xfer += iprot->readListBegin(_etype719, _size716); - this->open_txns.resize(_size716); - uint32_t _i720; - for (_i720 = 0; _i720 < _size716; ++_i720) + this->tablesUsed.clear(); + uint32_t _size708; + ::apache::thrift::protocol::TType _etype711; + xfer += iprot->readSetBegin(_etype711, _size708); + uint32_t _i712; + for (_i712 = 0; _i712 < _size708; ++_i712) { - xfer += iprot->readI64(this->open_txns[_i720]); + std::string _elem713; + xfer += iprot->readString(_elem713); + this->tablesUsed.insert(_elem713); } - xfer += iprot->readListEnd(); + xfer += iprot->readSetEnd(); } - isset_open_txns = true; + isset_tablesUsed = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validTxnList); + this->__isset.validTxnList = true; } else { xfer += iprot->skip(ftype); } @@ -17551,59 +17532,81 @@ uint32_t TxnsSnapshot::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->readStructEnd(); - if (!isset_txn_high_water_mark) + if (!isset_dbName) throw TProtocolException(TProtocolException::INVALID_DATA); - if (!isset_open_txns) + if (!isset_tblName) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_tablesUsed) throw TProtocolException(TProtocolException::INVALID_DATA); return xfer; } -uint32_t TxnsSnapshot::write(::apache::thrift::protocol::TProtocol* oprot) const { +uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) const { uint32_t xfer = 0; apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); - xfer += oprot->writeStructBegin("TxnsSnapshot"); + xfer += oprot->writeStructBegin("CreationMetadata"); - xfer += oprot->writeFieldBegin("txn_high_water_mark", ::apache::thrift::protocol::T_I64, 1); - xfer += oprot->writeI64(this->txn_high_water_mark); + xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->dbName); xfer += oprot->writeFieldEnd(); - xfer += oprot->writeFieldBegin("open_txns", ::apache::thrift::protocol::T_LIST, 2); + xfer += oprot->writeFieldBegin("tblName", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->tblName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 3); { - xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->open_txns.size())); - std::vector ::const_iterator _iter721; - for (_iter721 = this->open_txns.begin(); _iter721 != this->open_txns.end(); ++_iter721) + xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); + std::set ::const_iterator _iter714; + for (_iter714 = this->tablesUsed.begin(); _iter714 != this->tablesUsed.end(); ++_iter714) { - xfer += oprot->writeI64((*_iter721)); + xfer += oprot->writeString((*_iter714)); } - xfer += oprot->writeListEnd(); + xfer += oprot->writeSetEnd(); } xfer += oprot->writeFieldEnd(); + if (this->__isset.validTxnList) { + xfer += oprot->writeFieldBegin("validTxnList", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->validTxnList); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; } -void swap(TxnsSnapshot &a, TxnsSnapshot &b) { +void swap(CreationMetadata &a, CreationMetadata &b) { using ::std::swap; - swap(a.txn_high_water_mark, b.txn_high_water_mark); - swap(a.open_txns, b.open_txns); + swap(a.dbName, b.dbName); + swap(a.tblName, b.tblName); + swap(a.tablesUsed, b.tablesUsed); + swap(a.validTxnList, b.validTxnList); + swap(a.__isset, b.__isset); } -TxnsSnapshot::TxnsSnapshot(const TxnsSnapshot& other722) { - txn_high_water_mark = other722.txn_high_water_mark; - open_txns = other722.open_txns; +CreationMetadata::CreationMetadata(const CreationMetadata& other715) { + dbName = other715.dbName; + tblName = other715.tblName; + tablesUsed = other715.tablesUsed; + validTxnList = other715.validTxnList; + __isset = other715.__isset; } -TxnsSnapshot& TxnsSnapshot::operator=(const TxnsSnapshot& other723) { - txn_high_water_mark = other723.txn_high_water_mark; - open_txns = other723.open_txns; +CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other716) { + dbName = other716.dbName; + tblName = other716.tblName; + tablesUsed = other716.tablesUsed; + validTxnList = other716.validTxnList; + __isset = other716.__isset; return *this; } -void TxnsSnapshot::printTo(std::ostream& out) const { +void CreationMetadata::printTo(std::ostream& out) const { using ::apache::thrift::to_string; - out << "TxnsSnapshot("; - out << "txn_high_water_mark=" << to_string(txn_high_water_mark); - out << ", " << "open_txns=" << to_string(open_txns); + out << "CreationMetadata("; + out << "dbName=" << to_string(dbName); + out << ", " << "tblName=" << to_string(tblName); + out << ", " << "tablesUsed=" << to_string(tablesUsed); + out << ", " << "validTxnList="; (__isset.validTxnList ? (out << to_string(validTxnList)) : (out << "")); out << ")"; } @@ -17699,15 +17702,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other724) { - lastEvent = other724.lastEvent; - maxEvents = other724.maxEvents; - __isset = other724.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other717) { + lastEvent = other717.lastEvent; + maxEvents = other717.maxEvents; + __isset = other717.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other725) { - lastEvent = other725.lastEvent; - maxEvents = other725.maxEvents; - __isset = other725.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other718) { + lastEvent = other718.lastEvent; + maxEvents = other718.maxEvents; + __isset = other718.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -17908,25 +17911,25 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other726) { - eventId = other726.eventId; - eventTime = other726.eventTime; - eventType = other726.eventType; - dbName = other726.dbName; - tableName = other726.tableName; - message = other726.message; - messageFormat = other726.messageFormat; - __isset = other726.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other727) { - eventId = other727.eventId; - eventTime = other727.eventTime; - eventType = other727.eventType; - dbName = other727.dbName; - tableName = other727.tableName; - message = other727.message; - messageFormat = other727.messageFormat; - __isset = other727.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other719) { + eventId = other719.eventId; + eventTime = other719.eventTime; + eventType = other719.eventType; + dbName = other719.dbName; + tableName = other719.tableName; + message = other719.message; + messageFormat = other719.messageFormat; + __isset = other719.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other720) { + eventId = other720.eventId; + eventTime = other720.eventTime; + eventType = other720.eventType; + dbName = other720.dbName; + tableName = other720.tableName; + message = other720.message; + messageFormat = other720.messageFormat; + __isset = other720.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -17977,14 +17980,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size728; - ::apache::thrift::protocol::TType _etype731; - xfer += iprot->readListBegin(_etype731, _size728); - this->events.resize(_size728); - uint32_t _i732; - for (_i732 = 0; _i732 < _size728; ++_i732) + uint32_t _size721; + ::apache::thrift::protocol::TType _etype724; + xfer += iprot->readListBegin(_etype724, _size721); + this->events.resize(_size721); + uint32_t _i725; + for (_i725 = 0; _i725 < _size721; ++_i725) { - xfer += this->events[_i732].read(iprot); + xfer += this->events[_i725].read(iprot); } xfer += iprot->readListEnd(); } @@ -18015,10 +18018,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 _iter733; - for (_iter733 = this->events.begin(); _iter733 != this->events.end(); ++_iter733) + std::vector ::const_iterator _iter726; + for (_iter726 = this->events.begin(); _iter726 != this->events.end(); ++_iter726) { - xfer += (*_iter733).write(oprot); + xfer += (*_iter726).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18034,11 +18037,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other734) { - events = other734.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other727) { + events = other727.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other735) { - events = other735.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other728) { + events = other728.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -18120,11 +18123,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other736) { - eventId = other736.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other729) { + eventId = other729.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other737) { - eventId = other737.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other730) { + eventId = other730.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -18226,13 +18229,13 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.dbName, b.dbName); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other738) { - fromEventId = other738.fromEventId; - dbName = other738.dbName; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other731) { + fromEventId = other731.fromEventId; + dbName = other731.dbName; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other739) { - fromEventId = other739.fromEventId; - dbName = other739.dbName; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other732) { + fromEventId = other732.fromEventId; + dbName = other732.dbName; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -18315,11 +18318,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other740) { - eventsCount = other740.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other733) { + eventsCount = other733.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other741) { - eventsCount = other741.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other734) { + eventsCount = other734.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -18382,14 +18385,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size742; - ::apache::thrift::protocol::TType _etype745; - xfer += iprot->readListBegin(_etype745, _size742); - this->filesAdded.resize(_size742); - uint32_t _i746; - for (_i746 = 0; _i746 < _size742; ++_i746) + uint32_t _size735; + ::apache::thrift::protocol::TType _etype738; + xfer += iprot->readListBegin(_etype738, _size735); + this->filesAdded.resize(_size735); + uint32_t _i739; + for (_i739 = 0; _i739 < _size735; ++_i739) { - xfer += iprot->readString(this->filesAdded[_i746]); + xfer += iprot->readString(this->filesAdded[_i739]); } xfer += iprot->readListEnd(); } @@ -18402,14 +18405,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size747; - ::apache::thrift::protocol::TType _etype750; - xfer += iprot->readListBegin(_etype750, _size747); - this->filesAddedChecksum.resize(_size747); - uint32_t _i751; - for (_i751 = 0; _i751 < _size747; ++_i751) + uint32_t _size740; + ::apache::thrift::protocol::TType _etype743; + xfer += iprot->readListBegin(_etype743, _size740); + this->filesAddedChecksum.resize(_size740); + uint32_t _i744; + for (_i744 = 0; _i744 < _size740; ++_i744) { - xfer += iprot->readString(this->filesAddedChecksum[_i751]); + xfer += iprot->readString(this->filesAddedChecksum[_i744]); } xfer += iprot->readListEnd(); } @@ -18445,10 +18448,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAdded", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAdded.size())); - std::vector ::const_iterator _iter752; - for (_iter752 = this->filesAdded.begin(); _iter752 != this->filesAdded.end(); ++_iter752) + std::vector ::const_iterator _iter745; + for (_iter745 = this->filesAdded.begin(); _iter745 != this->filesAdded.end(); ++_iter745) { - xfer += oprot->writeString((*_iter752)); + xfer += oprot->writeString((*_iter745)); } xfer += oprot->writeListEnd(); } @@ -18458,10 +18461,10 @@ uint32_t InsertEventRequestData::write(::apache::thrift::protocol::TProtocol* op xfer += oprot->writeFieldBegin("filesAddedChecksum", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->filesAddedChecksum.size())); - std::vector ::const_iterator _iter753; - for (_iter753 = this->filesAddedChecksum.begin(); _iter753 != this->filesAddedChecksum.end(); ++_iter753) + std::vector ::const_iterator _iter746; + for (_iter746 = this->filesAddedChecksum.begin(); _iter746 != this->filesAddedChecksum.end(); ++_iter746) { - xfer += oprot->writeString((*_iter753)); + xfer += oprot->writeString((*_iter746)); } xfer += oprot->writeListEnd(); } @@ -18480,17 +18483,17 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other754) { - replace = other754.replace; - filesAdded = other754.filesAdded; - filesAddedChecksum = other754.filesAddedChecksum; - __isset = other754.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other747) { + replace = other747.replace; + filesAdded = other747.filesAdded; + filesAddedChecksum = other747.filesAddedChecksum; + __isset = other747.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other755) { - replace = other755.replace; - filesAdded = other755.filesAdded; - filesAddedChecksum = other755.filesAddedChecksum; - __isset = other755.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other748) { + replace = other748.replace; + filesAdded = other748.filesAdded; + filesAddedChecksum = other748.filesAddedChecksum; + __isset = other748.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -18572,13 +18575,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other756) { - insertData = other756.insertData; - __isset = other756.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other749) { + insertData = other749.insertData; + __isset = other749.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other757) { - insertData = other757.insertData; - __isset = other757.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other750) { + insertData = other750.insertData; + __isset = other750.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -18675,14 +18678,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size758; - ::apache::thrift::protocol::TType _etype761; - xfer += iprot->readListBegin(_etype761, _size758); - this->partitionVals.resize(_size758); - uint32_t _i762; - for (_i762 = 0; _i762 < _size758; ++_i762) + uint32_t _size751; + ::apache::thrift::protocol::TType _etype754; + xfer += iprot->readListBegin(_etype754, _size751); + this->partitionVals.resize(_size751); + uint32_t _i755; + for (_i755 = 0; _i755 < _size751; ++_i755) { - xfer += iprot->readString(this->partitionVals[_i762]); + xfer += iprot->readString(this->partitionVals[_i755]); } xfer += iprot->readListEnd(); } @@ -18734,10 +18737,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 _iter763; - for (_iter763 = this->partitionVals.begin(); _iter763 != this->partitionVals.end(); ++_iter763) + std::vector ::const_iterator _iter756; + for (_iter756 = this->partitionVals.begin(); _iter756 != this->partitionVals.end(); ++_iter756) { - xfer += oprot->writeString((*_iter763)); + xfer += oprot->writeString((*_iter756)); } xfer += oprot->writeListEnd(); } @@ -18758,21 +18761,21 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other764) { - successful = other764.successful; - data = other764.data; - dbName = other764.dbName; - tableName = other764.tableName; - partitionVals = other764.partitionVals; - __isset = other764.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other765) { - successful = other765.successful; - data = other765.data; - dbName = other765.dbName; - tableName = other765.tableName; - partitionVals = other765.partitionVals; - __isset = other765.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other757) { + successful = other757.successful; + data = other757.data; + dbName = other757.dbName; + tableName = other757.tableName; + partitionVals = other757.partitionVals; + __isset = other757.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other758) { + successful = other758.successful; + data = other758.data; + dbName = other758.dbName; + tableName = other758.tableName; + partitionVals = other758.partitionVals; + __isset = other758.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -18835,11 +18838,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other766) { - (void) other766; +FireEventResponse::FireEventResponse(const FireEventResponse& other759) { + (void) other759; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other767) { - (void) other767; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other760) { + (void) other760; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -18939,15 +18942,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other768) { - metadata = other768.metadata; - includeBitset = other768.includeBitset; - __isset = other768.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other761) { + metadata = other761.metadata; + includeBitset = other761.includeBitset; + __isset = other761.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other769) { - metadata = other769.metadata; - includeBitset = other769.includeBitset; - __isset = other769.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other762) { + metadata = other762.metadata; + includeBitset = other762.includeBitset; + __isset = other762.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -18998,17 +19001,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size770; - ::apache::thrift::protocol::TType _ktype771; - ::apache::thrift::protocol::TType _vtype772; - xfer += iprot->readMapBegin(_ktype771, _vtype772, _size770); - uint32_t _i774; - for (_i774 = 0; _i774 < _size770; ++_i774) + uint32_t _size763; + ::apache::thrift::protocol::TType _ktype764; + ::apache::thrift::protocol::TType _vtype765; + xfer += iprot->readMapBegin(_ktype764, _vtype765, _size763); + uint32_t _i767; + for (_i767 = 0; _i767 < _size763; ++_i767) { - int64_t _key775; - xfer += iprot->readI64(_key775); - MetadataPpdResult& _val776 = this->metadata[_key775]; - xfer += _val776.read(iprot); + int64_t _key768; + xfer += iprot->readI64(_key768); + MetadataPpdResult& _val769 = this->metadata[_key768]; + xfer += _val769.read(iprot); } xfer += iprot->readMapEnd(); } @@ -19049,11 +19052,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 _iter777; - for (_iter777 = this->metadata.begin(); _iter777 != this->metadata.end(); ++_iter777) + std::map ::const_iterator _iter770; + for (_iter770 = this->metadata.begin(); _iter770 != this->metadata.end(); ++_iter770) { - xfer += oprot->writeI64(_iter777->first); - xfer += _iter777->second.write(oprot); + xfer += oprot->writeI64(_iter770->first); + xfer += _iter770->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -19074,13 +19077,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other778) { - metadata = other778.metadata; - isSupported = other778.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other771) { + metadata = other771.metadata; + isSupported = other771.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other779) { - metadata = other779.metadata; - isSupported = other779.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other772) { + metadata = other772.metadata; + isSupported = other772.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -19141,14 +19144,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size780; - ::apache::thrift::protocol::TType _etype783; - xfer += iprot->readListBegin(_etype783, _size780); - this->fileIds.resize(_size780); - uint32_t _i784; - for (_i784 = 0; _i784 < _size780; ++_i784) + uint32_t _size773; + ::apache::thrift::protocol::TType _etype776; + xfer += iprot->readListBegin(_etype776, _size773); + this->fileIds.resize(_size773); + uint32_t _i777; + for (_i777 = 0; _i777 < _size773; ++_i777) { - xfer += iprot->readI64(this->fileIds[_i784]); + xfer += iprot->readI64(this->fileIds[_i777]); } xfer += iprot->readListEnd(); } @@ -19175,9 +19178,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast785; - xfer += iprot->readI32(ecast785); - this->type = (FileMetadataExprType::type)ecast785; + int32_t ecast778; + xfer += iprot->readI32(ecast778); + this->type = (FileMetadataExprType::type)ecast778; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -19207,10 +19210,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 _iter786; - for (_iter786 = this->fileIds.begin(); _iter786 != this->fileIds.end(); ++_iter786) + std::vector ::const_iterator _iter779; + for (_iter779 = this->fileIds.begin(); _iter779 != this->fileIds.end(); ++_iter779) { - xfer += oprot->writeI64((*_iter786)); + xfer += oprot->writeI64((*_iter779)); } xfer += oprot->writeListEnd(); } @@ -19244,19 +19247,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other787) { - fileIds = other787.fileIds; - expr = other787.expr; - doGetFooters = other787.doGetFooters; - type = other787.type; - __isset = other787.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other780) { + fileIds = other780.fileIds; + expr = other780.expr; + doGetFooters = other780.doGetFooters; + type = other780.type; + __isset = other780.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other788) { - fileIds = other788.fileIds; - expr = other788.expr; - doGetFooters = other788.doGetFooters; - type = other788.type; - __isset = other788.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other781) { + fileIds = other781.fileIds; + expr = other781.expr; + doGetFooters = other781.doGetFooters; + type = other781.type; + __isset = other781.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -19309,17 +19312,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size789; - ::apache::thrift::protocol::TType _ktype790; - ::apache::thrift::protocol::TType _vtype791; - xfer += iprot->readMapBegin(_ktype790, _vtype791, _size789); - uint32_t _i793; - for (_i793 = 0; _i793 < _size789; ++_i793) + uint32_t _size782; + ::apache::thrift::protocol::TType _ktype783; + ::apache::thrift::protocol::TType _vtype784; + xfer += iprot->readMapBegin(_ktype783, _vtype784, _size782); + uint32_t _i786; + for (_i786 = 0; _i786 < _size782; ++_i786) { - int64_t _key794; - xfer += iprot->readI64(_key794); - std::string& _val795 = this->metadata[_key794]; - xfer += iprot->readBinary(_val795); + int64_t _key787; + xfer += iprot->readI64(_key787); + std::string& _val788 = this->metadata[_key787]; + xfer += iprot->readBinary(_val788); } xfer += iprot->readMapEnd(); } @@ -19360,11 +19363,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 _iter796; - for (_iter796 = this->metadata.begin(); _iter796 != this->metadata.end(); ++_iter796) + std::map ::const_iterator _iter789; + for (_iter789 = this->metadata.begin(); _iter789 != this->metadata.end(); ++_iter789) { - xfer += oprot->writeI64(_iter796->first); - xfer += oprot->writeBinary(_iter796->second); + xfer += oprot->writeI64(_iter789->first); + xfer += oprot->writeBinary(_iter789->second); } xfer += oprot->writeMapEnd(); } @@ -19385,13 +19388,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other797) { - metadata = other797.metadata; - isSupported = other797.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other790) { + metadata = other790.metadata; + isSupported = other790.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other798) { - metadata = other798.metadata; - isSupported = other798.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other791) { + metadata = other791.metadata; + isSupported = other791.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -19437,14 +19440,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size799; - ::apache::thrift::protocol::TType _etype802; - xfer += iprot->readListBegin(_etype802, _size799); - this->fileIds.resize(_size799); - uint32_t _i803; - for (_i803 = 0; _i803 < _size799; ++_i803) + uint32_t _size792; + ::apache::thrift::protocol::TType _etype795; + xfer += iprot->readListBegin(_etype795, _size792); + this->fileIds.resize(_size792); + uint32_t _i796; + for (_i796 = 0; _i796 < _size792; ++_i796) { - xfer += iprot->readI64(this->fileIds[_i803]); + xfer += iprot->readI64(this->fileIds[_i796]); } xfer += iprot->readListEnd(); } @@ -19475,10 +19478,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 _iter804; - for (_iter804 = this->fileIds.begin(); _iter804 != this->fileIds.end(); ++_iter804) + std::vector ::const_iterator _iter797; + for (_iter797 = this->fileIds.begin(); _iter797 != this->fileIds.end(); ++_iter797) { - xfer += oprot->writeI64((*_iter804)); + xfer += oprot->writeI64((*_iter797)); } xfer += oprot->writeListEnd(); } @@ -19494,11 +19497,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other805) { - fileIds = other805.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other798) { + fileIds = other798.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other806) { - fileIds = other806.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other799) { + fileIds = other799.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -19557,11 +19560,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other807) { - (void) other807; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other800) { + (void) other800; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other808) { - (void) other808; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other801) { + (void) other801; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -19615,14 +19618,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size809; - ::apache::thrift::protocol::TType _etype812; - xfer += iprot->readListBegin(_etype812, _size809); - this->fileIds.resize(_size809); - uint32_t _i813; - for (_i813 = 0; _i813 < _size809; ++_i813) + uint32_t _size802; + ::apache::thrift::protocol::TType _etype805; + xfer += iprot->readListBegin(_etype805, _size802); + this->fileIds.resize(_size802); + uint32_t _i806; + for (_i806 = 0; _i806 < _size802; ++_i806) { - xfer += iprot->readI64(this->fileIds[_i813]); + xfer += iprot->readI64(this->fileIds[_i806]); } xfer += iprot->readListEnd(); } @@ -19635,14 +19638,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size814; - ::apache::thrift::protocol::TType _etype817; - xfer += iprot->readListBegin(_etype817, _size814); - this->metadata.resize(_size814); - uint32_t _i818; - for (_i818 = 0; _i818 < _size814; ++_i818) + uint32_t _size807; + ::apache::thrift::protocol::TType _etype810; + xfer += iprot->readListBegin(_etype810, _size807); + this->metadata.resize(_size807); + uint32_t _i811; + for (_i811 = 0; _i811 < _size807; ++_i811) { - xfer += iprot->readBinary(this->metadata[_i818]); + xfer += iprot->readBinary(this->metadata[_i811]); } xfer += iprot->readListEnd(); } @@ -19653,9 +19656,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast819; - xfer += iprot->readI32(ecast819); - this->type = (FileMetadataExprType::type)ecast819; + int32_t ecast812; + xfer += iprot->readI32(ecast812); + this->type = (FileMetadataExprType::type)ecast812; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -19685,10 +19688,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 _iter820; - for (_iter820 = this->fileIds.begin(); _iter820 != this->fileIds.end(); ++_iter820) + std::vector ::const_iterator _iter813; + for (_iter813 = this->fileIds.begin(); _iter813 != this->fileIds.end(); ++_iter813) { - xfer += oprot->writeI64((*_iter820)); + xfer += oprot->writeI64((*_iter813)); } xfer += oprot->writeListEnd(); } @@ -19697,10 +19700,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 _iter821; - for (_iter821 = this->metadata.begin(); _iter821 != this->metadata.end(); ++_iter821) + std::vector ::const_iterator _iter814; + for (_iter814 = this->metadata.begin(); _iter814 != this->metadata.end(); ++_iter814) { - xfer += oprot->writeBinary((*_iter821)); + xfer += oprot->writeBinary((*_iter814)); } xfer += oprot->writeListEnd(); } @@ -19724,17 +19727,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other822) { - fileIds = other822.fileIds; - metadata = other822.metadata; - type = other822.type; - __isset = other822.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other815) { + fileIds = other815.fileIds; + metadata = other815.metadata; + type = other815.type; + __isset = other815.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other823) { - fileIds = other823.fileIds; - metadata = other823.metadata; - type = other823.type; - __isset = other823.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other816) { + fileIds = other816.fileIds; + metadata = other816.metadata; + type = other816.type; + __isset = other816.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -19795,11 +19798,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other824) { - (void) other824; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other817) { + (void) other817; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other825) { - (void) other825; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other818) { + (void) other818; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -19843,14 +19846,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size826; - ::apache::thrift::protocol::TType _etype829; - xfer += iprot->readListBegin(_etype829, _size826); - this->fileIds.resize(_size826); - uint32_t _i830; - for (_i830 = 0; _i830 < _size826; ++_i830) + uint32_t _size819; + ::apache::thrift::protocol::TType _etype822; + xfer += iprot->readListBegin(_etype822, _size819); + this->fileIds.resize(_size819); + uint32_t _i823; + for (_i823 = 0; _i823 < _size819; ++_i823) { - xfer += iprot->readI64(this->fileIds[_i830]); + xfer += iprot->readI64(this->fileIds[_i823]); } xfer += iprot->readListEnd(); } @@ -19881,10 +19884,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 _iter831; - for (_iter831 = this->fileIds.begin(); _iter831 != this->fileIds.end(); ++_iter831) + std::vector ::const_iterator _iter824; + for (_iter824 = this->fileIds.begin(); _iter824 != this->fileIds.end(); ++_iter824) { - xfer += oprot->writeI64((*_iter831)); + xfer += oprot->writeI64((*_iter824)); } xfer += oprot->writeListEnd(); } @@ -19900,11 +19903,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other832) { - fileIds = other832.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other825) { + fileIds = other825.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other833) { - fileIds = other833.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other826) { + fileIds = other826.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -19986,11 +19989,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other834) { - isSupported = other834.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other827) { + isSupported = other827.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other835) { - isSupported = other835.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other828) { + isSupported = other828.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -20131,19 +20134,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other836) { - dbName = other836.dbName; - tblName = other836.tblName; - partName = other836.partName; - isAllParts = other836.isAllParts; - __isset = other836.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other829) { + dbName = other829.dbName; + tblName = other829.tblName; + partName = other829.partName; + isAllParts = other829.isAllParts; + __isset = other829.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other837) { - dbName = other837.dbName; - tblName = other837.tblName; - partName = other837.partName; - isAllParts = other837.isAllParts; - __isset = other837.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other830) { + dbName = other830.dbName; + tblName = other830.tblName; + partName = other830.partName; + isAllParts = other830.isAllParts; + __isset = other830.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -20191,14 +20194,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size838; - ::apache::thrift::protocol::TType _etype841; - xfer += iprot->readListBegin(_etype841, _size838); - this->functions.resize(_size838); - uint32_t _i842; - for (_i842 = 0; _i842 < _size838; ++_i842) + uint32_t _size831; + ::apache::thrift::protocol::TType _etype834; + xfer += iprot->readListBegin(_etype834, _size831); + this->functions.resize(_size831); + uint32_t _i835; + for (_i835 = 0; _i835 < _size831; ++_i835) { - xfer += this->functions[_i842].read(iprot); + xfer += this->functions[_i835].read(iprot); } xfer += iprot->readListEnd(); } @@ -20228,10 +20231,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 _iter843; - for (_iter843 = this->functions.begin(); _iter843 != this->functions.end(); ++_iter843) + std::vector ::const_iterator _iter836; + for (_iter836 = this->functions.begin(); _iter836 != this->functions.end(); ++_iter836) { - xfer += (*_iter843).write(oprot); + xfer += (*_iter836).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20248,13 +20251,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other844) { - functions = other844.functions; - __isset = other844.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other837) { + functions = other837.functions; + __isset = other837.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other845) { - functions = other845.functions; - __isset = other845.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other838) { + functions = other838.functions; + __isset = other838.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -20299,16 +20302,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size846; - ::apache::thrift::protocol::TType _etype849; - xfer += iprot->readListBegin(_etype849, _size846); - this->values.resize(_size846); - uint32_t _i850; - for (_i850 = 0; _i850 < _size846; ++_i850) + uint32_t _size839; + ::apache::thrift::protocol::TType _etype842; + xfer += iprot->readListBegin(_etype842, _size839); + this->values.resize(_size839); + uint32_t _i843; + for (_i843 = 0; _i843 < _size839; ++_i843) { - int32_t ecast851; - xfer += iprot->readI32(ecast851); - this->values[_i850] = (ClientCapability::type)ecast851; + int32_t ecast844; + xfer += iprot->readI32(ecast844); + this->values[_i843] = (ClientCapability::type)ecast844; } xfer += iprot->readListEnd(); } @@ -20339,10 +20342,10 @@ uint32_t ClientCapabilities::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("values", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I32, static_cast(this->values.size())); - std::vector ::const_iterator _iter852; - for (_iter852 = this->values.begin(); _iter852 != this->values.end(); ++_iter852) + std::vector ::const_iterator _iter845; + for (_iter845 = this->values.begin(); _iter845 != this->values.end(); ++_iter845) { - xfer += oprot->writeI32((int32_t)(*_iter852)); + xfer += oprot->writeI32((int32_t)(*_iter845)); } xfer += oprot->writeListEnd(); } @@ -20358,11 +20361,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other853) { - values = other853.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other846) { + values = other846.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other854) { - values = other854.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other847) { + values = other847.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -20484,17 +20487,17 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other855) { - dbName = other855.dbName; - tblName = other855.tblName; - capabilities = other855.capabilities; - __isset = other855.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other848) { + dbName = other848.dbName; + tblName = other848.tblName; + capabilities = other848.capabilities; + __isset = other848.__isset; } -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other856) { - dbName = other856.dbName; - tblName = other856.tblName; - capabilities = other856.capabilities; - __isset = other856.__isset; +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other849) { + dbName = other849.dbName; + tblName = other849.tblName; + capabilities = other849.capabilities; + __isset = other849.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -20578,11 +20581,11 @@ void swap(GetTableResult &a, GetTableResult &b) { swap(a.table, b.table); } -GetTableResult::GetTableResult(const GetTableResult& other857) { - table = other857.table; +GetTableResult::GetTableResult(const GetTableResult& other850) { + table = other850.table; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other858) { - table = other858.table; +GetTableResult& GetTableResult::operator=(const GetTableResult& other851) { + table = other851.table; return *this; } void GetTableResult::printTo(std::ostream& out) const { @@ -20645,14 +20648,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size859; - ::apache::thrift::protocol::TType _etype862; - xfer += iprot->readListBegin(_etype862, _size859); - this->tblNames.resize(_size859); - uint32_t _i863; - for (_i863 = 0; _i863 < _size859; ++_i863) + uint32_t _size852; + ::apache::thrift::protocol::TType _etype855; + xfer += iprot->readListBegin(_etype855, _size852); + this->tblNames.resize(_size852); + uint32_t _i856; + for (_i856 = 0; _i856 < _size852; ++_i856) { - xfer += iprot->readString(this->tblNames[_i863]); + xfer += iprot->readString(this->tblNames[_i856]); } xfer += iprot->readListEnd(); } @@ -20696,10 +20699,10 @@ uint32_t GetTablesRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tblNames", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tblNames.size())); - std::vector ::const_iterator _iter864; - for (_iter864 = this->tblNames.begin(); _iter864 != this->tblNames.end(); ++_iter864) + std::vector ::const_iterator _iter857; + for (_iter857 = this->tblNames.begin(); _iter857 != this->tblNames.end(); ++_iter857) { - xfer += oprot->writeString((*_iter864)); + xfer += oprot->writeString((*_iter857)); } xfer += oprot->writeListEnd(); } @@ -20723,17 +20726,17 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other865) { - dbName = other865.dbName; - tblNames = other865.tblNames; - capabilities = other865.capabilities; - __isset = other865.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other858) { + dbName = other858.dbName; + tblNames = other858.tblNames; + capabilities = other858.capabilities; + __isset = other858.__isset; } -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other866) { - dbName = other866.dbName; - tblNames = other866.tblNames; - capabilities = other866.capabilities; - __isset = other866.__isset; +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other859) { + dbName = other859.dbName; + tblNames = other859.tblNames; + capabilities = other859.capabilities; + __isset = other859.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -20780,14 +20783,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size867; - ::apache::thrift::protocol::TType _etype870; - xfer += iprot->readListBegin(_etype870, _size867); - this->tables.resize(_size867); - uint32_t _i871; - for (_i871 = 0; _i871 < _size867; ++_i871) + uint32_t _size860; + ::apache::thrift::protocol::TType _etype863; + xfer += iprot->readListBegin(_etype863, _size860); + this->tables.resize(_size860); + uint32_t _i864; + for (_i864 = 0; _i864 < _size860; ++_i864) { - xfer += this->tables[_i871].read(iprot); + xfer += this->tables[_i864].read(iprot); } xfer += iprot->readListEnd(); } @@ -20818,10 +20821,10 @@ uint32_t GetTablesResult::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("tables", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tables.size())); - std::vector
::const_iterator _iter872; - for (_iter872 = this->tables.begin(); _iter872 != this->tables.end(); ++_iter872) + std::vector
::const_iterator _iter865; + for (_iter865 = this->tables.begin(); _iter865 != this->tables.end(); ++_iter865) { - xfer += (*_iter872).write(oprot); + xfer += (*_iter865).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20837,11 +20840,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other873) { - tables = other873.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other866) { + tables = other866.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other874) { - tables = other874.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other867) { + tables = other867.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -20943,13 +20946,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other875) { - dataPath = other875.dataPath; - purge = other875.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other868) { + dataPath = other868.dataPath; + purge = other868.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other876) { - dataPath = other876.dataPath; - purge = other876.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other869) { + dataPath = other869.dataPath; + purge = other869.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -21009,11 +21012,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other877) { - (void) other877; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other870) { + (void) other870; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other878) { - (void) other878; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other871) { + (void) other871; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -21154,19 +21157,19 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other879) { - dbName = other879.dbName; - tableName = other879.tableName; - tableType = other879.tableType; - comments = other879.comments; - __isset = other879.__isset; +TableMeta::TableMeta(const TableMeta& other872) { + dbName = other872.dbName; + tableName = other872.tableName; + tableType = other872.tableType; + comments = other872.comments; + __isset = other872.__isset; } -TableMeta& TableMeta::operator=(const TableMeta& other880) { - dbName = other880.dbName; - tableName = other880.tableName; - tableType = other880.tableType; - comments = other880.comments; - __isset = other880.__isset; +TableMeta& TableMeta::operator=(const TableMeta& other873) { + dbName = other873.dbName; + tableName = other873.tableName; + tableType = other873.tableType; + comments = other873.comments; + __isset = other873.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -21232,15 +21235,15 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size881; - ::apache::thrift::protocol::TType _etype884; - xfer += iprot->readSetBegin(_etype884, _size881); - uint32_t _i885; - for (_i885 = 0; _i885 < _size881; ++_i885) + uint32_t _size874; + ::apache::thrift::protocol::TType _etype877; + xfer += iprot->readSetBegin(_etype877, _size874); + uint32_t _i878; + for (_i878 = 0; _i878 < _size874; ++_i878) { - std::string _elem886; - xfer += iprot->readString(_elem886); - this->tablesUsed.insert(_elem886); + std::string _elem879; + xfer += iprot->readString(_elem879); + this->tablesUsed.insert(_elem879); } xfer += iprot->readSetEnd(); } @@ -21287,10 +21290,10 @@ uint32_t Materialization::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 2); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter887; - for (_iter887 = this->tablesUsed.begin(); _iter887 != this->tablesUsed.end(); ++_iter887) + std::set ::const_iterator _iter880; + for (_iter880 = this->tablesUsed.begin(); _iter880 != this->tablesUsed.end(); ++_iter880) { - xfer += oprot->writeString((*_iter887)); + xfer += oprot->writeString((*_iter880)); } xfer += oprot->writeSetEnd(); } @@ -21312,15 +21315,15 @@ void swap(Materialization &a, Materialization &b) { swap(a.invalidationTime, b.invalidationTime); } -Materialization::Materialization(const Materialization& other888) { - materializationTable = other888.materializationTable; - tablesUsed = other888.tablesUsed; - invalidationTime = other888.invalidationTime; +Materialization::Materialization(const Materialization& other881) { + materializationTable = other881.materializationTable; + tablesUsed = other881.tablesUsed; + invalidationTime = other881.invalidationTime; } -Materialization& Materialization::operator=(const Materialization& other889) { - materializationTable = other889.materializationTable; - tablesUsed = other889.tablesUsed; - invalidationTime = other889.invalidationTime; +Materialization& Materialization::operator=(const Materialization& other882) { + materializationTable = other882.materializationTable; + tablesUsed = other882.tablesUsed; + invalidationTime = other882.invalidationTime; return *this; } void Materialization::printTo(std::ostream& out) const { @@ -21388,9 +21391,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast890; - xfer += iprot->readI32(ecast890); - this->status = (WMResourcePlanStatus::type)ecast890; + int32_t ecast883; + xfer += iprot->readI32(ecast883); + this->status = (WMResourcePlanStatus::type)ecast883; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -21464,19 +21467,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other891) { - name = other891.name; - status = other891.status; - queryParallelism = other891.queryParallelism; - defaultPoolPath = other891.defaultPoolPath; - __isset = other891.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other884) { + name = other884.name; + status = other884.status; + queryParallelism = other884.queryParallelism; + defaultPoolPath = other884.defaultPoolPath; + __isset = other884.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other892) { - name = other892.name; - status = other892.status; - queryParallelism = other892.queryParallelism; - defaultPoolPath = other892.defaultPoolPath; - __isset = other892.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other885) { + name = other885.name; + status = other885.status; + queryParallelism = other885.queryParallelism; + defaultPoolPath = other885.defaultPoolPath; + __isset = other885.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -21555,9 +21558,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast893; - xfer += iprot->readI32(ecast893); - this->status = (WMResourcePlanStatus::type)ecast893; + int32_t ecast886; + xfer += iprot->readI32(ecast886); + this->status = (WMResourcePlanStatus::type)ecast886; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -21659,23 +21662,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other894) { - name = other894.name; - status = other894.status; - queryParallelism = other894.queryParallelism; - isSetQueryParallelism = other894.isSetQueryParallelism; - defaultPoolPath = other894.defaultPoolPath; - isSetDefaultPoolPath = other894.isSetDefaultPoolPath; - __isset = other894.__isset; -} -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other895) { - name = other895.name; - status = other895.status; - queryParallelism = other895.queryParallelism; - isSetQueryParallelism = other895.isSetQueryParallelism; - defaultPoolPath = other895.defaultPoolPath; - isSetDefaultPoolPath = other895.isSetDefaultPoolPath; - __isset = other895.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other887) { + name = other887.name; + status = other887.status; + queryParallelism = other887.queryParallelism; + isSetQueryParallelism = other887.isSetQueryParallelism; + defaultPoolPath = other887.defaultPoolPath; + isSetDefaultPoolPath = other887.isSetDefaultPoolPath; + __isset = other887.__isset; +} +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other888) { + name = other888.name; + status = other888.status; + queryParallelism = other888.queryParallelism; + isSetQueryParallelism = other888.isSetQueryParallelism; + defaultPoolPath = other888.defaultPoolPath; + isSetDefaultPoolPath = other888.isSetDefaultPoolPath; + __isset = other888.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -21840,21 +21843,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other896) { - resourcePlanName = other896.resourcePlanName; - poolPath = other896.poolPath; - allocFraction = other896.allocFraction; - queryParallelism = other896.queryParallelism; - schedulingPolicy = other896.schedulingPolicy; - __isset = other896.__isset; -} -WMPool& WMPool::operator=(const WMPool& other897) { - resourcePlanName = other897.resourcePlanName; - poolPath = other897.poolPath; - allocFraction = other897.allocFraction; - queryParallelism = other897.queryParallelism; - schedulingPolicy = other897.schedulingPolicy; - __isset = other897.__isset; +WMPool::WMPool(const WMPool& other889) { + resourcePlanName = other889.resourcePlanName; + poolPath = other889.poolPath; + allocFraction = other889.allocFraction; + queryParallelism = other889.queryParallelism; + schedulingPolicy = other889.schedulingPolicy; + __isset = other889.__isset; +} +WMPool& WMPool::operator=(const WMPool& other890) { + resourcePlanName = other890.resourcePlanName; + poolPath = other890.poolPath; + allocFraction = other890.allocFraction; + queryParallelism = other890.queryParallelism; + schedulingPolicy = other890.schedulingPolicy; + __isset = other890.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -22037,23 +22040,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other898) { - resourcePlanName = other898.resourcePlanName; - poolPath = other898.poolPath; - allocFraction = other898.allocFraction; - queryParallelism = other898.queryParallelism; - schedulingPolicy = other898.schedulingPolicy; - isSetSchedulingPolicy = other898.isSetSchedulingPolicy; - __isset = other898.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other899) { - resourcePlanName = other899.resourcePlanName; - poolPath = other899.poolPath; - allocFraction = other899.allocFraction; - queryParallelism = other899.queryParallelism; - schedulingPolicy = other899.schedulingPolicy; - isSetSchedulingPolicy = other899.isSetSchedulingPolicy; - __isset = other899.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other891) { + resourcePlanName = other891.resourcePlanName; + poolPath = other891.poolPath; + allocFraction = other891.allocFraction; + queryParallelism = other891.queryParallelism; + schedulingPolicy = other891.schedulingPolicy; + isSetSchedulingPolicy = other891.isSetSchedulingPolicy; + __isset = other891.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other892) { + resourcePlanName = other892.resourcePlanName; + poolPath = other892.poolPath; + allocFraction = other892.allocFraction; + queryParallelism = other892.queryParallelism; + schedulingPolicy = other892.schedulingPolicy; + isSetSchedulingPolicy = other892.isSetSchedulingPolicy; + __isset = other892.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -22218,21 +22221,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other900) { - resourcePlanName = other900.resourcePlanName; - triggerName = other900.triggerName; - triggerExpression = other900.triggerExpression; - actionExpression = other900.actionExpression; - isInUnmanaged = other900.isInUnmanaged; - __isset = other900.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other901) { - resourcePlanName = other901.resourcePlanName; - triggerName = other901.triggerName; - triggerExpression = other901.triggerExpression; - actionExpression = other901.actionExpression; - isInUnmanaged = other901.isInUnmanaged; - __isset = other901.__isset; +WMTrigger::WMTrigger(const WMTrigger& other893) { + resourcePlanName = other893.resourcePlanName; + triggerName = other893.triggerName; + triggerExpression = other893.triggerExpression; + actionExpression = other893.actionExpression; + isInUnmanaged = other893.isInUnmanaged; + __isset = other893.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other894) { + resourcePlanName = other894.resourcePlanName; + triggerName = other894.triggerName; + triggerExpression = other894.triggerExpression; + actionExpression = other894.actionExpression; + isInUnmanaged = other894.isInUnmanaged; + __isset = other894.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -22397,21 +22400,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other902) { - resourcePlanName = other902.resourcePlanName; - entityType = other902.entityType; - entityName = other902.entityName; - poolPath = other902.poolPath; - ordering = other902.ordering; - __isset = other902.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other903) { - resourcePlanName = other903.resourcePlanName; - entityType = other903.entityType; - entityName = other903.entityName; - poolPath = other903.poolPath; - ordering = other903.ordering; - __isset = other903.__isset; +WMMapping::WMMapping(const WMMapping& other895) { + resourcePlanName = other895.resourcePlanName; + entityType = other895.entityType; + entityName = other895.entityName; + poolPath = other895.poolPath; + ordering = other895.ordering; + __isset = other895.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other896) { + resourcePlanName = other896.resourcePlanName; + entityType = other896.entityType; + entityName = other896.entityName; + poolPath = other896.poolPath; + ordering = other896.ordering; + __isset = other896.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -22517,13 +22520,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other904) { - pool = other904.pool; - trigger = other904.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other897) { + pool = other897.pool; + trigger = other897.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other905) { - pool = other905.pool; - trigger = other905.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other898) { + pool = other898.pool; + trigger = other898.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -22597,14 +22600,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size906; - ::apache::thrift::protocol::TType _etype909; - xfer += iprot->readListBegin(_etype909, _size906); - this->pools.resize(_size906); - uint32_t _i910; - for (_i910 = 0; _i910 < _size906; ++_i910) + uint32_t _size899; + ::apache::thrift::protocol::TType _etype902; + xfer += iprot->readListBegin(_etype902, _size899); + this->pools.resize(_size899); + uint32_t _i903; + for (_i903 = 0; _i903 < _size899; ++_i903) { - xfer += this->pools[_i910].read(iprot); + xfer += this->pools[_i903].read(iprot); } xfer += iprot->readListEnd(); } @@ -22617,14 +22620,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size911; - ::apache::thrift::protocol::TType _etype914; - xfer += iprot->readListBegin(_etype914, _size911); - this->mappings.resize(_size911); - uint32_t _i915; - for (_i915 = 0; _i915 < _size911; ++_i915) + uint32_t _size904; + ::apache::thrift::protocol::TType _etype907; + xfer += iprot->readListBegin(_etype907, _size904); + this->mappings.resize(_size904); + uint32_t _i908; + for (_i908 = 0; _i908 < _size904; ++_i908) { - xfer += this->mappings[_i915].read(iprot); + xfer += this->mappings[_i908].read(iprot); } xfer += iprot->readListEnd(); } @@ -22637,14 +22640,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size916; - ::apache::thrift::protocol::TType _etype919; - xfer += iprot->readListBegin(_etype919, _size916); - this->triggers.resize(_size916); - uint32_t _i920; - for (_i920 = 0; _i920 < _size916; ++_i920) + uint32_t _size909; + ::apache::thrift::protocol::TType _etype912; + xfer += iprot->readListBegin(_etype912, _size909); + this->triggers.resize(_size909); + uint32_t _i913; + for (_i913 = 0; _i913 < _size909; ++_i913) { - xfer += this->triggers[_i920].read(iprot); + xfer += this->triggers[_i913].read(iprot); } xfer += iprot->readListEnd(); } @@ -22657,14 +22660,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size921; - ::apache::thrift::protocol::TType _etype924; - xfer += iprot->readListBegin(_etype924, _size921); - this->poolTriggers.resize(_size921); - uint32_t _i925; - for (_i925 = 0; _i925 < _size921; ++_i925) + uint32_t _size914; + ::apache::thrift::protocol::TType _etype917; + xfer += iprot->readListBegin(_etype917, _size914); + this->poolTriggers.resize(_size914); + uint32_t _i918; + for (_i918 = 0; _i918 < _size914; ++_i918) { - xfer += this->poolTriggers[_i925].read(iprot); + xfer += this->poolTriggers[_i918].read(iprot); } xfer += iprot->readListEnd(); } @@ -22701,10 +22704,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("pools", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->pools.size())); - std::vector ::const_iterator _iter926; - for (_iter926 = this->pools.begin(); _iter926 != this->pools.end(); ++_iter926) + std::vector ::const_iterator _iter919; + for (_iter919 = this->pools.begin(); _iter919 != this->pools.end(); ++_iter919) { - xfer += (*_iter926).write(oprot); + xfer += (*_iter919).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22714,10 +22717,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("mappings", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->mappings.size())); - std::vector ::const_iterator _iter927; - for (_iter927 = this->mappings.begin(); _iter927 != this->mappings.end(); ++_iter927) + std::vector ::const_iterator _iter920; + for (_iter920 = this->mappings.begin(); _iter920 != this->mappings.end(); ++_iter920) { - xfer += (*_iter927).write(oprot); + xfer += (*_iter920).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22727,10 +22730,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("triggers", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->triggers.size())); - std::vector ::const_iterator _iter928; - for (_iter928 = this->triggers.begin(); _iter928 != this->triggers.end(); ++_iter928) + std::vector ::const_iterator _iter921; + for (_iter921 = this->triggers.begin(); _iter921 != this->triggers.end(); ++_iter921) { - xfer += (*_iter928).write(oprot); + xfer += (*_iter921).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22740,10 +22743,10 @@ uint32_t WMFullResourcePlan::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("poolTriggers", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->poolTriggers.size())); - std::vector ::const_iterator _iter929; - for (_iter929 = this->poolTriggers.begin(); _iter929 != this->poolTriggers.end(); ++_iter929) + std::vector ::const_iterator _iter922; + for (_iter922 = this->poolTriggers.begin(); _iter922 != this->poolTriggers.end(); ++_iter922) { - xfer += (*_iter929).write(oprot); + xfer += (*_iter922).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22764,21 +22767,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other930) { - plan = other930.plan; - pools = other930.pools; - mappings = other930.mappings; - triggers = other930.triggers; - poolTriggers = other930.poolTriggers; - __isset = other930.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other931) { - plan = other931.plan; - pools = other931.pools; - mappings = other931.mappings; - triggers = other931.triggers; - poolTriggers = other931.poolTriggers; - __isset = other931.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other923) { + plan = other923.plan; + pools = other923.pools; + mappings = other923.mappings; + triggers = other923.triggers; + poolTriggers = other923.poolTriggers; + __isset = other923.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other924) { + plan = other924.plan; + pools = other924.pools; + mappings = other924.mappings; + triggers = other924.triggers; + poolTriggers = other924.poolTriggers; + __isset = other924.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -22883,15 +22886,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other932) { - resourcePlan = other932.resourcePlan; - copyFrom = other932.copyFrom; - __isset = other932.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other925) { + resourcePlan = other925.resourcePlan; + copyFrom = other925.copyFrom; + __isset = other925.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other933) { - resourcePlan = other933.resourcePlan; - copyFrom = other933.copyFrom; - __isset = other933.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other926) { + resourcePlan = other926.resourcePlan; + copyFrom = other926.copyFrom; + __isset = other926.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -22951,11 +22954,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other934) { - (void) other934; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other927) { + (void) other927; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other935) { - (void) other935; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other928) { + (void) other928; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -23013,11 +23016,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other936) { - (void) other936; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other929) { + (void) other929; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other937) { - (void) other937; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other930) { + (void) other930; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -23098,13 +23101,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other938) { - resourcePlan = other938.resourcePlan; - __isset = other938.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other931) { + resourcePlan = other931.resourcePlan; + __isset = other931.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other939) { - resourcePlan = other939.resourcePlan; - __isset = other939.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other932) { + resourcePlan = other932.resourcePlan; + __isset = other932.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -23186,13 +23189,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other940) { - resourcePlanName = other940.resourcePlanName; - __isset = other940.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other933) { + resourcePlanName = other933.resourcePlanName; + __isset = other933.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other941) { - resourcePlanName = other941.resourcePlanName; - __isset = other941.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other934) { + resourcePlanName = other934.resourcePlanName; + __isset = other934.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -23274,13 +23277,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other942) { - resourcePlan = other942.resourcePlan; - __isset = other942.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other935) { + resourcePlan = other935.resourcePlan; + __isset = other935.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other943) { - resourcePlan = other943.resourcePlan; - __isset = other943.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other936) { + resourcePlan = other936.resourcePlan; + __isset = other936.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -23339,11 +23342,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other944) { - (void) other944; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other937) { + (void) other937; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other945) { - (void) other945; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other938) { + (void) other938; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -23387,14 +23390,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size946; - ::apache::thrift::protocol::TType _etype949; - xfer += iprot->readListBegin(_etype949, _size946); - this->resourcePlans.resize(_size946); - uint32_t _i950; - for (_i950 = 0; _i950 < _size946; ++_i950) + uint32_t _size939; + ::apache::thrift::protocol::TType _etype942; + xfer += iprot->readListBegin(_etype942, _size939); + this->resourcePlans.resize(_size939); + uint32_t _i943; + for (_i943 = 0; _i943 < _size939; ++_i943) { - xfer += this->resourcePlans[_i950].read(iprot); + xfer += this->resourcePlans[_i943].read(iprot); } xfer += iprot->readListEnd(); } @@ -23424,10 +23427,10 @@ uint32_t WMGetAllResourcePlanResponse::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("resourcePlans", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->resourcePlans.size())); - std::vector ::const_iterator _iter951; - for (_iter951 = this->resourcePlans.begin(); _iter951 != this->resourcePlans.end(); ++_iter951) + std::vector ::const_iterator _iter944; + for (_iter944 = this->resourcePlans.begin(); _iter944 != this->resourcePlans.end(); ++_iter944) { - xfer += (*_iter951).write(oprot); + xfer += (*_iter944).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23444,13 +23447,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other952) { - resourcePlans = other952.resourcePlans; - __isset = other952.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other945) { + resourcePlans = other945.resourcePlans; + __isset = other945.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other953) { - resourcePlans = other953.resourcePlans; - __isset = other953.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other946) { + resourcePlans = other946.resourcePlans; + __isset = other946.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -23608,21 +23611,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other954) { - resourcePlanName = other954.resourcePlanName; - resourcePlan = other954.resourcePlan; - isEnableAndActivate = other954.isEnableAndActivate; - isForceDeactivate = other954.isForceDeactivate; - isReplace = other954.isReplace; - __isset = other954.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other955) { - resourcePlanName = other955.resourcePlanName; - resourcePlan = other955.resourcePlan; - isEnableAndActivate = other955.isEnableAndActivate; - isForceDeactivate = other955.isForceDeactivate; - isReplace = other955.isReplace; - __isset = other955.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other947) { + resourcePlanName = other947.resourcePlanName; + resourcePlan = other947.resourcePlan; + isEnableAndActivate = other947.isEnableAndActivate; + isForceDeactivate = other947.isForceDeactivate; + isReplace = other947.isReplace; + __isset = other947.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other948) { + resourcePlanName = other948.resourcePlanName; + resourcePlan = other948.resourcePlan; + isEnableAndActivate = other948.isEnableAndActivate; + isForceDeactivate = other948.isForceDeactivate; + isReplace = other948.isReplace; + __isset = other948.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -23708,13 +23711,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other956) { - fullResourcePlan = other956.fullResourcePlan; - __isset = other956.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other949) { + fullResourcePlan = other949.fullResourcePlan; + __isset = other949.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other957) { - fullResourcePlan = other957.fullResourcePlan; - __isset = other957.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other950) { + fullResourcePlan = other950.fullResourcePlan; + __isset = other950.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -23796,13 +23799,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other958) { - resourcePlanName = other958.resourcePlanName; - __isset = other958.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other951) { + resourcePlanName = other951.resourcePlanName; + __isset = other951.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other959) { - resourcePlanName = other959.resourcePlanName; - __isset = other959.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other952) { + resourcePlanName = other952.resourcePlanName; + __isset = other952.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -23852,14 +23855,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size960; - ::apache::thrift::protocol::TType _etype963; - xfer += iprot->readListBegin(_etype963, _size960); - this->errors.resize(_size960); - uint32_t _i964; - for (_i964 = 0; _i964 < _size960; ++_i964) + uint32_t _size953; + ::apache::thrift::protocol::TType _etype956; + xfer += iprot->readListBegin(_etype956, _size953); + this->errors.resize(_size953); + uint32_t _i957; + for (_i957 = 0; _i957 < _size953; ++_i957) { - xfer += iprot->readString(this->errors[_i964]); + xfer += iprot->readString(this->errors[_i957]); } xfer += iprot->readListEnd(); } @@ -23872,14 +23875,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size965; - ::apache::thrift::protocol::TType _etype968; - xfer += iprot->readListBegin(_etype968, _size965); - this->warnings.resize(_size965); - uint32_t _i969; - for (_i969 = 0; _i969 < _size965; ++_i969) + uint32_t _size958; + ::apache::thrift::protocol::TType _etype961; + xfer += iprot->readListBegin(_etype961, _size958); + this->warnings.resize(_size958); + uint32_t _i962; + for (_i962 = 0; _i962 < _size958; ++_i962) { - xfer += iprot->readString(this->warnings[_i969]); + xfer += iprot->readString(this->warnings[_i962]); } xfer += iprot->readListEnd(); } @@ -23909,10 +23912,10 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("errors", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->errors.size())); - std::vector ::const_iterator _iter970; - for (_iter970 = this->errors.begin(); _iter970 != this->errors.end(); ++_iter970) + std::vector ::const_iterator _iter963; + for (_iter963 = this->errors.begin(); _iter963 != this->errors.end(); ++_iter963) { - xfer += oprot->writeString((*_iter970)); + xfer += oprot->writeString((*_iter963)); } xfer += oprot->writeListEnd(); } @@ -23922,10 +23925,10 @@ uint32_t WMValidateResourcePlanResponse::write(::apache::thrift::protocol::TProt xfer += oprot->writeFieldBegin("warnings", ::apache::thrift::protocol::T_LIST, 2); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->warnings.size())); - std::vector ::const_iterator _iter971; - for (_iter971 = this->warnings.begin(); _iter971 != this->warnings.end(); ++_iter971) + std::vector ::const_iterator _iter964; + for (_iter964 = this->warnings.begin(); _iter964 != this->warnings.end(); ++_iter964) { - xfer += oprot->writeString((*_iter971)); + xfer += oprot->writeString((*_iter964)); } xfer += oprot->writeListEnd(); } @@ -23943,15 +23946,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other972) { - errors = other972.errors; - warnings = other972.warnings; - __isset = other972.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other965) { + errors = other965.errors; + warnings = other965.warnings; + __isset = other965.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other973) { - errors = other973.errors; - warnings = other973.warnings; - __isset = other973.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other966) { + errors = other966.errors; + warnings = other966.warnings; + __isset = other966.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -24034,13 +24037,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other974) { - resourcePlanName = other974.resourcePlanName; - __isset = other974.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other967) { + resourcePlanName = other967.resourcePlanName; + __isset = other967.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other975) { - resourcePlanName = other975.resourcePlanName; - __isset = other975.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other968) { + resourcePlanName = other968.resourcePlanName; + __isset = other968.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -24099,11 +24102,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other976) { - (void) other976; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other969) { + (void) other969; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other977) { - (void) other977; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other970) { + (void) other970; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -24184,13 +24187,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other978) { - trigger = other978.trigger; - __isset = other978.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other971) { + trigger = other971.trigger; + __isset = other971.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other979) { - trigger = other979.trigger; - __isset = other979.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other972) { + trigger = other972.trigger; + __isset = other972.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -24249,11 +24252,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other980) { - (void) other980; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other973) { + (void) other973; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other981) { - (void) other981; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other974) { + (void) other974; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -24334,13 +24337,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other982) { - trigger = other982.trigger; - __isset = other982.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other975) { + trigger = other975.trigger; + __isset = other975.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other983) { - trigger = other983.trigger; - __isset = other983.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other976) { + trigger = other976.trigger; + __isset = other976.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -24399,11 +24402,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other984) { - (void) other984; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other977) { + (void) other977; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other985) { - (void) other985; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other978) { + (void) other978; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -24503,15 +24506,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other986) { - resourcePlanName = other986.resourcePlanName; - triggerName = other986.triggerName; - __isset = other986.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other979) { + resourcePlanName = other979.resourcePlanName; + triggerName = other979.triggerName; + __isset = other979.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other987) { - resourcePlanName = other987.resourcePlanName; - triggerName = other987.triggerName; - __isset = other987.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other980) { + resourcePlanName = other980.resourcePlanName; + triggerName = other980.triggerName; + __isset = other980.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -24571,11 +24574,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other988) { - (void) other988; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other981) { + (void) other981; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other989) { - (void) other989; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other982) { + (void) other982; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -24656,13 +24659,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other990) { - resourcePlanName = other990.resourcePlanName; - __isset = other990.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other983) { + resourcePlanName = other983.resourcePlanName; + __isset = other983.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other991) { - resourcePlanName = other991.resourcePlanName; - __isset = other991.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other984) { + resourcePlanName = other984.resourcePlanName; + __isset = other984.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -24707,14 +24710,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size992; - ::apache::thrift::protocol::TType _etype995; - xfer += iprot->readListBegin(_etype995, _size992); - this->triggers.resize(_size992); - uint32_t _i996; - for (_i996 = 0; _i996 < _size992; ++_i996) + uint32_t _size985; + ::apache::thrift::protocol::TType _etype988; + xfer += iprot->readListBegin(_etype988, _size985); + this->triggers.resize(_size985); + uint32_t _i989; + for (_i989 = 0; _i989 < _size985; ++_i989) { - xfer += this->triggers[_i996].read(iprot); + xfer += this->triggers[_i989].read(iprot); } xfer += iprot->readListEnd(); } @@ -24744,10 +24747,10 @@ uint32_t WMGetTriggersForResourePlanResponse::write(::apache::thrift::protocol:: xfer += oprot->writeFieldBegin("triggers", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->triggers.size())); - std::vector ::const_iterator _iter997; - for (_iter997 = this->triggers.begin(); _iter997 != this->triggers.end(); ++_iter997) + std::vector ::const_iterator _iter990; + for (_iter990 = this->triggers.begin(); _iter990 != this->triggers.end(); ++_iter990) { - xfer += (*_iter997).write(oprot); + xfer += (*_iter990).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24764,13 +24767,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other998) { - triggers = other998.triggers; - __isset = other998.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other991) { + triggers = other991.triggers; + __isset = other991.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other999) { - triggers = other999.triggers; - __isset = other999.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other992) { + triggers = other992.triggers; + __isset = other992.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -24852,13 +24855,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1000) { - pool = other1000.pool; - __isset = other1000.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other993) { + pool = other993.pool; + __isset = other993.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1001) { - pool = other1001.pool; - __isset = other1001.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other994) { + pool = other994.pool; + __isset = other994.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -24917,11 +24920,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1002) { - (void) other1002; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other995) { + (void) other995; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1003) { - (void) other1003; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other996) { + (void) other996; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -25021,15 +25024,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1004) { - pool = other1004.pool; - poolPath = other1004.poolPath; - __isset = other1004.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other997) { + pool = other997.pool; + poolPath = other997.poolPath; + __isset = other997.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1005) { - pool = other1005.pool; - poolPath = other1005.poolPath; - __isset = other1005.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other998) { + pool = other998.pool; + poolPath = other998.poolPath; + __isset = other998.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -25089,11 +25092,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1006) { - (void) other1006; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other999) { + (void) other999; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1007) { - (void) other1007; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1000) { + (void) other1000; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -25193,15 +25196,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1008) { - resourcePlanName = other1008.resourcePlanName; - poolPath = other1008.poolPath; - __isset = other1008.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1001) { + resourcePlanName = other1001.resourcePlanName; + poolPath = other1001.poolPath; + __isset = other1001.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1009) { - resourcePlanName = other1009.resourcePlanName; - poolPath = other1009.poolPath; - __isset = other1009.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1002) { + resourcePlanName = other1002.resourcePlanName; + poolPath = other1002.poolPath; + __isset = other1002.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -25261,11 +25264,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1010) { - (void) other1010; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1003) { + (void) other1003; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1011) { - (void) other1011; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1004) { + (void) other1004; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -25365,15 +25368,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1012) { - mapping = other1012.mapping; - update = other1012.update; - __isset = other1012.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1005) { + mapping = other1005.mapping; + update = other1005.update; + __isset = other1005.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1013) { - mapping = other1013.mapping; - update = other1013.update; - __isset = other1013.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1006) { + mapping = other1006.mapping; + update = other1006.update; + __isset = other1006.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -25433,11 +25436,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1014) { - (void) other1014; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1007) { + (void) other1007; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1015) { - (void) other1015; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1008) { + (void) other1008; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -25518,13 +25521,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1016) { - mapping = other1016.mapping; - __isset = other1016.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1009) { + mapping = other1009.mapping; + __isset = other1009.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1017) { - mapping = other1017.mapping; - __isset = other1017.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1010) { + mapping = other1010.mapping; + __isset = other1010.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -25583,11 +25586,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1018) { - (void) other1018; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1011) { + (void) other1011; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1019) { - (void) other1019; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1012) { + (void) other1012; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -25725,19 +25728,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1020) { - resourcePlanName = other1020.resourcePlanName; - triggerName = other1020.triggerName; - poolPath = other1020.poolPath; - drop = other1020.drop; - __isset = other1020.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1013) { + resourcePlanName = other1013.resourcePlanName; + triggerName = other1013.triggerName; + poolPath = other1013.poolPath; + drop = other1013.drop; + __isset = other1013.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1021) { - resourcePlanName = other1021.resourcePlanName; - triggerName = other1021.triggerName; - poolPath = other1021.poolPath; - drop = other1021.drop; - __isset = other1021.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1014) { + resourcePlanName = other1014.resourcePlanName; + triggerName = other1014.triggerName; + poolPath = other1014.poolPath; + drop = other1014.drop; + __isset = other1014.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -25799,11 +25802,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1022) { - (void) other1022; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1015) { + (void) other1015; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1023) { - (void) other1023; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1016) { + (void) other1016; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -25882,13 +25885,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1024) : TException() { - message = other1024.message; - __isset = other1024.__isset; +MetaException::MetaException(const MetaException& other1017) : TException() { + message = other1017.message; + __isset = other1017.__isset; } -MetaException& MetaException::operator=(const MetaException& other1025) { - message = other1025.message; - __isset = other1025.__isset; +MetaException& MetaException::operator=(const MetaException& other1018) { + message = other1018.message; + __isset = other1018.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -25979,13 +25982,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1026) : TException() { - message = other1026.message; - __isset = other1026.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1019) : TException() { + message = other1019.message; + __isset = other1019.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1027) { - message = other1027.message; - __isset = other1027.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1020) { + message = other1020.message; + __isset = other1020.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -26076,13 +26079,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1028) : TException() { - message = other1028.message; - __isset = other1028.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1021) : TException() { + message = other1021.message; + __isset = other1021.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1029) { - message = other1029.message; - __isset = other1029.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1022) { + message = other1022.message; + __isset = other1022.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -26173,13 +26176,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1030) : TException() { - message = other1030.message; - __isset = other1030.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1023) : TException() { + message = other1023.message; + __isset = other1023.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1031) { - message = other1031.message; - __isset = other1031.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1024) { + message = other1024.message; + __isset = other1024.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -26270,13 +26273,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1032) : TException() { - message = other1032.message; - __isset = other1032.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1025) : TException() { + message = other1025.message; + __isset = other1025.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1033) { - message = other1033.message; - __isset = other1033.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1026) { + message = other1026.message; + __isset = other1026.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -26367,13 +26370,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1034) : TException() { - message = other1034.message; - __isset = other1034.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1027) : TException() { + message = other1027.message; + __isset = other1027.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1035) { - message = other1035.message; - __isset = other1035.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1028) { + message = other1028.message; + __isset = other1028.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -26464,13 +26467,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1036) : TException() { - message = other1036.message; - __isset = other1036.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1029) : TException() { + message = other1029.message; + __isset = other1029.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1037) { - message = other1037.message; - __isset = other1037.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1030) { + message = other1030.message; + __isset = other1030.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -26561,13 +26564,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1038) : TException() { - message = other1038.message; - __isset = other1038.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1031) : TException() { + message = other1031.message; + __isset = other1031.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1039) { - message = other1039.message; - __isset = other1039.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1032) { + message = other1032.message; + __isset = other1032.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -26658,13 +26661,13 @@ void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b) { swap(a.__isset, b.__isset); } -IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other1040) : TException() { - message = other1040.message; - __isset = other1040.__isset; +IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other1033) : TException() { + message = other1033.message; + __isset = other1033.__isset; } -IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other1041) { - message = other1041.message; - __isset = other1041.__isset; +IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other1034) { + message = other1034.message; + __isset = other1034.__isset; return *this; } void IndexAlreadyExistsException::printTo(std::ostream& out) const { @@ -26755,13 +26758,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1042) : TException() { - message = other1042.message; - __isset = other1042.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1035) : TException() { + message = other1035.message; + __isset = other1035.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1043) { - message = other1043.message; - __isset = other1043.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1036) { + message = other1036.message; + __isset = other1036.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -26852,13 +26855,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1044) : TException() { - message = other1044.message; - __isset = other1044.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1037) : TException() { + message = other1037.message; + __isset = other1037.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1045) { - message = other1045.message; - __isset = other1045.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1038) { + message = other1038.message; + __isset = other1038.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -26949,13 +26952,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1046) : TException() { - message = other1046.message; - __isset = other1046.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1039) : TException() { + message = other1039.message; + __isset = other1039.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1047) { - message = other1047.message; - __isset = other1047.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1040) { + message = other1040.message; + __isset = other1040.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -27046,13 +27049,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1048) : TException() { - message = other1048.message; - __isset = other1048.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1041) : TException() { + message = other1041.message; + __isset = other1041.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1049) { - message = other1049.message; - __isset = other1049.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1042) { + message = other1042.message; + __isset = other1042.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -27143,13 +27146,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1050) : TException() { - message = other1050.message; - __isset = other1050.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1043) : TException() { + message = other1043.message; + __isset = other1043.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1051) { - message = other1051.message; - __isset = other1051.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1044) { + message = other1044.message; + __isset = other1044.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -27240,13 +27243,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1052) : TException() { - message = other1052.message; - __isset = other1052.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1045) : TException() { + message = other1045.message; + __isset = other1045.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1053) { - message = other1053.message; - __isset = other1053.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1046) { + message = other1046.message; + __isset = other1046.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -27337,13 +27340,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1054) : TException() { - message = other1054.message; - __isset = other1054.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1047) : TException() { + message = other1047.message; + __isset = other1047.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1055) { - message = other1055.message; - __isset = other1055.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1048) { + message = other1048.message; + __isset = other1048.__isset; return *this; } void NoSuchLockException::printTo(std::ostream& out) const { diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h index df646a7d17..4c09bc8fe6 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h @@ -400,7 +400,7 @@ class AddDynamicPartitions; class BasicTxnInfo; -class TxnsSnapshot; +class CreationMetadata; class NotificationEventRequest; @@ -2415,7 +2415,7 @@ class Table { PrincipalPrivilegeSet privileges; bool temporary; bool rewriteEnabled; - std::map creationMetadata; + CreationMetadata creationMetadata; _Table__isset __isset; @@ -2449,7 +2449,7 @@ class Table { void __set_rewriteEnabled(const bool val); - void __set_creationMetadata(const std::map & val); + void __set_creationMetadata(const CreationMetadata& val); bool operator == (const Table & rhs) const { @@ -7086,8 +7086,7 @@ inline std::ostream& operator<<(std::ostream& out, const AddDynamicPartitions& o } typedef struct _BasicTxnInfo__isset { - _BasicTxnInfo__isset() : id(false), time(false), txnid(false), dbname(false), tablename(false), partitionname(false) {} - bool id :1; + _BasicTxnInfo__isset() : time(false), txnid(false), dbname(false), tablename(false), partitionname(false) {} bool time :1; bool txnid :1; bool dbname :1; @@ -7100,12 +7099,11 @@ class BasicTxnInfo { BasicTxnInfo(const BasicTxnInfo&); BasicTxnInfo& operator=(const BasicTxnInfo&); - BasicTxnInfo() : isnull(0), id(0), time(0), txnid(0), dbname(), tablename(), partitionname() { + BasicTxnInfo() : isnull(0), time(0), txnid(0), dbname(), tablename(), partitionname() { } virtual ~BasicTxnInfo() throw(); bool isnull; - int64_t id; int64_t time; int64_t txnid; std::string dbname; @@ -7116,8 +7114,6 @@ class BasicTxnInfo { void __set_isnull(const bool val); - void __set_id(const int64_t val); - void __set_time(const int64_t val); void __set_txnid(const int64_t val); @@ -7132,10 +7128,6 @@ class BasicTxnInfo { { if (!(isnull == rhs.isnull)) return false; - if (__isset.id != rhs.__isset.id) - return false; - else if (__isset.id && !(id == rhs.id)) - return false; if (__isset.time != rhs.__isset.time) return false; else if (__isset.time && !(time == rhs.time)) @@ -7178,36 +7170,54 @@ inline std::ostream& operator<<(std::ostream& out, const BasicTxnInfo& obj) return out; } +typedef struct _CreationMetadata__isset { + _CreationMetadata__isset() : validTxnList(false) {} + bool validTxnList :1; +} _CreationMetadata__isset; -class TxnsSnapshot { +class CreationMetadata { public: - TxnsSnapshot(const TxnsSnapshot&); - TxnsSnapshot& operator=(const TxnsSnapshot&); - TxnsSnapshot() : txn_high_water_mark(0) { + CreationMetadata(const CreationMetadata&); + CreationMetadata& operator=(const CreationMetadata&); + CreationMetadata() : dbName(), tblName(), validTxnList() { } - virtual ~TxnsSnapshot() throw(); - int64_t txn_high_water_mark; - std::vector open_txns; + virtual ~CreationMetadata() throw(); + std::string dbName; + std::string tblName; + std::set tablesUsed; + std::string validTxnList; - void __set_txn_high_water_mark(const int64_t val); + _CreationMetadata__isset __isset; - void __set_open_txns(const std::vector & val); + void __set_dbName(const std::string& val); + + void __set_tblName(const std::string& val); - bool operator == (const TxnsSnapshot & rhs) const + void __set_tablesUsed(const std::set & val); + + void __set_validTxnList(const std::string& val); + + bool operator == (const CreationMetadata & rhs) const { - if (!(txn_high_water_mark == rhs.txn_high_water_mark)) + if (!(dbName == rhs.dbName)) return false; - if (!(open_txns == rhs.open_txns)) + if (!(tblName == rhs.tblName)) + return false; + if (!(tablesUsed == rhs.tablesUsed)) + return false; + if (__isset.validTxnList != rhs.__isset.validTxnList) + return false; + else if (__isset.validTxnList && !(validTxnList == rhs.validTxnList)) return false; return true; } - bool operator != (const TxnsSnapshot &rhs) const { + bool operator != (const CreationMetadata &rhs) const { return !(*this == rhs); } - bool operator < (const TxnsSnapshot & ) const; + bool operator < (const CreationMetadata & ) const; uint32_t read(::apache::thrift::protocol::TProtocol* iprot); uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; @@ -7215,9 +7225,9 @@ class TxnsSnapshot { virtual void printTo(std::ostream& out) const; }; -void swap(TxnsSnapshot &a, TxnsSnapshot &b); +void swap(CreationMetadata &a, CreationMetadata &b); -inline std::ostream& operator<<(std::ostream& out, const TxnsSnapshot& obj) +inline std::ostream& operator<<(std::ostream& out, const CreationMetadata& obj) { obj.printTo(out); return out; diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java index 398f8d4e93..0e5dbf7ae6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AbortTxnsRequest st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list558 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list558.size); - long _elem559; - for (int _i560 = 0; _i560 < _list558.size; ++_i560) + org.apache.thrift.protocol.TList _list548 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list548.size); + long _elem549; + for (int _i550 = 0; _i550 < _list548.size; ++_i550) { - _elem559 = iprot.readI64(); - struct.txn_ids.add(_elem559); + _elem549 = iprot.readI64(); + struct.txn_ids.add(_elem549); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AbortTxnsRequest 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 _iter561 : struct.txn_ids) + for (long _iter551 : struct.txn_ids) { - oprot.writeI64(_iter561); + oprot.writeI64(_iter551); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter562 : struct.txn_ids) + for (long _iter552 : struct.txn_ids) { - oprot.writeI64(_iter562); + oprot.writeI64(_iter552); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st public void read(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list563 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list563.size); - long _elem564; - for (int _i565 = 0; _i565 < _list563.size; ++_i565) + org.apache.thrift.protocol.TList _list553 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list553.size); + long _elem554; + for (int _i555 = 0; _i555 < _list553.size; ++_i555) { - _elem564 = iprot.readI64(); - struct.txn_ids.add(_elem564); + _elem554 = iprot.readI64(); + struct.txn_ids.add(_elem554); } } struct.setTxn_idsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index 2102aa5215..dae233a123 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java @@ -727,13 +727,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 _list616 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list616.size); - String _elem617; - for (int _i618 = 0; _i618 < _list616.size; ++_i618) + org.apache.thrift.protocol.TList _list606 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list606.size); + String _elem607; + for (int _i608 = 0; _i608 < _list606.size; ++_i608) { - _elem617 = iprot.readString(); - struct.partitionnames.add(_elem617); + _elem607 = iprot.readString(); + struct.partitionnames.add(_elem607); } iprot.readListEnd(); } @@ -780,9 +780,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 _iter619 : struct.partitionnames) + for (String _iter609 : struct.partitionnames) { - oprot.writeString(_iter619); + oprot.writeString(_iter609); } oprot.writeListEnd(); } @@ -817,9 +817,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (String _iter620 : struct.partitionnames) + for (String _iter610 : struct.partitionnames) { - oprot.writeString(_iter620); + oprot.writeString(_iter610); } } BitSet optionals = new BitSet(); @@ -842,13 +842,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list621 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list621.size); - String _elem622; - for (int _i623 = 0; _i623 < _list621.size; ++_i623) + org.apache.thrift.protocol.TList _list611 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list611.size); + String _elem612; + for (int _i613 = 0; _i613 < _list611.size; ++_i613) { - _elem622 = iprot.readString(); - struct.partitionnames.add(_elem622); + _elem612 = iprot.readString(); + struct.partitionnames.add(_elem612); } } struct.setPartitionnamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java index a2225298e7..c1c0dbf229 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddForeignKeyRequest.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddForeignKeyReques case 1: // FOREIGN_KEY_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list372 = iprot.readListBegin(); - struct.foreignKeyCols = new ArrayList(_list372.size); - SQLForeignKey _elem373; - for (int _i374 = 0; _i374 < _list372.size; ++_i374) + org.apache.thrift.protocol.TList _list362 = iprot.readListBegin(); + struct.foreignKeyCols = new ArrayList(_list362.size); + SQLForeignKey _elem363; + for (int _i364 = 0; _i364 < _list362.size; ++_i364) { - _elem373 = new SQLForeignKey(); - _elem373.read(iprot); - struct.foreignKeyCols.add(_elem373); + _elem363 = new SQLForeignKey(); + _elem363.read(iprot); + struct.foreignKeyCols.add(_elem363); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddForeignKeyReque oprot.writeFieldBegin(FOREIGN_KEY_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeyCols.size())); - for (SQLForeignKey _iter375 : struct.foreignKeyCols) + for (SQLForeignKey _iter365 : struct.foreignKeyCols) { - _iter375.write(oprot); + _iter365.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddForeignKeyReques TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.foreignKeyCols.size()); - for (SQLForeignKey _iter376 : struct.foreignKeyCols) + for (SQLForeignKey _iter366 : struct.foreignKeyCols) { - _iter376.write(oprot); + _iter366.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddForeignKeyReques public void read(org.apache.thrift.protocol.TProtocol prot, AddForeignKeyRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list377 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeyCols = new ArrayList(_list377.size); - SQLForeignKey _elem378; - for (int _i379 = 0; _i379 < _list377.size; ++_i379) + org.apache.thrift.protocol.TList _list367 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeyCols = new ArrayList(_list367.size); + SQLForeignKey _elem368; + for (int _i369 = 0; _i369 < _list367.size; ++_i369) { - _elem378 = new SQLForeignKey(); - _elem378.read(iprot); - struct.foreignKeyCols.add(_elem378); + _elem368 = new SQLForeignKey(); + _elem368.read(iprot); + struct.foreignKeyCols.add(_elem368); } } struct.setForeignKeyColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java index ef23d3025a..0bd85f3140 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddNotNullConstraintRequest.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddNotNullConstrain case 1: // NOT_NULL_CONSTRAINT_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list388 = iprot.readListBegin(); - struct.notNullConstraintCols = new ArrayList(_list388.size); - SQLNotNullConstraint _elem389; - for (int _i390 = 0; _i390 < _list388.size; ++_i390) + org.apache.thrift.protocol.TList _list378 = iprot.readListBegin(); + struct.notNullConstraintCols = new ArrayList(_list378.size); + SQLNotNullConstraint _elem379; + for (int _i380 = 0; _i380 < _list378.size; ++_i380) { - _elem389 = new SQLNotNullConstraint(); - _elem389.read(iprot); - struct.notNullConstraintCols.add(_elem389); + _elem379 = new SQLNotNullConstraint(); + _elem379.read(iprot); + struct.notNullConstraintCols.add(_elem379); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddNotNullConstrai oprot.writeFieldBegin(NOT_NULL_CONSTRAINT_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraintCols.size())); - for (SQLNotNullConstraint _iter391 : struct.notNullConstraintCols) + for (SQLNotNullConstraint _iter381 : struct.notNullConstraintCols) { - _iter391.write(oprot); + _iter381.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddNotNullConstrain TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.notNullConstraintCols.size()); - for (SQLNotNullConstraint _iter392 : struct.notNullConstraintCols) + for (SQLNotNullConstraint _iter382 : struct.notNullConstraintCols) { - _iter392.write(oprot); + _iter382.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddNotNullConstrain public void read(org.apache.thrift.protocol.TProtocol prot, AddNotNullConstraintRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list393 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraintCols = new ArrayList(_list393.size); - SQLNotNullConstraint _elem394; - for (int _i395 = 0; _i395 < _list393.size; ++_i395) + org.apache.thrift.protocol.TList _list383 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraintCols = new ArrayList(_list383.size); + SQLNotNullConstraint _elem384; + for (int _i385 = 0; _i385 < _list383.size; ++_i385) { - _elem394 = new SQLNotNullConstraint(); - _elem394.read(iprot); - struct.notNullConstraintCols.add(_elem394); + _elem384 = new SQLNotNullConstraint(); + _elem384.read(iprot); + struct.notNullConstraintCols.add(_elem384); } } struct.setNotNullConstraintColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java index 13a2318248..9119336a46 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsRequest.java +++ b/standalone-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 _list462 = iprot.readListBegin(); - struct.parts = new ArrayList(_list462.size); - Partition _elem463; - for (int _i464 = 0; _i464 < _list462.size; ++_i464) + org.apache.thrift.protocol.TList _list452 = iprot.readListBegin(); + struct.parts = new ArrayList(_list452.size); + Partition _elem453; + for (int _i454 = 0; _i454 < _list452.size; ++_i454) { - _elem463 = new Partition(); - _elem463.read(iprot); - struct.parts.add(_elem463); + _elem453 = new Partition(); + _elem453.read(iprot); + struct.parts.add(_elem453); } 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 _iter465 : struct.parts) + for (Partition _iter455 : struct.parts) { - _iter465.write(oprot); + _iter455.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 _iter466 : struct.parts) + for (Partition _iter456 : struct.parts) { - _iter466.write(oprot); + _iter456.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 _list467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.parts = new ArrayList(_list467.size); - Partition _elem468; - for (int _i469 = 0; _i469 < _list467.size; ++_i469) + org.apache.thrift.protocol.TList _list457 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.parts = new ArrayList(_list457.size); + Partition _elem458; + for (int _i459 = 0; _i459 < _list457.size; ++_i459) { - _elem468 = new Partition(); - _elem468.read(iprot); - struct.parts.add(_elem468); + _elem458 = new Partition(); + _elem458.read(iprot); + struct.parts.add(_elem458); } } struct.setPartsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java index 49ce6e1a6c..57d4953af6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPartitionsResult.java +++ b/standalone-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 _list454 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list454.size); - Partition _elem455; - for (int _i456 = 0; _i456 < _list454.size; ++_i456) + org.apache.thrift.protocol.TList _list444 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list444.size); + Partition _elem445; + for (int _i446 = 0; _i446 < _list444.size; ++_i446) { - _elem455 = new Partition(); - _elem455.read(iprot); - struct.partitions.add(_elem455); + _elem445 = new Partition(); + _elem445.read(iprot); + struct.partitions.add(_elem445); } 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 _iter457 : struct.partitions) + for (Partition _iter447 : struct.partitions) { - _iter457.write(oprot); + _iter447.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 _iter458 : struct.partitions) + for (Partition _iter448 : struct.partitions) { - _iter458.write(oprot); + _iter448.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 _list459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list459.size); - Partition _elem460; - for (int _i461 = 0; _i461 < _list459.size; ++_i461) + org.apache.thrift.protocol.TList _list449 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list449.size); + Partition _elem450; + for (int _i451 = 0; _i451 < _list449.size; ++_i451) { - _elem460 = new Partition(); - _elem460.read(iprot); - struct.partitions.add(_elem460); + _elem450 = new Partition(); + _elem450.read(iprot); + struct.partitions.add(_elem450); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java index 478032a987..900985bb39 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddPrimaryKeyRequest.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddPrimaryKeyReques case 1: // PRIMARY_KEY_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list364 = iprot.readListBegin(); - struct.primaryKeyCols = new ArrayList(_list364.size); - SQLPrimaryKey _elem365; - for (int _i366 = 0; _i366 < _list364.size; ++_i366) + org.apache.thrift.protocol.TList _list354 = iprot.readListBegin(); + struct.primaryKeyCols = new ArrayList(_list354.size); + SQLPrimaryKey _elem355; + for (int _i356 = 0; _i356 < _list354.size; ++_i356) { - _elem365 = new SQLPrimaryKey(); - _elem365.read(iprot); - struct.primaryKeyCols.add(_elem365); + _elem355 = new SQLPrimaryKey(); + _elem355.read(iprot); + struct.primaryKeyCols.add(_elem355); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddPrimaryKeyReque oprot.writeFieldBegin(PRIMARY_KEY_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeyCols.size())); - for (SQLPrimaryKey _iter367 : struct.primaryKeyCols) + for (SQLPrimaryKey _iter357 : struct.primaryKeyCols) { - _iter367.write(oprot); + _iter357.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPrimaryKeyReques TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.primaryKeyCols.size()); - for (SQLPrimaryKey _iter368 : struct.primaryKeyCols) + for (SQLPrimaryKey _iter358 : struct.primaryKeyCols) { - _iter368.write(oprot); + _iter358.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddPrimaryKeyReques public void read(org.apache.thrift.protocol.TProtocol prot, AddPrimaryKeyRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list369 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeyCols = new ArrayList(_list369.size); - SQLPrimaryKey _elem370; - for (int _i371 = 0; _i371 < _list369.size; ++_i371) + org.apache.thrift.protocol.TList _list359 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeyCols = new ArrayList(_list359.size); + SQLPrimaryKey _elem360; + for (int _i361 = 0; _i361 < _list359.size; ++_i361) { - _elem370 = new SQLPrimaryKey(); - _elem370.read(iprot); - struct.primaryKeyCols.add(_elem370); + _elem360 = new SQLPrimaryKey(); + _elem360.read(iprot); + struct.primaryKeyCols.add(_elem360); } } struct.setPrimaryKeyColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java index b58f39f7b0..df4f54465c 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddUniqueConstraintRequest.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddUniqueConstraint case 1: // UNIQUE_CONSTRAINT_COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list380 = iprot.readListBegin(); - struct.uniqueConstraintCols = new ArrayList(_list380.size); - SQLUniqueConstraint _elem381; - for (int _i382 = 0; _i382 < _list380.size; ++_i382) + org.apache.thrift.protocol.TList _list370 = iprot.readListBegin(); + struct.uniqueConstraintCols = new ArrayList(_list370.size); + SQLUniqueConstraint _elem371; + for (int _i372 = 0; _i372 < _list370.size; ++_i372) { - _elem381 = new SQLUniqueConstraint(); - _elem381.read(iprot); - struct.uniqueConstraintCols.add(_elem381); + _elem371 = new SQLUniqueConstraint(); + _elem371.read(iprot); + struct.uniqueConstraintCols.add(_elem371); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AddUniqueConstrain oprot.writeFieldBegin(UNIQUE_CONSTRAINT_COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraintCols.size())); - for (SQLUniqueConstraint _iter383 : struct.uniqueConstraintCols) + for (SQLUniqueConstraint _iter373 : struct.uniqueConstraintCols) { - _iter383.write(oprot); + _iter373.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddUniqueConstraint TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.uniqueConstraintCols.size()); - for (SQLUniqueConstraint _iter384 : struct.uniqueConstraintCols) + for (SQLUniqueConstraint _iter374 : struct.uniqueConstraintCols) { - _iter384.write(oprot); + _iter374.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddUniqueConstraint public void read(org.apache.thrift.protocol.TProtocol prot, AddUniqueConstraintRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list385 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraintCols = new ArrayList(_list385.size); - SQLUniqueConstraint _elem386; - for (int _i387 = 0; _i387 < _list385.size; ++_i387) + org.apache.thrift.protocol.TList _list375 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraintCols = new ArrayList(_list375.size); + SQLUniqueConstraint _elem376; + for (int _i377 = 0; _i377 < _list375.size; ++_i377) { - _elem386 = new SQLUniqueConstraint(); - _elem386.read(iprot); - struct.uniqueConstraintCols.add(_elem386); + _elem376 = new SQLUniqueConstraint(); + _elem376.read(iprot); + struct.uniqueConstraintCols.add(_elem376); } } struct.setUniqueConstraintColsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java index 54ef01f3ce..c38c8c6eb6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AggrStats.java +++ b/standalone-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 _list288 = iprot.readListBegin(); - struct.colStats = new ArrayList(_list288.size); - ColumnStatisticsObj _elem289; - for (int _i290 = 0; _i290 < _list288.size; ++_i290) + org.apache.thrift.protocol.TList _list278 = iprot.readListBegin(); + struct.colStats = new ArrayList(_list278.size); + ColumnStatisticsObj _elem279; + for (int _i280 = 0; _i280 < _list278.size; ++_i280) { - _elem289 = new ColumnStatisticsObj(); - _elem289.read(iprot); - struct.colStats.add(_elem289); + _elem279 = new ColumnStatisticsObj(); + _elem279.read(iprot); + struct.colStats.add(_elem279); } 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 _iter291 : struct.colStats) + for (ColumnStatisticsObj _iter281 : struct.colStats) { - _iter291.write(oprot); + _iter281.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 _iter292 : struct.colStats) + for (ColumnStatisticsObj _iter282 : struct.colStats) { - _iter292.write(oprot); + _iter282.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 _list293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.colStats = new ArrayList(_list293.size); - ColumnStatisticsObj _elem294; - for (int _i295 = 0; _i295 < _list293.size; ++_i295) + 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) { - _elem294 = new ColumnStatisticsObj(); - _elem294.read(iprot); - struct.colStats.add(_elem294); + _elem284 = new ColumnStatisticsObj(); + _elem284.read(iprot); + struct.colStats.add(_elem284); } } struct.setColStatsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BasicTxnInfo.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BasicTxnInfo.java index f695e5d9bd..da37d03e98 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BasicTxnInfo.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/BasicTxnInfo.java @@ -39,12 +39,11 @@ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("BasicTxnInfo"); private static final org.apache.thrift.protocol.TField ISNULL_FIELD_DESC = new org.apache.thrift.protocol.TField("isnull", org.apache.thrift.protocol.TType.BOOL, (short)1); - private static final org.apache.thrift.protocol.TField ID_FIELD_DESC = new org.apache.thrift.protocol.TField("id", org.apache.thrift.protocol.TType.I64, (short)2); - private static final org.apache.thrift.protocol.TField TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("time", org.apache.thrift.protocol.TType.I64, (short)3); - private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)4); - private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)5); - private static final org.apache.thrift.protocol.TField TABLENAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tablename", org.apache.thrift.protocol.TType.STRING, (short)6); - private static final org.apache.thrift.protocol.TField PARTITIONNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("partitionname", org.apache.thrift.protocol.TType.STRING, (short)7); + private static final org.apache.thrift.protocol.TField TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("time", org.apache.thrift.protocol.TType.I64, (short)2); + private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)3); + private static final org.apache.thrift.protocol.TField DBNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbname", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField TABLENAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tablename", org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.thrift.protocol.TField PARTITIONNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("partitionname", org.apache.thrift.protocol.TType.STRING, (short)6); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -53,7 +52,6 @@ } private boolean isnull; // required - private long id; // optional private long time; // optional private long txnid; // optional private String dbname; // optional @@ -63,12 +61,11 @@ /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { ISNULL((short)1, "isnull"), - ID((short)2, "id"), - TIME((short)3, "time"), - TXNID((short)4, "txnid"), - DBNAME((short)5, "dbname"), - TABLENAME((short)6, "tablename"), - PARTITIONNAME((short)7, "partitionname"); + TIME((short)2, "time"), + TXNID((short)3, "txnid"), + DBNAME((short)4, "dbname"), + TABLENAME((short)5, "tablename"), + PARTITIONNAME((short)6, "partitionname"); private static final Map byName = new HashMap(); @@ -85,17 +82,15 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // ISNULL return ISNULL; - case 2: // ID - return ID; - case 3: // TIME + case 2: // TIME return TIME; - case 4: // TXNID + case 3: // TXNID return TXNID; - case 5: // DBNAME + case 4: // DBNAME return DBNAME; - case 6: // TABLENAME + case 5: // TABLENAME return TABLENAME; - case 7: // PARTITIONNAME + case 6: // PARTITIONNAME return PARTITIONNAME; default: return null; @@ -138,18 +133,15 @@ public String getFieldName() { // isset id assignments private static final int __ISNULL_ISSET_ID = 0; - private static final int __ID_ISSET_ID = 1; - private static final int __TIME_ISSET_ID = 2; - private static final int __TXNID_ISSET_ID = 3; + private static final int __TIME_ISSET_ID = 1; + private static final int __TXNID_ISSET_ID = 2; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.ID,_Fields.TIME,_Fields.TXNID,_Fields.DBNAME,_Fields.TABLENAME,_Fields.PARTITIONNAME}; + private static final _Fields optionals[] = {_Fields.TIME,_Fields.TXNID,_Fields.DBNAME,_Fields.TABLENAME,_Fields.PARTITIONNAME}; public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.ISNULL, new org.apache.thrift.meta_data.FieldMetaData("isnull", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); - tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.TIME, new org.apache.thrift.meta_data.FieldMetaData("time", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); tmpMap.put(_Fields.TXNID, new org.apache.thrift.meta_data.FieldMetaData("txnid", org.apache.thrift.TFieldRequirementType.OPTIONAL, @@ -181,7 +173,6 @@ public BasicTxnInfo( public BasicTxnInfo(BasicTxnInfo other) { __isset_bitfield = other.__isset_bitfield; this.isnull = other.isnull; - this.id = other.id; this.time = other.time; this.txnid = other.txnid; if (other.isSetDbname()) { @@ -203,8 +194,6 @@ public BasicTxnInfo deepCopy() { public void clear() { setIsnullIsSet(false); this.isnull = false; - setIdIsSet(false); - this.id = 0; setTimeIsSet(false); this.time = 0; setTxnidIsSet(false); @@ -236,28 +225,6 @@ public void setIsnullIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ISNULL_ISSET_ID, value); } - public long getId() { - return this.id; - } - - public void setId(long id) { - this.id = id; - setIdIsSet(true); - } - - public void unsetId() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __ID_ISSET_ID); - } - - /** Returns true if field id is set (has been assigned a value) and false otherwise */ - public boolean isSetId() { - return EncodingUtils.testBit(__isset_bitfield, __ID_ISSET_ID); - } - - public void setIdIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __ID_ISSET_ID, value); - } - public long getTime() { return this.time; } @@ -381,14 +348,6 @@ public void setFieldValue(_Fields field, Object value) { } break; - case ID: - if (value == null) { - unsetId(); - } else { - setId((Long)value); - } - break; - case TIME: if (value == null) { unsetTime(); @@ -437,9 +396,6 @@ public Object getFieldValue(_Fields field) { case ISNULL: return isIsnull(); - case ID: - return getId(); - case TIME: return getTime(); @@ -468,8 +424,6 @@ public boolean isSet(_Fields field) { switch (field) { case ISNULL: return isSetIsnull(); - case ID: - return isSetId(); case TIME: return isSetTime(); case TXNID: @@ -506,15 +460,6 @@ public boolean equals(BasicTxnInfo that) { return false; } - boolean this_present_id = true && this.isSetId(); - boolean that_present_id = true && that.isSetId(); - if (this_present_id || that_present_id) { - if (!(this_present_id && that_present_id)) - return false; - if (this.id != that.id) - return false; - } - boolean this_present_time = true && this.isSetTime(); boolean that_present_time = true && that.isSetTime(); if (this_present_time || that_present_time) { @@ -572,11 +517,6 @@ public int hashCode() { if (present_isnull) list.add(isnull); - boolean present_id = true && (isSetId()); - list.add(present_id); - if (present_id) - list.add(id); - boolean present_time = true && (isSetTime()); list.add(present_time); if (present_time) @@ -623,16 +563,6 @@ public int compareTo(BasicTxnInfo other) { return lastComparison; } } - lastComparison = Boolean.valueOf(isSetId()).compareTo(other.isSetId()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetId()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.id, other.id); - if (lastComparison != 0) { - return lastComparison; - } - } lastComparison = Boolean.valueOf(isSetTime()).compareTo(other.isSetTime()); if (lastComparison != 0) { return lastComparison; @@ -706,12 +636,6 @@ public String toString() { sb.append("isnull:"); sb.append(this.isnull); first = false; - if (isSetId()) { - if (!first) sb.append(", "); - sb.append("id:"); - sb.append(this.id); - first = false; - } if (isSetTime()) { if (!first) sb.append(", "); sb.append("time:"); @@ -811,15 +735,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, BasicTxnInfo struct org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 2: // ID - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.id = iprot.readI64(); - struct.setIdIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TIME + case 2: // TIME if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.time = iprot.readI64(); struct.setTimeIsSet(true); @@ -827,7 +743,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, BasicTxnInfo struct org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 4: // TXNID + case 3: // TXNID if (schemeField.type == org.apache.thrift.protocol.TType.I64) { struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); @@ -835,7 +751,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, BasicTxnInfo struct org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 5: // DBNAME + case 4: // DBNAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.dbname = iprot.readString(); struct.setDbnameIsSet(true); @@ -843,7 +759,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, BasicTxnInfo struct org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 6: // TABLENAME + case 5: // TABLENAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); @@ -851,7 +767,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, BasicTxnInfo struct org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; - case 7: // PARTITIONNAME + case 6: // PARTITIONNAME if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { struct.partitionname = iprot.readString(); struct.setPartitionnameIsSet(true); @@ -875,11 +791,6 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, BasicTxnInfo struc oprot.writeFieldBegin(ISNULL_FIELD_DESC); oprot.writeBool(struct.isnull); oprot.writeFieldEnd(); - if (struct.isSetId()) { - oprot.writeFieldBegin(ID_FIELD_DESC); - oprot.writeI64(struct.id); - oprot.writeFieldEnd(); - } if (struct.isSetTime()) { oprot.writeFieldBegin(TIME_FIELD_DESC); oprot.writeI64(struct.time); @@ -930,28 +841,22 @@ public void write(org.apache.thrift.protocol.TProtocol prot, BasicTxnInfo struct TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeBool(struct.isnull); BitSet optionals = new BitSet(); - if (struct.isSetId()) { - optionals.set(0); - } if (struct.isSetTime()) { - optionals.set(1); + optionals.set(0); } if (struct.isSetTxnid()) { - optionals.set(2); + optionals.set(1); } if (struct.isSetDbname()) { - optionals.set(3); + optionals.set(2); } if (struct.isSetTablename()) { - optionals.set(4); + optionals.set(3); } if (struct.isSetPartitionname()) { - optionals.set(5); - } - oprot.writeBitSet(optionals, 6); - if (struct.isSetId()) { - oprot.writeI64(struct.id); + optionals.set(4); } + oprot.writeBitSet(optionals, 5); if (struct.isSetTime()) { oprot.writeI64(struct.time); } @@ -974,28 +879,24 @@ public void read(org.apache.thrift.protocol.TProtocol prot, BasicTxnInfo struct) TTupleProtocol iprot = (TTupleProtocol) prot; struct.isnull = iprot.readBool(); struct.setIsnullIsSet(true); - BitSet incoming = iprot.readBitSet(6); + BitSet incoming = iprot.readBitSet(5); if (incoming.get(0)) { - struct.id = iprot.readI64(); - struct.setIdIsSet(true); - } - if (incoming.get(1)) { struct.time = iprot.readI64(); struct.setTimeIsSet(true); } - if (incoming.get(2)) { + if (incoming.get(1)) { struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); } - if (incoming.get(3)) { + if (incoming.get(2)) { struct.dbname = iprot.readString(); struct.setDbnameIsSet(true); } - if (incoming.get(4)) { + if (incoming.get(3)) { struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); } - if (incoming.get(5)) { + if (incoming.get(4)) { struct.partitionname = iprot.readString(); struct.setPartitionnameIsSet(true); } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java index dbda2ab741..16e85cf25d 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClearFileMetadataRequest.java +++ b/standalone-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 _list716 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list716.size); - long _elem717; - for (int _i718 = 0; _i718 < _list716.size; ++_i718) + org.apache.thrift.protocol.TList _list706 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list706.size); + long _elem707; + for (int _i708 = 0; _i708 < _list706.size; ++_i708) { - _elem717 = iprot.readI64(); - struct.fileIds.add(_elem717); + _elem707 = iprot.readI64(); + struct.fileIds.add(_elem707); } 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 _iter719 : struct.fileIds) + for (long _iter709 : struct.fileIds) { - oprot.writeI64(_iter719); + oprot.writeI64(_iter709); } 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 _iter720 : struct.fileIds) + for (long _iter710 : struct.fileIds) { - oprot.writeI64(_iter720); + oprot.writeI64(_iter710); } } } @@ -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 _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list721.size); - long _elem722; - for (int _i723 = 0; _i723 < _list721.size; ++_i723) + org.apache.thrift.protocol.TList _list711 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list711.size); + long _elem712; + for (int _i713 = 0; _i713 < _list711.size; ++_i713) { - _elem722 = iprot.readI64(); - struct.fileIds.add(_elem722); + _elem712 = iprot.readI64(); + struct.fileIds.add(_elem712); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java index 0df33f1c8b..816b61b899 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java @@ -354,13 +354,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ClientCapabilities case 1: // VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list732 = iprot.readListBegin(); - struct.values = new ArrayList(_list732.size); - ClientCapability _elem733; - for (int _i734 = 0; _i734 < _list732.size; ++_i734) + org.apache.thrift.protocol.TList _list722 = iprot.readListBegin(); + struct.values = new ArrayList(_list722.size); + ClientCapability _elem723; + for (int _i724 = 0; _i724 < _list722.size; ++_i724) { - _elem733 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem733); + _elem723 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem723); } iprot.readListEnd(); } @@ -386,9 +386,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ClientCapabilities oprot.writeFieldBegin(VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, struct.values.size())); - for (ClientCapability _iter735 : struct.values) + for (ClientCapability _iter725 : struct.values) { - oprot.writeI32(_iter735.getValue()); + oprot.writeI32(_iter725.getValue()); } oprot.writeListEnd(); } @@ -413,9 +413,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.values.size()); - for (ClientCapability _iter736 : struct.values) + for (ClientCapability _iter726 : struct.values) { - oprot.writeI32(_iter736.getValue()); + oprot.writeI32(_iter726.getValue()); } } } @@ -424,13 +424,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities public void read(org.apache.thrift.protocol.TProtocol prot, ClientCapabilities struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list737.size); - ClientCapability _elem738; - for (int _i739 = 0; _i739 < _list737.size; ++_i739) + org.apache.thrift.protocol.TList _list727 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.values = new ArrayList(_list727.size); + ClientCapability _elem728; + for (int _i729 = 0; _i729 < _list727.size; ++_i729) { - _elem738 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem738); + _elem728 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem728); } } struct.setValuesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java index 962bb1cc17..765889e5b9 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ColumnStatistics.java +++ b/standalone-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 _list280 = iprot.readListBegin(); - struct.statsObj = new ArrayList(_list280.size); - ColumnStatisticsObj _elem281; - for (int _i282 = 0; _i282 < _list280.size; ++_i282) + org.apache.thrift.protocol.TList _list270 = iprot.readListBegin(); + struct.statsObj = new ArrayList(_list270.size); + ColumnStatisticsObj _elem271; + for (int _i272 = 0; _i272 < _list270.size; ++_i272) { - _elem281 = new ColumnStatisticsObj(); - _elem281.read(iprot); - struct.statsObj.add(_elem281); + _elem271 = new ColumnStatisticsObj(); + _elem271.read(iprot); + struct.statsObj.add(_elem271); } 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 _iter283 : struct.statsObj) + for (ColumnStatisticsObj _iter273 : struct.statsObj) { - _iter283.write(oprot); + _iter273.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 _iter284 : struct.statsObj) + for (ColumnStatisticsObj _iter274 : struct.statsObj) { - _iter284.write(oprot); + _iter274.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 _list285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.statsObj = new ArrayList(_list285.size); - ColumnStatisticsObj _elem286; - for (int _i287 = 0; _i287 < _list285.size; ++_i287) + 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) { - _elem286 = new ColumnStatisticsObj(); - _elem286.read(iprot); - struct.statsObj.add(_elem286); + _elem276 = new ColumnStatisticsObj(); + _elem276.read(iprot); + struct.statsObj.add(_elem276); } } struct.setStatsObjIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java index b92293e6a7..6da2b88e40 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CompactionRequest.java @@ -814,15 +814,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CompactionRequest s case 6: // PROPERTIES if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map598 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map598.size); - String _key599; - String _val600; - for (int _i601 = 0; _i601 < _map598.size; ++_i601) + org.apache.thrift.protocol.TMap _map588 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map588.size); + String _key589; + String _val590; + for (int _i591 = 0; _i591 < _map588.size; ++_i591) { - _key599 = iprot.readString(); - _val600 = iprot.readString(); - struct.properties.put(_key599, _val600); + _key589 = iprot.readString(); + _val590 = iprot.readString(); + struct.properties.put(_key589, _val590); } iprot.readMapEnd(); } @@ -878,10 +878,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CompactionRequest 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 _iter602 : struct.properties.entrySet()) + for (Map.Entry _iter592 : struct.properties.entrySet()) { - oprot.writeString(_iter602.getKey()); - oprot.writeString(_iter602.getValue()); + oprot.writeString(_iter592.getKey()); + oprot.writeString(_iter592.getValue()); } oprot.writeMapEnd(); } @@ -928,10 +928,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CompactionRequest s if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter603 : struct.properties.entrySet()) + for (Map.Entry _iter593 : struct.properties.entrySet()) { - oprot.writeString(_iter603.getKey()); - oprot.writeString(_iter603.getValue()); + oprot.writeString(_iter593.getKey()); + oprot.writeString(_iter593.getValue()); } } } @@ -957,15 +957,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CompactionRequest st } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map604 = 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*_map604.size); - String _key605; - String _val606; - for (int _i607 = 0; _i607 < _map604.size; ++_i607) + org.apache.thrift.protocol.TMap _map594 = 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*_map594.size); + String _key595; + String _val596; + for (int _i597 = 0; _i597 < _map594.size; ++_i597) { - _key605 = iprot.readString(); - _val606 = iprot.readString(); - struct.properties.put(_key605, _val606); + _key595 = iprot.readString(); + _val596 = iprot.readString(); + struct.properties.put(_key595, _val596); } } struct.setPropertiesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java new file mode 100644 index 0000000000..74cfce65a3 --- /dev/null +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CreationMetadata.java @@ -0,0 +1,750 @@ +/** + * Autogenerated by Thrift Compiler (0.9.3) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; + +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import javax.annotation.Generated; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)") +@org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public class CreationMetadata implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { + private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CreationMetadata"); + + private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField TBL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("tblName", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField TABLES_USED_FIELD_DESC = new org.apache.thrift.protocol.TField("tablesUsed", org.apache.thrift.protocol.TType.SET, (short)3); + private static final org.apache.thrift.protocol.TField VALID_TXN_LIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validTxnList", org.apache.thrift.protocol.TType.STRING, (short)4); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new CreationMetadataStandardSchemeFactory()); + schemes.put(TupleScheme.class, new CreationMetadataTupleSchemeFactory()); + } + + private String dbName; // required + private String tblName; // required + private Set tablesUsed; // required + private String validTxnList; // optional + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { + DB_NAME((short)1, "dbName"), + TBL_NAME((short)2, "tblName"), + TABLES_USED((short)3, "tablesUsed"), + VALID_TXN_LIST((short)4, "validTxnList"); + + private static final Map byName = new HashMap(); + + static { + for (_Fields field : EnumSet.allOf(_Fields.class)) { + byName.put(field.getFieldName(), field); + } + } + + /** + * Find the _Fields constant that matches fieldId, or null if its not found. + */ + public static _Fields findByThriftId(int fieldId) { + switch(fieldId) { + case 1: // DB_NAME + return DB_NAME; + case 2: // TBL_NAME + return TBL_NAME; + case 3: // TABLES_USED + return TABLES_USED; + case 4: // VALID_TXN_LIST + return VALID_TXN_LIST; + default: + return null; + } + } + + /** + * Find the _Fields constant that matches fieldId, throwing an exception + * if it is not found. + */ + public static _Fields findByThriftIdOrThrow(int fieldId) { + _Fields fields = findByThriftId(fieldId); + if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); + return fields; + } + + /** + * Find the _Fields constant that matches name, or null if its not found. + */ + public static _Fields findByName(String name) { + return byName.get(name); + } + + private final short _thriftId; + private final String _fieldName; + + _Fields(short thriftId, String fieldName) { + _thriftId = thriftId; + _fieldName = fieldName; + } + + public short getThriftFieldId() { + return _thriftId; + } + + public String getFieldName() { + return _fieldName; + } + } + + // isset id assignments + private static final _Fields optionals[] = {_Fields.VALID_TXN_LIST}; + public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; + static { + Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); + tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("dbName", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TBL_NAME, new org.apache.thrift.meta_data.FieldMetaData("tblName", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.TABLES_USED, new org.apache.thrift.meta_data.FieldMetaData("tablesUsed", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.SetMetaData(org.apache.thrift.protocol.TType.SET, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + tmpMap.put(_Fields.VALID_TXN_LIST, new org.apache.thrift.meta_data.FieldMetaData("validTxnList", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CreationMetadata.class, metaDataMap); + } + + public CreationMetadata() { + } + + public CreationMetadata( + String dbName, + String tblName, + Set tablesUsed) + { + this(); + this.dbName = dbName; + this.tblName = tblName; + this.tablesUsed = tablesUsed; + } + + /** + * Performs a deep copy on other. + */ + public CreationMetadata(CreationMetadata other) { + if (other.isSetDbName()) { + this.dbName = other.dbName; + } + if (other.isSetTblName()) { + this.tblName = other.tblName; + } + if (other.isSetTablesUsed()) { + Set __this__tablesUsed = new HashSet(other.tablesUsed); + this.tablesUsed = __this__tablesUsed; + } + if (other.isSetValidTxnList()) { + this.validTxnList = other.validTxnList; + } + } + + public CreationMetadata deepCopy() { + return new CreationMetadata(this); + } + + @Override + public void clear() { + this.dbName = null; + this.tblName = null; + this.tablesUsed = null; + this.validTxnList = null; + } + + public String getDbName() { + return this.dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + public void unsetDbName() { + this.dbName = null; + } + + /** Returns true if field dbName is set (has been assigned a value) and false otherwise */ + public boolean isSetDbName() { + return this.dbName != null; + } + + public void setDbNameIsSet(boolean value) { + if (!value) { + this.dbName = null; + } + } + + public String getTblName() { + return this.tblName; + } + + public void setTblName(String tblName) { + this.tblName = tblName; + } + + public void unsetTblName() { + this.tblName = null; + } + + /** Returns true if field tblName is set (has been assigned a value) and false otherwise */ + public boolean isSetTblName() { + return this.tblName != null; + } + + public void setTblNameIsSet(boolean value) { + if (!value) { + this.tblName = null; + } + } + + public int getTablesUsedSize() { + return (this.tablesUsed == null) ? 0 : this.tablesUsed.size(); + } + + public java.util.Iterator getTablesUsedIterator() { + return (this.tablesUsed == null) ? null : this.tablesUsed.iterator(); + } + + public void addToTablesUsed(String elem) { + if (this.tablesUsed == null) { + this.tablesUsed = new HashSet(); + } + this.tablesUsed.add(elem); + } + + public Set getTablesUsed() { + return this.tablesUsed; + } + + public void setTablesUsed(Set tablesUsed) { + this.tablesUsed = tablesUsed; + } + + public void unsetTablesUsed() { + this.tablesUsed = null; + } + + /** Returns true if field tablesUsed is set (has been assigned a value) and false otherwise */ + public boolean isSetTablesUsed() { + return this.tablesUsed != null; + } + + public void setTablesUsedIsSet(boolean value) { + if (!value) { + this.tablesUsed = null; + } + } + + public String getValidTxnList() { + return this.validTxnList; + } + + public void setValidTxnList(String validTxnList) { + this.validTxnList = validTxnList; + } + + public void unsetValidTxnList() { + this.validTxnList = null; + } + + /** Returns true if field validTxnList is set (has been assigned a value) and false otherwise */ + public boolean isSetValidTxnList() { + return this.validTxnList != null; + } + + public void setValidTxnListIsSet(boolean value) { + if (!value) { + this.validTxnList = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case DB_NAME: + if (value == null) { + unsetDbName(); + } else { + setDbName((String)value); + } + break; + + case TBL_NAME: + if (value == null) { + unsetTblName(); + } else { + setTblName((String)value); + } + break; + + case TABLES_USED: + if (value == null) { + unsetTablesUsed(); + } else { + setTablesUsed((Set)value); + } + break; + + case VALID_TXN_LIST: + if (value == null) { + unsetValidTxnList(); + } else { + setValidTxnList((String)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case DB_NAME: + return getDbName(); + + case TBL_NAME: + return getTblName(); + + case TABLES_USED: + return getTablesUsed(); + + case VALID_TXN_LIST: + return getValidTxnList(); + + } + throw new IllegalStateException(); + } + + /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ + public boolean isSet(_Fields field) { + if (field == null) { + throw new IllegalArgumentException(); + } + + switch (field) { + case DB_NAME: + return isSetDbName(); + case TBL_NAME: + return isSetTblName(); + case TABLES_USED: + return isSetTablesUsed(); + case VALID_TXN_LIST: + return isSetValidTxnList(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof CreationMetadata) + return this.equals((CreationMetadata)that); + return false; + } + + public boolean equals(CreationMetadata that) { + if (that == null) + return false; + + boolean this_present_dbName = true && this.isSetDbName(); + boolean that_present_dbName = true && that.isSetDbName(); + if (this_present_dbName || that_present_dbName) { + if (!(this_present_dbName && that_present_dbName)) + return false; + if (!this.dbName.equals(that.dbName)) + return false; + } + + boolean this_present_tblName = true && this.isSetTblName(); + boolean that_present_tblName = true && that.isSetTblName(); + if (this_present_tblName || that_present_tblName) { + if (!(this_present_tblName && that_present_tblName)) + return false; + if (!this.tblName.equals(that.tblName)) + return false; + } + + boolean this_present_tablesUsed = true && this.isSetTablesUsed(); + boolean that_present_tablesUsed = true && that.isSetTablesUsed(); + if (this_present_tablesUsed || that_present_tablesUsed) { + if (!(this_present_tablesUsed && that_present_tablesUsed)) + return false; + if (!this.tablesUsed.equals(that.tablesUsed)) + return false; + } + + boolean this_present_validTxnList = true && this.isSetValidTxnList(); + boolean that_present_validTxnList = true && that.isSetValidTxnList(); + if (this_present_validTxnList || that_present_validTxnList) { + if (!(this_present_validTxnList && that_present_validTxnList)) + return false; + if (!this.validTxnList.equals(that.validTxnList)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_dbName = true && (isSetDbName()); + list.add(present_dbName); + if (present_dbName) + list.add(dbName); + + boolean present_tblName = true && (isSetTblName()); + list.add(present_tblName); + if (present_tblName) + list.add(tblName); + + boolean present_tablesUsed = true && (isSetTablesUsed()); + list.add(present_tablesUsed); + if (present_tablesUsed) + list.add(tablesUsed); + + boolean present_validTxnList = true && (isSetValidTxnList()); + list.add(present_validTxnList); + if (present_validTxnList) + list.add(validTxnList); + + return list.hashCode(); + } + + @Override + public int compareTo(CreationMetadata other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetDbName()).compareTo(other.isSetDbName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetDbName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.dbName, other.dbName); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTblName()).compareTo(other.isSetTblName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTblName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tblName, other.tblName); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetTablesUsed()).compareTo(other.isSetTablesUsed()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTablesUsed()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tablesUsed, other.tablesUsed); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetValidTxnList()).compareTo(other.isSetValidTxnList()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetValidTxnList()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validTxnList, other.validTxnList); + if (lastComparison != 0) { + return lastComparison; + } + } + return 0; + } + + public _Fields fieldForId(int fieldId) { + return _Fields.findByThriftId(fieldId); + } + + public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { + schemes.get(iprot.getScheme()).getScheme().read(iprot, this); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { + schemes.get(oprot.getScheme()).getScheme().write(oprot, this); + } + + @Override + public String toString() { + StringBuilder sb = new StringBuilder("CreationMetadata("); + boolean first = true; + + sb.append("dbName:"); + if (this.dbName == null) { + sb.append("null"); + } else { + sb.append(this.dbName); + } + first = false; + if (!first) sb.append(", "); + sb.append("tblName:"); + if (this.tblName == null) { + sb.append("null"); + } else { + sb.append(this.tblName); + } + first = false; + if (!first) sb.append(", "); + sb.append("tablesUsed:"); + if (this.tablesUsed == null) { + sb.append("null"); + } else { + sb.append(this.tablesUsed); + } + first = false; + if (isSetValidTxnList()) { + if (!first) sb.append(", "); + sb.append("validTxnList:"); + if (this.validTxnList == null) { + sb.append("null"); + } else { + sb.append(this.validTxnList); + } + first = false; + } + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetDbName()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbName' is unset! Struct:" + toString()); + } + + if (!isSetTblName()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'tblName' is unset! Struct:" + toString()); + } + + if (!isSetTablesUsed()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'tablesUsed' is unset! Struct:" + toString()); + } + + // check for sub-struct validity + } + + private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { + try { + write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { + try { + read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); + } catch (org.apache.thrift.TException te) { + throw new java.io.IOException(te); + } + } + + private static class CreationMetadataStandardSchemeFactory implements SchemeFactory { + public CreationMetadataStandardScheme getScheme() { + return new CreationMetadataStandardScheme(); + } + } + + private static class CreationMetadataStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, CreationMetadata struct) throws org.apache.thrift.TException { + org.apache.thrift.protocol.TField schemeField; + iprot.readStructBegin(); + while (true) + { + schemeField = iprot.readFieldBegin(); + if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { + break; + } + switch (schemeField.id) { + case 1: // DB_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.dbName = iprot.readString(); + struct.setDbNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // TBL_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tblName = iprot.readString(); + struct.setTblNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // TABLES_USED + if (schemeField.type == org.apache.thrift.protocol.TType.SET) { + { + org.apache.thrift.protocol.TSet _set614 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set614.size); + String _elem615; + for (int _i616 = 0; _i616 < _set614.size; ++_i616) + { + _elem615 = iprot.readString(); + struct.tablesUsed.add(_elem615); + } + iprot.readSetEnd(); + } + struct.setTablesUsedIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // VALID_TXN_LIST + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.validTxnList = iprot.readString(); + struct.setValidTxnListIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + default: + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + iprot.readFieldEnd(); + } + iprot.readStructEnd(); + struct.validate(); + } + + public void write(org.apache.thrift.protocol.TProtocol oprot, CreationMetadata struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.dbName != null) { + oprot.writeFieldBegin(DB_NAME_FIELD_DESC); + oprot.writeString(struct.dbName); + oprot.writeFieldEnd(); + } + if (struct.tblName != null) { + oprot.writeFieldBegin(TBL_NAME_FIELD_DESC); + oprot.writeString(struct.tblName); + oprot.writeFieldEnd(); + } + if (struct.tablesUsed != null) { + oprot.writeFieldBegin(TABLES_USED_FIELD_DESC); + { + oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.tablesUsed.size())); + for (String _iter617 : struct.tablesUsed) + { + oprot.writeString(_iter617); + } + oprot.writeSetEnd(); + } + oprot.writeFieldEnd(); + } + if (struct.validTxnList != null) { + if (struct.isSetValidTxnList()) { + oprot.writeFieldBegin(VALID_TXN_LIST_FIELD_DESC); + oprot.writeString(struct.validTxnList); + oprot.writeFieldEnd(); + } + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class CreationMetadataTupleSchemeFactory implements SchemeFactory { + public CreationMetadataTupleScheme getScheme() { + return new CreationMetadataTupleScheme(); + } + } + + private static class CreationMetadataTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + oprot.writeString(struct.dbName); + oprot.writeString(struct.tblName); + { + oprot.writeI32(struct.tablesUsed.size()); + for (String _iter618 : struct.tablesUsed) + { + oprot.writeString(_iter618); + } + } + BitSet optionals = new BitSet(); + if (struct.isSetValidTxnList()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetValidTxnList()) { + oprot.writeString(struct.validTxnList); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, CreationMetadata struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + struct.dbName = iprot.readString(); + struct.setDbNameIsSet(true); + struct.tblName = iprot.readString(); + struct.setTblNameIsSet(true); + { + org.apache.thrift.protocol.TSet _set619 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set619.size); + String _elem620; + for (int _i621 = 0; _i621 < _set619.size; ++_i621) + { + _elem620 = iprot.readString(); + struct.tablesUsed.add(_elem620); + } + } + struct.setTablesUsedIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.validTxnList = iprot.readString(); + struct.setValidTxnListIsSet(true); + } + } + } + +} + diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java index 83ff494ce4..b9dc04a317 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/DropPartitionsResult.java +++ b/standalone-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 _list470 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list470.size); - Partition _elem471; - for (int _i472 = 0; _i472 < _list470.size; ++_i472) + org.apache.thrift.protocol.TList _list460 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list460.size); + Partition _elem461; + for (int _i462 = 0; _i462 < _list460.size; ++_i462) { - _elem471 = new Partition(); - _elem471.read(iprot); - struct.partitions.add(_elem471); + _elem461 = new Partition(); + _elem461.read(iprot); + struct.partitions.add(_elem461); } 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 _iter473 : struct.partitions) + for (Partition _iter463 : struct.partitions) { - _iter473.write(oprot); + _iter463.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 _iter474 : struct.partitions) + for (Partition _iter464 : struct.partitions) { - _iter474.write(oprot); + _iter464.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 _list475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list475.size); - Partition _elem476; - for (int _i477 = 0; _i477 < _list475.size; ++_i477) + org.apache.thrift.protocol.TList _list465 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list465.size); + Partition _elem466; + for (int _i467 = 0; _i467 < _list465.size; ++_i467) { - _elem476 = new Partition(); - _elem476.read(iprot); - struct.partitions.add(_elem476); + _elem466 = new Partition(); + _elem466.read(iprot); + struct.partitions.add(_elem466); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java index d7c4febc87..6829cfeec4 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/EnvironmentContext.java +++ b/standalone-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 _map322 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map322.size); - String _key323; - String _val324; - for (int _i325 = 0; _i325 < _map322.size; ++_i325) + 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) { - _key323 = iprot.readString(); - _val324 = iprot.readString(); - struct.properties.put(_key323, _val324); + _key313 = iprot.readString(); + _val314 = iprot.readString(); + struct.properties.put(_key313, _val314); } 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 _iter326 : struct.properties.entrySet()) + for (Map.Entry _iter316 : struct.properties.entrySet()) { - oprot.writeString(_iter326.getKey()); - oprot.writeString(_iter326.getValue()); + oprot.writeString(_iter316.getKey()); + oprot.writeString(_iter316.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 _iter327 : struct.properties.entrySet()) + for (Map.Entry _iter317 : struct.properties.entrySet()) { - oprot.writeString(_iter327.getKey()); - oprot.writeString(_iter327.getValue()); + oprot.writeString(_iter317.getKey()); + oprot.writeString(_iter317.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 _map328 = 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*_map328.size); - String _key329; - String _val330; - for (int _i331 = 0; _i331 < _map328.size; ++_i331) + 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) { - _key329 = iprot.readString(); - _val330 = iprot.readString(); - struct.properties.put(_key329, _val330); + _key319 = iprot.readString(); + _val320 = iprot.readString(); + struct.properties.put(_key319, _val320); } } struct.setPropertiesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java index 4efec9d7b9..7cc201b64f 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ b/standalone-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 _list656 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list656.size); - String _elem657; - for (int _i658 = 0; _i658 < _list656.size; ++_i658) + org.apache.thrift.protocol.TList _list646 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list646.size); + String _elem647; + for (int _i648 = 0; _i648 < _list646.size; ++_i648) { - _elem657 = iprot.readString(); - struct.partitionVals.add(_elem657); + _elem647 = iprot.readString(); + struct.partitionVals.add(_elem647); } 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 _iter659 : struct.partitionVals) + for (String _iter649 : struct.partitionVals) { - oprot.writeString(_iter659); + oprot.writeString(_iter649); } 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 _iter660 : struct.partitionVals) + for (String _iter650 : struct.partitionVals) { - oprot.writeString(_iter660); + oprot.writeString(_iter650); } } } @@ -843,13 +843,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list661 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list661.size); - String _elem662; - for (int _i663 = 0; _i663 < _list661.size; ++_i663) + org.apache.thrift.protocol.TList _list651 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list651.size); + String _elem652; + for (int _i653 = 0; _i653 < _list651.size; ++_i653) { - _elem662 = iprot.readString(); - struct.partitionVals.add(_elem662); + _elem652 = iprot.readString(); + struct.partitionVals.add(_elem652); } } struct.setPartitionValsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java index 2b921c5081..75b2404e5a 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ForeignKeysResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, ForeignKeysResponse case 1: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list340 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list340.size); - SQLForeignKey _elem341; - for (int _i342 = 0; _i342 < _list340.size; ++_i342) + org.apache.thrift.protocol.TList _list330 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list330.size); + SQLForeignKey _elem331; + for (int _i332 = 0; _i332 < _list330.size; ++_i332) { - _elem341 = new SQLForeignKey(); - _elem341.read(iprot); - struct.foreignKeys.add(_elem341); + _elem331 = new SQLForeignKey(); + _elem331.read(iprot); + struct.foreignKeys.add(_elem331); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, ForeignKeysRespons oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); - for (SQLForeignKey _iter343 : struct.foreignKeys) + for (SQLForeignKey _iter333 : struct.foreignKeys) { - _iter343.write(oprot); + _iter333.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ForeignKeysResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter344 : struct.foreignKeys) + for (SQLForeignKey _iter334 : struct.foreignKeys) { - _iter344.write(oprot); + _iter334.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ForeignKeysResponse public void read(org.apache.thrift.protocol.TProtocol prot, ForeignKeysResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list345 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list345.size); - SQLForeignKey _elem346; - for (int _i347 = 0; _i347 < _list345.size; ++_i347) + org.apache.thrift.protocol.TList _list335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list335.size); + SQLForeignKey _elem336; + for (int _i337 = 0; _i337 < _list335.size; ++_i337) { - _elem346 = new SQLForeignKey(); - _elem346.read(iprot); - struct.foreignKeys.add(_elem346); + _elem336 = new SQLForeignKey(); + _elem336.read(iprot); + struct.foreignKeys.add(_elem336); } } struct.setForeignKeysIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java index 0f5d5ebb3c..ca62b882c0 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Function.java +++ b/standalone-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 _list526 = iprot.readListBegin(); - struct.resourceUris = new ArrayList(_list526.size); - ResourceUri _elem527; - for (int _i528 = 0; _i528 < _list526.size; ++_i528) + org.apache.thrift.protocol.TList _list516 = iprot.readListBegin(); + struct.resourceUris = new ArrayList(_list516.size); + ResourceUri _elem517; + for (int _i518 = 0; _i518 < _list516.size; ++_i518) { - _elem527 = new ResourceUri(); - _elem527.read(iprot); - struct.resourceUris.add(_elem527); + _elem517 = new ResourceUri(); + _elem517.read(iprot); + struct.resourceUris.add(_elem517); } 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 _iter529 : struct.resourceUris) + for (ResourceUri _iter519 : struct.resourceUris) { - _iter529.write(oprot); + _iter519.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 _iter530 : struct.resourceUris) + for (ResourceUri _iter520 : struct.resourceUris) { - _iter530.write(oprot); + _iter520.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 _list531 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourceUris = new ArrayList(_list531.size); - ResourceUri _elem532; - for (int _i533 = 0; _i533 < _list531.size; ++_i533) + org.apache.thrift.protocol.TList _list521 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourceUris = new ArrayList(_list521.size); + ResourceUri _elem522; + for (int _i523 = 0; _i523 < _list521.size; ++_i523) { - _elem532 = new ResourceUri(); - _elem532.read(iprot); - struct.resourceUris.add(_elem532); + _elem522 = new ResourceUri(); + _elem522.read(iprot); + struct.resourceUris.add(_elem522); } } struct.setResourceUrisIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java index bff424fe15..2b4883deec 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetAllFunctionsResponse.java +++ b/standalone-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 _list724 = iprot.readListBegin(); - struct.functions = new ArrayList(_list724.size); - Function _elem725; - for (int _i726 = 0; _i726 < _list724.size; ++_i726) + org.apache.thrift.protocol.TList _list714 = iprot.readListBegin(); + struct.functions = new ArrayList(_list714.size); + Function _elem715; + for (int _i716 = 0; _i716 < _list714.size; ++_i716) { - _elem725 = new Function(); - _elem725.read(iprot); - struct.functions.add(_elem725); + _elem715 = new Function(); + _elem715.read(iprot); + struct.functions.add(_elem715); } 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 _iter727 : struct.functions) + for (Function _iter717 : struct.functions) { - _iter727.write(oprot); + _iter717.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 _iter728 : struct.functions) + for (Function _iter718 : struct.functions) { - _iter728.write(oprot); + _iter718.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 _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list729.size); - Function _elem730; - for (int _i731 = 0; _i731 < _list729.size; ++_i731) + org.apache.thrift.protocol.TList _list719 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list719.size); + Function _elem720; + for (int _i721 = 0; _i721 < _list719.size; ++_i721) { - _elem730 = new Function(); - _elem730.read(iprot); - struct.functions.add(_elem730); + _elem720 = new Function(); + _elem720.read(iprot); + struct.functions.add(_elem720); } } struct.setFunctionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java index 38a5ed9d10..5a371c405b 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprRequest.java +++ b/standalone-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 _list674 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list674.size); - long _elem675; - for (int _i676 = 0; _i676 < _list674.size; ++_i676) + org.apache.thrift.protocol.TList _list664 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list664.size); + long _elem665; + for (int _i666 = 0; _i666 < _list664.size; ++_i666) { - _elem675 = iprot.readI64(); - struct.fileIds.add(_elem675); + _elem665 = iprot.readI64(); + struct.fileIds.add(_elem665); } 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 _iter677 : struct.fileIds) + for (long _iter667 : struct.fileIds) { - oprot.writeI64(_iter677); + oprot.writeI64(_iter667); } 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 _iter678 : struct.fileIds) + for (long _iter668 : struct.fileIds) { - oprot.writeI64(_iter678); + oprot.writeI64(_iter668); } } 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 _list679 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list679.size); - long _elem680; - for (int _i681 = 0; _i681 < _list679.size; ++_i681) + org.apache.thrift.protocol.TList _list669 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list669.size); + long _elem670; + for (int _i671 = 0; _i671 < _list669.size; ++_i671) { - _elem680 = iprot.readI64(); - struct.fileIds.add(_elem680); + _elem670 = iprot.readI64(); + struct.fileIds.add(_elem670); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java index a3dc7436f3..6eb6eee6e3 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataByExprResult.java +++ b/standalone-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 _map664 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map664.size); - long _key665; - MetadataPpdResult _val666; - for (int _i667 = 0; _i667 < _map664.size; ++_i667) + org.apache.thrift.protocol.TMap _map654 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map654.size); + long _key655; + MetadataPpdResult _val656; + for (int _i657 = 0; _i657 < _map654.size; ++_i657) { - _key665 = iprot.readI64(); - _val666 = new MetadataPpdResult(); - _val666.read(iprot); - struct.metadata.put(_key665, _val666); + _key655 = iprot.readI64(); + _val656 = new MetadataPpdResult(); + _val656.read(iprot); + struct.metadata.put(_key655, _val656); } 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 _iter668 : struct.metadata.entrySet()) + for (Map.Entry _iter658 : struct.metadata.entrySet()) { - oprot.writeI64(_iter668.getKey()); - _iter668.getValue().write(oprot); + oprot.writeI64(_iter658.getKey()); + _iter658.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 _iter669 : struct.metadata.entrySet()) + for (Map.Entry _iter659 : struct.metadata.entrySet()) { - oprot.writeI64(_iter669.getKey()); - _iter669.getValue().write(oprot); + oprot.writeI64(_iter659.getKey()); + _iter659.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 _map670 = 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*_map670.size); - long _key671; - MetadataPpdResult _val672; - for (int _i673 = 0; _i673 < _map670.size; ++_i673) + org.apache.thrift.protocol.TMap _map660 = 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*_map660.size); + long _key661; + MetadataPpdResult _val662; + for (int _i663 = 0; _i663 < _map660.size; ++_i663) { - _key671 = iprot.readI64(); - _val672 = new MetadataPpdResult(); - _val672.read(iprot); - struct.metadata.put(_key671, _val672); + _key661 = iprot.readI64(); + _val662 = new MetadataPpdResult(); + _val662.read(iprot); + struct.metadata.put(_key661, _val662); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java index 53603afce3..04043580d6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataRequest.java +++ b/standalone-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 _list692 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list692.size); - long _elem693; - for (int _i694 = 0; _i694 < _list692.size; ++_i694) + org.apache.thrift.protocol.TList _list682 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list682.size); + long _elem683; + for (int _i684 = 0; _i684 < _list682.size; ++_i684) { - _elem693 = iprot.readI64(); - struct.fileIds.add(_elem693); + _elem683 = iprot.readI64(); + struct.fileIds.add(_elem683); } 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 _iter695 : struct.fileIds) + for (long _iter685 : struct.fileIds) { - oprot.writeI64(_iter695); + oprot.writeI64(_iter685); } 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 _iter696 : struct.fileIds) + for (long _iter686 : struct.fileIds) { - oprot.writeI64(_iter696); + oprot.writeI64(_iter686); } } } @@ -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 _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list697.size); - long _elem698; - for (int _i699 = 0; _i699 < _list697.size; ++_i699) + org.apache.thrift.protocol.TList _list687 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list687.size); + long _elem688; + for (int _i689 = 0; _i689 < _list687.size; ++_i689) { - _elem698 = iprot.readI64(); - struct.fileIds.add(_elem698); + _elem688 = iprot.readI64(); + struct.fileIds.add(_elem688); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java index 440965ed96..38588905c6 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetFileMetadataResult.java +++ b/standalone-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 _map682 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map682.size); - long _key683; - ByteBuffer _val684; - for (int _i685 = 0; _i685 < _map682.size; ++_i685) + org.apache.thrift.protocol.TMap _map672 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map672.size); + long _key673; + ByteBuffer _val674; + for (int _i675 = 0; _i675 < _map672.size; ++_i675) { - _key683 = iprot.readI64(); - _val684 = iprot.readBinary(); - struct.metadata.put(_key683, _val684); + _key673 = iprot.readI64(); + _val674 = iprot.readBinary(); + struct.metadata.put(_key673, _val674); } 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 _iter686 : struct.metadata.entrySet()) + for (Map.Entry _iter676 : struct.metadata.entrySet()) { - oprot.writeI64(_iter686.getKey()); - oprot.writeBinary(_iter686.getValue()); + oprot.writeI64(_iter676.getKey()); + oprot.writeBinary(_iter676.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 _iter687 : struct.metadata.entrySet()) + for (Map.Entry _iter677 : struct.metadata.entrySet()) { - oprot.writeI64(_iter687.getKey()); - oprot.writeBinary(_iter687.getValue()); + oprot.writeI64(_iter677.getKey()); + oprot.writeBinary(_iter677.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 _map688 = 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*_map688.size); - long _key689; - ByteBuffer _val690; - for (int _i691 = 0; _i691 < _map688.size; ++_i691) + org.apache.thrift.protocol.TMap _map678 = 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*_map678.size); + long _key679; + ByteBuffer _val680; + for (int _i681 = 0; _i681 < _map678.size; ++_i681) { - _key689 = iprot.readI64(); - _val690 = iprot.readBinary(); - struct.metadata.put(_key689, _val690); + _key679 = iprot.readI64(); + _val680 = iprot.readBinary(); + struct.metadata.put(_key679, _val680); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java index a77f661b7d..ae644df9b3 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsInfoResponse.java +++ b/standalone-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 _list534 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list534.size); - TxnInfo _elem535; - for (int _i536 = 0; _i536 < _list534.size; ++_i536) + org.apache.thrift.protocol.TList _list524 = iprot.readListBegin(); + struct.open_txns = new ArrayList(_list524.size); + TxnInfo _elem525; + for (int _i526 = 0; _i526 < _list524.size; ++_i526) { - _elem535 = new TxnInfo(); - _elem535.read(iprot); - struct.open_txns.add(_elem535); + _elem525 = new TxnInfo(); + _elem525.read(iprot); + struct.open_txns.add(_elem525); } 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 _iter537 : struct.open_txns) + for (TxnInfo _iter527 : struct.open_txns) { - _iter537.write(oprot); + _iter527.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 _iter538 : struct.open_txns) + for (TxnInfo _iter528 : struct.open_txns) { - _iter538.write(oprot); + _iter528.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 _list539 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.open_txns = new ArrayList(_list539.size); - TxnInfo _elem540; - for (int _i541 = 0; _i541 < _list539.size; ++_i541) + org.apache.thrift.protocol.TList _list529 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.open_txns = new ArrayList(_list529.size); + TxnInfo _elem530; + for (int _i531 = 0; _i531 < _list529.size; ++_i531) { - _elem540 = new TxnInfo(); - _elem540.read(iprot); - struct.open_txns.add(_elem540); + _elem530 = new TxnInfo(); + _elem530.read(iprot); + struct.open_txns.add(_elem530); } } struct.setOpen_txnsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java index 70ea1de7d3..662c093e4a 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetOpenTxnsResponse.java @@ -615,13 +615,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetOpenTxnsResponse case 2: // OPEN_TXNS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list542 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list542.size); - long _elem543; - for (int _i544 = 0; _i544 < _list542.size; ++_i544) + org.apache.thrift.protocol.TList _list532 = iprot.readListBegin(); + struct.open_txns = new ArrayList(_list532.size); + long _elem533; + for (int _i534 = 0; _i534 < _list532.size; ++_i534) { - _elem543 = iprot.readI64(); - struct.open_txns.add(_elem543); + _elem533 = iprot.readI64(); + struct.open_txns.add(_elem533); } iprot.readListEnd(); } @@ -666,9 +666,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetOpenTxnsRespons oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.open_txns.size())); - for (long _iter545 : struct.open_txns) + for (long _iter535 : struct.open_txns) { - oprot.writeI64(_iter545); + oprot.writeI64(_iter535); } oprot.writeListEnd(); } @@ -704,9 +704,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 _iter546 : struct.open_txns) + for (long _iter536 : struct.open_txns) { - oprot.writeI64(_iter546); + oprot.writeI64(_iter536); } } oprot.writeBinary(struct.abortedBits); @@ -726,13 +726,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.TList _list547 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.open_txns = new ArrayList(_list547.size); - long _elem548; - for (int _i549 = 0; _i549 < _list547.size; ++_i549) + org.apache.thrift.protocol.TList _list537 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.open_txns = new ArrayList(_list537.size); + long _elem538; + for (int _i539 = 0; _i539 < _list537.size; ++_i539) { - _elem548 = iprot.readI64(); - struct.open_txns.add(_elem548); + _elem538 = iprot.readI64(); + struct.open_txns.add(_elem538); } } struct.setOpen_txnsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java index 575737dc67..680ce86a9a 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java @@ -525,13 +525,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesRequest st case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list740 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list740.size); - String _elem741; - for (int _i742 = 0; _i742 < _list740.size; ++_i742) + org.apache.thrift.protocol.TList _list730 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list730.size); + String _elem731; + for (int _i732 = 0; _i732 < _list730.size; ++_i732) { - _elem741 = iprot.readString(); - struct.tblNames.add(_elem741); + _elem731 = iprot.readString(); + struct.tblNames.add(_elem731); } iprot.readListEnd(); } @@ -572,9 +572,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesRequest s oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tblNames.size())); - for (String _iter743 : struct.tblNames) + for (String _iter733 : struct.tblNames) { - oprot.writeString(_iter743); + oprot.writeString(_iter733); } oprot.writeListEnd(); } @@ -617,9 +617,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetTblNames()) { { oprot.writeI32(struct.tblNames.size()); - for (String _iter744 : struct.tblNames) + for (String _iter734 : struct.tblNames) { - oprot.writeString(_iter744); + oprot.writeString(_iter734); } } } @@ -636,13 +636,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list745.size); - String _elem746; - for (int _i747 = 0; _i747 < _list745.size; ++_i747) + org.apache.thrift.protocol.TList _list735 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list735.size); + String _elem736; + for (int _i737 = 0; _i737 < _list735.size; ++_i737) { - _elem746 = iprot.readString(); - struct.tblNames.add(_elem746); + _elem736 = iprot.readString(); + struct.tblNames.add(_elem736); } } struct.setTblNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java index 050d093d84..ccd85c4904 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesResult.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesResult str case 1: // TABLES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list748 = iprot.readListBegin(); - struct.tables = new ArrayList
(_list748.size); - Table _elem749; - for (int _i750 = 0; _i750 < _list748.size; ++_i750) + org.apache.thrift.protocol.TList _list738 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list738.size); + Table _elem739; + for (int _i740 = 0; _i740 < _list738.size; ++_i740) { - _elem749 = new Table(); - _elem749.read(iprot); - struct.tables.add(_elem749); + _elem739 = new Table(); + _elem739.read(iprot); + struct.tables.add(_elem739); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesResult st oprot.writeFieldBegin(TABLES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tables.size())); - for (Table _iter751 : struct.tables) + for (Table _iter741 : struct.tables) { - _iter751.write(oprot); + _iter741.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tables.size()); - for (Table _iter752 : struct.tables) + for (Table _iter742 : struct.tables) { - _iter752.write(oprot); + _iter742.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesResult str public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesResult struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list753 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list753.size); - Table _elem754; - for (int _i755 = 0; _i755 < _list753.size; ++_i755) + org.apache.thrift.protocol.TList _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list743.size); + Table _elem744; + for (int _i745 = 0; _i745 < _list743.size; ++_i745) { - _elem754 = new Table(); - _elem754.read(iprot); - struct.tables.add(_elem754); + _elem744 = new Table(); + _elem744.read(iprot); + struct.tables.add(_elem744); } } struct.setTablesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java index 828e94e9e2..762f4651b7 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/HeartbeatTxnRangeResponse.java +++ b/standalone-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 _set582 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set582.size); - long _elem583; - for (int _i584 = 0; _i584 < _set582.size; ++_i584) + org.apache.thrift.protocol.TSet _set572 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set572.size); + long _elem573; + for (int _i574 = 0; _i574 < _set572.size; ++_i574) { - _elem583 = iprot.readI64(); - struct.aborted.add(_elem583); + _elem573 = iprot.readI64(); + struct.aborted.add(_elem573); } 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 _set585 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set585.size); - long _elem586; - for (int _i587 = 0; _i587 < _set585.size; ++_i587) + org.apache.thrift.protocol.TSet _set575 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set575.size); + long _elem576; + for (int _i577 = 0; _i577 < _set575.size; ++_i577) { - _elem586 = iprot.readI64(); - struct.nosuch.add(_elem586); + _elem576 = iprot.readI64(); + struct.nosuch.add(_elem576); } 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 _iter588 : struct.aborted) + for (long _iter578 : struct.aborted) { - oprot.writeI64(_iter588); + oprot.writeI64(_iter578); } 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 _iter589 : struct.nosuch) + for (long _iter579 : struct.nosuch) { - oprot.writeI64(_iter589); + oprot.writeI64(_iter579); } 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 _iter590 : struct.aborted) + for (long _iter580 : struct.aborted) { - oprot.writeI64(_iter590); + oprot.writeI64(_iter580); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter591 : struct.nosuch) + for (long _iter581 : struct.nosuch) { - oprot.writeI64(_iter591); + oprot.writeI64(_iter581); } } } @@ -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 _set592 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set592.size); - long _elem593; - for (int _i594 = 0; _i594 < _set592.size; ++_i594) + org.apache.thrift.protocol.TSet _set582 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set582.size); + long _elem583; + for (int _i584 = 0; _i584 < _set582.size; ++_i584) { - _elem593 = iprot.readI64(); - struct.aborted.add(_elem593); + _elem583 = iprot.readI64(); + struct.aborted.add(_elem583); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set595 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set595.size); - long _elem596; - for (int _i597 = 0; _i597 < _set595.size; ++_i597) + org.apache.thrift.protocol.TSet _set585 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set585.size); + long _elem586; + for (int _i587 = 0; _i587 < _set585.size; ++_i587) { - _elem596 = iprot.readI64(); - struct.nosuch.add(_elem596); + _elem586 = iprot.readI64(); + struct.nosuch.add(_elem586); } } struct.setNosuchIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java index 556e7c6729..8f2af25d5e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Index.java +++ b/standalone-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 _map270 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map270.size); - String _key271; - String _val272; - for (int _i273 = 0; _i273 < _map270.size; ++_i273) + 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) { - _key271 = iprot.readString(); - _val272 = iprot.readString(); - struct.parameters.put(_key271, _val272); + _key261 = iprot.readString(); + _val262 = iprot.readString(); + struct.parameters.put(_key261, _val262); } 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 _iter274 : struct.parameters.entrySet()) + for (Map.Entry _iter264 : struct.parameters.entrySet()) { - oprot.writeString(_iter274.getKey()); - oprot.writeString(_iter274.getValue()); + oprot.writeString(_iter264.getKey()); + oprot.writeString(_iter264.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 _iter275 : struct.parameters.entrySet()) + for (Map.Entry _iter265 : struct.parameters.entrySet()) { - oprot.writeString(_iter275.getKey()); - oprot.writeString(_iter275.getValue()); + oprot.writeString(_iter265.getKey()); + oprot.writeString(_iter265.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 _map276 = 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*_map276.size); - String _key277; - String _val278; - for (int _i279 = 0; _i279 < _map276.size; ++_i279) + 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) { - _key277 = iprot.readString(); - _val278 = iprot.readString(); - struct.parameters.put(_key277, _val278); + _key267 = iprot.readString(); + _val268 = iprot.readString(); + struct.parameters.put(_key267, _val268); } } struct.setParametersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java index 184f9d52a5..e23bc04801 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/InsertEventRequestData.java @@ -538,13 +538,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 2: // FILES_ADDED if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list640 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list640.size); - String _elem641; - for (int _i642 = 0; _i642 < _list640.size; ++_i642) + org.apache.thrift.protocol.TList _list630 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list630.size); + String _elem631; + for (int _i632 = 0; _i632 < _list630.size; ++_i632) { - _elem641 = iprot.readString(); - struct.filesAdded.add(_elem641); + _elem631 = iprot.readString(); + struct.filesAdded.add(_elem631); } iprot.readListEnd(); } @@ -556,13 +556,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, InsertEventRequestD case 3: // FILES_ADDED_CHECKSUM if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list643 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list643.size); - String _elem644; - for (int _i645 = 0; _i645 < _list643.size; ++_i645) + org.apache.thrift.protocol.TList _list633 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list633.size); + String _elem634; + for (int _i635 = 0; _i635 < _list633.size; ++_i635) { - _elem644 = iprot.readString(); - struct.filesAddedChecksum.add(_elem644); + _elem634 = iprot.readString(); + struct.filesAddedChecksum.add(_elem634); } iprot.readListEnd(); } @@ -593,9 +593,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 _iter646 : struct.filesAdded) + for (String _iter636 : struct.filesAdded) { - oprot.writeString(_iter646); + oprot.writeString(_iter636); } oprot.writeListEnd(); } @@ -606,9 +606,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, InsertEventRequest oprot.writeFieldBegin(FILES_ADDED_CHECKSUM_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.filesAddedChecksum.size())); - for (String _iter647 : struct.filesAddedChecksum) + for (String _iter637 : struct.filesAddedChecksum) { - oprot.writeString(_iter647); + oprot.writeString(_iter637); } oprot.writeListEnd(); } @@ -634,9 +634,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.filesAdded.size()); - for (String _iter648 : struct.filesAdded) + for (String _iter638 : struct.filesAdded) { - oprot.writeString(_iter648); + oprot.writeString(_iter638); } } BitSet optionals = new BitSet(); @@ -653,9 +653,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestD if (struct.isSetFilesAddedChecksum()) { { oprot.writeI32(struct.filesAddedChecksum.size()); - for (String _iter649 : struct.filesAddedChecksum) + for (String _iter639 : struct.filesAddedChecksum) { - oprot.writeString(_iter649); + oprot.writeString(_iter639); } } } @@ -665,13 +665,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 _list650 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list650.size); - String _elem651; - for (int _i652 = 0; _i652 < _list650.size; ++_i652) + org.apache.thrift.protocol.TList _list640 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list640.size); + String _elem641; + for (int _i642 = 0; _i642 < _list640.size; ++_i642) { - _elem651 = iprot.readString(); - struct.filesAdded.add(_elem651); + _elem641 = iprot.readString(); + struct.filesAdded.add(_elem641); } } struct.setFilesAddedIsSet(true); @@ -682,13 +682,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, InsertEventRequestDa } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list653 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list653.size); - String _elem654; - for (int _i655 = 0; _i655 < _list653.size; ++_i655) + org.apache.thrift.protocol.TList _list643 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list643.size); + String _elem644; + for (int _i645 = 0; _i645 < _list643.size; ++_i645) { - _elem654 = iprot.readString(); - struct.filesAddedChecksum.add(_elem654); + _elem644 = iprot.readString(); + struct.filesAddedChecksum.add(_elem644); } } struct.setFilesAddedChecksumIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java index b5d17cc0ff..6aaed5cc9f 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/LockRequest.java +++ b/standalone-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 _list566 = iprot.readListBegin(); - struct.component = new ArrayList(_list566.size); - LockComponent _elem567; - for (int _i568 = 0; _i568 < _list566.size; ++_i568) + org.apache.thrift.protocol.TList _list556 = iprot.readListBegin(); + struct.component = new ArrayList(_list556.size); + LockComponent _elem557; + for (int _i558 = 0; _i558 < _list556.size; ++_i558) { - _elem567 = new LockComponent(); - _elem567.read(iprot); - struct.component.add(_elem567); + _elem557 = new LockComponent(); + _elem557.read(iprot); + struct.component.add(_elem557); } 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 _iter569 : struct.component) + for (LockComponent _iter559 : struct.component) { - _iter569.write(oprot); + _iter559.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 _iter570 : struct.component) + for (LockComponent _iter560 : struct.component) { - _iter570.write(oprot); + _iter560.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 _list571 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list571.size); - LockComponent _elem572; - for (int _i573 = 0; _i573 < _list571.size; ++_i573) + org.apache.thrift.protocol.TList _list561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list561.size); + LockComponent _elem562; + for (int _i563 = 0; _i563 < _list561.size; ++_i563) { - _elem572 = new LockComponent(); - _elem572.read(iprot); - struct.component.add(_elem572); + _elem562 = new LockComponent(); + _elem562.read(iprot); + struct.component.add(_elem562); } } struct.setComponentIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java index f217bf0028..b399d66422 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Materialization.java @@ -533,13 +533,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Materialization str case 2: // TABLES_USED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set756 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set756.size); - String _elem757; - for (int _i758 = 0; _i758 < _set756.size; ++_i758) + org.apache.thrift.protocol.TSet _set746 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set746.size); + String _elem747; + for (int _i748 = 0; _i748 < _set746.size; ++_i748) { - _elem757 = iprot.readString(); - struct.tablesUsed.add(_elem757); + _elem747 = iprot.readString(); + struct.tablesUsed.add(_elem747); } iprot.readSetEnd(); } @@ -578,9 +578,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Materialization st oprot.writeFieldBegin(TABLES_USED_FIELD_DESC); { oprot.writeSetBegin(new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, struct.tablesUsed.size())); - for (String _iter759 : struct.tablesUsed) + for (String _iter749 : struct.tablesUsed) { - oprot.writeString(_iter759); + oprot.writeString(_iter749); } oprot.writeSetEnd(); } @@ -609,9 +609,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Materialization str struct.materializationTable.write(oprot); { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter760 : struct.tablesUsed) + for (String _iter750 : struct.tablesUsed) { - oprot.writeString(_iter760); + oprot.writeString(_iter750); } } oprot.writeI64(struct.invalidationTime); @@ -624,13 +624,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Materialization stru struct.materializationTable.read(iprot); struct.setMaterializationTableIsSet(true); { - org.apache.thrift.protocol.TSet _set761 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set761.size); - String _elem762; - for (int _i763 = 0; _i763 < _set761.size; ++_i763) + org.apache.thrift.protocol.TSet _set751 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set751.size); + String _elem752; + for (int _i753 = 0; _i753 < _set751.size; ++_i753) { - _elem762 = iprot.readString(); - struct.tablesUsed.add(_elem762); + _elem752 = iprot.readString(); + struct.tablesUsed.add(_elem752); } } struct.setTablesUsedIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java index 3257a411f6..8566d3da49 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotNullConstraintsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, NotNullConstraintsR case 1: // NOT_NULL_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list356 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list356.size); - SQLNotNullConstraint _elem357; - for (int _i358 = 0; _i358 < _list356.size; ++_i358) + org.apache.thrift.protocol.TList _list346 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list346.size); + SQLNotNullConstraint _elem347; + for (int _i348 = 0; _i348 < _list346.size; ++_i348) { - _elem357 = new SQLNotNullConstraint(); - _elem357.read(iprot); - struct.notNullConstraints.add(_elem357); + _elem347 = new SQLNotNullConstraint(); + _elem347.read(iprot); + struct.notNullConstraints.add(_elem347); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, NotNullConstraints oprot.writeFieldBegin(NOT_NULL_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraints.size())); - for (SQLNotNullConstraint _iter359 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter349 : struct.notNullConstraints) { - _iter359.write(oprot); + _iter349.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotNullConstraintsR TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter360 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter350 : struct.notNullConstraints) { - _iter360.write(oprot); + _iter350.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, NotNullConstraintsR public void read(org.apache.thrift.protocol.TProtocol prot, NotNullConstraintsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list361 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list361.size); - SQLNotNullConstraint _elem362; - for (int _i363 = 0; _i363 < _list361.size; ++_i363) + org.apache.thrift.protocol.TList _list351 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list351.size); + SQLNotNullConstraint _elem352; + for (int _i353 = 0; _i353 < _list351.size; ++_i353) { - _elem362 = new SQLNotNullConstraint(); - _elem362.read(iprot); - struct.notNullConstraints.add(_elem362); + _elem352 = new SQLNotNullConstraint(); + _elem352.read(iprot); + struct.notNullConstraints.add(_elem352); } } struct.setNotNullConstraintsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java index eb578449ec..a28350bc2b 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/NotificationEventResponse.java +++ b/standalone-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 _list632 = iprot.readListBegin(); - struct.events = new ArrayList(_list632.size); - NotificationEvent _elem633; - for (int _i634 = 0; _i634 < _list632.size; ++_i634) + org.apache.thrift.protocol.TList _list622 = iprot.readListBegin(); + struct.events = new ArrayList(_list622.size); + NotificationEvent _elem623; + for (int _i624 = 0; _i624 < _list622.size; ++_i624) { - _elem633 = new NotificationEvent(); - _elem633.read(iprot); - struct.events.add(_elem633); + _elem623 = new NotificationEvent(); + _elem623.read(iprot); + struct.events.add(_elem623); } 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 _iter635 : struct.events) + for (NotificationEvent _iter625 : struct.events) { - _iter635.write(oprot); + _iter625.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 _iter636 : struct.events) + for (NotificationEvent _iter626 : struct.events) { - _iter636.write(oprot); + _iter626.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 _list637 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list637.size); - NotificationEvent _elem638; - for (int _i639 = 0; _i639 < _list637.size; ++_i639) + org.apache.thrift.protocol.TList _list627 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list627.size); + NotificationEvent _elem628; + for (int _i629 = 0; _i629 < _list627.size; ++_i629) { - _elem638 = new NotificationEvent(); - _elem638.read(iprot); - struct.events.add(_elem638); + _elem628 = new NotificationEvent(); + _elem628.read(iprot); + struct.events.add(_elem628); } } struct.setEventsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java index d1a1bf8788..ee7ae396f1 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java +++ b/standalone-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 _list550 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list550.size); - long _elem551; - for (int _i552 = 0; _i552 < _list550.size; ++_i552) + org.apache.thrift.protocol.TList _list540 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list540.size); + long _elem541; + for (int _i542 = 0; _i542 < _list540.size; ++_i542) { - _elem551 = iprot.readI64(); - struct.txn_ids.add(_elem551); + _elem541 = iprot.readI64(); + struct.txn_ids.add(_elem541); } 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 _iter553 : struct.txn_ids) + for (long _iter543 : struct.txn_ids) { - oprot.writeI64(_iter553); + oprot.writeI64(_iter543); } 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 _iter554 : struct.txn_ids) + for (long _iter544 : struct.txn_ids) { - oprot.writeI64(_iter554); + oprot.writeI64(_iter544); } } } @@ -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 _list555 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list555.size); - long _elem556; - for (int _i557 = 0; _i557 < _list555.size; ++_i557) + org.apache.thrift.protocol.TList _list545 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list545.size); + long _elem546; + for (int _i547 = 0; _i547 < _list545.size; ++_i547) { - _elem556 = iprot.readI64(); - struct.txn_ids.add(_elem556); + _elem546 = iprot.readI64(); + struct.txn_ids.add(_elem546); } } struct.setTxn_idsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java index 7ec61722e9..3a13753647 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Partition.java +++ b/standalone-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 _list218 = iprot.readListBegin(); - struct.values = new ArrayList(_list218.size); - String _elem219; - for (int _i220 = 0; _i220 < _list218.size; ++_i220) + org.apache.thrift.protocol.TList _list208 = iprot.readListBegin(); + struct.values = new ArrayList(_list208.size); + String _elem209; + for (int _i210 = 0; _i210 < _list208.size; ++_i210) { - _elem219 = iprot.readString(); - struct.values.add(_elem219); + _elem209 = iprot.readString(); + struct.values.add(_elem209); } 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 _map221 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map221.size); - String _key222; - String _val223; - for (int _i224 = 0; _i224 < _map221.size; ++_i224) + 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) { - _key222 = iprot.readString(); - _val223 = iprot.readString(); - struct.parameters.put(_key222, _val223); + _key212 = iprot.readString(); + _val213 = iprot.readString(); + struct.parameters.put(_key212, _val213); } 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 _iter225 : struct.values) + for (String _iter215 : struct.values) { - oprot.writeString(_iter225); + oprot.writeString(_iter215); } 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 _iter226 : struct.parameters.entrySet()) + for (Map.Entry _iter216 : struct.parameters.entrySet()) { - oprot.writeString(_iter226.getKey()); - oprot.writeString(_iter226.getValue()); + oprot.writeString(_iter216.getKey()); + oprot.writeString(_iter216.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 _iter227 : struct.values) + for (String _iter217 : struct.values) { - oprot.writeString(_iter227); + oprot.writeString(_iter217); } } } @@ -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 _iter228 : struct.parameters.entrySet()) + for (Map.Entry _iter218 : struct.parameters.entrySet()) { - oprot.writeString(_iter228.getKey()); - oprot.writeString(_iter228.getValue()); + oprot.writeString(_iter218.getKey()); + oprot.writeString(_iter218.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 _list229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.values = new ArrayList(_list229.size); - String _elem230; - for (int _i231 = 0; _i231 < _list229.size; ++_i231) + 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) { - _elem230 = iprot.readString(); - struct.values.add(_elem230); + _elem220 = iprot.readString(); + struct.values.add(_elem220); } } 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 _map232 = 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*_map232.size); - String _key233; - String _val234; - for (int _i235 = 0; _i235 < _map232.size; ++_i235) + 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) { - _key233 = iprot.readString(); - _val234 = iprot.readString(); - struct.parameters.put(_key233, _val234); + _key223 = iprot.readString(); + _val224 = iprot.readString(); + struct.parameters.put(_key223, _val224); } } struct.parameters = org.apache.hadoop.hive.metastore.utils.StringUtils.intern(struct.parameters); struct.setParametersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java index 17b6c44cf2..186eb23a4e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionListComposingSpec.java +++ b/standalone-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 _list262 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list262.size); - Partition _elem263; - for (int _i264 = 0; _i264 < _list262.size; ++_i264) + org.apache.thrift.protocol.TList _list252 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list252.size); + Partition _elem253; + for (int _i254 = 0; _i254 < _list252.size; ++_i254) { - _elem263 = new Partition(); - _elem263.read(iprot); - struct.partitions.add(_elem263); + _elem253 = new Partition(); + _elem253.read(iprot); + struct.partitions.add(_elem253); } 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 _iter265 : struct.partitions) + for (Partition _iter255 : struct.partitions) { - _iter265.write(oprot); + _iter255.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 _iter266 : struct.partitions) + for (Partition _iter256 : struct.partitions) { - _iter266.write(oprot); + _iter256.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 _list267 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list267.size); - Partition _elem268; - for (int _i269 = 0; _i269 < _list267.size; ++_i269) + 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) { - _elem268 = new Partition(); - _elem268.read(iprot); - struct.partitions.add(_elem268); + _elem258 = new Partition(); + _elem258.read(iprot); + struct.partitions.add(_elem258); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java index 71bd08b48a..e7ab52afa2 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionSpecWithSharedSD.java +++ b/standalone-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 _list254 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list254.size); - PartitionWithoutSD _elem255; - for (int _i256 = 0; _i256 < _list254.size; ++_i256) + org.apache.thrift.protocol.TList _list244 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list244.size); + PartitionWithoutSD _elem245; + for (int _i246 = 0; _i246 < _list244.size; ++_i246) { - _elem255 = new PartitionWithoutSD(); - _elem255.read(iprot); - struct.partitions.add(_elem255); + _elem245 = new PartitionWithoutSD(); + _elem245.read(iprot); + struct.partitions.add(_elem245); } 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 _iter257 : struct.partitions) + for (PartitionWithoutSD _iter247 : struct.partitions) { - _iter257.write(oprot); + _iter247.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 _iter258 : struct.partitions) + for (PartitionWithoutSD _iter248 : struct.partitions) { - _iter258.write(oprot); + _iter248.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 _list259 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitions = new ArrayList(_list259.size); - PartitionWithoutSD _elem260; - for (int _i261 = 0; _i261 < _list259.size; ++_i261) + 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) { - _elem260 = new PartitionWithoutSD(); - _elem260.read(iprot); - struct.partitions.add(_elem260); + _elem250 = new PartitionWithoutSD(); + _elem250.read(iprot); + struct.partitions.add(_elem250); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java index 9db256d9bb..2283c24e0c 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRequest.java @@ -961,14 +961,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesRequ case 3: // PARTITION_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list494 = iprot.readListBegin(); - struct.partitionKeys = new ArrayList(_list494.size); - FieldSchema _elem495; - for (int _i496 = 0; _i496 < _list494.size; ++_i496) + org.apache.thrift.protocol.TList _list484 = iprot.readListBegin(); + struct.partitionKeys = new ArrayList(_list484.size); + FieldSchema _elem485; + for (int _i486 = 0; _i486 < _list484.size; ++_i486) { - _elem495 = new FieldSchema(); - _elem495.read(iprot); - struct.partitionKeys.add(_elem495); + _elem485 = new FieldSchema(); + _elem485.read(iprot); + struct.partitionKeys.add(_elem485); } iprot.readListEnd(); } @@ -996,14 +996,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesRequ case 6: // PARTITION_ORDER if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list497 = iprot.readListBegin(); - struct.partitionOrder = new ArrayList(_list497.size); - FieldSchema _elem498; - for (int _i499 = 0; _i499 < _list497.size; ++_i499) + org.apache.thrift.protocol.TList _list487 = iprot.readListBegin(); + struct.partitionOrder = new ArrayList(_list487.size); + FieldSchema _elem488; + for (int _i489 = 0; _i489 < _list487.size; ++_i489) { - _elem498 = new FieldSchema(); - _elem498.read(iprot); - struct.partitionOrder.add(_elem498); + _elem488 = new FieldSchema(); + _elem488.read(iprot); + struct.partitionOrder.add(_elem488); } iprot.readListEnd(); } @@ -1055,9 +1055,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesReq 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 _iter500 : struct.partitionKeys) + for (FieldSchema _iter490 : struct.partitionKeys) { - _iter500.write(oprot); + _iter490.write(oprot); } oprot.writeListEnd(); } @@ -1080,9 +1080,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesReq oprot.writeFieldBegin(PARTITION_ORDER_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionOrder.size())); - for (FieldSchema _iter501 : struct.partitionOrder) + for (FieldSchema _iter491 : struct.partitionOrder) { - _iter501.write(oprot); + _iter491.write(oprot); } oprot.writeListEnd(); } @@ -1120,9 +1120,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRequ oprot.writeString(struct.tblName); { oprot.writeI32(struct.partitionKeys.size()); - for (FieldSchema _iter502 : struct.partitionKeys) + for (FieldSchema _iter492 : struct.partitionKeys) { - _iter502.write(oprot); + _iter492.write(oprot); } } BitSet optionals = new BitSet(); @@ -1151,9 +1151,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRequ if (struct.isSetPartitionOrder()) { { oprot.writeI32(struct.partitionOrder.size()); - for (FieldSchema _iter503 : struct.partitionOrder) + for (FieldSchema _iter493 : struct.partitionOrder) { - _iter503.write(oprot); + _iter493.write(oprot); } } } @@ -1173,14 +1173,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesReque struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TList _list504 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionKeys = new ArrayList(_list504.size); - FieldSchema _elem505; - for (int _i506 = 0; _i506 < _list504.size; ++_i506) + org.apache.thrift.protocol.TList _list494 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionKeys = new ArrayList(_list494.size); + FieldSchema _elem495; + for (int _i496 = 0; _i496 < _list494.size; ++_i496) { - _elem505 = new FieldSchema(); - _elem505.read(iprot); - struct.partitionKeys.add(_elem505); + _elem495 = new FieldSchema(); + _elem495.read(iprot); + struct.partitionKeys.add(_elem495); } } struct.setPartitionKeysIsSet(true); @@ -1195,14 +1195,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesReque } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list507 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionOrder = new ArrayList(_list507.size); - FieldSchema _elem508; - for (int _i509 = 0; _i509 < _list507.size; ++_i509) + org.apache.thrift.protocol.TList _list497 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionOrder = new ArrayList(_list497.size); + FieldSchema _elem498; + for (int _i499 = 0; _i499 < _list497.size; ++_i499) { - _elem508 = new FieldSchema(); - _elem508.read(iprot); - struct.partitionOrder.add(_elem508); + _elem498 = new FieldSchema(); + _elem498.read(iprot); + struct.partitionOrder.add(_elem498); } } struct.setPartitionOrderIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java index 278118045a..f551156768 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesResp case 1: // PARTITION_VALUES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list518 = iprot.readListBegin(); - struct.partitionValues = new ArrayList(_list518.size); - PartitionValuesRow _elem519; - for (int _i520 = 0; _i520 < _list518.size; ++_i520) + org.apache.thrift.protocol.TList _list508 = iprot.readListBegin(); + struct.partitionValues = new ArrayList(_list508.size); + PartitionValuesRow _elem509; + for (int _i510 = 0; _i510 < _list508.size; ++_i510) { - _elem519 = new PartitionValuesRow(); - _elem519.read(iprot); - struct.partitionValues.add(_elem519); + _elem509 = new PartitionValuesRow(); + _elem509.read(iprot); + struct.partitionValues.add(_elem509); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesRes oprot.writeFieldBegin(PARTITION_VALUES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.partitionValues.size())); - for (PartitionValuesRow _iter521 : struct.partitionValues) + for (PartitionValuesRow _iter511 : struct.partitionValues) { - _iter521.write(oprot); + _iter511.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesResp TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.partitionValues.size()); - for (PartitionValuesRow _iter522 : struct.partitionValues) + for (PartitionValuesRow _iter512 : struct.partitionValues) { - _iter522.write(oprot); + _iter512.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesResp public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list523 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionValues = new ArrayList(_list523.size); - PartitionValuesRow _elem524; - for (int _i525 = 0; _i525 < _list523.size; ++_i525) + org.apache.thrift.protocol.TList _list513 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitionValues = new ArrayList(_list513.size); + PartitionValuesRow _elem514; + for (int _i515 = 0; _i515 < _list513.size; ++_i515) { - _elem524 = new PartitionValuesRow(); - _elem524.read(iprot); - struct.partitionValues.add(_elem524); + _elem514 = new PartitionValuesRow(); + _elem514.read(iprot); + struct.partitionValues.add(_elem514); } } struct.setPartitionValuesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java index 595f35044b..3f3c3b9e4d 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionValuesRow.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PartitionValuesRow case 1: // ROW if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list510 = iprot.readListBegin(); - struct.row = new ArrayList(_list510.size); - String _elem511; - for (int _i512 = 0; _i512 < _list510.size; ++_i512) + org.apache.thrift.protocol.TList _list500 = iprot.readListBegin(); + struct.row = new ArrayList(_list500.size); + String _elem501; + for (int _i502 = 0; _i502 < _list500.size; ++_i502) { - _elem511 = iprot.readString(); - struct.row.add(_elem511); + _elem501 = iprot.readString(); + struct.row.add(_elem501); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PartitionValuesRow oprot.writeFieldBegin(ROW_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.row.size())); - for (String _iter513 : struct.row) + for (String _iter503 : struct.row) { - oprot.writeString(_iter513); + oprot.writeString(_iter503); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRow TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.row.size()); - for (String _iter514 : struct.row) + for (String _iter504 : struct.row) { - oprot.writeString(_iter514); + oprot.writeString(_iter504); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRow public void read(org.apache.thrift.protocol.TProtocol prot, PartitionValuesRow struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list515 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.row = new ArrayList(_list515.size); - String _elem516; - for (int _i517 = 0; _i517 < _list515.size; ++_i517) + org.apache.thrift.protocol.TList _list505 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.row = new ArrayList(_list505.size); + String _elem506; + for (int _i507 = 0; _i507 < _list505.size; ++_i507) { - _elem516 = iprot.readString(); - struct.row.add(_elem516); + _elem506 = iprot.readString(); + struct.row.add(_elem506); } } struct.setRowIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java index 1f5d31491f..ba8a7ca616 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionWithoutSD.java +++ b/standalone-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 _list236 = iprot.readListBegin(); - struct.values = new ArrayList(_list236.size); - String _elem237; - for (int _i238 = 0; _i238 < _list236.size; ++_i238) + org.apache.thrift.protocol.TList _list226 = iprot.readListBegin(); + struct.values = new ArrayList(_list226.size); + String _elem227; + for (int _i228 = 0; _i228 < _list226.size; ++_i228) { - _elem237 = iprot.readString(); - struct.values.add(_elem237); + _elem227 = iprot.readString(); + struct.values.add(_elem227); } 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 _map239 = iprot.readMapBegin(); - struct.parameters = new HashMap(2*_map239.size); - String _key240; - String _val241; - for (int _i242 = 0; _i242 < _map239.size; ++_i242) + 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) { - _key240 = iprot.readString(); - _val241 = iprot.readString(); - struct.parameters.put(_key240, _val241); + _key230 = iprot.readString(); + _val231 = iprot.readString(); + struct.parameters.put(_key230, _val231); } 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 _iter243 : struct.values) + for (String _iter233 : struct.values) { - oprot.writeString(_iter243); + oprot.writeString(_iter233); } 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 _iter244 : struct.parameters.entrySet()) + for (Map.Entry _iter234 : struct.parameters.entrySet()) { - oprot.writeString(_iter244.getKey()); - oprot.writeString(_iter244.getValue()); + oprot.writeString(_iter234.getKey()); + oprot.writeString(_iter234.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 _iter245 : struct.values) + for (String _iter235 : struct.values) { - oprot.writeString(_iter245); + oprot.writeString(_iter235); } } } @@ -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 _iter246 : struct.parameters.entrySet()) + for (Map.Entry _iter236 : struct.parameters.entrySet()) { - oprot.writeString(_iter246.getKey()); - oprot.writeString(_iter246.getValue()); + oprot.writeString(_iter236.getKey()); + oprot.writeString(_iter236.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 _list247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.values = new ArrayList(_list247.size); - String _elem248; - for (int _i249 = 0; _i249 < _list247.size; ++_i249) + 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) { - _elem248 = iprot.readString(); - struct.values.add(_elem248); + _elem238 = iprot.readString(); + struct.values.add(_elem238); } } 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 _map250 = 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*_map250.size); - String _key251; - String _val252; - for (int _i253 = 0; _i253 < _map250.size; ++_i253) + 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) { - _key251 = iprot.readString(); - _val252 = iprot.readString(); - struct.parameters.put(_key251, _val252); + _key241 = iprot.readString(); + _val242 = iprot.readString(); + struct.parameters.put(_key241, _val242); } } struct.setParametersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java index 9be6b48d27..3ccf5ee5cb 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsByExprResult.java +++ b/standalone-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 _list396 = iprot.readListBegin(); - struct.partitions = new ArrayList(_list396.size); - Partition _elem397; - for (int _i398 = 0; _i398 < _list396.size; ++_i398) + org.apache.thrift.protocol.TList _list386 = iprot.readListBegin(); + struct.partitions = new ArrayList(_list386.size); + Partition _elem387; + for (int _i388 = 0; _i388 < _list386.size; ++_i388) { - _elem397 = new Partition(); - _elem397.read(iprot); - struct.partitions.add(_elem397); + _elem387 = new Partition(); + _elem387.read(iprot); + struct.partitions.add(_elem387); } 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 _iter399 : struct.partitions) + for (Partition _iter389 : struct.partitions) { - _iter399.write(oprot); + _iter389.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 _iter400 : struct.partitions) + for (Partition _iter390 : struct.partitions) { - _iter400.write(oprot); + _iter390.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 _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 _list391 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.partitions = new ArrayList(_list391.size); + Partition _elem392; + for (int _i393 = 0; _i393 < _list391.size; ++_i393) { - _elem402 = new Partition(); - _elem402.read(iprot); - struct.partitions.add(_elem402); + _elem392 = new Partition(); + _elem392.read(iprot); + struct.partitions.add(_elem392); } } struct.setPartitionsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java index 80910f8157..9941fa5603 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsRequest.java +++ b/standalone-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 _list438 = iprot.readListBegin(); - struct.colNames = new ArrayList(_list438.size); - String _elem439; - for (int _i440 = 0; _i440 < _list438.size; ++_i440) + org.apache.thrift.protocol.TList _list428 = iprot.readListBegin(); + struct.colNames = new ArrayList(_list428.size); + String _elem429; + for (int _i430 = 0; _i430 < _list428.size; ++_i430) { - _elem439 = iprot.readString(); - struct.colNames.add(_elem439); + _elem429 = iprot.readString(); + struct.colNames.add(_elem429); } 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 _list441 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list441.size); - String _elem442; - for (int _i443 = 0; _i443 < _list441.size; ++_i443) + org.apache.thrift.protocol.TList _list431 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list431.size); + String _elem432; + for (int _i433 = 0; _i433 < _list431.size; ++_i433) { - _elem442 = iprot.readString(); - struct.partNames.add(_elem442); + _elem432 = iprot.readString(); + struct.partNames.add(_elem432); } 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 _iter444 : struct.colNames) + for (String _iter434 : struct.colNames) { - oprot.writeString(_iter444); + oprot.writeString(_iter434); } 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 _iter445 : struct.partNames) + for (String _iter435 : struct.partNames) { - oprot.writeString(_iter445); + oprot.writeString(_iter435); } 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 _iter446 : struct.colNames) + for (String _iter436 : struct.colNames) { - oprot.writeString(_iter446); + oprot.writeString(_iter436); } } { oprot.writeI32(struct.partNames.size()); - for (String _iter447 : struct.partNames) + for (String _iter437 : struct.partNames) { - oprot.writeString(_iter447); + oprot.writeString(_iter437); } } } @@ -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 _list448 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.colNames = new ArrayList(_list448.size); - String _elem449; - for (int _i450 = 0; _i450 < _list448.size; ++_i450) + org.apache.thrift.protocol.TList _list438 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.colNames = new ArrayList(_list438.size); + String _elem439; + for (int _i440 = 0; _i440 < _list438.size; ++_i440) { - _elem449 = iprot.readString(); - struct.colNames.add(_elem449); + _elem439 = iprot.readString(); + struct.colNames.add(_elem439); } } struct.setColNamesIsSet(true); { - org.apache.thrift.protocol.TList _list451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list451.size); - String _elem452; - for (int _i453 = 0; _i453 < _list451.size; ++_i453) + org.apache.thrift.protocol.TList _list441 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list441.size); + String _elem442; + for (int _i443 = 0; _i443 < _list441.size; ++_i443) { - _elem452 = iprot.readString(); - struct.partNames.add(_elem452); + _elem442 = iprot.readString(); + struct.partNames.add(_elem442); } } struct.setPartNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java index 41408eb244..8a0e5a5e79 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PartitionsStatsResult.java +++ b/standalone-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 _map412 = iprot.readMapBegin(); - struct.partStats = new HashMap>(2*_map412.size); - String _key413; - List _val414; - for (int _i415 = 0; _i415 < _map412.size; ++_i415) + org.apache.thrift.protocol.TMap _map402 = iprot.readMapBegin(); + struct.partStats = new HashMap>(2*_map402.size); + String _key403; + List _val404; + for (int _i405 = 0; _i405 < _map402.size; ++_i405) { - _key413 = iprot.readString(); + _key403 = iprot.readString(); { - org.apache.thrift.protocol.TList _list416 = iprot.readListBegin(); - _val414 = new ArrayList(_list416.size); - ColumnStatisticsObj _elem417; - for (int _i418 = 0; _i418 < _list416.size; ++_i418) + org.apache.thrift.protocol.TList _list406 = iprot.readListBegin(); + _val404 = new ArrayList(_list406.size); + ColumnStatisticsObj _elem407; + for (int _i408 = 0; _i408 < _list406.size; ++_i408) { - _elem417 = new ColumnStatisticsObj(); - _elem417.read(iprot); - _val414.add(_elem417); + _elem407 = new ColumnStatisticsObj(); + _elem407.read(iprot); + _val404.add(_elem407); } iprot.readListEnd(); } - struct.partStats.put(_key413, _val414); + struct.partStats.put(_key403, _val404); } 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> _iter419 : struct.partStats.entrySet()) + for (Map.Entry> _iter409 : struct.partStats.entrySet()) { - oprot.writeString(_iter419.getKey()); + oprot.writeString(_iter409.getKey()); { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter419.getValue().size())); - for (ColumnStatisticsObj _iter420 : _iter419.getValue()) + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, _iter409.getValue().size())); + for (ColumnStatisticsObj _iter410 : _iter409.getValue()) { - _iter420.write(oprot); + _iter410.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> _iter421 : struct.partStats.entrySet()) + for (Map.Entry> _iter411 : struct.partStats.entrySet()) { - oprot.writeString(_iter421.getKey()); + oprot.writeString(_iter411.getKey()); { - oprot.writeI32(_iter421.getValue().size()); - for (ColumnStatisticsObj _iter422 : _iter421.getValue()) + oprot.writeI32(_iter411.getValue().size()); + for (ColumnStatisticsObj _iter412 : _iter411.getValue()) { - _iter422.write(oprot); + _iter412.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 _map423 = 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*_map423.size); - String _key424; - List _val425; - for (int _i426 = 0; _i426 < _map423.size; ++_i426) + org.apache.thrift.protocol.TMap _map413 = 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*_map413.size); + String _key414; + List _val415; + for (int _i416 = 0; _i416 < _map413.size; ++_i416) { - _key424 = iprot.readString(); + _key414 = iprot.readString(); { - org.apache.thrift.protocol.TList _list427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - _val425 = new ArrayList(_list427.size); - ColumnStatisticsObj _elem428; - for (int _i429 = 0; _i429 < _list427.size; ++_i429) + org.apache.thrift.protocol.TList _list417 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + _val415 = new ArrayList(_list417.size); + ColumnStatisticsObj _elem418; + for (int _i419 = 0; _i419 < _list417.size; ++_i419) { - _elem428 = new ColumnStatisticsObj(); - _elem428.read(iprot); - _val425.add(_elem428); + _elem418 = new ColumnStatisticsObj(); + _elem418.read(iprot); + _val415.add(_elem418); } } - struct.partStats.put(_key424, _val425); + struct.partStats.put(_key414, _val415); } } struct.setPartStatsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java index 8005270e71..43f070c126 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PrimaryKeysResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, PrimaryKeysResponse case 1: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list332 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list332.size); - SQLPrimaryKey _elem333; - for (int _i334 = 0; _i334 < _list332.size; ++_i334) + org.apache.thrift.protocol.TList _list322 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list322.size); + SQLPrimaryKey _elem323; + for (int _i324 = 0; _i324 < _list322.size; ++_i324) { - _elem333 = new SQLPrimaryKey(); - _elem333.read(iprot); - struct.primaryKeys.add(_elem333); + _elem323 = new SQLPrimaryKey(); + _elem323.read(iprot); + struct.primaryKeys.add(_elem323); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, PrimaryKeysRespons oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); - for (SQLPrimaryKey _iter335 : struct.primaryKeys) + for (SQLPrimaryKey _iter325 : struct.primaryKeys) { - _iter335.write(oprot); + _iter325.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PrimaryKeysResponse TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter336 : struct.primaryKeys) + for (SQLPrimaryKey _iter326 : struct.primaryKeys) { - _iter336.write(oprot); + _iter326.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, PrimaryKeysResponse public void read(org.apache.thrift.protocol.TProtocol prot, PrimaryKeysResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list337 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list337.size); - SQLPrimaryKey _elem338; - for (int _i339 = 0; _i339 < _list337.size; ++_i339) + org.apache.thrift.protocol.TList _list327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list327.size); + SQLPrimaryKey _elem328; + for (int _i329 = 0; _i329 < _list327.size; ++_i329) { - _elem338 = new SQLPrimaryKey(); - _elem338.read(iprot); - struct.primaryKeys.add(_elem338); + _elem328 = new SQLPrimaryKey(); + _elem328.read(iprot); + struct.primaryKeys.add(_elem328); } } struct.setPrimaryKeysIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java index 5896fd9476..4bdca8c5c2 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/PutFileMetadataRequest.java +++ b/standalone-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 _list700 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list700.size); - long _elem701; - for (int _i702 = 0; _i702 < _list700.size; ++_i702) + org.apache.thrift.protocol.TList _list690 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list690.size); + long _elem691; + for (int _i692 = 0; _i692 < _list690.size; ++_i692) { - _elem701 = iprot.readI64(); - struct.fileIds.add(_elem701); + _elem691 = iprot.readI64(); + struct.fileIds.add(_elem691); } 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 _list703 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list703.size); - ByteBuffer _elem704; - for (int _i705 = 0; _i705 < _list703.size; ++_i705) + org.apache.thrift.protocol.TList _list693 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list693.size); + ByteBuffer _elem694; + for (int _i695 = 0; _i695 < _list693.size; ++_i695) { - _elem704 = iprot.readBinary(); - struct.metadata.add(_elem704); + _elem694 = iprot.readBinary(); + struct.metadata.add(_elem694); } 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 _iter706 : struct.fileIds) + for (long _iter696 : struct.fileIds) { - oprot.writeI64(_iter706); + oprot.writeI64(_iter696); } 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 _iter707 : struct.metadata) + for (ByteBuffer _iter697 : struct.metadata) { - oprot.writeBinary(_iter707); + oprot.writeBinary(_iter697); } 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 _iter708 : struct.fileIds) + for (long _iter698 : struct.fileIds) { - oprot.writeI64(_iter708); + oprot.writeI64(_iter698); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter709 : struct.metadata) + for (ByteBuffer _iter699 : struct.metadata) { - oprot.writeBinary(_iter709); + oprot.writeBinary(_iter699); } } 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 _list710 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list710.size); - long _elem711; - for (int _i712 = 0; _i712 < _list710.size; ++_i712) + org.apache.thrift.protocol.TList _list700 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list700.size); + long _elem701; + for (int _i702 = 0; _i702 < _list700.size; ++_i702) { - _elem711 = iprot.readI64(); - struct.fileIds.add(_elem711); + _elem701 = iprot.readI64(); + struct.fileIds.add(_elem701); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list713.size); - ByteBuffer _elem714; - for (int _i715 = 0; _i715 < _list713.size; ++_i715) + org.apache.thrift.protocol.TList _list703 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list703.size); + ByteBuffer _elem704; + for (int _i705 = 0; _i705 < _list703.size; ++_i705) { - _elem714 = iprot.readBinary(); - struct.metadata.add(_elem714); + _elem704 = iprot.readBinary(); + struct.metadata.add(_elem704); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java index f9c237091f..d1b52476e4 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/RequestPartsSpec.java +++ b/standalone-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 _list478 = iprot.readListBegin(); - names = new ArrayList(_list478.size); - String _elem479; - for (int _i480 = 0; _i480 < _list478.size; ++_i480) + org.apache.thrift.protocol.TList _list468 = iprot.readListBegin(); + names = new ArrayList(_list468.size); + String _elem469; + for (int _i470 = 0; _i470 < _list468.size; ++_i470) { - _elem479 = iprot.readString(); - names.add(_elem479); + _elem469 = iprot.readString(); + names.add(_elem469); } 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 _list481 = iprot.readListBegin(); - exprs = new ArrayList(_list481.size); - DropPartitionsExpr _elem482; - for (int _i483 = 0; _i483 < _list481.size; ++_i483) + org.apache.thrift.protocol.TList _list471 = iprot.readListBegin(); + exprs = new ArrayList(_list471.size); + DropPartitionsExpr _elem472; + for (int _i473 = 0; _i473 < _list471.size; ++_i473) { - _elem482 = new DropPartitionsExpr(); - _elem482.read(iprot); - exprs.add(_elem482); + _elem472 = new DropPartitionsExpr(); + _elem472.read(iprot); + exprs.add(_elem472); } 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 _iter484 : names) + for (String _iter474 : names) { - oprot.writeString(_iter484); + oprot.writeString(_iter474); } 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 _iter485 : exprs) + for (DropPartitionsExpr _iter475 : exprs) { - _iter485.write(oprot); + _iter475.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 _list486 = iprot.readListBegin(); - names = new ArrayList(_list486.size); - String _elem487; - for (int _i488 = 0; _i488 < _list486.size; ++_i488) + org.apache.thrift.protocol.TList _list476 = iprot.readListBegin(); + names = new ArrayList(_list476.size); + String _elem477; + for (int _i478 = 0; _i478 < _list476.size; ++_i478) { - _elem487 = iprot.readString(); - names.add(_elem487); + _elem477 = iprot.readString(); + names.add(_elem477); } iprot.readListEnd(); } @@ -264,14 +264,14 @@ protected Object tupleSchemeReadValue(org.apache.thrift.protocol.TProtocol iprot case EXPRS: List exprs; { - org.apache.thrift.protocol.TList _list489 = iprot.readListBegin(); - exprs = new ArrayList(_list489.size); - DropPartitionsExpr _elem490; - for (int _i491 = 0; _i491 < _list489.size; ++_i491) + org.apache.thrift.protocol.TList _list479 = iprot.readListBegin(); + exprs = new ArrayList(_list479.size); + DropPartitionsExpr _elem480; + for (int _i481 = 0; _i481 < _list479.size; ++_i481) { - _elem490 = new DropPartitionsExpr(); - _elem490.read(iprot); - exprs.add(_elem490); + _elem480 = new DropPartitionsExpr(); + _elem480.read(iprot); + exprs.add(_elem480); } 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 _iter492 : names) + for (String _iter482 : names) { - oprot.writeString(_iter492); + oprot.writeString(_iter482); } 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 _iter493 : exprs) + for (DropPartitionsExpr _iter483 : exprs) { - _iter493.write(oprot); + _iter483.write(oprot); } oprot.writeListEnd(); } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java index c95216fead..eaae445297 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Schema.java +++ b/standalone-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 _list304 = iprot.readListBegin(); - struct.fieldSchemas = new ArrayList(_list304.size); - FieldSchema _elem305; - for (int _i306 = 0; _i306 < _list304.size; ++_i306) + org.apache.thrift.protocol.TList _list294 = iprot.readListBegin(); + struct.fieldSchemas = new ArrayList(_list294.size); + FieldSchema _elem295; + for (int _i296 = 0; _i296 < _list294.size; ++_i296) { - _elem305 = new FieldSchema(); - _elem305.read(iprot); - struct.fieldSchemas.add(_elem305); + _elem295 = new FieldSchema(); + _elem295.read(iprot); + struct.fieldSchemas.add(_elem295); } 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 _map307 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map307.size); - String _key308; - String _val309; - for (int _i310 = 0; _i310 < _map307.size; ++_i310) + 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) { - _key308 = iprot.readString(); - _val309 = iprot.readString(); - struct.properties.put(_key308, _val309); + _key298 = iprot.readString(); + _val299 = iprot.readString(); + struct.properties.put(_key298, _val299); } 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 _iter311 : struct.fieldSchemas) + for (FieldSchema _iter301 : struct.fieldSchemas) { - _iter311.write(oprot); + _iter301.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 _iter312 : struct.properties.entrySet()) + for (Map.Entry _iter302 : struct.properties.entrySet()) { - oprot.writeString(_iter312.getKey()); - oprot.writeString(_iter312.getValue()); + oprot.writeString(_iter302.getKey()); + oprot.writeString(_iter302.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 _iter313 : struct.fieldSchemas) + for (FieldSchema _iter303 : struct.fieldSchemas) { - _iter313.write(oprot); + _iter303.write(oprot); } } } if (struct.isSetProperties()) { { oprot.writeI32(struct.properties.size()); - for (Map.Entry _iter314 : struct.properties.entrySet()) + for (Map.Entry _iter304 : struct.properties.entrySet()) { - oprot.writeString(_iter314.getKey()); - oprot.writeString(_iter314.getValue()); + oprot.writeString(_iter304.getKey()); + oprot.writeString(_iter304.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 _list315 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.fieldSchemas = new ArrayList(_list315.size); - FieldSchema _elem316; - for (int _i317 = 0; _i317 < _list315.size; ++_i317) + 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) { - _elem316 = new FieldSchema(); - _elem316.read(iprot); - struct.fieldSchemas.add(_elem316); + _elem306 = new FieldSchema(); + _elem306.read(iprot); + struct.fieldSchemas.add(_elem306); } } struct.setFieldSchemasIsSet(true); } if (incoming.get(1)) { { - 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 _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) { - _key319 = iprot.readString(); - _val320 = iprot.readString(); - struct.properties.put(_key319, _val320); + _key309 = iprot.readString(); + _val310 = iprot.readString(); + struct.properties.put(_key309, _val310); } } struct.setPropertiesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java index f4a66ed7af..ae0fbb4c4e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SetPartitionsStatsRequest.java @@ -435,14 +435,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 _list296 = iprot.readListBegin(); - struct.colStats = new ArrayList(_list296.size); - ColumnStatistics _elem297; - for (int _i298 = 0; _i298 < _list296.size; ++_i298) + org.apache.thrift.protocol.TList _list286 = iprot.readListBegin(); + struct.colStats = new ArrayList(_list286.size); + ColumnStatistics _elem287; + for (int _i288 = 0; _i288 < _list286.size; ++_i288) { - _elem297 = new ColumnStatistics(); - _elem297.read(iprot); - struct.colStats.add(_elem297); + _elem287 = new ColumnStatistics(); + _elem287.read(iprot); + struct.colStats.add(_elem287); } iprot.readListEnd(); } @@ -476,9 +476,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 _iter299 : struct.colStats) + for (ColumnStatistics _iter289 : struct.colStats) { - _iter299.write(oprot); + _iter289.write(oprot); } oprot.writeListEnd(); } @@ -508,9 +508,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SetPartitionsStatsR TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.colStats.size()); - for (ColumnStatistics _iter300 : struct.colStats) + for (ColumnStatistics _iter290 : struct.colStats) { - _iter300.write(oprot); + _iter290.write(oprot); } } BitSet optionals = new BitSet(); @@ -527,14 +527,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 _list301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.colStats = new ArrayList(_list301.size); - ColumnStatistics _elem302; - for (int _i303 = 0; _i303 < _list301.size; ++_i303) + 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) { - _elem302 = new ColumnStatistics(); - _elem302.read(iprot); - struct.colStats.add(_elem302); + _elem292 = new ColumnStatistics(); + _elem292.read(iprot); + struct.colStats.add(_elem292); } } struct.setColStatsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java index 1b506024f9..5687b1958d 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowCompactResponse.java +++ b/standalone-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 _list608 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list608.size); - ShowCompactResponseElement _elem609; - for (int _i610 = 0; _i610 < _list608.size; ++_i610) + org.apache.thrift.protocol.TList _list598 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list598.size); + ShowCompactResponseElement _elem599; + for (int _i600 = 0; _i600 < _list598.size; ++_i600) { - _elem609 = new ShowCompactResponseElement(); - _elem609.read(iprot); - struct.compacts.add(_elem609); + _elem599 = new ShowCompactResponseElement(); + _elem599.read(iprot); + struct.compacts.add(_elem599); } 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 _iter611 : struct.compacts) + for (ShowCompactResponseElement _iter601 : struct.compacts) { - _iter611.write(oprot); + _iter601.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 _iter612 : struct.compacts) + for (ShowCompactResponseElement _iter602 : struct.compacts) { - _iter612.write(oprot); + _iter602.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 _list613 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list613.size); - ShowCompactResponseElement _elem614; - for (int _i615 = 0; _i615 < _list613.size; ++_i615) + org.apache.thrift.protocol.TList _list603 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list603.size); + ShowCompactResponseElement _elem604; + for (int _i605 = 0; _i605 < _list603.size; ++_i605) { - _elem614 = new ShowCompactResponseElement(); - _elem614.read(iprot); - struct.compacts.add(_elem614); + _elem604 = new ShowCompactResponseElement(); + _elem604.read(iprot); + struct.compacts.add(_elem604); } } struct.setCompactsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java index a21a191b1d..f22deb2976 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ShowLocksResponse.java +++ b/standalone-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 _list574 = iprot.readListBegin(); - struct.locks = new ArrayList(_list574.size); - ShowLocksResponseElement _elem575; - for (int _i576 = 0; _i576 < _list574.size; ++_i576) + org.apache.thrift.protocol.TList _list564 = iprot.readListBegin(); + struct.locks = new ArrayList(_list564.size); + ShowLocksResponseElement _elem565; + for (int _i566 = 0; _i566 < _list564.size; ++_i566) { - _elem575 = new ShowLocksResponseElement(); - _elem575.read(iprot); - struct.locks.add(_elem575); + _elem565 = new ShowLocksResponseElement(); + _elem565.read(iprot); + struct.locks.add(_elem565); } 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 _iter577 : struct.locks) + for (ShowLocksResponseElement _iter567 : struct.locks) { - _iter577.write(oprot); + _iter567.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 _iter578 : struct.locks) + for (ShowLocksResponseElement _iter568 : struct.locks) { - _iter578.write(oprot); + _iter568.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 _list579 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list579.size); - ShowLocksResponseElement _elem580; - for (int _i581 = 0; _i581 < _list579.size; ++_i581) + org.apache.thrift.protocol.TList _list569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list569.size); + ShowLocksResponseElement _elem570; + for (int _i571 = 0; _i571 < _list569.size; ++_i571) { - _elem580 = new ShowLocksResponseElement(); - _elem580.read(iprot); - struct.locks.add(_elem580); + _elem570 = new ShowLocksResponseElement(); + _elem570.read(iprot); + struct.locks.add(_elem570); } } struct.setLocksIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java index f317b0393f..a132e5e838 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/Table.java @@ -53,7 +53,7 @@ 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 REWRITE_ENABLED_FIELD_DESC = new org.apache.thrift.protocol.TField("rewriteEnabled", org.apache.thrift.protocol.TType.BOOL, (short)15); - private static final org.apache.thrift.protocol.TField CREATION_METADATA_FIELD_DESC = new org.apache.thrift.protocol.TField("creationMetadata", org.apache.thrift.protocol.TType.MAP, (short)16); + private static final org.apache.thrift.protocol.TField CREATION_METADATA_FIELD_DESC = new org.apache.thrift.protocol.TField("creationMetadata", org.apache.thrift.protocol.TType.STRUCT, (short)16); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -76,7 +76,7 @@ private PrincipalPrivilegeSet privileges; // optional private boolean temporary; // optional private boolean rewriteEnabled; // optional - private Map creationMetadata; // optional + private CreationMetadata creationMetadata; // optional /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { @@ -226,9 +226,7 @@ public String getFieldName() { tmpMap.put(_Fields.REWRITE_ENABLED, new org.apache.thrift.meta_data.FieldMetaData("rewriteEnabled", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); tmpMap.put(_Fields.CREATION_METADATA, new org.apache.thrift.meta_data.FieldMetaData("creationMetadata", org.apache.thrift.TFieldRequirementType.OPTIONAL, - new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING), - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "BasicTxnInfo")))); + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT , "CreationMetadata"))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(Table.class, metaDataMap); } @@ -316,19 +314,7 @@ public Table(Table other) { this.temporary = other.temporary; this.rewriteEnabled = other.rewriteEnabled; if (other.isSetCreationMetadata()) { - Map __this__creationMetadata = new HashMap(other.creationMetadata.size()); - for (Map.Entry other_element : other.creationMetadata.entrySet()) { - - String other_element_key = other_element.getKey(); - BasicTxnInfo other_element_value = other_element.getValue(); - - String __this__creationMetadata_copy_key = other_element_key; - - BasicTxnInfo __this__creationMetadata_copy_value = other_element_value; - - __this__creationMetadata.put(__this__creationMetadata_copy_key, __this__creationMetadata_copy_value); - } - this.creationMetadata = __this__creationMetadata; + this.creationMetadata = other.creationMetadata; } } @@ -727,22 +713,11 @@ public void setRewriteEnabledIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __REWRITEENABLED_ISSET_ID, value); } - public int getCreationMetadataSize() { - return (this.creationMetadata == null) ? 0 : this.creationMetadata.size(); - } - - public void putToCreationMetadata(String key, BasicTxnInfo val) { - if (this.creationMetadata == null) { - this.creationMetadata = new HashMap(); - } - this.creationMetadata.put(key, val); - } - - public Map getCreationMetadata() { + public CreationMetadata getCreationMetadata() { return this.creationMetadata; } - public void setCreationMetadata(Map creationMetadata) { + public void setCreationMetadata(CreationMetadata creationMetadata) { this.creationMetadata = creationMetadata; } @@ -887,7 +862,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetCreationMetadata(); } else { - setCreationMetadata((Map)value); + setCreationMetadata((CreationMetadata)value); } break; @@ -1738,21 +1713,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Table struct) throw } break; case 16: // CREATION_METADATA - if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { - { - org.apache.thrift.protocol.TMap _map197 = iprot.readMapBegin(); - struct.creationMetadata = new HashMap(2*_map197.size); - String _key198; - BasicTxnInfo _val199; - for (int _i200 = 0; _i200 < _map197.size; ++_i200) - { - _key198 = iprot.readString(); - _val199 = new BasicTxnInfo(); - _val199.read(iprot); - struct.creationMetadata.put(_key198, _val199); - } - iprot.readMapEnd(); - } + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.creationMetadata = new CreationMetadata(); + struct.creationMetadata.read(iprot); struct.setCreationMetadataIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -1804,9 +1767,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 _iter201 : struct.partitionKeys) + for (FieldSchema _iter197 : struct.partitionKeys) { - _iter201.write(oprot); + _iter197.write(oprot); } oprot.writeListEnd(); } @@ -1816,10 +1779,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 _iter202 : struct.parameters.entrySet()) + for (Map.Entry _iter198 : struct.parameters.entrySet()) { - oprot.writeString(_iter202.getKey()); - oprot.writeString(_iter202.getValue()); + oprot.writeString(_iter198.getKey()); + oprot.writeString(_iter198.getValue()); } oprot.writeMapEnd(); } @@ -1860,15 +1823,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, Table struct) thro if (struct.creationMetadata != null) { if (struct.isSetCreationMetadata()) { oprot.writeFieldBegin(CREATION_METADATA_FIELD_DESC); - { - oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, struct.creationMetadata.size())); - for (Map.Entry _iter203 : struct.creationMetadata.entrySet()) - { - oprot.writeString(_iter203.getKey()); - _iter203.getValue().write(oprot); - } - oprot.writeMapEnd(); - } + struct.creationMetadata.write(oprot); oprot.writeFieldEnd(); } } @@ -1963,19 +1918,19 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Table struct) throw if (struct.isSetPartitionKeys()) { { oprot.writeI32(struct.partitionKeys.size()); - for (FieldSchema _iter204 : struct.partitionKeys) + for (FieldSchema _iter199 : struct.partitionKeys) { - _iter204.write(oprot); + _iter199.write(oprot); } } } if (struct.isSetParameters()) { { oprot.writeI32(struct.parameters.size()); - for (Map.Entry _iter205 : struct.parameters.entrySet()) + for (Map.Entry _iter200 : struct.parameters.entrySet()) { - oprot.writeString(_iter205.getKey()); - oprot.writeString(_iter205.getValue()); + oprot.writeString(_iter200.getKey()); + oprot.writeString(_iter200.getValue()); } } } @@ -1998,14 +1953,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Table struct) throw oprot.writeBool(struct.rewriteEnabled); } if (struct.isSetCreationMetadata()) { - { - oprot.writeI32(struct.creationMetadata.size()); - for (Map.Entry _iter206 : struct.creationMetadata.entrySet()) - { - oprot.writeString(_iter206.getKey()); - _iter206.getValue().write(oprot); - } - } + struct.creationMetadata.write(oprot); } } @@ -2044,29 +1992,29 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws } if (incoming.get(7)) { { - org.apache.thrift.protocol.TList _list207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.partitionKeys = new ArrayList(_list207.size); - FieldSchema _elem208; - for (int _i209 = 0; _i209 < _list207.size; ++_i209) + 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) { - _elem208 = new FieldSchema(); - _elem208.read(iprot); - struct.partitionKeys.add(_elem208); + _elem202 = new FieldSchema(); + _elem202.read(iprot); + struct.partitionKeys.add(_elem202); } } struct.setPartitionKeysIsSet(true); } if (incoming.get(8)) { { - org.apache.thrift.protocol.TMap _map210 = 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*_map210.size); - String _key211; - String _val212; - for (int _i213 = 0; _i213 < _map210.size; ++_i213) + 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) { - _key211 = iprot.readString(); - _val212 = iprot.readString(); - struct.parameters.put(_key211, _val212); + _key205 = iprot.readString(); + _val206 = iprot.readString(); + struct.parameters.put(_key205, _val206); } } struct.setParametersIsSet(true); @@ -2097,19 +2045,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, Table struct) throws struct.setRewriteEnabledIsSet(true); } if (incoming.get(15)) { - { - org.apache.thrift.protocol.TMap _map214 = new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.STRING, org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.creationMetadata = new HashMap(2*_map214.size); - String _key215; - BasicTxnInfo _val216; - for (int _i217 = 0; _i217 < _map214.size; ++_i217) - { - _key215 = iprot.readString(); - _val216 = new BasicTxnInfo(); - _val216.read(iprot); - struct.creationMetadata.put(_key215, _val216); - } - } + struct.creationMetadata = new CreationMetadata(); + struct.creationMetadata.read(iprot); struct.setCreationMetadataIsSet(true); } } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java index 575fa9f852..69be837ef9 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsRequest.java +++ b/standalone-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 _list430 = iprot.readListBegin(); - struct.colNames = new ArrayList(_list430.size); - String _elem431; - for (int _i432 = 0; _i432 < _list430.size; ++_i432) + org.apache.thrift.protocol.TList _list420 = iprot.readListBegin(); + struct.colNames = new ArrayList(_list420.size); + String _elem421; + for (int _i422 = 0; _i422 < _list420.size; ++_i422) { - _elem431 = iprot.readString(); - struct.colNames.add(_elem431); + _elem421 = iprot.readString(); + struct.colNames.add(_elem421); } 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 _iter433 : struct.colNames) + for (String _iter423 : struct.colNames) { - oprot.writeString(_iter433); + oprot.writeString(_iter423); } 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 _iter434 : struct.colNames) + for (String _iter424 : struct.colNames) { - oprot.writeString(_iter434); + oprot.writeString(_iter424); } } } @@ -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 _list435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.colNames = new ArrayList(_list435.size); - String _elem436; - for (int _i437 = 0; _i437 < _list435.size; ++_i437) + org.apache.thrift.protocol.TList _list425 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.colNames = new ArrayList(_list425.size); + String _elem426; + for (int _i427 = 0; _i427 < _list425.size; ++_i427) { - _elem436 = iprot.readString(); - struct.colNames.add(_elem436); + _elem426 = iprot.readString(); + struct.colNames.add(_elem426); } } struct.setColNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java index 32aeb9db7e..e65166ea0e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableStatsResult.java +++ b/standalone-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 _list404 = iprot.readListBegin(); - struct.tableStats = new ArrayList(_list404.size); - ColumnStatisticsObj _elem405; - for (int _i406 = 0; _i406 < _list404.size; ++_i406) + org.apache.thrift.protocol.TList _list394 = iprot.readListBegin(); + struct.tableStats = new ArrayList(_list394.size); + ColumnStatisticsObj _elem395; + for (int _i396 = 0; _i396 < _list394.size; ++_i396) { - _elem405 = new ColumnStatisticsObj(); - _elem405.read(iprot); - struct.tableStats.add(_elem405); + _elem395 = new ColumnStatisticsObj(); + _elem395.read(iprot); + struct.tableStats.add(_elem395); } 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 _iter407 : struct.tableStats) + for (ColumnStatisticsObj _iter397 : struct.tableStats) { - _iter407.write(oprot); + _iter397.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 _iter408 : struct.tableStats) + for (ColumnStatisticsObj _iter398 : struct.tableStats) { - _iter408.write(oprot); + _iter398.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 _list409 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tableStats = new ArrayList(_list409.size); - ColumnStatisticsObj _elem410; - for (int _i411 = 0; _i411 < _list409.size; ++_i411) + org.apache.thrift.protocol.TList _list399 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tableStats = new ArrayList(_list399.size); + ColumnStatisticsObj _elem400; + for (int _i401 = 0; _i401 < _list399.size; ++_i401) { - _elem410 = new ColumnStatisticsObj(); - _elem410.read(iprot); - struct.tableStats.add(_elem410); + _elem400 = new ColumnStatisticsObj(); + _elem400.read(iprot); + struct.tableStats.add(_elem400); } } struct.setTableStatsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java index aaca40873c..d5e3527d09 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java @@ -346,10 +346,6 @@ public void add_dynamic_partitions(AddDynamicPartitions rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException; - public List get_last_completed_transaction_for_tables(List db_names, List table_names, TxnsSnapshot txns_snapshot) throws org.apache.thrift.TException; - - public BasicTxnInfo get_last_completed_transaction_for_table(String db_name, String table_name, TxnsSnapshot txns_snapshot) throws org.apache.thrift.TException; - public NotificationEventResponse get_next_notification(NotificationEventRequest rqst) throws org.apache.thrift.TException; public CurrentNotificationEventId get_current_notificationEventId() throws org.apache.thrift.TException; @@ -716,10 +712,6 @@ public void add_dynamic_partitions(AddDynamicPartitions rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_last_completed_transaction_for_tables(List db_names, List table_names, TxnsSnapshot txns_snapshot, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - - public void get_last_completed_transaction_for_table(String db_name, String table_name, TxnsSnapshot txns_snapshot, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; - public void get_next_notification(NotificationEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void get_current_notificationEventId(org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -5228,56 +5220,6 @@ public void recv_add_dynamic_partitions() throws NoSuchTxnException, TxnAbortedE return; } - public List get_last_completed_transaction_for_tables(List db_names, List table_names, TxnsSnapshot txns_snapshot) throws org.apache.thrift.TException - { - send_get_last_completed_transaction_for_tables(db_names, table_names, txns_snapshot); - return recv_get_last_completed_transaction_for_tables(); - } - - public void send_get_last_completed_transaction_for_tables(List db_names, List table_names, TxnsSnapshot txns_snapshot) throws org.apache.thrift.TException - { - get_last_completed_transaction_for_tables_args args = new get_last_completed_transaction_for_tables_args(); - args.setDb_names(db_names); - args.setTable_names(table_names); - args.setTxns_snapshot(txns_snapshot); - sendBase("get_last_completed_transaction_for_tables", args); - } - - public List recv_get_last_completed_transaction_for_tables() throws org.apache.thrift.TException - { - get_last_completed_transaction_for_tables_result result = new get_last_completed_transaction_for_tables_result(); - receiveBase(result, "get_last_completed_transaction_for_tables"); - if (result.isSetSuccess()) { - return result.success; - } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_last_completed_transaction_for_tables failed: unknown result"); - } - - public BasicTxnInfo get_last_completed_transaction_for_table(String db_name, String table_name, TxnsSnapshot txns_snapshot) throws org.apache.thrift.TException - { - send_get_last_completed_transaction_for_table(db_name, table_name, txns_snapshot); - return recv_get_last_completed_transaction_for_table(); - } - - public void send_get_last_completed_transaction_for_table(String db_name, String table_name, TxnsSnapshot txns_snapshot) throws org.apache.thrift.TException - { - get_last_completed_transaction_for_table_args args = new get_last_completed_transaction_for_table_args(); - args.setDb_name(db_name); - args.setTable_name(table_name); - args.setTxns_snapshot(txns_snapshot); - sendBase("get_last_completed_transaction_for_table", args); - } - - public BasicTxnInfo recv_get_last_completed_transaction_for_table() throws org.apache.thrift.TException - { - get_last_completed_transaction_for_table_result result = new get_last_completed_transaction_for_table_result(); - receiveBase(result, "get_last_completed_transaction_for_table"); - if (result.isSetSuccess()) { - return result.success; - } - throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "get_last_completed_transaction_for_table failed: unknown result"); - } - public NotificationEventResponse get_next_notification(NotificationEventRequest rqst) throws org.apache.thrift.TException { send_get_next_notification(rqst); @@ -11484,82 +11426,6 @@ public void getResult() throws NoSuchTxnException, TxnAbortedException, org.apac } } - public void get_last_completed_transaction_for_tables(List db_names, List table_names, TxnsSnapshot txns_snapshot, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - checkReady(); - get_last_completed_transaction_for_tables_call method_call = new get_last_completed_transaction_for_tables_call(db_names, table_names, txns_snapshot, resultHandler, this, ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_last_completed_transaction_for_tables_call extends org.apache.thrift.async.TAsyncMethodCall { - private List db_names; - private List table_names; - private TxnsSnapshot txns_snapshot; - public get_last_completed_transaction_for_tables_call(List db_names, List table_names, TxnsSnapshot txns_snapshot, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { - super(client, protocolFactory, transport, resultHandler, false); - this.db_names = db_names; - this.table_names = table_names; - this.txns_snapshot = txns_snapshot; - } - - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_last_completed_transaction_for_tables", org.apache.thrift.protocol.TMessageType.CALL, 0)); - get_last_completed_transaction_for_tables_args args = new get_last_completed_transaction_for_tables_args(); - args.setDb_names(db_names); - args.setTable_names(table_names); - args.setTxns_snapshot(txns_snapshot); - args.write(prot); - prot.writeMessageEnd(); - } - - public List getResult() throws org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { - throw new IllegalStateException("Method call not finished!"); - } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_get_last_completed_transaction_for_tables(); - } - } - - public void get_last_completed_transaction_for_table(String db_name, String table_name, TxnsSnapshot txns_snapshot, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { - checkReady(); - get_last_completed_transaction_for_table_call method_call = new get_last_completed_transaction_for_table_call(db_name, table_name, txns_snapshot, resultHandler, this, ___protocolFactory, ___transport); - this.___currentMethod = method_call; - ___manager.call(method_call); - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_last_completed_transaction_for_table_call extends org.apache.thrift.async.TAsyncMethodCall { - private String db_name; - private String table_name; - private TxnsSnapshot txns_snapshot; - public get_last_completed_transaction_for_table_call(String db_name, String table_name, TxnsSnapshot txns_snapshot, org.apache.thrift.async.AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException { - super(client, protocolFactory, transport, resultHandler, false); - this.db_name = db_name; - this.table_name = table_name; - this.txns_snapshot = txns_snapshot; - } - - public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { - prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("get_last_completed_transaction_for_table", org.apache.thrift.protocol.TMessageType.CALL, 0)); - get_last_completed_transaction_for_table_args args = new get_last_completed_transaction_for_table_args(); - args.setDb_name(db_name); - args.setTable_name(table_name); - args.setTxns_snapshot(txns_snapshot); - args.write(prot); - prot.writeMessageEnd(); - } - - public BasicTxnInfo getResult() throws org.apache.thrift.TException { - if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) { - throw new IllegalStateException("Method call not finished!"); - } - org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array()); - org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport); - return (new Client(prot)).recv_get_last_completed_transaction_for_table(); - } - } - public void get_next_notification(NotificationEventRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_next_notification_call method_call = new get_next_notification_call(rqst, resultHandler, this, ___protocolFactory, ___transport); @@ -12644,8 +12510,6 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { - public get_last_completed_transaction_for_tables() { - super("get_last_completed_transaction_for_tables"); - } - - public get_last_completed_transaction_for_tables_args getEmptyArgsInstance() { - return new get_last_completed_transaction_for_tables_args(); - } - - protected boolean isOneway() { - return false; - } - - public get_last_completed_transaction_for_tables_result getResult(I iface, get_last_completed_transaction_for_tables_args args) throws org.apache.thrift.TException { - get_last_completed_transaction_for_tables_result result = new get_last_completed_transaction_for_tables_result(); - result.success = iface.get_last_completed_transaction_for_tables(args.db_names, args.table_names, args.txns_snapshot); - return result; - } - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_last_completed_transaction_for_table extends org.apache.thrift.ProcessFunction { - public get_last_completed_transaction_for_table() { - super("get_last_completed_transaction_for_table"); - } - - public get_last_completed_transaction_for_table_args getEmptyArgsInstance() { - return new get_last_completed_transaction_for_table_args(); - } - - protected boolean isOneway() { - return false; - } - - public get_last_completed_transaction_for_table_result getResult(I iface, get_last_completed_transaction_for_table_args args) throws org.apache.thrift.TException { - get_last_completed_transaction_for_table_result result = new get_last_completed_transaction_for_table_result(); - result.success = iface.get_last_completed_transaction_for_table(args.db_name, args.table_name, args.txns_snapshot); - return result; - } - } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_next_notification extends org.apache.thrift.ProcessFunction { public get_next_notification() { super("get_next_notification"); @@ -17527,8 +17351,6 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction> { - public get_last_completed_transaction_for_tables() { - super("get_last_completed_transaction_for_tables"); - } - - public get_last_completed_transaction_for_tables_args getEmptyArgsInstance() { - return new get_last_completed_transaction_for_tables_args(); - } - - public AsyncMethodCallback> getResultHandler(final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback>() { - public void onComplete(List o) { - get_last_completed_transaction_for_tables_result result = new get_last_completed_transaction_for_tables_result(); - result.success = o; - try { - fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - return; - } catch (Exception e) { - LOGGER.error("Exception writing to internal frame buffer", e); - } - fb.close(); - } - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - get_last_completed_transaction_for_tables_result result = new get_last_completed_transaction_for_tables_result(); - { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); - } - try { - fcall.sendResponse(fb,msg,msgType,seqid); - return; - } catch (Exception ex) { - LOGGER.error("Exception writing to internal frame buffer", ex); - } - fb.close(); - } - }; - } - - protected boolean isOneway() { - return false; - } - - public void start(I iface, get_last_completed_transaction_for_tables_args args, org.apache.thrift.async.AsyncMethodCallback> resultHandler) throws TException { - iface.get_last_completed_transaction_for_tables(args.db_names, args.table_names, args.txns_snapshot,resultHandler); - } - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_last_completed_transaction_for_table extends org.apache.thrift.AsyncProcessFunction { - public get_last_completed_transaction_for_table() { - super("get_last_completed_transaction_for_table"); - } - - public get_last_completed_transaction_for_table_args getEmptyArgsInstance() { - return new get_last_completed_transaction_for_table_args(); - } - - public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { - final org.apache.thrift.AsyncProcessFunction fcall = this; - return new AsyncMethodCallback() { - public void onComplete(BasicTxnInfo o) { - get_last_completed_transaction_for_table_result result = new get_last_completed_transaction_for_table_result(); - result.success = o; - try { - fcall.sendResponse(fb,result, org.apache.thrift.protocol.TMessageType.REPLY,seqid); - return; - } catch (Exception e) { - LOGGER.error("Exception writing to internal frame buffer", e); - } - fb.close(); - } - public void onError(Exception e) { - byte msgType = org.apache.thrift.protocol.TMessageType.REPLY; - org.apache.thrift.TBase msg; - get_last_completed_transaction_for_table_result result = new get_last_completed_transaction_for_table_result(); - { - msgType = org.apache.thrift.protocol.TMessageType.EXCEPTION; - msg = (org.apache.thrift.TBase)new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.INTERNAL_ERROR, e.getMessage()); - } - try { - fcall.sendResponse(fb,msg,msgType,seqid); - return; - } catch (Exception ex) { - LOGGER.error("Exception writing to internal frame buffer", ex); - } - fb.close(); - } - }; - } - - protected boolean isOneway() { - return false; - } - - public void start(I iface, get_last_completed_transaction_for_table_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { - iface.get_last_completed_transaction_for_table(args.db_name, args.table_name, args.txns_snapshot,resultHandler); - } - } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_next_notification extends org.apache.thrift.AsyncProcessFunction { public get_next_notification() { super("get_next_notification"); @@ -34145,13 +33865,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 _list828 = iprot.readListBegin(); - struct.success = new ArrayList(_list828.size); - String _elem829; - for (int _i830 = 0; _i830 < _list828.size; ++_i830) + org.apache.thrift.protocol.TList _list818 = iprot.readListBegin(); + struct.success = new ArrayList(_list818.size); + String _elem819; + for (int _i820 = 0; _i820 < _list818.size; ++_i820) { - _elem829 = iprot.readString(); - struct.success.add(_elem829); + _elem819 = iprot.readString(); + struct.success.add(_elem819); } iprot.readListEnd(); } @@ -34186,9 +33906,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 _iter831 : struct.success) + for (String _iter821 : struct.success) { - oprot.writeString(_iter831); + oprot.writeString(_iter821); } oprot.writeListEnd(); } @@ -34227,9 +33947,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter832 : struct.success) + for (String _iter822 : struct.success) { - oprot.writeString(_iter832); + oprot.writeString(_iter822); } } } @@ -34244,13 +33964,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 _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list833.size); - String _elem834; - for (int _i835 = 0; _i835 < _list833.size; ++_i835) + org.apache.thrift.protocol.TList _list823 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list823.size); + String _elem824; + for (int _i825 = 0; _i825 < _list823.size; ++_i825) { - _elem834 = iprot.readString(); - struct.success.add(_elem834); + _elem824 = iprot.readString(); + struct.success.add(_elem824); } } struct.setSuccessIsSet(true); @@ -34904,13 +34624,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 _list836 = iprot.readListBegin(); - struct.success = new ArrayList(_list836.size); - String _elem837; - for (int _i838 = 0; _i838 < _list836.size; ++_i838) + org.apache.thrift.protocol.TList _list826 = iprot.readListBegin(); + struct.success = new ArrayList(_list826.size); + String _elem827; + for (int _i828 = 0; _i828 < _list826.size; ++_i828) { - _elem837 = iprot.readString(); - struct.success.add(_elem837); + _elem827 = iprot.readString(); + struct.success.add(_elem827); } iprot.readListEnd(); } @@ -34945,9 +34665,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 _iter839 : struct.success) + for (String _iter829 : struct.success) { - oprot.writeString(_iter839); + oprot.writeString(_iter829); } oprot.writeListEnd(); } @@ -34986,9 +34706,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter840 : struct.success) + for (String _iter830 : struct.success) { - oprot.writeString(_iter840); + oprot.writeString(_iter830); } } } @@ -35003,13 +34723,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 _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list841.size); - String _elem842; - for (int _i843 = 0; _i843 < _list841.size; ++_i843) + org.apache.thrift.protocol.TList _list831 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list831.size); + String _elem832; + for (int _i833 = 0; _i833 < _list831.size; ++_i833) { - _elem842 = iprot.readString(); - struct.success.add(_elem842); + _elem832 = iprot.readString(); + struct.success.add(_elem832); } } struct.setSuccessIsSet(true); @@ -39616,16 +39336,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 _map844 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map844.size); - String _key845; - Type _val846; - for (int _i847 = 0; _i847 < _map844.size; ++_i847) + org.apache.thrift.protocol.TMap _map834 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map834.size); + String _key835; + Type _val836; + for (int _i837 = 0; _i837 < _map834.size; ++_i837) { - _key845 = iprot.readString(); - _val846 = new Type(); - _val846.read(iprot); - struct.success.put(_key845, _val846); + _key835 = iprot.readString(); + _val836 = new Type(); + _val836.read(iprot); + struct.success.put(_key835, _val836); } iprot.readMapEnd(); } @@ -39660,10 +39380,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 _iter848 : struct.success.entrySet()) + for (Map.Entry _iter838 : struct.success.entrySet()) { - oprot.writeString(_iter848.getKey()); - _iter848.getValue().write(oprot); + oprot.writeString(_iter838.getKey()); + _iter838.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -39702,10 +39422,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 _iter849 : struct.success.entrySet()) + for (Map.Entry _iter839 : struct.success.entrySet()) { - oprot.writeString(_iter849.getKey()); - _iter849.getValue().write(oprot); + oprot.writeString(_iter839.getKey()); + _iter839.getValue().write(oprot); } } } @@ -39720,16 +39440,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 _map850 = 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*_map850.size); - String _key851; - Type _val852; - for (int _i853 = 0; _i853 < _map850.size; ++_i853) + org.apache.thrift.protocol.TMap _map840 = 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*_map840.size); + String _key841; + Type _val842; + for (int _i843 = 0; _i843 < _map840.size; ++_i843) { - _key851 = iprot.readString(); - _val852 = new Type(); - _val852.read(iprot); - struct.success.put(_key851, _val852); + _key841 = iprot.readString(); + _val842 = new Type(); + _val842.read(iprot); + struct.success.put(_key841, _val842); } } struct.setSuccessIsSet(true); @@ -40764,14 +40484,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 _list854 = iprot.readListBegin(); - struct.success = new ArrayList(_list854.size); - FieldSchema _elem855; - for (int _i856 = 0; _i856 < _list854.size; ++_i856) + org.apache.thrift.protocol.TList _list844 = iprot.readListBegin(); + struct.success = new ArrayList(_list844.size); + FieldSchema _elem845; + for (int _i846 = 0; _i846 < _list844.size; ++_i846) { - _elem855 = new FieldSchema(); - _elem855.read(iprot); - struct.success.add(_elem855); + _elem845 = new FieldSchema(); + _elem845.read(iprot); + struct.success.add(_elem845); } iprot.readListEnd(); } @@ -40824,9 +40544,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 _iter857 : struct.success) + for (FieldSchema _iter847 : struct.success) { - _iter857.write(oprot); + _iter847.write(oprot); } oprot.writeListEnd(); } @@ -40881,9 +40601,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter858 : struct.success) + for (FieldSchema _iter848 : struct.success) { - _iter858.write(oprot); + _iter848.write(oprot); } } } @@ -40904,14 +40624,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 _list859 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list859.size); - FieldSchema _elem860; - for (int _i861 = 0; _i861 < _list859.size; ++_i861) + org.apache.thrift.protocol.TList _list849 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list849.size); + FieldSchema _elem850; + for (int _i851 = 0; _i851 < _list849.size; ++_i851) { - _elem860 = new FieldSchema(); - _elem860.read(iprot); - struct.success.add(_elem860); + _elem850 = new FieldSchema(); + _elem850.read(iprot); + struct.success.add(_elem850); } } struct.setSuccessIsSet(true); @@ -42065,14 +41785,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 _list862 = iprot.readListBegin(); - struct.success = new ArrayList(_list862.size); - FieldSchema _elem863; - for (int _i864 = 0; _i864 < _list862.size; ++_i864) + org.apache.thrift.protocol.TList _list852 = iprot.readListBegin(); + struct.success = new ArrayList(_list852.size); + FieldSchema _elem853; + for (int _i854 = 0; _i854 < _list852.size; ++_i854) { - _elem863 = new FieldSchema(); - _elem863.read(iprot); - struct.success.add(_elem863); + _elem853 = new FieldSchema(); + _elem853.read(iprot); + struct.success.add(_elem853); } iprot.readListEnd(); } @@ -42125,9 +41845,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 _iter865 : struct.success) + for (FieldSchema _iter855 : struct.success) { - _iter865.write(oprot); + _iter855.write(oprot); } oprot.writeListEnd(); } @@ -42182,9 +41902,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter866 : struct.success) + for (FieldSchema _iter856 : struct.success) { - _iter866.write(oprot); + _iter856.write(oprot); } } } @@ -42205,14 +41925,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 _list867 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list867.size); - FieldSchema _elem868; - for (int _i869 = 0; _i869 < _list867.size; ++_i869) + org.apache.thrift.protocol.TList _list857 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list857.size); + FieldSchema _elem858; + for (int _i859 = 0; _i859 < _list857.size; ++_i859) { - _elem868 = new FieldSchema(); - _elem868.read(iprot); - struct.success.add(_elem868); + _elem858 = new FieldSchema(); + _elem858.read(iprot); + struct.success.add(_elem858); } } struct.setSuccessIsSet(true); @@ -43257,14 +42977,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 _list870 = iprot.readListBegin(); - struct.success = new ArrayList(_list870.size); - FieldSchema _elem871; - for (int _i872 = 0; _i872 < _list870.size; ++_i872) + org.apache.thrift.protocol.TList _list860 = iprot.readListBegin(); + struct.success = new ArrayList(_list860.size); + FieldSchema _elem861; + for (int _i862 = 0; _i862 < _list860.size; ++_i862) { - _elem871 = new FieldSchema(); - _elem871.read(iprot); - struct.success.add(_elem871); + _elem861 = new FieldSchema(); + _elem861.read(iprot); + struct.success.add(_elem861); } iprot.readListEnd(); } @@ -43317,9 +43037,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 _iter873 : struct.success) + for (FieldSchema _iter863 : struct.success) { - _iter873.write(oprot); + _iter863.write(oprot); } oprot.writeListEnd(); } @@ -43374,9 +43094,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter874 : struct.success) + for (FieldSchema _iter864 : struct.success) { - _iter874.write(oprot); + _iter864.write(oprot); } } } @@ -43397,14 +43117,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 _list875 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list875.size); - FieldSchema _elem876; - for (int _i877 = 0; _i877 < _list875.size; ++_i877) + org.apache.thrift.protocol.TList _list865 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list865.size); + FieldSchema _elem866; + for (int _i867 = 0; _i867 < _list865.size; ++_i867) { - _elem876 = new FieldSchema(); - _elem876.read(iprot); - struct.success.add(_elem876); + _elem866 = new FieldSchema(); + _elem866.read(iprot); + struct.success.add(_elem866); } } struct.setSuccessIsSet(true); @@ -44558,14 +44278,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 _list878 = iprot.readListBegin(); - struct.success = new ArrayList(_list878.size); - FieldSchema _elem879; - for (int _i880 = 0; _i880 < _list878.size; ++_i880) + org.apache.thrift.protocol.TList _list868 = iprot.readListBegin(); + struct.success = new ArrayList(_list868.size); + FieldSchema _elem869; + for (int _i870 = 0; _i870 < _list868.size; ++_i870) { - _elem879 = new FieldSchema(); - _elem879.read(iprot); - struct.success.add(_elem879); + _elem869 = new FieldSchema(); + _elem869.read(iprot); + struct.success.add(_elem869); } iprot.readListEnd(); } @@ -44618,9 +44338,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 _iter881 : struct.success) + for (FieldSchema _iter871 : struct.success) { - _iter881.write(oprot); + _iter871.write(oprot); } oprot.writeListEnd(); } @@ -44675,9 +44395,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter882 : struct.success) + for (FieldSchema _iter872 : struct.success) { - _iter882.write(oprot); + _iter872.write(oprot); } } } @@ -44698,14 +44418,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 _list883 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list883.size); - FieldSchema _elem884; - for (int _i885 = 0; _i885 < _list883.size; ++_i885) + org.apache.thrift.protocol.TList _list873 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list873.size); + FieldSchema _elem874; + for (int _i875 = 0; _i875 < _list873.size; ++_i875) { - _elem884 = new FieldSchema(); - _elem884.read(iprot); - struct.success.add(_elem884); + _elem874 = new FieldSchema(); + _elem874.read(iprot); + struct.success.add(_elem874); } } struct.setSuccessIsSet(true); @@ -47632,14 +47352,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 2: // PRIMARY_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list886 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list886.size); - SQLPrimaryKey _elem887; - for (int _i888 = 0; _i888 < _list886.size; ++_i888) + org.apache.thrift.protocol.TList _list876 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list876.size); + SQLPrimaryKey _elem877; + for (int _i878 = 0; _i878 < _list876.size; ++_i878) { - _elem887 = new SQLPrimaryKey(); - _elem887.read(iprot); - struct.primaryKeys.add(_elem887); + _elem877 = new SQLPrimaryKey(); + _elem877.read(iprot); + struct.primaryKeys.add(_elem877); } iprot.readListEnd(); } @@ -47651,14 +47371,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 3: // FOREIGN_KEYS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list889 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list889.size); - SQLForeignKey _elem890; - for (int _i891 = 0; _i891 < _list889.size; ++_i891) + org.apache.thrift.protocol.TList _list879 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list879.size); + SQLForeignKey _elem880; + for (int _i881 = 0; _i881 < _list879.size; ++_i881) { - _elem890 = new SQLForeignKey(); - _elem890.read(iprot); - struct.foreignKeys.add(_elem890); + _elem880 = new SQLForeignKey(); + _elem880.read(iprot); + struct.foreignKeys.add(_elem880); } iprot.readListEnd(); } @@ -47670,14 +47390,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 4: // UNIQUE_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list892 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list892.size); - SQLUniqueConstraint _elem893; - for (int _i894 = 0; _i894 < _list892.size; ++_i894) + org.apache.thrift.protocol.TList _list882 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list882.size); + SQLUniqueConstraint _elem883; + for (int _i884 = 0; _i884 < _list882.size; ++_i884) { - _elem893 = new SQLUniqueConstraint(); - _elem893.read(iprot); - struct.uniqueConstraints.add(_elem893); + _elem883 = new SQLUniqueConstraint(); + _elem883.read(iprot); + struct.uniqueConstraints.add(_elem883); } iprot.readListEnd(); } @@ -47689,14 +47409,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 5: // NOT_NULL_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list895 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list895.size); - SQLNotNullConstraint _elem896; - for (int _i897 = 0; _i897 < _list895.size; ++_i897) + org.apache.thrift.protocol.TList _list885 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list885.size); + SQLNotNullConstraint _elem886; + for (int _i887 = 0; _i887 < _list885.size; ++_i887) { - _elem896 = new SQLNotNullConstraint(); - _elem896.read(iprot); - struct.notNullConstraints.add(_elem896); + _elem886 = new SQLNotNullConstraint(); + _elem886.read(iprot); + struct.notNullConstraints.add(_elem886); } iprot.readListEnd(); } @@ -47727,9 +47447,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(PRIMARY_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.primaryKeys.size())); - for (SQLPrimaryKey _iter898 : struct.primaryKeys) + for (SQLPrimaryKey _iter888 : struct.primaryKeys) { - _iter898.write(oprot); + _iter888.write(oprot); } oprot.writeListEnd(); } @@ -47739,9 +47459,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(FOREIGN_KEYS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.foreignKeys.size())); - for (SQLForeignKey _iter899 : struct.foreignKeys) + for (SQLForeignKey _iter889 : struct.foreignKeys) { - _iter899.write(oprot); + _iter889.write(oprot); } oprot.writeListEnd(); } @@ -47751,9 +47471,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(UNIQUE_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraints.size())); - for (SQLUniqueConstraint _iter900 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter890 : struct.uniqueConstraints) { - _iter900.write(oprot); + _iter890.write(oprot); } oprot.writeListEnd(); } @@ -47763,9 +47483,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(NOT_NULL_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.notNullConstraints.size())); - for (SQLNotNullConstraint _iter901 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter891 : struct.notNullConstraints) { - _iter901.write(oprot); + _iter891.write(oprot); } oprot.writeListEnd(); } @@ -47811,36 +47531,36 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter902 : struct.primaryKeys) + for (SQLPrimaryKey _iter892 : struct.primaryKeys) { - _iter902.write(oprot); + _iter892.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter903 : struct.foreignKeys) + for (SQLForeignKey _iter893 : struct.foreignKeys) { - _iter903.write(oprot); + _iter893.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter904 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter894 : struct.uniqueConstraints) { - _iter904.write(oprot); + _iter894.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter905 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter895 : struct.notNullConstraints) { - _iter905.write(oprot); + _iter895.write(oprot); } } } @@ -47857,56 +47577,56 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list906 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list906.size); - SQLPrimaryKey _elem907; - for (int _i908 = 0; _i908 < _list906.size; ++_i908) + org.apache.thrift.protocol.TList _list896 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list896.size); + SQLPrimaryKey _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem907 = new SQLPrimaryKey(); - _elem907.read(iprot); - struct.primaryKeys.add(_elem907); + _elem897 = new SQLPrimaryKey(); + _elem897.read(iprot); + struct.primaryKeys.add(_elem897); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list909.size); - SQLForeignKey _elem910; - for (int _i911 = 0; _i911 < _list909.size; ++_i911) + org.apache.thrift.protocol.TList _list899 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list899.size); + SQLForeignKey _elem900; + for (int _i901 = 0; _i901 < _list899.size; ++_i901) { - _elem910 = new SQLForeignKey(); - _elem910.read(iprot); - struct.foreignKeys.add(_elem910); + _elem900 = new SQLForeignKey(); + _elem900.read(iprot); + struct.foreignKeys.add(_elem900); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list912 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list912.size); - SQLUniqueConstraint _elem913; - for (int _i914 = 0; _i914 < _list912.size; ++_i914) + org.apache.thrift.protocol.TList _list902 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list902.size); + SQLUniqueConstraint _elem903; + for (int _i904 = 0; _i904 < _list902.size; ++_i904) { - _elem913 = new SQLUniqueConstraint(); - _elem913.read(iprot); - struct.uniqueConstraints.add(_elem913); + _elem903 = new SQLUniqueConstraint(); + _elem903.read(iprot); + struct.uniqueConstraints.add(_elem903); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list915 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list915.size); - SQLNotNullConstraint _elem916; - for (int _i917 = 0; _i917 < _list915.size; ++_i917) + org.apache.thrift.protocol.TList _list905 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list905.size); + SQLNotNullConstraint _elem906; + for (int _i907 = 0; _i907 < _list905.size; ++_i907) { - _elem916 = new SQLNotNullConstraint(); - _elem916.read(iprot); - struct.notNullConstraints.add(_elem916); + _elem906 = new SQLNotNullConstraint(); + _elem906.read(iprot); + struct.notNullConstraints.add(_elem906); } } struct.setNotNullConstraintsIsSet(true); @@ -55398,13 +55118,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, truncate_table_args case 3: // PART_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list918 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list918.size); - String _elem919; - for (int _i920 = 0; _i920 < _list918.size; ++_i920) + org.apache.thrift.protocol.TList _list908 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list908.size); + String _elem909; + for (int _i910 = 0; _i910 < _list908.size; ++_i910) { - _elem919 = iprot.readString(); - struct.partNames.add(_elem919); + _elem909 = iprot.readString(); + struct.partNames.add(_elem909); } iprot.readListEnd(); } @@ -55440,9 +55160,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, truncate_table_arg oprot.writeFieldBegin(PART_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partNames.size())); - for (String _iter921 : struct.partNames) + for (String _iter911 : struct.partNames) { - oprot.writeString(_iter921); + oprot.writeString(_iter911); } oprot.writeListEnd(); } @@ -55485,9 +55205,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter922 : struct.partNames) + for (String _iter912 : struct.partNames) { - oprot.writeString(_iter922); + oprot.writeString(_iter912); } } } @@ -55507,13 +55227,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } 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.partNames = new ArrayList(_list923.size); - String _elem924; - for (int _i925 = 0; _i925 < _list923.size; ++_i925) + org.apache.thrift.protocol.TList _list913 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list913.size); + String _elem914; + for (int _i915 = 0; _i915 < _list913.size; ++_i915) { - _elem924 = iprot.readString(); - struct.partNames.add(_elem924); + _elem914 = iprot.readString(); + struct.partNames.add(_elem914); } } struct.setPartNamesIsSet(true); @@ -56738,13 +56458,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 _list926 = iprot.readListBegin(); - struct.success = new ArrayList(_list926.size); - String _elem927; - for (int _i928 = 0; _i928 < _list926.size; ++_i928) + org.apache.thrift.protocol.TList _list916 = iprot.readListBegin(); + struct.success = new ArrayList(_list916.size); + String _elem917; + for (int _i918 = 0; _i918 < _list916.size; ++_i918) { - _elem927 = iprot.readString(); - struct.success.add(_elem927); + _elem917 = iprot.readString(); + struct.success.add(_elem917); } iprot.readListEnd(); } @@ -56779,9 +56499,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 _iter929 : struct.success) + for (String _iter919 : struct.success) { - oprot.writeString(_iter929); + oprot.writeString(_iter919); } oprot.writeListEnd(); } @@ -56820,9 +56540,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter930 : struct.success) + for (String _iter920 : struct.success) { - oprot.writeString(_iter930); + oprot.writeString(_iter920); } } } @@ -56837,13 +56557,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 _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) + org.apache.thrift.protocol.TList _list921 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list921.size); + String _elem922; + for (int _i923 = 0; _i923 < _list921.size; ++_i923) { - _elem932 = iprot.readString(); - struct.success.add(_elem932); + _elem922 = iprot.readString(); + struct.success.add(_elem922); } } struct.setSuccessIsSet(true); @@ -57817,13 +57537,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_tables_by_type_ case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list934 = iprot.readListBegin(); - struct.success = new ArrayList(_list934.size); - String _elem935; - for (int _i936 = 0; _i936 < _list934.size; ++_i936) + org.apache.thrift.protocol.TList _list924 = iprot.readListBegin(); + struct.success = new ArrayList(_list924.size); + String _elem925; + for (int _i926 = 0; _i926 < _list924.size; ++_i926) { - _elem935 = iprot.readString(); - struct.success.add(_elem935); + _elem925 = iprot.readString(); + struct.success.add(_elem925); } iprot.readListEnd(); } @@ -57858,9 +57578,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_tables_by_type oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter937 : struct.success) + for (String _iter927 : struct.success) { - oprot.writeString(_iter937); + oprot.writeString(_iter927); } oprot.writeListEnd(); } @@ -57899,9 +57619,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter938 : struct.success) + for (String _iter928 : struct.success) { - oprot.writeString(_iter938); + oprot.writeString(_iter928); } } } @@ -57916,13 +57636,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_r BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list939 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list939.size); - String _elem940; - for (int _i941 = 0; _i941 < _list939.size; ++_i941) + org.apache.thrift.protocol.TList _list929 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list929.size); + String _elem930; + for (int _i931 = 0; _i931 < _list929.size; ++_i931) { - _elem940 = iprot.readString(); - struct.success.add(_elem940); + _elem930 = iprot.readString(); + struct.success.add(_elem930); } } struct.setSuccessIsSet(true); @@ -58688,13 +58408,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialized_vi case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list942 = iprot.readListBegin(); - struct.success = new ArrayList(_list942.size); - String _elem943; - for (int _i944 = 0; _i944 < _list942.size; ++_i944) + org.apache.thrift.protocol.TList _list932 = iprot.readListBegin(); + struct.success = new ArrayList(_list932.size); + String _elem933; + for (int _i934 = 0; _i934 < _list932.size; ++_i934) { - _elem943 = iprot.readString(); - struct.success.add(_elem943); + _elem933 = iprot.readString(); + struct.success.add(_elem933); } iprot.readListEnd(); } @@ -58729,9 +58449,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materialized_v oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter945 : struct.success) + for (String _iter935 : struct.success) { - oprot.writeString(_iter945); + oprot.writeString(_iter935); } oprot.writeListEnd(); } @@ -58770,9 +58490,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter946 : struct.success) + for (String _iter936 : struct.success) { - oprot.writeString(_iter946); + oprot.writeString(_iter936); } } } @@ -58787,13 +58507,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialized_vie BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list947 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list947.size); - String _elem948; - for (int _i949 = 0; _i949 < _list947.size; ++_i949) + org.apache.thrift.protocol.TList _list937 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list937.size); + String _elem938; + for (int _i939 = 0; _i939 < _list937.size; ++_i939) { - _elem948 = iprot.readString(); - struct.success.add(_elem948); + _elem938 = iprot.readString(); + struct.success.add(_elem938); } } struct.setSuccessIsSet(true); @@ -59298,13 +59018,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 _list950 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list950.size); - String _elem951; - for (int _i952 = 0; _i952 < _list950.size; ++_i952) + org.apache.thrift.protocol.TList _list940 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list940.size); + String _elem941; + for (int _i942 = 0; _i942 < _list940.size; ++_i942) { - _elem951 = iprot.readString(); - struct.tbl_types.add(_elem951); + _elem941 = iprot.readString(); + struct.tbl_types.add(_elem941); } iprot.readListEnd(); } @@ -59340,9 +59060,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 _iter953 : struct.tbl_types) + for (String _iter943 : struct.tbl_types) { - oprot.writeString(_iter953); + oprot.writeString(_iter943); } oprot.writeListEnd(); } @@ -59385,9 +59105,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 _iter954 : struct.tbl_types) + for (String _iter944 : struct.tbl_types) { - oprot.writeString(_iter954); + oprot.writeString(_iter944); } } } @@ -59407,13 +59127,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } 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.tbl_types = new ArrayList(_list955.size); - String _elem956; - for (int _i957 = 0; _i957 < _list955.size; ++_i957) + org.apache.thrift.protocol.TList _list945 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list945.size); + String _elem946; + for (int _i947 = 0; _i947 < _list945.size; ++_i947) { - _elem956 = iprot.readString(); - struct.tbl_types.add(_elem956); + _elem946 = iprot.readString(); + struct.tbl_types.add(_elem946); } } struct.setTbl_typesIsSet(true); @@ -59819,14 +59539,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 _list958 = iprot.readListBegin(); - struct.success = new ArrayList(_list958.size); - TableMeta _elem959; - for (int _i960 = 0; _i960 < _list958.size; ++_i960) + org.apache.thrift.protocol.TList _list948 = iprot.readListBegin(); + struct.success = new ArrayList(_list948.size); + TableMeta _elem949; + for (int _i950 = 0; _i950 < _list948.size; ++_i950) { - _elem959 = new TableMeta(); - _elem959.read(iprot); - struct.success.add(_elem959); + _elem949 = new TableMeta(); + _elem949.read(iprot); + struct.success.add(_elem949); } iprot.readListEnd(); } @@ -59861,9 +59581,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 _iter961 : struct.success) + for (TableMeta _iter951 : struct.success) { - _iter961.write(oprot); + _iter951.write(oprot); } oprot.writeListEnd(); } @@ -59902,9 +59622,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter962 : struct.success) + for (TableMeta _iter952 : struct.success) { - _iter962.write(oprot); + _iter952.write(oprot); } } } @@ -59919,14 +59639,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 _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list963.size); - TableMeta _elem964; - for (int _i965 = 0; _i965 < _list963.size; ++_i965) + org.apache.thrift.protocol.TList _list953 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list953.size); + TableMeta _elem954; + for (int _i955 = 0; _i955 < _list953.size; ++_i955) { - _elem964 = new TableMeta(); - _elem964.read(iprot); - struct.success.add(_elem964); + _elem954 = new TableMeta(); + _elem954.read(iprot); + struct.success.add(_elem954); } } struct.setSuccessIsSet(true); @@ -60692,13 +60412,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 _list966 = iprot.readListBegin(); - struct.success = new ArrayList(_list966.size); - String _elem967; - for (int _i968 = 0; _i968 < _list966.size; ++_i968) + org.apache.thrift.protocol.TList _list956 = iprot.readListBegin(); + struct.success = new ArrayList(_list956.size); + String _elem957; + for (int _i958 = 0; _i958 < _list956.size; ++_i958) { - _elem967 = iprot.readString(); - struct.success.add(_elem967); + _elem957 = iprot.readString(); + struct.success.add(_elem957); } iprot.readListEnd(); } @@ -60733,9 +60453,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 _iter969 : struct.success) + for (String _iter959 : struct.success) { - oprot.writeString(_iter969); + oprot.writeString(_iter959); } oprot.writeListEnd(); } @@ -60774,9 +60494,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter970 : struct.success) + for (String _iter960 : struct.success) { - oprot.writeString(_iter970); + oprot.writeString(_iter960); } } } @@ -60791,13 +60511,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 _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 _list961 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list961.size); + String _elem962; + for (int _i963 = 0; _i963 < _list961.size; ++_i963) { - _elem972 = iprot.readString(); - struct.success.add(_elem972); + _elem962 = iprot.readString(); + struct.success.add(_elem962); } } struct.setSuccessIsSet(true); @@ -62250,13 +61970,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 _list974 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list974.size); - String _elem975; - for (int _i976 = 0; _i976 < _list974.size; ++_i976) + org.apache.thrift.protocol.TList _list964 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list964.size); + String _elem965; + for (int _i966 = 0; _i966 < _list964.size; ++_i966) { - _elem975 = iprot.readString(); - struct.tbl_names.add(_elem975); + _elem965 = iprot.readString(); + struct.tbl_names.add(_elem965); } iprot.readListEnd(); } @@ -62287,9 +62007,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 _iter977 : struct.tbl_names) + for (String _iter967 : struct.tbl_names) { - oprot.writeString(_iter977); + oprot.writeString(_iter967); } oprot.writeListEnd(); } @@ -62326,9 +62046,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 _iter978 : struct.tbl_names) + for (String _iter968 : struct.tbl_names) { - oprot.writeString(_iter978); + oprot.writeString(_iter968); } } } @@ -62344,13 +62064,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list979 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list979.size); - String _elem980; - for (int _i981 = 0; _i981 < _list979.size; ++_i981) + org.apache.thrift.protocol.TList _list969 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list969.size); + String _elem970; + for (int _i971 = 0; _i971 < _list969.size; ++_i971) { - _elem980 = iprot.readString(); - struct.tbl_names.add(_elem980); + _elem970 = iprot.readString(); + struct.tbl_names.add(_elem970); } } struct.setTbl_namesIsSet(true); @@ -62675,14 +62395,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 _list982 = iprot.readListBegin(); - struct.success = new ArrayList
(_list982.size); - Table _elem983; - for (int _i984 = 0; _i984 < _list982.size; ++_i984) + org.apache.thrift.protocol.TList _list972 = iprot.readListBegin(); + struct.success = new ArrayList
(_list972.size); + Table _elem973; + for (int _i974 = 0; _i974 < _list972.size; ++_i974) { - _elem983 = new Table(); - _elem983.read(iprot); - struct.success.add(_elem983); + _elem973 = new Table(); + _elem973.read(iprot); + struct.success.add(_elem973); } iprot.readListEnd(); } @@ -62708,9 +62428,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 _iter985 : struct.success) + for (Table _iter975 : struct.success) { - _iter985.write(oprot); + _iter975.write(oprot); } oprot.writeListEnd(); } @@ -62741,9 +62461,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter986 : struct.success) + for (Table _iter976 : struct.success) { - _iter986.write(oprot); + _iter976.write(oprot); } } } @@ -62755,14 +62475,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list987 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list987.size); - Table _elem988; - for (int _i989 = 0; _i989 < _list987.size; ++_i989) + org.apache.thrift.protocol.TList _list977 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list977.size); + Table _elem978; + for (int _i979 = 0; _i979 < _list977.size; ++_i979) { - _elem988 = new Table(); - _elem988.read(iprot); - struct.success.add(_elem988); + _elem978 = new Table(); + _elem978.read(iprot); + struct.success.add(_elem978); } } struct.setSuccessIsSet(true); @@ -65155,13 +64875,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list990 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list990.size); - String _elem991; - for (int _i992 = 0; _i992 < _list990.size; ++_i992) + org.apache.thrift.protocol.TList _list980 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list980.size); + String _elem981; + for (int _i982 = 0; _i982 < _list980.size; ++_i982) { - _elem991 = iprot.readString(); - struct.tbl_names.add(_elem991); + _elem981 = iprot.readString(); + struct.tbl_names.add(_elem981); } iprot.readListEnd(); } @@ -65192,9 +64912,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materializatio 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 _iter993 : struct.tbl_names) + for (String _iter983 : struct.tbl_names) { - oprot.writeString(_iter993); + oprot.writeString(_iter983); } oprot.writeListEnd(); } @@ -65231,9 +64951,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter994 : struct.tbl_names) + for (String _iter984 : struct.tbl_names) { - oprot.writeString(_iter994); + oprot.writeString(_iter984); } } } @@ -65249,13 +64969,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list995 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list995.size); - String _elem996; - for (int _i997 = 0; _i997 < _list995.size; ++_i997) + org.apache.thrift.protocol.TList _list985 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list985.size); + String _elem986; + for (int _i987 = 0; _i987 < _list985.size; ++_i987) { - _elem996 = iprot.readString(); - struct.tbl_names.add(_elem996); + _elem986 = iprot.readString(); + struct.tbl_names.add(_elem986); } } struct.setTbl_namesIsSet(true); @@ -65828,16 +65548,16 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_materialization case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.MAP) { { - org.apache.thrift.protocol.TMap _map998 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map998.size); - String _key999; - Materialization _val1000; - for (int _i1001 = 0; _i1001 < _map998.size; ++_i1001) + org.apache.thrift.protocol.TMap _map988 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map988.size); + String _key989; + Materialization _val990; + for (int _i991 = 0; _i991 < _map988.size; ++_i991) { - _key999 = iprot.readString(); - _val1000 = new Materialization(); - _val1000.read(iprot); - struct.success.put(_key999, _val1000); + _key989 = iprot.readString(); + _val990 = new Materialization(); + _val990.read(iprot); + struct.success.put(_key989, _val990); } iprot.readMapEnd(); } @@ -65890,10 +65610,10 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_materializatio 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 _iter1002 : struct.success.entrySet()) + for (Map.Entry _iter992 : struct.success.entrySet()) { - oprot.writeString(_iter1002.getKey()); - _iter1002.getValue().write(oprot); + oprot.writeString(_iter992.getKey()); + _iter992.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -65948,10 +65668,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1003 : struct.success.entrySet()) + for (Map.Entry _iter993 : struct.success.entrySet()) { - oprot.writeString(_iter1003.getKey()); - _iter1003.getValue().write(oprot); + oprot.writeString(_iter993.getKey()); + _iter993.getValue().write(oprot); } } } @@ -65972,16 +65692,16 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ BitSet incoming = iprot.readBitSet(4); if (incoming.get(0)) { { - org.apache.thrift.protocol.TMap _map1004 = 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*_map1004.size); - String _key1005; - Materialization _val1006; - for (int _i1007 = 0; _i1007 < _map1004.size; ++_i1007) + org.apache.thrift.protocol.TMap _map994 = 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*_map994.size); + String _key995; + Materialization _val996; + for (int _i997 = 0; _i997 < _map994.size; ++_i997) { - _key1005 = iprot.readString(); - _val1006 = new Materialization(); - _val1006.read(iprot); - struct.success.put(_key1005, _val1006); + _key995 = iprot.readString(); + _val996 = new Materialization(); + _val996.read(iprot); + struct.success.put(_key995, _val996); } } struct.setSuccessIsSet(true); @@ -67127,13 +66847,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 _list1008 = iprot.readListBegin(); - struct.success = new ArrayList(_list1008.size); - String _elem1009; - for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) + org.apache.thrift.protocol.TList _list998 = iprot.readListBegin(); + struct.success = new ArrayList(_list998.size); + String _elem999; + for (int _i1000 = 0; _i1000 < _list998.size; ++_i1000) { - _elem1009 = iprot.readString(); - struct.success.add(_elem1009); + _elem999 = iprot.readString(); + struct.success.add(_elem999); } iprot.readListEnd(); } @@ -67186,9 +66906,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 _iter1011 : struct.success) + for (String _iter1001 : struct.success) { - oprot.writeString(_iter1011); + oprot.writeString(_iter1001); } oprot.writeListEnd(); } @@ -67243,9 +66963,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1012 : struct.success) + for (String _iter1002 : struct.success) { - oprot.writeString(_iter1012); + oprot.writeString(_iter1002); } } } @@ -67266,13 +66986,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 _list1013 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1013.size); - String _elem1014; - for (int _i1015 = 0; _i1015 < _list1013.size; ++_i1015) + org.apache.thrift.protocol.TList _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) { - _elem1014 = iprot.readString(); - struct.success.add(_elem1014); + _elem1004 = iprot.readString(); + struct.success.add(_elem1004); } } struct.setSuccessIsSet(true); @@ -73131,14 +72851,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 _list1016 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1016.size); - Partition _elem1017; - for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) + org.apache.thrift.protocol.TList _list1006 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1006.size); + Partition _elem1007; + for (int _i1008 = 0; _i1008 < _list1006.size; ++_i1008) { - _elem1017 = new Partition(); - _elem1017.read(iprot); - struct.new_parts.add(_elem1017); + _elem1007 = new Partition(); + _elem1007.read(iprot); + struct.new_parts.add(_elem1007); } iprot.readListEnd(); } @@ -73164,9 +72884,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 _iter1019 : struct.new_parts) + for (Partition _iter1009 : struct.new_parts) { - _iter1019.write(oprot); + _iter1009.write(oprot); } oprot.writeListEnd(); } @@ -73197,9 +72917,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 _iter1020 : struct.new_parts) + for (Partition _iter1010 : struct.new_parts) { - _iter1020.write(oprot); + _iter1010.write(oprot); } } } @@ -73211,14 +72931,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 _list1021 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1021.size); - Partition _elem1022; - for (int _i1023 = 0; _i1023 < _list1021.size; ++_i1023) + org.apache.thrift.protocol.TList _list1011 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1011.size); + Partition _elem1012; + for (int _i1013 = 0; _i1013 < _list1011.size; ++_i1013) { - _elem1022 = new Partition(); - _elem1022.read(iprot); - struct.new_parts.add(_elem1022); + _elem1012 = new Partition(); + _elem1012.read(iprot); + struct.new_parts.add(_elem1012); } } struct.setNew_partsIsSet(true); @@ -74219,14 +73939,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 _list1024 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1024.size); - PartitionSpec _elem1025; - for (int _i1026 = 0; _i1026 < _list1024.size; ++_i1026) + org.apache.thrift.protocol.TList _list1014 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1014.size); + PartitionSpec _elem1015; + for (int _i1016 = 0; _i1016 < _list1014.size; ++_i1016) { - _elem1025 = new PartitionSpec(); - _elem1025.read(iprot); - struct.new_parts.add(_elem1025); + _elem1015 = new PartitionSpec(); + _elem1015.read(iprot); + struct.new_parts.add(_elem1015); } iprot.readListEnd(); } @@ -74252,9 +73972,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 _iter1027 : struct.new_parts) + for (PartitionSpec _iter1017 : struct.new_parts) { - _iter1027.write(oprot); + _iter1017.write(oprot); } oprot.writeListEnd(); } @@ -74285,9 +74005,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 _iter1028 : struct.new_parts) + for (PartitionSpec _iter1018 : struct.new_parts) { - _iter1028.write(oprot); + _iter1018.write(oprot); } } } @@ -74299,14 +74019,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 _list1029 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1029.size); - PartitionSpec _elem1030; - for (int _i1031 = 0; _i1031 < _list1029.size; ++_i1031) + org.apache.thrift.protocol.TList _list1019 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1019.size); + PartitionSpec _elem1020; + for (int _i1021 = 0; _i1021 < _list1019.size; ++_i1021) { - _elem1030 = new PartitionSpec(); - _elem1030.read(iprot); - struct.new_parts.add(_elem1030); + _elem1020 = new PartitionSpec(); + _elem1020.read(iprot); + struct.new_parts.add(_elem1020); } } struct.setNew_partsIsSet(true); @@ -75482,13 +75202,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 _list1032 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1032.size); - String _elem1033; - for (int _i1034 = 0; _i1034 < _list1032.size; ++_i1034) + org.apache.thrift.protocol.TList _list1022 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1022.size); + String _elem1023; + for (int _i1024 = 0; _i1024 < _list1022.size; ++_i1024) { - _elem1033 = iprot.readString(); - struct.part_vals.add(_elem1033); + _elem1023 = iprot.readString(); + struct.part_vals.add(_elem1023); } iprot.readListEnd(); } @@ -75524,9 +75244,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 _iter1035 : struct.part_vals) + for (String _iter1025 : struct.part_vals) { - oprot.writeString(_iter1035); + oprot.writeString(_iter1025); } oprot.writeListEnd(); } @@ -75569,9 +75289,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 _iter1036 : struct.part_vals) + for (String _iter1026 : struct.part_vals) { - oprot.writeString(_iter1036); + oprot.writeString(_iter1026); } } } @@ -75591,13 +75311,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1037 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1037.size); - String _elem1038; - for (int _i1039 = 0; _i1039 < _list1037.size; ++_i1039) + org.apache.thrift.protocol.TList _list1027 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1027.size); + String _elem1028; + for (int _i1029 = 0; _i1029 < _list1027.size; ++_i1029) { - _elem1038 = iprot.readString(); - struct.part_vals.add(_elem1038); + _elem1028 = iprot.readString(); + struct.part_vals.add(_elem1028); } } struct.setPart_valsIsSet(true); @@ -77906,13 +77626,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 _list1040 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1040.size); - String _elem1041; - for (int _i1042 = 0; _i1042 < _list1040.size; ++_i1042) + org.apache.thrift.protocol.TList _list1030 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1030.size); + String _elem1031; + for (int _i1032 = 0; _i1032 < _list1030.size; ++_i1032) { - _elem1041 = iprot.readString(); - struct.part_vals.add(_elem1041); + _elem1031 = iprot.readString(); + struct.part_vals.add(_elem1031); } iprot.readListEnd(); } @@ -77957,9 +77677,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 _iter1043 : struct.part_vals) + for (String _iter1033 : struct.part_vals) { - oprot.writeString(_iter1043); + oprot.writeString(_iter1033); } oprot.writeListEnd(); } @@ -78010,9 +77730,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 _iter1044 : struct.part_vals) + for (String _iter1034 : struct.part_vals) { - oprot.writeString(_iter1044); + oprot.writeString(_iter1034); } } } @@ -78035,13 +77755,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1045 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1045.size); - String _elem1046; - for (int _i1047 = 0; _i1047 < _list1045.size; ++_i1047) + org.apache.thrift.protocol.TList _list1035 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1035.size); + String _elem1036; + for (int _i1037 = 0; _i1037 < _list1035.size; ++_i1037) { - _elem1046 = iprot.readString(); - struct.part_vals.add(_elem1046); + _elem1036 = iprot.readString(); + struct.part_vals.add(_elem1036); } } struct.setPart_valsIsSet(true); @@ -81911,13 +81631,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 _list1048 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1048.size); - String _elem1049; - for (int _i1050 = 0; _i1050 < _list1048.size; ++_i1050) + org.apache.thrift.protocol.TList _list1038 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1038.size); + String _elem1039; + for (int _i1040 = 0; _i1040 < _list1038.size; ++_i1040) { - _elem1049 = iprot.readString(); - struct.part_vals.add(_elem1049); + _elem1039 = iprot.readString(); + struct.part_vals.add(_elem1039); } iprot.readListEnd(); } @@ -81961,9 +81681,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 _iter1051 : struct.part_vals) + for (String _iter1041 : struct.part_vals) { - oprot.writeString(_iter1051); + oprot.writeString(_iter1041); } oprot.writeListEnd(); } @@ -82012,9 +81732,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 _iter1052 : struct.part_vals) + for (String _iter1042 : struct.part_vals) { - oprot.writeString(_iter1052); + oprot.writeString(_iter1042); } } } @@ -82037,13 +81757,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1053 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1053.size); - String _elem1054; - for (int _i1055 = 0; _i1055 < _list1053.size; ++_i1055) + org.apache.thrift.protocol.TList _list1043 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1043.size); + String _elem1044; + for (int _i1045 = 0; _i1045 < _list1043.size; ++_i1045) { - _elem1054 = iprot.readString(); - struct.part_vals.add(_elem1054); + _elem1044 = iprot.readString(); + struct.part_vals.add(_elem1044); } } struct.setPart_valsIsSet(true); @@ -83282,13 +83002,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 _list1056 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1056.size); - String _elem1057; - for (int _i1058 = 0; _i1058 < _list1056.size; ++_i1058) + org.apache.thrift.protocol.TList _list1046 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1046.size); + String _elem1047; + for (int _i1048 = 0; _i1048 < _list1046.size; ++_i1048) { - _elem1057 = iprot.readString(); - struct.part_vals.add(_elem1057); + _elem1047 = iprot.readString(); + struct.part_vals.add(_elem1047); } iprot.readListEnd(); } @@ -83341,9 +83061,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 _iter1059 : struct.part_vals) + for (String _iter1049 : struct.part_vals) { - oprot.writeString(_iter1059); + oprot.writeString(_iter1049); } oprot.writeListEnd(); } @@ -83400,9 +83120,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 _iter1060 : struct.part_vals) + for (String _iter1050 : struct.part_vals) { - oprot.writeString(_iter1060); + oprot.writeString(_iter1050); } } } @@ -83428,13 +83148,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1061 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1061.size); - String _elem1062; - for (int _i1063 = 0; _i1063 < _list1061.size; ++_i1063) + org.apache.thrift.protocol.TList _list1051 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1051.size); + String _elem1052; + for (int _i1053 = 0; _i1053 < _list1051.size; ++_i1053) { - _elem1062 = iprot.readString(); - struct.part_vals.add(_elem1062); + _elem1052 = iprot.readString(); + struct.part_vals.add(_elem1052); } } struct.setPart_valsIsSet(true); @@ -88036,13 +87756,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 _list1064 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1064.size); - String _elem1065; - for (int _i1066 = 0; _i1066 < _list1064.size; ++_i1066) + org.apache.thrift.protocol.TList _list1054 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1054.size); + String _elem1055; + for (int _i1056 = 0; _i1056 < _list1054.size; ++_i1056) { - _elem1065 = iprot.readString(); - struct.part_vals.add(_elem1065); + _elem1055 = iprot.readString(); + struct.part_vals.add(_elem1055); } iprot.readListEnd(); } @@ -88078,9 +87798,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 _iter1067 : struct.part_vals) + for (String _iter1057 : struct.part_vals) { - oprot.writeString(_iter1067); + oprot.writeString(_iter1057); } oprot.writeListEnd(); } @@ -88123,9 +87843,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 _iter1068 : struct.part_vals) + for (String _iter1058 : struct.part_vals) { - oprot.writeString(_iter1068); + oprot.writeString(_iter1058); } } } @@ -88145,13 +87865,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1069 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1069.size); - String _elem1070; - for (int _i1071 = 0; _i1071 < _list1069.size; ++_i1071) + org.apache.thrift.protocol.TList _list1059 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1059.size); + String _elem1060; + for (int _i1061 = 0; _i1061 < _list1059.size; ++_i1061) { - _elem1070 = iprot.readString(); - struct.part_vals.add(_elem1070); + _elem1060 = iprot.readString(); + struct.part_vals.add(_elem1060); } } struct.setPart_valsIsSet(true); @@ -89369,15 +89089,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 _map1072 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1072.size); - String _key1073; - String _val1074; - for (int _i1075 = 0; _i1075 < _map1072.size; ++_i1075) + org.apache.thrift.protocol.TMap _map1062 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1062.size); + String _key1063; + String _val1064; + for (int _i1065 = 0; _i1065 < _map1062.size; ++_i1065) { - _key1073 = iprot.readString(); - _val1074 = iprot.readString(); - struct.partitionSpecs.put(_key1073, _val1074); + _key1063 = iprot.readString(); + _val1064 = iprot.readString(); + struct.partitionSpecs.put(_key1063, _val1064); } iprot.readMapEnd(); } @@ -89435,10 +89155,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 _iter1076 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1066 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1076.getKey()); - oprot.writeString(_iter1076.getValue()); + oprot.writeString(_iter1066.getKey()); + oprot.writeString(_iter1066.getValue()); } oprot.writeMapEnd(); } @@ -89501,10 +89221,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1077 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1067 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1077.getKey()); - oprot.writeString(_iter1077.getValue()); + oprot.writeString(_iter1067.getKey()); + oprot.writeString(_iter1067.getValue()); } } } @@ -89528,15 +89248,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 _map1078 = 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*_map1078.size); - String _key1079; - String _val1080; - for (int _i1081 = 0; _i1081 < _map1078.size; ++_i1081) + org.apache.thrift.protocol.TMap _map1068 = 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*_map1068.size); + String _key1069; + String _val1070; + for (int _i1071 = 0; _i1071 < _map1068.size; ++_i1071) { - _key1079 = iprot.readString(); - _val1080 = iprot.readString(); - struct.partitionSpecs.put(_key1079, _val1080); + _key1069 = iprot.readString(); + _val1070 = iprot.readString(); + struct.partitionSpecs.put(_key1069, _val1070); } } struct.setPartitionSpecsIsSet(true); @@ -90982,15 +90702,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 _map1082 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1082.size); - String _key1083; - String _val1084; - for (int _i1085 = 0; _i1085 < _map1082.size; ++_i1085) + org.apache.thrift.protocol.TMap _map1072 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1072.size); + String _key1073; + String _val1074; + for (int _i1075 = 0; _i1075 < _map1072.size; ++_i1075) { - _key1083 = iprot.readString(); - _val1084 = iprot.readString(); - struct.partitionSpecs.put(_key1083, _val1084); + _key1073 = iprot.readString(); + _val1074 = iprot.readString(); + struct.partitionSpecs.put(_key1073, _val1074); } iprot.readMapEnd(); } @@ -91048,10 +90768,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 _iter1086 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1076 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1086.getKey()); - oprot.writeString(_iter1086.getValue()); + oprot.writeString(_iter1076.getKey()); + oprot.writeString(_iter1076.getValue()); } oprot.writeMapEnd(); } @@ -91114,10 +90834,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1087 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1077 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1087.getKey()); - oprot.writeString(_iter1087.getValue()); + oprot.writeString(_iter1077.getKey()); + oprot.writeString(_iter1077.getValue()); } } } @@ -91141,15 +90861,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 _map1088 = 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*_map1088.size); - String _key1089; - String _val1090; - for (int _i1091 = 0; _i1091 < _map1088.size; ++_i1091) + org.apache.thrift.protocol.TMap _map1078 = 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*_map1078.size); + String _key1079; + String _val1080; + for (int _i1081 = 0; _i1081 < _map1078.size; ++_i1081) { - _key1089 = iprot.readString(); - _val1090 = iprot.readString(); - struct.partitionSpecs.put(_key1089, _val1090); + _key1079 = iprot.readString(); + _val1080 = iprot.readString(); + struct.partitionSpecs.put(_key1079, _val1080); } } struct.setPartitionSpecsIsSet(true); @@ -91814,14 +91534,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 _list1092 = iprot.readListBegin(); - struct.success = new ArrayList(_list1092.size); - Partition _elem1093; - for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) + org.apache.thrift.protocol.TList _list1082 = iprot.readListBegin(); + struct.success = new ArrayList(_list1082.size); + Partition _elem1083; + for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) { - _elem1093 = new Partition(); - _elem1093.read(iprot); - struct.success.add(_elem1093); + _elem1083 = new Partition(); + _elem1083.read(iprot); + struct.success.add(_elem1083); } iprot.readListEnd(); } @@ -91883,9 +91603,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 _iter1095 : struct.success) + for (Partition _iter1085 : struct.success) { - _iter1095.write(oprot); + _iter1085.write(oprot); } oprot.writeListEnd(); } @@ -91948,9 +91668,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1096 : struct.success) + for (Partition _iter1086 : struct.success) { - _iter1096.write(oprot); + _iter1086.write(oprot); } } } @@ -91974,14 +91694,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 _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1097.size); - Partition _elem1098; - for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) + org.apache.thrift.protocol.TList _list1087 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1087.size); + Partition _elem1088; + for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) { - _elem1098 = new Partition(); - _elem1098.read(iprot); - struct.success.add(_elem1098); + _elem1088 = new Partition(); + _elem1088.read(iprot); + struct.success.add(_elem1088); } } struct.setSuccessIsSet(true); @@ -92680,13 +92400,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 _list1100 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1100.size); - String _elem1101; - for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) + org.apache.thrift.protocol.TList _list1090 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1090.size); + String _elem1091; + for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) { - _elem1101 = iprot.readString(); - struct.part_vals.add(_elem1101); + _elem1091 = iprot.readString(); + struct.part_vals.add(_elem1091); } iprot.readListEnd(); } @@ -92706,13 +92426,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 _list1103 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1103.size); - String _elem1104; - for (int _i1105 = 0; _i1105 < _list1103.size; ++_i1105) + org.apache.thrift.protocol.TList _list1093 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1093.size); + String _elem1094; + for (int _i1095 = 0; _i1095 < _list1093.size; ++_i1095) { - _elem1104 = iprot.readString(); - struct.group_names.add(_elem1104); + _elem1094 = iprot.readString(); + struct.group_names.add(_elem1094); } iprot.readListEnd(); } @@ -92748,9 +92468,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 _iter1106 : struct.part_vals) + for (String _iter1096 : struct.part_vals) { - oprot.writeString(_iter1106); + oprot.writeString(_iter1096); } oprot.writeListEnd(); } @@ -92765,9 +92485,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 _iter1107 : struct.group_names) + for (String _iter1097 : struct.group_names) { - oprot.writeString(_iter1107); + oprot.writeString(_iter1097); } oprot.writeListEnd(); } @@ -92816,9 +92536,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 _iter1108 : struct.part_vals) + for (String _iter1098 : struct.part_vals) { - oprot.writeString(_iter1108); + oprot.writeString(_iter1098); } } } @@ -92828,9 +92548,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 _iter1109 : struct.group_names) + for (String _iter1099 : struct.group_names) { - oprot.writeString(_iter1109); + oprot.writeString(_iter1099); } } } @@ -92850,13 +92570,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1110 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1110.size); - String _elem1111; - for (int _i1112 = 0; _i1112 < _list1110.size; ++_i1112) + org.apache.thrift.protocol.TList _list1100 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1100.size); + String _elem1101; + for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) { - _elem1111 = iprot.readString(); - struct.part_vals.add(_elem1111); + _elem1101 = iprot.readString(); + struct.part_vals.add(_elem1101); } } struct.setPart_valsIsSet(true); @@ -92867,13 +92587,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1113.size); - String _elem1114; - for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) + org.apache.thrift.protocol.TList _list1103 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1103.size); + String _elem1104; + for (int _i1105 = 0; _i1105 < _list1103.size; ++_i1105) { - _elem1114 = iprot.readString(); - struct.group_names.add(_elem1114); + _elem1104 = iprot.readString(); + struct.group_names.add(_elem1104); } } struct.setGroup_namesIsSet(true); @@ -95642,14 +95362,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 _list1116 = iprot.readListBegin(); - struct.success = new ArrayList(_list1116.size); - Partition _elem1117; - for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) + org.apache.thrift.protocol.TList _list1106 = iprot.readListBegin(); + struct.success = new ArrayList(_list1106.size); + Partition _elem1107; + for (int _i1108 = 0; _i1108 < _list1106.size; ++_i1108) { - _elem1117 = new Partition(); - _elem1117.read(iprot); - struct.success.add(_elem1117); + _elem1107 = new Partition(); + _elem1107.read(iprot); + struct.success.add(_elem1107); } iprot.readListEnd(); } @@ -95693,9 +95413,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 _iter1119 : struct.success) + for (Partition _iter1109 : struct.success) { - _iter1119.write(oprot); + _iter1109.write(oprot); } oprot.writeListEnd(); } @@ -95742,9 +95462,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1120 : struct.success) + for (Partition _iter1110 : struct.success) { - _iter1120.write(oprot); + _iter1110.write(oprot); } } } @@ -95762,14 +95482,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 _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1121.size); - Partition _elem1122; - for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) + org.apache.thrift.protocol.TList _list1111 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1111.size); + Partition _elem1112; + for (int _i1113 = 0; _i1113 < _list1111.size; ++_i1113) { - _elem1122 = new Partition(); - _elem1122.read(iprot); - struct.success.add(_elem1122); + _elem1112 = new Partition(); + _elem1112.read(iprot); + struct.success.add(_elem1112); } } struct.setSuccessIsSet(true); @@ -96459,13 +96179,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 _list1124 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1124.size); - String _elem1125; - for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) + org.apache.thrift.protocol.TList _list1114 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1114.size); + String _elem1115; + for (int _i1116 = 0; _i1116 < _list1114.size; ++_i1116) { - _elem1125 = iprot.readString(); - struct.group_names.add(_elem1125); + _elem1115 = iprot.readString(); + struct.group_names.add(_elem1115); } iprot.readListEnd(); } @@ -96509,9 +96229,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 _iter1127 : struct.group_names) + for (String _iter1117 : struct.group_names) { - oprot.writeString(_iter1127); + oprot.writeString(_iter1117); } oprot.writeListEnd(); } @@ -96566,9 +96286,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 _iter1128 : struct.group_names) + for (String _iter1118 : struct.group_names) { - oprot.writeString(_iter1128); + oprot.writeString(_iter1118); } } } @@ -96596,13 +96316,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1129.size); - String _elem1130; - for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) + org.apache.thrift.protocol.TList _list1119 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1119.size); + String _elem1120; + for (int _i1121 = 0; _i1121 < _list1119.size; ++_i1121) { - _elem1130 = iprot.readString(); - struct.group_names.add(_elem1130); + _elem1120 = iprot.readString(); + struct.group_names.add(_elem1120); } } struct.setGroup_namesIsSet(true); @@ -97089,14 +96809,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 _list1132 = iprot.readListBegin(); - struct.success = new ArrayList(_list1132.size); - Partition _elem1133; - for (int _i1134 = 0; _i1134 < _list1132.size; ++_i1134) + org.apache.thrift.protocol.TList _list1122 = iprot.readListBegin(); + struct.success = new ArrayList(_list1122.size); + Partition _elem1123; + for (int _i1124 = 0; _i1124 < _list1122.size; ++_i1124) { - _elem1133 = new Partition(); - _elem1133.read(iprot); - struct.success.add(_elem1133); + _elem1123 = new Partition(); + _elem1123.read(iprot); + struct.success.add(_elem1123); } iprot.readListEnd(); } @@ -97140,9 +96860,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 _iter1135 : struct.success) + for (Partition _iter1125 : struct.success) { - _iter1135.write(oprot); + _iter1125.write(oprot); } oprot.writeListEnd(); } @@ -97189,9 +96909,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1136 : struct.success) + for (Partition _iter1126 : struct.success) { - _iter1136.write(oprot); + _iter1126.write(oprot); } } } @@ -97209,14 +96929,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 _list1137 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1137.size); - Partition _elem1138; - for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) + org.apache.thrift.protocol.TList _list1127 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1127.size); + Partition _elem1128; + for (int _i1129 = 0; _i1129 < _list1127.size; ++_i1129) { - _elem1138 = new Partition(); - _elem1138.read(iprot); - struct.success.add(_elem1138); + _elem1128 = new Partition(); + _elem1128.read(iprot); + struct.success.add(_elem1128); } } struct.setSuccessIsSet(true); @@ -98279,14 +97999,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 _list1140 = iprot.readListBegin(); - struct.success = new ArrayList(_list1140.size); - PartitionSpec _elem1141; - for (int _i1142 = 0; _i1142 < _list1140.size; ++_i1142) + org.apache.thrift.protocol.TList _list1130 = iprot.readListBegin(); + struct.success = new ArrayList(_list1130.size); + PartitionSpec _elem1131; + for (int _i1132 = 0; _i1132 < _list1130.size; ++_i1132) { - _elem1141 = new PartitionSpec(); - _elem1141.read(iprot); - struct.success.add(_elem1141); + _elem1131 = new PartitionSpec(); + _elem1131.read(iprot); + struct.success.add(_elem1131); } iprot.readListEnd(); } @@ -98330,9 +98050,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 _iter1143 : struct.success) + for (PartitionSpec _iter1133 : struct.success) { - _iter1143.write(oprot); + _iter1133.write(oprot); } oprot.writeListEnd(); } @@ -98379,9 +98099,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1144 : struct.success) + for (PartitionSpec _iter1134 : struct.success) { - _iter1144.write(oprot); + _iter1134.write(oprot); } } } @@ -98399,14 +98119,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 _list1145 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1145.size); - PartitionSpec _elem1146; - for (int _i1147 = 0; _i1147 < _list1145.size; ++_i1147) + org.apache.thrift.protocol.TList _list1135 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1135.size); + PartitionSpec _elem1136; + for (int _i1137 = 0; _i1137 < _list1135.size; ++_i1137) { - _elem1146 = new PartitionSpec(); - _elem1146.read(iprot); - struct.success.add(_elem1146); + _elem1136 = new PartitionSpec(); + _elem1136.read(iprot); + struct.success.add(_elem1136); } } struct.setSuccessIsSet(true); @@ -99466,13 +99186,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 _list1148 = iprot.readListBegin(); - struct.success = new ArrayList(_list1148.size); - String _elem1149; - for (int _i1150 = 0; _i1150 < _list1148.size; ++_i1150) + org.apache.thrift.protocol.TList _list1138 = iprot.readListBegin(); + struct.success = new ArrayList(_list1138.size); + String _elem1139; + for (int _i1140 = 0; _i1140 < _list1138.size; ++_i1140) { - _elem1149 = iprot.readString(); - struct.success.add(_elem1149); + _elem1139 = iprot.readString(); + struct.success.add(_elem1139); } iprot.readListEnd(); } @@ -99516,9 +99236,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 _iter1151 : struct.success) + for (String _iter1141 : struct.success) { - oprot.writeString(_iter1151); + oprot.writeString(_iter1141); } oprot.writeListEnd(); } @@ -99565,9 +99285,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1152 : struct.success) + for (String _iter1142 : struct.success) { - oprot.writeString(_iter1152); + oprot.writeString(_iter1142); } } } @@ -99585,13 +99305,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 _list1153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1153.size); - String _elem1154; - for (int _i1155 = 0; _i1155 < _list1153.size; ++_i1155) + org.apache.thrift.protocol.TList _list1143 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1143.size); + String _elem1144; + for (int _i1145 = 0; _i1145 < _list1143.size; ++_i1145) { - _elem1154 = iprot.readString(); - struct.success.add(_elem1154); + _elem1144 = iprot.readString(); + struct.success.add(_elem1144); } } struct.setSuccessIsSet(true); @@ -101122,13 +100842,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 _list1156 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1156.size); - String _elem1157; - for (int _i1158 = 0; _i1158 < _list1156.size; ++_i1158) + org.apache.thrift.protocol.TList _list1146 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1146.size); + String _elem1147; + for (int _i1148 = 0; _i1148 < _list1146.size; ++_i1148) { - _elem1157 = iprot.readString(); - struct.part_vals.add(_elem1157); + _elem1147 = iprot.readString(); + struct.part_vals.add(_elem1147); } iprot.readListEnd(); } @@ -101172,9 +100892,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 _iter1159 : struct.part_vals) + for (String _iter1149 : struct.part_vals) { - oprot.writeString(_iter1159); + oprot.writeString(_iter1149); } oprot.writeListEnd(); } @@ -101223,9 +100943,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 _iter1160 : struct.part_vals) + for (String _iter1150 : struct.part_vals) { - oprot.writeString(_iter1160); + oprot.writeString(_iter1150); } } } @@ -101248,13 +100968,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1161 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1161.size); - String _elem1162; - for (int _i1163 = 0; _i1163 < _list1161.size; ++_i1163) + org.apache.thrift.protocol.TList _list1151 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1151.size); + String _elem1152; + for (int _i1153 = 0; _i1153 < _list1151.size; ++_i1153) { - _elem1162 = iprot.readString(); - struct.part_vals.add(_elem1162); + _elem1152 = iprot.readString(); + struct.part_vals.add(_elem1152); } } struct.setPart_valsIsSet(true); @@ -101745,14 +101465,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 _list1164 = iprot.readListBegin(); - struct.success = new ArrayList(_list1164.size); - Partition _elem1165; - for (int _i1166 = 0; _i1166 < _list1164.size; ++_i1166) + org.apache.thrift.protocol.TList _list1154 = iprot.readListBegin(); + struct.success = new ArrayList(_list1154.size); + Partition _elem1155; + for (int _i1156 = 0; _i1156 < _list1154.size; ++_i1156) { - _elem1165 = new Partition(); - _elem1165.read(iprot); - struct.success.add(_elem1165); + _elem1155 = new Partition(); + _elem1155.read(iprot); + struct.success.add(_elem1155); } iprot.readListEnd(); } @@ -101796,9 +101516,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 _iter1167 : struct.success) + for (Partition _iter1157 : struct.success) { - _iter1167.write(oprot); + _iter1157.write(oprot); } oprot.writeListEnd(); } @@ -101845,9 +101565,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1168 : struct.success) + for (Partition _iter1158 : struct.success) { - _iter1168.write(oprot); + _iter1158.write(oprot); } } } @@ -101865,14 +101585,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 _list1169 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1169.size); - Partition _elem1170; - for (int _i1171 = 0; _i1171 < _list1169.size; ++_i1171) + org.apache.thrift.protocol.TList _list1159 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1159.size); + Partition _elem1160; + for (int _i1161 = 0; _i1161 < _list1159.size; ++_i1161) { - _elem1170 = new Partition(); - _elem1170.read(iprot); - struct.success.add(_elem1170); + _elem1160 = new Partition(); + _elem1160.read(iprot); + struct.success.add(_elem1160); } } struct.setSuccessIsSet(true); @@ -102644,13 +102364,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 _list1172 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1172.size); - String _elem1173; - for (int _i1174 = 0; _i1174 < _list1172.size; ++_i1174) + org.apache.thrift.protocol.TList _list1162 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1162.size); + String _elem1163; + for (int _i1164 = 0; _i1164 < _list1162.size; ++_i1164) { - _elem1173 = iprot.readString(); - struct.part_vals.add(_elem1173); + _elem1163 = iprot.readString(); + struct.part_vals.add(_elem1163); } iprot.readListEnd(); } @@ -102678,13 +102398,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 _list1175 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1175.size); - String _elem1176; - for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) + org.apache.thrift.protocol.TList _list1165 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1165.size); + String _elem1166; + for (int _i1167 = 0; _i1167 < _list1165.size; ++_i1167) { - _elem1176 = iprot.readString(); - struct.group_names.add(_elem1176); + _elem1166 = iprot.readString(); + struct.group_names.add(_elem1166); } iprot.readListEnd(); } @@ -102720,9 +102440,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 _iter1178 : struct.part_vals) + for (String _iter1168 : struct.part_vals) { - oprot.writeString(_iter1178); + oprot.writeString(_iter1168); } oprot.writeListEnd(); } @@ -102740,9 +102460,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 _iter1179 : struct.group_names) + for (String _iter1169 : struct.group_names) { - oprot.writeString(_iter1179); + oprot.writeString(_iter1169); } oprot.writeListEnd(); } @@ -102794,9 +102514,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 _iter1180 : struct.part_vals) + for (String _iter1170 : struct.part_vals) { - oprot.writeString(_iter1180); + oprot.writeString(_iter1170); } } } @@ -102809,9 +102529,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 _iter1181 : struct.group_names) + for (String _iter1171 : struct.group_names) { - oprot.writeString(_iter1181); + oprot.writeString(_iter1171); } } } @@ -102831,13 +102551,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1182 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1182.size); - String _elem1183; - for (int _i1184 = 0; _i1184 < _list1182.size; ++_i1184) + org.apache.thrift.protocol.TList _list1172 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1172.size); + String _elem1173; + for (int _i1174 = 0; _i1174 < _list1172.size; ++_i1174) { - _elem1183 = iprot.readString(); - struct.part_vals.add(_elem1183); + _elem1173 = iprot.readString(); + struct.part_vals.add(_elem1173); } } struct.setPart_valsIsSet(true); @@ -102852,13 +102572,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1185 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1185.size); - String _elem1186; - for (int _i1187 = 0; _i1187 < _list1185.size; ++_i1187) + org.apache.thrift.protocol.TList _list1175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1175.size); + String _elem1176; + for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) { - _elem1186 = iprot.readString(); - struct.group_names.add(_elem1186); + _elem1176 = iprot.readString(); + struct.group_names.add(_elem1176); } } struct.setGroup_namesIsSet(true); @@ -103345,14 +103065,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 _list1188 = iprot.readListBegin(); - struct.success = new ArrayList(_list1188.size); - Partition _elem1189; - for (int _i1190 = 0; _i1190 < _list1188.size; ++_i1190) + org.apache.thrift.protocol.TList _list1178 = iprot.readListBegin(); + struct.success = new ArrayList(_list1178.size); + Partition _elem1179; + for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) { - _elem1189 = new Partition(); - _elem1189.read(iprot); - struct.success.add(_elem1189); + _elem1179 = new Partition(); + _elem1179.read(iprot); + struct.success.add(_elem1179); } iprot.readListEnd(); } @@ -103396,9 +103116,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 _iter1191 : struct.success) + for (Partition _iter1181 : struct.success) { - _iter1191.write(oprot); + _iter1181.write(oprot); } oprot.writeListEnd(); } @@ -103445,9 +103165,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1192 : struct.success) + for (Partition _iter1182 : struct.success) { - _iter1192.write(oprot); + _iter1182.write(oprot); } } } @@ -103465,14 +103185,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 _list1193 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1193.size); - Partition _elem1194; - for (int _i1195 = 0; _i1195 < _list1193.size; ++_i1195) + org.apache.thrift.protocol.TList _list1183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1183.size); + Partition _elem1184; + for (int _i1185 = 0; _i1185 < _list1183.size; ++_i1185) { - _elem1194 = new Partition(); - _elem1194.read(iprot); - struct.success.add(_elem1194); + _elem1184 = new Partition(); + _elem1184.read(iprot); + struct.success.add(_elem1184); } } struct.setSuccessIsSet(true); @@ -104065,13 +103785,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 _list1196 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1196.size); - String _elem1197; - for (int _i1198 = 0; _i1198 < _list1196.size; ++_i1198) + org.apache.thrift.protocol.TList _list1186 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1186.size); + String _elem1187; + for (int _i1188 = 0; _i1188 < _list1186.size; ++_i1188) { - _elem1197 = iprot.readString(); - struct.part_vals.add(_elem1197); + _elem1187 = iprot.readString(); + struct.part_vals.add(_elem1187); } iprot.readListEnd(); } @@ -104115,9 +103835,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 _iter1199 : struct.part_vals) + for (String _iter1189 : struct.part_vals) { - oprot.writeString(_iter1199); + oprot.writeString(_iter1189); } oprot.writeListEnd(); } @@ -104166,9 +103886,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 _iter1200 : struct.part_vals) + for (String _iter1190 : struct.part_vals) { - oprot.writeString(_iter1200); + oprot.writeString(_iter1190); } } } @@ -104191,13 +103911,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1201 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1201.size); - String _elem1202; - for (int _i1203 = 0; _i1203 < _list1201.size; ++_i1203) + org.apache.thrift.protocol.TList _list1191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1191.size); + String _elem1192; + for (int _i1193 = 0; _i1193 < _list1191.size; ++_i1193) { - _elem1202 = iprot.readString(); - struct.part_vals.add(_elem1202); + _elem1192 = iprot.readString(); + struct.part_vals.add(_elem1192); } } struct.setPart_valsIsSet(true); @@ -104685,13 +104405,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 _list1204 = iprot.readListBegin(); - struct.success = new ArrayList(_list1204.size); - String _elem1205; - for (int _i1206 = 0; _i1206 < _list1204.size; ++_i1206) + org.apache.thrift.protocol.TList _list1194 = iprot.readListBegin(); + struct.success = new ArrayList(_list1194.size); + String _elem1195; + for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) { - _elem1205 = iprot.readString(); - struct.success.add(_elem1205); + _elem1195 = iprot.readString(); + struct.success.add(_elem1195); } iprot.readListEnd(); } @@ -104735,9 +104455,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 _iter1207 : struct.success) + for (String _iter1197 : struct.success) { - oprot.writeString(_iter1207); + oprot.writeString(_iter1197); } oprot.writeListEnd(); } @@ -104784,9 +104504,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1208 : struct.success) + for (String _iter1198 : struct.success) { - oprot.writeString(_iter1208); + oprot.writeString(_iter1198); } } } @@ -104804,13 +104524,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 _list1209 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1209.size); - String _elem1210; - for (int _i1211 = 0; _i1211 < _list1209.size; ++_i1211) + org.apache.thrift.protocol.TList _list1199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1199.size); + String _elem1200; + for (int _i1201 = 0; _i1201 < _list1199.size; ++_i1201) { - _elem1210 = iprot.readString(); - struct.success.add(_elem1210); + _elem1200 = iprot.readString(); + struct.success.add(_elem1200); } } struct.setSuccessIsSet(true); @@ -105977,14 +105697,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 _list1212 = iprot.readListBegin(); - struct.success = new ArrayList(_list1212.size); - Partition _elem1213; - for (int _i1214 = 0; _i1214 < _list1212.size; ++_i1214) + org.apache.thrift.protocol.TList _list1202 = iprot.readListBegin(); + struct.success = new ArrayList(_list1202.size); + Partition _elem1203; + for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) { - _elem1213 = new Partition(); - _elem1213.read(iprot); - struct.success.add(_elem1213); + _elem1203 = new Partition(); + _elem1203.read(iprot); + struct.success.add(_elem1203); } iprot.readListEnd(); } @@ -106028,9 +105748,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 _iter1215 : struct.success) + for (Partition _iter1205 : struct.success) { - _iter1215.write(oprot); + _iter1205.write(oprot); } oprot.writeListEnd(); } @@ -106077,9 +105797,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1216 : struct.success) + for (Partition _iter1206 : struct.success) { - _iter1216.write(oprot); + _iter1206.write(oprot); } } } @@ -106097,14 +105817,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 _list1217 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1217.size); - Partition _elem1218; - for (int _i1219 = 0; _i1219 < _list1217.size; ++_i1219) + org.apache.thrift.protocol.TList _list1207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1207.size); + Partition _elem1208; + for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) { - _elem1218 = new Partition(); - _elem1218.read(iprot); - struct.success.add(_elem1218); + _elem1208 = new Partition(); + _elem1208.read(iprot); + struct.success.add(_elem1208); } } struct.setSuccessIsSet(true); @@ -107271,14 +106991,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 _list1220 = iprot.readListBegin(); - struct.success = new ArrayList(_list1220.size); - PartitionSpec _elem1221; - for (int _i1222 = 0; _i1222 < _list1220.size; ++_i1222) + org.apache.thrift.protocol.TList _list1210 = iprot.readListBegin(); + struct.success = new ArrayList(_list1210.size); + PartitionSpec _elem1211; + for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) { - _elem1221 = new PartitionSpec(); - _elem1221.read(iprot); - struct.success.add(_elem1221); + _elem1211 = new PartitionSpec(); + _elem1211.read(iprot); + struct.success.add(_elem1211); } iprot.readListEnd(); } @@ -107322,9 +107042,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 _iter1223 : struct.success) + for (PartitionSpec _iter1213 : struct.success) { - _iter1223.write(oprot); + _iter1213.write(oprot); } oprot.writeListEnd(); } @@ -107371,9 +107091,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 _iter1224 : struct.success) + for (PartitionSpec _iter1214 : struct.success) { - _iter1224.write(oprot); + _iter1214.write(oprot); } } } @@ -107391,14 +107111,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 _list1225 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1225.size); - PartitionSpec _elem1226; - for (int _i1227 = 0; _i1227 < _list1225.size; ++_i1227) + org.apache.thrift.protocol.TList _list1215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1215.size); + PartitionSpec _elem1216; + for (int _i1217 = 0; _i1217 < _list1215.size; ++_i1217) { - _elem1226 = new PartitionSpec(); - _elem1226.read(iprot); - struct.success.add(_elem1226); + _elem1216 = new PartitionSpec(); + _elem1216.read(iprot); + struct.success.add(_elem1216); } } struct.setSuccessIsSet(true); @@ -109982,13 +109702,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 _list1228 = iprot.readListBegin(); - struct.names = new ArrayList(_list1228.size); - String _elem1229; - for (int _i1230 = 0; _i1230 < _list1228.size; ++_i1230) + org.apache.thrift.protocol.TList _list1218 = iprot.readListBegin(); + struct.names = new ArrayList(_list1218.size); + String _elem1219; + for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) { - _elem1229 = iprot.readString(); - struct.names.add(_elem1229); + _elem1219 = iprot.readString(); + struct.names.add(_elem1219); } iprot.readListEnd(); } @@ -110024,9 +109744,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 _iter1231 : struct.names) + for (String _iter1221 : struct.names) { - oprot.writeString(_iter1231); + oprot.writeString(_iter1221); } oprot.writeListEnd(); } @@ -110069,9 +109789,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1232 : struct.names) + for (String _iter1222 : struct.names) { - oprot.writeString(_iter1232); + oprot.writeString(_iter1222); } } } @@ -110091,13 +109811,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1233 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1233.size); - String _elem1234; - for (int _i1235 = 0; _i1235 < _list1233.size; ++_i1235) + org.apache.thrift.protocol.TList _list1223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1223.size); + String _elem1224; + for (int _i1225 = 0; _i1225 < _list1223.size; ++_i1225) { - _elem1234 = iprot.readString(); - struct.names.add(_elem1234); + _elem1224 = iprot.readString(); + struct.names.add(_elem1224); } } struct.setNamesIsSet(true); @@ -110584,14 +110304,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 _list1236 = iprot.readListBegin(); - struct.success = new ArrayList(_list1236.size); - Partition _elem1237; - for (int _i1238 = 0; _i1238 < _list1236.size; ++_i1238) + org.apache.thrift.protocol.TList _list1226 = iprot.readListBegin(); + struct.success = new ArrayList(_list1226.size); + Partition _elem1227; + for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) { - _elem1237 = new Partition(); - _elem1237.read(iprot); - struct.success.add(_elem1237); + _elem1227 = new Partition(); + _elem1227.read(iprot); + struct.success.add(_elem1227); } iprot.readListEnd(); } @@ -110635,9 +110355,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 _iter1239 : struct.success) + for (Partition _iter1229 : struct.success) { - _iter1239.write(oprot); + _iter1229.write(oprot); } oprot.writeListEnd(); } @@ -110684,9 +110404,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1240 : struct.success) + for (Partition _iter1230 : struct.success) { - _iter1240.write(oprot); + _iter1230.write(oprot); } } } @@ -110704,14 +110424,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 _list1241 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1241.size); - Partition _elem1242; - for (int _i1243 = 0; _i1243 < _list1241.size; ++_i1243) + org.apache.thrift.protocol.TList _list1231 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1231.size); + Partition _elem1232; + for (int _i1233 = 0; _i1233 < _list1231.size; ++_i1233) { - _elem1242 = new Partition(); - _elem1242.read(iprot); - struct.success.add(_elem1242); + _elem1232 = new Partition(); + _elem1232.read(iprot); + struct.success.add(_elem1232); } } struct.setSuccessIsSet(true); @@ -112261,14 +111981,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 _list1244 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1244.size); - Partition _elem1245; - for (int _i1246 = 0; _i1246 < _list1244.size; ++_i1246) + org.apache.thrift.protocol.TList _list1234 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1234.size); + Partition _elem1235; + for (int _i1236 = 0; _i1236 < _list1234.size; ++_i1236) { - _elem1245 = new Partition(); - _elem1245.read(iprot); - struct.new_parts.add(_elem1245); + _elem1235 = new Partition(); + _elem1235.read(iprot); + struct.new_parts.add(_elem1235); } iprot.readListEnd(); } @@ -112304,9 +112024,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 _iter1247 : struct.new_parts) + for (Partition _iter1237 : struct.new_parts) { - _iter1247.write(oprot); + _iter1237.write(oprot); } oprot.writeListEnd(); } @@ -112349,9 +112069,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 _iter1248 : struct.new_parts) + for (Partition _iter1238 : struct.new_parts) { - _iter1248.write(oprot); + _iter1238.write(oprot); } } } @@ -112371,14 +112091,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1249 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1249.size); - Partition _elem1250; - for (int _i1251 = 0; _i1251 < _list1249.size; ++_i1251) + org.apache.thrift.protocol.TList _list1239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1239.size); + Partition _elem1240; + for (int _i1241 = 0; _i1241 < _list1239.size; ++_i1241) { - _elem1250 = new Partition(); - _elem1250.read(iprot); - struct.new_parts.add(_elem1250); + _elem1240 = new Partition(); + _elem1240.read(iprot); + struct.new_parts.add(_elem1240); } } struct.setNew_partsIsSet(true); @@ -113431,14 +113151,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 _list1252 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1252.size); - Partition _elem1253; - for (int _i1254 = 0; _i1254 < _list1252.size; ++_i1254) + org.apache.thrift.protocol.TList _list1242 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1242.size); + Partition _elem1243; + for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) { - _elem1253 = new Partition(); - _elem1253.read(iprot); - struct.new_parts.add(_elem1253); + _elem1243 = new Partition(); + _elem1243.read(iprot); + struct.new_parts.add(_elem1243); } iprot.readListEnd(); } @@ -113483,9 +113203,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 _iter1255 : struct.new_parts) + for (Partition _iter1245 : struct.new_parts) { - _iter1255.write(oprot); + _iter1245.write(oprot); } oprot.writeListEnd(); } @@ -113536,9 +113256,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 _iter1256 : struct.new_parts) + for (Partition _iter1246 : struct.new_parts) { - _iter1256.write(oprot); + _iter1246.write(oprot); } } } @@ -113561,14 +113281,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1257 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1257.size); - Partition _elem1258; - for (int _i1259 = 0; _i1259 < _list1257.size; ++_i1259) + org.apache.thrift.protocol.TList _list1247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1247.size); + Partition _elem1248; + for (int _i1249 = 0; _i1249 < _list1247.size; ++_i1249) { - _elem1258 = new Partition(); - _elem1258.read(iprot); - struct.new_parts.add(_elem1258); + _elem1248 = new Partition(); + _elem1248.read(iprot); + struct.new_parts.add(_elem1248); } } struct.setNew_partsIsSet(true); @@ -115769,13 +115489,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 _list1260 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1260.size); - String _elem1261; - for (int _i1262 = 0; _i1262 < _list1260.size; ++_i1262) + org.apache.thrift.protocol.TList _list1250 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1250.size); + String _elem1251; + for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) { - _elem1261 = iprot.readString(); - struct.part_vals.add(_elem1261); + _elem1251 = iprot.readString(); + struct.part_vals.add(_elem1251); } iprot.readListEnd(); } @@ -115820,9 +115540,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 _iter1263 : struct.part_vals) + for (String _iter1253 : struct.part_vals) { - oprot.writeString(_iter1263); + oprot.writeString(_iter1253); } oprot.writeListEnd(); } @@ -115873,9 +115593,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 _iter1264 : struct.part_vals) + for (String _iter1254 : struct.part_vals) { - oprot.writeString(_iter1264); + oprot.writeString(_iter1254); } } } @@ -115898,13 +115618,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1265 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1265.size); - String _elem1266; - for (int _i1267 = 0; _i1267 < _list1265.size; ++_i1267) + org.apache.thrift.protocol.TList _list1255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1255.size); + String _elem1256; + for (int _i1257 = 0; _i1257 < _list1255.size; ++_i1257) { - _elem1266 = iprot.readString(); - struct.part_vals.add(_elem1266); + _elem1256 = iprot.readString(); + struct.part_vals.add(_elem1256); } } struct.setPart_valsIsSet(true); @@ -116778,13 +116498,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 _list1268 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1268.size); - String _elem1269; - for (int _i1270 = 0; _i1270 < _list1268.size; ++_i1270) + org.apache.thrift.protocol.TList _list1258 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1258.size); + String _elem1259; + for (int _i1260 = 0; _i1260 < _list1258.size; ++_i1260) { - _elem1269 = iprot.readString(); - struct.part_vals.add(_elem1269); + _elem1259 = iprot.readString(); + struct.part_vals.add(_elem1259); } iprot.readListEnd(); } @@ -116818,9 +116538,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 _iter1271 : struct.part_vals) + for (String _iter1261 : struct.part_vals) { - oprot.writeString(_iter1271); + oprot.writeString(_iter1261); } oprot.writeListEnd(); } @@ -116857,9 +116577,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 _iter1272 : struct.part_vals) + for (String _iter1262 : struct.part_vals) { - oprot.writeString(_iter1272); + oprot.writeString(_iter1262); } } } @@ -116874,13 +116594,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 _list1273 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1273.size); - String _elem1274; - for (int _i1275 = 0; _i1275 < _list1273.size; ++_i1275) + org.apache.thrift.protocol.TList _list1263 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1263.size); + String _elem1264; + for (int _i1265 = 0; _i1265 < _list1263.size; ++_i1265) { - _elem1274 = iprot.readString(); - struct.part_vals.add(_elem1274); + _elem1264 = iprot.readString(); + struct.part_vals.add(_elem1264); } } struct.setPart_valsIsSet(true); @@ -119035,13 +118755,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 _list1276 = iprot.readListBegin(); - struct.success = new ArrayList(_list1276.size); - String _elem1277; - for (int _i1278 = 0; _i1278 < _list1276.size; ++_i1278) + org.apache.thrift.protocol.TList _list1266 = iprot.readListBegin(); + struct.success = new ArrayList(_list1266.size); + String _elem1267; + for (int _i1268 = 0; _i1268 < _list1266.size; ++_i1268) { - _elem1277 = iprot.readString(); - struct.success.add(_elem1277); + _elem1267 = iprot.readString(); + struct.success.add(_elem1267); } iprot.readListEnd(); } @@ -119076,9 +118796,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 _iter1279 : struct.success) + for (String _iter1269 : struct.success) { - oprot.writeString(_iter1279); + oprot.writeString(_iter1269); } oprot.writeListEnd(); } @@ -119117,9 +118837,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1280 : struct.success) + for (String _iter1270 : struct.success) { - oprot.writeString(_iter1280); + oprot.writeString(_iter1270); } } } @@ -119134,13 +118854,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 _list1281 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1281.size); - String _elem1282; - for (int _i1283 = 0; _i1283 < _list1281.size; ++_i1283) + org.apache.thrift.protocol.TList _list1271 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1271.size); + String _elem1272; + for (int _i1273 = 0; _i1273 < _list1271.size; ++_i1273) { - _elem1282 = iprot.readString(); - struct.success.add(_elem1282); + _elem1272 = iprot.readString(); + struct.success.add(_elem1272); } } struct.setSuccessIsSet(true); @@ -119903,15 +119623,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 _map1284 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1284.size); - String _key1285; - String _val1286; - for (int _i1287 = 0; _i1287 < _map1284.size; ++_i1287) + org.apache.thrift.protocol.TMap _map1274 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1274.size); + String _key1275; + String _val1276; + for (int _i1277 = 0; _i1277 < _map1274.size; ++_i1277) { - _key1285 = iprot.readString(); - _val1286 = iprot.readString(); - struct.success.put(_key1285, _val1286); + _key1275 = iprot.readString(); + _val1276 = iprot.readString(); + struct.success.put(_key1275, _val1276); } iprot.readMapEnd(); } @@ -119946,10 +119666,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 _iter1288 : struct.success.entrySet()) + for (Map.Entry _iter1278 : struct.success.entrySet()) { - oprot.writeString(_iter1288.getKey()); - oprot.writeString(_iter1288.getValue()); + oprot.writeString(_iter1278.getKey()); + oprot.writeString(_iter1278.getValue()); } oprot.writeMapEnd(); } @@ -119988,10 +119708,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 _iter1289 : struct.success.entrySet()) + for (Map.Entry _iter1279 : struct.success.entrySet()) { - oprot.writeString(_iter1289.getKey()); - oprot.writeString(_iter1289.getValue()); + oprot.writeString(_iter1279.getKey()); + oprot.writeString(_iter1279.getValue()); } } } @@ -120006,15 +119726,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 _map1290 = 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*_map1290.size); - String _key1291; - String _val1292; - for (int _i1293 = 0; _i1293 < _map1290.size; ++_i1293) + org.apache.thrift.protocol.TMap _map1280 = 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*_map1280.size); + String _key1281; + String _val1282; + for (int _i1283 = 0; _i1283 < _map1280.size; ++_i1283) { - _key1291 = iprot.readString(); - _val1292 = iprot.readString(); - struct.success.put(_key1291, _val1292); + _key1281 = iprot.readString(); + _val1282 = iprot.readString(); + struct.success.put(_key1281, _val1282); } } struct.setSuccessIsSet(true); @@ -120609,15 +120329,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 _map1294 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1294.size); - String _key1295; - String _val1296; - for (int _i1297 = 0; _i1297 < _map1294.size; ++_i1297) + org.apache.thrift.protocol.TMap _map1284 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1284.size); + String _key1285; + String _val1286; + for (int _i1287 = 0; _i1287 < _map1284.size; ++_i1287) { - _key1295 = iprot.readString(); - _val1296 = iprot.readString(); - struct.part_vals.put(_key1295, _val1296); + _key1285 = iprot.readString(); + _val1286 = iprot.readString(); + struct.part_vals.put(_key1285, _val1286); } iprot.readMapEnd(); } @@ -120661,10 +120381,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 _iter1298 : struct.part_vals.entrySet()) + for (Map.Entry _iter1288 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1298.getKey()); - oprot.writeString(_iter1298.getValue()); + oprot.writeString(_iter1288.getKey()); + oprot.writeString(_iter1288.getValue()); } oprot.writeMapEnd(); } @@ -120715,10 +120435,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1299 : struct.part_vals.entrySet()) + for (Map.Entry _iter1289 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1299.getKey()); - oprot.writeString(_iter1299.getValue()); + oprot.writeString(_iter1289.getKey()); + oprot.writeString(_iter1289.getValue()); } } } @@ -120741,15 +120461,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1300 = 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*_map1300.size); - String _key1301; - String _val1302; - for (int _i1303 = 0; _i1303 < _map1300.size; ++_i1303) + org.apache.thrift.protocol.TMap _map1290 = 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*_map1290.size); + String _key1291; + String _val1292; + for (int _i1293 = 0; _i1293 < _map1290.size; ++_i1293) { - _key1301 = iprot.readString(); - _val1302 = iprot.readString(); - struct.part_vals.put(_key1301, _val1302); + _key1291 = iprot.readString(); + _val1292 = iprot.readString(); + struct.part_vals.put(_key1291, _val1292); } } struct.setPart_valsIsSet(true); @@ -122233,15 +121953,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 _map1304 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1304.size); - String _key1305; - String _val1306; - for (int _i1307 = 0; _i1307 < _map1304.size; ++_i1307) + org.apache.thrift.protocol.TMap _map1294 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1294.size); + String _key1295; + String _val1296; + for (int _i1297 = 0; _i1297 < _map1294.size; ++_i1297) { - _key1305 = iprot.readString(); - _val1306 = iprot.readString(); - struct.part_vals.put(_key1305, _val1306); + _key1295 = iprot.readString(); + _val1296 = iprot.readString(); + struct.part_vals.put(_key1295, _val1296); } iprot.readMapEnd(); } @@ -122285,10 +122005,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 _iter1308 : struct.part_vals.entrySet()) + for (Map.Entry _iter1298 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1308.getKey()); - oprot.writeString(_iter1308.getValue()); + oprot.writeString(_iter1298.getKey()); + oprot.writeString(_iter1298.getValue()); } oprot.writeMapEnd(); } @@ -122339,10 +122059,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1309 : struct.part_vals.entrySet()) + for (Map.Entry _iter1299 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1309.getKey()); - oprot.writeString(_iter1309.getValue()); + oprot.writeString(_iter1299.getKey()); + oprot.writeString(_iter1299.getValue()); } } } @@ -122365,15 +122085,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1310 = 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*_map1310.size); - String _key1311; - String _val1312; - for (int _i1313 = 0; _i1313 < _map1310.size; ++_i1313) + org.apache.thrift.protocol.TMap _map1300 = 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*_map1300.size); + String _key1301; + String _val1302; + for (int _i1303 = 0; _i1303 < _map1300.size; ++_i1303) { - _key1311 = iprot.readString(); - _val1312 = iprot.readString(); - struct.part_vals.put(_key1311, _val1312); + _key1301 = iprot.readString(); + _val1302 = iprot.readString(); + struct.part_vals.put(_key1301, _val1302); } } struct.setPart_valsIsSet(true); @@ -129097,14 +128817,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 _list1314 = iprot.readListBegin(); - struct.success = new ArrayList(_list1314.size); - Index _elem1315; - for (int _i1316 = 0; _i1316 < _list1314.size; ++_i1316) + org.apache.thrift.protocol.TList _list1304 = iprot.readListBegin(); + struct.success = new ArrayList(_list1304.size); + Index _elem1305; + for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) { - _elem1315 = new Index(); - _elem1315.read(iprot); - struct.success.add(_elem1315); + _elem1305 = new Index(); + _elem1305.read(iprot); + struct.success.add(_elem1305); } iprot.readListEnd(); } @@ -129148,9 +128868,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 _iter1317 : struct.success) + for (Index _iter1307 : struct.success) { - _iter1317.write(oprot); + _iter1307.write(oprot); } oprot.writeListEnd(); } @@ -129197,9 +128917,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter1318 : struct.success) + for (Index _iter1308 : struct.success) { - _iter1318.write(oprot); + _iter1308.write(oprot); } } } @@ -129217,14 +128937,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 _list1319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1319.size); - Index _elem1320; - for (int _i1321 = 0; _i1321 < _list1319.size; ++_i1321) + org.apache.thrift.protocol.TList _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1309.size); + Index _elem1310; + for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) { - _elem1320 = new Index(); - _elem1320.read(iprot); - struct.success.add(_elem1320); + _elem1310 = new Index(); + _elem1310.read(iprot); + struct.success.add(_elem1310); } } struct.setSuccessIsSet(true); @@ -130203,13 +129923,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 _list1322 = iprot.readListBegin(); - struct.success = new ArrayList(_list1322.size); - String _elem1323; - for (int _i1324 = 0; _i1324 < _list1322.size; ++_i1324) + org.apache.thrift.protocol.TList _list1312 = iprot.readListBegin(); + struct.success = new ArrayList(_list1312.size); + String _elem1313; + for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) { - _elem1323 = iprot.readString(); - struct.success.add(_elem1323); + _elem1313 = iprot.readString(); + struct.success.add(_elem1313); } iprot.readListEnd(); } @@ -130244,9 +129964,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 _iter1325 : struct.success) + for (String _iter1315 : struct.success) { - oprot.writeString(_iter1325); + oprot.writeString(_iter1315); } oprot.writeListEnd(); } @@ -130285,9 +130005,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1326 : struct.success) + for (String _iter1316 : struct.success) { - oprot.writeString(_iter1326); + oprot.writeString(_iter1316); } } } @@ -130302,13 +130022,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 _list1327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1327.size); - String _elem1328; - for (int _i1329 = 0; _i1329 < _list1327.size; ++_i1329) + org.apache.thrift.protocol.TList _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1317.size); + String _elem1318; + for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) { - _elem1328 = iprot.readString(); - struct.success.add(_elem1328); + _elem1318 = iprot.readString(); + struct.success.add(_elem1318); } } struct.setSuccessIsSet(true); @@ -149795,13 +149515,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 _list1330 = iprot.readListBegin(); - struct.success = new ArrayList(_list1330.size); - String _elem1331; - for (int _i1332 = 0; _i1332 < _list1330.size; ++_i1332) + org.apache.thrift.protocol.TList _list1320 = iprot.readListBegin(); + struct.success = new ArrayList(_list1320.size); + String _elem1321; + for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) { - _elem1331 = iprot.readString(); - struct.success.add(_elem1331); + _elem1321 = iprot.readString(); + struct.success.add(_elem1321); } iprot.readListEnd(); } @@ -149836,9 +149556,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 _iter1333 : struct.success) + for (String _iter1323 : struct.success) { - oprot.writeString(_iter1333); + oprot.writeString(_iter1323); } oprot.writeListEnd(); } @@ -149877,9 +149597,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1334 : struct.success) + for (String _iter1324 : struct.success) { - oprot.writeString(_iter1334); + oprot.writeString(_iter1324); } } } @@ -149894,13 +149614,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 _list1335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1335.size); - String _elem1336; - for (int _i1337 = 0; _i1337 < _list1335.size; ++_i1337) + org.apache.thrift.protocol.TList _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1325.size); + String _elem1326; + for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) { - _elem1336 = iprot.readString(); - struct.success.add(_elem1336); + _elem1326 = iprot.readString(); + struct.success.add(_elem1326); } } struct.setSuccessIsSet(true); @@ -153955,13 +153675,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 _list1338 = iprot.readListBegin(); - struct.success = new ArrayList(_list1338.size); - String _elem1339; - for (int _i1340 = 0; _i1340 < _list1338.size; ++_i1340) + org.apache.thrift.protocol.TList _list1328 = iprot.readListBegin(); + struct.success = new ArrayList(_list1328.size); + String _elem1329; + for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) { - _elem1339 = iprot.readString(); - struct.success.add(_elem1339); + _elem1329 = iprot.readString(); + struct.success.add(_elem1329); } iprot.readListEnd(); } @@ -153996,9 +153716,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 _iter1341 : struct.success) + for (String _iter1331 : struct.success) { - oprot.writeString(_iter1341); + oprot.writeString(_iter1331); } oprot.writeListEnd(); } @@ -154037,9 +153757,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1342 : struct.success) + for (String _iter1332 : struct.success) { - oprot.writeString(_iter1342); + oprot.writeString(_iter1332); } } } @@ -154054,13 +153774,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 _list1343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1343.size); - String _elem1344; - for (int _i1345 = 0; _i1345 < _list1343.size; ++_i1345) + org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1333.size); + String _elem1334; + for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) { - _elem1344 = iprot.readString(); - struct.success.add(_elem1344); + _elem1334 = iprot.readString(); + struct.success.add(_elem1334); } } struct.setSuccessIsSet(true); @@ -157351,14 +157071,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 _list1346 = iprot.readListBegin(); - struct.success = new ArrayList(_list1346.size); - Role _elem1347; - for (int _i1348 = 0; _i1348 < _list1346.size; ++_i1348) + org.apache.thrift.protocol.TList _list1336 = iprot.readListBegin(); + struct.success = new ArrayList(_list1336.size); + Role _elem1337; + for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) { - _elem1347 = new Role(); - _elem1347.read(iprot); - struct.success.add(_elem1347); + _elem1337 = new Role(); + _elem1337.read(iprot); + struct.success.add(_elem1337); } iprot.readListEnd(); } @@ -157393,9 +157113,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 _iter1349 : struct.success) + for (Role _iter1339 : struct.success) { - _iter1349.write(oprot); + _iter1339.write(oprot); } oprot.writeListEnd(); } @@ -157434,9 +157154,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1350 : struct.success) + for (Role _iter1340 : struct.success) { - _iter1350.write(oprot); + _iter1340.write(oprot); } } } @@ -157451,14 +157171,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 _list1351 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1351.size); - Role _elem1352; - for (int _i1353 = 0; _i1353 < _list1351.size; ++_i1353) + org.apache.thrift.protocol.TList _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1341.size); + Role _elem1342; + for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) { - _elem1352 = new Role(); - _elem1352.read(iprot); - struct.success.add(_elem1352); + _elem1342 = new Role(); + _elem1342.read(iprot); + struct.success.add(_elem1342); } } struct.setSuccessIsSet(true); @@ -160463,13 +160183,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 _list1354 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1354.size); - String _elem1355; - for (int _i1356 = 0; _i1356 < _list1354.size; ++_i1356) + org.apache.thrift.protocol.TList _list1344 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1344.size); + String _elem1345; + for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) { - _elem1355 = iprot.readString(); - struct.group_names.add(_elem1355); + _elem1345 = iprot.readString(); + struct.group_names.add(_elem1345); } iprot.readListEnd(); } @@ -160505,9 +160225,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 _iter1357 : struct.group_names) + for (String _iter1347 : struct.group_names) { - oprot.writeString(_iter1357); + oprot.writeString(_iter1347); } oprot.writeListEnd(); } @@ -160550,9 +160270,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 _iter1358 : struct.group_names) + for (String _iter1348 : struct.group_names) { - oprot.writeString(_iter1358); + oprot.writeString(_iter1348); } } } @@ -160573,13 +160293,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1359 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1359.size); - String _elem1360; - for (int _i1361 = 0; _i1361 < _list1359.size; ++_i1361) + org.apache.thrift.protocol.TList _list1349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1349.size); + String _elem1350; + for (int _i1351 = 0; _i1351 < _list1349.size; ++_i1351) { - _elem1360 = iprot.readString(); - struct.group_names.add(_elem1360); + _elem1350 = iprot.readString(); + struct.group_names.add(_elem1350); } } struct.setGroup_namesIsSet(true); @@ -162037,14 +161757,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 _list1362 = iprot.readListBegin(); - struct.success = new ArrayList(_list1362.size); - HiveObjectPrivilege _elem1363; - for (int _i1364 = 0; _i1364 < _list1362.size; ++_i1364) + org.apache.thrift.protocol.TList _list1352 = iprot.readListBegin(); + struct.success = new ArrayList(_list1352.size); + HiveObjectPrivilege _elem1353; + for (int _i1354 = 0; _i1354 < _list1352.size; ++_i1354) { - _elem1363 = new HiveObjectPrivilege(); - _elem1363.read(iprot); - struct.success.add(_elem1363); + _elem1353 = new HiveObjectPrivilege(); + _elem1353.read(iprot); + struct.success.add(_elem1353); } iprot.readListEnd(); } @@ -162079,9 +161799,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 _iter1365 : struct.success) + for (HiveObjectPrivilege _iter1355 : struct.success) { - _iter1365.write(oprot); + _iter1355.write(oprot); } oprot.writeListEnd(); } @@ -162120,9 +161840,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1366 : struct.success) + for (HiveObjectPrivilege _iter1356 : struct.success) { - _iter1366.write(oprot); + _iter1356.write(oprot); } } } @@ -162137,14 +161857,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 _list1367 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1367.size); - HiveObjectPrivilege _elem1368; - for (int _i1369 = 0; _i1369 < _list1367.size; ++_i1369) + org.apache.thrift.protocol.TList _list1357 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1357.size); + HiveObjectPrivilege _elem1358; + for (int _i1359 = 0; _i1359 < _list1357.size; ++_i1359) { - _elem1368 = new HiveObjectPrivilege(); - _elem1368.read(iprot); - struct.success.add(_elem1368); + _elem1358 = new HiveObjectPrivilege(); + _elem1358.read(iprot); + struct.success.add(_elem1358); } } struct.setSuccessIsSet(true); @@ -165046,13 +164766,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 _list1370 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1370.size); - String _elem1371; - for (int _i1372 = 0; _i1372 < _list1370.size; ++_i1372) + org.apache.thrift.protocol.TList _list1360 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1360.size); + String _elem1361; + for (int _i1362 = 0; _i1362 < _list1360.size; ++_i1362) { - _elem1371 = iprot.readString(); - struct.group_names.add(_elem1371); + _elem1361 = iprot.readString(); + struct.group_names.add(_elem1361); } iprot.readListEnd(); } @@ -165083,9 +164803,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 _iter1373 : struct.group_names) + for (String _iter1363 : struct.group_names) { - oprot.writeString(_iter1373); + oprot.writeString(_iter1363); } oprot.writeListEnd(); } @@ -165122,9 +164842,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 _iter1374 : struct.group_names) + for (String _iter1364 : struct.group_names) { - oprot.writeString(_iter1374); + oprot.writeString(_iter1364); } } } @@ -165140,13 +164860,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1375 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1375.size); - String _elem1376; - for (int _i1377 = 0; _i1377 < _list1375.size; ++_i1377) + org.apache.thrift.protocol.TList _list1365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1365.size); + String _elem1366; + for (int _i1367 = 0; _i1367 < _list1365.size; ++_i1367) { - _elem1376 = iprot.readString(); - struct.group_names.add(_elem1376); + _elem1366 = iprot.readString(); + struct.group_names.add(_elem1366); } } struct.setGroup_namesIsSet(true); @@ -165549,13 +165269,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 _list1378 = iprot.readListBegin(); - struct.success = new ArrayList(_list1378.size); - String _elem1379; - for (int _i1380 = 0; _i1380 < _list1378.size; ++_i1380) + org.apache.thrift.protocol.TList _list1368 = iprot.readListBegin(); + struct.success = new ArrayList(_list1368.size); + String _elem1369; + for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) { - _elem1379 = iprot.readString(); - struct.success.add(_elem1379); + _elem1369 = iprot.readString(); + struct.success.add(_elem1369); } iprot.readListEnd(); } @@ -165590,9 +165310,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 _iter1381 : struct.success) + for (String _iter1371 : struct.success) { - oprot.writeString(_iter1381); + oprot.writeString(_iter1371); } oprot.writeListEnd(); } @@ -165631,9 +165351,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1382 : struct.success) + for (String _iter1372 : struct.success) { - oprot.writeString(_iter1382); + oprot.writeString(_iter1372); } } } @@ -165648,13 +165368,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 _list1383 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1383.size); - String _elem1384; - for (int _i1385 = 0; _i1385 < _list1383.size; ++_i1385) + org.apache.thrift.protocol.TList _list1373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1373.size); + String _elem1374; + for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) { - _elem1384 = iprot.readString(); - struct.success.add(_elem1384); + _elem1374 = iprot.readString(); + struct.success.add(_elem1374); } } struct.setSuccessIsSet(true); @@ -170945,13 +170665,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 _list1386 = iprot.readListBegin(); - struct.success = new ArrayList(_list1386.size); - String _elem1387; - for (int _i1388 = 0; _i1388 < _list1386.size; ++_i1388) + org.apache.thrift.protocol.TList _list1376 = iprot.readListBegin(); + struct.success = new ArrayList(_list1376.size); + String _elem1377; + for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) { - _elem1387 = iprot.readString(); - struct.success.add(_elem1387); + _elem1377 = iprot.readString(); + struct.success.add(_elem1377); } iprot.readListEnd(); } @@ -170977,9 +170697,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 _iter1389 : struct.success) + for (String _iter1379 : struct.success) { - oprot.writeString(_iter1389); + oprot.writeString(_iter1379); } oprot.writeListEnd(); } @@ -171010,9 +170730,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1390 : struct.success) + for (String _iter1380 : struct.success) { - oprot.writeString(_iter1390); + oprot.writeString(_iter1380); } } } @@ -171024,13 +170744,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 _list1391 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1391.size); - String _elem1392; - for (int _i1393 = 0; _i1393 < _list1391.size; ++_i1393) + org.apache.thrift.protocol.TList _list1381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1381.size); + String _elem1382; + for (int _i1383 = 0; _i1383 < _list1381.size; ++_i1383) { - _elem1392 = iprot.readString(); - struct.success.add(_elem1392); + _elem1382 = iprot.readString(); + struct.success.add(_elem1382); } } struct.setSuccessIsSet(true); @@ -174060,13 +173780,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 _list1394 = iprot.readListBegin(); - struct.success = new ArrayList(_list1394.size); - String _elem1395; - for (int _i1396 = 0; _i1396 < _list1394.size; ++_i1396) + org.apache.thrift.protocol.TList _list1384 = iprot.readListBegin(); + struct.success = new ArrayList(_list1384.size); + String _elem1385; + for (int _i1386 = 0; _i1386 < _list1384.size; ++_i1386) { - _elem1395 = iprot.readString(); - struct.success.add(_elem1395); + _elem1385 = iprot.readString(); + struct.success.add(_elem1385); } iprot.readListEnd(); } @@ -174092,9 +173812,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 _iter1397 : struct.success) + for (String _iter1387 : struct.success) { - oprot.writeString(_iter1397); + oprot.writeString(_iter1387); } oprot.writeListEnd(); } @@ -174125,9 +173845,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1398 : struct.success) + for (String _iter1388 : struct.success) { - oprot.writeString(_iter1398); + oprot.writeString(_iter1388); } } } @@ -174139,13 +173859,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 _list1399 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1399.size); - String _elem1400; - for (int _i1401 = 0; _i1401 < _list1399.size; ++_i1401) + org.apache.thrift.protocol.TList _list1389 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1389.size); + String _elem1390; + for (int _i1391 = 0; _i1391 < _list1389.size; ++_i1391) { - _elem1400 = iprot.readString(); - struct.success.add(_elem1400); + _elem1390 = iprot.readString(); + struct.success.add(_elem1390); } } struct.setSuccessIsSet(true); @@ -186462,2021 +186182,6 @@ public void read(org.apache.thrift.protocol.TProtocol prot, add_dynamic_partitio } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_last_completed_transaction_for_tables_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_last_completed_transaction_for_tables_args"); - - private static final org.apache.thrift.protocol.TField DB_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("db_names", org.apache.thrift.protocol.TType.LIST, (short)1); - private static final org.apache.thrift.protocol.TField TABLE_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("table_names", org.apache.thrift.protocol.TType.LIST, (short)2); - private static final org.apache.thrift.protocol.TField TXNS_SNAPSHOT_FIELD_DESC = new org.apache.thrift.protocol.TField("txns_snapshot", org.apache.thrift.protocol.TType.STRUCT, (short)3); - - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new get_last_completed_transaction_for_tables_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_last_completed_transaction_for_tables_argsTupleSchemeFactory()); - } - - private List db_names; // required - private List table_names; // required - private TxnsSnapshot txns_snapshot; // required - - /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - DB_NAMES((short)1, "db_names"), - TABLE_NAMES((short)2, "table_names"), - TXNS_SNAPSHOT((short)3, "txns_snapshot"); - - private static final Map byName = new HashMap(); - - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { - switch(fieldId) { - case 1: // DB_NAMES - return DB_NAMES; - case 2: // TABLE_NAMES - return TABLE_NAMES; - case 3: // TXNS_SNAPSHOT - return TXNS_SNAPSHOT; - default: - return null; - } - } - - /** - * Find the _Fields constant that matches fieldId, throwing an exception - * if it is not found. - */ - public static _Fields findByThriftIdOrThrow(int fieldId) { - _Fields fields = findByThriftId(fieldId); - if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** - * Find the _Fields constant that matches name, or null if its not found. - */ - public static _Fields findByName(String name) { - return byName.get(name); - } - - private final short _thriftId; - private final String _fieldName; - - _Fields(short thriftId, String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - public short getThriftFieldId() { - return _thriftId; - } - - public String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - static { - Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DB_NAMES, new org.apache.thrift.meta_data.FieldMetaData("db_names", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.TABLE_NAMES, new org.apache.thrift.meta_data.FieldMetaData("table_names", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); - tmpMap.put(_Fields.TXNS_SNAPSHOT, new org.apache.thrift.meta_data.FieldMetaData("txns_snapshot", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TxnsSnapshot.class))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_last_completed_transaction_for_tables_args.class, metaDataMap); - } - - public get_last_completed_transaction_for_tables_args() { - } - - public get_last_completed_transaction_for_tables_args( - List db_names, - List table_names, - TxnsSnapshot txns_snapshot) - { - this(); - this.db_names = db_names; - this.table_names = table_names; - this.txns_snapshot = txns_snapshot; - } - - /** - * Performs a deep copy on other. - */ - public get_last_completed_transaction_for_tables_args(get_last_completed_transaction_for_tables_args other) { - if (other.isSetDb_names()) { - List __this__db_names = new ArrayList(other.db_names); - this.db_names = __this__db_names; - } - if (other.isSetTable_names()) { - List __this__table_names = new ArrayList(other.table_names); - this.table_names = __this__table_names; - } - if (other.isSetTxns_snapshot()) { - this.txns_snapshot = new TxnsSnapshot(other.txns_snapshot); - } - } - - public get_last_completed_transaction_for_tables_args deepCopy() { - return new get_last_completed_transaction_for_tables_args(this); - } - - @Override - public void clear() { - this.db_names = null; - this.table_names = null; - this.txns_snapshot = null; - } - - public int getDb_namesSize() { - return (this.db_names == null) ? 0 : this.db_names.size(); - } - - public java.util.Iterator getDb_namesIterator() { - return (this.db_names == null) ? null : this.db_names.iterator(); - } - - public void addToDb_names(String elem) { - if (this.db_names == null) { - this.db_names = new ArrayList(); - } - this.db_names.add(elem); - } - - public List getDb_names() { - return this.db_names; - } - - public void setDb_names(List db_names) { - this.db_names = db_names; - } - - public void unsetDb_names() { - this.db_names = null; - } - - /** Returns true if field db_names is set (has been assigned a value) and false otherwise */ - public boolean isSetDb_names() { - return this.db_names != null; - } - - public void setDb_namesIsSet(boolean value) { - if (!value) { - this.db_names = null; - } - } - - public int getTable_namesSize() { - return (this.table_names == null) ? 0 : this.table_names.size(); - } - - public java.util.Iterator getTable_namesIterator() { - return (this.table_names == null) ? null : this.table_names.iterator(); - } - - public void addToTable_names(String elem) { - if (this.table_names == null) { - this.table_names = new ArrayList(); - } - this.table_names.add(elem); - } - - public List getTable_names() { - return this.table_names; - } - - public void setTable_names(List table_names) { - this.table_names = table_names; - } - - public void unsetTable_names() { - this.table_names = null; - } - - /** Returns true if field table_names is set (has been assigned a value) and false otherwise */ - public boolean isSetTable_names() { - return this.table_names != null; - } - - public void setTable_namesIsSet(boolean value) { - if (!value) { - this.table_names = null; - } - } - - public TxnsSnapshot getTxns_snapshot() { - return this.txns_snapshot; - } - - public void setTxns_snapshot(TxnsSnapshot txns_snapshot) { - this.txns_snapshot = txns_snapshot; - } - - public void unsetTxns_snapshot() { - this.txns_snapshot = null; - } - - /** Returns true if field txns_snapshot is set (has been assigned a value) and false otherwise */ - public boolean isSetTxns_snapshot() { - return this.txns_snapshot != null; - } - - public void setTxns_snapshotIsSet(boolean value) { - if (!value) { - this.txns_snapshot = null; - } - } - - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case DB_NAMES: - if (value == null) { - unsetDb_names(); - } else { - setDb_names((List)value); - } - break; - - case TABLE_NAMES: - if (value == null) { - unsetTable_names(); - } else { - setTable_names((List)value); - } - break; - - case TXNS_SNAPSHOT: - if (value == null) { - unsetTxns_snapshot(); - } else { - setTxns_snapshot((TxnsSnapshot)value); - } - break; - - } - } - - public Object getFieldValue(_Fields field) { - switch (field) { - case DB_NAMES: - return getDb_names(); - - case TABLE_NAMES: - return getTable_names(); - - case TXNS_SNAPSHOT: - return getTxns_snapshot(); - - } - throw new IllegalStateException(); - } - - /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ - public boolean isSet(_Fields field) { - if (field == null) { - throw new IllegalArgumentException(); - } - - switch (field) { - case DB_NAMES: - return isSetDb_names(); - case TABLE_NAMES: - return isSetTable_names(); - case TXNS_SNAPSHOT: - return isSetTxns_snapshot(); - } - throw new IllegalStateException(); - } - - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof get_last_completed_transaction_for_tables_args) - return this.equals((get_last_completed_transaction_for_tables_args)that); - return false; - } - - public boolean equals(get_last_completed_transaction_for_tables_args that) { - if (that == null) - return false; - - boolean this_present_db_names = true && this.isSetDb_names(); - boolean that_present_db_names = true && that.isSetDb_names(); - if (this_present_db_names || that_present_db_names) { - if (!(this_present_db_names && that_present_db_names)) - return false; - if (!this.db_names.equals(that.db_names)) - return false; - } - - boolean this_present_table_names = true && this.isSetTable_names(); - boolean that_present_table_names = true && that.isSetTable_names(); - if (this_present_table_names || that_present_table_names) { - if (!(this_present_table_names && that_present_table_names)) - return false; - if (!this.table_names.equals(that.table_names)) - return false; - } - - boolean this_present_txns_snapshot = true && this.isSetTxns_snapshot(); - boolean that_present_txns_snapshot = true && that.isSetTxns_snapshot(); - if (this_present_txns_snapshot || that_present_txns_snapshot) { - if (!(this_present_txns_snapshot && that_present_txns_snapshot)) - return false; - if (!this.txns_snapshot.equals(that.txns_snapshot)) - return false; - } - - return true; - } - - @Override - public int hashCode() { - List list = new ArrayList(); - - boolean present_db_names = true && (isSetDb_names()); - list.add(present_db_names); - if (present_db_names) - list.add(db_names); - - boolean present_table_names = true && (isSetTable_names()); - list.add(present_table_names); - if (present_table_names) - list.add(table_names); - - boolean present_txns_snapshot = true && (isSetTxns_snapshot()); - list.add(present_txns_snapshot); - if (present_txns_snapshot) - list.add(txns_snapshot); - - return list.hashCode(); - } - - @Override - public int compareTo(get_last_completed_transaction_for_tables_args other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetDb_names()).compareTo(other.isSetDb_names()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDb_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_names, other.db_names); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTable_names()).compareTo(other.isSetTable_names()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTable_names()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table_names, other.table_names); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTxns_snapshot()).compareTo(other.isSetTxns_snapshot()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTxns_snapshot()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txns_snapshot, other.txns_snapshot); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - schemes.get(iprot.getScheme()).getScheme().read(iprot, this); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { - schemes.get(oprot.getScheme()).getScheme().write(oprot, this); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("get_last_completed_transaction_for_tables_args("); - boolean first = true; - - sb.append("db_names:"); - if (this.db_names == null) { - sb.append("null"); - } else { - sb.append(this.db_names); - } - first = false; - if (!first) sb.append(", "); - sb.append("table_names:"); - if (this.table_names == null) { - sb.append("null"); - } else { - sb.append(this.table_names); - } - first = false; - if (!first) sb.append(", "); - sb.append("txns_snapshot:"); - if (this.txns_snapshot == null) { - sb.append("null"); - } else { - sb.append(this.txns_snapshot); - } - first = false; - sb.append(")"); - return sb.toString(); - } - - public void validate() throws org.apache.thrift.TException { - // check for required fields - // check for sub-struct validity - if (txns_snapshot != null) { - txns_snapshot.validate(); - } - } - - private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { - try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { - try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private static class get_last_completed_transaction_for_tables_argsStandardSchemeFactory implements SchemeFactory { - public get_last_completed_transaction_for_tables_argsStandardScheme getScheme() { - return new get_last_completed_transaction_for_tables_argsStandardScheme(); - } - } - - private static class get_last_completed_transaction_for_tables_argsStandardScheme extends StandardScheme { - - public void read(org.apache.thrift.protocol.TProtocol iprot, get_last_completed_transaction_for_tables_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // DB_NAMES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1402 = iprot.readListBegin(); - struct.db_names = new ArrayList(_list1402.size); - String _elem1403; - for (int _i1404 = 0; _i1404 < _list1402.size; ++_i1404) - { - _elem1403 = iprot.readString(); - struct.db_names.add(_elem1403); - } - iprot.readListEnd(); - } - struct.setDb_namesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TABLE_NAMES - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1405 = iprot.readListBegin(); - struct.table_names = new ArrayList(_list1405.size); - String _elem1406; - for (int _i1407 = 0; _i1407 < _list1405.size; ++_i1407) - { - _elem1406 = iprot.readString(); - struct.table_names.add(_elem1406); - } - iprot.readListEnd(); - } - struct.setTable_namesIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TXNS_SNAPSHOT - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.txns_snapshot = new TxnsSnapshot(); - struct.txns_snapshot.read(iprot); - struct.setTxns_snapshotIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - struct.validate(); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot, get_last_completed_transaction_for_tables_args struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.db_names != null) { - oprot.writeFieldBegin(DB_NAMES_FIELD_DESC); - { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.db_names.size())); - for (String _iter1408 : struct.db_names) - { - oprot.writeString(_iter1408); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - if (struct.table_names != null) { - oprot.writeFieldBegin(TABLE_NAMES_FIELD_DESC); - { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.table_names.size())); - for (String _iter1409 : struct.table_names) - { - oprot.writeString(_iter1409); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - if (struct.txns_snapshot != null) { - oprot.writeFieldBegin(TXNS_SNAPSHOT_FIELD_DESC); - struct.txns_snapshot.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - } - - private static class get_last_completed_transaction_for_tables_argsTupleSchemeFactory implements SchemeFactory { - public get_last_completed_transaction_for_tables_argsTupleScheme getScheme() { - return new get_last_completed_transaction_for_tables_argsTupleScheme(); - } - } - - private static class get_last_completed_transaction_for_tables_argsTupleScheme extends TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_last_completed_transaction_for_tables_args struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetDb_names()) { - optionals.set(0); - } - if (struct.isSetTable_names()) { - optionals.set(1); - } - if (struct.isSetTxns_snapshot()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); - if (struct.isSetDb_names()) { - { - oprot.writeI32(struct.db_names.size()); - for (String _iter1410 : struct.db_names) - { - oprot.writeString(_iter1410); - } - } - } - if (struct.isSetTable_names()) { - { - oprot.writeI32(struct.table_names.size()); - for (String _iter1411 : struct.table_names) - { - oprot.writeString(_iter1411); - } - } - } - if (struct.isSetTxns_snapshot()) { - struct.txns_snapshot.write(oprot); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_last_completed_transaction_for_tables_args struct) throws org.apache.thrift.TException { - TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1412 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.db_names = new ArrayList(_list1412.size); - String _elem1413; - for (int _i1414 = 0; _i1414 < _list1412.size; ++_i1414) - { - _elem1413 = iprot.readString(); - struct.db_names.add(_elem1413); - } - } - struct.setDb_namesIsSet(true); - } - if (incoming.get(1)) { - { - org.apache.thrift.protocol.TList _list1415 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.table_names = new ArrayList(_list1415.size); - String _elem1416; - for (int _i1417 = 0; _i1417 < _list1415.size; ++_i1417) - { - _elem1416 = iprot.readString(); - struct.table_names.add(_elem1416); - } - } - struct.setTable_namesIsSet(true); - } - if (incoming.get(2)) { - struct.txns_snapshot = new TxnsSnapshot(); - struct.txns_snapshot.read(iprot); - struct.setTxns_snapshotIsSet(true); - } - } - } - - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_last_completed_transaction_for_tables_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_last_completed_transaction_for_tables_result"); - - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); - - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new get_last_completed_transaction_for_tables_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_last_completed_transaction_for_tables_resultTupleSchemeFactory()); - } - - private List success; // required - - /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUCCESS((short)0, "success"); - - private static final Map byName = new HashMap(); - - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { - switch(fieldId) { - case 0: // SUCCESS - return SUCCESS; - default: - return null; - } - } - - /** - * Find the _Fields constant that matches fieldId, throwing an exception - * if it is not found. - */ - public static _Fields findByThriftIdOrThrow(int fieldId) { - _Fields fields = findByThriftId(fieldId); - if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** - * Find the _Fields constant that matches name, or null if its not found. - */ - public static _Fields findByName(String name) { - return byName.get(name); - } - - private final short _thriftId; - private final String _fieldName; - - _Fields(short thriftId, String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - public short getThriftFieldId() { - return _thriftId; - } - - public String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - static { - Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BasicTxnInfo.class)))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_last_completed_transaction_for_tables_result.class, metaDataMap); - } - - public get_last_completed_transaction_for_tables_result() { - } - - public get_last_completed_transaction_for_tables_result( - List success) - { - this(); - this.success = success; - } - - /** - * Performs a deep copy on other. - */ - public get_last_completed_transaction_for_tables_result(get_last_completed_transaction_for_tables_result other) { - if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success.size()); - for (BasicTxnInfo other_element : other.success) { - __this__success.add(new BasicTxnInfo(other_element)); - } - this.success = __this__success; - } - } - - public get_last_completed_transaction_for_tables_result deepCopy() { - return new get_last_completed_transaction_for_tables_result(this); - } - - @Override - public void clear() { - this.success = null; - } - - public int getSuccessSize() { - return (this.success == null) ? 0 : this.success.size(); - } - - public java.util.Iterator getSuccessIterator() { - return (this.success == null) ? null : this.success.iterator(); - } - - public void addToSuccess(BasicTxnInfo elem) { - if (this.success == null) { - this.success = new ArrayList(); - } - this.success.add(elem); - } - - public List getSuccess() { - return this.success; - } - - public void setSuccess(List success) { - this.success = success; - } - - public void unsetSuccess() { - this.success = null; - } - - /** Returns true if field success is set (has been assigned a value) and false otherwise */ - public boolean isSetSuccess() { - return this.success != null; - } - - public void setSuccessIsSet(boolean value) { - if (!value) { - this.success = null; - } - } - - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case SUCCESS: - if (value == null) { - unsetSuccess(); - } else { - setSuccess((List)value); - } - break; - - } - } - - public Object getFieldValue(_Fields field) { - switch (field) { - case SUCCESS: - return getSuccess(); - - } - throw new IllegalStateException(); - } - - /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ - public boolean isSet(_Fields field) { - if (field == null) { - throw new IllegalArgumentException(); - } - - switch (field) { - case SUCCESS: - return isSetSuccess(); - } - throw new IllegalStateException(); - } - - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof get_last_completed_transaction_for_tables_result) - return this.equals((get_last_completed_transaction_for_tables_result)that); - return false; - } - - public boolean equals(get_last_completed_transaction_for_tables_result that) { - if (that == null) - return false; - - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); - if (this_present_success || that_present_success) { - if (!(this_present_success && that_present_success)) - return false; - if (!this.success.equals(that.success)) - return false; - } - - return true; - } - - @Override - public int hashCode() { - List list = new ArrayList(); - - boolean present_success = true && (isSetSuccess()); - list.add(present_success); - if (present_success) - list.add(success); - - return list.hashCode(); - } - - @Override - public int compareTo(get_last_completed_transaction_for_tables_result other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - schemes.get(iprot.getScheme()).getScheme().read(iprot, this); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { - schemes.get(oprot.getScheme()).getScheme().write(oprot, this); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("get_last_completed_transaction_for_tables_result("); - boolean first = true; - - sb.append("success:"); - if (this.success == null) { - sb.append("null"); - } else { - sb.append(this.success); - } - first = false; - sb.append(")"); - return sb.toString(); - } - - public void validate() throws org.apache.thrift.TException { - // check for required fields - // check for sub-struct validity - } - - private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { - try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { - try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private static class get_last_completed_transaction_for_tables_resultStandardSchemeFactory implements SchemeFactory { - public get_last_completed_transaction_for_tables_resultStandardScheme getScheme() { - return new get_last_completed_transaction_for_tables_resultStandardScheme(); - } - } - - private static class get_last_completed_transaction_for_tables_resultStandardScheme extends StandardScheme { - - public void read(org.apache.thrift.protocol.TProtocol iprot, get_last_completed_transaction_for_tables_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1418 = iprot.readListBegin(); - struct.success = new ArrayList(_list1418.size); - BasicTxnInfo _elem1419; - for (int _i1420 = 0; _i1420 < _list1418.size; ++_i1420) - { - _elem1419 = new BasicTxnInfo(); - _elem1419.read(iprot); - struct.success.add(_elem1419); - } - iprot.readListEnd(); - } - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - struct.validate(); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot, get_last_completed_transaction_for_tables_result struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.success != null) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (BasicTxnInfo _iter1421 : struct.success) - { - _iter1421.write(oprot); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - } - - private static class get_last_completed_transaction_for_tables_resultTupleSchemeFactory implements SchemeFactory { - public get_last_completed_transaction_for_tables_resultTupleScheme getScheme() { - return new get_last_completed_transaction_for_tables_resultTupleScheme(); - } - } - - private static class get_last_completed_transaction_for_tables_resultTupleScheme extends TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_last_completed_transaction_for_tables_result struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetSuccess()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (BasicTxnInfo _iter1422 : struct.success) - { - _iter1422.write(oprot); - } - } - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_last_completed_transaction_for_tables_result struct) throws org.apache.thrift.TException { - TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - { - org.apache.thrift.protocol.TList _list1423 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1423.size); - BasicTxnInfo _elem1424; - for (int _i1425 = 0; _i1425 < _list1423.size; ++_i1425) - { - _elem1424 = new BasicTxnInfo(); - _elem1424.read(iprot); - struct.success.add(_elem1424); - } - } - struct.setSuccessIsSet(true); - } - } - } - - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_last_completed_transaction_for_table_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_last_completed_transaction_for_table_args"); - - private static final org.apache.thrift.protocol.TField DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("db_name", org.apache.thrift.protocol.TType.STRING, (short)1); - private static final org.apache.thrift.protocol.TField TABLE_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("table_name", org.apache.thrift.protocol.TType.STRING, (short)2); - private static final org.apache.thrift.protocol.TField TXNS_SNAPSHOT_FIELD_DESC = new org.apache.thrift.protocol.TField("txns_snapshot", org.apache.thrift.protocol.TType.STRUCT, (short)3); - - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new get_last_completed_transaction_for_table_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_last_completed_transaction_for_table_argsTupleSchemeFactory()); - } - - private String db_name; // required - private String table_name; // required - private TxnsSnapshot txns_snapshot; // required - - /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - DB_NAME((short)1, "db_name"), - TABLE_NAME((short)2, "table_name"), - TXNS_SNAPSHOT((short)3, "txns_snapshot"); - - private static final Map byName = new HashMap(); - - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { - switch(fieldId) { - case 1: // DB_NAME - return DB_NAME; - case 2: // TABLE_NAME - return TABLE_NAME; - case 3: // TXNS_SNAPSHOT - return TXNS_SNAPSHOT; - default: - return null; - } - } - - /** - * Find the _Fields constant that matches fieldId, throwing an exception - * if it is not found. - */ - public static _Fields findByThriftIdOrThrow(int fieldId) { - _Fields fields = findByThriftId(fieldId); - if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** - * Find the _Fields constant that matches name, or null if its not found. - */ - public static _Fields findByName(String name) { - return byName.get(name); - } - - private final short _thriftId; - private final String _fieldName; - - _Fields(short thriftId, String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - public short getThriftFieldId() { - return _thriftId; - } - - public String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - static { - Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.DB_NAME, new org.apache.thrift.meta_data.FieldMetaData("db_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("table_name", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); - tmpMap.put(_Fields.TXNS_SNAPSHOT, new org.apache.thrift.meta_data.FieldMetaData("txns_snapshot", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TxnsSnapshot.class))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_last_completed_transaction_for_table_args.class, metaDataMap); - } - - public get_last_completed_transaction_for_table_args() { - } - - public get_last_completed_transaction_for_table_args( - String db_name, - String table_name, - TxnsSnapshot txns_snapshot) - { - this(); - this.db_name = db_name; - this.table_name = table_name; - this.txns_snapshot = txns_snapshot; - } - - /** - * Performs a deep copy on other. - */ - public get_last_completed_transaction_for_table_args(get_last_completed_transaction_for_table_args other) { - if (other.isSetDb_name()) { - this.db_name = other.db_name; - } - if (other.isSetTable_name()) { - this.table_name = other.table_name; - } - if (other.isSetTxns_snapshot()) { - this.txns_snapshot = new TxnsSnapshot(other.txns_snapshot); - } - } - - public get_last_completed_transaction_for_table_args deepCopy() { - return new get_last_completed_transaction_for_table_args(this); - } - - @Override - public void clear() { - this.db_name = null; - this.table_name = null; - this.txns_snapshot = null; - } - - public String getDb_name() { - return this.db_name; - } - - public void setDb_name(String db_name) { - this.db_name = db_name; - } - - public void unsetDb_name() { - this.db_name = null; - } - - /** Returns true if field db_name is set (has been assigned a value) and false otherwise */ - public boolean isSetDb_name() { - return this.db_name != null; - } - - public void setDb_nameIsSet(boolean value) { - if (!value) { - this.db_name = null; - } - } - - public String getTable_name() { - return this.table_name; - } - - public void setTable_name(String table_name) { - this.table_name = table_name; - } - - public void unsetTable_name() { - this.table_name = null; - } - - /** Returns true if field table_name is set (has been assigned a value) and false otherwise */ - public boolean isSetTable_name() { - return this.table_name != null; - } - - public void setTable_nameIsSet(boolean value) { - if (!value) { - this.table_name = null; - } - } - - public TxnsSnapshot getTxns_snapshot() { - return this.txns_snapshot; - } - - public void setTxns_snapshot(TxnsSnapshot txns_snapshot) { - this.txns_snapshot = txns_snapshot; - } - - public void unsetTxns_snapshot() { - this.txns_snapshot = null; - } - - /** Returns true if field txns_snapshot is set (has been assigned a value) and false otherwise */ - public boolean isSetTxns_snapshot() { - return this.txns_snapshot != null; - } - - public void setTxns_snapshotIsSet(boolean value) { - if (!value) { - this.txns_snapshot = null; - } - } - - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case DB_NAME: - if (value == null) { - unsetDb_name(); - } else { - setDb_name((String)value); - } - break; - - case TABLE_NAME: - if (value == null) { - unsetTable_name(); - } else { - setTable_name((String)value); - } - break; - - case TXNS_SNAPSHOT: - if (value == null) { - unsetTxns_snapshot(); - } else { - setTxns_snapshot((TxnsSnapshot)value); - } - break; - - } - } - - public Object getFieldValue(_Fields field) { - switch (field) { - case DB_NAME: - return getDb_name(); - - case TABLE_NAME: - return getTable_name(); - - case TXNS_SNAPSHOT: - return getTxns_snapshot(); - - } - throw new IllegalStateException(); - } - - /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ - public boolean isSet(_Fields field) { - if (field == null) { - throw new IllegalArgumentException(); - } - - switch (field) { - case DB_NAME: - return isSetDb_name(); - case TABLE_NAME: - return isSetTable_name(); - case TXNS_SNAPSHOT: - return isSetTxns_snapshot(); - } - throw new IllegalStateException(); - } - - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof get_last_completed_transaction_for_table_args) - return this.equals((get_last_completed_transaction_for_table_args)that); - return false; - } - - public boolean equals(get_last_completed_transaction_for_table_args that) { - if (that == null) - return false; - - boolean this_present_db_name = true && this.isSetDb_name(); - boolean that_present_db_name = true && that.isSetDb_name(); - if (this_present_db_name || that_present_db_name) { - if (!(this_present_db_name && that_present_db_name)) - return false; - if (!this.db_name.equals(that.db_name)) - return false; - } - - boolean this_present_table_name = true && this.isSetTable_name(); - boolean that_present_table_name = true && that.isSetTable_name(); - if (this_present_table_name || that_present_table_name) { - if (!(this_present_table_name && that_present_table_name)) - return false; - if (!this.table_name.equals(that.table_name)) - return false; - } - - boolean this_present_txns_snapshot = true && this.isSetTxns_snapshot(); - boolean that_present_txns_snapshot = true && that.isSetTxns_snapshot(); - if (this_present_txns_snapshot || that_present_txns_snapshot) { - if (!(this_present_txns_snapshot && that_present_txns_snapshot)) - return false; - if (!this.txns_snapshot.equals(that.txns_snapshot)) - return false; - } - - return true; - } - - @Override - public int hashCode() { - List list = new ArrayList(); - - boolean present_db_name = true && (isSetDb_name()); - list.add(present_db_name); - if (present_db_name) - list.add(db_name); - - boolean present_table_name = true && (isSetTable_name()); - list.add(present_table_name); - if (present_table_name) - list.add(table_name); - - boolean present_txns_snapshot = true && (isSetTxns_snapshot()); - list.add(present_txns_snapshot); - if (present_txns_snapshot) - list.add(txns_snapshot); - - return list.hashCode(); - } - - @Override - public int compareTo(get_last_completed_transaction_for_table_args other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetDb_name()).compareTo(other.isSetDb_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetDb_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.db_name, other.db_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTable_name()).compareTo(other.isSetTable_name()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTable_name()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.table_name, other.table_name); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetTxns_snapshot()).compareTo(other.isSetTxns_snapshot()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTxns_snapshot()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txns_snapshot, other.txns_snapshot); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - schemes.get(iprot.getScheme()).getScheme().read(iprot, this); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { - schemes.get(oprot.getScheme()).getScheme().write(oprot, this); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("get_last_completed_transaction_for_table_args("); - boolean first = true; - - sb.append("db_name:"); - if (this.db_name == null) { - sb.append("null"); - } else { - sb.append(this.db_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("table_name:"); - if (this.table_name == null) { - sb.append("null"); - } else { - sb.append(this.table_name); - } - first = false; - if (!first) sb.append(", "); - sb.append("txns_snapshot:"); - if (this.txns_snapshot == null) { - sb.append("null"); - } else { - sb.append(this.txns_snapshot); - } - first = false; - sb.append(")"); - return sb.toString(); - } - - public void validate() throws org.apache.thrift.TException { - // check for required fields - // check for sub-struct validity - if (txns_snapshot != null) { - txns_snapshot.validate(); - } - } - - private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { - try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { - try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private static class get_last_completed_transaction_for_table_argsStandardSchemeFactory implements SchemeFactory { - public get_last_completed_transaction_for_table_argsStandardScheme getScheme() { - return new get_last_completed_transaction_for_table_argsStandardScheme(); - } - } - - private static class get_last_completed_transaction_for_table_argsStandardScheme extends StandardScheme { - - public void read(org.apache.thrift.protocol.TProtocol iprot, get_last_completed_transaction_for_table_args struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // DB_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // TABLE_NAME - if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { - struct.table_name = iprot.readString(); - struct.setTable_nameIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 3: // TXNS_SNAPSHOT - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.txns_snapshot = new TxnsSnapshot(); - struct.txns_snapshot.read(iprot); - struct.setTxns_snapshotIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - struct.validate(); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot, get_last_completed_transaction_for_table_args struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.db_name != null) { - oprot.writeFieldBegin(DB_NAME_FIELD_DESC); - oprot.writeString(struct.db_name); - oprot.writeFieldEnd(); - } - if (struct.table_name != null) { - oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC); - oprot.writeString(struct.table_name); - oprot.writeFieldEnd(); - } - if (struct.txns_snapshot != null) { - oprot.writeFieldBegin(TXNS_SNAPSHOT_FIELD_DESC); - struct.txns_snapshot.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - } - - private static class get_last_completed_transaction_for_table_argsTupleSchemeFactory implements SchemeFactory { - public get_last_completed_transaction_for_table_argsTupleScheme getScheme() { - return new get_last_completed_transaction_for_table_argsTupleScheme(); - } - } - - private static class get_last_completed_transaction_for_table_argsTupleScheme extends TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_last_completed_transaction_for_table_args struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetDb_name()) { - optionals.set(0); - } - if (struct.isSetTable_name()) { - optionals.set(1); - } - if (struct.isSetTxns_snapshot()) { - optionals.set(2); - } - oprot.writeBitSet(optionals, 3); - if (struct.isSetDb_name()) { - oprot.writeString(struct.db_name); - } - if (struct.isSetTable_name()) { - oprot.writeString(struct.table_name); - } - if (struct.isSetTxns_snapshot()) { - struct.txns_snapshot.write(oprot); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_last_completed_transaction_for_table_args struct) throws org.apache.thrift.TException { - TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(3); - if (incoming.get(0)) { - struct.db_name = iprot.readString(); - struct.setDb_nameIsSet(true); - } - if (incoming.get(1)) { - struct.table_name = iprot.readString(); - struct.setTable_nameIsSet(true); - } - if (incoming.get(2)) { - struct.txns_snapshot = new TxnsSnapshot(); - struct.txns_snapshot.read(iprot); - struct.setTxns_snapshotIsSet(true); - } - } - } - - } - - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_last_completed_transaction_for_table_result implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_last_completed_transaction_for_table_result"); - - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRUCT, (short)0); - - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new get_last_completed_transaction_for_table_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_last_completed_transaction_for_table_resultTupleSchemeFactory()); - } - - private BasicTxnInfo success; // required - - /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ - public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUCCESS((short)0, "success"); - - private static final Map byName = new HashMap(); - - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { - switch(fieldId) { - case 0: // SUCCESS - return SUCCESS; - default: - return null; - } - } - - /** - * Find the _Fields constant that matches fieldId, throwing an exception - * if it is not found. - */ - public static _Fields findByThriftIdOrThrow(int fieldId) { - _Fields fields = findByThriftId(fieldId); - if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** - * Find the _Fields constant that matches name, or null if its not found. - */ - public static _Fields findByName(String name) { - return byName.get(name); - } - - private final short _thriftId; - private final String _fieldName; - - _Fields(short thriftId, String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - public short getThriftFieldId() { - return _thriftId; - } - - public String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - static { - Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, BasicTxnInfo.class))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_last_completed_transaction_for_table_result.class, metaDataMap); - } - - public get_last_completed_transaction_for_table_result() { - } - - public get_last_completed_transaction_for_table_result( - BasicTxnInfo success) - { - this(); - this.success = success; - } - - /** - * Performs a deep copy on other. - */ - public get_last_completed_transaction_for_table_result(get_last_completed_transaction_for_table_result other) { - if (other.isSetSuccess()) { - this.success = new BasicTxnInfo(other.success); - } - } - - public get_last_completed_transaction_for_table_result deepCopy() { - return new get_last_completed_transaction_for_table_result(this); - } - - @Override - public void clear() { - this.success = null; - } - - public BasicTxnInfo getSuccess() { - return this.success; - } - - public void setSuccess(BasicTxnInfo success) { - this.success = success; - } - - public void unsetSuccess() { - this.success = null; - } - - /** Returns true if field success is set (has been assigned a value) and false otherwise */ - public boolean isSetSuccess() { - return this.success != null; - } - - public void setSuccessIsSet(boolean value) { - if (!value) { - this.success = null; - } - } - - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case SUCCESS: - if (value == null) { - unsetSuccess(); - } else { - setSuccess((BasicTxnInfo)value); - } - break; - - } - } - - public Object getFieldValue(_Fields field) { - switch (field) { - case SUCCESS: - return getSuccess(); - - } - throw new IllegalStateException(); - } - - /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ - public boolean isSet(_Fields field) { - if (field == null) { - throw new IllegalArgumentException(); - } - - switch (field) { - case SUCCESS: - return isSetSuccess(); - } - throw new IllegalStateException(); - } - - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof get_last_completed_transaction_for_table_result) - return this.equals((get_last_completed_transaction_for_table_result)that); - return false; - } - - public boolean equals(get_last_completed_transaction_for_table_result that) { - if (that == null) - return false; - - boolean this_present_success = true && this.isSetSuccess(); - boolean that_present_success = true && that.isSetSuccess(); - if (this_present_success || that_present_success) { - if (!(this_present_success && that_present_success)) - return false; - if (!this.success.equals(that.success)) - return false; - } - - return true; - } - - @Override - public int hashCode() { - List list = new ArrayList(); - - boolean present_success = true && (isSetSuccess()); - list.add(present_success); - if (present_success) - list.add(success); - - return list.hashCode(); - } - - @Override - public int compareTo(get_last_completed_transaction_for_table_result other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - schemes.get(iprot.getScheme()).getScheme().read(iprot, this); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { - schemes.get(oprot.getScheme()).getScheme().write(oprot, this); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("get_last_completed_transaction_for_table_result("); - boolean first = true; - - sb.append("success:"); - if (this.success == null) { - sb.append("null"); - } else { - sb.append(this.success); - } - first = false; - sb.append(")"); - return sb.toString(); - } - - public void validate() throws org.apache.thrift.TException { - // check for required fields - // check for sub-struct validity - if (success != null) { - success.validate(); - } - } - - private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { - try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { - try { - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private static class get_last_completed_transaction_for_table_resultStandardSchemeFactory implements SchemeFactory { - public get_last_completed_transaction_for_table_resultStandardScheme getScheme() { - return new get_last_completed_transaction_for_table_resultStandardScheme(); - } - } - - private static class get_last_completed_transaction_for_table_resultStandardScheme extends StandardScheme { - - public void read(org.apache.thrift.protocol.TProtocol iprot, get_last_completed_transaction_for_table_result struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new BasicTxnInfo(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - struct.validate(); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot, get_last_completed_transaction_for_table_result struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - if (struct.success != null) { - oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - struct.success.write(oprot); - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - } - - private static class get_last_completed_transaction_for_table_resultTupleSchemeFactory implements SchemeFactory { - public get_last_completed_transaction_for_table_resultTupleScheme getScheme() { - return new get_last_completed_transaction_for_table_resultTupleScheme(); - } - } - - private static class get_last_completed_transaction_for_table_resultTupleScheme extends TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_last_completed_transaction_for_table_result struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetSuccess()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetSuccess()) { - struct.success.write(oprot); - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_last_completed_transaction_for_table_result struct) throws org.apache.thrift.TException { - TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.success = new BasicTxnInfo(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); - } - } - } - - } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_next_notification_args implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("get_next_notification_args"); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnsSnapshot.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnsSnapshot.java deleted file mode 100644 index 5600bdadc4..0000000000 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnsSnapshot.java +++ /dev/null @@ -1,537 +0,0 @@ -/** - * Autogenerated by Thrift Compiler (0.9.3) - * - * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING - * @generated - */ -package org.apache.hadoop.hive.metastore.api; - -import org.apache.thrift.scheme.IScheme; -import org.apache.thrift.scheme.SchemeFactory; -import org.apache.thrift.scheme.StandardScheme; - -import org.apache.thrift.scheme.TupleScheme; -import org.apache.thrift.protocol.TTupleProtocol; -import org.apache.thrift.protocol.TProtocolException; -import org.apache.thrift.EncodingUtils; -import org.apache.thrift.TException; -import org.apache.thrift.async.AsyncMethodCallback; -import org.apache.thrift.server.AbstractNonblockingServer.*; -import java.util.List; -import java.util.ArrayList; -import java.util.Map; -import java.util.HashMap; -import java.util.EnumMap; -import java.util.Set; -import java.util.HashSet; -import java.util.EnumSet; -import java.util.Collections; -import java.util.BitSet; -import java.nio.ByteBuffer; -import java.util.Arrays; -import javax.annotation.Generated; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; - -@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) -@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)") -@org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public class TxnsSnapshot implements org.apache.thrift.TBase, java.io.Serializable, Cloneable, Comparable { - private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("TxnsSnapshot"); - - private static final org.apache.thrift.protocol.TField TXN_HIGH_WATER_MARK_FIELD_DESC = new org.apache.thrift.protocol.TField("txn_high_water_mark", org.apache.thrift.protocol.TType.I64, (short)1); - private static final org.apache.thrift.protocol.TField OPEN_TXNS_FIELD_DESC = new org.apache.thrift.protocol.TField("open_txns", org.apache.thrift.protocol.TType.LIST, (short)2); - - private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); - static { - schemes.put(StandardScheme.class, new TxnsSnapshotStandardSchemeFactory()); - schemes.put(TupleScheme.class, new TxnsSnapshotTupleSchemeFactory()); - } - - private long txn_high_water_mark; // required - private List open_txns; // 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 { - TXN_HIGH_WATER_MARK((short)1, "txn_high_water_mark"), - OPEN_TXNS((short)2, "open_txns"); - - private static final Map byName = new HashMap(); - - static { - for (_Fields field : EnumSet.allOf(_Fields.class)) { - byName.put(field.getFieldName(), field); - } - } - - /** - * Find the _Fields constant that matches fieldId, or null if its not found. - */ - public static _Fields findByThriftId(int fieldId) { - switch(fieldId) { - case 1: // TXN_HIGH_WATER_MARK - return TXN_HIGH_WATER_MARK; - case 2: // OPEN_TXNS - return OPEN_TXNS; - default: - return null; - } - } - - /** - * Find the _Fields constant that matches fieldId, throwing an exception - * if it is not found. - */ - public static _Fields findByThriftIdOrThrow(int fieldId) { - _Fields fields = findByThriftId(fieldId); - if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!"); - return fields; - } - - /** - * Find the _Fields constant that matches name, or null if its not found. - */ - public static _Fields findByName(String name) { - return byName.get(name); - } - - private final short _thriftId; - private final String _fieldName; - - _Fields(short thriftId, String fieldName) { - _thriftId = thriftId; - _fieldName = fieldName; - } - - public short getThriftFieldId() { - return _thriftId; - } - - public String getFieldName() { - return _fieldName; - } - } - - // isset id assignments - private static final int __TXN_HIGH_WATER_MARK_ISSET_ID = 0; - private byte __isset_bitfield = 0; - public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; - static { - Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.TXN_HIGH_WATER_MARK, new org.apache.thrift.meta_data.FieldMetaData("txn_high_water_mark", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); - tmpMap.put(_Fields.OPEN_TXNS, new org.apache.thrift.meta_data.FieldMetaData("open_txns", org.apache.thrift.TFieldRequirementType.REQUIRED, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)))); - metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(TxnsSnapshot.class, metaDataMap); - } - - public TxnsSnapshot() { - } - - public TxnsSnapshot( - long txn_high_water_mark, - List open_txns) - { - this(); - this.txn_high_water_mark = txn_high_water_mark; - setTxn_high_water_markIsSet(true); - this.open_txns = open_txns; - } - - /** - * Performs a deep copy on other. - */ - public TxnsSnapshot(TxnsSnapshot other) { - __isset_bitfield = other.__isset_bitfield; - this.txn_high_water_mark = other.txn_high_water_mark; - if (other.isSetOpen_txns()) { - List __this__open_txns = new ArrayList(other.open_txns); - this.open_txns = __this__open_txns; - } - } - - public TxnsSnapshot deepCopy() { - return new TxnsSnapshot(this); - } - - @Override - public void clear() { - setTxn_high_water_markIsSet(false); - this.txn_high_water_mark = 0; - this.open_txns = null; - } - - public long getTxn_high_water_mark() { - return this.txn_high_water_mark; - } - - public void setTxn_high_water_mark(long txn_high_water_mark) { - this.txn_high_water_mark = txn_high_water_mark; - setTxn_high_water_markIsSet(true); - } - - public void unsetTxn_high_water_mark() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __TXN_HIGH_WATER_MARK_ISSET_ID); - } - - /** Returns true if field txn_high_water_mark is set (has been assigned a value) and false otherwise */ - public boolean isSetTxn_high_water_mark() { - return EncodingUtils.testBit(__isset_bitfield, __TXN_HIGH_WATER_MARK_ISSET_ID); - } - - public void setTxn_high_water_markIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXN_HIGH_WATER_MARK_ISSET_ID, value); - } - - public int getOpen_txnsSize() { - return (this.open_txns == null) ? 0 : this.open_txns.size(); - } - - public java.util.Iterator getOpen_txnsIterator() { - return (this.open_txns == null) ? null : this.open_txns.iterator(); - } - - public void addToOpen_txns(long elem) { - if (this.open_txns == null) { - this.open_txns = new ArrayList(); - } - this.open_txns.add(elem); - } - - public List getOpen_txns() { - return this.open_txns; - } - - public void setOpen_txns(List open_txns) { - this.open_txns = open_txns; - } - - public void unsetOpen_txns() { - this.open_txns = null; - } - - /** Returns true if field open_txns is set (has been assigned a value) and false otherwise */ - public boolean isSetOpen_txns() { - return this.open_txns != null; - } - - public void setOpen_txnsIsSet(boolean value) { - if (!value) { - this.open_txns = null; - } - } - - public void setFieldValue(_Fields field, Object value) { - switch (field) { - case TXN_HIGH_WATER_MARK: - if (value == null) { - unsetTxn_high_water_mark(); - } else { - setTxn_high_water_mark((Long)value); - } - break; - - case OPEN_TXNS: - if (value == null) { - unsetOpen_txns(); - } else { - setOpen_txns((List)value); - } - break; - - } - } - - public Object getFieldValue(_Fields field) { - switch (field) { - case TXN_HIGH_WATER_MARK: - return getTxn_high_water_mark(); - - case OPEN_TXNS: - return getOpen_txns(); - - } - throw new IllegalStateException(); - } - - /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */ - public boolean isSet(_Fields field) { - if (field == null) { - throw new IllegalArgumentException(); - } - - switch (field) { - case TXN_HIGH_WATER_MARK: - return isSetTxn_high_water_mark(); - case OPEN_TXNS: - return isSetOpen_txns(); - } - throw new IllegalStateException(); - } - - @Override - public boolean equals(Object that) { - if (that == null) - return false; - if (that instanceof TxnsSnapshot) - return this.equals((TxnsSnapshot)that); - return false; - } - - public boolean equals(TxnsSnapshot that) { - if (that == null) - return false; - - boolean this_present_txn_high_water_mark = true; - boolean that_present_txn_high_water_mark = true; - if (this_present_txn_high_water_mark || that_present_txn_high_water_mark) { - if (!(this_present_txn_high_water_mark && that_present_txn_high_water_mark)) - return false; - if (this.txn_high_water_mark != that.txn_high_water_mark) - return false; - } - - boolean this_present_open_txns = true && this.isSetOpen_txns(); - boolean that_present_open_txns = true && that.isSetOpen_txns(); - if (this_present_open_txns || that_present_open_txns) { - if (!(this_present_open_txns && that_present_open_txns)) - return false; - if (!this.open_txns.equals(that.open_txns)) - return false; - } - - return true; - } - - @Override - public int hashCode() { - List list = new ArrayList(); - - boolean present_txn_high_water_mark = true; - list.add(present_txn_high_water_mark); - if (present_txn_high_water_mark) - list.add(txn_high_water_mark); - - boolean present_open_txns = true && (isSetOpen_txns()); - list.add(present_open_txns); - if (present_open_txns) - list.add(open_txns); - - return list.hashCode(); - } - - @Override - public int compareTo(TxnsSnapshot other) { - if (!getClass().equals(other.getClass())) { - return getClass().getName().compareTo(other.getClass().getName()); - } - - int lastComparison = 0; - - lastComparison = Boolean.valueOf(isSetTxn_high_water_mark()).compareTo(other.isSetTxn_high_water_mark()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetTxn_high_water_mark()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.txn_high_water_mark, other.txn_high_water_mark); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetOpen_txns()).compareTo(other.isSetOpen_txns()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetOpen_txns()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.open_txns, other.open_txns); - if (lastComparison != 0) { - return lastComparison; - } - } - return 0; - } - - public _Fields fieldForId(int fieldId) { - return _Fields.findByThriftId(fieldId); - } - - public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException { - schemes.get(iprot.getScheme()).getScheme().read(iprot, this); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException { - schemes.get(oprot.getScheme()).getScheme().write(oprot, this); - } - - @Override - public String toString() { - StringBuilder sb = new StringBuilder("TxnsSnapshot("); - boolean first = true; - - sb.append("txn_high_water_mark:"); - sb.append(this.txn_high_water_mark); - first = false; - if (!first) sb.append(", "); - sb.append("open_txns:"); - if (this.open_txns == null) { - sb.append("null"); - } else { - sb.append(this.open_txns); - } - first = false; - sb.append(")"); - return sb.toString(); - } - - public void validate() throws org.apache.thrift.TException { - // check for required fields - if (!isSetTxn_high_water_mark()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'txn_high_water_mark' is unset! Struct:" + toString()); - } - - if (!isSetOpen_txns()) { - throw new org.apache.thrift.protocol.TProtocolException("Required field 'open_txns' is unset! Struct:" + toString()); - } - - // check for sub-struct validity - } - - private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { - try { - write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException { - try { - // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor. - __isset_bitfield = 0; - read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in))); - } catch (org.apache.thrift.TException te) { - throw new java.io.IOException(te); - } - } - - private static class TxnsSnapshotStandardSchemeFactory implements SchemeFactory { - public TxnsSnapshotStandardScheme getScheme() { - return new TxnsSnapshotStandardScheme(); - } - } - - private static class TxnsSnapshotStandardScheme extends StandardScheme { - - public void read(org.apache.thrift.protocol.TProtocol iprot, TxnsSnapshot struct) throws org.apache.thrift.TException { - org.apache.thrift.protocol.TField schemeField; - iprot.readStructBegin(); - while (true) - { - schemeField = iprot.readFieldBegin(); - if (schemeField.type == org.apache.thrift.protocol.TType.STOP) { - break; - } - switch (schemeField.id) { - case 1: // TXN_HIGH_WATER_MARK - if (schemeField.type == org.apache.thrift.protocol.TType.I64) { - struct.txn_high_water_mark = iprot.readI64(); - struct.setTxn_high_water_markIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // OPEN_TXNS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list624 = iprot.readListBegin(); - struct.open_txns = new ArrayList(_list624.size); - long _elem625; - for (int _i626 = 0; _i626 < _list624.size; ++_i626) - { - _elem625 = iprot.readI64(); - struct.open_txns.add(_elem625); - } - iprot.readListEnd(); - } - struct.setOpen_txnsIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - default: - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - iprot.readFieldEnd(); - } - iprot.readStructEnd(); - struct.validate(); - } - - public void write(org.apache.thrift.protocol.TProtocol oprot, TxnsSnapshot struct) throws org.apache.thrift.TException { - struct.validate(); - - oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(TXN_HIGH_WATER_MARK_FIELD_DESC); - oprot.writeI64(struct.txn_high_water_mark); - oprot.writeFieldEnd(); - if (struct.open_txns != null) { - oprot.writeFieldBegin(OPEN_TXNS_FIELD_DESC); - { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.open_txns.size())); - for (long _iter627 : struct.open_txns) - { - oprot.writeI64(_iter627); - } - oprot.writeListEnd(); - } - oprot.writeFieldEnd(); - } - oprot.writeFieldStop(); - oprot.writeStructEnd(); - } - - } - - private static class TxnsSnapshotTupleSchemeFactory implements SchemeFactory { - public TxnsSnapshotTupleScheme getScheme() { - return new TxnsSnapshotTupleScheme(); - } - } - - private static class TxnsSnapshotTupleScheme extends TupleScheme { - - @Override - public void write(org.apache.thrift.protocol.TProtocol prot, TxnsSnapshot struct) throws org.apache.thrift.TException { - TTupleProtocol oprot = (TTupleProtocol) prot; - oprot.writeI64(struct.txn_high_water_mark); - { - oprot.writeI32(struct.open_txns.size()); - for (long _iter628 : struct.open_txns) - { - oprot.writeI64(_iter628); - } - } - } - - @Override - public void read(org.apache.thrift.protocol.TProtocol prot, TxnsSnapshot struct) throws org.apache.thrift.TException { - TTupleProtocol iprot = (TTupleProtocol) prot; - struct.txn_high_water_mark = iprot.readI64(); - struct.setTxn_high_water_markIsSet(true); - { - org.apache.thrift.protocol.TList _list629 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.open_txns = new ArrayList(_list629.size); - long _elem630; - for (int _i631 = 0; _i631 < _list629.size; ++_i631) - { - _elem630 = iprot.readI64(); - struct.open_txns.add(_elem630); - } - } - struct.setOpen_txnsIsSet(true); - } - } - -} - diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java index 342e6b0e13..d545e663fb 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/UniqueConstraintsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, UniqueConstraintsRe case 1: // UNIQUE_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list348 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list348.size); - SQLUniqueConstraint _elem349; - for (int _i350 = 0; _i350 < _list348.size; ++_i350) + org.apache.thrift.protocol.TList _list338 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list338.size); + SQLUniqueConstraint _elem339; + for (int _i340 = 0; _i340 < _list338.size; ++_i340) { - _elem349 = new SQLUniqueConstraint(); - _elem349.read(iprot); - struct.uniqueConstraints.add(_elem349); + _elem339 = new SQLUniqueConstraint(); + _elem339.read(iprot); + struct.uniqueConstraints.add(_elem339); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, UniqueConstraintsR oprot.writeFieldBegin(UNIQUE_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.uniqueConstraints.size())); - for (SQLUniqueConstraint _iter351 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter341 : struct.uniqueConstraints) { - _iter351.write(oprot); + _iter341.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, UniqueConstraintsRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter352 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter342 : struct.uniqueConstraints) { - _iter352.write(oprot); + _iter342.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, UniqueConstraintsRe public void read(org.apache.thrift.protocol.TProtocol prot, UniqueConstraintsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list353 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list353.size); - SQLUniqueConstraint _elem354; - for (int _i355 = 0; _i355 < _list353.size; ++_i355) + org.apache.thrift.protocol.TList _list343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list343.size); + SQLUniqueConstraint _elem344; + for (int _i345 = 0; _i345 < _list343.size; ++_i345) { - _elem354 = new SQLUniqueConstraint(); - _elem354.read(iprot); - struct.uniqueConstraints.add(_elem354); + _elem344 = new SQLUniqueConstraint(); + _elem344.read(iprot); + struct.uniqueConstraints.add(_elem344); } } struct.setUniqueConstraintsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java index c9988c0229..01654c7c4a 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMFullResourcePlan.java @@ -755,14 +755,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 2: // POOLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list764 = iprot.readListBegin(); - struct.pools = new ArrayList(_list764.size); - WMPool _elem765; - for (int _i766 = 0; _i766 < _list764.size; ++_i766) + org.apache.thrift.protocol.TList _list754 = iprot.readListBegin(); + struct.pools = new ArrayList(_list754.size); + WMPool _elem755; + for (int _i756 = 0; _i756 < _list754.size; ++_i756) { - _elem765 = new WMPool(); - _elem765.read(iprot); - struct.pools.add(_elem765); + _elem755 = new WMPool(); + _elem755.read(iprot); + struct.pools.add(_elem755); } iprot.readListEnd(); } @@ -774,14 +774,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 3: // MAPPINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list767 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list767.size); - WMMapping _elem768; - for (int _i769 = 0; _i769 < _list767.size; ++_i769) + org.apache.thrift.protocol.TList _list757 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list757.size); + WMMapping _elem758; + for (int _i759 = 0; _i759 < _list757.size; ++_i759) { - _elem768 = new WMMapping(); - _elem768.read(iprot); - struct.mappings.add(_elem768); + _elem758 = new WMMapping(); + _elem758.read(iprot); + struct.mappings.add(_elem758); } iprot.readListEnd(); } @@ -793,14 +793,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 4: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list770 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list770.size); - WMTrigger _elem771; - for (int _i772 = 0; _i772 < _list770.size; ++_i772) + org.apache.thrift.protocol.TList _list760 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list760.size); + WMTrigger _elem761; + for (int _i762 = 0; _i762 < _list760.size; ++_i762) { - _elem771 = new WMTrigger(); - _elem771.read(iprot); - struct.triggers.add(_elem771); + _elem761 = new WMTrigger(); + _elem761.read(iprot); + struct.triggers.add(_elem761); } iprot.readListEnd(); } @@ -812,14 +812,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMFullResourcePlan case 5: // POOL_TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list773 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list773.size); - WMPoolTrigger _elem774; - for (int _i775 = 0; _i775 < _list773.size; ++_i775) + org.apache.thrift.protocol.TList _list763 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list763.size); + WMPoolTrigger _elem764; + for (int _i765 = 0; _i765 < _list763.size; ++_i765) { - _elem774 = new WMPoolTrigger(); - _elem774.read(iprot); - struct.poolTriggers.add(_elem774); + _elem764 = new WMPoolTrigger(); + _elem764.read(iprot); + struct.poolTriggers.add(_elem764); } iprot.readListEnd(); } @@ -850,9 +850,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.pools.size())); - for (WMPool _iter776 : struct.pools) + for (WMPool _iter766 : struct.pools) { - _iter776.write(oprot); + _iter766.write(oprot); } oprot.writeListEnd(); } @@ -863,9 +863,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(MAPPINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.mappings.size())); - for (WMMapping _iter777 : struct.mappings) + for (WMMapping _iter767 : struct.mappings) { - _iter777.write(oprot); + _iter767.write(oprot); } oprot.writeListEnd(); } @@ -877,9 +877,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter778 : struct.triggers) + for (WMTrigger _iter768 : struct.triggers) { - _iter778.write(oprot); + _iter768.write(oprot); } oprot.writeListEnd(); } @@ -891,9 +891,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMFullResourcePlan oprot.writeFieldBegin(POOL_TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.poolTriggers.size())); - for (WMPoolTrigger _iter779 : struct.poolTriggers) + for (WMPoolTrigger _iter769 : struct.poolTriggers) { - _iter779.write(oprot); + _iter769.write(oprot); } oprot.writeListEnd(); } @@ -920,9 +920,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan struct.plan.write(oprot); { oprot.writeI32(struct.pools.size()); - for (WMPool _iter780 : struct.pools) + for (WMPool _iter770 : struct.pools) { - _iter780.write(oprot); + _iter770.write(oprot); } } BitSet optionals = new BitSet(); @@ -939,27 +939,27 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan if (struct.isSetMappings()) { { oprot.writeI32(struct.mappings.size()); - for (WMMapping _iter781 : struct.mappings) + for (WMMapping _iter771 : struct.mappings) { - _iter781.write(oprot); + _iter771.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter782 : struct.triggers) + for (WMTrigger _iter772 : struct.triggers) { - _iter782.write(oprot); + _iter772.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter783 : struct.poolTriggers) + for (WMPoolTrigger _iter773 : struct.poolTriggers) { - _iter783.write(oprot); + _iter773.write(oprot); } } } @@ -972,56 +972,56 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMFullResourcePlan s struct.plan.read(iprot); struct.setPlanIsSet(true); { - org.apache.thrift.protocol.TList _list784 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list784.size); - WMPool _elem785; - for (int _i786 = 0; _i786 < _list784.size; ++_i786) + org.apache.thrift.protocol.TList _list774 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list774.size); + WMPool _elem775; + for (int _i776 = 0; _i776 < _list774.size; ++_i776) { - _elem785 = new WMPool(); - _elem785.read(iprot); - struct.pools.add(_elem785); + _elem775 = new WMPool(); + _elem775.read(iprot); + struct.pools.add(_elem775); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); 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.mappings = new ArrayList(_list787.size); - WMMapping _elem788; - for (int _i789 = 0; _i789 < _list787.size; ++_i789) + org.apache.thrift.protocol.TList _list777 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list777.size); + WMMapping _elem778; + for (int _i779 = 0; _i779 < _list777.size; ++_i779) { - _elem788 = new WMMapping(); - _elem788.read(iprot); - struct.mappings.add(_elem788); + _elem778 = new WMMapping(); + _elem778.read(iprot); + struct.mappings.add(_elem778); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list790 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list790.size); - WMTrigger _elem791; - for (int _i792 = 0; _i792 < _list790.size; ++_i792) + org.apache.thrift.protocol.TList _list780 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list780.size); + WMTrigger _elem781; + for (int _i782 = 0; _i782 < _list780.size; ++_i782) { - _elem791 = new WMTrigger(); - _elem791.read(iprot); - struct.triggers.add(_elem791); + _elem781 = new WMTrigger(); + _elem781.read(iprot); + struct.triggers.add(_elem781); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list793 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list793.size); - WMPoolTrigger _elem794; - for (int _i795 = 0; _i795 < _list793.size; ++_i795) + org.apache.thrift.protocol.TList _list783 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list783.size); + WMPoolTrigger _elem784; + for (int _i785 = 0; _i785 < _list783.size; ++_i785) { - _elem794 = new WMPoolTrigger(); - _elem794.read(iprot); - struct.poolTriggers.add(_elem794); + _elem784 = new WMPoolTrigger(); + _elem784.read(iprot); + struct.poolTriggers.add(_elem784); } } struct.setPoolTriggersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java index fb96ad959b..69ccf539c9 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetAllResourcePla case 1: // RESOURCE_PLANS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list796 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list796.size); - WMResourcePlan _elem797; - for (int _i798 = 0; _i798 < _list796.size; ++_i798) + org.apache.thrift.protocol.TList _list786 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list786.size); + WMResourcePlan _elem787; + for (int _i788 = 0; _i788 < _list786.size; ++_i788) { - _elem797 = new WMResourcePlan(); - _elem797.read(iprot); - struct.resourcePlans.add(_elem797); + _elem787 = new WMResourcePlan(); + _elem787.read(iprot); + struct.resourcePlans.add(_elem787); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetAllResourcePl oprot.writeFieldBegin(RESOURCE_PLANS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.resourcePlans.size())); - for (WMResourcePlan _iter799 : struct.resourcePlans) + for (WMResourcePlan _iter789 : struct.resourcePlans) { - _iter799.write(oprot); + _iter789.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePla if (struct.isSetResourcePlans()) { { oprot.writeI32(struct.resourcePlans.size()); - for (WMResourcePlan _iter800 : struct.resourcePlans) + for (WMResourcePlan _iter790 : struct.resourcePlans) { - _iter800.write(oprot); + _iter790.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetAllResourcePlan BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list801 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list801.size); - WMResourcePlan _elem802; - for (int _i803 = 0; _i803 < _list801.size; ++_i803) + org.apache.thrift.protocol.TList _list791 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourcePlans = new ArrayList(_list791.size); + WMResourcePlan _elem792; + for (int _i793 = 0; _i793 < _list791.size; ++_i793) { - _elem802 = new WMResourcePlan(); - _elem802.read(iprot); - struct.resourcePlans.add(_elem802); + _elem792 = new WMResourcePlan(); + _elem792.read(iprot); + struct.resourcePlans.add(_elem792); } } struct.setResourcePlansIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java index 4d4894a713..ee30063f14 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java @@ -346,14 +346,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMGetTriggersForRes case 1: // TRIGGERS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list820 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list820.size); - WMTrigger _elem821; - for (int _i822 = 0; _i822 < _list820.size; ++_i822) + org.apache.thrift.protocol.TList _list810 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list810.size); + WMTrigger _elem811; + for (int _i812 = 0; _i812 < _list810.size; ++_i812) { - _elem821 = new WMTrigger(); - _elem821.read(iprot); - struct.triggers.add(_elem821); + _elem811 = new WMTrigger(); + _elem811.read(iprot); + struct.triggers.add(_elem811); } iprot.readListEnd(); } @@ -380,9 +380,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMGetTriggersForRe oprot.writeFieldBegin(TRIGGERS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.triggers.size())); - for (WMTrigger _iter823 : struct.triggers) + for (WMTrigger _iter813 : struct.triggers) { - _iter823.write(oprot); + _iter813.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForRes if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter824 : struct.triggers) + for (WMTrigger _iter814 : struct.triggers) { - _iter824.write(oprot); + _iter814.write(oprot); } } } @@ -428,14 +428,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMGetTriggersForReso BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list825 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list825.size); - WMTrigger _elem826; - for (int _i827 = 0; _i827 < _list825.size; ++_i827) + org.apache.thrift.protocol.TList _list815 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list815.size); + WMTrigger _elem816; + for (int _i817 = 0; _i817 < _list815.size; ++_i817) { - _elem826 = new WMTrigger(); - _elem826.read(iprot); - struct.triggers.add(_elem826); + _elem816 = new WMTrigger(); + _elem816.read(iprot); + struct.triggers.add(_elem816); } } struct.setTriggersIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java index ea8f3aaf64..5caf586b38 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java @@ -441,13 +441,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 1: // ERRORS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list804 = iprot.readListBegin(); - struct.errors = new ArrayList(_list804.size); - String _elem805; - for (int _i806 = 0; _i806 < _list804.size; ++_i806) + org.apache.thrift.protocol.TList _list794 = iprot.readListBegin(); + struct.errors = new ArrayList(_list794.size); + String _elem795; + for (int _i796 = 0; _i796 < _list794.size; ++_i796) { - _elem805 = iprot.readString(); - struct.errors.add(_elem805); + _elem795 = iprot.readString(); + struct.errors.add(_elem795); } iprot.readListEnd(); } @@ -459,13 +459,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, WMValidateResourceP case 2: // WARNINGS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list807 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list807.size); - String _elem808; - for (int _i809 = 0; _i809 < _list807.size; ++_i809) + org.apache.thrift.protocol.TList _list797 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list797.size); + String _elem798; + for (int _i799 = 0; _i799 < _list797.size; ++_i799) { - _elem808 = iprot.readString(); - struct.warnings.add(_elem808); + _elem798 = iprot.readString(); + struct.warnings.add(_elem798); } iprot.readListEnd(); } @@ -492,9 +492,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(ERRORS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.errors.size())); - for (String _iter810 : struct.errors) + for (String _iter800 : struct.errors) { - oprot.writeString(_iter810); + oprot.writeString(_iter800); } oprot.writeListEnd(); } @@ -506,9 +506,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, WMValidateResource oprot.writeFieldBegin(WARNINGS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.warnings.size())); - for (String _iter811 : struct.warnings) + for (String _iter801 : struct.warnings) { - oprot.writeString(_iter811); + oprot.writeString(_iter801); } oprot.writeListEnd(); } @@ -543,18 +543,18 @@ public void write(org.apache.thrift.protocol.TProtocol prot, WMValidateResourceP if (struct.isSetErrors()) { { oprot.writeI32(struct.errors.size()); - for (String _iter812 : struct.errors) + for (String _iter802 : struct.errors) { - oprot.writeString(_iter812); + oprot.writeString(_iter802); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter813 : struct.warnings) + for (String _iter803 : struct.warnings) { - oprot.writeString(_iter813); + oprot.writeString(_iter803); } } } @@ -566,26 +566,26 @@ public void read(org.apache.thrift.protocol.TProtocol prot, WMValidateResourcePl BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list814 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list814.size); - String _elem815; - for (int _i816 = 0; _i816 < _list814.size; ++_i816) + org.apache.thrift.protocol.TList _list804 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list804.size); + String _elem805; + for (int _i806 = 0; _i806 < _list804.size; ++_i806) { - _elem815 = iprot.readString(); - struct.errors.add(_elem815); + _elem805 = iprot.readString(); + struct.errors.add(_elem805); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list817 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list817.size); - String _elem818; - for (int _i819 = 0; _i819 < _list817.size; ++_i819) + org.apache.thrift.protocol.TList _list807 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list807.size); + String _elem808; + for (int _i809 = 0; _i809 < _list807.size; ++_i809) { - _elem818 = iprot.readString(); - struct.warnings.add(_elem818); + _elem808 = iprot.readString(); + struct.warnings.add(_elem808); } } struct.setWarningsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php index bf7d466492..9382c60120 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -1204,20 +1204,6 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { * @throws \metastore\TxnAbortedException */ public function add_dynamic_partitions(\metastore\AddDynamicPartitions $rqst); - /** - * @param string[] $db_names - * @param string[] $table_names - * @param \metastore\TxnsSnapshot $txns_snapshot - * @return \metastore\BasicTxnInfo[] - */ - public function get_last_completed_transaction_for_tables(array $db_names, array $table_names, \metastore\TxnsSnapshot $txns_snapshot); - /** - * @param string $db_name - * @param string $table_name - * @param \metastore\TxnsSnapshot $txns_snapshot - * @return \metastore\BasicTxnInfo - */ - public function get_last_completed_transaction_for_table($db_name, $table_name, \metastore\TxnsSnapshot $txns_snapshot); /** * @param \metastore\NotificationEventRequest $rqst * @return \metastore\NotificationEventResponse @@ -10101,112 +10087,6 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas return; } - public function get_last_completed_transaction_for_tables(array $db_names, array $table_names, \metastore\TxnsSnapshot $txns_snapshot) - { - $this->send_get_last_completed_transaction_for_tables($db_names, $table_names, $txns_snapshot); - return $this->recv_get_last_completed_transaction_for_tables(); - } - - public function send_get_last_completed_transaction_for_tables(array $db_names, array $table_names, \metastore\TxnsSnapshot $txns_snapshot) - { - $args = new \metastore\ThriftHiveMetastore_get_last_completed_transaction_for_tables_args(); - $args->db_names = $db_names; - $args->table_names = $table_names; - $args->txns_snapshot = $txns_snapshot; - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); - if ($bin_accel) - { - thrift_protocol_write_binary($this->output_, 'get_last_completed_transaction_for_tables', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); - } - else - { - $this->output_->writeMessageBegin('get_last_completed_transaction_for_tables', TMessageType::CALL, $this->seqid_); - $args->write($this->output_); - $this->output_->writeMessageEnd(); - $this->output_->getTransport()->flush(); - } - } - - public function recv_get_last_completed_transaction_for_tables() - { - $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); - if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_last_completed_transaction_for_tables_result', $this->input_->isStrictRead()); - else - { - $rseqid = 0; - $fname = null; - $mtype = 0; - - $this->input_->readMessageBegin($fname, $mtype, $rseqid); - if ($mtype == TMessageType::EXCEPTION) { - $x = new TApplicationException(); - $x->read($this->input_); - $this->input_->readMessageEnd(); - throw $x; - } - $result = new \metastore\ThriftHiveMetastore_get_last_completed_transaction_for_tables_result(); - $result->read($this->input_); - $this->input_->readMessageEnd(); - } - if ($result->success !== null) { - return $result->success; - } - throw new \Exception("get_last_completed_transaction_for_tables failed: unknown result"); - } - - public function get_last_completed_transaction_for_table($db_name, $table_name, \metastore\TxnsSnapshot $txns_snapshot) - { - $this->send_get_last_completed_transaction_for_table($db_name, $table_name, $txns_snapshot); - return $this->recv_get_last_completed_transaction_for_table(); - } - - public function send_get_last_completed_transaction_for_table($db_name, $table_name, \metastore\TxnsSnapshot $txns_snapshot) - { - $args = new \metastore\ThriftHiveMetastore_get_last_completed_transaction_for_table_args(); - $args->db_name = $db_name; - $args->table_name = $table_name; - $args->txns_snapshot = $txns_snapshot; - $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); - if ($bin_accel) - { - thrift_protocol_write_binary($this->output_, 'get_last_completed_transaction_for_table', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); - } - else - { - $this->output_->writeMessageBegin('get_last_completed_transaction_for_table', TMessageType::CALL, $this->seqid_); - $args->write($this->output_); - $this->output_->writeMessageEnd(); - $this->output_->getTransport()->flush(); - } - } - - public function recv_get_last_completed_transaction_for_table() - { - $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); - if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_get_last_completed_transaction_for_table_result', $this->input_->isStrictRead()); - else - { - $rseqid = 0; - $fname = null; - $mtype = 0; - - $this->input_->readMessageBegin($fname, $mtype, $rseqid); - if ($mtype == TMessageType::EXCEPTION) { - $x = new TApplicationException(); - $x->read($this->input_); - $this->input_->readMessageEnd(); - throw $x; - } - $result = new \metastore\ThriftHiveMetastore_get_last_completed_transaction_for_table_result(); - $result->read($this->input_); - $this->input_->readMessageEnd(); - } - if ($result->success !== null) { - return $result->success; - } - throw new \Exception("get_last_completed_transaction_for_table failed: unknown result"); - } - public function get_next_notification(\metastore\NotificationEventRequest $rqst) { $this->send_get_next_notification($rqst); @@ -12984,14 +12864,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size732 = 0; - $_etype735 = 0; - $xfer += $input->readListBegin($_etype735, $_size732); - for ($_i736 = 0; $_i736 < $_size732; ++$_i736) + $_size724 = 0; + $_etype727 = 0; + $xfer += $input->readListBegin($_etype727, $_size724); + for ($_i728 = 0; $_i728 < $_size724; ++$_i728) { - $elem737 = null; - $xfer += $input->readString($elem737); - $this->success []= $elem737; + $elem729 = null; + $xfer += $input->readString($elem729); + $this->success []= $elem729; } $xfer += $input->readListEnd(); } else { @@ -13027,9 +12907,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter738) + foreach ($this->success as $iter730) { - $xfer += $output->writeString($iter738); + $xfer += $output->writeString($iter730); } } $output->writeListEnd(); @@ -13160,14 +13040,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size739 = 0; - $_etype742 = 0; - $xfer += $input->readListBegin($_etype742, $_size739); - for ($_i743 = 0; $_i743 < $_size739; ++$_i743) + $_size731 = 0; + $_etype734 = 0; + $xfer += $input->readListBegin($_etype734, $_size731); + for ($_i735 = 0; $_i735 < $_size731; ++$_i735) { - $elem744 = null; - $xfer += $input->readString($elem744); - $this->success []= $elem744; + $elem736 = null; + $xfer += $input->readString($elem736); + $this->success []= $elem736; } $xfer += $input->readListEnd(); } else { @@ -13203,9 +13083,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter745) + foreach ($this->success as $iter737) { - $xfer += $output->writeString($iter745); + $xfer += $output->writeString($iter737); } } $output->writeListEnd(); @@ -14206,18 +14086,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size746 = 0; - $_ktype747 = 0; - $_vtype748 = 0; - $xfer += $input->readMapBegin($_ktype747, $_vtype748, $_size746); - for ($_i750 = 0; $_i750 < $_size746; ++$_i750) + $_size738 = 0; + $_ktype739 = 0; + $_vtype740 = 0; + $xfer += $input->readMapBegin($_ktype739, $_vtype740, $_size738); + for ($_i742 = 0; $_i742 < $_size738; ++$_i742) { - $key751 = ''; - $val752 = new \metastore\Type(); - $xfer += $input->readString($key751); - $val752 = new \metastore\Type(); - $xfer += $val752->read($input); - $this->success[$key751] = $val752; + $key743 = ''; + $val744 = new \metastore\Type(); + $xfer += $input->readString($key743); + $val744 = new \metastore\Type(); + $xfer += $val744->read($input); + $this->success[$key743] = $val744; } $xfer += $input->readMapEnd(); } else { @@ -14253,10 +14133,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter753 => $viter754) + foreach ($this->success as $kiter745 => $viter746) { - $xfer += $output->writeString($kiter753); - $xfer += $viter754->write($output); + $xfer += $output->writeString($kiter745); + $xfer += $viter746->write($output); } } $output->writeMapEnd(); @@ -14460,15 +14340,15 @@ class ThriftHiveMetastore_get_fields_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) + $_size747 = 0; + $_etype750 = 0; + $xfer += $input->readListBegin($_etype750, $_size747); + for ($_i751 = 0; $_i751 < $_size747; ++$_i751) { - $elem760 = null; - $elem760 = new \metastore\FieldSchema(); - $xfer += $elem760->read($input); - $this->success []= $elem760; + $elem752 = null; + $elem752 = new \metastore\FieldSchema(); + $xfer += $elem752->read($input); + $this->success []= $elem752; } $xfer += $input->readListEnd(); } else { @@ -14520,9 +14400,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter761) + foreach ($this->success as $iter753) { - $xfer += $iter761->write($output); + $xfer += $iter753->write($output); } } $output->writeListEnd(); @@ -14764,15 +14644,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size762 = 0; - $_etype765 = 0; - $xfer += $input->readListBegin($_etype765, $_size762); - for ($_i766 = 0; $_i766 < $_size762; ++$_i766) + $_size754 = 0; + $_etype757 = 0; + $xfer += $input->readListBegin($_etype757, $_size754); + for ($_i758 = 0; $_i758 < $_size754; ++$_i758) { - $elem767 = null; - $elem767 = new \metastore\FieldSchema(); - $xfer += $elem767->read($input); - $this->success []= $elem767; + $elem759 = null; + $elem759 = new \metastore\FieldSchema(); + $xfer += $elem759->read($input); + $this->success []= $elem759; } $xfer += $input->readListEnd(); } else { @@ -14824,9 +14704,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter768) + foreach ($this->success as $iter760) { - $xfer += $iter768->write($output); + $xfer += $iter760->write($output); } } $output->writeListEnd(); @@ -15040,15 +14920,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size769 = 0; - $_etype772 = 0; - $xfer += $input->readListBegin($_etype772, $_size769); - for ($_i773 = 0; $_i773 < $_size769; ++$_i773) + $_size761 = 0; + $_etype764 = 0; + $xfer += $input->readListBegin($_etype764, $_size761); + for ($_i765 = 0; $_i765 < $_size761; ++$_i765) { - $elem774 = null; - $elem774 = new \metastore\FieldSchema(); - $xfer += $elem774->read($input); - $this->success []= $elem774; + $elem766 = null; + $elem766 = new \metastore\FieldSchema(); + $xfer += $elem766->read($input); + $this->success []= $elem766; } $xfer += $input->readListEnd(); } else { @@ -15100,9 +14980,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter775) + foreach ($this->success as $iter767) { - $xfer += $iter775->write($output); + $xfer += $iter767->write($output); } } $output->writeListEnd(); @@ -15344,15 +15224,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_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) + $_size768 = 0; + $_etype771 = 0; + $xfer += $input->readListBegin($_etype771, $_size768); + for ($_i772 = 0; $_i772 < $_size768; ++$_i772) { - $elem781 = null; - $elem781 = new \metastore\FieldSchema(); - $xfer += $elem781->read($input); - $this->success []= $elem781; + $elem773 = null; + $elem773 = new \metastore\FieldSchema(); + $xfer += $elem773->read($input); + $this->success []= $elem773; } $xfer += $input->readListEnd(); } else { @@ -15404,9 +15284,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter782) + foreach ($this->success as $iter774) { - $xfer += $iter782->write($output); + $xfer += $iter774->write($output); } } $output->writeListEnd(); @@ -16046,15 +15926,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size783 = 0; - $_etype786 = 0; - $xfer += $input->readListBegin($_etype786, $_size783); - for ($_i787 = 0; $_i787 < $_size783; ++$_i787) + $_size775 = 0; + $_etype778 = 0; + $xfer += $input->readListBegin($_etype778, $_size775); + for ($_i779 = 0; $_i779 < $_size775; ++$_i779) { - $elem788 = null; - $elem788 = new \metastore\SQLPrimaryKey(); - $xfer += $elem788->read($input); - $this->primaryKeys []= $elem788; + $elem780 = null; + $elem780 = new \metastore\SQLPrimaryKey(); + $xfer += $elem780->read($input); + $this->primaryKeys []= $elem780; } $xfer += $input->readListEnd(); } else { @@ -16064,15 +15944,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size789 = 0; - $_etype792 = 0; - $xfer += $input->readListBegin($_etype792, $_size789); - for ($_i793 = 0; $_i793 < $_size789; ++$_i793) + $_size781 = 0; + $_etype784 = 0; + $xfer += $input->readListBegin($_etype784, $_size781); + for ($_i785 = 0; $_i785 < $_size781; ++$_i785) { - $elem794 = null; - $elem794 = new \metastore\SQLForeignKey(); - $xfer += $elem794->read($input); - $this->foreignKeys []= $elem794; + $elem786 = null; + $elem786 = new \metastore\SQLForeignKey(); + $xfer += $elem786->read($input); + $this->foreignKeys []= $elem786; } $xfer += $input->readListEnd(); } else { @@ -16082,15 +15962,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size795 = 0; - $_etype798 = 0; - $xfer += $input->readListBegin($_etype798, $_size795); - for ($_i799 = 0; $_i799 < $_size795; ++$_i799) + $_size787 = 0; + $_etype790 = 0; + $xfer += $input->readListBegin($_etype790, $_size787); + for ($_i791 = 0; $_i791 < $_size787; ++$_i791) { - $elem800 = null; - $elem800 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem800->read($input); - $this->uniqueConstraints []= $elem800; + $elem792 = null; + $elem792 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem792->read($input); + $this->uniqueConstraints []= $elem792; } $xfer += $input->readListEnd(); } else { @@ -16100,15 +15980,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size801 = 0; - $_etype804 = 0; - $xfer += $input->readListBegin($_etype804, $_size801); - for ($_i805 = 0; $_i805 < $_size801; ++$_i805) + $_size793 = 0; + $_etype796 = 0; + $xfer += $input->readListBegin($_etype796, $_size793); + for ($_i797 = 0; $_i797 < $_size793; ++$_i797) { - $elem806 = null; - $elem806 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem806->read($input); - $this->notNullConstraints []= $elem806; + $elem798 = null; + $elem798 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem798->read($input); + $this->notNullConstraints []= $elem798; } $xfer += $input->readListEnd(); } else { @@ -16144,9 +16024,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter807) + foreach ($this->primaryKeys as $iter799) { - $xfer += $iter807->write($output); + $xfer += $iter799->write($output); } } $output->writeListEnd(); @@ -16161,9 +16041,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter808) + foreach ($this->foreignKeys as $iter800) { - $xfer += $iter808->write($output); + $xfer += $iter800->write($output); } } $output->writeListEnd(); @@ -16178,9 +16058,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter809) + foreach ($this->uniqueConstraints as $iter801) { - $xfer += $iter809->write($output); + $xfer += $iter801->write($output); } } $output->writeListEnd(); @@ -16195,9 +16075,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter810) + foreach ($this->notNullConstraints as $iter802) { - $xfer += $iter810->write($output); + $xfer += $iter802->write($output); } } $output->writeListEnd(); @@ -17833,14 +17713,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size811 = 0; - $_etype814 = 0; - $xfer += $input->readListBegin($_etype814, $_size811); - for ($_i815 = 0; $_i815 < $_size811; ++$_i815) + $_size803 = 0; + $_etype806 = 0; + $xfer += $input->readListBegin($_etype806, $_size803); + for ($_i807 = 0; $_i807 < $_size803; ++$_i807) { - $elem816 = null; - $xfer += $input->readString($elem816); - $this->partNames []= $elem816; + $elem808 = null; + $xfer += $input->readString($elem808); + $this->partNames []= $elem808; } $xfer += $input->readListEnd(); } else { @@ -17878,9 +17758,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter817) + foreach ($this->partNames as $iter809) { - $xfer += $output->writeString($iter817); + $xfer += $output->writeString($iter809); } } $output->writeListEnd(); @@ -18131,14 +18011,14 @@ class ThriftHiveMetastore_get_tables_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) + $_size810 = 0; + $_etype813 = 0; + $xfer += $input->readListBegin($_etype813, $_size810); + for ($_i814 = 0; $_i814 < $_size810; ++$_i814) { - $elem823 = null; - $xfer += $input->readString($elem823); - $this->success []= $elem823; + $elem815 = null; + $xfer += $input->readString($elem815); + $this->success []= $elem815; } $xfer += $input->readListEnd(); } else { @@ -18174,9 +18054,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter824) + foreach ($this->success as $iter816) { - $xfer += $output->writeString($iter824); + $xfer += $output->writeString($iter816); } } $output->writeListEnd(); @@ -18378,14 +18258,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size825 = 0; - $_etype828 = 0; - $xfer += $input->readListBegin($_etype828, $_size825); - for ($_i829 = 0; $_i829 < $_size825; ++$_i829) + $_size817 = 0; + $_etype820 = 0; + $xfer += $input->readListBegin($_etype820, $_size817); + for ($_i821 = 0; $_i821 < $_size817; ++$_i821) { - $elem830 = null; - $xfer += $input->readString($elem830); - $this->success []= $elem830; + $elem822 = null; + $xfer += $input->readString($elem822); + $this->success []= $elem822; } $xfer += $input->readListEnd(); } else { @@ -18421,9 +18301,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter831) + foreach ($this->success as $iter823) { - $xfer += $output->writeString($iter831); + $xfer += $output->writeString($iter823); } } $output->writeListEnd(); @@ -18579,14 +18459,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size832 = 0; - $_etype835 = 0; - $xfer += $input->readListBegin($_etype835, $_size832); - for ($_i836 = 0; $_i836 < $_size832; ++$_i836) + $_size824 = 0; + $_etype827 = 0; + $xfer += $input->readListBegin($_etype827, $_size824); + for ($_i828 = 0; $_i828 < $_size824; ++$_i828) { - $elem837 = null; - $xfer += $input->readString($elem837); - $this->success []= $elem837; + $elem829 = null; + $xfer += $input->readString($elem829); + $this->success []= $elem829; } $xfer += $input->readListEnd(); } else { @@ -18622,9 +18502,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter838) + foreach ($this->success as $iter830) { - $xfer += $output->writeString($iter838); + $xfer += $output->writeString($iter830); } } $output->writeListEnd(); @@ -18729,14 +18609,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size839 = 0; - $_etype842 = 0; - $xfer += $input->readListBegin($_etype842, $_size839); - for ($_i843 = 0; $_i843 < $_size839; ++$_i843) + $_size831 = 0; + $_etype834 = 0; + $xfer += $input->readListBegin($_etype834, $_size831); + for ($_i835 = 0; $_i835 < $_size831; ++$_i835) { - $elem844 = null; - $xfer += $input->readString($elem844); - $this->tbl_types []= $elem844; + $elem836 = null; + $xfer += $input->readString($elem836); + $this->tbl_types []= $elem836; } $xfer += $input->readListEnd(); } else { @@ -18774,9 +18654,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter845) + foreach ($this->tbl_types as $iter837) { - $xfer += $output->writeString($iter845); + $xfer += $output->writeString($iter837); } } $output->writeListEnd(); @@ -18853,15 +18733,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size846 = 0; - $_etype849 = 0; - $xfer += $input->readListBegin($_etype849, $_size846); - for ($_i850 = 0; $_i850 < $_size846; ++$_i850) + $_size838 = 0; + $_etype841 = 0; + $xfer += $input->readListBegin($_etype841, $_size838); + for ($_i842 = 0; $_i842 < $_size838; ++$_i842) { - $elem851 = null; - $elem851 = new \metastore\TableMeta(); - $xfer += $elem851->read($input); - $this->success []= $elem851; + $elem843 = null; + $elem843 = new \metastore\TableMeta(); + $xfer += $elem843->read($input); + $this->success []= $elem843; } $xfer += $input->readListEnd(); } else { @@ -18897,9 +18777,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter852) + foreach ($this->success as $iter844) { - $xfer += $iter852->write($output); + $xfer += $iter844->write($output); } } $output->writeListEnd(); @@ -19055,14 +18935,14 @@ class ThriftHiveMetastore_get_all_tables_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) + $_size845 = 0; + $_etype848 = 0; + $xfer += $input->readListBegin($_etype848, $_size845); + for ($_i849 = 0; $_i849 < $_size845; ++$_i849) { - $elem858 = null; - $xfer += $input->readString($elem858); - $this->success []= $elem858; + $elem850 = null; + $xfer += $input->readString($elem850); + $this->success []= $elem850; } $xfer += $input->readListEnd(); } else { @@ -19098,9 +18978,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter859) + foreach ($this->success as $iter851) { - $xfer += $output->writeString($iter859); + $xfer += $output->writeString($iter851); } } $output->writeListEnd(); @@ -19415,14 +19295,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size860 = 0; - $_etype863 = 0; - $xfer += $input->readListBegin($_etype863, $_size860); - for ($_i864 = 0; $_i864 < $_size860; ++$_i864) + $_size852 = 0; + $_etype855 = 0; + $xfer += $input->readListBegin($_etype855, $_size852); + for ($_i856 = 0; $_i856 < $_size852; ++$_i856) { - $elem865 = null; - $xfer += $input->readString($elem865); - $this->tbl_names []= $elem865; + $elem857 = null; + $xfer += $input->readString($elem857); + $this->tbl_names []= $elem857; } $xfer += $input->readListEnd(); } else { @@ -19455,9 +19335,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter866) + foreach ($this->tbl_names as $iter858) { - $xfer += $output->writeString($iter866); + $xfer += $output->writeString($iter858); } } $output->writeListEnd(); @@ -19522,15 +19402,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size867 = 0; - $_etype870 = 0; - $xfer += $input->readListBegin($_etype870, $_size867); - for ($_i871 = 0; $_i871 < $_size867; ++$_i871) + $_size859 = 0; + $_etype862 = 0; + $xfer += $input->readListBegin($_etype862, $_size859); + for ($_i863 = 0; $_i863 < $_size859; ++$_i863) { - $elem872 = null; - $elem872 = new \metastore\Table(); - $xfer += $elem872->read($input); - $this->success []= $elem872; + $elem864 = null; + $elem864 = new \metastore\Table(); + $xfer += $elem864->read($input); + $this->success []= $elem864; } $xfer += $input->readListEnd(); } else { @@ -19558,9 +19438,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter873) + foreach ($this->success as $iter865) { - $xfer += $iter873->write($output); + $xfer += $iter865->write($output); } } $output->writeListEnd(); @@ -20087,14 +19967,14 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size874 = 0; - $_etype877 = 0; - $xfer += $input->readListBegin($_etype877, $_size874); - for ($_i878 = 0; $_i878 < $_size874; ++$_i878) + $_size866 = 0; + $_etype869 = 0; + $xfer += $input->readListBegin($_etype869, $_size866); + for ($_i870 = 0; $_i870 < $_size866; ++$_i870) { - $elem879 = null; - $xfer += $input->readString($elem879); - $this->tbl_names []= $elem879; + $elem871 = null; + $xfer += $input->readString($elem871); + $this->tbl_names []= $elem871; } $xfer += $input->readListEnd(); } else { @@ -20127,9 +20007,9 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter880) + foreach ($this->tbl_names as $iter872) { - $xfer += $output->writeString($iter880); + $xfer += $output->writeString($iter872); } } $output->writeListEnd(); @@ -20234,18 +20114,18 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size881 = 0; - $_ktype882 = 0; - $_vtype883 = 0; - $xfer += $input->readMapBegin($_ktype882, $_vtype883, $_size881); - for ($_i885 = 0; $_i885 < $_size881; ++$_i885) + $_size873 = 0; + $_ktype874 = 0; + $_vtype875 = 0; + $xfer += $input->readMapBegin($_ktype874, $_vtype875, $_size873); + for ($_i877 = 0; $_i877 < $_size873; ++$_i877) { - $key886 = ''; - $val887 = new \metastore\Materialization(); - $xfer += $input->readString($key886); - $val887 = new \metastore\Materialization(); - $xfer += $val887->read($input); - $this->success[$key886] = $val887; + $key878 = ''; + $val879 = new \metastore\Materialization(); + $xfer += $input->readString($key878); + $val879 = new \metastore\Materialization(); + $xfer += $val879->read($input); + $this->success[$key878] = $val879; } $xfer += $input->readMapEnd(); } else { @@ -20297,10 +20177,10 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter888 => $viter889) + foreach ($this->success as $kiter880 => $viter881) { - $xfer += $output->writeString($kiter888); - $xfer += $viter889->write($output); + $xfer += $output->writeString($kiter880); + $xfer += $viter881->write($output); } } $output->writeMapEnd(); @@ -20536,14 +20416,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size890 = 0; - $_etype893 = 0; - $xfer += $input->readListBegin($_etype893, $_size890); - for ($_i894 = 0; $_i894 < $_size890; ++$_i894) + $_size882 = 0; + $_etype885 = 0; + $xfer += $input->readListBegin($_etype885, $_size882); + for ($_i886 = 0; $_i886 < $_size882; ++$_i886) { - $elem895 = null; - $xfer += $input->readString($elem895); - $this->success []= $elem895; + $elem887 = null; + $xfer += $input->readString($elem887); + $this->success []= $elem887; } $xfer += $input->readListEnd(); } else { @@ -20595,9 +20475,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter896) + foreach ($this->success as $iter888) { - $xfer += $output->writeString($iter896); + $xfer += $output->writeString($iter888); } } $output->writeListEnd(); @@ -21910,15 +21790,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size897 = 0; - $_etype900 = 0; - $xfer += $input->readListBegin($_etype900, $_size897); - for ($_i901 = 0; $_i901 < $_size897; ++$_i901) + $_size889 = 0; + $_etype892 = 0; + $xfer += $input->readListBegin($_etype892, $_size889); + for ($_i893 = 0; $_i893 < $_size889; ++$_i893) { - $elem902 = null; - $elem902 = new \metastore\Partition(); - $xfer += $elem902->read($input); - $this->new_parts []= $elem902; + $elem894 = null; + $elem894 = new \metastore\Partition(); + $xfer += $elem894->read($input); + $this->new_parts []= $elem894; } $xfer += $input->readListEnd(); } else { @@ -21946,9 +21826,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter903) + foreach ($this->new_parts as $iter895) { - $xfer += $iter903->write($output); + $xfer += $iter895->write($output); } } $output->writeListEnd(); @@ -22163,15 +22043,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size904 = 0; - $_etype907 = 0; - $xfer += $input->readListBegin($_etype907, $_size904); - for ($_i908 = 0; $_i908 < $_size904; ++$_i908) + $_size896 = 0; + $_etype899 = 0; + $xfer += $input->readListBegin($_etype899, $_size896); + for ($_i900 = 0; $_i900 < $_size896; ++$_i900) { - $elem909 = null; - $elem909 = new \metastore\PartitionSpec(); - $xfer += $elem909->read($input); - $this->new_parts []= $elem909; + $elem901 = null; + $elem901 = new \metastore\PartitionSpec(); + $xfer += $elem901->read($input); + $this->new_parts []= $elem901; } $xfer += $input->readListEnd(); } else { @@ -22199,9 +22079,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter910) + foreach ($this->new_parts as $iter902) { - $xfer += $iter910->write($output); + $xfer += $iter902->write($output); } } $output->writeListEnd(); @@ -22451,14 +22331,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size911 = 0; - $_etype914 = 0; - $xfer += $input->readListBegin($_etype914, $_size911); - for ($_i915 = 0; $_i915 < $_size911; ++$_i915) + $_size903 = 0; + $_etype906 = 0; + $xfer += $input->readListBegin($_etype906, $_size903); + for ($_i907 = 0; $_i907 < $_size903; ++$_i907) { - $elem916 = null; - $xfer += $input->readString($elem916); - $this->part_vals []= $elem916; + $elem908 = null; + $xfer += $input->readString($elem908); + $this->part_vals []= $elem908; } $xfer += $input->readListEnd(); } else { @@ -22496,9 +22376,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter917) + foreach ($this->part_vals as $iter909) { - $xfer += $output->writeString($iter917); + $xfer += $output->writeString($iter909); } } $output->writeListEnd(); @@ -23000,14 +22880,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size918 = 0; - $_etype921 = 0; - $xfer += $input->readListBegin($_etype921, $_size918); - for ($_i922 = 0; $_i922 < $_size918; ++$_i922) + $_size910 = 0; + $_etype913 = 0; + $xfer += $input->readListBegin($_etype913, $_size910); + for ($_i914 = 0; $_i914 < $_size910; ++$_i914) { - $elem923 = null; - $xfer += $input->readString($elem923); - $this->part_vals []= $elem923; + $elem915 = null; + $xfer += $input->readString($elem915); + $this->part_vals []= $elem915; } $xfer += $input->readListEnd(); } else { @@ -23053,9 +22933,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter924) + foreach ($this->part_vals as $iter916) { - $xfer += $output->writeString($iter924); + $xfer += $output->writeString($iter916); } } $output->writeListEnd(); @@ -23909,14 +23789,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size925 = 0; - $_etype928 = 0; - $xfer += $input->readListBegin($_etype928, $_size925); - for ($_i929 = 0; $_i929 < $_size925; ++$_i929) + $_size917 = 0; + $_etype920 = 0; + $xfer += $input->readListBegin($_etype920, $_size917); + for ($_i921 = 0; $_i921 < $_size917; ++$_i921) { - $elem930 = null; - $xfer += $input->readString($elem930); - $this->part_vals []= $elem930; + $elem922 = null; + $xfer += $input->readString($elem922); + $this->part_vals []= $elem922; } $xfer += $input->readListEnd(); } else { @@ -23961,9 +23841,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter931) + foreach ($this->part_vals as $iter923) { - $xfer += $output->writeString($iter931); + $xfer += $output->writeString($iter923); } } $output->writeListEnd(); @@ -24216,14 +24096,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size932 = 0; - $_etype935 = 0; - $xfer += $input->readListBegin($_etype935, $_size932); - for ($_i936 = 0; $_i936 < $_size932; ++$_i936) + $_size924 = 0; + $_etype927 = 0; + $xfer += $input->readListBegin($_etype927, $_size924); + for ($_i928 = 0; $_i928 < $_size924; ++$_i928) { - $elem937 = null; - $xfer += $input->readString($elem937); - $this->part_vals []= $elem937; + $elem929 = null; + $xfer += $input->readString($elem929); + $this->part_vals []= $elem929; } $xfer += $input->readListEnd(); } else { @@ -24276,9 +24156,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter938) + foreach ($this->part_vals as $iter930) { - $xfer += $output->writeString($iter938); + $xfer += $output->writeString($iter930); } } $output->writeListEnd(); @@ -25292,14 +25172,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size939 = 0; - $_etype942 = 0; - $xfer += $input->readListBegin($_etype942, $_size939); - for ($_i943 = 0; $_i943 < $_size939; ++$_i943) + $_size931 = 0; + $_etype934 = 0; + $xfer += $input->readListBegin($_etype934, $_size931); + for ($_i935 = 0; $_i935 < $_size931; ++$_i935) { - $elem944 = null; - $xfer += $input->readString($elem944); - $this->part_vals []= $elem944; + $elem936 = null; + $xfer += $input->readString($elem936); + $this->part_vals []= $elem936; } $xfer += $input->readListEnd(); } else { @@ -25337,9 +25217,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter945) + foreach ($this->part_vals as $iter937) { - $xfer += $output->writeString($iter945); + $xfer += $output->writeString($iter937); } } $output->writeListEnd(); @@ -25581,17 +25461,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size946 = 0; - $_ktype947 = 0; - $_vtype948 = 0; - $xfer += $input->readMapBegin($_ktype947, $_vtype948, $_size946); - for ($_i950 = 0; $_i950 < $_size946; ++$_i950) + $_size938 = 0; + $_ktype939 = 0; + $_vtype940 = 0; + $xfer += $input->readMapBegin($_ktype939, $_vtype940, $_size938); + for ($_i942 = 0; $_i942 < $_size938; ++$_i942) { - $key951 = ''; - $val952 = ''; - $xfer += $input->readString($key951); - $xfer += $input->readString($val952); - $this->partitionSpecs[$key951] = $val952; + $key943 = ''; + $val944 = ''; + $xfer += $input->readString($key943); + $xfer += $input->readString($val944); + $this->partitionSpecs[$key943] = $val944; } $xfer += $input->readMapEnd(); } else { @@ -25647,10 +25527,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter953 => $viter954) + foreach ($this->partitionSpecs as $kiter945 => $viter946) { - $xfer += $output->writeString($kiter953); - $xfer += $output->writeString($viter954); + $xfer += $output->writeString($kiter945); + $xfer += $output->writeString($viter946); } } $output->writeMapEnd(); @@ -25962,17 +25842,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size955 = 0; - $_ktype956 = 0; - $_vtype957 = 0; - $xfer += $input->readMapBegin($_ktype956, $_vtype957, $_size955); - for ($_i959 = 0; $_i959 < $_size955; ++$_i959) + $_size947 = 0; + $_ktype948 = 0; + $_vtype949 = 0; + $xfer += $input->readMapBegin($_ktype948, $_vtype949, $_size947); + for ($_i951 = 0; $_i951 < $_size947; ++$_i951) { - $key960 = ''; - $val961 = ''; - $xfer += $input->readString($key960); - $xfer += $input->readString($val961); - $this->partitionSpecs[$key960] = $val961; + $key952 = ''; + $val953 = ''; + $xfer += $input->readString($key952); + $xfer += $input->readString($val953); + $this->partitionSpecs[$key952] = $val953; } $xfer += $input->readMapEnd(); } else { @@ -26028,10 +25908,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter962 => $viter963) + foreach ($this->partitionSpecs as $kiter954 => $viter955) { - $xfer += $output->writeString($kiter962); - $xfer += $output->writeString($viter963); + $xfer += $output->writeString($kiter954); + $xfer += $output->writeString($viter955); } } $output->writeMapEnd(); @@ -26164,15 +26044,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size964 = 0; - $_etype967 = 0; - $xfer += $input->readListBegin($_etype967, $_size964); - for ($_i968 = 0; $_i968 < $_size964; ++$_i968) + $_size956 = 0; + $_etype959 = 0; + $xfer += $input->readListBegin($_etype959, $_size956); + for ($_i960 = 0; $_i960 < $_size956; ++$_i960) { - $elem969 = null; - $elem969 = new \metastore\Partition(); - $xfer += $elem969->read($input); - $this->success []= $elem969; + $elem961 = null; + $elem961 = new \metastore\Partition(); + $xfer += $elem961->read($input); + $this->success []= $elem961; } $xfer += $input->readListEnd(); } else { @@ -26232,9 +26112,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter970) + foreach ($this->success as $iter962) { - $xfer += $iter970->write($output); + $xfer += $iter962->write($output); } } $output->writeListEnd(); @@ -26380,14 +26260,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size971 = 0; - $_etype974 = 0; - $xfer += $input->readListBegin($_etype974, $_size971); - for ($_i975 = 0; $_i975 < $_size971; ++$_i975) + $_size963 = 0; + $_etype966 = 0; + $xfer += $input->readListBegin($_etype966, $_size963); + for ($_i967 = 0; $_i967 < $_size963; ++$_i967) { - $elem976 = null; - $xfer += $input->readString($elem976); - $this->part_vals []= $elem976; + $elem968 = null; + $xfer += $input->readString($elem968); + $this->part_vals []= $elem968; } $xfer += $input->readListEnd(); } else { @@ -26404,14 +26284,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size977 = 0; - $_etype980 = 0; - $xfer += $input->readListBegin($_etype980, $_size977); - for ($_i981 = 0; $_i981 < $_size977; ++$_i981) + $_size969 = 0; + $_etype972 = 0; + $xfer += $input->readListBegin($_etype972, $_size969); + for ($_i973 = 0; $_i973 < $_size969; ++$_i973) { - $elem982 = null; - $xfer += $input->readString($elem982); - $this->group_names []= $elem982; + $elem974 = null; + $xfer += $input->readString($elem974); + $this->group_names []= $elem974; } $xfer += $input->readListEnd(); } else { @@ -26449,9 +26329,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter983) + foreach ($this->part_vals as $iter975) { - $xfer += $output->writeString($iter983); + $xfer += $output->writeString($iter975); } } $output->writeListEnd(); @@ -26471,9 +26351,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter984) + foreach ($this->group_names as $iter976) { - $xfer += $output->writeString($iter984); + $xfer += $output->writeString($iter976); } } $output->writeListEnd(); @@ -27064,15 +26944,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size985 = 0; - $_etype988 = 0; - $xfer += $input->readListBegin($_etype988, $_size985); - for ($_i989 = 0; $_i989 < $_size985; ++$_i989) + $_size977 = 0; + $_etype980 = 0; + $xfer += $input->readListBegin($_etype980, $_size977); + for ($_i981 = 0; $_i981 < $_size977; ++$_i981) { - $elem990 = null; - $elem990 = new \metastore\Partition(); - $xfer += $elem990->read($input); - $this->success []= $elem990; + $elem982 = null; + $elem982 = new \metastore\Partition(); + $xfer += $elem982->read($input); + $this->success []= $elem982; } $xfer += $input->readListEnd(); } else { @@ -27116,9 +26996,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter991) + foreach ($this->success as $iter983) { - $xfer += $iter991->write($output); + $xfer += $iter983->write($output); } } $output->writeListEnd(); @@ -27264,14 +27144,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size992 = 0; - $_etype995 = 0; - $xfer += $input->readListBegin($_etype995, $_size992); - for ($_i996 = 0; $_i996 < $_size992; ++$_i996) + $_size984 = 0; + $_etype987 = 0; + $xfer += $input->readListBegin($_etype987, $_size984); + for ($_i988 = 0; $_i988 < $_size984; ++$_i988) { - $elem997 = null; - $xfer += $input->readString($elem997); - $this->group_names []= $elem997; + $elem989 = null; + $xfer += $input->readString($elem989); + $this->group_names []= $elem989; } $xfer += $input->readListEnd(); } else { @@ -27319,9 +27199,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter998) + foreach ($this->group_names as $iter990) { - $xfer += $output->writeString($iter998); + $xfer += $output->writeString($iter990); } } $output->writeListEnd(); @@ -27410,15 +27290,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size999 = 0; - $_etype1002 = 0; - $xfer += $input->readListBegin($_etype1002, $_size999); - for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) + $_size991 = 0; + $_etype994 = 0; + $xfer += $input->readListBegin($_etype994, $_size991); + for ($_i995 = 0; $_i995 < $_size991; ++$_i995) { - $elem1004 = null; - $elem1004 = new \metastore\Partition(); - $xfer += $elem1004->read($input); - $this->success []= $elem1004; + $elem996 = null; + $elem996 = new \metastore\Partition(); + $xfer += $elem996->read($input); + $this->success []= $elem996; } $xfer += $input->readListEnd(); } else { @@ -27462,9 +27342,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1005) + foreach ($this->success as $iter997) { - $xfer += $iter1005->write($output); + $xfer += $iter997->write($output); } } $output->writeListEnd(); @@ -27684,15 +27564,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1006 = 0; - $_etype1009 = 0; - $xfer += $input->readListBegin($_etype1009, $_size1006); - for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) + $_size998 = 0; + $_etype1001 = 0; + $xfer += $input->readListBegin($_etype1001, $_size998); + for ($_i1002 = 0; $_i1002 < $_size998; ++$_i1002) { - $elem1011 = null; - $elem1011 = new \metastore\PartitionSpec(); - $xfer += $elem1011->read($input); - $this->success []= $elem1011; + $elem1003 = null; + $elem1003 = new \metastore\PartitionSpec(); + $xfer += $elem1003->read($input); + $this->success []= $elem1003; } $xfer += $input->readListEnd(); } else { @@ -27736,9 +27616,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1012) + foreach ($this->success as $iter1004) { - $xfer += $iter1012->write($output); + $xfer += $iter1004->write($output); } } $output->writeListEnd(); @@ -27957,14 +27837,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1013 = 0; - $_etype1016 = 0; - $xfer += $input->readListBegin($_etype1016, $_size1013); - for ($_i1017 = 0; $_i1017 < $_size1013; ++$_i1017) + $_size1005 = 0; + $_etype1008 = 0; + $xfer += $input->readListBegin($_etype1008, $_size1005); + for ($_i1009 = 0; $_i1009 < $_size1005; ++$_i1009) { - $elem1018 = null; - $xfer += $input->readString($elem1018); - $this->success []= $elem1018; + $elem1010 = null; + $xfer += $input->readString($elem1010); + $this->success []= $elem1010; } $xfer += $input->readListEnd(); } else { @@ -28008,9 +27888,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1019) + foreach ($this->success as $iter1011) { - $xfer += $output->writeString($iter1019); + $xfer += $output->writeString($iter1011); } } $output->writeListEnd(); @@ -28341,14 +28221,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1020 = 0; - $_etype1023 = 0; - $xfer += $input->readListBegin($_etype1023, $_size1020); - for ($_i1024 = 0; $_i1024 < $_size1020; ++$_i1024) + $_size1012 = 0; + $_etype1015 = 0; + $xfer += $input->readListBegin($_etype1015, $_size1012); + for ($_i1016 = 0; $_i1016 < $_size1012; ++$_i1016) { - $elem1025 = null; - $xfer += $input->readString($elem1025); - $this->part_vals []= $elem1025; + $elem1017 = null; + $xfer += $input->readString($elem1017); + $this->part_vals []= $elem1017; } $xfer += $input->readListEnd(); } else { @@ -28393,9 +28273,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1026) + foreach ($this->part_vals as $iter1018) { - $xfer += $output->writeString($iter1026); + $xfer += $output->writeString($iter1018); } } $output->writeListEnd(); @@ -28489,15 +28369,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1027 = 0; - $_etype1030 = 0; - $xfer += $input->readListBegin($_etype1030, $_size1027); - for ($_i1031 = 0; $_i1031 < $_size1027; ++$_i1031) + $_size1019 = 0; + $_etype1022 = 0; + $xfer += $input->readListBegin($_etype1022, $_size1019); + for ($_i1023 = 0; $_i1023 < $_size1019; ++$_i1023) { - $elem1032 = null; - $elem1032 = new \metastore\Partition(); - $xfer += $elem1032->read($input); - $this->success []= $elem1032; + $elem1024 = null; + $elem1024 = new \metastore\Partition(); + $xfer += $elem1024->read($input); + $this->success []= $elem1024; } $xfer += $input->readListEnd(); } else { @@ -28541,9 +28421,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1033) + foreach ($this->success as $iter1025) { - $xfer += $iter1033->write($output); + $xfer += $iter1025->write($output); } } $output->writeListEnd(); @@ -28690,14 +28570,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1034 = 0; - $_etype1037 = 0; - $xfer += $input->readListBegin($_etype1037, $_size1034); - for ($_i1038 = 0; $_i1038 < $_size1034; ++$_i1038) + $_size1026 = 0; + $_etype1029 = 0; + $xfer += $input->readListBegin($_etype1029, $_size1026); + for ($_i1030 = 0; $_i1030 < $_size1026; ++$_i1030) { - $elem1039 = null; - $xfer += $input->readString($elem1039); - $this->part_vals []= $elem1039; + $elem1031 = null; + $xfer += $input->readString($elem1031); + $this->part_vals []= $elem1031; } $xfer += $input->readListEnd(); } else { @@ -28721,14 +28601,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1040 = 0; - $_etype1043 = 0; - $xfer += $input->readListBegin($_etype1043, $_size1040); - for ($_i1044 = 0; $_i1044 < $_size1040; ++$_i1044) + $_size1032 = 0; + $_etype1035 = 0; + $xfer += $input->readListBegin($_etype1035, $_size1032); + for ($_i1036 = 0; $_i1036 < $_size1032; ++$_i1036) { - $elem1045 = null; - $xfer += $input->readString($elem1045); - $this->group_names []= $elem1045; + $elem1037 = null; + $xfer += $input->readString($elem1037); + $this->group_names []= $elem1037; } $xfer += $input->readListEnd(); } else { @@ -28766,9 +28646,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1046) + foreach ($this->part_vals as $iter1038) { - $xfer += $output->writeString($iter1046); + $xfer += $output->writeString($iter1038); } } $output->writeListEnd(); @@ -28793,9 +28673,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1047) + foreach ($this->group_names as $iter1039) { - $xfer += $output->writeString($iter1047); + $xfer += $output->writeString($iter1039); } } $output->writeListEnd(); @@ -28884,15 +28764,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1048 = 0; - $_etype1051 = 0; - $xfer += $input->readListBegin($_etype1051, $_size1048); - for ($_i1052 = 0; $_i1052 < $_size1048; ++$_i1052) + $_size1040 = 0; + $_etype1043 = 0; + $xfer += $input->readListBegin($_etype1043, $_size1040); + for ($_i1044 = 0; $_i1044 < $_size1040; ++$_i1044) { - $elem1053 = null; - $elem1053 = new \metastore\Partition(); - $xfer += $elem1053->read($input); - $this->success []= $elem1053; + $elem1045 = null; + $elem1045 = new \metastore\Partition(); + $xfer += $elem1045->read($input); + $this->success []= $elem1045; } $xfer += $input->readListEnd(); } else { @@ -28936,9 +28816,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1054) + foreach ($this->success as $iter1046) { - $xfer += $iter1054->write($output); + $xfer += $iter1046->write($output); } } $output->writeListEnd(); @@ -29059,14 +28939,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1055 = 0; - $_etype1058 = 0; - $xfer += $input->readListBegin($_etype1058, $_size1055); - for ($_i1059 = 0; $_i1059 < $_size1055; ++$_i1059) + $_size1047 = 0; + $_etype1050 = 0; + $xfer += $input->readListBegin($_etype1050, $_size1047); + for ($_i1051 = 0; $_i1051 < $_size1047; ++$_i1051) { - $elem1060 = null; - $xfer += $input->readString($elem1060); - $this->part_vals []= $elem1060; + $elem1052 = null; + $xfer += $input->readString($elem1052); + $this->part_vals []= $elem1052; } $xfer += $input->readListEnd(); } else { @@ -29111,9 +28991,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1061) + foreach ($this->part_vals as $iter1053) { - $xfer += $output->writeString($iter1061); + $xfer += $output->writeString($iter1053); } } $output->writeListEnd(); @@ -29206,14 +29086,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1062 = 0; - $_etype1065 = 0; - $xfer += $input->readListBegin($_etype1065, $_size1062); - for ($_i1066 = 0; $_i1066 < $_size1062; ++$_i1066) + $_size1054 = 0; + $_etype1057 = 0; + $xfer += $input->readListBegin($_etype1057, $_size1054); + for ($_i1058 = 0; $_i1058 < $_size1054; ++$_i1058) { - $elem1067 = null; - $xfer += $input->readString($elem1067); - $this->success []= $elem1067; + $elem1059 = null; + $xfer += $input->readString($elem1059); + $this->success []= $elem1059; } $xfer += $input->readListEnd(); } else { @@ -29257,9 +29137,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1068) + foreach ($this->success as $iter1060) { - $xfer += $output->writeString($iter1068); + $xfer += $output->writeString($iter1060); } } $output->writeListEnd(); @@ -29502,15 +29382,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1069 = 0; - $_etype1072 = 0; - $xfer += $input->readListBegin($_etype1072, $_size1069); - for ($_i1073 = 0; $_i1073 < $_size1069; ++$_i1073) + $_size1061 = 0; + $_etype1064 = 0; + $xfer += $input->readListBegin($_etype1064, $_size1061); + for ($_i1065 = 0; $_i1065 < $_size1061; ++$_i1065) { - $elem1074 = null; - $elem1074 = new \metastore\Partition(); - $xfer += $elem1074->read($input); - $this->success []= $elem1074; + $elem1066 = null; + $elem1066 = new \metastore\Partition(); + $xfer += $elem1066->read($input); + $this->success []= $elem1066; } $xfer += $input->readListEnd(); } else { @@ -29554,9 +29434,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1075) + foreach ($this->success as $iter1067) { - $xfer += $iter1075->write($output); + $xfer += $iter1067->write($output); } } $output->writeListEnd(); @@ -29799,15 +29679,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1076 = 0; - $_etype1079 = 0; - $xfer += $input->readListBegin($_etype1079, $_size1076); - for ($_i1080 = 0; $_i1080 < $_size1076; ++$_i1080) + $_size1068 = 0; + $_etype1071 = 0; + $xfer += $input->readListBegin($_etype1071, $_size1068); + for ($_i1072 = 0; $_i1072 < $_size1068; ++$_i1072) { - $elem1081 = null; - $elem1081 = new \metastore\PartitionSpec(); - $xfer += $elem1081->read($input); - $this->success []= $elem1081; + $elem1073 = null; + $elem1073 = new \metastore\PartitionSpec(); + $xfer += $elem1073->read($input); + $this->success []= $elem1073; } $xfer += $input->readListEnd(); } else { @@ -29851,9 +29731,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1082) + foreach ($this->success as $iter1074) { - $xfer += $iter1082->write($output); + $xfer += $iter1074->write($output); } } $output->writeListEnd(); @@ -30419,14 +30299,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1083 = 0; - $_etype1086 = 0; - $xfer += $input->readListBegin($_etype1086, $_size1083); - for ($_i1087 = 0; $_i1087 < $_size1083; ++$_i1087) + $_size1075 = 0; + $_etype1078 = 0; + $xfer += $input->readListBegin($_etype1078, $_size1075); + for ($_i1079 = 0; $_i1079 < $_size1075; ++$_i1079) { - $elem1088 = null; - $xfer += $input->readString($elem1088); - $this->names []= $elem1088; + $elem1080 = null; + $xfer += $input->readString($elem1080); + $this->names []= $elem1080; } $xfer += $input->readListEnd(); } else { @@ -30464,9 +30344,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1089) + foreach ($this->names as $iter1081) { - $xfer += $output->writeString($iter1089); + $xfer += $output->writeString($iter1081); } } $output->writeListEnd(); @@ -30555,15 +30435,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1090 = 0; - $_etype1093 = 0; - $xfer += $input->readListBegin($_etype1093, $_size1090); - for ($_i1094 = 0; $_i1094 < $_size1090; ++$_i1094) + $_size1082 = 0; + $_etype1085 = 0; + $xfer += $input->readListBegin($_etype1085, $_size1082); + for ($_i1086 = 0; $_i1086 < $_size1082; ++$_i1086) { - $elem1095 = null; - $elem1095 = new \metastore\Partition(); - $xfer += $elem1095->read($input); - $this->success []= $elem1095; + $elem1087 = null; + $elem1087 = new \metastore\Partition(); + $xfer += $elem1087->read($input); + $this->success []= $elem1087; } $xfer += $input->readListEnd(); } else { @@ -30607,9 +30487,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1096) + foreach ($this->success as $iter1088) { - $xfer += $iter1096->write($output); + $xfer += $iter1088->write($output); } } $output->writeListEnd(); @@ -30948,15 +30828,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1097 = 0; - $_etype1100 = 0; - $xfer += $input->readListBegin($_etype1100, $_size1097); - for ($_i1101 = 0; $_i1101 < $_size1097; ++$_i1101) + $_size1089 = 0; + $_etype1092 = 0; + $xfer += $input->readListBegin($_etype1092, $_size1089); + for ($_i1093 = 0; $_i1093 < $_size1089; ++$_i1093) { - $elem1102 = null; - $elem1102 = new \metastore\Partition(); - $xfer += $elem1102->read($input); - $this->new_parts []= $elem1102; + $elem1094 = null; + $elem1094 = new \metastore\Partition(); + $xfer += $elem1094->read($input); + $this->new_parts []= $elem1094; } $xfer += $input->readListEnd(); } else { @@ -30994,9 +30874,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1103) + foreach ($this->new_parts as $iter1095) { - $xfer += $iter1103->write($output); + $xfer += $iter1095->write($output); } } $output->writeListEnd(); @@ -31211,15 +31091,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1104 = 0; - $_etype1107 = 0; - $xfer += $input->readListBegin($_etype1107, $_size1104); - for ($_i1108 = 0; $_i1108 < $_size1104; ++$_i1108) + $_size1096 = 0; + $_etype1099 = 0; + $xfer += $input->readListBegin($_etype1099, $_size1096); + for ($_i1100 = 0; $_i1100 < $_size1096; ++$_i1100) { - $elem1109 = null; - $elem1109 = new \metastore\Partition(); - $xfer += $elem1109->read($input); - $this->new_parts []= $elem1109; + $elem1101 = null; + $elem1101 = new \metastore\Partition(); + $xfer += $elem1101->read($input); + $this->new_parts []= $elem1101; } $xfer += $input->readListEnd(); } else { @@ -31265,9 +31145,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1110) + foreach ($this->new_parts as $iter1102) { - $xfer += $iter1110->write($output); + $xfer += $iter1102->write($output); } } $output->writeListEnd(); @@ -31745,14 +31625,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1111 = 0; - $_etype1114 = 0; - $xfer += $input->readListBegin($_etype1114, $_size1111); - for ($_i1115 = 0; $_i1115 < $_size1111; ++$_i1115) + $_size1103 = 0; + $_etype1106 = 0; + $xfer += $input->readListBegin($_etype1106, $_size1103); + for ($_i1107 = 0; $_i1107 < $_size1103; ++$_i1107) { - $elem1116 = null; - $xfer += $input->readString($elem1116); - $this->part_vals []= $elem1116; + $elem1108 = null; + $xfer += $input->readString($elem1108); + $this->part_vals []= $elem1108; } $xfer += $input->readListEnd(); } else { @@ -31798,9 +31678,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1117) + foreach ($this->part_vals as $iter1109) { - $xfer += $output->writeString($iter1117); + $xfer += $output->writeString($iter1109); } } $output->writeListEnd(); @@ -31985,14 +31865,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1118 = 0; - $_etype1121 = 0; - $xfer += $input->readListBegin($_etype1121, $_size1118); - for ($_i1122 = 0; $_i1122 < $_size1118; ++$_i1122) + $_size1110 = 0; + $_etype1113 = 0; + $xfer += $input->readListBegin($_etype1113, $_size1110); + for ($_i1114 = 0; $_i1114 < $_size1110; ++$_i1114) { - $elem1123 = null; - $xfer += $input->readString($elem1123); - $this->part_vals []= $elem1123; + $elem1115 = null; + $xfer += $input->readString($elem1115); + $this->part_vals []= $elem1115; } $xfer += $input->readListEnd(); } else { @@ -32027,9 +31907,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1124) + foreach ($this->part_vals as $iter1116) { - $xfer += $output->writeString($iter1124); + $xfer += $output->writeString($iter1116); } } $output->writeListEnd(); @@ -32483,14 +32363,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1125 = 0; - $_etype1128 = 0; - $xfer += $input->readListBegin($_etype1128, $_size1125); - for ($_i1129 = 0; $_i1129 < $_size1125; ++$_i1129) + $_size1117 = 0; + $_etype1120 = 0; + $xfer += $input->readListBegin($_etype1120, $_size1117); + for ($_i1121 = 0; $_i1121 < $_size1117; ++$_i1121) { - $elem1130 = null; - $xfer += $input->readString($elem1130); - $this->success []= $elem1130; + $elem1122 = null; + $xfer += $input->readString($elem1122); + $this->success []= $elem1122; } $xfer += $input->readListEnd(); } else { @@ -32526,9 +32406,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1131) + foreach ($this->success as $iter1123) { - $xfer += $output->writeString($iter1131); + $xfer += $output->writeString($iter1123); } } $output->writeListEnd(); @@ -32688,17 +32568,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1132 = 0; - $_ktype1133 = 0; - $_vtype1134 = 0; - $xfer += $input->readMapBegin($_ktype1133, $_vtype1134, $_size1132); - for ($_i1136 = 0; $_i1136 < $_size1132; ++$_i1136) + $_size1124 = 0; + $_ktype1125 = 0; + $_vtype1126 = 0; + $xfer += $input->readMapBegin($_ktype1125, $_vtype1126, $_size1124); + for ($_i1128 = 0; $_i1128 < $_size1124; ++$_i1128) { - $key1137 = ''; - $val1138 = ''; - $xfer += $input->readString($key1137); - $xfer += $input->readString($val1138); - $this->success[$key1137] = $val1138; + $key1129 = ''; + $val1130 = ''; + $xfer += $input->readString($key1129); + $xfer += $input->readString($val1130); + $this->success[$key1129] = $val1130; } $xfer += $input->readMapEnd(); } else { @@ -32734,10 +32614,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1139 => $viter1140) + foreach ($this->success as $kiter1131 => $viter1132) { - $xfer += $output->writeString($kiter1139); - $xfer += $output->writeString($viter1140); + $xfer += $output->writeString($kiter1131); + $xfer += $output->writeString($viter1132); } } $output->writeMapEnd(); @@ -32857,17 +32737,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1141 = 0; - $_ktype1142 = 0; - $_vtype1143 = 0; - $xfer += $input->readMapBegin($_ktype1142, $_vtype1143, $_size1141); - for ($_i1145 = 0; $_i1145 < $_size1141; ++$_i1145) + $_size1133 = 0; + $_ktype1134 = 0; + $_vtype1135 = 0; + $xfer += $input->readMapBegin($_ktype1134, $_vtype1135, $_size1133); + for ($_i1137 = 0; $_i1137 < $_size1133; ++$_i1137) { - $key1146 = ''; - $val1147 = ''; - $xfer += $input->readString($key1146); - $xfer += $input->readString($val1147); - $this->part_vals[$key1146] = $val1147; + $key1138 = ''; + $val1139 = ''; + $xfer += $input->readString($key1138); + $xfer += $input->readString($val1139); + $this->part_vals[$key1138] = $val1139; } $xfer += $input->readMapEnd(); } else { @@ -32912,10 +32792,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1148 => $viter1149) + foreach ($this->part_vals as $kiter1140 => $viter1141) { - $xfer += $output->writeString($kiter1148); - $xfer += $output->writeString($viter1149); + $xfer += $output->writeString($kiter1140); + $xfer += $output->writeString($viter1141); } } $output->writeMapEnd(); @@ -33237,17 +33117,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1150 = 0; - $_ktype1151 = 0; - $_vtype1152 = 0; - $xfer += $input->readMapBegin($_ktype1151, $_vtype1152, $_size1150); - for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) + $_size1142 = 0; + $_ktype1143 = 0; + $_vtype1144 = 0; + $xfer += $input->readMapBegin($_ktype1143, $_vtype1144, $_size1142); + for ($_i1146 = 0; $_i1146 < $_size1142; ++$_i1146) { - $key1155 = ''; - $val1156 = ''; - $xfer += $input->readString($key1155); - $xfer += $input->readString($val1156); - $this->part_vals[$key1155] = $val1156; + $key1147 = ''; + $val1148 = ''; + $xfer += $input->readString($key1147); + $xfer += $input->readString($val1148); + $this->part_vals[$key1147] = $val1148; } $xfer += $input->readMapEnd(); } else { @@ -33292,10 +33172,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1157 => $viter1158) + foreach ($this->part_vals as $kiter1149 => $viter1150) { - $xfer += $output->writeString($kiter1157); - $xfer += $output->writeString($viter1158); + $xfer += $output->writeString($kiter1149); + $xfer += $output->writeString($viter1150); } } $output->writeMapEnd(); @@ -34769,15 +34649,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1159 = 0; - $_etype1162 = 0; - $xfer += $input->readListBegin($_etype1162, $_size1159); - for ($_i1163 = 0; $_i1163 < $_size1159; ++$_i1163) + $_size1151 = 0; + $_etype1154 = 0; + $xfer += $input->readListBegin($_etype1154, $_size1151); + for ($_i1155 = 0; $_i1155 < $_size1151; ++$_i1155) { - $elem1164 = null; - $elem1164 = new \metastore\Index(); - $xfer += $elem1164->read($input); - $this->success []= $elem1164; + $elem1156 = null; + $elem1156 = new \metastore\Index(); + $xfer += $elem1156->read($input); + $this->success []= $elem1156; } $xfer += $input->readListEnd(); } else { @@ -34821,9 +34701,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1165) + foreach ($this->success as $iter1157) { - $xfer += $iter1165->write($output); + $xfer += $iter1157->write($output); } } $output->writeListEnd(); @@ -35030,14 +34910,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1166 = 0; - $_etype1169 = 0; - $xfer += $input->readListBegin($_etype1169, $_size1166); - for ($_i1170 = 0; $_i1170 < $_size1166; ++$_i1170) + $_size1158 = 0; + $_etype1161 = 0; + $xfer += $input->readListBegin($_etype1161, $_size1158); + for ($_i1162 = 0; $_i1162 < $_size1158; ++$_i1162) { - $elem1171 = null; - $xfer += $input->readString($elem1171); - $this->success []= $elem1171; + $elem1163 = null; + $xfer += $input->readString($elem1163); + $this->success []= $elem1163; } $xfer += $input->readListEnd(); } else { @@ -35073,9 +34953,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1172) + foreach ($this->success as $iter1164) { - $xfer += $output->writeString($iter1172); + $xfer += $output->writeString($iter1164); } } $output->writeListEnd(); @@ -39389,14 +39269,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1173 = 0; - $_etype1176 = 0; - $xfer += $input->readListBegin($_etype1176, $_size1173); - for ($_i1177 = 0; $_i1177 < $_size1173; ++$_i1177) + $_size1165 = 0; + $_etype1168 = 0; + $xfer += $input->readListBegin($_etype1168, $_size1165); + for ($_i1169 = 0; $_i1169 < $_size1165; ++$_i1169) { - $elem1178 = null; - $xfer += $input->readString($elem1178); - $this->success []= $elem1178; + $elem1170 = null; + $xfer += $input->readString($elem1170); + $this->success []= $elem1170; } $xfer += $input->readListEnd(); } else { @@ -39432,9 +39312,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1179) + foreach ($this->success as $iter1171) { - $xfer += $output->writeString($iter1179); + $xfer += $output->writeString($iter1171); } } $output->writeListEnd(); @@ -40303,14 +40183,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1180 = 0; - $_etype1183 = 0; - $xfer += $input->readListBegin($_etype1183, $_size1180); - for ($_i1184 = 0; $_i1184 < $_size1180; ++$_i1184) + $_size1172 = 0; + $_etype1175 = 0; + $xfer += $input->readListBegin($_etype1175, $_size1172); + for ($_i1176 = 0; $_i1176 < $_size1172; ++$_i1176) { - $elem1185 = null; - $xfer += $input->readString($elem1185); - $this->success []= $elem1185; + $elem1177 = null; + $xfer += $input->readString($elem1177); + $this->success []= $elem1177; } $xfer += $input->readListEnd(); } else { @@ -40346,9 +40226,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1186) + foreach ($this->success as $iter1178) { - $xfer += $output->writeString($iter1186); + $xfer += $output->writeString($iter1178); } } $output->writeListEnd(); @@ -41039,15 +40919,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1187 = 0; - $_etype1190 = 0; - $xfer += $input->readListBegin($_etype1190, $_size1187); - for ($_i1191 = 0; $_i1191 < $_size1187; ++$_i1191) + $_size1179 = 0; + $_etype1182 = 0; + $xfer += $input->readListBegin($_etype1182, $_size1179); + for ($_i1183 = 0; $_i1183 < $_size1179; ++$_i1183) { - $elem1192 = null; - $elem1192 = new \metastore\Role(); - $xfer += $elem1192->read($input); - $this->success []= $elem1192; + $elem1184 = null; + $elem1184 = new \metastore\Role(); + $xfer += $elem1184->read($input); + $this->success []= $elem1184; } $xfer += $input->readListEnd(); } else { @@ -41083,9 +40963,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1193) + foreach ($this->success as $iter1185) { - $xfer += $iter1193->write($output); + $xfer += $iter1185->write($output); } } $output->writeListEnd(); @@ -41747,14 +41627,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1194 = 0; - $_etype1197 = 0; - $xfer += $input->readListBegin($_etype1197, $_size1194); - for ($_i1198 = 0; $_i1198 < $_size1194; ++$_i1198) + $_size1186 = 0; + $_etype1189 = 0; + $xfer += $input->readListBegin($_etype1189, $_size1186); + for ($_i1190 = 0; $_i1190 < $_size1186; ++$_i1190) { - $elem1199 = null; - $xfer += $input->readString($elem1199); - $this->group_names []= $elem1199; + $elem1191 = null; + $xfer += $input->readString($elem1191); + $this->group_names []= $elem1191; } $xfer += $input->readListEnd(); } else { @@ -41795,9 +41675,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1200) + foreach ($this->group_names as $iter1192) { - $xfer += $output->writeString($iter1200); + $xfer += $output->writeString($iter1192); } } $output->writeListEnd(); @@ -42105,15 +41985,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1201 = 0; - $_etype1204 = 0; - $xfer += $input->readListBegin($_etype1204, $_size1201); - for ($_i1205 = 0; $_i1205 < $_size1201; ++$_i1205) + $_size1193 = 0; + $_etype1196 = 0; + $xfer += $input->readListBegin($_etype1196, $_size1193); + for ($_i1197 = 0; $_i1197 < $_size1193; ++$_i1197) { - $elem1206 = null; - $elem1206 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1206->read($input); - $this->success []= $elem1206; + $elem1198 = null; + $elem1198 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1198->read($input); + $this->success []= $elem1198; } $xfer += $input->readListEnd(); } else { @@ -42149,9 +42029,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1207) + foreach ($this->success as $iter1199) { - $xfer += $iter1207->write($output); + $xfer += $iter1199->write($output); } } $output->writeListEnd(); @@ -42783,14 +42663,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1208 = 0; - $_etype1211 = 0; - $xfer += $input->readListBegin($_etype1211, $_size1208); - for ($_i1212 = 0; $_i1212 < $_size1208; ++$_i1212) + $_size1200 = 0; + $_etype1203 = 0; + $xfer += $input->readListBegin($_etype1203, $_size1200); + for ($_i1204 = 0; $_i1204 < $_size1200; ++$_i1204) { - $elem1213 = null; - $xfer += $input->readString($elem1213); - $this->group_names []= $elem1213; + $elem1205 = null; + $xfer += $input->readString($elem1205); + $this->group_names []= $elem1205; } $xfer += $input->readListEnd(); } else { @@ -42823,9 +42703,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1214) + foreach ($this->group_names as $iter1206) { - $xfer += $output->writeString($iter1214); + $xfer += $output->writeString($iter1206); } } $output->writeListEnd(); @@ -42901,14 +42781,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1215 = 0; - $_etype1218 = 0; - $xfer += $input->readListBegin($_etype1218, $_size1215); - for ($_i1219 = 0; $_i1219 < $_size1215; ++$_i1219) + $_size1207 = 0; + $_etype1210 = 0; + $xfer += $input->readListBegin($_etype1210, $_size1207); + for ($_i1211 = 0; $_i1211 < $_size1207; ++$_i1211) { - $elem1220 = null; - $xfer += $input->readString($elem1220); - $this->success []= $elem1220; + $elem1212 = null; + $xfer += $input->readString($elem1212); + $this->success []= $elem1212; } $xfer += $input->readListEnd(); } else { @@ -42944,9 +42824,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1221) + foreach ($this->success as $iter1213) { - $xfer += $output->writeString($iter1221); + $xfer += $output->writeString($iter1213); } } $output->writeListEnd(); @@ -44063,14 +43943,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1222 = 0; - $_etype1225 = 0; - $xfer += $input->readListBegin($_etype1225, $_size1222); - for ($_i1226 = 0; $_i1226 < $_size1222; ++$_i1226) + $_size1214 = 0; + $_etype1217 = 0; + $xfer += $input->readListBegin($_etype1217, $_size1214); + for ($_i1218 = 0; $_i1218 < $_size1214; ++$_i1218) { - $elem1227 = null; - $xfer += $input->readString($elem1227); - $this->success []= $elem1227; + $elem1219 = null; + $xfer += $input->readString($elem1219); + $this->success []= $elem1219; } $xfer += $input->readListEnd(); } else { @@ -44098,9 +43978,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1228) + foreach ($this->success as $iter1220) { - $xfer += $output->writeString($iter1228); + $xfer += $output->writeString($iter1220); } } $output->writeListEnd(); @@ -44739,14 +44619,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1229 = 0; - $_etype1232 = 0; - $xfer += $input->readListBegin($_etype1232, $_size1229); - for ($_i1233 = 0; $_i1233 < $_size1229; ++$_i1233) + $_size1221 = 0; + $_etype1224 = 0; + $xfer += $input->readListBegin($_etype1224, $_size1221); + for ($_i1225 = 0; $_i1225 < $_size1221; ++$_i1225) { - $elem1234 = null; - $xfer += $input->readString($elem1234); - $this->success []= $elem1234; + $elem1226 = null; + $xfer += $input->readString($elem1226); + $this->success []= $elem1226; } $xfer += $input->readListEnd(); } else { @@ -44774,9 +44654,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1235) + foreach ($this->success as $iter1227) { - $xfer += $output->writeString($iter1235); + $xfer += $output->writeString($iter1227); } } $output->writeListEnd(); @@ -47492,493 +47372,6 @@ class ThriftHiveMetastore_add_dynamic_partitions_result { } -class ThriftHiveMetastore_get_last_completed_transaction_for_tables_args { - static $_TSPEC; - - /** - * @var string[] - */ - public $db_names = null; - /** - * @var string[] - */ - public $table_names = null; - /** - * @var \metastore\TxnsSnapshot - */ - public $txns_snapshot = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 1 => array( - 'var' => 'db_names', - 'type' => TType::LST, - 'etype' => TType::STRING, - 'elem' => array( - 'type' => TType::STRING, - ), - ), - 2 => array( - 'var' => 'table_names', - 'type' => TType::LST, - 'etype' => TType::STRING, - 'elem' => array( - 'type' => TType::STRING, - ), - ), - 3 => array( - 'var' => 'txns_snapshot', - 'type' => TType::STRUCT, - 'class' => '\metastore\TxnsSnapshot', - ), - ); - } - if (is_array($vals)) { - if (isset($vals['db_names'])) { - $this->db_names = $vals['db_names']; - } - if (isset($vals['table_names'])) { - $this->table_names = $vals['table_names']; - } - if (isset($vals['txns_snapshot'])) { - $this->txns_snapshot = $vals['txns_snapshot']; - } - } - } - - public function getName() { - return 'ThriftHiveMetastore_get_last_completed_transaction_for_tables_args'; - } - - public function read($input) - { - $xfer = 0; - $fname = null; - $ftype = 0; - $fid = 0; - $xfer += $input->readStructBegin($fname); - while (true) - { - $xfer += $input->readFieldBegin($fname, $ftype, $fid); - if ($ftype == TType::STOP) { - break; - } - switch ($fid) - { - case 1: - if ($ftype == TType::LST) { - $this->db_names = array(); - $_size1236 = 0; - $_etype1239 = 0; - $xfer += $input->readListBegin($_etype1239, $_size1236); - for ($_i1240 = 0; $_i1240 < $_size1236; ++$_i1240) - { - $elem1241 = null; - $xfer += $input->readString($elem1241); - $this->db_names []= $elem1241; - } - $xfer += $input->readListEnd(); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::LST) { - $this->table_names = array(); - $_size1242 = 0; - $_etype1245 = 0; - $xfer += $input->readListBegin($_etype1245, $_size1242); - for ($_i1246 = 0; $_i1246 < $_size1242; ++$_i1246) - { - $elem1247 = null; - $xfer += $input->readString($elem1247); - $this->table_names []= $elem1247; - } - $xfer += $input->readListEnd(); - } else { - $xfer += $input->skip($ftype); - } - break; - case 3: - if ($ftype == TType::STRUCT) { - $this->txns_snapshot = new \metastore\TxnsSnapshot(); - $xfer += $this->txns_snapshot->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - default: - $xfer += $input->skip($ftype); - break; - } - $xfer += $input->readFieldEnd(); - } - $xfer += $input->readStructEnd(); - return $xfer; - } - - public function write($output) { - $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_last_completed_transaction_for_tables_args'); - if ($this->db_names !== null) { - if (!is_array($this->db_names)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('db_names', TType::LST, 1); - { - $output->writeListBegin(TType::STRING, count($this->db_names)); - { - foreach ($this->db_names as $iter1248) - { - $xfer += $output->writeString($iter1248); - } - } - $output->writeListEnd(); - } - $xfer += $output->writeFieldEnd(); - } - if ($this->table_names !== null) { - if (!is_array($this->table_names)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('table_names', TType::LST, 2); - { - $output->writeListBegin(TType::STRING, count($this->table_names)); - { - foreach ($this->table_names as $iter1249) - { - $xfer += $output->writeString($iter1249); - } - } - $output->writeListEnd(); - } - $xfer += $output->writeFieldEnd(); - } - if ($this->txns_snapshot !== null) { - if (!is_object($this->txns_snapshot)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('txns_snapshot', TType::STRUCT, 3); - $xfer += $this->txns_snapshot->write($output); - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - -class ThriftHiveMetastore_get_last_completed_transaction_for_tables_result { - static $_TSPEC; - - /** - * @var \metastore\BasicTxnInfo[] - */ - public $success = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 0 => array( - 'var' => 'success', - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\metastore\BasicTxnInfo', - ), - ), - ); - } - if (is_array($vals)) { - if (isset($vals['success'])) { - $this->success = $vals['success']; - } - } - } - - public function getName() { - return 'ThriftHiveMetastore_get_last_completed_transaction_for_tables_result'; - } - - public function read($input) - { - $xfer = 0; - $fname = null; - $ftype = 0; - $fid = 0; - $xfer += $input->readStructBegin($fname); - while (true) - { - $xfer += $input->readFieldBegin($fname, $ftype, $fid); - if ($ftype == TType::STOP) { - break; - } - switch ($fid) - { - case 0: - if ($ftype == TType::LST) { - $this->success = array(); - $_size1250 = 0; - $_etype1253 = 0; - $xfer += $input->readListBegin($_etype1253, $_size1250); - for ($_i1254 = 0; $_i1254 < $_size1250; ++$_i1254) - { - $elem1255 = null; - $elem1255 = new \metastore\BasicTxnInfo(); - $xfer += $elem1255->read($input); - $this->success []= $elem1255; - } - $xfer += $input->readListEnd(); - } else { - $xfer += $input->skip($ftype); - } - break; - default: - $xfer += $input->skip($ftype); - break; - } - $xfer += $input->readFieldEnd(); - } - $xfer += $input->readStructEnd(); - return $xfer; - } - - public function write($output) { - $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_last_completed_transaction_for_tables_result'); - if ($this->success !== null) { - if (!is_array($this->success)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('success', TType::LST, 0); - { - $output->writeListBegin(TType::STRUCT, count($this->success)); - { - foreach ($this->success as $iter1256) - { - $xfer += $iter1256->write($output); - } - } - $output->writeListEnd(); - } - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - -class ThriftHiveMetastore_get_last_completed_transaction_for_table_args { - static $_TSPEC; - - /** - * @var string - */ - public $db_name = null; - /** - * @var string - */ - public $table_name = null; - /** - * @var \metastore\TxnsSnapshot - */ - public $txns_snapshot = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 1 => array( - 'var' => 'db_name', - 'type' => TType::STRING, - ), - 2 => array( - 'var' => 'table_name', - 'type' => TType::STRING, - ), - 3 => array( - 'var' => 'txns_snapshot', - 'type' => TType::STRUCT, - 'class' => '\metastore\TxnsSnapshot', - ), - ); - } - if (is_array($vals)) { - if (isset($vals['db_name'])) { - $this->db_name = $vals['db_name']; - } - if (isset($vals['table_name'])) { - $this->table_name = $vals['table_name']; - } - if (isset($vals['txns_snapshot'])) { - $this->txns_snapshot = $vals['txns_snapshot']; - } - } - } - - public function getName() { - return 'ThriftHiveMetastore_get_last_completed_transaction_for_table_args'; - } - - public function read($input) - { - $xfer = 0; - $fname = null; - $ftype = 0; - $fid = 0; - $xfer += $input->readStructBegin($fname); - while (true) - { - $xfer += $input->readFieldBegin($fname, $ftype, $fid); - if ($ftype == TType::STOP) { - break; - } - switch ($fid) - { - case 1: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->db_name); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::STRING) { - $xfer += $input->readString($this->table_name); - } else { - $xfer += $input->skip($ftype); - } - break; - case 3: - if ($ftype == TType::STRUCT) { - $this->txns_snapshot = new \metastore\TxnsSnapshot(); - $xfer += $this->txns_snapshot->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - default: - $xfer += $input->skip($ftype); - break; - } - $xfer += $input->readFieldEnd(); - } - $xfer += $input->readStructEnd(); - return $xfer; - } - - public function write($output) { - $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_last_completed_transaction_for_table_args'); - if ($this->db_name !== null) { - $xfer += $output->writeFieldBegin('db_name', TType::STRING, 1); - $xfer += $output->writeString($this->db_name); - $xfer += $output->writeFieldEnd(); - } - if ($this->table_name !== null) { - $xfer += $output->writeFieldBegin('table_name', TType::STRING, 2); - $xfer += $output->writeString($this->table_name); - $xfer += $output->writeFieldEnd(); - } - if ($this->txns_snapshot !== null) { - if (!is_object($this->txns_snapshot)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('txns_snapshot', TType::STRUCT, 3); - $xfer += $this->txns_snapshot->write($output); - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - -class ThriftHiveMetastore_get_last_completed_transaction_for_table_result { - static $_TSPEC; - - /** - * @var \metastore\BasicTxnInfo - */ - public $success = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 0 => array( - 'var' => 'success', - 'type' => TType::STRUCT, - 'class' => '\metastore\BasicTxnInfo', - ), - ); - } - if (is_array($vals)) { - if (isset($vals['success'])) { - $this->success = $vals['success']; - } - } - } - - public function getName() { - return 'ThriftHiveMetastore_get_last_completed_transaction_for_table_result'; - } - - public function read($input) - { - $xfer = 0; - $fname = null; - $ftype = 0; - $fid = 0; - $xfer += $input->readStructBegin($fname); - while (true) - { - $xfer += $input->readFieldBegin($fname, $ftype, $fid); - if ($ftype == TType::STOP) { - break; - } - switch ($fid) - { - case 0: - if ($ftype == TType::STRUCT) { - $this->success = new \metastore\BasicTxnInfo(); - $xfer += $this->success->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - default: - $xfer += $input->skip($ftype); - break; - } - $xfer += $input->readFieldEnd(); - } - $xfer += $input->readStructEnd(); - return $xfer; - } - - public function write($output) { - $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_get_last_completed_transaction_for_table_result'); - if ($this->success !== null) { - if (!is_object($this->success)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('success', TType::STRUCT, 0); - $xfer += $this->success->write($output); - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - class ThriftHiveMetastore_get_next_notification_args { static $_TSPEC; diff --git a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php index 6878ee1be7..a5b578ef37 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -5039,7 +5039,7 @@ class Table { */ public $rewriteEnabled = null; /** - * @var array + * @var \metastore\CreationMetadata */ public $creationMetadata = null; @@ -5123,16 +5123,8 @@ class Table { ), 16 => array( 'var' => 'creationMetadata', - 'type' => TType::MAP, - 'ktype' => TType::STRING, - 'vtype' => TType::STRUCT, - 'key' => array( - 'type' => TType::STRING, - ), - 'val' => array( - 'type' => TType::STRUCT, - 'class' => '\metastore\BasicTxnInfo', - ), + 'type' => TType::STRUCT, + 'class' => '\metastore\CreationMetadata', ), ); } @@ -5339,22 +5331,9 @@ class Table { } break; case 16: - if ($ftype == TType::MAP) { - $this->creationMetadata = array(); - $_size181 = 0; - $_ktype182 = 0; - $_vtype183 = 0; - $xfer += $input->readMapBegin($_ktype182, $_vtype183, $_size181); - for ($_i185 = 0; $_i185 < $_size181; ++$_i185) - { - $key186 = ''; - $val187 = new \metastore\BasicTxnInfo(); - $xfer += $input->readString($key186); - $val187 = new \metastore\BasicTxnInfo(); - $xfer += $val187->read($input); - $this->creationMetadata[$key186] = $val187; - } - $xfer += $input->readMapEnd(); + if ($ftype == TType::STRUCT) { + $this->creationMetadata = new \metastore\CreationMetadata(); + $xfer += $this->creationMetadata->read($input); } else { $xfer += $input->skip($ftype); } @@ -5418,9 +5397,9 @@ class Table { { $output->writeListBegin(TType::STRUCT, count($this->partitionKeys)); { - foreach ($this->partitionKeys as $iter188) + foreach ($this->partitionKeys as $iter181) { - $xfer += $iter188->write($output); + $xfer += $iter181->write($output); } } $output->writeListEnd(); @@ -5435,10 +5414,10 @@ class Table { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter189 => $viter190) + foreach ($this->parameters as $kiter182 => $viter183) { - $xfer += $output->writeString($kiter189); - $xfer += $output->writeString($viter190); + $xfer += $output->writeString($kiter182); + $xfer += $output->writeString($viter183); } } $output->writeMapEnd(); @@ -5479,21 +5458,11 @@ class Table { $xfer += $output->writeFieldEnd(); } if ($this->creationMetadata !== null) { - if (!is_array($this->creationMetadata)) { + if (!is_object($this->creationMetadata)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); } - $xfer += $output->writeFieldBegin('creationMetadata', TType::MAP, 16); - { - $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->creationMetadata)); - { - foreach ($this->creationMetadata as $kiter191 => $viter192) - { - $xfer += $output->writeString($kiter191); - $xfer += $viter192->write($output); - } - } - $output->writeMapEnd(); - } + $xfer += $output->writeFieldBegin('creationMetadata', TType::STRUCT, 16); + $xfer += $this->creationMetadata->write($output); $xfer += $output->writeFieldEnd(); } $xfer += $output->writeFieldStop(); @@ -5640,14 +5609,14 @@ class Partition { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size193 = 0; - $_etype196 = 0; - $xfer += $input->readListBegin($_etype196, $_size193); - for ($_i197 = 0; $_i197 < $_size193; ++$_i197) + $_size184 = 0; + $_etype187 = 0; + $xfer += $input->readListBegin($_etype187, $_size184); + for ($_i188 = 0; $_i188 < $_size184; ++$_i188) { - $elem198 = null; - $xfer += $input->readString($elem198); - $this->values []= $elem198; + $elem189 = null; + $xfer += $input->readString($elem189); + $this->values []= $elem189; } $xfer += $input->readListEnd(); } else { @@ -5693,17 +5662,17 @@ class Partition { case 7: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size199 = 0; - $_ktype200 = 0; - $_vtype201 = 0; - $xfer += $input->readMapBegin($_ktype200, $_vtype201, $_size199); - for ($_i203 = 0; $_i203 < $_size199; ++$_i203) + $_size190 = 0; + $_ktype191 = 0; + $_vtype192 = 0; + $xfer += $input->readMapBegin($_ktype191, $_vtype192, $_size190); + for ($_i194 = 0; $_i194 < $_size190; ++$_i194) { - $key204 = ''; - $val205 = ''; - $xfer += $input->readString($key204); - $xfer += $input->readString($val205); - $this->parameters[$key204] = $val205; + $key195 = ''; + $val196 = ''; + $xfer += $input->readString($key195); + $xfer += $input->readString($val196); + $this->parameters[$key195] = $val196; } $xfer += $input->readMapEnd(); } else { @@ -5739,9 +5708,9 @@ class Partition { { $output->writeListBegin(TType::STRING, count($this->values)); { - foreach ($this->values as $iter206) + foreach ($this->values as $iter197) { - $xfer += $output->writeString($iter206); + $xfer += $output->writeString($iter197); } } $output->writeListEnd(); @@ -5784,10 +5753,10 @@ class Partition { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter207 => $viter208) + foreach ($this->parameters as $kiter198 => $viter199) { - $xfer += $output->writeString($kiter207); - $xfer += $output->writeString($viter208); + $xfer += $output->writeString($kiter198); + $xfer += $output->writeString($viter199); } } $output->writeMapEnd(); @@ -5923,14 +5892,14 @@ class PartitionWithoutSD { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size209 = 0; - $_etype212 = 0; - $xfer += $input->readListBegin($_etype212, $_size209); - for ($_i213 = 0; $_i213 < $_size209; ++$_i213) + $_size200 = 0; + $_etype203 = 0; + $xfer += $input->readListBegin($_etype203, $_size200); + for ($_i204 = 0; $_i204 < $_size200; ++$_i204) { - $elem214 = null; - $xfer += $input->readString($elem214); - $this->values []= $elem214; + $elem205 = null; + $xfer += $input->readString($elem205); + $this->values []= $elem205; } $xfer += $input->readListEnd(); } else { @@ -5961,17 +5930,17 @@ class PartitionWithoutSD { case 5: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size215 = 0; - $_ktype216 = 0; - $_vtype217 = 0; - $xfer += $input->readMapBegin($_ktype216, $_vtype217, $_size215); - for ($_i219 = 0; $_i219 < $_size215; ++$_i219) + $_size206 = 0; + $_ktype207 = 0; + $_vtype208 = 0; + $xfer += $input->readMapBegin($_ktype207, $_vtype208, $_size206); + for ($_i210 = 0; $_i210 < $_size206; ++$_i210) { - $key220 = ''; - $val221 = ''; - $xfer += $input->readString($key220); - $xfer += $input->readString($val221); - $this->parameters[$key220] = $val221; + $key211 = ''; + $val212 = ''; + $xfer += $input->readString($key211); + $xfer += $input->readString($val212); + $this->parameters[$key211] = $val212; } $xfer += $input->readMapEnd(); } else { @@ -6007,9 +5976,9 @@ class PartitionWithoutSD { { $output->writeListBegin(TType::STRING, count($this->values)); { - foreach ($this->values as $iter222) + foreach ($this->values as $iter213) { - $xfer += $output->writeString($iter222); + $xfer += $output->writeString($iter213); } } $output->writeListEnd(); @@ -6039,10 +6008,10 @@ class PartitionWithoutSD { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter223 => $viter224) + foreach ($this->parameters as $kiter214 => $viter215) { - $xfer += $output->writeString($kiter223); - $xfer += $output->writeString($viter224); + $xfer += $output->writeString($kiter214); + $xfer += $output->writeString($viter215); } } $output->writeMapEnd(); @@ -6127,15 +6096,15 @@ class PartitionSpecWithSharedSD { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size225 = 0; - $_etype228 = 0; - $xfer += $input->readListBegin($_etype228, $_size225); - for ($_i229 = 0; $_i229 < $_size225; ++$_i229) + $_size216 = 0; + $_etype219 = 0; + $xfer += $input->readListBegin($_etype219, $_size216); + for ($_i220 = 0; $_i220 < $_size216; ++$_i220) { - $elem230 = null; - $elem230 = new \metastore\PartitionWithoutSD(); - $xfer += $elem230->read($input); - $this->partitions []= $elem230; + $elem221 = null; + $elem221 = new \metastore\PartitionWithoutSD(); + $xfer += $elem221->read($input); + $this->partitions []= $elem221; } $xfer += $input->readListEnd(); } else { @@ -6171,9 +6140,9 @@ class PartitionSpecWithSharedSD { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter231) + foreach ($this->partitions as $iter222) { - $xfer += $iter231->write($output); + $xfer += $iter222->write($output); } } $output->writeListEnd(); @@ -6246,15 +6215,15 @@ class PartitionListComposingSpec { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size232 = 0; - $_etype235 = 0; - $xfer += $input->readListBegin($_etype235, $_size232); - for ($_i236 = 0; $_i236 < $_size232; ++$_i236) + $_size223 = 0; + $_etype226 = 0; + $xfer += $input->readListBegin($_etype226, $_size223); + for ($_i227 = 0; $_i227 < $_size223; ++$_i227) { - $elem237 = null; - $elem237 = new \metastore\Partition(); - $xfer += $elem237->read($input); - $this->partitions []= $elem237; + $elem228 = null; + $elem228 = new \metastore\Partition(); + $xfer += $elem228->read($input); + $this->partitions []= $elem228; } $xfer += $input->readListEnd(); } else { @@ -6282,9 +6251,9 @@ class PartitionListComposingSpec { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter238) + foreach ($this->partitions as $iter229) { - $xfer += $iter238->write($output); + $xfer += $iter229->write($output); } } $output->writeListEnd(); @@ -6686,17 +6655,17 @@ class Index { case 9: if ($ftype == TType::MAP) { $this->parameters = array(); - $_size239 = 0; - $_ktype240 = 0; - $_vtype241 = 0; - $xfer += $input->readMapBegin($_ktype240, $_vtype241, $_size239); - for ($_i243 = 0; $_i243 < $_size239; ++$_i243) + $_size230 = 0; + $_ktype231 = 0; + $_vtype232 = 0; + $xfer += $input->readMapBegin($_ktype231, $_vtype232, $_size230); + for ($_i234 = 0; $_i234 < $_size230; ++$_i234) { - $key244 = ''; - $val245 = ''; - $xfer += $input->readString($key244); - $xfer += $input->readString($val245); - $this->parameters[$key244] = $val245; + $key235 = ''; + $val236 = ''; + $xfer += $input->readString($key235); + $xfer += $input->readString($val236); + $this->parameters[$key235] = $val236; } $xfer += $input->readMapEnd(); } else { @@ -6774,10 +6743,10 @@ class Index { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->parameters)); { - foreach ($this->parameters as $kiter246 => $viter247) + foreach ($this->parameters as $kiter237 => $viter238) { - $xfer += $output->writeString($kiter246); - $xfer += $output->writeString($viter247); + $xfer += $output->writeString($kiter237); + $xfer += $output->writeString($viter238); } } $output->writeMapEnd(); @@ -8724,15 +8693,15 @@ class ColumnStatistics { case 2: if ($ftype == TType::LST) { $this->statsObj = array(); - $_size248 = 0; - $_etype251 = 0; - $xfer += $input->readListBegin($_etype251, $_size248); - for ($_i252 = 0; $_i252 < $_size248; ++$_i252) + $_size239 = 0; + $_etype242 = 0; + $xfer += $input->readListBegin($_etype242, $_size239); + for ($_i243 = 0; $_i243 < $_size239; ++$_i243) { - $elem253 = null; - $elem253 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem253->read($input); - $this->statsObj []= $elem253; + $elem244 = null; + $elem244 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem244->read($input); + $this->statsObj []= $elem244; } $xfer += $input->readListEnd(); } else { @@ -8768,9 +8737,9 @@ class ColumnStatistics { { $output->writeListBegin(TType::STRUCT, count($this->statsObj)); { - foreach ($this->statsObj as $iter254) + foreach ($this->statsObj as $iter245) { - $xfer += $iter254->write($output); + $xfer += $iter245->write($output); } } $output->writeListEnd(); @@ -8846,15 +8815,15 @@ class AggrStats { case 1: if ($ftype == TType::LST) { $this->colStats = array(); - $_size255 = 0; - $_etype258 = 0; - $xfer += $input->readListBegin($_etype258, $_size255); - for ($_i259 = 0; $_i259 < $_size255; ++$_i259) + $_size246 = 0; + $_etype249 = 0; + $xfer += $input->readListBegin($_etype249, $_size246); + for ($_i250 = 0; $_i250 < $_size246; ++$_i250) { - $elem260 = null; - $elem260 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem260->read($input); - $this->colStats []= $elem260; + $elem251 = null; + $elem251 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem251->read($input); + $this->colStats []= $elem251; } $xfer += $input->readListEnd(); } else { @@ -8889,9 +8858,9 @@ class AggrStats { { $output->writeListBegin(TType::STRUCT, count($this->colStats)); { - foreach ($this->colStats as $iter261) + foreach ($this->colStats as $iter252) { - $xfer += $iter261->write($output); + $xfer += $iter252->write($output); } } $output->writeListEnd(); @@ -8972,15 +8941,15 @@ class SetPartitionsStatsRequest { case 1: if ($ftype == TType::LST) { $this->colStats = array(); - $_size262 = 0; - $_etype265 = 0; - $xfer += $input->readListBegin($_etype265, $_size262); - for ($_i266 = 0; $_i266 < $_size262; ++$_i266) + $_size253 = 0; + $_etype256 = 0; + $xfer += $input->readListBegin($_etype256, $_size253); + for ($_i257 = 0; $_i257 < $_size253; ++$_i257) { - $elem267 = null; - $elem267 = new \metastore\ColumnStatistics(); - $xfer += $elem267->read($input); - $this->colStats []= $elem267; + $elem258 = null; + $elem258 = new \metastore\ColumnStatistics(); + $xfer += $elem258->read($input); + $this->colStats []= $elem258; } $xfer += $input->readListEnd(); } else { @@ -9015,9 +8984,9 @@ class SetPartitionsStatsRequest { { $output->writeListBegin(TType::STRUCT, count($this->colStats)); { - foreach ($this->colStats as $iter268) + foreach ($this->colStats as $iter259) { - $xfer += $iter268->write($output); + $xfer += $iter259->write($output); } } $output->writeListEnd(); @@ -9106,15 +9075,15 @@ class Schema { case 1: if ($ftype == TType::LST) { $this->fieldSchemas = array(); - $_size269 = 0; - $_etype272 = 0; - $xfer += $input->readListBegin($_etype272, $_size269); - for ($_i273 = 0; $_i273 < $_size269; ++$_i273) + $_size260 = 0; + $_etype263 = 0; + $xfer += $input->readListBegin($_etype263, $_size260); + for ($_i264 = 0; $_i264 < $_size260; ++$_i264) { - $elem274 = null; - $elem274 = new \metastore\FieldSchema(); - $xfer += $elem274->read($input); - $this->fieldSchemas []= $elem274; + $elem265 = null; + $elem265 = new \metastore\FieldSchema(); + $xfer += $elem265->read($input); + $this->fieldSchemas []= $elem265; } $xfer += $input->readListEnd(); } else { @@ -9124,17 +9093,17 @@ class Schema { case 2: if ($ftype == TType::MAP) { $this->properties = array(); - $_size275 = 0; - $_ktype276 = 0; - $_vtype277 = 0; - $xfer += $input->readMapBegin($_ktype276, $_vtype277, $_size275); - for ($_i279 = 0; $_i279 < $_size275; ++$_i279) + $_size266 = 0; + $_ktype267 = 0; + $_vtype268 = 0; + $xfer += $input->readMapBegin($_ktype267, $_vtype268, $_size266); + for ($_i270 = 0; $_i270 < $_size266; ++$_i270) { - $key280 = ''; - $val281 = ''; - $xfer += $input->readString($key280); - $xfer += $input->readString($val281); - $this->properties[$key280] = $val281; + $key271 = ''; + $val272 = ''; + $xfer += $input->readString($key271); + $xfer += $input->readString($val272); + $this->properties[$key271] = $val272; } $xfer += $input->readMapEnd(); } else { @@ -9162,9 +9131,9 @@ class Schema { { $output->writeListBegin(TType::STRUCT, count($this->fieldSchemas)); { - foreach ($this->fieldSchemas as $iter282) + foreach ($this->fieldSchemas as $iter273) { - $xfer += $iter282->write($output); + $xfer += $iter273->write($output); } } $output->writeListEnd(); @@ -9179,10 +9148,10 @@ class Schema { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter283 => $viter284) + foreach ($this->properties as $kiter274 => $viter275) { - $xfer += $output->writeString($kiter283); - $xfer += $output->writeString($viter284); + $xfer += $output->writeString($kiter274); + $xfer += $output->writeString($viter275); } } $output->writeMapEnd(); @@ -9250,17 +9219,17 @@ class EnvironmentContext { case 1: if ($ftype == TType::MAP) { $this->properties = array(); - $_size285 = 0; - $_ktype286 = 0; - $_vtype287 = 0; - $xfer += $input->readMapBegin($_ktype286, $_vtype287, $_size285); - for ($_i289 = 0; $_i289 < $_size285; ++$_i289) + $_size276 = 0; + $_ktype277 = 0; + $_vtype278 = 0; + $xfer += $input->readMapBegin($_ktype277, $_vtype278, $_size276); + for ($_i280 = 0; $_i280 < $_size276; ++$_i280) { - $key290 = ''; - $val291 = ''; - $xfer += $input->readString($key290); - $xfer += $input->readString($val291); - $this->properties[$key290] = $val291; + $key281 = ''; + $val282 = ''; + $xfer += $input->readString($key281); + $xfer += $input->readString($val282); + $this->properties[$key281] = $val282; } $xfer += $input->readMapEnd(); } else { @@ -9288,10 +9257,10 @@ class EnvironmentContext { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter292 => $viter293) + foreach ($this->properties as $kiter283 => $viter284) { - $xfer += $output->writeString($kiter292); - $xfer += $output->writeString($viter293); + $xfer += $output->writeString($kiter283); + $xfer += $output->writeString($viter284); } } $output->writeMapEnd(); @@ -9454,15 +9423,15 @@ class PrimaryKeysResponse { case 1: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size294 = 0; - $_etype297 = 0; - $xfer += $input->readListBegin($_etype297, $_size294); - for ($_i298 = 0; $_i298 < $_size294; ++$_i298) + $_size285 = 0; + $_etype288 = 0; + $xfer += $input->readListBegin($_etype288, $_size285); + for ($_i289 = 0; $_i289 < $_size285; ++$_i289) { - $elem299 = null; - $elem299 = new \metastore\SQLPrimaryKey(); - $xfer += $elem299->read($input); - $this->primaryKeys []= $elem299; + $elem290 = null; + $elem290 = new \metastore\SQLPrimaryKey(); + $xfer += $elem290->read($input); + $this->primaryKeys []= $elem290; } $xfer += $input->readListEnd(); } else { @@ -9490,9 +9459,9 @@ class PrimaryKeysResponse { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter300) + foreach ($this->primaryKeys as $iter291) { - $xfer += $iter300->write($output); + $xfer += $iter291->write($output); } } $output->writeListEnd(); @@ -9701,15 +9670,15 @@ class ForeignKeysResponse { case 1: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size301 = 0; - $_etype304 = 0; - $xfer += $input->readListBegin($_etype304, $_size301); - for ($_i305 = 0; $_i305 < $_size301; ++$_i305) + $_size292 = 0; + $_etype295 = 0; + $xfer += $input->readListBegin($_etype295, $_size292); + for ($_i296 = 0; $_i296 < $_size292; ++$_i296) { - $elem306 = null; - $elem306 = new \metastore\SQLForeignKey(); - $xfer += $elem306->read($input); - $this->foreignKeys []= $elem306; + $elem297 = null; + $elem297 = new \metastore\SQLForeignKey(); + $xfer += $elem297->read($input); + $this->foreignKeys []= $elem297; } $xfer += $input->readListEnd(); } else { @@ -9737,9 +9706,9 @@ class ForeignKeysResponse { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter307) + foreach ($this->foreignKeys as $iter298) { - $xfer += $iter307->write($output); + $xfer += $iter298->write($output); } } $output->writeListEnd(); @@ -9902,15 +9871,15 @@ class UniqueConstraintsResponse { case 1: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size308 = 0; - $_etype311 = 0; - $xfer += $input->readListBegin($_etype311, $_size308); - for ($_i312 = 0; $_i312 < $_size308; ++$_i312) + $_size299 = 0; + $_etype302 = 0; + $xfer += $input->readListBegin($_etype302, $_size299); + for ($_i303 = 0; $_i303 < $_size299; ++$_i303) { - $elem313 = null; - $elem313 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem313->read($input); - $this->uniqueConstraints []= $elem313; + $elem304 = null; + $elem304 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem304->read($input); + $this->uniqueConstraints []= $elem304; } $xfer += $input->readListEnd(); } else { @@ -9938,9 +9907,9 @@ class UniqueConstraintsResponse { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter314) + foreach ($this->uniqueConstraints as $iter305) { - $xfer += $iter314->write($output); + $xfer += $iter305->write($output); } } $output->writeListEnd(); @@ -10103,15 +10072,15 @@ class NotNullConstraintsResponse { case 1: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size315 = 0; - $_etype318 = 0; - $xfer += $input->readListBegin($_etype318, $_size315); - for ($_i319 = 0; $_i319 < $_size315; ++$_i319) + $_size306 = 0; + $_etype309 = 0; + $xfer += $input->readListBegin($_etype309, $_size306); + for ($_i310 = 0; $_i310 < $_size306; ++$_i310) { - $elem320 = null; - $elem320 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem320->read($input); - $this->notNullConstraints []= $elem320; + $elem311 = null; + $elem311 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem311->read($input); + $this->notNullConstraints []= $elem311; } $xfer += $input->readListEnd(); } else { @@ -10139,9 +10108,9 @@ class NotNullConstraintsResponse { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter321) + foreach ($this->notNullConstraints as $iter312) { - $xfer += $iter321->write($output); + $xfer += $iter312->write($output); } } $output->writeListEnd(); @@ -10327,15 +10296,15 @@ class AddPrimaryKeyRequest { case 1: if ($ftype == TType::LST) { $this->primaryKeyCols = array(); - $_size322 = 0; - $_etype325 = 0; - $xfer += $input->readListBegin($_etype325, $_size322); - for ($_i326 = 0; $_i326 < $_size322; ++$_i326) + $_size313 = 0; + $_etype316 = 0; + $xfer += $input->readListBegin($_etype316, $_size313); + for ($_i317 = 0; $_i317 < $_size313; ++$_i317) { - $elem327 = null; - $elem327 = new \metastore\SQLPrimaryKey(); - $xfer += $elem327->read($input); - $this->primaryKeyCols []= $elem327; + $elem318 = null; + $elem318 = new \metastore\SQLPrimaryKey(); + $xfer += $elem318->read($input); + $this->primaryKeyCols []= $elem318; } $xfer += $input->readListEnd(); } else { @@ -10363,9 +10332,9 @@ class AddPrimaryKeyRequest { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeyCols)); { - foreach ($this->primaryKeyCols as $iter328) + foreach ($this->primaryKeyCols as $iter319) { - $xfer += $iter328->write($output); + $xfer += $iter319->write($output); } } $output->writeListEnd(); @@ -10430,15 +10399,15 @@ class AddForeignKeyRequest { case 1: if ($ftype == TType::LST) { $this->foreignKeyCols = array(); - $_size329 = 0; - $_etype332 = 0; - $xfer += $input->readListBegin($_etype332, $_size329); - for ($_i333 = 0; $_i333 < $_size329; ++$_i333) + $_size320 = 0; + $_etype323 = 0; + $xfer += $input->readListBegin($_etype323, $_size320); + for ($_i324 = 0; $_i324 < $_size320; ++$_i324) { - $elem334 = null; - $elem334 = new \metastore\SQLForeignKey(); - $xfer += $elem334->read($input); - $this->foreignKeyCols []= $elem334; + $elem325 = null; + $elem325 = new \metastore\SQLForeignKey(); + $xfer += $elem325->read($input); + $this->foreignKeyCols []= $elem325; } $xfer += $input->readListEnd(); } else { @@ -10466,9 +10435,9 @@ class AddForeignKeyRequest { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeyCols)); { - foreach ($this->foreignKeyCols as $iter335) + foreach ($this->foreignKeyCols as $iter326) { - $xfer += $iter335->write($output); + $xfer += $iter326->write($output); } } $output->writeListEnd(); @@ -10533,15 +10502,15 @@ class AddUniqueConstraintRequest { case 1: if ($ftype == TType::LST) { $this->uniqueConstraintCols = array(); - $_size336 = 0; - $_etype339 = 0; - $xfer += $input->readListBegin($_etype339, $_size336); - for ($_i340 = 0; $_i340 < $_size336; ++$_i340) + $_size327 = 0; + $_etype330 = 0; + $xfer += $input->readListBegin($_etype330, $_size327); + for ($_i331 = 0; $_i331 < $_size327; ++$_i331) { - $elem341 = null; - $elem341 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem341->read($input); - $this->uniqueConstraintCols []= $elem341; + $elem332 = null; + $elem332 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem332->read($input); + $this->uniqueConstraintCols []= $elem332; } $xfer += $input->readListEnd(); } else { @@ -10569,9 +10538,9 @@ class AddUniqueConstraintRequest { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraintCols)); { - foreach ($this->uniqueConstraintCols as $iter342) + foreach ($this->uniqueConstraintCols as $iter333) { - $xfer += $iter342->write($output); + $xfer += $iter333->write($output); } } $output->writeListEnd(); @@ -10636,15 +10605,15 @@ class AddNotNullConstraintRequest { case 1: if ($ftype == TType::LST) { $this->notNullConstraintCols = array(); - $_size343 = 0; - $_etype346 = 0; - $xfer += $input->readListBegin($_etype346, $_size343); - for ($_i347 = 0; $_i347 < $_size343; ++$_i347) + $_size334 = 0; + $_etype337 = 0; + $xfer += $input->readListBegin($_etype337, $_size334); + for ($_i338 = 0; $_i338 < $_size334; ++$_i338) { - $elem348 = null; - $elem348 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem348->read($input); - $this->notNullConstraintCols []= $elem348; + $elem339 = null; + $elem339 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem339->read($input); + $this->notNullConstraintCols []= $elem339; } $xfer += $input->readListEnd(); } else { @@ -10672,9 +10641,9 @@ class AddNotNullConstraintRequest { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraintCols)); { - foreach ($this->notNullConstraintCols as $iter349) + foreach ($this->notNullConstraintCols as $iter340) { - $xfer += $iter349->write($output); + $xfer += $iter340->write($output); } } $output->writeListEnd(); @@ -10750,15 +10719,15 @@ class PartitionsByExprResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size350 = 0; - $_etype353 = 0; - $xfer += $input->readListBegin($_etype353, $_size350); - for ($_i354 = 0; $_i354 < $_size350; ++$_i354) + $_size341 = 0; + $_etype344 = 0; + $xfer += $input->readListBegin($_etype344, $_size341); + for ($_i345 = 0; $_i345 < $_size341; ++$_i345) { - $elem355 = null; - $elem355 = new \metastore\Partition(); - $xfer += $elem355->read($input); - $this->partitions []= $elem355; + $elem346 = null; + $elem346 = new \metastore\Partition(); + $xfer += $elem346->read($input); + $this->partitions []= $elem346; } $xfer += $input->readListEnd(); } else { @@ -10793,9 +10762,9 @@ class PartitionsByExprResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter356) + foreach ($this->partitions as $iter347) { - $xfer += $iter356->write($output); + $xfer += $iter347->write($output); } } $output->writeListEnd(); @@ -11032,15 +11001,15 @@ class TableStatsResult { case 1: if ($ftype == TType::LST) { $this->tableStats = array(); - $_size357 = 0; - $_etype360 = 0; - $xfer += $input->readListBegin($_etype360, $_size357); - for ($_i361 = 0; $_i361 < $_size357; ++$_i361) + $_size348 = 0; + $_etype351 = 0; + $xfer += $input->readListBegin($_etype351, $_size348); + for ($_i352 = 0; $_i352 < $_size348; ++$_i352) { - $elem362 = null; - $elem362 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem362->read($input); - $this->tableStats []= $elem362; + $elem353 = null; + $elem353 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem353->read($input); + $this->tableStats []= $elem353; } $xfer += $input->readListEnd(); } else { @@ -11068,9 +11037,9 @@ class TableStatsResult { { $output->writeListBegin(TType::STRUCT, count($this->tableStats)); { - foreach ($this->tableStats as $iter363) + foreach ($this->tableStats as $iter354) { - $xfer += $iter363->write($output); + $xfer += $iter354->write($output); } } $output->writeListEnd(); @@ -11143,28 +11112,28 @@ class PartitionsStatsResult { case 1: if ($ftype == TType::MAP) { $this->partStats = array(); - $_size364 = 0; - $_ktype365 = 0; - $_vtype366 = 0; - $xfer += $input->readMapBegin($_ktype365, $_vtype366, $_size364); - for ($_i368 = 0; $_i368 < $_size364; ++$_i368) + $_size355 = 0; + $_ktype356 = 0; + $_vtype357 = 0; + $xfer += $input->readMapBegin($_ktype356, $_vtype357, $_size355); + for ($_i359 = 0; $_i359 < $_size355; ++$_i359) { - $key369 = ''; - $val370 = array(); - $xfer += $input->readString($key369); - $val370 = array(); - $_size371 = 0; - $_etype374 = 0; - $xfer += $input->readListBegin($_etype374, $_size371); - for ($_i375 = 0; $_i375 < $_size371; ++$_i375) + $key360 = ''; + $val361 = array(); + $xfer += $input->readString($key360); + $val361 = array(); + $_size362 = 0; + $_etype365 = 0; + $xfer += $input->readListBegin($_etype365, $_size362); + for ($_i366 = 0; $_i366 < $_size362; ++$_i366) { - $elem376 = null; - $elem376 = new \metastore\ColumnStatisticsObj(); - $xfer += $elem376->read($input); - $val370 []= $elem376; + $elem367 = null; + $elem367 = new \metastore\ColumnStatisticsObj(); + $xfer += $elem367->read($input); + $val361 []= $elem367; } $xfer += $input->readListEnd(); - $this->partStats[$key369] = $val370; + $this->partStats[$key360] = $val361; } $xfer += $input->readMapEnd(); } else { @@ -11192,15 +11161,15 @@ class PartitionsStatsResult { { $output->writeMapBegin(TType::STRING, TType::LST, count($this->partStats)); { - foreach ($this->partStats as $kiter377 => $viter378) + foreach ($this->partStats as $kiter368 => $viter369) { - $xfer += $output->writeString($kiter377); + $xfer += $output->writeString($kiter368); { - $output->writeListBegin(TType::STRUCT, count($viter378)); + $output->writeListBegin(TType::STRUCT, count($viter369)); { - foreach ($viter378 as $iter379) + foreach ($viter369 as $iter370) { - $xfer += $iter379->write($output); + $xfer += $iter370->write($output); } } $output->writeListEnd(); @@ -11304,14 +11273,14 @@ class TableStatsRequest { case 3: if ($ftype == TType::LST) { $this->colNames = array(); - $_size380 = 0; - $_etype383 = 0; - $xfer += $input->readListBegin($_etype383, $_size380); - for ($_i384 = 0; $_i384 < $_size380; ++$_i384) + $_size371 = 0; + $_etype374 = 0; + $xfer += $input->readListBegin($_etype374, $_size371); + for ($_i375 = 0; $_i375 < $_size371; ++$_i375) { - $elem385 = null; - $xfer += $input->readString($elem385); - $this->colNames []= $elem385; + $elem376 = null; + $xfer += $input->readString($elem376); + $this->colNames []= $elem376; } $xfer += $input->readListEnd(); } else { @@ -11349,9 +11318,9 @@ class TableStatsRequest { { $output->writeListBegin(TType::STRING, count($this->colNames)); { - foreach ($this->colNames as $iter386) + foreach ($this->colNames as $iter377) { - $xfer += $output->writeString($iter386); + $xfer += $output->writeString($iter377); } } $output->writeListEnd(); @@ -11466,14 +11435,14 @@ class PartitionsStatsRequest { case 3: if ($ftype == TType::LST) { $this->colNames = array(); - $_size387 = 0; - $_etype390 = 0; - $xfer += $input->readListBegin($_etype390, $_size387); - for ($_i391 = 0; $_i391 < $_size387; ++$_i391) + $_size378 = 0; + $_etype381 = 0; + $xfer += $input->readListBegin($_etype381, $_size378); + for ($_i382 = 0; $_i382 < $_size378; ++$_i382) { - $elem392 = null; - $xfer += $input->readString($elem392); - $this->colNames []= $elem392; + $elem383 = null; + $xfer += $input->readString($elem383); + $this->colNames []= $elem383; } $xfer += $input->readListEnd(); } else { @@ -11483,14 +11452,14 @@ class PartitionsStatsRequest { case 4: if ($ftype == TType::LST) { $this->partNames = array(); - $_size393 = 0; - $_etype396 = 0; - $xfer += $input->readListBegin($_etype396, $_size393); - for ($_i397 = 0; $_i397 < $_size393; ++$_i397) + $_size384 = 0; + $_etype387 = 0; + $xfer += $input->readListBegin($_etype387, $_size384); + for ($_i388 = 0; $_i388 < $_size384; ++$_i388) { - $elem398 = null; - $xfer += $input->readString($elem398); - $this->partNames []= $elem398; + $elem389 = null; + $xfer += $input->readString($elem389); + $this->partNames []= $elem389; } $xfer += $input->readListEnd(); } else { @@ -11528,9 +11497,9 @@ class PartitionsStatsRequest { { $output->writeListBegin(TType::STRING, count($this->colNames)); { - foreach ($this->colNames as $iter399) + foreach ($this->colNames as $iter390) { - $xfer += $output->writeString($iter399); + $xfer += $output->writeString($iter390); } } $output->writeListEnd(); @@ -11545,9 +11514,9 @@ class PartitionsStatsRequest { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter400) + foreach ($this->partNames as $iter391) { - $xfer += $output->writeString($iter400); + $xfer += $output->writeString($iter391); } } $output->writeListEnd(); @@ -11612,15 +11581,15 @@ class AddPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size401 = 0; - $_etype404 = 0; - $xfer += $input->readListBegin($_etype404, $_size401); - for ($_i405 = 0; $_i405 < $_size401; ++$_i405) + $_size392 = 0; + $_etype395 = 0; + $xfer += $input->readListBegin($_etype395, $_size392); + for ($_i396 = 0; $_i396 < $_size392; ++$_i396) { - $elem406 = null; - $elem406 = new \metastore\Partition(); - $xfer += $elem406->read($input); - $this->partitions []= $elem406; + $elem397 = null; + $elem397 = new \metastore\Partition(); + $xfer += $elem397->read($input); + $this->partitions []= $elem397; } $xfer += $input->readListEnd(); } else { @@ -11648,9 +11617,9 @@ class AddPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter407) + foreach ($this->partitions as $iter398) { - $xfer += $iter407->write($output); + $xfer += $iter398->write($output); } } $output->writeListEnd(); @@ -11773,15 +11742,15 @@ class AddPartitionsRequest { case 3: if ($ftype == TType::LST) { $this->parts = array(); - $_size408 = 0; - $_etype411 = 0; - $xfer += $input->readListBegin($_etype411, $_size408); - for ($_i412 = 0; $_i412 < $_size408; ++$_i412) + $_size399 = 0; + $_etype402 = 0; + $xfer += $input->readListBegin($_etype402, $_size399); + for ($_i403 = 0; $_i403 < $_size399; ++$_i403) { - $elem413 = null; - $elem413 = new \metastore\Partition(); - $xfer += $elem413->read($input); - $this->parts []= $elem413; + $elem404 = null; + $elem404 = new \metastore\Partition(); + $xfer += $elem404->read($input); + $this->parts []= $elem404; } $xfer += $input->readListEnd(); } else { @@ -11833,9 +11802,9 @@ class AddPartitionsRequest { { $output->writeListBegin(TType::STRUCT, count($this->parts)); { - foreach ($this->parts as $iter414) + foreach ($this->parts as $iter405) { - $xfer += $iter414->write($output); + $xfer += $iter405->write($output); } } $output->writeListEnd(); @@ -11910,15 +11879,15 @@ class DropPartitionsResult { case 1: if ($ftype == TType::LST) { $this->partitions = array(); - $_size415 = 0; - $_etype418 = 0; - $xfer += $input->readListBegin($_etype418, $_size415); - for ($_i419 = 0; $_i419 < $_size415; ++$_i419) + $_size406 = 0; + $_etype409 = 0; + $xfer += $input->readListBegin($_etype409, $_size406); + for ($_i410 = 0; $_i410 < $_size406; ++$_i410) { - $elem420 = null; - $elem420 = new \metastore\Partition(); - $xfer += $elem420->read($input); - $this->partitions []= $elem420; + $elem411 = null; + $elem411 = new \metastore\Partition(); + $xfer += $elem411->read($input); + $this->partitions []= $elem411; } $xfer += $input->readListEnd(); } else { @@ -11946,9 +11915,9 @@ class DropPartitionsResult { { $output->writeListBegin(TType::STRUCT, count($this->partitions)); { - foreach ($this->partitions as $iter421) + foreach ($this->partitions as $iter412) { - $xfer += $iter421->write($output); + $xfer += $iter412->write($output); } } $output->writeListEnd(); @@ -12126,14 +12095,14 @@ class RequestPartsSpec { case 1: if ($ftype == TType::LST) { $this->names = array(); - $_size422 = 0; - $_etype425 = 0; - $xfer += $input->readListBegin($_etype425, $_size422); - for ($_i426 = 0; $_i426 < $_size422; ++$_i426) + $_size413 = 0; + $_etype416 = 0; + $xfer += $input->readListBegin($_etype416, $_size413); + for ($_i417 = 0; $_i417 < $_size413; ++$_i417) { - $elem427 = null; - $xfer += $input->readString($elem427); - $this->names []= $elem427; + $elem418 = null; + $xfer += $input->readString($elem418); + $this->names []= $elem418; } $xfer += $input->readListEnd(); } else { @@ -12143,15 +12112,15 @@ class RequestPartsSpec { case 2: if ($ftype == TType::LST) { $this->exprs = array(); - $_size428 = 0; - $_etype431 = 0; - $xfer += $input->readListBegin($_etype431, $_size428); - for ($_i432 = 0; $_i432 < $_size428; ++$_i432) + $_size419 = 0; + $_etype422 = 0; + $xfer += $input->readListBegin($_etype422, $_size419); + for ($_i423 = 0; $_i423 < $_size419; ++$_i423) { - $elem433 = null; - $elem433 = new \metastore\DropPartitionsExpr(); - $xfer += $elem433->read($input); - $this->exprs []= $elem433; + $elem424 = null; + $elem424 = new \metastore\DropPartitionsExpr(); + $xfer += $elem424->read($input); + $this->exprs []= $elem424; } $xfer += $input->readListEnd(); } else { @@ -12179,9 +12148,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter434) + foreach ($this->names as $iter425) { - $xfer += $output->writeString($iter434); + $xfer += $output->writeString($iter425); } } $output->writeListEnd(); @@ -12196,9 +12165,9 @@ class RequestPartsSpec { { $output->writeListBegin(TType::STRUCT, count($this->exprs)); { - foreach ($this->exprs as $iter435) + foreach ($this->exprs as $iter426) { - $xfer += $iter435->write($output); + $xfer += $iter426->write($output); } } $output->writeListEnd(); @@ -12605,15 +12574,15 @@ class PartitionValuesRequest { case 3: if ($ftype == TType::LST) { $this->partitionKeys = array(); - $_size436 = 0; - $_etype439 = 0; - $xfer += $input->readListBegin($_etype439, $_size436); - for ($_i440 = 0; $_i440 < $_size436; ++$_i440) + $_size427 = 0; + $_etype430 = 0; + $xfer += $input->readListBegin($_etype430, $_size427); + for ($_i431 = 0; $_i431 < $_size427; ++$_i431) { - $elem441 = null; - $elem441 = new \metastore\FieldSchema(); - $xfer += $elem441->read($input); - $this->partitionKeys []= $elem441; + $elem432 = null; + $elem432 = new \metastore\FieldSchema(); + $xfer += $elem432->read($input); + $this->partitionKeys []= $elem432; } $xfer += $input->readListEnd(); } else { @@ -12637,15 +12606,15 @@ class PartitionValuesRequest { case 6: if ($ftype == TType::LST) { $this->partitionOrder = array(); - $_size442 = 0; - $_etype445 = 0; - $xfer += $input->readListBegin($_etype445, $_size442); - for ($_i446 = 0; $_i446 < $_size442; ++$_i446) + $_size433 = 0; + $_etype436 = 0; + $xfer += $input->readListBegin($_etype436, $_size433); + for ($_i437 = 0; $_i437 < $_size433; ++$_i437) { - $elem447 = null; - $elem447 = new \metastore\FieldSchema(); - $xfer += $elem447->read($input); - $this->partitionOrder []= $elem447; + $elem438 = null; + $elem438 = new \metastore\FieldSchema(); + $xfer += $elem438->read($input); + $this->partitionOrder []= $elem438; } $xfer += $input->readListEnd(); } else { @@ -12697,9 +12666,9 @@ class PartitionValuesRequest { { $output->writeListBegin(TType::STRUCT, count($this->partitionKeys)); { - foreach ($this->partitionKeys as $iter448) + foreach ($this->partitionKeys as $iter439) { - $xfer += $iter448->write($output); + $xfer += $iter439->write($output); } } $output->writeListEnd(); @@ -12724,9 +12693,9 @@ class PartitionValuesRequest { { $output->writeListBegin(TType::STRUCT, count($this->partitionOrder)); { - foreach ($this->partitionOrder as $iter449) + foreach ($this->partitionOrder as $iter440) { - $xfer += $iter449->write($output); + $xfer += $iter440->write($output); } } $output->writeListEnd(); @@ -12800,14 +12769,14 @@ class PartitionValuesRow { case 1: if ($ftype == TType::LST) { $this->row = array(); - $_size450 = 0; - $_etype453 = 0; - $xfer += $input->readListBegin($_etype453, $_size450); - for ($_i454 = 0; $_i454 < $_size450; ++$_i454) + $_size441 = 0; + $_etype444 = 0; + $xfer += $input->readListBegin($_etype444, $_size441); + for ($_i445 = 0; $_i445 < $_size441; ++$_i445) { - $elem455 = null; - $xfer += $input->readString($elem455); - $this->row []= $elem455; + $elem446 = null; + $xfer += $input->readString($elem446); + $this->row []= $elem446; } $xfer += $input->readListEnd(); } else { @@ -12835,9 +12804,9 @@ class PartitionValuesRow { { $output->writeListBegin(TType::STRING, count($this->row)); { - foreach ($this->row as $iter456) + foreach ($this->row as $iter447) { - $xfer += $output->writeString($iter456); + $xfer += $output->writeString($iter447); } } $output->writeListEnd(); @@ -12902,15 +12871,15 @@ class PartitionValuesResponse { case 1: if ($ftype == TType::LST) { $this->partitionValues = array(); - $_size457 = 0; - $_etype460 = 0; - $xfer += $input->readListBegin($_etype460, $_size457); - for ($_i461 = 0; $_i461 < $_size457; ++$_i461) + $_size448 = 0; + $_etype451 = 0; + $xfer += $input->readListBegin($_etype451, $_size448); + for ($_i452 = 0; $_i452 < $_size448; ++$_i452) { - $elem462 = null; - $elem462 = new \metastore\PartitionValuesRow(); - $xfer += $elem462->read($input); - $this->partitionValues []= $elem462; + $elem453 = null; + $elem453 = new \metastore\PartitionValuesRow(); + $xfer += $elem453->read($input); + $this->partitionValues []= $elem453; } $xfer += $input->readListEnd(); } else { @@ -12938,9 +12907,9 @@ class PartitionValuesResponse { { $output->writeListBegin(TType::STRUCT, count($this->partitionValues)); { - foreach ($this->partitionValues as $iter463) + foreach ($this->partitionValues as $iter454) { - $xfer += $iter463->write($output); + $xfer += $iter454->write($output); } } $output->writeListEnd(); @@ -13229,15 +13198,15 @@ class Function { case 8: if ($ftype == TType::LST) { $this->resourceUris = array(); - $_size464 = 0; - $_etype467 = 0; - $xfer += $input->readListBegin($_etype467, $_size464); - for ($_i468 = 0; $_i468 < $_size464; ++$_i468) + $_size455 = 0; + $_etype458 = 0; + $xfer += $input->readListBegin($_etype458, $_size455); + for ($_i459 = 0; $_i459 < $_size455; ++$_i459) { - $elem469 = null; - $elem469 = new \metastore\ResourceUri(); - $xfer += $elem469->read($input); - $this->resourceUris []= $elem469; + $elem460 = null; + $elem460 = new \metastore\ResourceUri(); + $xfer += $elem460->read($input); + $this->resourceUris []= $elem460; } $xfer += $input->readListEnd(); } else { @@ -13300,9 +13269,9 @@ class Function { { $output->writeListBegin(TType::STRUCT, count($this->resourceUris)); { - foreach ($this->resourceUris as $iter470) + foreach ($this->resourceUris as $iter461) { - $xfer += $iter470->write($output); + $xfer += $iter461->write($output); } } $output->writeListEnd(); @@ -13644,15 +13613,15 @@ class GetOpenTxnsInfoResponse { case 2: if ($ftype == TType::LST) { $this->open_txns = array(); - $_size471 = 0; - $_etype474 = 0; - $xfer += $input->readListBegin($_etype474, $_size471); - for ($_i475 = 0; $_i475 < $_size471; ++$_i475) + $_size462 = 0; + $_etype465 = 0; + $xfer += $input->readListBegin($_etype465, $_size462); + for ($_i466 = 0; $_i466 < $_size462; ++$_i466) { - $elem476 = null; - $elem476 = new \metastore\TxnInfo(); - $xfer += $elem476->read($input); - $this->open_txns []= $elem476; + $elem467 = null; + $elem467 = new \metastore\TxnInfo(); + $xfer += $elem467->read($input); + $this->open_txns []= $elem467; } $xfer += $input->readListEnd(); } else { @@ -13685,9 +13654,9 @@ class GetOpenTxnsInfoResponse { { $output->writeListBegin(TType::STRUCT, count($this->open_txns)); { - foreach ($this->open_txns as $iter477) + foreach ($this->open_txns as $iter468) { - $xfer += $iter477->write($output); + $xfer += $iter468->write($output); } } $output->writeListEnd(); @@ -13791,14 +13760,14 @@ class GetOpenTxnsResponse { case 2: if ($ftype == TType::LST) { $this->open_txns = array(); - $_size478 = 0; - $_etype481 = 0; - $xfer += $input->readListBegin($_etype481, $_size478); - for ($_i482 = 0; $_i482 < $_size478; ++$_i482) + $_size469 = 0; + $_etype472 = 0; + $xfer += $input->readListBegin($_etype472, $_size469); + for ($_i473 = 0; $_i473 < $_size469; ++$_i473) { - $elem483 = null; - $xfer += $input->readI64($elem483); - $this->open_txns []= $elem483; + $elem474 = null; + $xfer += $input->readI64($elem474); + $this->open_txns []= $elem474; } $xfer += $input->readListEnd(); } else { @@ -13845,9 +13814,9 @@ class GetOpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->open_txns)); { - foreach ($this->open_txns as $iter484) + foreach ($this->open_txns as $iter475) { - $xfer += $output->writeI64($iter484); + $xfer += $output->writeI64($iter475); } } $output->writeListEnd(); @@ -14065,14 +14034,14 @@ class OpenTxnsResponse { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size485 = 0; - $_etype488 = 0; - $xfer += $input->readListBegin($_etype488, $_size485); - for ($_i489 = 0; $_i489 < $_size485; ++$_i489) + $_size476 = 0; + $_etype479 = 0; + $xfer += $input->readListBegin($_etype479, $_size476); + for ($_i480 = 0; $_i480 < $_size476; ++$_i480) { - $elem490 = null; - $xfer += $input->readI64($elem490); - $this->txn_ids []= $elem490; + $elem481 = null; + $xfer += $input->readI64($elem481); + $this->txn_ids []= $elem481; } $xfer += $input->readListEnd(); } else { @@ -14100,9 +14069,9 @@ class OpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter491) + foreach ($this->txn_ids as $iter482) { - $xfer += $output->writeI64($iter491); + $xfer += $output->writeI64($iter482); } } $output->writeListEnd(); @@ -14241,14 +14210,14 @@ class AbortTxnsRequest { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size492 = 0; - $_etype495 = 0; - $xfer += $input->readListBegin($_etype495, $_size492); - for ($_i496 = 0; $_i496 < $_size492; ++$_i496) + $_size483 = 0; + $_etype486 = 0; + $xfer += $input->readListBegin($_etype486, $_size483); + for ($_i487 = 0; $_i487 < $_size483; ++$_i487) { - $elem497 = null; - $xfer += $input->readI64($elem497); - $this->txn_ids []= $elem497; + $elem488 = null; + $xfer += $input->readI64($elem488); + $this->txn_ids []= $elem488; } $xfer += $input->readListEnd(); } else { @@ -14276,9 +14245,9 @@ class AbortTxnsRequest { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter498) + foreach ($this->txn_ids as $iter489) { - $xfer += $output->writeI64($iter498); + $xfer += $output->writeI64($iter489); } } $output->writeListEnd(); @@ -14698,15 +14667,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size499 = 0; - $_etype502 = 0; - $xfer += $input->readListBegin($_etype502, $_size499); - for ($_i503 = 0; $_i503 < $_size499; ++$_i503) + $_size490 = 0; + $_etype493 = 0; + $xfer += $input->readListBegin($_etype493, $_size490); + for ($_i494 = 0; $_i494 < $_size490; ++$_i494) { - $elem504 = null; - $elem504 = new \metastore\LockComponent(); - $xfer += $elem504->read($input); - $this->component []= $elem504; + $elem495 = null; + $elem495 = new \metastore\LockComponent(); + $xfer += $elem495->read($input); + $this->component []= $elem495; } $xfer += $input->readListEnd(); } else { @@ -14762,9 +14731,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter505) + foreach ($this->component as $iter496) { - $xfer += $iter505->write($output); + $xfer += $iter496->write($output); } } $output->writeListEnd(); @@ -15707,15 +15676,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size506 = 0; - $_etype509 = 0; - $xfer += $input->readListBegin($_etype509, $_size506); - for ($_i510 = 0; $_i510 < $_size506; ++$_i510) + $_size497 = 0; + $_etype500 = 0; + $xfer += $input->readListBegin($_etype500, $_size497); + for ($_i501 = 0; $_i501 < $_size497; ++$_i501) { - $elem511 = null; - $elem511 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem511->read($input); - $this->locks []= $elem511; + $elem502 = null; + $elem502 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem502->read($input); + $this->locks []= $elem502; } $xfer += $input->readListEnd(); } else { @@ -15743,9 +15712,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter512) + foreach ($this->locks as $iter503) { - $xfer += $iter512->write($output); + $xfer += $iter503->write($output); } } $output->writeListEnd(); @@ -16020,17 +15989,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size513 = 0; - $_etype516 = 0; - $xfer += $input->readSetBegin($_etype516, $_size513); - for ($_i517 = 0; $_i517 < $_size513; ++$_i517) + $_size504 = 0; + $_etype507 = 0; + $xfer += $input->readSetBegin($_etype507, $_size504); + for ($_i508 = 0; $_i508 < $_size504; ++$_i508) { - $elem518 = null; - $xfer += $input->readI64($elem518); - if (is_scalar($elem518)) { - $this->aborted[$elem518] = true; + $elem509 = null; + $xfer += $input->readI64($elem509); + if (is_scalar($elem509)) { + $this->aborted[$elem509] = true; } else { - $this->aborted []= $elem518; + $this->aborted []= $elem509; } } $xfer += $input->readSetEnd(); @@ -16041,17 +16010,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size519 = 0; - $_etype522 = 0; - $xfer += $input->readSetBegin($_etype522, $_size519); - for ($_i523 = 0; $_i523 < $_size519; ++$_i523) + $_size510 = 0; + $_etype513 = 0; + $xfer += $input->readSetBegin($_etype513, $_size510); + for ($_i514 = 0; $_i514 < $_size510; ++$_i514) { - $elem524 = null; - $xfer += $input->readI64($elem524); - if (is_scalar($elem524)) { - $this->nosuch[$elem524] = true; + $elem515 = null; + $xfer += $input->readI64($elem515); + if (is_scalar($elem515)) { + $this->nosuch[$elem515] = true; } else { - $this->nosuch []= $elem524; + $this->nosuch []= $elem515; } } $xfer += $input->readSetEnd(); @@ -16080,12 +16049,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter525 => $iter526) + foreach ($this->aborted as $iter516 => $iter517) { - if (is_scalar($iter526)) { - $xfer += $output->writeI64($iter525); + if (is_scalar($iter517)) { + $xfer += $output->writeI64($iter516); } else { - $xfer += $output->writeI64($iter526); + $xfer += $output->writeI64($iter517); } } } @@ -16101,12 +16070,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter527 => $iter528) + foreach ($this->nosuch as $iter518 => $iter519) { - if (is_scalar($iter528)) { - $xfer += $output->writeI64($iter527); + if (is_scalar($iter519)) { + $xfer += $output->writeI64($iter518); } else { - $xfer += $output->writeI64($iter528); + $xfer += $output->writeI64($iter519); } } } @@ -16265,17 +16234,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size529 = 0; - $_ktype530 = 0; - $_vtype531 = 0; - $xfer += $input->readMapBegin($_ktype530, $_vtype531, $_size529); - for ($_i533 = 0; $_i533 < $_size529; ++$_i533) + $_size520 = 0; + $_ktype521 = 0; + $_vtype522 = 0; + $xfer += $input->readMapBegin($_ktype521, $_vtype522, $_size520); + for ($_i524 = 0; $_i524 < $_size520; ++$_i524) { - $key534 = ''; - $val535 = ''; - $xfer += $input->readString($key534); - $xfer += $input->readString($val535); - $this->properties[$key534] = $val535; + $key525 = ''; + $val526 = ''; + $xfer += $input->readString($key525); + $xfer += $input->readString($val526); + $this->properties[$key525] = $val526; } $xfer += $input->readMapEnd(); } else { @@ -16328,10 +16297,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter536 => $viter537) + foreach ($this->properties as $kiter527 => $viter528) { - $xfer += $output->writeString($kiter536); - $xfer += $output->writeString($viter537); + $xfer += $output->writeString($kiter527); + $xfer += $output->writeString($viter528); } } $output->writeMapEnd(); @@ -16918,15 +16887,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size538 = 0; - $_etype541 = 0; - $xfer += $input->readListBegin($_etype541, $_size538); - for ($_i542 = 0; $_i542 < $_size538; ++$_i542) + $_size529 = 0; + $_etype532 = 0; + $xfer += $input->readListBegin($_etype532, $_size529); + for ($_i533 = 0; $_i533 < $_size529; ++$_i533) { - $elem543 = null; - $elem543 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem543->read($input); - $this->compacts []= $elem543; + $elem534 = null; + $elem534 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem534->read($input); + $this->compacts []= $elem534; } $xfer += $input->readListEnd(); } else { @@ -16954,9 +16923,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter544) + foreach ($this->compacts as $iter535) { - $xfer += $iter544->write($output); + $xfer += $iter535->write($output); } } $output->writeListEnd(); @@ -17085,14 +17054,14 @@ class AddDynamicPartitions { case 4: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size545 = 0; - $_etype548 = 0; - $xfer += $input->readListBegin($_etype548, $_size545); - for ($_i549 = 0; $_i549 < $_size545; ++$_i549) + $_size536 = 0; + $_etype539 = 0; + $xfer += $input->readListBegin($_etype539, $_size536); + for ($_i540 = 0; $_i540 < $_size536; ++$_i540) { - $elem550 = null; - $xfer += $input->readString($elem550); - $this->partitionnames []= $elem550; + $elem541 = null; + $xfer += $input->readString($elem541); + $this->partitionnames []= $elem541; } $xfer += $input->readListEnd(); } else { @@ -17142,9 +17111,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter551) + foreach ($this->partitionnames as $iter542) { - $xfer += $output->writeString($iter551); + $xfer += $output->writeString($iter542); } } $output->writeListEnd(); @@ -17170,10 +17139,6 @@ class BasicTxnInfo { * @var bool */ public $isnull = null; - /** - * @var int - */ - public $id = null; /** * @var int */ @@ -17203,26 +17168,22 @@ class BasicTxnInfo { 'type' => TType::BOOL, ), 2 => array( - 'var' => 'id', - 'type' => TType::I64, - ), - 3 => array( 'var' => 'time', 'type' => TType::I64, ), - 4 => array( + 3 => array( 'var' => 'txnid', 'type' => TType::I64, ), - 5 => array( + 4 => array( 'var' => 'dbname', 'type' => TType::STRING, ), - 6 => array( + 5 => array( 'var' => 'tablename', 'type' => TType::STRING, ), - 7 => array( + 6 => array( 'var' => 'partitionname', 'type' => TType::STRING, ), @@ -17232,9 +17193,6 @@ class BasicTxnInfo { if (isset($vals['isnull'])) { $this->isnull = $vals['isnull']; } - if (isset($vals['id'])) { - $this->id = $vals['id']; - } if (isset($vals['time'])) { $this->time = $vals['time']; } @@ -17280,41 +17238,34 @@ class BasicTxnInfo { } break; case 2: - if ($ftype == TType::I64) { - $xfer += $input->readI64($this->id); - } else { - $xfer += $input->skip($ftype); - } - break; - case 3: if ($ftype == TType::I64) { $xfer += $input->readI64($this->time); } else { $xfer += $input->skip($ftype); } break; - case 4: + case 3: if ($ftype == TType::I64) { $xfer += $input->readI64($this->txnid); } else { $xfer += $input->skip($ftype); } break; - case 5: + case 4: if ($ftype == TType::STRING) { $xfer += $input->readString($this->dbname); } else { $xfer += $input->skip($ftype); } break; - case 6: + case 5: if ($ftype == TType::STRING) { $xfer += $input->readString($this->tablename); } else { $xfer += $input->skip($ftype); } break; - case 7: + case 6: if ($ftype == TType::STRING) { $xfer += $input->readString($this->partitionname); } else { @@ -17339,33 +17290,28 @@ class BasicTxnInfo { $xfer += $output->writeBool($this->isnull); $xfer += $output->writeFieldEnd(); } - if ($this->id !== null) { - $xfer += $output->writeFieldBegin('id', TType::I64, 2); - $xfer += $output->writeI64($this->id); - $xfer += $output->writeFieldEnd(); - } if ($this->time !== null) { - $xfer += $output->writeFieldBegin('time', TType::I64, 3); + $xfer += $output->writeFieldBegin('time', TType::I64, 2); $xfer += $output->writeI64($this->time); $xfer += $output->writeFieldEnd(); } if ($this->txnid !== null) { - $xfer += $output->writeFieldBegin('txnid', TType::I64, 4); + $xfer += $output->writeFieldBegin('txnid', TType::I64, 3); $xfer += $output->writeI64($this->txnid); $xfer += $output->writeFieldEnd(); } if ($this->dbname !== null) { - $xfer += $output->writeFieldBegin('dbname', TType::STRING, 5); + $xfer += $output->writeFieldBegin('dbname', TType::STRING, 4); $xfer += $output->writeString($this->dbname); $xfer += $output->writeFieldEnd(); } if ($this->tablename !== null) { - $xfer += $output->writeFieldBegin('tablename', TType::STRING, 6); + $xfer += $output->writeFieldBegin('tablename', TType::STRING, 5); $xfer += $output->writeString($this->tablename); $xfer += $output->writeFieldEnd(); } if ($this->partitionname !== null) { - $xfer += $output->writeFieldBegin('partitionname', TType::STRING, 7); + $xfer += $output->writeFieldBegin('partitionname', TType::STRING, 6); $xfer += $output->writeString($this->partitionname); $xfer += $output->writeFieldEnd(); } @@ -17376,47 +17322,69 @@ class BasicTxnInfo { } -class TxnsSnapshot { +class CreationMetadata { static $_TSPEC; /** - * @var int + * @var string */ - public $txn_high_water_mark = null; + public $dbName = null; /** - * @var int[] + * @var string */ - public $open_txns = null; + public $tblName = null; + /** + * @var string[] + */ + public $tablesUsed = null; + /** + * @var string + */ + public $validTxnList = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { self::$_TSPEC = array( 1 => array( - 'var' => 'txn_high_water_mark', - 'type' => TType::I64, + 'var' => 'dbName', + 'type' => TType::STRING, ), 2 => array( - 'var' => 'open_txns', - 'type' => TType::LST, - 'etype' => TType::I64, + 'var' => 'tblName', + 'type' => TType::STRING, + ), + 3 => array( + 'var' => 'tablesUsed', + 'type' => TType::SET, + 'etype' => TType::STRING, 'elem' => array( - 'type' => TType::I64, + 'type' => TType::STRING, ), ), + 4 => array( + 'var' => 'validTxnList', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { - if (isset($vals['txn_high_water_mark'])) { - $this->txn_high_water_mark = $vals['txn_high_water_mark']; + if (isset($vals['dbName'])) { + $this->dbName = $vals['dbName']; } - if (isset($vals['open_txns'])) { - $this->open_txns = $vals['open_txns']; + if (isset($vals['tblName'])) { + $this->tblName = $vals['tblName']; + } + if (isset($vals['tablesUsed'])) { + $this->tablesUsed = $vals['tablesUsed']; + } + if (isset($vals['validTxnList'])) { + $this->validTxnList = $vals['validTxnList']; } } } public function getName() { - return 'TxnsSnapshot'; + return 'CreationMetadata'; } public function read($input) @@ -17435,25 +17403,43 @@ class TxnsSnapshot { switch ($fid) { case 1: - if ($ftype == TType::I64) { - $xfer += $input->readI64($this->txn_high_water_mark); + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->dbName); } else { $xfer += $input->skip($ftype); } break; case 2: - if ($ftype == TType::LST) { - $this->open_txns = array(); - $_size552 = 0; - $_etype555 = 0; - $xfer += $input->readListBegin($_etype555, $_size552); - for ($_i556 = 0; $_i556 < $_size552; ++$_i556) + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->tblName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::SET) { + $this->tablesUsed = array(); + $_size543 = 0; + $_etype546 = 0; + $xfer += $input->readSetBegin($_etype546, $_size543); + for ($_i547 = 0; $_i547 < $_size543; ++$_i547) { - $elem557 = null; - $xfer += $input->readI64($elem557); - $this->open_txns []= $elem557; + $elem548 = null; + $xfer += $input->readString($elem548); + if (is_scalar($elem548)) { + $this->tablesUsed[$elem548] = true; + } else { + $this->tablesUsed []= $elem548; + } } - $xfer += $input->readListEnd(); + $xfer += $input->readSetEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->validTxnList); } else { $xfer += $input->skip($ftype); } @@ -17470,29 +17456,43 @@ class TxnsSnapshot { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('TxnsSnapshot'); - if ($this->txn_high_water_mark !== null) { - $xfer += $output->writeFieldBegin('txn_high_water_mark', TType::I64, 1); - $xfer += $output->writeI64($this->txn_high_water_mark); + $xfer += $output->writeStructBegin('CreationMetadata'); + if ($this->dbName !== null) { + $xfer += $output->writeFieldBegin('dbName', TType::STRING, 1); + $xfer += $output->writeString($this->dbName); $xfer += $output->writeFieldEnd(); } - if ($this->open_txns !== null) { - if (!is_array($this->open_txns)) { + if ($this->tblName !== null) { + $xfer += $output->writeFieldBegin('tblName', TType::STRING, 2); + $xfer += $output->writeString($this->tblName); + $xfer += $output->writeFieldEnd(); + } + if ($this->tablesUsed !== null) { + if (!is_array($this->tablesUsed)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); } - $xfer += $output->writeFieldBegin('open_txns', TType::LST, 2); + $xfer += $output->writeFieldBegin('tablesUsed', TType::SET, 3); { - $output->writeListBegin(TType::I64, count($this->open_txns)); + $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->open_txns as $iter558) + foreach ($this->tablesUsed as $iter549 => $iter550) { - $xfer += $output->writeI64($iter558); + if (is_scalar($iter550)) { + $xfer += $output->writeString($iter549); + } else { + $xfer += $output->writeString($iter550); + } } } - $output->writeListEnd(); + $output->writeSetEnd(); } $xfer += $output->writeFieldEnd(); } + if ($this->validTxnList !== null) { + $xfer += $output->writeFieldBegin('validTxnList', TType::STRING, 4); + $xfer += $output->writeString($this->validTxnList); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -17862,15 +17862,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size559 = 0; - $_etype562 = 0; - $xfer += $input->readListBegin($_etype562, $_size559); - for ($_i563 = 0; $_i563 < $_size559; ++$_i563) + $_size551 = 0; + $_etype554 = 0; + $xfer += $input->readListBegin($_etype554, $_size551); + for ($_i555 = 0; $_i555 < $_size551; ++$_i555) { - $elem564 = null; - $elem564 = new \metastore\NotificationEvent(); - $xfer += $elem564->read($input); - $this->events []= $elem564; + $elem556 = null; + $elem556 = new \metastore\NotificationEvent(); + $xfer += $elem556->read($input); + $this->events []= $elem556; } $xfer += $input->readListEnd(); } else { @@ -17898,9 +17898,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter565) + foreach ($this->events as $iter557) { - $xfer += $iter565->write($output); + $xfer += $iter557->write($output); } } $output->writeListEnd(); @@ -18245,14 +18245,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size566 = 0; - $_etype569 = 0; - $xfer += $input->readListBegin($_etype569, $_size566); - for ($_i570 = 0; $_i570 < $_size566; ++$_i570) + $_size558 = 0; + $_etype561 = 0; + $xfer += $input->readListBegin($_etype561, $_size558); + for ($_i562 = 0; $_i562 < $_size558; ++$_i562) { - $elem571 = null; - $xfer += $input->readString($elem571); - $this->filesAdded []= $elem571; + $elem563 = null; + $xfer += $input->readString($elem563); + $this->filesAdded []= $elem563; } $xfer += $input->readListEnd(); } else { @@ -18262,14 +18262,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size572 = 0; - $_etype575 = 0; - $xfer += $input->readListBegin($_etype575, $_size572); - for ($_i576 = 0; $_i576 < $_size572; ++$_i576) + $_size564 = 0; + $_etype567 = 0; + $xfer += $input->readListBegin($_etype567, $_size564); + for ($_i568 = 0; $_i568 < $_size564; ++$_i568) { - $elem577 = null; - $xfer += $input->readString($elem577); - $this->filesAddedChecksum []= $elem577; + $elem569 = null; + $xfer += $input->readString($elem569); + $this->filesAddedChecksum []= $elem569; } $xfer += $input->readListEnd(); } else { @@ -18302,9 +18302,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter578) + foreach ($this->filesAdded as $iter570) { - $xfer += $output->writeString($iter578); + $xfer += $output->writeString($iter570); } } $output->writeListEnd(); @@ -18319,9 +18319,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter579) + foreach ($this->filesAddedChecksum as $iter571) { - $xfer += $output->writeString($iter579); + $xfer += $output->writeString($iter571); } } $output->writeListEnd(); @@ -18539,14 +18539,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size580 = 0; - $_etype583 = 0; - $xfer += $input->readListBegin($_etype583, $_size580); - for ($_i584 = 0; $_i584 < $_size580; ++$_i584) + $_size572 = 0; + $_etype575 = 0; + $xfer += $input->readListBegin($_etype575, $_size572); + for ($_i576 = 0; $_i576 < $_size572; ++$_i576) { - $elem585 = null; - $xfer += $input->readString($elem585); - $this->partitionVals []= $elem585; + $elem577 = null; + $xfer += $input->readString($elem577); + $this->partitionVals []= $elem577; } $xfer += $input->readListEnd(); } else { @@ -18597,9 +18597,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter586) + foreach ($this->partitionVals as $iter578) { - $xfer += $output->writeString($iter586); + $xfer += $output->writeString($iter578); } } $output->writeListEnd(); @@ -18827,18 +18827,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size587 = 0; - $_ktype588 = 0; - $_vtype589 = 0; - $xfer += $input->readMapBegin($_ktype588, $_vtype589, $_size587); - for ($_i591 = 0; $_i591 < $_size587; ++$_i591) + $_size579 = 0; + $_ktype580 = 0; + $_vtype581 = 0; + $xfer += $input->readMapBegin($_ktype580, $_vtype581, $_size579); + for ($_i583 = 0; $_i583 < $_size579; ++$_i583) { - $key592 = 0; - $val593 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key592); - $val593 = new \metastore\MetadataPpdResult(); - $xfer += $val593->read($input); - $this->metadata[$key592] = $val593; + $key584 = 0; + $val585 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key584); + $val585 = new \metastore\MetadataPpdResult(); + $xfer += $val585->read($input); + $this->metadata[$key584] = $val585; } $xfer += $input->readMapEnd(); } else { @@ -18873,10 +18873,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter594 => $viter595) + foreach ($this->metadata as $kiter586 => $viter587) { - $xfer += $output->writeI64($kiter594); - $xfer += $viter595->write($output); + $xfer += $output->writeI64($kiter586); + $xfer += $viter587->write($output); } } $output->writeMapEnd(); @@ -18978,14 +18978,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size596 = 0; - $_etype599 = 0; - $xfer += $input->readListBegin($_etype599, $_size596); - for ($_i600 = 0; $_i600 < $_size596; ++$_i600) + $_size588 = 0; + $_etype591 = 0; + $xfer += $input->readListBegin($_etype591, $_size588); + for ($_i592 = 0; $_i592 < $_size588; ++$_i592) { - $elem601 = null; - $xfer += $input->readI64($elem601); - $this->fileIds []= $elem601; + $elem593 = null; + $xfer += $input->readI64($elem593); + $this->fileIds []= $elem593; } $xfer += $input->readListEnd(); } else { @@ -19034,9 +19034,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter602) + foreach ($this->fileIds as $iter594) { - $xfer += $output->writeI64($iter602); + $xfer += $output->writeI64($iter594); } } $output->writeListEnd(); @@ -19130,17 +19130,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size603 = 0; - $_ktype604 = 0; - $_vtype605 = 0; - $xfer += $input->readMapBegin($_ktype604, $_vtype605, $_size603); - for ($_i607 = 0; $_i607 < $_size603; ++$_i607) + $_size595 = 0; + $_ktype596 = 0; + $_vtype597 = 0; + $xfer += $input->readMapBegin($_ktype596, $_vtype597, $_size595); + for ($_i599 = 0; $_i599 < $_size595; ++$_i599) { - $key608 = 0; - $val609 = ''; - $xfer += $input->readI64($key608); - $xfer += $input->readString($val609); - $this->metadata[$key608] = $val609; + $key600 = 0; + $val601 = ''; + $xfer += $input->readI64($key600); + $xfer += $input->readString($val601); + $this->metadata[$key600] = $val601; } $xfer += $input->readMapEnd(); } else { @@ -19175,10 +19175,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter610 => $viter611) + foreach ($this->metadata as $kiter602 => $viter603) { - $xfer += $output->writeI64($kiter610); - $xfer += $output->writeString($viter611); + $xfer += $output->writeI64($kiter602); + $xfer += $output->writeString($viter603); } } $output->writeMapEnd(); @@ -19247,14 +19247,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size612 = 0; - $_etype615 = 0; - $xfer += $input->readListBegin($_etype615, $_size612); - for ($_i616 = 0; $_i616 < $_size612; ++$_i616) + $_size604 = 0; + $_etype607 = 0; + $xfer += $input->readListBegin($_etype607, $_size604); + for ($_i608 = 0; $_i608 < $_size604; ++$_i608) { - $elem617 = null; - $xfer += $input->readI64($elem617); - $this->fileIds []= $elem617; + $elem609 = null; + $xfer += $input->readI64($elem609); + $this->fileIds []= $elem609; } $xfer += $input->readListEnd(); } else { @@ -19282,9 +19282,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter618) + foreach ($this->fileIds as $iter610) { - $xfer += $output->writeI64($iter618); + $xfer += $output->writeI64($iter610); } } $output->writeListEnd(); @@ -19424,14 +19424,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size619 = 0; - $_etype622 = 0; - $xfer += $input->readListBegin($_etype622, $_size619); - for ($_i623 = 0; $_i623 < $_size619; ++$_i623) + $_size611 = 0; + $_etype614 = 0; + $xfer += $input->readListBegin($_etype614, $_size611); + for ($_i615 = 0; $_i615 < $_size611; ++$_i615) { - $elem624 = null; - $xfer += $input->readI64($elem624); - $this->fileIds []= $elem624; + $elem616 = null; + $xfer += $input->readI64($elem616); + $this->fileIds []= $elem616; } $xfer += $input->readListEnd(); } else { @@ -19441,14 +19441,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size625 = 0; - $_etype628 = 0; - $xfer += $input->readListBegin($_etype628, $_size625); - for ($_i629 = 0; $_i629 < $_size625; ++$_i629) + $_size617 = 0; + $_etype620 = 0; + $xfer += $input->readListBegin($_etype620, $_size617); + for ($_i621 = 0; $_i621 < $_size617; ++$_i621) { - $elem630 = null; - $xfer += $input->readString($elem630); - $this->metadata []= $elem630; + $elem622 = null; + $xfer += $input->readString($elem622); + $this->metadata []= $elem622; } $xfer += $input->readListEnd(); } else { @@ -19483,9 +19483,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter631) + foreach ($this->fileIds as $iter623) { - $xfer += $output->writeI64($iter631); + $xfer += $output->writeI64($iter623); } } $output->writeListEnd(); @@ -19500,9 +19500,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter632) + foreach ($this->metadata as $iter624) { - $xfer += $output->writeString($iter632); + $xfer += $output->writeString($iter624); } } $output->writeListEnd(); @@ -19621,14 +19621,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size633 = 0; - $_etype636 = 0; - $xfer += $input->readListBegin($_etype636, $_size633); - for ($_i637 = 0; $_i637 < $_size633; ++$_i637) + $_size625 = 0; + $_etype628 = 0; + $xfer += $input->readListBegin($_etype628, $_size625); + for ($_i629 = 0; $_i629 < $_size625; ++$_i629) { - $elem638 = null; - $xfer += $input->readI64($elem638); - $this->fileIds []= $elem638; + $elem630 = null; + $xfer += $input->readI64($elem630); + $this->fileIds []= $elem630; } $xfer += $input->readListEnd(); } else { @@ -19656,9 +19656,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter639) + foreach ($this->fileIds as $iter631) { - $xfer += $output->writeI64($iter639); + $xfer += $output->writeI64($iter631); } } $output->writeListEnd(); @@ -19942,15 +19942,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size640 = 0; - $_etype643 = 0; - $xfer += $input->readListBegin($_etype643, $_size640); - for ($_i644 = 0; $_i644 < $_size640; ++$_i644) + $_size632 = 0; + $_etype635 = 0; + $xfer += $input->readListBegin($_etype635, $_size632); + for ($_i636 = 0; $_i636 < $_size632; ++$_i636) { - $elem645 = null; - $elem645 = new \metastore\Function(); - $xfer += $elem645->read($input); - $this->functions []= $elem645; + $elem637 = null; + $elem637 = new \metastore\Function(); + $xfer += $elem637->read($input); + $this->functions []= $elem637; } $xfer += $input->readListEnd(); } else { @@ -19978,9 +19978,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter646) + foreach ($this->functions as $iter638) { - $xfer += $iter646->write($output); + $xfer += $iter638->write($output); } } $output->writeListEnd(); @@ -20044,14 +20044,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size647 = 0; - $_etype650 = 0; - $xfer += $input->readListBegin($_etype650, $_size647); - for ($_i651 = 0; $_i651 < $_size647; ++$_i651) + $_size639 = 0; + $_etype642 = 0; + $xfer += $input->readListBegin($_etype642, $_size639); + for ($_i643 = 0; $_i643 < $_size639; ++$_i643) { - $elem652 = null; - $xfer += $input->readI32($elem652); - $this->values []= $elem652; + $elem644 = null; + $xfer += $input->readI32($elem644); + $this->values []= $elem644; } $xfer += $input->readListEnd(); } else { @@ -20079,9 +20079,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter653) + foreach ($this->values as $iter645) { - $xfer += $output->writeI32($iter653); + $xfer += $output->writeI32($iter645); } } $output->writeListEnd(); @@ -20381,14 +20381,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = array(); - $_size654 = 0; - $_etype657 = 0; - $xfer += $input->readListBegin($_etype657, $_size654); - for ($_i658 = 0; $_i658 < $_size654; ++$_i658) + $_size646 = 0; + $_etype649 = 0; + $xfer += $input->readListBegin($_etype649, $_size646); + for ($_i650 = 0; $_i650 < $_size646; ++$_i650) { - $elem659 = null; - $xfer += $input->readString($elem659); - $this->tblNames []= $elem659; + $elem651 = null; + $xfer += $input->readString($elem651); + $this->tblNames []= $elem651; } $xfer += $input->readListEnd(); } else { @@ -20429,9 +20429,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter660) + foreach ($this->tblNames as $iter652) { - $xfer += $output->writeString($iter660); + $xfer += $output->writeString($iter652); } } $output->writeListEnd(); @@ -20504,15 +20504,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size661 = 0; - $_etype664 = 0; - $xfer += $input->readListBegin($_etype664, $_size661); - for ($_i665 = 0; $_i665 < $_size661; ++$_i665) + $_size653 = 0; + $_etype656 = 0; + $xfer += $input->readListBegin($_etype656, $_size653); + for ($_i657 = 0; $_i657 < $_size653; ++$_i657) { - $elem666 = null; - $elem666 = new \metastore\Table(); - $xfer += $elem666->read($input); - $this->tables []= $elem666; + $elem658 = null; + $elem658 = new \metastore\Table(); + $xfer += $elem658->read($input); + $this->tables []= $elem658; } $xfer += $input->readListEnd(); } else { @@ -20540,9 +20540,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter667) + foreach ($this->tables as $iter659) { - $xfer += $iter667->write($output); + $xfer += $iter659->write($output); } } $output->writeListEnd(); @@ -20929,17 +20929,17 @@ class Materialization { case 2: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size668 = 0; - $_etype671 = 0; - $xfer += $input->readSetBegin($_etype671, $_size668); - for ($_i672 = 0; $_i672 < $_size668; ++$_i672) + $_size660 = 0; + $_etype663 = 0; + $xfer += $input->readSetBegin($_etype663, $_size660); + for ($_i664 = 0; $_i664 < $_size660; ++$_i664) { - $elem673 = null; - $xfer += $input->readString($elem673); - if (is_scalar($elem673)) { - $this->tablesUsed[$elem673] = true; + $elem665 = null; + $xfer += $input->readString($elem665); + if (is_scalar($elem665)) { + $this->tablesUsed[$elem665] = true; } else { - $this->tablesUsed []= $elem673; + $this->tablesUsed []= $elem665; } } $xfer += $input->readSetEnd(); @@ -20983,12 +20983,12 @@ class Materialization { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter674 => $iter675) + foreach ($this->tablesUsed as $iter666 => $iter667) { - if (is_scalar($iter675)) { - $xfer += $output->writeString($iter674); + if (is_scalar($iter667)) { + $xfer += $output->writeString($iter666); } else { - $xfer += $output->writeString($iter675); + $xfer += $output->writeString($iter667); } } } @@ -22250,15 +22250,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size676 = 0; - $_etype679 = 0; - $xfer += $input->readListBegin($_etype679, $_size676); - for ($_i680 = 0; $_i680 < $_size676; ++$_i680) + $_size668 = 0; + $_etype671 = 0; + $xfer += $input->readListBegin($_etype671, $_size668); + for ($_i672 = 0; $_i672 < $_size668; ++$_i672) { - $elem681 = null; - $elem681 = new \metastore\WMPool(); - $xfer += $elem681->read($input); - $this->pools []= $elem681; + $elem673 = null; + $elem673 = new \metastore\WMPool(); + $xfer += $elem673->read($input); + $this->pools []= $elem673; } $xfer += $input->readListEnd(); } else { @@ -22268,15 +22268,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size682 = 0; - $_etype685 = 0; - $xfer += $input->readListBegin($_etype685, $_size682); - for ($_i686 = 0; $_i686 < $_size682; ++$_i686) + $_size674 = 0; + $_etype677 = 0; + $xfer += $input->readListBegin($_etype677, $_size674); + for ($_i678 = 0; $_i678 < $_size674; ++$_i678) { - $elem687 = null; - $elem687 = new \metastore\WMMapping(); - $xfer += $elem687->read($input); - $this->mappings []= $elem687; + $elem679 = null; + $elem679 = new \metastore\WMMapping(); + $xfer += $elem679->read($input); + $this->mappings []= $elem679; } $xfer += $input->readListEnd(); } else { @@ -22286,15 +22286,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size688 = 0; - $_etype691 = 0; - $xfer += $input->readListBegin($_etype691, $_size688); - for ($_i692 = 0; $_i692 < $_size688; ++$_i692) + $_size680 = 0; + $_etype683 = 0; + $xfer += $input->readListBegin($_etype683, $_size680); + for ($_i684 = 0; $_i684 < $_size680; ++$_i684) { - $elem693 = null; - $elem693 = new \metastore\WMTrigger(); - $xfer += $elem693->read($input); - $this->triggers []= $elem693; + $elem685 = null; + $elem685 = new \metastore\WMTrigger(); + $xfer += $elem685->read($input); + $this->triggers []= $elem685; } $xfer += $input->readListEnd(); } else { @@ -22304,15 +22304,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size694 = 0; - $_etype697 = 0; - $xfer += $input->readListBegin($_etype697, $_size694); - for ($_i698 = 0; $_i698 < $_size694; ++$_i698) + $_size686 = 0; + $_etype689 = 0; + $xfer += $input->readListBegin($_etype689, $_size686); + for ($_i690 = 0; $_i690 < $_size686; ++$_i690) { - $elem699 = null; - $elem699 = new \metastore\WMPoolTrigger(); - $xfer += $elem699->read($input); - $this->poolTriggers []= $elem699; + $elem691 = null; + $elem691 = new \metastore\WMPoolTrigger(); + $xfer += $elem691->read($input); + $this->poolTriggers []= $elem691; } $xfer += $input->readListEnd(); } else { @@ -22348,9 +22348,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter700) + foreach ($this->pools as $iter692) { - $xfer += $iter700->write($output); + $xfer += $iter692->write($output); } } $output->writeListEnd(); @@ -22365,9 +22365,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter701) + foreach ($this->mappings as $iter693) { - $xfer += $iter701->write($output); + $xfer += $iter693->write($output); } } $output->writeListEnd(); @@ -22382,9 +22382,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter702) + foreach ($this->triggers as $iter694) { - $xfer += $iter702->write($output); + $xfer += $iter694->write($output); } } $output->writeListEnd(); @@ -22399,9 +22399,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter703) + foreach ($this->poolTriggers as $iter695) { - $xfer += $iter703->write($output); + $xfer += $iter695->write($output); } } $output->writeListEnd(); @@ -22954,15 +22954,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size704 = 0; - $_etype707 = 0; - $xfer += $input->readListBegin($_etype707, $_size704); - for ($_i708 = 0; $_i708 < $_size704; ++$_i708) + $_size696 = 0; + $_etype699 = 0; + $xfer += $input->readListBegin($_etype699, $_size696); + for ($_i700 = 0; $_i700 < $_size696; ++$_i700) { - $elem709 = null; - $elem709 = new \metastore\WMResourcePlan(); - $xfer += $elem709->read($input); - $this->resourcePlans []= $elem709; + $elem701 = null; + $elem701 = new \metastore\WMResourcePlan(); + $xfer += $elem701->read($input); + $this->resourcePlans []= $elem701; } $xfer += $input->readListEnd(); } else { @@ -22990,9 +22990,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter710) + foreach ($this->resourcePlans as $iter702) { - $xfer += $iter710->write($output); + $xfer += $iter702->write($output); } } $output->writeListEnd(); @@ -23398,14 +23398,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size711 = 0; - $_etype714 = 0; - $xfer += $input->readListBegin($_etype714, $_size711); - for ($_i715 = 0; $_i715 < $_size711; ++$_i715) + $_size703 = 0; + $_etype706 = 0; + $xfer += $input->readListBegin($_etype706, $_size703); + for ($_i707 = 0; $_i707 < $_size703; ++$_i707) { - $elem716 = null; - $xfer += $input->readString($elem716); - $this->errors []= $elem716; + $elem708 = null; + $xfer += $input->readString($elem708); + $this->errors []= $elem708; } $xfer += $input->readListEnd(); } else { @@ -23415,14 +23415,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size717 = 0; - $_etype720 = 0; - $xfer += $input->readListBegin($_etype720, $_size717); - for ($_i721 = 0; $_i721 < $_size717; ++$_i721) + $_size709 = 0; + $_etype712 = 0; + $xfer += $input->readListBegin($_etype712, $_size709); + for ($_i713 = 0; $_i713 < $_size709; ++$_i713) { - $elem722 = null; - $xfer += $input->readString($elem722); - $this->warnings []= $elem722; + $elem714 = null; + $xfer += $input->readString($elem714); + $this->warnings []= $elem714; } $xfer += $input->readListEnd(); } else { @@ -23450,9 +23450,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter723) + foreach ($this->errors as $iter715) { - $xfer += $output->writeString($iter723); + $xfer += $output->writeString($iter715); } } $output->writeListEnd(); @@ -23467,9 +23467,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter724) + foreach ($this->warnings as $iter716) { - $xfer += $output->writeString($iter724); + $xfer += $output->writeString($iter716); } } $output->writeListEnd(); @@ -24142,15 +24142,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size725 = 0; - $_etype728 = 0; - $xfer += $input->readListBegin($_etype728, $_size725); - for ($_i729 = 0; $_i729 < $_size725; ++$_i729) + $_size717 = 0; + $_etype720 = 0; + $xfer += $input->readListBegin($_etype720, $_size717); + for ($_i721 = 0; $_i721 < $_size717; ++$_i721) { - $elem730 = null; - $elem730 = new \metastore\WMTrigger(); - $xfer += $elem730->read($input); - $this->triggers []= $elem730; + $elem722 = null; + $elem722 = new \metastore\WMTrigger(); + $xfer += $elem722->read($input); + $this->triggers []= $elem722; } $xfer += $input->readListEnd(); } else { @@ -24178,9 +24178,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter731) + foreach ($this->triggers as $iter723) { - $xfer += $iter731->write($output); + $xfer += $iter723->write($output); } } $output->writeListEnd(); diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote index a8fcea6380..9b2aaffd0f 100755 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote @@ -176,8 +176,6 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' CompactionResponse compact2(CompactionRequest rqst)') print(' ShowCompactResponse show_compact(ShowCompactRequest rqst)') print(' void add_dynamic_partitions(AddDynamicPartitions rqst)') - print(' get_last_completed_transaction_for_tables( db_names, table_names, TxnsSnapshot txns_snapshot)') - print(' BasicTxnInfo get_last_completed_transaction_for_table(string db_name, string table_name, TxnsSnapshot txns_snapshot)') print(' NotificationEventResponse get_next_notification(NotificationEventRequest rqst)') print(' CurrentNotificationEventId get_current_notificationEventId()') print(' NotificationEventsCountResponse get_notification_events_count(NotificationEventsCountRequest rqst)') @@ -1188,18 +1186,6 @@ elif cmd == 'add_dynamic_partitions': sys.exit(1) pp.pprint(client.add_dynamic_partitions(eval(args[0]),)) -elif cmd == 'get_last_completed_transaction_for_tables': - if len(args) != 3: - print('get_last_completed_transaction_for_tables requires 3 args') - sys.exit(1) - pp.pprint(client.get_last_completed_transaction_for_tables(eval(args[0]),eval(args[1]),eval(args[2]),)) - -elif cmd == 'get_last_completed_transaction_for_table': - if len(args) != 3: - print('get_last_completed_transaction_for_table requires 3 args') - sys.exit(1) - pp.pprint(client.get_last_completed_transaction_for_table(args[0],args[1],eval(args[2]),)) - elif cmd == 'get_next_notification': if len(args) != 1: print('get_next_notification requires 1 args') diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py index 988c01a06b..2e1910568a 100644 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py @@ -1236,24 +1236,6 @@ def add_dynamic_partitions(self, rqst): """ pass - def get_last_completed_transaction_for_tables(self, db_names, table_names, txns_snapshot): - """ - Parameters: - - db_names - - table_names - - txns_snapshot - """ - pass - - def get_last_completed_transaction_for_table(self, db_name, table_name, txns_snapshot): - """ - Parameters: - - db_name - - table_name - - txns_snapshot - """ - pass - def get_next_notification(self, rqst): """ Parameters: @@ -6992,76 +6974,6 @@ def recv_add_dynamic_partitions(self): raise result.o2 return - def get_last_completed_transaction_for_tables(self, db_names, table_names, txns_snapshot): - """ - Parameters: - - db_names - - table_names - - txns_snapshot - """ - self.send_get_last_completed_transaction_for_tables(db_names, table_names, txns_snapshot) - return self.recv_get_last_completed_transaction_for_tables() - - def send_get_last_completed_transaction_for_tables(self, db_names, table_names, txns_snapshot): - self._oprot.writeMessageBegin('get_last_completed_transaction_for_tables', TMessageType.CALL, self._seqid) - args = get_last_completed_transaction_for_tables_args() - args.db_names = db_names - args.table_names = table_names - args.txns_snapshot = txns_snapshot - args.write(self._oprot) - self._oprot.writeMessageEnd() - self._oprot.trans.flush() - - def recv_get_last_completed_transaction_for_tables(self): - iprot = self._iprot - (fname, mtype, rseqid) = iprot.readMessageBegin() - if mtype == TMessageType.EXCEPTION: - x = TApplicationException() - x.read(iprot) - iprot.readMessageEnd() - raise x - result = get_last_completed_transaction_for_tables_result() - result.read(iprot) - iprot.readMessageEnd() - if result.success is not None: - return result.success - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_last_completed_transaction_for_tables failed: unknown result") - - def get_last_completed_transaction_for_table(self, db_name, table_name, txns_snapshot): - """ - Parameters: - - db_name - - table_name - - txns_snapshot - """ - self.send_get_last_completed_transaction_for_table(db_name, table_name, txns_snapshot) - return self.recv_get_last_completed_transaction_for_table() - - def send_get_last_completed_transaction_for_table(self, db_name, table_name, txns_snapshot): - self._oprot.writeMessageBegin('get_last_completed_transaction_for_table', TMessageType.CALL, self._seqid) - args = get_last_completed_transaction_for_table_args() - args.db_name = db_name - args.table_name = table_name - args.txns_snapshot = txns_snapshot - args.write(self._oprot) - self._oprot.writeMessageEnd() - self._oprot.trans.flush() - - def recv_get_last_completed_transaction_for_table(self): - iprot = self._iprot - (fname, mtype, rseqid) = iprot.readMessageBegin() - if mtype == TMessageType.EXCEPTION: - x = TApplicationException() - x.read(iprot) - iprot.readMessageEnd() - raise x - result = get_last_completed_transaction_for_table_result() - result.read(iprot) - iprot.readMessageEnd() - if result.success is not None: - return result.success - raise TApplicationException(TApplicationException.MISSING_RESULT, "get_last_completed_transaction_for_table failed: unknown result") - def get_next_notification(self, rqst): """ Parameters: @@ -8202,8 +8114,6 @@ def __init__(self, handler): self._processMap["compact2"] = Processor.process_compact2 self._processMap["show_compact"] = Processor.process_show_compact self._processMap["add_dynamic_partitions"] = Processor.process_add_dynamic_partitions - self._processMap["get_last_completed_transaction_for_tables"] = Processor.process_get_last_completed_transaction_for_tables - self._processMap["get_last_completed_transaction_for_table"] = Processor.process_get_last_completed_transaction_for_table self._processMap["get_next_notification"] = Processor.process_get_next_notification self._processMap["get_current_notificationEventId"] = Processor.process_get_current_notificationEventId self._processMap["get_notification_events_count"] = Processor.process_get_notification_events_count @@ -12010,44 +11920,6 @@ def process_add_dynamic_partitions(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() - def process_get_last_completed_transaction_for_tables(self, seqid, iprot, oprot): - args = get_last_completed_transaction_for_tables_args() - args.read(iprot) - iprot.readMessageEnd() - result = get_last_completed_transaction_for_tables_result() - try: - result.success = self._handler.get_last_completed_transaction_for_tables(args.db_names, args.table_names, args.txns_snapshot) - msg_type = TMessageType.REPLY - except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): - raise - except Exception as ex: - msg_type = TMessageType.EXCEPTION - logging.exception(ex) - result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') - oprot.writeMessageBegin("get_last_completed_transaction_for_tables", msg_type, seqid) - result.write(oprot) - oprot.writeMessageEnd() - oprot.trans.flush() - - def process_get_last_completed_transaction_for_table(self, seqid, iprot, oprot): - args = get_last_completed_transaction_for_table_args() - args.read(iprot) - iprot.readMessageEnd() - result = get_last_completed_transaction_for_table_result() - try: - result.success = self._handler.get_last_completed_transaction_for_table(args.db_name, args.table_name, args.txns_snapshot) - msg_type = TMessageType.REPLY - except (TTransport.TTransportException, KeyboardInterrupt, SystemExit): - raise - except Exception as ex: - msg_type = TMessageType.EXCEPTION - logging.exception(ex) - result = TApplicationException(TApplicationException.INTERNAL_ERROR, 'Internal error') - oprot.writeMessageBegin("get_last_completed_transaction_for_table", msg_type, seqid) - result.write(oprot) - oprot.writeMessageEnd() - oprot.trans.flush() - def process_get_next_notification(self, seqid, iprot, oprot): args = get_next_notification_args() args.read(iprot) @@ -13638,10 +13510,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype732, _size729) = iprot.readListBegin() - for _i733 in xrange(_size729): - _elem734 = iprot.readString() - self.success.append(_elem734) + (_etype723, _size720) = iprot.readListBegin() + for _i724 in xrange(_size720): + _elem725 = iprot.readString() + self.success.append(_elem725) iprot.readListEnd() else: iprot.skip(ftype) @@ -13664,8 +13536,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 iter735 in self.success: - oprot.writeString(iter735) + for iter726 in self.success: + oprot.writeString(iter726) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13770,10 +13642,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype739, _size736) = iprot.readListBegin() - for _i740 in xrange(_size736): - _elem741 = iprot.readString() - self.success.append(_elem741) + (_etype730, _size727) = iprot.readListBegin() + for _i731 in xrange(_size727): + _elem732 = iprot.readString() + self.success.append(_elem732) iprot.readListEnd() else: iprot.skip(ftype) @@ -13796,8 +13668,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 iter742 in self.success: - oprot.writeString(iter742) + for iter733 in self.success: + oprot.writeString(iter733) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14567,12 +14439,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype744, _vtype745, _size743 ) = iprot.readMapBegin() - for _i747 in xrange(_size743): - _key748 = iprot.readString() - _val749 = Type() - _val749.read(iprot) - self.success[_key748] = _val749 + (_ktype735, _vtype736, _size734 ) = iprot.readMapBegin() + for _i738 in xrange(_size734): + _key739 = iprot.readString() + _val740 = Type() + _val740.read(iprot) + self.success[_key739] = _val740 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14595,9 +14467,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 kiter750,viter751 in self.success.items(): - oprot.writeString(kiter750) - viter751.write(oprot) + for kiter741,viter742 in self.success.items(): + oprot.writeString(kiter741) + viter742.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -14740,11 +14612,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype755, _size752) = iprot.readListBegin() - for _i756 in xrange(_size752): - _elem757 = FieldSchema() - _elem757.read(iprot) - self.success.append(_elem757) + (_etype746, _size743) = iprot.readListBegin() + for _i747 in xrange(_size743): + _elem748 = FieldSchema() + _elem748.read(iprot) + self.success.append(_elem748) iprot.readListEnd() else: iprot.skip(ftype) @@ -14779,8 +14651,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 iter749 in self.success: + iter749.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14947,11 +14819,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype762, _size759) = iprot.readListBegin() - for _i763 in xrange(_size759): - _elem764 = FieldSchema() - _elem764.read(iprot) - self.success.append(_elem764) + (_etype753, _size750) = iprot.readListBegin() + for _i754 in xrange(_size750): + _elem755 = FieldSchema() + _elem755.read(iprot) + self.success.append(_elem755) iprot.readListEnd() else: iprot.skip(ftype) @@ -14986,8 +14858,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 iter765 in self.success: - iter765.write(oprot) + for iter756 in self.success: + iter756.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15140,11 +15012,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype769, _size766) = iprot.readListBegin() - for _i770 in xrange(_size766): - _elem771 = FieldSchema() - _elem771.read(iprot) - self.success.append(_elem771) + (_etype760, _size757) = iprot.readListBegin() + for _i761 in xrange(_size757): + _elem762 = FieldSchema() + _elem762.read(iprot) + self.success.append(_elem762) iprot.readListEnd() else: iprot.skip(ftype) @@ -15179,8 +15051,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 iter772 in self.success: - iter772.write(oprot) + for iter763 in self.success: + iter763.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15347,11 +15219,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype776, _size773) = iprot.readListBegin() - for _i777 in xrange(_size773): - _elem778 = FieldSchema() - _elem778.read(iprot) - self.success.append(_elem778) + (_etype767, _size764) = iprot.readListBegin() + for _i768 in xrange(_size764): + _elem769 = FieldSchema() + _elem769.read(iprot) + self.success.append(_elem769) iprot.readListEnd() else: iprot.skip(ftype) @@ -15386,8 +15258,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 iter770 in self.success: + iter770.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15834,44 +15706,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype783, _size780) = iprot.readListBegin() - for _i784 in xrange(_size780): - _elem785 = SQLPrimaryKey() - _elem785.read(iprot) - self.primaryKeys.append(_elem785) + (_etype774, _size771) = iprot.readListBegin() + for _i775 in xrange(_size771): + _elem776 = SQLPrimaryKey() + _elem776.read(iprot) + self.primaryKeys.append(_elem776) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype789, _size786) = iprot.readListBegin() - for _i790 in xrange(_size786): - _elem791 = SQLForeignKey() - _elem791.read(iprot) - self.foreignKeys.append(_elem791) + (_etype780, _size777) = iprot.readListBegin() + for _i781 in xrange(_size777): + _elem782 = SQLForeignKey() + _elem782.read(iprot) + self.foreignKeys.append(_elem782) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype795, _size792) = iprot.readListBegin() - for _i796 in xrange(_size792): - _elem797 = SQLUniqueConstraint() - _elem797.read(iprot) - self.uniqueConstraints.append(_elem797) + (_etype786, _size783) = iprot.readListBegin() + for _i787 in xrange(_size783): + _elem788 = SQLUniqueConstraint() + _elem788.read(iprot) + self.uniqueConstraints.append(_elem788) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype801, _size798) = iprot.readListBegin() - for _i802 in xrange(_size798): - _elem803 = SQLNotNullConstraint() - _elem803.read(iprot) - self.notNullConstraints.append(_elem803) + (_etype792, _size789) = iprot.readListBegin() + for _i793 in xrange(_size789): + _elem794 = SQLNotNullConstraint() + _elem794.read(iprot) + self.notNullConstraints.append(_elem794) iprot.readListEnd() else: iprot.skip(ftype) @@ -15892,29 +15764,29 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter804 in self.primaryKeys: - iter804.write(oprot) + for iter795 in self.primaryKeys: + iter795.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.foreignKeys is not None: oprot.writeFieldBegin('foreignKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) - for iter805 in self.foreignKeys: - iter805.write(oprot) + for iter796 in self.foreignKeys: + iter796.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.uniqueConstraints is not None: oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints)) - for iter806 in self.uniqueConstraints: - iter806.write(oprot) + for iter797 in self.uniqueConstraints: + iter797.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.notNullConstraints is not None: oprot.writeFieldBegin('notNullConstraints', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints)) - for iter807 in self.notNullConstraints: - iter807.write(oprot) + for iter798 in self.notNullConstraints: + iter798.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17180,10 +17052,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype811, _size808) = iprot.readListBegin() - for _i812 in xrange(_size808): - _elem813 = iprot.readString() - self.partNames.append(_elem813) + (_etype802, _size799) = iprot.readListBegin() + for _i803 in xrange(_size799): + _elem804 = iprot.readString() + self.partNames.append(_elem804) iprot.readListEnd() else: iprot.skip(ftype) @@ -17208,8 +17080,8 @@ def write(self, oprot): if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter814 in self.partNames: - oprot.writeString(iter814) + for iter805 in self.partNames: + oprot.writeString(iter805) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17409,10 +17281,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype818, _size815) = iprot.readListBegin() - for _i819 in xrange(_size815): - _elem820 = iprot.readString() - self.success.append(_elem820) + (_etype809, _size806) = iprot.readListBegin() + for _i810 in xrange(_size806): + _elem811 = iprot.readString() + self.success.append(_elem811) iprot.readListEnd() else: iprot.skip(ftype) @@ -17435,8 +17307,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 iter821 in self.success: - oprot.writeString(iter821) + for iter812 in self.success: + oprot.writeString(iter812) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17586,10 +17458,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype825, _size822) = iprot.readListBegin() - for _i826 in xrange(_size822): - _elem827 = iprot.readString() - self.success.append(_elem827) + (_etype816, _size813) = iprot.readListBegin() + for _i817 in xrange(_size813): + _elem818 = iprot.readString() + self.success.append(_elem818) iprot.readListEnd() else: iprot.skip(ftype) @@ -17612,8 +17484,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 iter828 in self.success: - oprot.writeString(iter828) + for iter819 in self.success: + oprot.writeString(iter819) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17737,10 +17609,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype832, _size829) = iprot.readListBegin() - for _i833 in xrange(_size829): - _elem834 = iprot.readString() - self.success.append(_elem834) + (_etype823, _size820) = iprot.readListBegin() + for _i824 in xrange(_size820): + _elem825 = iprot.readString() + self.success.append(_elem825) iprot.readListEnd() else: iprot.skip(ftype) @@ -17763,8 +17635,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 iter835 in self.success: - oprot.writeString(iter835) + for iter826 in self.success: + oprot.writeString(iter826) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17837,10 +17709,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype839, _size836) = iprot.readListBegin() - for _i840 in xrange(_size836): - _elem841 = iprot.readString() - self.tbl_types.append(_elem841) + (_etype830, _size827) = iprot.readListBegin() + for _i831 in xrange(_size827): + _elem832 = iprot.readString() + self.tbl_types.append(_elem832) iprot.readListEnd() else: iprot.skip(ftype) @@ -17865,8 +17737,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 iter842 in self.tbl_types: - oprot.writeString(iter842) + for iter833 in self.tbl_types: + oprot.writeString(iter833) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17922,11 +17794,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype846, _size843) = iprot.readListBegin() - for _i847 in xrange(_size843): - _elem848 = TableMeta() - _elem848.read(iprot) - self.success.append(_elem848) + (_etype837, _size834) = iprot.readListBegin() + for _i838 in xrange(_size834): + _elem839 = TableMeta() + _elem839.read(iprot) + self.success.append(_elem839) iprot.readListEnd() else: iprot.skip(ftype) @@ -17949,8 +17821,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 iter849 in self.success: - iter849.write(oprot) + for iter840 in self.success: + iter840.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18074,10 +17946,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) + (_etype844, _size841) = iprot.readListBegin() + for _i845 in xrange(_size841): + _elem846 = iprot.readString() + self.success.append(_elem846) iprot.readListEnd() else: iprot.skip(ftype) @@ -18100,8 +17972,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 iter847 in self.success: + oprot.writeString(iter847) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18337,10 +18209,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype860, _size857) = iprot.readListBegin() - for _i861 in xrange(_size857): - _elem862 = iprot.readString() - self.tbl_names.append(_elem862) + (_etype851, _size848) = iprot.readListBegin() + for _i852 in xrange(_size848): + _elem853 = iprot.readString() + self.tbl_names.append(_elem853) iprot.readListEnd() else: iprot.skip(ftype) @@ -18361,8 +18233,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 iter863 in self.tbl_names: - oprot.writeString(iter863) + for iter854 in self.tbl_names: + oprot.writeString(iter854) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18414,11 +18286,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype867, _size864) = iprot.readListBegin() - for _i868 in xrange(_size864): - _elem869 = Table() - _elem869.read(iprot) - self.success.append(_elem869) + (_etype858, _size855) = iprot.readListBegin() + for _i859 in xrange(_size855): + _elem860 = Table() + _elem860.read(iprot) + self.success.append(_elem860) iprot.readListEnd() else: iprot.skip(ftype) @@ -18435,8 +18307,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 iter870 in self.success: - iter870.write(oprot) + for iter861 in self.success: + iter861.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18828,10 +18700,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype874, _size871) = iprot.readListBegin() - for _i875 in xrange(_size871): - _elem876 = iprot.readString() - self.tbl_names.append(_elem876) + (_etype865, _size862) = iprot.readListBegin() + for _i866 in xrange(_size862): + _elem867 = iprot.readString() + self.tbl_names.append(_elem867) iprot.readListEnd() else: iprot.skip(ftype) @@ -18852,8 +18724,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 iter877 in self.tbl_names: - oprot.writeString(iter877) + for iter868 in self.tbl_names: + oprot.writeString(iter868) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18914,12 +18786,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype879, _vtype880, _size878 ) = iprot.readMapBegin() - for _i882 in xrange(_size878): - _key883 = iprot.readString() - _val884 = Materialization() - _val884.read(iprot) - self.success[_key883] = _val884 + (_ktype870, _vtype871, _size869 ) = iprot.readMapBegin() + for _i873 in xrange(_size869): + _key874 = iprot.readString() + _val875 = Materialization() + _val875.read(iprot) + self.success[_key874] = _val875 iprot.readMapEnd() else: iprot.skip(ftype) @@ -18954,9 +18826,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 kiter885,viter886 in self.success.items(): - oprot.writeString(kiter885) - viter886.write(oprot) + for kiter876,viter877 in self.success.items(): + oprot.writeString(kiter876) + viter877.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19122,10 +18994,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype890, _size887) = iprot.readListBegin() - for _i891 in xrange(_size887): - _elem892 = iprot.readString() - self.success.append(_elem892) + (_etype881, _size878) = iprot.readListBegin() + for _i882 in xrange(_size878): + _elem883 = iprot.readString() + self.success.append(_elem883) iprot.readListEnd() else: iprot.skip(ftype) @@ -19160,8 +19032,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 iter893 in self.success: - oprot.writeString(iter893) + for iter884 in self.success: + oprot.writeString(iter884) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20131,11 +20003,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype897, _size894) = iprot.readListBegin() - for _i898 in xrange(_size894): - _elem899 = Partition() - _elem899.read(iprot) - self.new_parts.append(_elem899) + (_etype888, _size885) = iprot.readListBegin() + for _i889 in xrange(_size885): + _elem890 = Partition() + _elem890.read(iprot) + self.new_parts.append(_elem890) iprot.readListEnd() else: iprot.skip(ftype) @@ -20152,8 +20024,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 iter900 in self.new_parts: - iter900.write(oprot) + for iter891 in self.new_parts: + iter891.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20311,11 +20183,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype904, _size901) = iprot.readListBegin() - for _i905 in xrange(_size901): - _elem906 = PartitionSpec() - _elem906.read(iprot) - self.new_parts.append(_elem906) + (_etype895, _size892) = iprot.readListBegin() + for _i896 in xrange(_size892): + _elem897 = PartitionSpec() + _elem897.read(iprot) + self.new_parts.append(_elem897) iprot.readListEnd() else: iprot.skip(ftype) @@ -20332,8 +20204,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 iter907 in self.new_parts: - iter907.write(oprot) + for iter898 in self.new_parts: + iter898.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20507,10 +20379,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype911, _size908) = iprot.readListBegin() - for _i912 in xrange(_size908): - _elem913 = iprot.readString() - self.part_vals.append(_elem913) + (_etype902, _size899) = iprot.readListBegin() + for _i903 in xrange(_size899): + _elem904 = iprot.readString() + self.part_vals.append(_elem904) iprot.readListEnd() else: iprot.skip(ftype) @@ -20535,8 +20407,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 iter914 in self.part_vals: - oprot.writeString(iter914) + for iter905 in self.part_vals: + oprot.writeString(iter905) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20889,10 +20761,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype918, _size915) = iprot.readListBegin() - for _i919 in xrange(_size915): - _elem920 = iprot.readString() - self.part_vals.append(_elem920) + (_etype909, _size906) = iprot.readListBegin() + for _i910 in xrange(_size906): + _elem911 = iprot.readString() + self.part_vals.append(_elem911) iprot.readListEnd() else: iprot.skip(ftype) @@ -20923,8 +20795,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 iter921 in self.part_vals: - oprot.writeString(iter921) + for iter912 in self.part_vals: + oprot.writeString(iter912) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -21519,10 +21391,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype925, _size922) = iprot.readListBegin() - for _i926 in xrange(_size922): - _elem927 = iprot.readString() - self.part_vals.append(_elem927) + (_etype916, _size913) = iprot.readListBegin() + for _i917 in xrange(_size913): + _elem918 = iprot.readString() + self.part_vals.append(_elem918) iprot.readListEnd() else: iprot.skip(ftype) @@ -21552,8 +21424,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 iter928 in self.part_vals: - oprot.writeString(iter928) + for iter919 in self.part_vals: + oprot.writeString(iter919) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -21726,10 +21598,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype932, _size929) = iprot.readListBegin() - for _i933 in xrange(_size929): - _elem934 = iprot.readString() - self.part_vals.append(_elem934) + (_etype923, _size920) = iprot.readListBegin() + for _i924 in xrange(_size920): + _elem925 = iprot.readString() + self.part_vals.append(_elem925) iprot.readListEnd() else: iprot.skip(ftype) @@ -21765,8 +21637,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 iter935 in self.part_vals: - oprot.writeString(iter935) + for iter926 in self.part_vals: + oprot.writeString(iter926) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -22503,10 +22375,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype939, _size936) = iprot.readListBegin() - for _i940 in xrange(_size936): - _elem941 = iprot.readString() - self.part_vals.append(_elem941) + (_etype930, _size927) = iprot.readListBegin() + for _i931 in xrange(_size927): + _elem932 = iprot.readString() + self.part_vals.append(_elem932) iprot.readListEnd() else: iprot.skip(ftype) @@ -22531,8 +22403,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 iter942 in self.part_vals: - oprot.writeString(iter942) + for iter933 in self.part_vals: + oprot.writeString(iter933) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22691,11 +22563,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype944, _vtype945, _size943 ) = iprot.readMapBegin() - for _i947 in xrange(_size943): - _key948 = iprot.readString() - _val949 = iprot.readString() - self.partitionSpecs[_key948] = _val949 + (_ktype935, _vtype936, _size934 ) = iprot.readMapBegin() + for _i938 in xrange(_size934): + _key939 = iprot.readString() + _val940 = iprot.readString() + self.partitionSpecs[_key939] = _val940 iprot.readMapEnd() else: iprot.skip(ftype) @@ -22732,9 +22604,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 kiter950,viter951 in self.partitionSpecs.items(): - oprot.writeString(kiter950) - oprot.writeString(viter951) + for kiter941,viter942 in self.partitionSpecs.items(): + oprot.writeString(kiter941) + oprot.writeString(viter942) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -22939,11 +22811,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype953, _vtype954, _size952 ) = iprot.readMapBegin() - for _i956 in xrange(_size952): - _key957 = iprot.readString() - _val958 = iprot.readString() - self.partitionSpecs[_key957] = _val958 + (_ktype944, _vtype945, _size943 ) = iprot.readMapBegin() + for _i947 in xrange(_size943): + _key948 = iprot.readString() + _val949 = iprot.readString() + self.partitionSpecs[_key948] = _val949 iprot.readMapEnd() else: iprot.skip(ftype) @@ -22980,9 +22852,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 kiter959,viter960 in self.partitionSpecs.items(): - oprot.writeString(kiter959) - oprot.writeString(viter960) + for kiter950,viter951 in self.partitionSpecs.items(): + oprot.writeString(kiter950) + oprot.writeString(viter951) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -23065,11 +22937,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype964, _size961) = iprot.readListBegin() - for _i965 in xrange(_size961): - _elem966 = Partition() - _elem966.read(iprot) - self.success.append(_elem966) + (_etype955, _size952) = iprot.readListBegin() + for _i956 in xrange(_size952): + _elem957 = Partition() + _elem957.read(iprot) + self.success.append(_elem957) iprot.readListEnd() else: iprot.skip(ftype) @@ -23110,8 +22982,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 iter967 in self.success: - iter967.write(oprot) + for iter958 in self.success: + iter958.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23205,10 +23077,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype971, _size968) = iprot.readListBegin() - for _i972 in xrange(_size968): - _elem973 = iprot.readString() - self.part_vals.append(_elem973) + (_etype962, _size959) = iprot.readListBegin() + for _i963 in xrange(_size959): + _elem964 = iprot.readString() + self.part_vals.append(_elem964) iprot.readListEnd() else: iprot.skip(ftype) @@ -23220,10 +23092,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype977, _size974) = iprot.readListBegin() - for _i978 in xrange(_size974): - _elem979 = iprot.readString() - self.group_names.append(_elem979) + (_etype968, _size965) = iprot.readListBegin() + for _i969 in xrange(_size965): + _elem970 = iprot.readString() + self.group_names.append(_elem970) iprot.readListEnd() else: iprot.skip(ftype) @@ -23248,8 +23120,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 iter980 in self.part_vals: - oprot.writeString(iter980) + for iter971 in self.part_vals: + oprot.writeString(iter971) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -23259,8 +23131,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 iter981 in self.group_names: - oprot.writeString(iter981) + for iter972 in self.group_names: + oprot.writeString(iter972) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23689,11 +23561,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype985, _size982) = iprot.readListBegin() - for _i986 in xrange(_size982): - _elem987 = Partition() - _elem987.read(iprot) - self.success.append(_elem987) + (_etype976, _size973) = iprot.readListBegin() + for _i977 in xrange(_size973): + _elem978 = Partition() + _elem978.read(iprot) + self.success.append(_elem978) iprot.readListEnd() else: iprot.skip(ftype) @@ -23722,8 +23594,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 iter988 in self.success: - iter988.write(oprot) + for iter979 in self.success: + iter979.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23817,10 +23689,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype992, _size989) = iprot.readListBegin() - for _i993 in xrange(_size989): - _elem994 = iprot.readString() - self.group_names.append(_elem994) + (_etype983, _size980) = iprot.readListBegin() + for _i984 in xrange(_size980): + _elem985 = iprot.readString() + self.group_names.append(_elem985) iprot.readListEnd() else: iprot.skip(ftype) @@ -23853,8 +23725,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 iter995 in self.group_names: - oprot.writeString(iter995) + for iter986 in self.group_names: + oprot.writeString(iter986) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23915,11 +23787,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype999, _size996) = iprot.readListBegin() - for _i1000 in xrange(_size996): - _elem1001 = Partition() - _elem1001.read(iprot) - self.success.append(_elem1001) + (_etype990, _size987) = iprot.readListBegin() + for _i991 in xrange(_size987): + _elem992 = Partition() + _elem992.read(iprot) + self.success.append(_elem992) iprot.readListEnd() else: iprot.skip(ftype) @@ -23948,8 +23820,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 iter1002 in self.success: - iter1002.write(oprot) + for iter993 in self.success: + iter993.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24107,11 +23979,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1006, _size1003) = iprot.readListBegin() - for _i1007 in xrange(_size1003): - _elem1008 = PartitionSpec() - _elem1008.read(iprot) - self.success.append(_elem1008) + (_etype997, _size994) = iprot.readListBegin() + for _i998 in xrange(_size994): + _elem999 = PartitionSpec() + _elem999.read(iprot) + self.success.append(_elem999) iprot.readListEnd() else: iprot.skip(ftype) @@ -24140,8 +24012,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 iter1009 in self.success: - iter1009.write(oprot) + for iter1000 in self.success: + iter1000.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24299,10 +24171,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1013, _size1010) = iprot.readListBegin() - for _i1014 in xrange(_size1010): - _elem1015 = iprot.readString() - self.success.append(_elem1015) + (_etype1004, _size1001) = iprot.readListBegin() + for _i1005 in xrange(_size1001): + _elem1006 = iprot.readString() + self.success.append(_elem1006) iprot.readListEnd() else: iprot.skip(ftype) @@ -24331,8 +24203,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 iter1016 in self.success: - oprot.writeString(iter1016) + for iter1007 in self.success: + oprot.writeString(iter1007) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24572,10 +24444,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1020, _size1017) = iprot.readListBegin() - for _i1021 in xrange(_size1017): - _elem1022 = iprot.readString() - self.part_vals.append(_elem1022) + (_etype1011, _size1008) = iprot.readListBegin() + for _i1012 in xrange(_size1008): + _elem1013 = iprot.readString() + self.part_vals.append(_elem1013) iprot.readListEnd() else: iprot.skip(ftype) @@ -24605,8 +24477,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 iter1023 in self.part_vals: - oprot.writeString(iter1023) + for iter1014 in self.part_vals: + oprot.writeString(iter1014) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -24670,11 +24542,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1027, _size1024) = iprot.readListBegin() - for _i1028 in xrange(_size1024): - _elem1029 = Partition() - _elem1029.read(iprot) - self.success.append(_elem1029) + (_etype1018, _size1015) = iprot.readListBegin() + for _i1019 in xrange(_size1015): + _elem1020 = Partition() + _elem1020.read(iprot) + self.success.append(_elem1020) iprot.readListEnd() else: iprot.skip(ftype) @@ -24703,8 +24575,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 iter1030 in self.success: - iter1030.write(oprot) + for iter1021 in self.success: + iter1021.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24791,10 +24663,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1034, _size1031) = iprot.readListBegin() - for _i1035 in xrange(_size1031): - _elem1036 = iprot.readString() - self.part_vals.append(_elem1036) + (_etype1025, _size1022) = iprot.readListBegin() + for _i1026 in xrange(_size1022): + _elem1027 = iprot.readString() + self.part_vals.append(_elem1027) iprot.readListEnd() else: iprot.skip(ftype) @@ -24811,10 +24683,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1040, _size1037) = iprot.readListBegin() - for _i1041 in xrange(_size1037): - _elem1042 = iprot.readString() - self.group_names.append(_elem1042) + (_etype1031, _size1028) = iprot.readListBegin() + for _i1032 in xrange(_size1028): + _elem1033 = iprot.readString() + self.group_names.append(_elem1033) iprot.readListEnd() else: iprot.skip(ftype) @@ -24839,8 +24711,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 iter1043 in self.part_vals: - oprot.writeString(iter1043) + for iter1034 in self.part_vals: + oprot.writeString(iter1034) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -24854,8 +24726,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 iter1044 in self.group_names: - oprot.writeString(iter1044) + for iter1035 in self.group_names: + oprot.writeString(iter1035) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24917,11 +24789,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1048, _size1045) = iprot.readListBegin() - for _i1049 in xrange(_size1045): - _elem1050 = Partition() - _elem1050.read(iprot) - self.success.append(_elem1050) + (_etype1039, _size1036) = iprot.readListBegin() + for _i1040 in xrange(_size1036): + _elem1041 = Partition() + _elem1041.read(iprot) + self.success.append(_elem1041) iprot.readListEnd() else: iprot.skip(ftype) @@ -24950,8 +24822,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 iter1051 in self.success: - iter1051.write(oprot) + for iter1042 in self.success: + iter1042.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25032,10 +24904,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1055, _size1052) = iprot.readListBegin() - for _i1056 in xrange(_size1052): - _elem1057 = iprot.readString() - self.part_vals.append(_elem1057) + (_etype1046, _size1043) = iprot.readListBegin() + for _i1047 in xrange(_size1043): + _elem1048 = iprot.readString() + self.part_vals.append(_elem1048) iprot.readListEnd() else: iprot.skip(ftype) @@ -25065,8 +24937,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 iter1058 in self.part_vals: - oprot.writeString(iter1058) + for iter1049 in self.part_vals: + oprot.writeString(iter1049) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -25130,10 +25002,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1062, _size1059) = iprot.readListBegin() - for _i1063 in xrange(_size1059): - _elem1064 = iprot.readString() - self.success.append(_elem1064) + (_etype1053, _size1050) = iprot.readListBegin() + for _i1054 in xrange(_size1050): + _elem1055 = iprot.readString() + self.success.append(_elem1055) iprot.readListEnd() else: iprot.skip(ftype) @@ -25162,8 +25034,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 iter1065 in self.success: - oprot.writeString(iter1065) + for iter1056 in self.success: + oprot.writeString(iter1056) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25334,11 +25206,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1069, _size1066) = iprot.readListBegin() - for _i1070 in xrange(_size1066): - _elem1071 = Partition() - _elem1071.read(iprot) - self.success.append(_elem1071) + (_etype1060, _size1057) = iprot.readListBegin() + for _i1061 in xrange(_size1057): + _elem1062 = Partition() + _elem1062.read(iprot) + self.success.append(_elem1062) iprot.readListEnd() else: iprot.skip(ftype) @@ -25367,8 +25239,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 iter1072 in self.success: - iter1072.write(oprot) + for iter1063 in self.success: + iter1063.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25539,11 +25411,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1076, _size1073) = iprot.readListBegin() - for _i1077 in xrange(_size1073): - _elem1078 = PartitionSpec() - _elem1078.read(iprot) - self.success.append(_elem1078) + (_etype1067, _size1064) = iprot.readListBegin() + for _i1068 in xrange(_size1064): + _elem1069 = PartitionSpec() + _elem1069.read(iprot) + self.success.append(_elem1069) iprot.readListEnd() else: iprot.skip(ftype) @@ -25572,8 +25444,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 iter1079 in self.success: - iter1079.write(oprot) + for iter1070 in self.success: + iter1070.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25993,10 +25865,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1083, _size1080) = iprot.readListBegin() - for _i1084 in xrange(_size1080): - _elem1085 = iprot.readString() - self.names.append(_elem1085) + (_etype1074, _size1071) = iprot.readListBegin() + for _i1075 in xrange(_size1071): + _elem1076 = iprot.readString() + self.names.append(_elem1076) iprot.readListEnd() else: iprot.skip(ftype) @@ -26021,8 +25893,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 iter1086 in self.names: - oprot.writeString(iter1086) + for iter1077 in self.names: + oprot.writeString(iter1077) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26081,11 +25953,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1090, _size1087) = iprot.readListBegin() - for _i1091 in xrange(_size1087): - _elem1092 = Partition() - _elem1092.read(iprot) - self.success.append(_elem1092) + (_etype1081, _size1078) = iprot.readListBegin() + for _i1082 in xrange(_size1078): + _elem1083 = Partition() + _elem1083.read(iprot) + self.success.append(_elem1083) iprot.readListEnd() else: iprot.skip(ftype) @@ -26114,8 +25986,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 iter1093 in self.success: - iter1093.write(oprot) + for iter1084 in self.success: + iter1084.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26365,11 +26237,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1097, _size1094) = iprot.readListBegin() - for _i1098 in xrange(_size1094): - _elem1099 = Partition() - _elem1099.read(iprot) - self.new_parts.append(_elem1099) + (_etype1088, _size1085) = iprot.readListBegin() + for _i1089 in xrange(_size1085): + _elem1090 = Partition() + _elem1090.read(iprot) + self.new_parts.append(_elem1090) iprot.readListEnd() else: iprot.skip(ftype) @@ -26394,8 +26266,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 iter1100 in self.new_parts: - iter1100.write(oprot) + for iter1091 in self.new_parts: + iter1091.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26548,11 +26420,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1104, _size1101) = iprot.readListBegin() - for _i1105 in xrange(_size1101): - _elem1106 = Partition() - _elem1106.read(iprot) - self.new_parts.append(_elem1106) + (_etype1095, _size1092) = iprot.readListBegin() + for _i1096 in xrange(_size1092): + _elem1097 = Partition() + _elem1097.read(iprot) + self.new_parts.append(_elem1097) iprot.readListEnd() else: iprot.skip(ftype) @@ -26583,8 +26455,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 iter1107 in self.new_parts: - iter1107.write(oprot) + for iter1098 in self.new_parts: + iter1098.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -26928,10 +26800,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1111, _size1108) = iprot.readListBegin() - for _i1112 in xrange(_size1108): - _elem1113 = iprot.readString() - self.part_vals.append(_elem1113) + (_etype1102, _size1099) = iprot.readListBegin() + for _i1103 in xrange(_size1099): + _elem1104 = iprot.readString() + self.part_vals.append(_elem1104) iprot.readListEnd() else: iprot.skip(ftype) @@ -26962,8 +26834,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 iter1114 in self.part_vals: - oprot.writeString(iter1114) + for iter1105 in self.part_vals: + oprot.writeString(iter1105) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -27105,10 +26977,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1118, _size1115) = iprot.readListBegin() - for _i1119 in xrange(_size1115): - _elem1120 = iprot.readString() - self.part_vals.append(_elem1120) + (_etype1109, _size1106) = iprot.readListBegin() + for _i1110 in xrange(_size1106): + _elem1111 = iprot.readString() + self.part_vals.append(_elem1111) iprot.readListEnd() else: iprot.skip(ftype) @@ -27130,8 +27002,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 iter1121 in self.part_vals: - oprot.writeString(iter1121) + for iter1112 in self.part_vals: + oprot.writeString(iter1112) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -27489,10 +27361,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1125, _size1122) = iprot.readListBegin() - for _i1126 in xrange(_size1122): - _elem1127 = iprot.readString() - self.success.append(_elem1127) + (_etype1116, _size1113) = iprot.readListBegin() + for _i1117 in xrange(_size1113): + _elem1118 = iprot.readString() + self.success.append(_elem1118) iprot.readListEnd() else: iprot.skip(ftype) @@ -27515,8 +27387,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 iter1128 in self.success: - oprot.writeString(iter1128) + for iter1119 in self.success: + oprot.writeString(iter1119) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27640,11 +27512,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1130, _vtype1131, _size1129 ) = iprot.readMapBegin() - for _i1133 in xrange(_size1129): - _key1134 = iprot.readString() - _val1135 = iprot.readString() - self.success[_key1134] = _val1135 + (_ktype1121, _vtype1122, _size1120 ) = iprot.readMapBegin() + for _i1124 in xrange(_size1120): + _key1125 = iprot.readString() + _val1126 = iprot.readString() + self.success[_key1125] = _val1126 iprot.readMapEnd() else: iprot.skip(ftype) @@ -27667,9 +27539,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 kiter1136,viter1137 in self.success.items(): - oprot.writeString(kiter1136) - oprot.writeString(viter1137) + for kiter1127,viter1128 in self.success.items(): + oprot.writeString(kiter1127) + oprot.writeString(viter1128) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27745,11 +27617,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1139, _vtype1140, _size1138 ) = iprot.readMapBegin() - for _i1142 in xrange(_size1138): - _key1143 = iprot.readString() - _val1144 = iprot.readString() - self.part_vals[_key1143] = _val1144 + (_ktype1130, _vtype1131, _size1129 ) = iprot.readMapBegin() + for _i1133 in xrange(_size1129): + _key1134 = iprot.readString() + _val1135 = iprot.readString() + self.part_vals[_key1134] = _val1135 iprot.readMapEnd() else: iprot.skip(ftype) @@ -27779,9 +27651,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 kiter1145,viter1146 in self.part_vals.items(): - oprot.writeString(kiter1145) - oprot.writeString(viter1146) + for kiter1136,viter1137 in self.part_vals.items(): + oprot.writeString(kiter1136) + oprot.writeString(viter1137) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -27995,11 +27867,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1148, _vtype1149, _size1147 ) = iprot.readMapBegin() - for _i1151 in xrange(_size1147): - _key1152 = iprot.readString() - _val1153 = iprot.readString() - self.part_vals[_key1152] = _val1153 + (_ktype1139, _vtype1140, _size1138 ) = iprot.readMapBegin() + for _i1142 in xrange(_size1138): + _key1143 = iprot.readString() + _val1144 = iprot.readString() + self.part_vals[_key1143] = _val1144 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28029,9 +27901,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 kiter1154,viter1155 in self.part_vals.items(): - oprot.writeString(kiter1154) - oprot.writeString(viter1155) + for kiter1145,viter1146 in self.part_vals.items(): + oprot.writeString(kiter1145) + oprot.writeString(viter1146) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -29086,11 +28958,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1159, _size1156) = iprot.readListBegin() - for _i1160 in xrange(_size1156): - _elem1161 = Index() - _elem1161.read(iprot) - self.success.append(_elem1161) + (_etype1150, _size1147) = iprot.readListBegin() + for _i1151 in xrange(_size1147): + _elem1152 = Index() + _elem1152.read(iprot) + self.success.append(_elem1152) iprot.readListEnd() else: iprot.skip(ftype) @@ -29119,8 +28991,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 iter1162 in self.success: - iter1162.write(oprot) + for iter1153 in self.success: + iter1153.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29275,10 +29147,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1166, _size1163) = iprot.readListBegin() - for _i1167 in xrange(_size1163): - _elem1168 = iprot.readString() - self.success.append(_elem1168) + (_etype1157, _size1154) = iprot.readListBegin() + for _i1158 in xrange(_size1154): + _elem1159 = iprot.readString() + self.success.append(_elem1159) iprot.readListEnd() else: iprot.skip(ftype) @@ -29301,8 +29173,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 iter1169 in self.success: - oprot.writeString(iter1169) + for iter1160 in self.success: + oprot.writeString(iter1160) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -32486,10 +32358,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1173, _size1170) = iprot.readListBegin() - for _i1174 in xrange(_size1170): - _elem1175 = iprot.readString() - self.success.append(_elem1175) + (_etype1164, _size1161) = iprot.readListBegin() + for _i1165 in xrange(_size1161): + _elem1166 = iprot.readString() + self.success.append(_elem1166) iprot.readListEnd() else: iprot.skip(ftype) @@ -32512,8 +32384,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 iter1176 in self.success: - oprot.writeString(iter1176) + for iter1167 in self.success: + oprot.writeString(iter1167) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33201,10 +33073,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1180, _size1177) = iprot.readListBegin() - for _i1181 in xrange(_size1177): - _elem1182 = iprot.readString() - self.success.append(_elem1182) + (_etype1171, _size1168) = iprot.readListBegin() + for _i1172 in xrange(_size1168): + _elem1173 = iprot.readString() + self.success.append(_elem1173) iprot.readListEnd() else: iprot.skip(ftype) @@ -33227,8 +33099,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 iter1183 in self.success: - oprot.writeString(iter1183) + for iter1174 in self.success: + oprot.writeString(iter1174) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33742,11 +33614,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1187, _size1184) = iprot.readListBegin() - for _i1188 in xrange(_size1184): - _elem1189 = Role() - _elem1189.read(iprot) - self.success.append(_elem1189) + (_etype1178, _size1175) = iprot.readListBegin() + for _i1179 in xrange(_size1175): + _elem1180 = Role() + _elem1180.read(iprot) + self.success.append(_elem1180) iprot.readListEnd() else: iprot.skip(ftype) @@ -33769,8 +33641,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 iter1190 in self.success: - iter1190.write(oprot) + for iter1181 in self.success: + iter1181.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34279,10 +34151,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1194, _size1191) = iprot.readListBegin() - for _i1195 in xrange(_size1191): - _elem1196 = iprot.readString() - self.group_names.append(_elem1196) + (_etype1185, _size1182) = iprot.readListBegin() + for _i1186 in xrange(_size1182): + _elem1187 = iprot.readString() + self.group_names.append(_elem1187) iprot.readListEnd() else: iprot.skip(ftype) @@ -34307,8 +34179,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 iter1197 in self.group_names: - oprot.writeString(iter1197) + for iter1188 in self.group_names: + oprot.writeString(iter1188) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -34535,11 +34407,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1201, _size1198) = iprot.readListBegin() - for _i1202 in xrange(_size1198): - _elem1203 = HiveObjectPrivilege() - _elem1203.read(iprot) - self.success.append(_elem1203) + (_etype1192, _size1189) = iprot.readListBegin() + for _i1193 in xrange(_size1189): + _elem1194 = HiveObjectPrivilege() + _elem1194.read(iprot) + self.success.append(_elem1194) iprot.readListEnd() else: iprot.skip(ftype) @@ -34562,8 +34434,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 iter1204 in self.success: - iter1204.write(oprot) + for iter1195 in self.success: + iter1195.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35061,10 +34933,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1208, _size1205) = iprot.readListBegin() - for _i1209 in xrange(_size1205): - _elem1210 = iprot.readString() - self.group_names.append(_elem1210) + (_etype1199, _size1196) = iprot.readListBegin() + for _i1200 in xrange(_size1196): + _elem1201 = iprot.readString() + self.group_names.append(_elem1201) iprot.readListEnd() else: iprot.skip(ftype) @@ -35085,8 +34957,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 iter1211 in self.group_names: - oprot.writeString(iter1211) + for iter1202 in self.group_names: + oprot.writeString(iter1202) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -35141,10 +35013,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1215, _size1212) = iprot.readListBegin() - for _i1216 in xrange(_size1212): - _elem1217 = iprot.readString() - self.success.append(_elem1217) + (_etype1206, _size1203) = iprot.readListBegin() + for _i1207 in xrange(_size1203): + _elem1208 = iprot.readString() + self.success.append(_elem1208) iprot.readListEnd() else: iprot.skip(ftype) @@ -35167,8 +35039,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 iter1218 in self.success: - oprot.writeString(iter1218) + for iter1209 in self.success: + oprot.writeString(iter1209) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36100,10 +35972,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1222, _size1219) = iprot.readListBegin() - for _i1223 in xrange(_size1219): - _elem1224 = iprot.readString() - self.success.append(_elem1224) + (_etype1213, _size1210) = iprot.readListBegin() + for _i1214 in xrange(_size1210): + _elem1215 = iprot.readString() + self.success.append(_elem1215) iprot.readListEnd() else: iprot.skip(ftype) @@ -36120,8 +35992,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 iter1225 in self.success: - oprot.writeString(iter1225) + for iter1216 in self.success: + oprot.writeString(iter1216) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36648,10 +36520,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1229, _size1226) = iprot.readListBegin() - for _i1230 in xrange(_size1226): - _elem1231 = iprot.readString() - self.success.append(_elem1231) + (_etype1220, _size1217) = iprot.readListBegin() + for _i1221 in xrange(_size1217): + _elem1222 = iprot.readString() + self.success.append(_elem1222) iprot.readListEnd() else: iprot.skip(ftype) @@ -36668,8 +36540,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 iter1232 in self.success: - oprot.writeString(iter1232) + for iter1223 in self.success: + oprot.writeString(iter1223) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -38878,344 +38750,6 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class get_last_completed_transaction_for_tables_args: - """ - Attributes: - - db_names - - table_names - - txns_snapshot - """ - - thrift_spec = ( - None, # 0 - (1, TType.LIST, 'db_names', (TType.STRING,None), None, ), # 1 - (2, TType.LIST, 'table_names', (TType.STRING,None), None, ), # 2 - (3, TType.STRUCT, 'txns_snapshot', (TxnsSnapshot, TxnsSnapshot.thrift_spec), None, ), # 3 - ) - - def __init__(self, db_names=None, table_names=None, txns_snapshot=None,): - self.db_names = db_names - self.table_names = table_names - self.txns_snapshot = txns_snapshot - - 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.db_names = [] - (_etype1236, _size1233) = iprot.readListBegin() - for _i1237 in xrange(_size1233): - _elem1238 = iprot.readString() - self.db_names.append(_elem1238) - iprot.readListEnd() - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.LIST: - self.table_names = [] - (_etype1242, _size1239) = iprot.readListBegin() - for _i1243 in xrange(_size1239): - _elem1244 = iprot.readString() - self.table_names.append(_elem1244) - iprot.readListEnd() - else: - iprot.skip(ftype) - elif fid == 3: - if ftype == TType.STRUCT: - self.txns_snapshot = TxnsSnapshot() - self.txns_snapshot.read(iprot) - else: - iprot.skip(ftype) - else: - iprot.skip(ftype) - iprot.readFieldEnd() - iprot.readStructEnd() - - def write(self, oprot): - if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: - oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) - return - oprot.writeStructBegin('get_last_completed_transaction_for_tables_args') - if self.db_names is not None: - oprot.writeFieldBegin('db_names', TType.LIST, 1) - oprot.writeListBegin(TType.STRING, len(self.db_names)) - for iter1245 in self.db_names: - oprot.writeString(iter1245) - oprot.writeListEnd() - oprot.writeFieldEnd() - if self.table_names is not None: - oprot.writeFieldBegin('table_names', TType.LIST, 2) - oprot.writeListBegin(TType.STRING, len(self.table_names)) - for iter1246 in self.table_names: - oprot.writeString(iter1246) - oprot.writeListEnd() - oprot.writeFieldEnd() - if self.txns_snapshot is not None: - oprot.writeFieldBegin('txns_snapshot', TType.STRUCT, 3) - self.txns_snapshot.write(oprot) - oprot.writeFieldEnd() - oprot.writeFieldStop() - oprot.writeStructEnd() - - def validate(self): - return - - - def __hash__(self): - value = 17 - value = (value * 31) ^ hash(self.db_names) - value = (value * 31) ^ hash(self.table_names) - value = (value * 31) ^ hash(self.txns_snapshot) - return value - - def __repr__(self): - L = ['%s=%r' % (key, value) - for key, value in self.__dict__.iteritems()] - return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) - - def __eq__(self, other): - return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ - - def __ne__(self, other): - return not (self == other) - -class get_last_completed_transaction_for_tables_result: - """ - Attributes: - - success - """ - - thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRUCT,(BasicTxnInfo, BasicTxnInfo.thrift_spec)), None, ), # 0 - ) - - def __init__(self, success=None,): - self.success = success - - def read(self, iprot): - if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: - fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) - return - iprot.readStructBegin() - while True: - (fname, ftype, fid) = iprot.readFieldBegin() - if ftype == TType.STOP: - break - if fid == 0: - if ftype == TType.LIST: - self.success = [] - (_etype1250, _size1247) = iprot.readListBegin() - for _i1251 in xrange(_size1247): - _elem1252 = BasicTxnInfo() - _elem1252.read(iprot) - self.success.append(_elem1252) - iprot.readListEnd() - else: - iprot.skip(ftype) - else: - iprot.skip(ftype) - iprot.readFieldEnd() - iprot.readStructEnd() - - def write(self, oprot): - if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: - oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) - return - oprot.writeStructBegin('get_last_completed_transaction_for_tables_result') - if self.success is not None: - oprot.writeFieldBegin('success', TType.LIST, 0) - oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1253 in self.success: - iter1253.write(oprot) - oprot.writeListEnd() - oprot.writeFieldEnd() - oprot.writeFieldStop() - oprot.writeStructEnd() - - def validate(self): - return - - - def __hash__(self): - value = 17 - value = (value * 31) ^ hash(self.success) - return value - - def __repr__(self): - L = ['%s=%r' % (key, value) - for key, value in self.__dict__.iteritems()] - return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) - - def __eq__(self, other): - return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ - - def __ne__(self, other): - return not (self == other) - -class get_last_completed_transaction_for_table_args: - """ - Attributes: - - db_name - - table_name - - txns_snapshot - """ - - thrift_spec = ( - None, # 0 - (1, TType.STRING, 'db_name', None, None, ), # 1 - (2, TType.STRING, 'table_name', None, None, ), # 2 - (3, TType.STRUCT, 'txns_snapshot', (TxnsSnapshot, TxnsSnapshot.thrift_spec), None, ), # 3 - ) - - def __init__(self, db_name=None, table_name=None, txns_snapshot=None,): - self.db_name = db_name - self.table_name = table_name - self.txns_snapshot = txns_snapshot - - def read(self, iprot): - if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: - fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) - return - iprot.readStructBegin() - while True: - (fname, ftype, fid) = iprot.readFieldBegin() - if ftype == TType.STOP: - break - if fid == 1: - if ftype == TType.STRING: - self.db_name = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.STRING: - self.table_name = iprot.readString() - else: - iprot.skip(ftype) - elif fid == 3: - if ftype == TType.STRUCT: - self.txns_snapshot = TxnsSnapshot() - self.txns_snapshot.read(iprot) - else: - iprot.skip(ftype) - else: - iprot.skip(ftype) - iprot.readFieldEnd() - iprot.readStructEnd() - - def write(self, oprot): - if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: - oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) - return - oprot.writeStructBegin('get_last_completed_transaction_for_table_args') - if self.db_name is not None: - oprot.writeFieldBegin('db_name', TType.STRING, 1) - oprot.writeString(self.db_name) - oprot.writeFieldEnd() - if self.table_name is not None: - oprot.writeFieldBegin('table_name', TType.STRING, 2) - oprot.writeString(self.table_name) - oprot.writeFieldEnd() - if self.txns_snapshot is not None: - oprot.writeFieldBegin('txns_snapshot', TType.STRUCT, 3) - self.txns_snapshot.write(oprot) - oprot.writeFieldEnd() - oprot.writeFieldStop() - oprot.writeStructEnd() - - def validate(self): - return - - - def __hash__(self): - value = 17 - value = (value * 31) ^ hash(self.db_name) - value = (value * 31) ^ hash(self.table_name) - value = (value * 31) ^ hash(self.txns_snapshot) - return value - - def __repr__(self): - L = ['%s=%r' % (key, value) - for key, value in self.__dict__.iteritems()] - return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) - - def __eq__(self, other): - return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ - - def __ne__(self, other): - return not (self == other) - -class get_last_completed_transaction_for_table_result: - """ - Attributes: - - success - """ - - thrift_spec = ( - (0, TType.STRUCT, 'success', (BasicTxnInfo, BasicTxnInfo.thrift_spec), None, ), # 0 - ) - - def __init__(self, success=None,): - self.success = success - - def read(self, iprot): - if iprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and isinstance(iprot.trans, TTransport.CReadableTransport) and self.thrift_spec is not None and fastbinary is not None: - fastbinary.decode_binary(self, iprot.trans, (self.__class__, self.thrift_spec)) - return - iprot.readStructBegin() - while True: - (fname, ftype, fid) = iprot.readFieldBegin() - if ftype == TType.STOP: - break - if fid == 0: - if ftype == TType.STRUCT: - self.success = BasicTxnInfo() - self.success.read(iprot) - else: - iprot.skip(ftype) - else: - iprot.skip(ftype) - iprot.readFieldEnd() - iprot.readStructEnd() - - def write(self, oprot): - if oprot.__class__ == TBinaryProtocol.TBinaryProtocolAccelerated and self.thrift_spec is not None and fastbinary is not None: - oprot.trans.write(fastbinary.encode_binary(self, (self.__class__, self.thrift_spec))) - return - oprot.writeStructBegin('get_last_completed_transaction_for_table_result') - if self.success is not None: - oprot.writeFieldBegin('success', TType.STRUCT, 0) - self.success.write(oprot) - oprot.writeFieldEnd() - oprot.writeFieldStop() - oprot.writeStructEnd() - - def validate(self): - return - - - def __hash__(self): - value = 17 - value = (value * 31) ^ hash(self.success) - return value - - def __repr__(self): - L = ['%s=%r' % (key, value) - for key, value in self.__dict__.iteritems()] - return '%s(%s)' % (self.__class__.__name__, ', '.join(L)) - - def __eq__(self, other): - return isinstance(other, self.__class__) and self.__dict__ == other.__dict__ - - def __ne__(self, other): - return not (self == other) - class get_next_notification_args: """ Attributes: diff --git a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py index 25e9a889b2..5598859042 100644 --- a/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py +++ b/standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py @@ -3487,7 +3487,7 @@ class Table: (13, TType.STRUCT, 'privileges', (PrincipalPrivilegeSet, PrincipalPrivilegeSet.thrift_spec), None, ), # 13 (14, TType.BOOL, 'temporary', None, False, ), # 14 (15, TType.BOOL, 'rewriteEnabled', None, None, ), # 15 - (16, TType.MAP, 'creationMetadata', (TType.STRING,None,TType.STRUCT,(BasicTxnInfo, BasicTxnInfo.thrift_spec)), None, ), # 16 + (16, TType.STRUCT, 'creationMetadata', (CreationMetadata, CreationMetadata.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], rewriteEnabled=None, creationMetadata=None,): @@ -3607,15 +3607,9 @@ def read(self, iprot): else: iprot.skip(ftype) elif fid == 16: - if ftype == TType.MAP: - self.creationMetadata = {} - (_ktype182, _vtype183, _size181 ) = iprot.readMapBegin() - for _i185 in xrange(_size181): - _key186 = iprot.readString() - _val187 = BasicTxnInfo() - _val187.read(iprot) - self.creationMetadata[_key186] = _val187 - iprot.readMapEnd() + if ftype == TType.STRUCT: + self.creationMetadata = CreationMetadata() + self.creationMetadata.read(iprot) else: iprot.skip(ftype) else: @@ -3659,16 +3653,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 iter188 in self.partitionKeys: - iter188.write(oprot) + for iter181 in self.partitionKeys: + iter181.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 kiter189,viter190 in self.parameters.items(): - oprot.writeString(kiter189) - oprot.writeString(viter190) + for kiter182,viter183 in self.parameters.items(): + oprot.writeString(kiter182) + oprot.writeString(viter183) oprot.writeMapEnd() oprot.writeFieldEnd() if self.viewOriginalText is not None: @@ -3696,12 +3690,8 @@ def write(self, oprot): oprot.writeBool(self.rewriteEnabled) oprot.writeFieldEnd() if self.creationMetadata is not None: - oprot.writeFieldBegin('creationMetadata', TType.MAP, 16) - oprot.writeMapBegin(TType.STRING, TType.STRUCT, len(self.creationMetadata)) - for kiter191,viter192 in self.creationMetadata.items(): - oprot.writeString(kiter191) - viter192.write(oprot) - oprot.writeMapEnd() + oprot.writeFieldBegin('creationMetadata', TType.STRUCT, 16) + self.creationMetadata.write(oprot) oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -3788,10 +3778,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype196, _size193) = iprot.readListBegin() - for _i197 in xrange(_size193): - _elem198 = iprot.readString() - self.values.append(_elem198) + (_etype187, _size184) = iprot.readListBegin() + for _i188 in xrange(_size184): + _elem189 = iprot.readString() + self.values.append(_elem189) iprot.readListEnd() else: iprot.skip(ftype) @@ -3824,11 +3814,11 @@ def read(self, iprot): elif fid == 7: if ftype == TType.MAP: self.parameters = {} - (_ktype200, _vtype201, _size199 ) = iprot.readMapBegin() - for _i203 in xrange(_size199): - _key204 = iprot.readString() - _val205 = iprot.readString() - self.parameters[_key204] = _val205 + (_ktype191, _vtype192, _size190 ) = iprot.readMapBegin() + for _i194 in xrange(_size190): + _key195 = iprot.readString() + _val196 = iprot.readString() + self.parameters[_key195] = _val196 iprot.readMapEnd() else: iprot.skip(ftype) @@ -3851,8 +3841,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 iter206 in self.values: - oprot.writeString(iter206) + for iter197 in self.values: + oprot.writeString(iter197) oprot.writeListEnd() oprot.writeFieldEnd() if self.dbName is not None: @@ -3878,9 +3868,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 kiter207,viter208 in self.parameters.items(): - oprot.writeString(kiter207) - oprot.writeString(viter208) + for kiter198,viter199 in self.parameters.items(): + oprot.writeString(kiter198) + oprot.writeString(viter199) oprot.writeMapEnd() oprot.writeFieldEnd() if self.privileges is not None: @@ -3958,10 +3948,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype212, _size209) = iprot.readListBegin() - for _i213 in xrange(_size209): - _elem214 = iprot.readString() - self.values.append(_elem214) + (_etype203, _size200) = iprot.readListBegin() + for _i204 in xrange(_size200): + _elem205 = iprot.readString() + self.values.append(_elem205) iprot.readListEnd() else: iprot.skip(ftype) @@ -3983,11 +3973,11 @@ def read(self, iprot): elif fid == 5: if ftype == TType.MAP: self.parameters = {} - (_ktype216, _vtype217, _size215 ) = iprot.readMapBegin() - for _i219 in xrange(_size215): - _key220 = iprot.readString() - _val221 = iprot.readString() - self.parameters[_key220] = _val221 + (_ktype207, _vtype208, _size206 ) = iprot.readMapBegin() + for _i210 in xrange(_size206): + _key211 = iprot.readString() + _val212 = iprot.readString() + self.parameters[_key211] = _val212 iprot.readMapEnd() else: iprot.skip(ftype) @@ -4010,8 +4000,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 iter222 in self.values: - oprot.writeString(iter222) + for iter213 in self.values: + oprot.writeString(iter213) oprot.writeListEnd() oprot.writeFieldEnd() if self.createTime is not None: @@ -4029,9 +4019,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 kiter223,viter224 in self.parameters.items(): - oprot.writeString(kiter223) - oprot.writeString(viter224) + for kiter214,viter215 in self.parameters.items(): + oprot.writeString(kiter214) + oprot.writeString(viter215) oprot.writeMapEnd() oprot.writeFieldEnd() if self.privileges is not None: @@ -4095,11 +4085,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype228, _size225) = iprot.readListBegin() - for _i229 in xrange(_size225): - _elem230 = PartitionWithoutSD() - _elem230.read(iprot) - self.partitions.append(_elem230) + (_etype219, _size216) = iprot.readListBegin() + for _i220 in xrange(_size216): + _elem221 = PartitionWithoutSD() + _elem221.read(iprot) + self.partitions.append(_elem221) iprot.readListEnd() else: iprot.skip(ftype) @@ -4122,8 +4112,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 iter231 in self.partitions: - iter231.write(oprot) + for iter222 in self.partitions: + iter222.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.sd is not None: @@ -4180,11 +4170,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype235, _size232) = iprot.readListBegin() - for _i236 in xrange(_size232): - _elem237 = Partition() - _elem237.read(iprot) - self.partitions.append(_elem237) + (_etype226, _size223) = iprot.readListBegin() + for _i227 in xrange(_size223): + _elem228 = Partition() + _elem228.read(iprot) + self.partitions.append(_elem228) iprot.readListEnd() else: iprot.skip(ftype) @@ -4201,8 +4191,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 iter238 in self.partitions: - iter238.write(oprot) + for iter229 in self.partitions: + iter229.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -4441,11 +4431,11 @@ def read(self, iprot): elif fid == 9: if ftype == TType.MAP: self.parameters = {} - (_ktype240, _vtype241, _size239 ) = iprot.readMapBegin() - for _i243 in xrange(_size239): - _key244 = iprot.readString() - _val245 = iprot.readString() - self.parameters[_key244] = _val245 + (_ktype231, _vtype232, _size230 ) = iprot.readMapBegin() + for _i234 in xrange(_size230): + _key235 = iprot.readString() + _val236 = iprot.readString() + self.parameters[_key235] = _val236 iprot.readMapEnd() else: iprot.skip(ftype) @@ -4499,9 +4489,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 kiter246,viter247 in self.parameters.items(): - oprot.writeString(kiter246) - oprot.writeString(viter247) + for kiter237,viter238 in self.parameters.items(): + oprot.writeString(kiter237) + oprot.writeString(viter238) oprot.writeMapEnd() oprot.writeFieldEnd() if self.deferredRebuild is not None: @@ -5929,11 +5919,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.statsObj = [] - (_etype251, _size248) = iprot.readListBegin() - for _i252 in xrange(_size248): - _elem253 = ColumnStatisticsObj() - _elem253.read(iprot) - self.statsObj.append(_elem253) + (_etype242, _size239) = iprot.readListBegin() + for _i243 in xrange(_size239): + _elem244 = ColumnStatisticsObj() + _elem244.read(iprot) + self.statsObj.append(_elem244) iprot.readListEnd() else: iprot.skip(ftype) @@ -5954,8 +5944,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 iter254 in self.statsObj: - iter254.write(oprot) + for iter245 in self.statsObj: + iter245.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6015,11 +6005,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.colStats = [] - (_etype258, _size255) = iprot.readListBegin() - for _i259 in xrange(_size255): - _elem260 = ColumnStatisticsObj() - _elem260.read(iprot) - self.colStats.append(_elem260) + (_etype249, _size246) = iprot.readListBegin() + for _i250 in xrange(_size246): + _elem251 = ColumnStatisticsObj() + _elem251.read(iprot) + self.colStats.append(_elem251) iprot.readListEnd() else: iprot.skip(ftype) @@ -6041,8 +6031,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 iter261 in self.colStats: - iter261.write(oprot) + for iter252 in self.colStats: + iter252.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.partsFound is not None: @@ -6106,11 +6096,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.colStats = [] - (_etype265, _size262) = iprot.readListBegin() - for _i266 in xrange(_size262): - _elem267 = ColumnStatistics() - _elem267.read(iprot) - self.colStats.append(_elem267) + (_etype256, _size253) = iprot.readListBegin() + for _i257 in xrange(_size253): + _elem258 = ColumnStatistics() + _elem258.read(iprot) + self.colStats.append(_elem258) iprot.readListEnd() else: iprot.skip(ftype) @@ -6132,8 +6122,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 iter268 in self.colStats: - iter268.write(oprot) + for iter259 in self.colStats: + iter259.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.needMerge is not None: @@ -6195,22 +6185,22 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fieldSchemas = [] - (_etype272, _size269) = iprot.readListBegin() - for _i273 in xrange(_size269): - _elem274 = FieldSchema() - _elem274.read(iprot) - self.fieldSchemas.append(_elem274) + (_etype263, _size260) = iprot.readListBegin() + for _i264 in xrange(_size260): + _elem265 = FieldSchema() + _elem265.read(iprot) + self.fieldSchemas.append(_elem265) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.MAP: self.properties = {} - (_ktype276, _vtype277, _size275 ) = iprot.readMapBegin() - for _i279 in xrange(_size275): - _key280 = iprot.readString() - _val281 = iprot.readString() - self.properties[_key280] = _val281 + (_ktype267, _vtype268, _size266 ) = iprot.readMapBegin() + for _i270 in xrange(_size266): + _key271 = iprot.readString() + _val272 = iprot.readString() + self.properties[_key271] = _val272 iprot.readMapEnd() else: iprot.skip(ftype) @@ -6227,16 +6217,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 iter282 in self.fieldSchemas: - iter282.write(oprot) + for iter273 in self.fieldSchemas: + iter273.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 kiter283,viter284 in self.properties.items(): - oprot.writeString(kiter283) - oprot.writeString(viter284) + for kiter274,viter275 in self.properties.items(): + oprot.writeString(kiter274) + oprot.writeString(viter275) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6289,11 +6279,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.properties = {} - (_ktype286, _vtype287, _size285 ) = iprot.readMapBegin() - for _i289 in xrange(_size285): - _key290 = iprot.readString() - _val291 = iprot.readString() - self.properties[_key290] = _val291 + (_ktype277, _vtype278, _size276 ) = iprot.readMapBegin() + for _i280 in xrange(_size276): + _key281 = iprot.readString() + _val282 = iprot.readString() + self.properties[_key281] = _val282 iprot.readMapEnd() else: iprot.skip(ftype) @@ -6310,9 +6300,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 kiter292,viter293 in self.properties.items(): - oprot.writeString(kiter292) - oprot.writeString(viter293) + for kiter283,viter284 in self.properties.items(): + oprot.writeString(kiter283) + oprot.writeString(viter284) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6446,11 +6436,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.primaryKeys = [] - (_etype297, _size294) = iprot.readListBegin() - for _i298 in xrange(_size294): - _elem299 = SQLPrimaryKey() - _elem299.read(iprot) - self.primaryKeys.append(_elem299) + (_etype288, _size285) = iprot.readListBegin() + for _i289 in xrange(_size285): + _elem290 = SQLPrimaryKey() + _elem290.read(iprot) + self.primaryKeys.append(_elem290) iprot.readListEnd() else: iprot.skip(ftype) @@ -6467,8 +6457,8 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter300 in self.primaryKeys: - iter300.write(oprot) + for iter291 in self.primaryKeys: + iter291.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6626,11 +6616,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.foreignKeys = [] - (_etype304, _size301) = iprot.readListBegin() - for _i305 in xrange(_size301): - _elem306 = SQLForeignKey() - _elem306.read(iprot) - self.foreignKeys.append(_elem306) + (_etype295, _size292) = iprot.readListBegin() + for _i296 in xrange(_size292): + _elem297 = SQLForeignKey() + _elem297.read(iprot) + self.foreignKeys.append(_elem297) iprot.readListEnd() else: iprot.skip(ftype) @@ -6647,8 +6637,8 @@ def write(self, oprot): if self.foreignKeys is not None: oprot.writeFieldBegin('foreignKeys', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeys)) - for iter307 in self.foreignKeys: - iter307.write(oprot) + for iter298 in self.foreignKeys: + iter298.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6784,11 +6774,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype311, _size308) = iprot.readListBegin() - for _i312 in xrange(_size308): - _elem313 = SQLUniqueConstraint() - _elem313.read(iprot) - self.uniqueConstraints.append(_elem313) + (_etype302, _size299) = iprot.readListBegin() + for _i303 in xrange(_size299): + _elem304 = SQLUniqueConstraint() + _elem304.read(iprot) + self.uniqueConstraints.append(_elem304) iprot.readListEnd() else: iprot.skip(ftype) @@ -6805,8 +6795,8 @@ def write(self, oprot): if self.uniqueConstraints is not None: oprot.writeFieldBegin('uniqueConstraints', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraints)) - for iter314 in self.uniqueConstraints: - iter314.write(oprot) + for iter305 in self.uniqueConstraints: + iter305.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -6942,11 +6932,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype318, _size315) = iprot.readListBegin() - for _i319 in xrange(_size315): - _elem320 = SQLNotNullConstraint() - _elem320.read(iprot) - self.notNullConstraints.append(_elem320) + (_etype309, _size306) = iprot.readListBegin() + for _i310 in xrange(_size306): + _elem311 = SQLNotNullConstraint() + _elem311.read(iprot) + self.notNullConstraints.append(_elem311) iprot.readListEnd() else: iprot.skip(ftype) @@ -6963,8 +6953,8 @@ def write(self, oprot): if self.notNullConstraints is not None: oprot.writeFieldBegin('notNullConstraints', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraints)) - for iter321 in self.notNullConstraints: - iter321.write(oprot) + for iter312 in self.notNullConstraints: + iter312.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7115,11 +7105,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.primaryKeyCols = [] - (_etype325, _size322) = iprot.readListBegin() - for _i326 in xrange(_size322): - _elem327 = SQLPrimaryKey() - _elem327.read(iprot) - self.primaryKeyCols.append(_elem327) + (_etype316, _size313) = iprot.readListBegin() + for _i317 in xrange(_size313): + _elem318 = SQLPrimaryKey() + _elem318.read(iprot) + self.primaryKeyCols.append(_elem318) iprot.readListEnd() else: iprot.skip(ftype) @@ -7136,8 +7126,8 @@ def write(self, oprot): if self.primaryKeyCols is not None: oprot.writeFieldBegin('primaryKeyCols', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeyCols)) - for iter328 in self.primaryKeyCols: - iter328.write(oprot) + for iter319 in self.primaryKeyCols: + iter319.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7191,11 +7181,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.foreignKeyCols = [] - (_etype332, _size329) = iprot.readListBegin() - for _i333 in xrange(_size329): - _elem334 = SQLForeignKey() - _elem334.read(iprot) - self.foreignKeyCols.append(_elem334) + (_etype323, _size320) = iprot.readListBegin() + for _i324 in xrange(_size320): + _elem325 = SQLForeignKey() + _elem325.read(iprot) + self.foreignKeyCols.append(_elem325) iprot.readListEnd() else: iprot.skip(ftype) @@ -7212,8 +7202,8 @@ def write(self, oprot): if self.foreignKeyCols is not None: oprot.writeFieldBegin('foreignKeyCols', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.foreignKeyCols)) - for iter335 in self.foreignKeyCols: - iter335.write(oprot) + for iter326 in self.foreignKeyCols: + iter326.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7267,11 +7257,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.uniqueConstraintCols = [] - (_etype339, _size336) = iprot.readListBegin() - for _i340 in xrange(_size336): - _elem341 = SQLUniqueConstraint() - _elem341.read(iprot) - self.uniqueConstraintCols.append(_elem341) + (_etype330, _size327) = iprot.readListBegin() + for _i331 in xrange(_size327): + _elem332 = SQLUniqueConstraint() + _elem332.read(iprot) + self.uniqueConstraintCols.append(_elem332) iprot.readListEnd() else: iprot.skip(ftype) @@ -7288,8 +7278,8 @@ def write(self, oprot): if self.uniqueConstraintCols is not None: oprot.writeFieldBegin('uniqueConstraintCols', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.uniqueConstraintCols)) - for iter342 in self.uniqueConstraintCols: - iter342.write(oprot) + for iter333 in self.uniqueConstraintCols: + iter333.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7343,11 +7333,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.notNullConstraintCols = [] - (_etype346, _size343) = iprot.readListBegin() - for _i347 in xrange(_size343): - _elem348 = SQLNotNullConstraint() - _elem348.read(iprot) - self.notNullConstraintCols.append(_elem348) + (_etype337, _size334) = iprot.readListBegin() + for _i338 in xrange(_size334): + _elem339 = SQLNotNullConstraint() + _elem339.read(iprot) + self.notNullConstraintCols.append(_elem339) iprot.readListEnd() else: iprot.skip(ftype) @@ -7364,8 +7354,8 @@ def write(self, oprot): if self.notNullConstraintCols is not None: oprot.writeFieldBegin('notNullConstraintCols', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.notNullConstraintCols)) - for iter349 in self.notNullConstraintCols: - iter349.write(oprot) + for iter340 in self.notNullConstraintCols: + iter340.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7422,11 +7412,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) + (_etype344, _size341) = iprot.readListBegin() + for _i345 in xrange(_size341): + _elem346 = Partition() + _elem346.read(iprot) + self.partitions.append(_elem346) iprot.readListEnd() else: iprot.skip(ftype) @@ -7448,8 +7438,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 iter347 in self.partitions: + iter347.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.hasUnknownPartitions is not None: @@ -7633,11 +7623,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tableStats = [] - (_etype360, _size357) = iprot.readListBegin() - for _i361 in xrange(_size357): - _elem362 = ColumnStatisticsObj() - _elem362.read(iprot) - self.tableStats.append(_elem362) + (_etype351, _size348) = iprot.readListBegin() + for _i352 in xrange(_size348): + _elem353 = ColumnStatisticsObj() + _elem353.read(iprot) + self.tableStats.append(_elem353) iprot.readListEnd() else: iprot.skip(ftype) @@ -7654,8 +7644,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 iter363 in self.tableStats: - iter363.write(oprot) + for iter354 in self.tableStats: + iter354.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7709,17 +7699,17 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partStats = {} - (_ktype365, _vtype366, _size364 ) = iprot.readMapBegin() - for _i368 in xrange(_size364): - _key369 = iprot.readString() - _val370 = [] - (_etype374, _size371) = iprot.readListBegin() - for _i375 in xrange(_size371): - _elem376 = ColumnStatisticsObj() - _elem376.read(iprot) - _val370.append(_elem376) + (_ktype356, _vtype357, _size355 ) = iprot.readMapBegin() + for _i359 in xrange(_size355): + _key360 = iprot.readString() + _val361 = [] + (_etype365, _size362) = iprot.readListBegin() + for _i366 in xrange(_size362): + _elem367 = ColumnStatisticsObj() + _elem367.read(iprot) + _val361.append(_elem367) iprot.readListEnd() - self.partStats[_key369] = _val370 + self.partStats[_key360] = _val361 iprot.readMapEnd() else: iprot.skip(ftype) @@ -7736,11 +7726,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 kiter377,viter378 in self.partStats.items(): - oprot.writeString(kiter377) - oprot.writeListBegin(TType.STRUCT, len(viter378)) - for iter379 in viter378: - iter379.write(oprot) + for kiter368,viter369 in self.partStats.items(): + oprot.writeString(kiter368) + oprot.writeListBegin(TType.STRUCT, len(viter369)) + for iter370 in viter369: + iter370.write(oprot) oprot.writeListEnd() oprot.writeMapEnd() oprot.writeFieldEnd() @@ -7811,10 +7801,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.colNames = [] - (_etype383, _size380) = iprot.readListBegin() - for _i384 in xrange(_size380): - _elem385 = iprot.readString() - self.colNames.append(_elem385) + (_etype374, _size371) = iprot.readListBegin() + for _i375 in xrange(_size371): + _elem376 = iprot.readString() + self.colNames.append(_elem376) iprot.readListEnd() else: iprot.skip(ftype) @@ -7839,8 +7829,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 iter386 in self.colNames: - oprot.writeString(iter386) + for iter377 in self.colNames: + oprot.writeString(iter377) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -7919,20 +7909,20 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.colNames = [] - (_etype390, _size387) = iprot.readListBegin() - for _i391 in xrange(_size387): - _elem392 = iprot.readString() - self.colNames.append(_elem392) + (_etype381, _size378) = iprot.readListBegin() + for _i382 in xrange(_size378): + _elem383 = iprot.readString() + self.colNames.append(_elem383) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.partNames = [] - (_etype396, _size393) = iprot.readListBegin() - for _i397 in xrange(_size393): - _elem398 = iprot.readString() - self.partNames.append(_elem398) + (_etype387, _size384) = iprot.readListBegin() + for _i388 in xrange(_size384): + _elem389 = iprot.readString() + self.partNames.append(_elem389) iprot.readListEnd() else: iprot.skip(ftype) @@ -7957,15 +7947,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 iter399 in self.colNames: - oprot.writeString(iter399) + for iter390 in self.colNames: + oprot.writeString(iter390) oprot.writeListEnd() oprot.writeFieldEnd() if self.partNames is not None: oprot.writeFieldBegin('partNames', TType.LIST, 4) oprot.writeListBegin(TType.STRING, len(self.partNames)) - for iter400 in self.partNames: - oprot.writeString(iter400) + for iter391 in self.partNames: + oprot.writeString(iter391) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8028,11 +8018,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype404, _size401) = iprot.readListBegin() - for _i405 in xrange(_size401): - _elem406 = Partition() - _elem406.read(iprot) - self.partitions.append(_elem406) + (_etype395, _size392) = iprot.readListBegin() + for _i396 in xrange(_size392): + _elem397 = Partition() + _elem397.read(iprot) + self.partitions.append(_elem397) iprot.readListEnd() else: iprot.skip(ftype) @@ -8049,8 +8039,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 iter407 in self.partitions: - iter407.write(oprot) + for iter398 in self.partitions: + iter398.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8124,11 +8114,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.parts = [] - (_etype411, _size408) = iprot.readListBegin() - for _i412 in xrange(_size408): - _elem413 = Partition() - _elem413.read(iprot) - self.parts.append(_elem413) + (_etype402, _size399) = iprot.readListBegin() + for _i403 in xrange(_size399): + _elem404 = Partition() + _elem404.read(iprot) + self.parts.append(_elem404) iprot.readListEnd() else: iprot.skip(ftype) @@ -8163,8 +8153,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 iter414 in self.parts: - iter414.write(oprot) + for iter405 in self.parts: + iter405.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.ifNotExists is not None: @@ -8236,11 +8226,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitions = [] - (_etype418, _size415) = iprot.readListBegin() - for _i419 in xrange(_size415): - _elem420 = Partition() - _elem420.read(iprot) - self.partitions.append(_elem420) + (_etype409, _size406) = iprot.readListBegin() + for _i410 in xrange(_size406): + _elem411 = Partition() + _elem411.read(iprot) + self.partitions.append(_elem411) iprot.readListEnd() else: iprot.skip(ftype) @@ -8257,8 +8247,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 iter421 in self.partitions: - iter421.write(oprot) + for iter412 in self.partitions: + iter412.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8393,21 +8383,21 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.names = [] - (_etype425, _size422) = iprot.readListBegin() - for _i426 in xrange(_size422): - _elem427 = iprot.readString() - self.names.append(_elem427) + (_etype416, _size413) = iprot.readListBegin() + for _i417 in xrange(_size413): + _elem418 = iprot.readString() + self.names.append(_elem418) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.exprs = [] - (_etype431, _size428) = iprot.readListBegin() - for _i432 in xrange(_size428): - _elem433 = DropPartitionsExpr() - _elem433.read(iprot) - self.exprs.append(_elem433) + (_etype422, _size419) = iprot.readListBegin() + for _i423 in xrange(_size419): + _elem424 = DropPartitionsExpr() + _elem424.read(iprot) + self.exprs.append(_elem424) iprot.readListEnd() else: iprot.skip(ftype) @@ -8424,15 +8414,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 iter434 in self.names: - oprot.writeString(iter434) + for iter425 in self.names: + oprot.writeString(iter425) oprot.writeListEnd() oprot.writeFieldEnd() if self.exprs is not None: oprot.writeFieldBegin('exprs', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.exprs)) - for iter435 in self.exprs: - iter435.write(oprot) + for iter426 in self.exprs: + iter426.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8680,11 +8670,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partitionKeys = [] - (_etype439, _size436) = iprot.readListBegin() - for _i440 in xrange(_size436): - _elem441 = FieldSchema() - _elem441.read(iprot) - self.partitionKeys.append(_elem441) + (_etype430, _size427) = iprot.readListBegin() + for _i431 in xrange(_size427): + _elem432 = FieldSchema() + _elem432.read(iprot) + self.partitionKeys.append(_elem432) iprot.readListEnd() else: iprot.skip(ftype) @@ -8701,11 +8691,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.partitionOrder = [] - (_etype445, _size442) = iprot.readListBegin() - for _i446 in xrange(_size442): - _elem447 = FieldSchema() - _elem447.read(iprot) - self.partitionOrder.append(_elem447) + (_etype436, _size433) = iprot.readListBegin() + for _i437 in xrange(_size433): + _elem438 = FieldSchema() + _elem438.read(iprot) + self.partitionOrder.append(_elem438) iprot.readListEnd() else: iprot.skip(ftype) @@ -8740,8 +8730,8 @@ def write(self, oprot): if self.partitionKeys is not None: oprot.writeFieldBegin('partitionKeys', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.partitionKeys)) - for iter448 in self.partitionKeys: - iter448.write(oprot) + for iter439 in self.partitionKeys: + iter439.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.applyDistinct is not None: @@ -8755,8 +8745,8 @@ def write(self, oprot): if self.partitionOrder is not None: oprot.writeFieldBegin('partitionOrder', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.partitionOrder)) - for iter449 in self.partitionOrder: - iter449.write(oprot) + for iter440 in self.partitionOrder: + iter440.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.ascending is not None: @@ -8829,10 +8819,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.row = [] - (_etype453, _size450) = iprot.readListBegin() - for _i454 in xrange(_size450): - _elem455 = iprot.readString() - self.row.append(_elem455) + (_etype444, _size441) = iprot.readListBegin() + for _i445 in xrange(_size441): + _elem446 = iprot.readString() + self.row.append(_elem446) iprot.readListEnd() else: iprot.skip(ftype) @@ -8849,8 +8839,8 @@ def write(self, oprot): if self.row is not None: oprot.writeFieldBegin('row', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.row)) - for iter456 in self.row: - oprot.writeString(iter456) + for iter447 in self.row: + oprot.writeString(iter447) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -8904,11 +8894,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.partitionValues = [] - (_etype460, _size457) = iprot.readListBegin() - for _i461 in xrange(_size457): - _elem462 = PartitionValuesRow() - _elem462.read(iprot) - self.partitionValues.append(_elem462) + (_etype451, _size448) = iprot.readListBegin() + for _i452 in xrange(_size448): + _elem453 = PartitionValuesRow() + _elem453.read(iprot) + self.partitionValues.append(_elem453) iprot.readListEnd() else: iprot.skip(ftype) @@ -8925,8 +8915,8 @@ def write(self, oprot): if self.partitionValues is not None: oprot.writeFieldBegin('partitionValues', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.partitionValues)) - for iter463 in self.partitionValues: - iter463.write(oprot) + for iter454 in self.partitionValues: + iter454.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9114,11 +9104,11 @@ def read(self, iprot): elif fid == 8: if ftype == TType.LIST: self.resourceUris = [] - (_etype467, _size464) = iprot.readListBegin() - for _i468 in xrange(_size464): - _elem469 = ResourceUri() - _elem469.read(iprot) - self.resourceUris.append(_elem469) + (_etype458, _size455) = iprot.readListBegin() + for _i459 in xrange(_size455): + _elem460 = ResourceUri() + _elem460.read(iprot) + self.resourceUris.append(_elem460) iprot.readListEnd() else: iprot.skip(ftype) @@ -9163,8 +9153,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 iter470 in self.resourceUris: - iter470.write(oprot) + for iter461 in self.resourceUris: + iter461.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9408,11 +9398,11 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.open_txns = [] - (_etype474, _size471) = iprot.readListBegin() - for _i475 in xrange(_size471): - _elem476 = TxnInfo() - _elem476.read(iprot) - self.open_txns.append(_elem476) + (_etype465, _size462) = iprot.readListBegin() + for _i466 in xrange(_size462): + _elem467 = TxnInfo() + _elem467.read(iprot) + self.open_txns.append(_elem467) iprot.readListEnd() else: iprot.skip(ftype) @@ -9433,8 +9423,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 iter477 in self.open_txns: - iter477.write(oprot) + for iter468 in self.open_txns: + iter468.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9505,10 +9495,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.open_txns = [] - (_etype481, _size478) = iprot.readListBegin() - for _i482 in xrange(_size478): - _elem483 = iprot.readI64() - self.open_txns.append(_elem483) + (_etype472, _size469) = iprot.readListBegin() + for _i473 in xrange(_size469): + _elem474 = iprot.readI64() + self.open_txns.append(_elem474) iprot.readListEnd() else: iprot.skip(ftype) @@ -9539,8 +9529,8 @@ def write(self, oprot): if self.open_txns is not None: oprot.writeFieldBegin('open_txns', TType.LIST, 2) oprot.writeListBegin(TType.I64, len(self.open_txns)) - for iter484 in self.open_txns: - oprot.writeI64(iter484) + for iter475 in self.open_txns: + oprot.writeI64(iter475) oprot.writeListEnd() oprot.writeFieldEnd() if self.min_open_txn is not None: @@ -9719,10 +9709,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype488, _size485) = iprot.readListBegin() - for _i489 in xrange(_size485): - _elem490 = iprot.readI64() - self.txn_ids.append(_elem490) + (_etype479, _size476) = iprot.readListBegin() + for _i480 in xrange(_size476): + _elem481 = iprot.readI64() + self.txn_ids.append(_elem481) iprot.readListEnd() else: iprot.skip(ftype) @@ -9739,8 +9729,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 iter491 in self.txn_ids: - oprot.writeI64(iter491) + for iter482 in self.txn_ids: + oprot.writeI64(iter482) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -9861,10 +9851,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype495, _size492) = iprot.readListBegin() - for _i496 in xrange(_size492): - _elem497 = iprot.readI64() - self.txn_ids.append(_elem497) + (_etype486, _size483) = iprot.readListBegin() + for _i487 in xrange(_size483): + _elem488 = iprot.readI64() + self.txn_ids.append(_elem488) iprot.readListEnd() else: iprot.skip(ftype) @@ -9881,8 +9871,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 iter498 in self.txn_ids: - oprot.writeI64(iter498) + for iter489 in self.txn_ids: + oprot.writeI64(iter489) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10177,11 +10167,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype502, _size499) = iprot.readListBegin() - for _i503 in xrange(_size499): - _elem504 = LockComponent() - _elem504.read(iprot) - self.component.append(_elem504) + (_etype493, _size490) = iprot.readListBegin() + for _i494 in xrange(_size490): + _elem495 = LockComponent() + _elem495.read(iprot) + self.component.append(_elem495) iprot.readListEnd() else: iprot.skip(ftype) @@ -10218,8 +10208,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 iter505 in self.component: - iter505.write(oprot) + for iter496 in self.component: + iter496.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -10917,11 +10907,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype509, _size506) = iprot.readListBegin() - for _i510 in xrange(_size506): - _elem511 = ShowLocksResponseElement() - _elem511.read(iprot) - self.locks.append(_elem511) + (_etype500, _size497) = iprot.readListBegin() + for _i501 in xrange(_size497): + _elem502 = ShowLocksResponseElement() + _elem502.read(iprot) + self.locks.append(_elem502) iprot.readListEnd() else: iprot.skip(ftype) @@ -10938,8 +10928,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 iter512 in self.locks: - iter512.write(oprot) + for iter503 in self.locks: + iter503.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11154,20 +11144,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype516, _size513) = iprot.readSetBegin() - for _i517 in xrange(_size513): - _elem518 = iprot.readI64() - self.aborted.add(_elem518) + (_etype507, _size504) = iprot.readSetBegin() + for _i508 in xrange(_size504): + _elem509 = iprot.readI64() + self.aborted.add(_elem509) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype522, _size519) = iprot.readSetBegin() - for _i523 in xrange(_size519): - _elem524 = iprot.readI64() - self.nosuch.add(_elem524) + (_etype513, _size510) = iprot.readSetBegin() + for _i514 in xrange(_size510): + _elem515 = iprot.readI64() + self.nosuch.add(_elem515) iprot.readSetEnd() else: iprot.skip(ftype) @@ -11184,15 +11174,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 iter525 in self.aborted: - oprot.writeI64(iter525) + for iter516 in self.aborted: + oprot.writeI64(iter516) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter526 in self.nosuch: - oprot.writeI64(iter526) + for iter517 in self.nosuch: + oprot.writeI64(iter517) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11289,11 +11279,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype528, _vtype529, _size527 ) = iprot.readMapBegin() - for _i531 in xrange(_size527): - _key532 = iprot.readString() - _val533 = iprot.readString() - self.properties[_key532] = _val533 + (_ktype519, _vtype520, _size518 ) = iprot.readMapBegin() + for _i522 in xrange(_size518): + _key523 = iprot.readString() + _val524 = iprot.readString() + self.properties[_key523] = _val524 iprot.readMapEnd() else: iprot.skip(ftype) @@ -11330,9 +11320,9 @@ def write(self, oprot): if self.properties is not None: oprot.writeFieldBegin('properties', TType.MAP, 6) oprot.writeMapBegin(TType.STRING, TType.STRING, len(self.properties)) - for kiter534,viter535 in self.properties.items(): - oprot.writeString(kiter534) - oprot.writeString(viter535) + for kiter525,viter526 in self.properties.items(): + oprot.writeString(kiter525) + oprot.writeString(viter526) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11767,11 +11757,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype539, _size536) = iprot.readListBegin() - for _i540 in xrange(_size536): - _elem541 = ShowCompactResponseElement() - _elem541.read(iprot) - self.compacts.append(_elem541) + (_etype530, _size527) = iprot.readListBegin() + for _i531 in xrange(_size527): + _elem532 = ShowCompactResponseElement() + _elem532.read(iprot) + self.compacts.append(_elem532) iprot.readListEnd() else: iprot.skip(ftype) @@ -11788,8 +11778,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 iter542 in self.compacts: - iter542.write(oprot) + for iter533 in self.compacts: + iter533.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11870,10 +11860,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.partitionnames = [] - (_etype546, _size543) = iprot.readListBegin() - for _i547 in xrange(_size543): - _elem548 = iprot.readString() - self.partitionnames.append(_elem548) + (_etype537, _size534) = iprot.readListBegin() + for _i538 in xrange(_size534): + _elem539 = iprot.readString() + self.partitionnames.append(_elem539) iprot.readListEnd() else: iprot.skip(ftype) @@ -11907,8 +11897,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 iter549 in self.partitionnames: - oprot.writeString(iter549) + for iter540 in self.partitionnames: + oprot.writeString(iter540) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -11954,7 +11944,6 @@ class BasicTxnInfo: """ Attributes: - isnull - - id - time - txnid - dbname @@ -11965,17 +11954,15 @@ class BasicTxnInfo: thrift_spec = ( None, # 0 (1, TType.BOOL, 'isnull', None, None, ), # 1 - (2, TType.I64, 'id', None, None, ), # 2 - (3, TType.I64, 'time', None, None, ), # 3 - (4, TType.I64, 'txnid', None, None, ), # 4 - (5, TType.STRING, 'dbname', None, None, ), # 5 - (6, TType.STRING, 'tablename', None, None, ), # 6 - (7, TType.STRING, 'partitionname', None, None, ), # 7 + (2, TType.I64, 'time', None, None, ), # 2 + (3, TType.I64, 'txnid', None, None, ), # 3 + (4, TType.STRING, 'dbname', None, None, ), # 4 + (5, TType.STRING, 'tablename', None, None, ), # 5 + (6, TType.STRING, 'partitionname', None, None, ), # 6 ) - def __init__(self, isnull=None, id=None, time=None, txnid=None, dbname=None, tablename=None, partitionname=None,): + def __init__(self, isnull=None, time=None, txnid=None, dbname=None, tablename=None, partitionname=None,): self.isnull = isnull - self.id = id self.time = time self.txnid = txnid self.dbname = dbname @@ -11997,31 +11984,26 @@ def read(self, iprot): else: iprot.skip(ftype) elif fid == 2: - if ftype == TType.I64: - self.id = iprot.readI64() - else: - iprot.skip(ftype) - elif fid == 3: if ftype == TType.I64: self.time = iprot.readI64() else: iprot.skip(ftype) - elif fid == 4: + elif fid == 3: if ftype == TType.I64: self.txnid = iprot.readI64() else: iprot.skip(ftype) - elif fid == 5: + elif fid == 4: if ftype == TType.STRING: self.dbname = iprot.readString() else: iprot.skip(ftype) - elif fid == 6: + elif fid == 5: if ftype == TType.STRING: self.tablename = iprot.readString() else: iprot.skip(ftype) - elif fid == 7: + elif fid == 6: if ftype == TType.STRING: self.partitionname = iprot.readString() else: @@ -12040,28 +12022,24 @@ def write(self, oprot): oprot.writeFieldBegin('isnull', TType.BOOL, 1) oprot.writeBool(self.isnull) oprot.writeFieldEnd() - if self.id is not None: - oprot.writeFieldBegin('id', TType.I64, 2) - oprot.writeI64(self.id) - oprot.writeFieldEnd() if self.time is not None: - oprot.writeFieldBegin('time', TType.I64, 3) + oprot.writeFieldBegin('time', TType.I64, 2) oprot.writeI64(self.time) oprot.writeFieldEnd() if self.txnid is not None: - oprot.writeFieldBegin('txnid', TType.I64, 4) + oprot.writeFieldBegin('txnid', TType.I64, 3) oprot.writeI64(self.txnid) oprot.writeFieldEnd() if self.dbname is not None: - oprot.writeFieldBegin('dbname', TType.STRING, 5) + oprot.writeFieldBegin('dbname', TType.STRING, 4) oprot.writeString(self.dbname) oprot.writeFieldEnd() if self.tablename is not None: - oprot.writeFieldBegin('tablename', TType.STRING, 6) + oprot.writeFieldBegin('tablename', TType.STRING, 5) oprot.writeString(self.tablename) oprot.writeFieldEnd() if self.partitionname is not None: - oprot.writeFieldBegin('partitionname', TType.STRING, 7) + oprot.writeFieldBegin('partitionname', TType.STRING, 6) oprot.writeString(self.partitionname) oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12076,7 +12054,6 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.isnull) - value = (value * 31) ^ hash(self.id) value = (value * 31) ^ hash(self.time) value = (value * 31) ^ hash(self.txnid) value = (value * 31) ^ hash(self.dbname) @@ -12095,22 +12072,28 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class TxnsSnapshot: +class CreationMetadata: """ Attributes: - - txn_high_water_mark - - open_txns + - dbName + - tblName + - tablesUsed + - validTxnList """ thrift_spec = ( None, # 0 - (1, TType.I64, 'txn_high_water_mark', None, None, ), # 1 - (2, TType.LIST, 'open_txns', (TType.I64,None), None, ), # 2 + (1, TType.STRING, 'dbName', None, None, ), # 1 + (2, TType.STRING, 'tblName', None, None, ), # 2 + (3, TType.SET, 'tablesUsed', (TType.STRING,None), None, ), # 3 + (4, TType.STRING, 'validTxnList', None, None, ), # 4 ) - def __init__(self, txn_high_water_mark=None, open_txns=None,): - self.txn_high_water_mark = txn_high_water_mark - self.open_txns = open_txns + def __init__(self, dbName=None, tblName=None, tablesUsed=None, validTxnList=None,): + self.dbName = dbName + self.tblName = tblName + self.tablesUsed = tablesUsed + self.validTxnList = validTxnList 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: @@ -12122,18 +12105,28 @@ def read(self, iprot): if ftype == TType.STOP: break if fid == 1: - if ftype == TType.I64: - self.txn_high_water_mark = iprot.readI64() + if ftype == TType.STRING: + self.dbName = iprot.readString() else: iprot.skip(ftype) elif fid == 2: - if ftype == TType.LIST: - self.open_txns = [] - (_etype553, _size550) = iprot.readListBegin() - for _i554 in xrange(_size550): - _elem555 = iprot.readI64() - self.open_txns.append(_elem555) - iprot.readListEnd() + if ftype == TType.STRING: + self.tblName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.SET: + self.tablesUsed = set() + (_etype544, _size541) = iprot.readSetBegin() + for _i545 in xrange(_size541): + _elem546 = iprot.readString() + self.tablesUsed.add(_elem546) + iprot.readSetEnd() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.STRING: + self.validTxnList = iprot.readString() else: iprot.skip(ftype) else: @@ -12145,33 +12138,45 @@ 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('TxnsSnapshot') - if self.txn_high_water_mark is not None: - oprot.writeFieldBegin('txn_high_water_mark', TType.I64, 1) - oprot.writeI64(self.txn_high_water_mark) + oprot.writeStructBegin('CreationMetadata') + if self.dbName is not None: + oprot.writeFieldBegin('dbName', TType.STRING, 1) + oprot.writeString(self.dbName) oprot.writeFieldEnd() - if self.open_txns is not None: - oprot.writeFieldBegin('open_txns', TType.LIST, 2) - oprot.writeListBegin(TType.I64, len(self.open_txns)) - for iter556 in self.open_txns: - oprot.writeI64(iter556) - oprot.writeListEnd() + if self.tblName is not None: + oprot.writeFieldBegin('tblName', TType.STRING, 2) + oprot.writeString(self.tblName) + oprot.writeFieldEnd() + if self.tablesUsed is not None: + oprot.writeFieldBegin('tablesUsed', TType.SET, 3) + oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) + for iter547 in self.tablesUsed: + oprot.writeString(iter547) + oprot.writeSetEnd() + oprot.writeFieldEnd() + if self.validTxnList is not None: + oprot.writeFieldBegin('validTxnList', TType.STRING, 4) + oprot.writeString(self.validTxnList) oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() def validate(self): - if self.txn_high_water_mark is None: - raise TProtocol.TProtocolException(message='Required field txn_high_water_mark is unset!') - if self.open_txns is None: - raise TProtocol.TProtocolException(message='Required field open_txns is unset!') + if self.dbName is None: + raise TProtocol.TProtocolException(message='Required field dbName is unset!') + if self.tblName is None: + raise TProtocol.TProtocolException(message='Required field tblName is unset!') + if self.tablesUsed is None: + raise TProtocol.TProtocolException(message='Required field tablesUsed is unset!') return def __hash__(self): value = 17 - value = (value * 31) ^ hash(self.txn_high_water_mark) - value = (value * 31) ^ hash(self.open_txns) + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tblName) + value = (value * 31) ^ hash(self.tablesUsed) + value = (value * 31) ^ hash(self.validTxnList) return value def __repr__(self): @@ -12442,11 +12447,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype560, _size557) = iprot.readListBegin() - for _i561 in xrange(_size557): - _elem562 = NotificationEvent() - _elem562.read(iprot) - self.events.append(_elem562) + (_etype551, _size548) = iprot.readListBegin() + for _i552 in xrange(_size548): + _elem553 = NotificationEvent() + _elem553.read(iprot) + self.events.append(_elem553) iprot.readListEnd() else: iprot.skip(ftype) @@ -12463,8 +12468,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 iter563 in self.events: - iter563.write(oprot) + for iter554 in self.events: + iter554.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12745,20 +12750,20 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype567, _size564) = iprot.readListBegin() - for _i568 in xrange(_size564): - _elem569 = iprot.readString() - self.filesAdded.append(_elem569) + (_etype558, _size555) = iprot.readListBegin() + for _i559 in xrange(_size555): + _elem560 = iprot.readString() + self.filesAdded.append(_elem560) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype573, _size570) = iprot.readListBegin() - for _i574 in xrange(_size570): - _elem575 = iprot.readString() - self.filesAddedChecksum.append(_elem575) + (_etype564, _size561) = iprot.readListBegin() + for _i565 in xrange(_size561): + _elem566 = iprot.readString() + self.filesAddedChecksum.append(_elem566) iprot.readListEnd() else: iprot.skip(ftype) @@ -12779,15 +12784,15 @@ def write(self, oprot): if self.filesAdded is not None: oprot.writeFieldBegin('filesAdded', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.filesAdded)) - for iter576 in self.filesAdded: - oprot.writeString(iter576) + for iter567 in self.filesAdded: + oprot.writeString(iter567) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter577 in self.filesAddedChecksum: - oprot.writeString(iter577) + for iter568 in self.filesAddedChecksum: + oprot.writeString(iter568) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12942,10 +12947,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype581, _size578) = iprot.readListBegin() - for _i582 in xrange(_size578): - _elem583 = iprot.readString() - self.partitionVals.append(_elem583) + (_etype572, _size569) = iprot.readListBegin() + for _i573 in xrange(_size569): + _elem574 = iprot.readString() + self.partitionVals.append(_elem574) iprot.readListEnd() else: iprot.skip(ftype) @@ -12978,8 +12983,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 iter584 in self.partitionVals: - oprot.writeString(iter584) + for iter575 in self.partitionVals: + oprot.writeString(iter575) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13166,12 +13171,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype586, _vtype587, _size585 ) = iprot.readMapBegin() - for _i589 in xrange(_size585): - _key590 = iprot.readI64() - _val591 = MetadataPpdResult() - _val591.read(iprot) - self.metadata[_key590] = _val591 + (_ktype577, _vtype578, _size576 ) = iprot.readMapBegin() + for _i580 in xrange(_size576): + _key581 = iprot.readI64() + _val582 = MetadataPpdResult() + _val582.read(iprot) + self.metadata[_key581] = _val582 iprot.readMapEnd() else: iprot.skip(ftype) @@ -13193,9 +13198,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 kiter592,viter593 in self.metadata.items(): - oprot.writeI64(kiter592) - viter593.write(oprot) + for kiter583,viter584 in self.metadata.items(): + oprot.writeI64(kiter583) + viter584.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -13265,10 +13270,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype597, _size594) = iprot.readListBegin() - for _i598 in xrange(_size594): - _elem599 = iprot.readI64() - self.fileIds.append(_elem599) + (_etype588, _size585) = iprot.readListBegin() + for _i589 in xrange(_size585): + _elem590 = iprot.readI64() + self.fileIds.append(_elem590) iprot.readListEnd() else: iprot.skip(ftype) @@ -13300,8 +13305,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 iter600 in self.fileIds: - oprot.writeI64(iter600) + for iter591 in self.fileIds: + oprot.writeI64(iter591) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -13375,11 +13380,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype602, _vtype603, _size601 ) = iprot.readMapBegin() - for _i605 in xrange(_size601): - _key606 = iprot.readI64() - _val607 = iprot.readString() - self.metadata[_key606] = _val607 + (_ktype593, _vtype594, _size592 ) = iprot.readMapBegin() + for _i596 in xrange(_size592): + _key597 = iprot.readI64() + _val598 = iprot.readString() + self.metadata[_key597] = _val598 iprot.readMapEnd() else: iprot.skip(ftype) @@ -13401,9 +13406,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 kiter608,viter609 in self.metadata.items(): - oprot.writeI64(kiter608) - oprot.writeString(viter609) + for kiter599,viter600 in self.metadata.items(): + oprot.writeI64(kiter599) + oprot.writeString(viter600) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -13464,10 +13469,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype613, _size610) = iprot.readListBegin() - for _i614 in xrange(_size610): - _elem615 = iprot.readI64() - self.fileIds.append(_elem615) + (_etype604, _size601) = iprot.readListBegin() + for _i605 in xrange(_size601): + _elem606 = iprot.readI64() + self.fileIds.append(_elem606) iprot.readListEnd() else: iprot.skip(ftype) @@ -13484,8 +13489,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 iter616 in self.fileIds: - oprot.writeI64(iter616) + for iter607 in self.fileIds: + oprot.writeI64(iter607) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13591,20 +13596,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype620, _size617) = iprot.readListBegin() - for _i621 in xrange(_size617): - _elem622 = iprot.readI64() - self.fileIds.append(_elem622) + (_etype611, _size608) = iprot.readListBegin() + for _i612 in xrange(_size608): + _elem613 = iprot.readI64() + self.fileIds.append(_elem613) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype626, _size623) = iprot.readListBegin() - for _i627 in xrange(_size623): - _elem628 = iprot.readString() - self.metadata.append(_elem628) + (_etype617, _size614) = iprot.readListBegin() + for _i618 in xrange(_size614): + _elem619 = iprot.readString() + self.metadata.append(_elem619) iprot.readListEnd() else: iprot.skip(ftype) @@ -13626,15 +13631,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 iter629 in self.fileIds: - oprot.writeI64(iter629) + for iter620 in self.fileIds: + oprot.writeI64(iter620) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter630 in self.metadata: - oprot.writeString(iter630) + for iter621 in self.metadata: + oprot.writeString(iter621) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -13742,10 +13747,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype634, _size631) = iprot.readListBegin() - for _i635 in xrange(_size631): - _elem636 = iprot.readI64() - self.fileIds.append(_elem636) + (_etype625, _size622) = iprot.readListBegin() + for _i626 in xrange(_size622): + _elem627 = iprot.readI64() + self.fileIds.append(_elem627) iprot.readListEnd() else: iprot.skip(ftype) @@ -13762,8 +13767,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 iter637 in self.fileIds: - oprot.writeI64(iter637) + for iter628 in self.fileIds: + oprot.writeI64(iter628) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13992,11 +13997,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype641, _size638) = iprot.readListBegin() - for _i642 in xrange(_size638): - _elem643 = Function() - _elem643.read(iprot) - self.functions.append(_elem643) + (_etype632, _size629) = iprot.readListBegin() + for _i633 in xrange(_size629): + _elem634 = Function() + _elem634.read(iprot) + self.functions.append(_elem634) iprot.readListEnd() else: iprot.skip(ftype) @@ -14013,8 +14018,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 iter644 in self.functions: - iter644.write(oprot) + for iter635 in self.functions: + iter635.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14066,10 +14071,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype648, _size645) = iprot.readListBegin() - for _i649 in xrange(_size645): - _elem650 = iprot.readI32() - self.values.append(_elem650) + (_etype639, _size636) = iprot.readListBegin() + for _i640 in xrange(_size636): + _elem641 = iprot.readI32() + self.values.append(_elem641) iprot.readListEnd() else: iprot.skip(ftype) @@ -14086,8 +14091,8 @@ def write(self, oprot): if self.values is not None: oprot.writeFieldBegin('values', TType.LIST, 1) oprot.writeListBegin(TType.I32, len(self.values)) - for iter651 in self.values: - oprot.writeI32(iter651) + for iter642 in self.values: + oprot.writeI32(iter642) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14316,10 +14321,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype655, _size652) = iprot.readListBegin() - for _i656 in xrange(_size652): - _elem657 = iprot.readString() - self.tblNames.append(_elem657) + (_etype646, _size643) = iprot.readListBegin() + for _i647 in xrange(_size643): + _elem648 = iprot.readString() + self.tblNames.append(_elem648) iprot.readListEnd() else: iprot.skip(ftype) @@ -14346,8 +14351,8 @@ def write(self, oprot): if self.tblNames is not None: oprot.writeFieldBegin('tblNames', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tblNames)) - for iter658 in self.tblNames: - oprot.writeString(iter658) + for iter649 in self.tblNames: + oprot.writeString(iter649) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -14407,11 +14412,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype662, _size659) = iprot.readListBegin() - for _i663 in xrange(_size659): - _elem664 = Table() - _elem664.read(iprot) - self.tables.append(_elem664) + (_etype653, _size650) = iprot.readListBegin() + for _i654 in xrange(_size650): + _elem655 = Table() + _elem655.read(iprot) + self.tables.append(_elem655) iprot.readListEnd() else: iprot.skip(ftype) @@ -14428,8 +14433,8 @@ def write(self, oprot): if self.tables is not None: oprot.writeFieldBegin('tables', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tables)) - for iter665 in self.tables: - iter665.write(oprot) + for iter656 in self.tables: + iter656.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14733,10 +14738,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.SET: self.tablesUsed = set() - (_etype669, _size666) = iprot.readSetBegin() - for _i670 in xrange(_size666): - _elem671 = iprot.readString() - self.tablesUsed.add(_elem671) + (_etype660, _size657) = iprot.readSetBegin() + for _i661 in xrange(_size657): + _elem662 = iprot.readString() + self.tablesUsed.add(_elem662) iprot.readSetEnd() else: iprot.skip(ftype) @@ -14762,8 +14767,8 @@ def write(self, oprot): if self.tablesUsed is not None: oprot.writeFieldBegin('tablesUsed', TType.SET, 2) oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter672 in self.tablesUsed: - oprot.writeString(iter672) + for iter663 in self.tablesUsed: + oprot.writeString(iter663) oprot.writeSetEnd() oprot.writeFieldEnd() if self.invalidationTime is not None: @@ -15665,44 +15670,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype676, _size673) = iprot.readListBegin() - for _i677 in xrange(_size673): - _elem678 = WMPool() - _elem678.read(iprot) - self.pools.append(_elem678) + (_etype667, _size664) = iprot.readListBegin() + for _i668 in xrange(_size664): + _elem669 = WMPool() + _elem669.read(iprot) + self.pools.append(_elem669) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype682, _size679) = iprot.readListBegin() - for _i683 in xrange(_size679): - _elem684 = WMMapping() - _elem684.read(iprot) - self.mappings.append(_elem684) + (_etype673, _size670) = iprot.readListBegin() + for _i674 in xrange(_size670): + _elem675 = WMMapping() + _elem675.read(iprot) + self.mappings.append(_elem675) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype688, _size685) = iprot.readListBegin() - for _i689 in xrange(_size685): - _elem690 = WMTrigger() - _elem690.read(iprot) - self.triggers.append(_elem690) + (_etype679, _size676) = iprot.readListBegin() + for _i680 in xrange(_size676): + _elem681 = WMTrigger() + _elem681.read(iprot) + self.triggers.append(_elem681) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype694, _size691) = iprot.readListBegin() - for _i695 in xrange(_size691): - _elem696 = WMPoolTrigger() - _elem696.read(iprot) - self.poolTriggers.append(_elem696) + (_etype685, _size682) = iprot.readListBegin() + for _i686 in xrange(_size682): + _elem687 = WMPoolTrigger() + _elem687.read(iprot) + self.poolTriggers.append(_elem687) iprot.readListEnd() else: iprot.skip(ftype) @@ -15723,29 +15728,29 @@ def write(self, oprot): if self.pools is not None: oprot.writeFieldBegin('pools', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.pools)) - for iter697 in self.pools: - iter697.write(oprot) + for iter688 in self.pools: + iter688.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.mappings is not None: oprot.writeFieldBegin('mappings', TType.LIST, 3) oprot.writeListBegin(TType.STRUCT, len(self.mappings)) - for iter698 in self.mappings: - iter698.write(oprot) + for iter689 in self.mappings: + iter689.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter699 in self.triggers: - iter699.write(oprot) + for iter690 in self.triggers: + iter690.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.poolTriggers is not None: oprot.writeFieldBegin('poolTriggers', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.poolTriggers)) - for iter700 in self.poolTriggers: - iter700.write(oprot) + for iter691 in self.poolTriggers: + iter691.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16219,11 +16224,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype704, _size701) = iprot.readListBegin() - for _i705 in xrange(_size701): - _elem706 = WMResourcePlan() - _elem706.read(iprot) - self.resourcePlans.append(_elem706) + (_etype695, _size692) = iprot.readListBegin() + for _i696 in xrange(_size692): + _elem697 = WMResourcePlan() + _elem697.read(iprot) + self.resourcePlans.append(_elem697) iprot.readListEnd() else: iprot.skip(ftype) @@ -16240,8 +16245,8 @@ def write(self, oprot): if self.resourcePlans is not None: oprot.writeFieldBegin('resourcePlans', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.resourcePlans)) - for iter707 in self.resourcePlans: - iter707.write(oprot) + for iter698 in self.resourcePlans: + iter698.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16545,20 +16550,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype711, _size708) = iprot.readListBegin() - for _i712 in xrange(_size708): - _elem713 = iprot.readString() - self.errors.append(_elem713) + (_etype702, _size699) = iprot.readListBegin() + for _i703 in xrange(_size699): + _elem704 = iprot.readString() + self.errors.append(_elem704) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype717, _size714) = iprot.readListBegin() - for _i718 in xrange(_size714): - _elem719 = iprot.readString() - self.warnings.append(_elem719) + (_etype708, _size705) = iprot.readListBegin() + for _i709 in xrange(_size705): + _elem710 = iprot.readString() + self.warnings.append(_elem710) iprot.readListEnd() else: iprot.skip(ftype) @@ -16575,15 +16580,15 @@ def write(self, oprot): if self.errors is not None: oprot.writeFieldBegin('errors', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.errors)) - for iter720 in self.errors: - oprot.writeString(iter720) + for iter711 in self.errors: + oprot.writeString(iter711) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter721 in self.warnings: - oprot.writeString(iter721) + for iter712 in self.warnings: + oprot.writeString(iter712) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17160,11 +17165,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype725, _size722) = iprot.readListBegin() - for _i726 in xrange(_size722): - _elem727 = WMTrigger() - _elem727.read(iprot) - self.triggers.append(_elem727) + (_etype716, _size713) = iprot.readListBegin() + for _i717 in xrange(_size713): + _elem718 = WMTrigger() + _elem718.read(iprot) + self.triggers.append(_elem718) iprot.readListEnd() else: iprot.skip(ftype) @@ -17181,8 +17186,8 @@ def write(self, oprot): if self.triggers is not None: oprot.writeFieldBegin('triggers', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.triggers)) - for iter728 in self.triggers: - iter728.write(oprot) + for iter719 in self.triggers: + iter719.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() diff --git a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb index 3a11a0582a..bc58cfe0ef 100644 --- a/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb +++ b/standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb @@ -827,7 +827,7 @@ class Table PRIVILEGES => {:type => ::Thrift::Types::STRUCT, :name => 'privileges', :class => ::PrincipalPrivilegeSet, :optional => true}, TEMPORARY => {:type => ::Thrift::Types::BOOL, :name => 'temporary', :default => false, :optional => true}, REWRITEENABLED => {:type => ::Thrift::Types::BOOL, :name => 'rewriteEnabled', :optional => true}, - CREATIONMETADATA => {:type => ::Thrift::Types::MAP, :name => 'creationMetadata', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRUCT, :class => ::BasicTxnInfo}, :optional => true} + CREATIONMETADATA => {:type => ::Thrift::Types::STRUCT, :name => 'creationMetadata', :class => ::CreationMetadata, :optional => true} } def struct_fields; FIELDS; end @@ -2673,16 +2673,14 @@ end class BasicTxnInfo include ::Thrift::Struct, ::Thrift::Struct_Union ISNULL = 1 - ID = 2 - TIME = 3 - TXNID = 4 - DBNAME = 5 - TABLENAME = 6 - PARTITIONNAME = 7 + TIME = 2 + TXNID = 3 + DBNAME = 4 + TABLENAME = 5 + PARTITIONNAME = 6 FIELDS = { ISNULL => {:type => ::Thrift::Types::BOOL, :name => 'isnull'}, - ID => {:type => ::Thrift::Types::I64, :name => 'id', :optional => true}, TIME => {:type => ::Thrift::Types::I64, :name => 'time', :optional => true}, TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid', :optional => true}, DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbname', :optional => true}, @@ -2699,21 +2697,26 @@ class BasicTxnInfo ::Thrift::Struct.generate_accessors self end -class TxnsSnapshot +class CreationMetadata include ::Thrift::Struct, ::Thrift::Struct_Union - TXN_HIGH_WATER_MARK = 1 - OPEN_TXNS = 2 + DBNAME = 1 + TBLNAME = 2 + TABLESUSED = 3 + VALIDTXNLIST = 4 FIELDS = { - TXN_HIGH_WATER_MARK => {:type => ::Thrift::Types::I64, :name => 'txn_high_water_mark'}, - OPEN_TXNS => {:type => ::Thrift::Types::LIST, :name => 'open_txns', :element => {:type => ::Thrift::Types::I64}} + DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, + TBLNAME => {:type => ::Thrift::Types::STRING, :name => 'tblName'}, + TABLESUSED => {:type => ::Thrift::Types::SET, :name => 'tablesUsed', :element => {:type => ::Thrift::Types::STRING}}, + VALIDTXNLIST => {:type => ::Thrift::Types::STRING, :name => 'validTxnList', :optional => true} } def struct_fields; FIELDS; end def validate - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field txn_high_water_mark is unset!') unless @txn_high_water_mark - raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field open_txns is unset!') unless @open_txns + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dbName is unset!') unless @dbName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tblName is unset!') unless @tblName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tablesUsed is unset!') unless @tablesUsed end ::Thrift::Struct.generate_accessors self diff --git a/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb b/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb index a788c08853..ec88131308 100644 --- a/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb +++ b/standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb @@ -2546,36 +2546,6 @@ module ThriftHiveMetastore return end - def get_last_completed_transaction_for_tables(db_names, table_names, txns_snapshot) - send_get_last_completed_transaction_for_tables(db_names, table_names, txns_snapshot) - return recv_get_last_completed_transaction_for_tables() - end - - def send_get_last_completed_transaction_for_tables(db_names, table_names, txns_snapshot) - send_message('get_last_completed_transaction_for_tables', Get_last_completed_transaction_for_tables_args, :db_names => db_names, :table_names => table_names, :txns_snapshot => txns_snapshot) - end - - def recv_get_last_completed_transaction_for_tables() - result = receive_message(Get_last_completed_transaction_for_tables_result) - return result.success unless result.success.nil? - raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_last_completed_transaction_for_tables failed: unknown result') - end - - def get_last_completed_transaction_for_table(db_name, table_name, txns_snapshot) - send_get_last_completed_transaction_for_table(db_name, table_name, txns_snapshot) - return recv_get_last_completed_transaction_for_table() - end - - def send_get_last_completed_transaction_for_table(db_name, table_name, txns_snapshot) - send_message('get_last_completed_transaction_for_table', Get_last_completed_transaction_for_table_args, :db_name => db_name, :table_name => table_name, :txns_snapshot => txns_snapshot) - end - - def recv_get_last_completed_transaction_for_table() - result = receive_message(Get_last_completed_transaction_for_table_result) - return result.success unless result.success.nil? - raise ::Thrift::ApplicationException.new(::Thrift::ApplicationException::MISSING_RESULT, 'get_last_completed_transaction_for_table failed: unknown result') - end - def get_next_notification(rqst) send_get_next_notification(rqst) return recv_get_next_notification() @@ -4986,20 +4956,6 @@ module ThriftHiveMetastore write_result(result, oprot, 'add_dynamic_partitions', seqid) end - def process_get_last_completed_transaction_for_tables(seqid, iprot, oprot) - args = read_args(iprot, Get_last_completed_transaction_for_tables_args) - result = Get_last_completed_transaction_for_tables_result.new() - result.success = @handler.get_last_completed_transaction_for_tables(args.db_names, args.table_names, args.txns_snapshot) - write_result(result, oprot, 'get_last_completed_transaction_for_tables', seqid) - end - - def process_get_last_completed_transaction_for_table(seqid, iprot, oprot) - args = read_args(iprot, Get_last_completed_transaction_for_table_args) - result = Get_last_completed_transaction_for_table_result.new() - result.success = @handler.get_last_completed_transaction_for_table(args.db_name, args.table_name, args.txns_snapshot) - write_result(result, oprot, 'get_last_completed_transaction_for_table', seqid) - end - def process_get_next_notification(seqid, iprot, oprot) args = read_args(iprot, Get_next_notification_args) result = Get_next_notification_result.new() @@ -11088,78 +11044,6 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end - class Get_last_completed_transaction_for_tables_args - include ::Thrift::Struct, ::Thrift::Struct_Union - DB_NAMES = 1 - TABLE_NAMES = 2 - TXNS_SNAPSHOT = 3 - - FIELDS = { - DB_NAMES => {:type => ::Thrift::Types::LIST, :name => 'db_names', :element => {:type => ::Thrift::Types::STRING}}, - TABLE_NAMES => {:type => ::Thrift::Types::LIST, :name => 'table_names', :element => {:type => ::Thrift::Types::STRING}}, - TXNS_SNAPSHOT => {:type => ::Thrift::Types::STRUCT, :name => 'txns_snapshot', :class => ::TxnsSnapshot} - } - - def struct_fields; FIELDS; end - - def validate - end - - ::Thrift::Struct.generate_accessors self - end - - class Get_last_completed_transaction_for_tables_result - include ::Thrift::Struct, ::Thrift::Struct_Union - SUCCESS = 0 - - FIELDS = { - SUCCESS => {:type => ::Thrift::Types::LIST, :name => 'success', :element => {:type => ::Thrift::Types::STRUCT, :class => ::BasicTxnInfo}} - } - - def struct_fields; FIELDS; end - - def validate - end - - ::Thrift::Struct.generate_accessors self - end - - class Get_last_completed_transaction_for_table_args - include ::Thrift::Struct, ::Thrift::Struct_Union - DB_NAME = 1 - TABLE_NAME = 2 - TXNS_SNAPSHOT = 3 - - FIELDS = { - DB_NAME => {:type => ::Thrift::Types::STRING, :name => 'db_name'}, - TABLE_NAME => {:type => ::Thrift::Types::STRING, :name => 'table_name'}, - TXNS_SNAPSHOT => {:type => ::Thrift::Types::STRUCT, :name => 'txns_snapshot', :class => ::TxnsSnapshot} - } - - def struct_fields; FIELDS; end - - def validate - end - - ::Thrift::Struct.generate_accessors self - end - - class Get_last_completed_transaction_for_table_result - include ::Thrift::Struct, ::Thrift::Struct_Union - SUCCESS = 0 - - FIELDS = { - SUCCESS => {:type => ::Thrift::Types::STRUCT, :name => 'success', :class => ::BasicTxnInfo} - } - - def struct_fields; FIELDS; end - - def validate - end - - ::Thrift::Struct.generate_accessors self - end - class Get_next_notification_args include ::Thrift::Struct, ::Thrift::Struct_Union RQST = 1 diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java index ecc464418d..8dc9b6af92 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java @@ -6950,19 +6950,6 @@ public CurrentNotificationEventId get_current_notificationEventId() throws TExce return ms.getCurrentNotificationEventId(); } - @Override - public List get_last_completed_transaction_for_tables( - List dbNames, List tableNames, TxnsSnapshot txnsSnapshot) - throws TException { - return getTxnHandler().getLastCompletedTransactionForTables(dbNames, tableNames, txnsSnapshot); - } - - @Override - public BasicTxnInfo get_last_completed_transaction_for_table(String dbName, String tableName, TxnsSnapshot txnsSnapshot) - throws TException { - return getTxnHandler().getLastCompletedTransactionForTable(dbName, tableName, txnsSnapshot); - } - @Override public NotificationEventsCountResponse get_notification_events_count(NotificationEventsCountRequest rqst) throws TException { diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java index a3cb17b000..2e76e17eaa 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java @@ -2169,25 +2169,6 @@ public boolean removeMasterKey(Integer keySeq) throws TException { return keyList.toArray(new String[keyList.size()]); } - @Override - public List getLastCompletedTransactionForTables( - List dbNames, List tableNames, ValidTxnList txnList) - throws TException { - TxnsSnapshot txnsSnapshot = new TxnsSnapshot(); - txnsSnapshot.setTxn_high_water_mark(txnList.getHighWatermark()); - txnsSnapshot.setOpen_txns(Arrays.asList(ArrayUtils.toObject(txnList.getInvalidTransactions()))); - return client.get_last_completed_transaction_for_tables(dbNames, tableNames, txnsSnapshot); - } - - @Override - public BasicTxnInfo getLastCompletedTransactionForTable(String dbName, String tableName, ValidTxnList txnList) - throws TException { - TxnsSnapshot txnsSnapshot = new TxnsSnapshot(); - txnsSnapshot.setTxn_high_water_mark(txnList.getHighWatermark()); - txnsSnapshot.setOpen_txns(Arrays.asList(ArrayUtils.toObject(txnList.getInvalidTransactions()))); - return client.get_last_completed_transaction_for_table(dbName, tableName, txnsSnapshot); - } - @Override public ValidTxnList getValidTxns() throws TException { return TxnUtils.createValidReadTxnList(client.get_open_txns(), 0); diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java index 8ec8b3ba08..96d4590222 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java @@ -1337,24 +1337,6 @@ Function getFunction(String dbName, String funcName) GetAllFunctionsResponse getAllFunctions() throws MetaException, TException; - /** - * Get the last completed transaction for the given tables. Although transactions in Hive - * might happen concurrently, the order is based on the actual commit to the metastore - * table holding the completed transactions. - */ - @InterfaceAudience.LimitedPrivate({"HCatalog"}) - List getLastCompletedTransactionForTables(List dbNames, List tableNames, ValidTxnList txnList) - throws TException; - - /** - * Get the last completed transaction for the given table. Although transactions in Hive - * might happen concurrently, the order is based on the actual commit to the metastore - * table holding the completed transactions. - */ - @InterfaceAudience.LimitedPrivate({"HCatalog"}) - BasicTxnInfo getLastCompletedTransactionForTable(String dbName, String tableName, ValidTxnList txnList) - throws TException; - /** * Get a structure that details valid transactions. * @return list of valid transactions diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java index de912d5630..20e4e8db51 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MaterializationsInvalidationCache.java @@ -17,15 +17,18 @@ */ package org.apache.hadoop.hive.metastore; +import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; -import java.util.concurrent.ConcurrentSkipListSet; +import java.util.concurrent.ConcurrentSkipListMap; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; +import org.apache.hadoop.hive.common.ValidReadTxnList; +import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.metastore.api.BasicTxnInfo; import org.apache.hadoop.hive.metastore.api.Materialization; import org.apache.hadoop.hive.metastore.api.MetaException; @@ -65,8 +68,8 @@ * happen. This is useful to quickly check the invalidation time for a given materialized * view. */ - private final ConcurrentMap> tableModifications = - new ConcurrentHashMap>(); + private final ConcurrentMap> tableModifications = + new ConcurrentHashMap>(); /* Whether the cache has been initialized or not. */ private boolean initialized; @@ -112,7 +115,7 @@ public void run() { try { for (String dbName : store.getAllDatabases()) { for (Table mv : store.getTableObjectsByName(dbName, store.getTables(dbName, null, TableType.MATERIALIZED_VIEW))) { - addMaterializedView(mv, ImmutableSet.copyOf(mv.getCreationMetadata().keySet()), OpType.LOAD); + addMaterializedView(mv, ImmutableSet.copyOf(mv.getCreationMetadata().getTablesUsed()), OpType.LOAD); } } LOG.info("Initialized materializations invalidation cache"); @@ -160,53 +163,46 @@ private void addMaterializedView(Table materializedViewTable, Set tables // Start the process to add materialization to the cache // Before loading the materialization in the cache, we need to update some // important information in the registry to account for rewriting invalidation - for (String qNameTableUsed : tablesUsed) { - // First we insert a new tree set to keep table modifications, unless it already exists - ConcurrentSkipListSet modificationsTree = - new ConcurrentSkipListSet(); - final ConcurrentSkipListSet prevModificationsTree = tableModifications.putIfAbsent( - qNameTableUsed, modificationsTree); - if (prevModificationsTree != null) { - modificationsTree = prevModificationsTree; - } - // We obtain the access time to the table when the materialized view was created. - // This is a map from table fully qualified name to last modification before MV creation. - BasicTxnInfo e = materializedViewTable.getCreationMetadata().get(qNameTableUsed); - if (e.isIsnull()) { - // This can happen when the materialized view was created on non-transactional tables - // with rewrite disabled but then it was enabled by alter statement - continue; - } - final TableModificationKey lastModificationBeforeCreation = - new TableModificationKey(e.getId(), e.getTime()); - modificationsTree.add(lastModificationBeforeCreation); - if (opType == OpType.LOAD) { + String txnListString = materializedViewTable.getCreationMetadata().getValidTxnList(); + if (txnListString == null) { + // This can happen when the materialized view was created on non-transactional tables + return; + } + if (opType == OpType.CREATE || opType == OpType.ALTER) { + // You store the materialized view + cq.put(materializedViewTable.getTableName(), + new MaterializationInvalidationInfo(materializedViewTable, tablesUsed)); + } else { + ValidTxnList txnList = new ValidReadTxnList(txnListString); + for (String qNameTableUsed : tablesUsed) { + // First we insert a new tree set to keep table modifications, unless it already exists + ConcurrentSkipListMap modificationsTree = + new ConcurrentSkipListMap(); + final ConcurrentSkipListMap prevModificationsTree = tableModifications.putIfAbsent( + qNameTableUsed, modificationsTree); + if (prevModificationsTree != null) { + modificationsTree = prevModificationsTree; + } // If we are not creating the MV at this instant, but instead it was created previously - // and we are loading it into the cache, we need to go through the transaction logs and + // and we are loading it into the cache, we need to go through the transaction entries and // check if the MV is still valid. try { String[] names = qNameTableUsed.split("\\."); - BasicTxnInfo e2 = txnStore.getFirstCompletedTransactionForTableAfterCommit( - names[0], names[1], lastModificationBeforeCreation.id); - if (!e2.isIsnull()) { - modificationsTree.add(new TableModificationKey(e2.getId(), e2.getTime())); + BasicTxnInfo e = txnStore.getFirstCompletedTransactionForTableAfterCommit( + names[0], names[1], txnList); + if (!e.isIsnull()) { + modificationsTree.put(e.getTxnid(), e.getTime()); // We do not need to do anything more for current table, as we detected // a modification event that was in the metastore. continue; } } catch (MetaException ex) { LOG.debug("Materialized view " + - Warehouse.getQualifiedName(materializedViewTable.getDbName(), materializedViewTable.getTableName()) + - " ignored; error loading view into invalidation cache", ex); + Warehouse.getQualifiedName(materializedViewTable.getDbName(), materializedViewTable.getTableName()) + + " ignored; error loading view into invalidation cache", ex); return; } } - } - if (opType == OpType.CREATE || opType == OpType.ALTER) { - // You store the materialized view - cq.put(materializedViewTable.getTableName(), - new MaterializationInvalidationInfo(materializedViewTable, tablesUsed)); - } else { // For LOAD, you only add it if it does exist as you might be loading an outdated MV cq.putIfAbsent(materializedViewTable.getTableName(), new MaterializationInvalidationInfo(materializedViewTable, tablesUsed)); @@ -218,23 +214,23 @@ private void addMaterializedView(Table materializedViewTable, Set tables } /** - * This method is called when a table is modified. That way we can keep a track of the + * This method is called when a table is modified. That way we can keep track of the * invalidation for the MVs that use that table. */ public void notifyTableModification(String dbName, String tableName, - long eventId, long newModificationTime) { + long txnId, long newModificationTime) { if (LOG.isDebugEnabled()) { LOG.debug("Notification for table {} in database {} received -> id: {}, time: {}", - tableName, dbName, eventId, newModificationTime); + tableName, dbName, txnId, newModificationTime); } - ConcurrentSkipListSet modificationsTree = - new ConcurrentSkipListSet(); - final ConcurrentSkipListSet prevModificationsTree = + ConcurrentSkipListMap modificationsTree = + new ConcurrentSkipListMap(); + final ConcurrentSkipListMap prevModificationsTree = tableModifications.putIfAbsent(Warehouse.getQualifiedName(dbName, tableName), modificationsTree); if (prevModificationsTree != null) { modificationsTree = prevModificationsTree; } - modificationsTree.add(new TableModificationKey(eventId, newModificationTime)); + modificationsTree.put(txnId, newModificationTime); } /** @@ -296,69 +292,49 @@ public void dropMaterializedView(String dbName, String tableName) { } private long getInvalidationTime(MaterializationInvalidationInfo materialization) { + String txnListString = materialization.getMaterializationTable().getCreationMetadata().getValidTxnList(); + if (txnListString == null) { + // This can happen when the materialization was created on non-transactional tables + return Long.MIN_VALUE; + } + + // We will obtain the modification time as follows. + // First, we obtain the first element after high watermark (if any) + // Then, we iterate through the elements from min open txn till high + // watermark, updating the modification time after creation if needed + ValidTxnList txnList = new ValidReadTxnList(txnListString); long firstModificationTimeAfterCreation = 0L; for (String qNameTableUsed : materialization.getTablesUsed()) { - BasicTxnInfo e = materialization.getMaterializationTable().getCreationMetadata().get(qNameTableUsed); - if (e == null) { - // This can happen when the materialized view was created on non-transactional tables - // with rewrite disabled but then it was enabled by alter statement - return Long.MIN_VALUE; - } - final TableModificationKey lastModificationBeforeCreation = - new TableModificationKey(e.getId(), e.getTime()); - final TableModificationKey post = tableModifications.get(qNameTableUsed) - .higher(lastModificationBeforeCreation); - if (post != null) { + final Long tn = tableModifications.get(qNameTableUsed) + .higherKey(txnList.getHighWatermark()); + if (tn != null) { if (firstModificationTimeAfterCreation == 0L || - post.time < firstModificationTimeAfterCreation) { - firstModificationTimeAfterCreation = post.time; + tn < firstModificationTimeAfterCreation) { + firstModificationTimeAfterCreation = tn; } } - } - return firstModificationTimeAfterCreation; - } - - private static class TableModificationKey implements Comparable { - private long id; - private long time; - - private TableModificationKey(long id, long time) { - this.id = id; - this.time = time; - } - - @Override - public boolean equals(Object obj) { - if(this == obj) { - return true; - } - if((obj == null) || (obj.getClass() != this.getClass())) { - return false; - } - TableModificationKey tableModificationKey = (TableModificationKey) obj; - return id == tableModificationKey.id && time == tableModificationKey.time; - } - - @Override - public int hashCode() { - int hash = 7; - hash = 31 * hash + Long.hashCode(id); - hash = 31 * hash + Long.hashCode(time); - return hash; - } - - @Override - public int compareTo(TableModificationKey other) { - if (id == other.id) { - return Long.compare(time, other.time); + // Min open txn might be null if there were no open transactions + // when this transaction was being executed + if (txnList.getMinOpenTxn() != null) { + // Invalid transaction list is sorted + int pos = 0; + for (Map.Entry t : tableModifications.get(qNameTableUsed) + .subMap(txnList.getMinOpenTxn(), txnList.getHighWatermark()).entrySet()) { + while (pos < txnList.getInvalidTransactions().length && + txnList.getInvalidTransactions()[pos] != t.getKey()) { + pos++; + } + if (pos >= txnList.getInvalidTransactions().length) { + break; + } + if (firstModificationTimeAfterCreation == 0L || + t.getValue() < firstModificationTimeAfterCreation) { + firstModificationTimeAfterCreation = t.getValue(); + } + } } - return Long.compare(id, other.id); - } - - @Override - public String toString() { - return "TableModificationKey{" + id + "," + time + "}"; } + return firstModificationTimeAfterCreation; } private enum OpType { diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java index b3d99a1da5..3d1c67f97c 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java @@ -68,7 +68,6 @@ import javax.sql.DataSource; import org.apache.commons.collections.CollectionUtils; -import org.apache.commons.collections.MapUtils; import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.exception.ExceptionUtils; import org.apache.hadoop.classification.InterfaceAudience; @@ -80,10 +79,10 @@ import org.apache.hadoop.hive.metastore.MetaStoreDirectSql.SqlFilterForPushdown; import org.apache.hadoop.hive.metastore.api.AggrStats; import org.apache.hadoop.hive.metastore.api.AlreadyExistsException; -import org.apache.hadoop.hive.metastore.api.BasicTxnInfo; import org.apache.hadoop.hive.metastore.api.ColumnStatistics; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsDesc; import org.apache.hadoop.hive.metastore.api.ColumnStatisticsObj; +import org.apache.hadoop.hive.metastore.api.CreationMetadata; import org.apache.hadoop.hive.metastore.api.CurrentNotificationEventId; import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.FieldSchema; @@ -149,6 +148,7 @@ import org.apache.hadoop.hive.metastore.metrics.MetricsConstants; import org.apache.hadoop.hive.metastore.model.MColumnDescriptor; import org.apache.hadoop.hive.metastore.model.MConstraint; +import org.apache.hadoop.hive.metastore.model.MCreationMetadata; import org.apache.hadoop.hive.metastore.model.MDBPrivilege; import org.apache.hadoop.hive.metastore.model.MDatabase; import org.apache.hadoop.hive.metastore.model.MDelegationToken; @@ -193,10 +193,7 @@ import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils; import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils.ColStatsObjWithSourceInfo; import org.apache.hadoop.hive.metastore.utils.ObjectPair; -import org.apache.thrift.TDeserializer; import org.apache.thrift.TException; -import org.apache.thrift.TSerializer; -import org.apache.thrift.protocol.TJSONProtocol; import org.datanucleus.AbstractNucleusContext; import org.datanucleus.ClassLoaderResolver; import org.datanucleus.ClassLoaderResolverImpl; @@ -1150,7 +1147,7 @@ public void createTable(Table tbl) throws InvalidObjectException, MetaException if (MetaStoreUtils.isMaterializedViewTable(tbl)) { // Add to the invalidation cache MaterializationsInvalidationCache.get().createMaterializedView( - tbl, tbl.getCreationMetadata().keySet()); + tbl, tbl.getCreationMetadata().getTablesUsed()); } } } @@ -1236,6 +1233,14 @@ public boolean dropTable(String dbName, String tableName) throws MetaException, } preDropStorageDescriptor(tbl.getSd()); + + if (tbl.getCreationMetadata() != null) { + // Remove creation metadata + MCreationMetadata mcm = tbl.getCreationMetadata(); + tbl.setCreationMetadata(null); + pm.deletePersistent(mcm); + } + // then remove the table pm.deletePersistentAll(tbl); } @@ -1552,6 +1557,11 @@ private AttachedMTableInfo getMTable(String db, String table, boolean retrieveCD pm.retrieveAll(mtbl.getSd().getCD()); nmtbl.mcd = mtbl.getSd().getCD(); } + // Retrieve creation metadata if needed + if (mtbl != null && + TableType.MATERIALIZED_VIEW.toString().equals(mtbl.getTableType())) { + mtbl.setCreationMetadata(getCreationMetadata(db, table)); + } commited = commitTransaction(); } finally { rollbackAndCleanup(commited, query); @@ -1560,6 +1570,25 @@ private AttachedMTableInfo getMTable(String db, String table, boolean retrieveCD return nmtbl; } + private MCreationMetadata getCreationMetadata(String dbName, String tblName) { + boolean commited = false; + MCreationMetadata mcm = null; + Query query = null; + try { + openTransaction(); + query = pm.newQuery( + MCreationMetadata.class, "tblName == table && dbName == db"); + query.declareParameters("java.lang.String table, java.lang.String db"); + query.setUnique(true); + mcm = (MCreationMetadata) query.execute(tblName, dbName); + pm.retrieve(mcm); + commited = commitTransaction(); + } finally { + rollbackAndCleanup(commited, query); + } + return mcm; + } + private MTable getMTable(String db, String table) { AttachedMTableInfo nmtbl = getMTable(db, table, false); return nmtbl.mtbl; @@ -1885,56 +1914,37 @@ private MStorageDescriptor convertToMStorageDescriptor(StorageDescriptor sd, .getSkewedColValueLocationMaps()), sd.isStoredAsSubDirectories()); } - private Map convertToMCreationMetadata( - Map m) throws MetaException { + private MCreationMetadata convertToMCreationMetadata( + CreationMetadata m) throws MetaException { if (m == null) { return null; } - Map r = new HashMap<>(); - for (Entry e : m.entrySet()) { - r.put(e.getKey(), serializeBasicTransactionInfo(e.getValue())); + Set tablesUsed = new HashSet<>(); + for (String fullyQualifiedName : m.getTablesUsed()) { + String[] names = fullyQualifiedName.split("\\."); + tablesUsed.add(getMTable(names[0], names[1], false).mtbl); } - return r; + return new MCreationMetadata(m.getDbName(), m.getTblName(), + tablesUsed, m.getValidTxnList()); } - private Map convertToCreationMetadata( - Map m) throws MetaException { - if (m == null) { + private CreationMetadata convertToCreationMetadata( + MCreationMetadata s) throws MetaException { + if (s == null) { return null; } - Map r = new HashMap<>(); - for (Entry e : m.entrySet()) { - r.put(e.getKey(), deserializeBasicTransactionInfo(e.getValue())); - } - return r; - } - - private String serializeBasicTransactionInfo(BasicTxnInfo entry) - throws MetaException { - if (entry.isIsnull()) { - return ""; - } - try { - TSerializer serializer = new TSerializer(new TJSONProtocol.Factory()); - return serializer.toString(entry, "UTF-8"); - } catch (TException e) { - throw new MetaException("Error serializing object " + entry + ": " + e.toString()); - } - } - - private BasicTxnInfo deserializeBasicTransactionInfo(String s) - throws MetaException { - if (s.equals("")) { - return new BasicTxnInfo(true); + Set tablesUsed = new HashSet<>(); + for (MTable mtbl : s.getTables()) { + tablesUsed.add( + Warehouse.getQualifiedName( + mtbl.getDatabase().getName(), mtbl.getTableName())); } - try { - TDeserializer deserializer = new TDeserializer(new TJSONProtocol.Factory()); - BasicTxnInfo r = new BasicTxnInfo(); - deserializer.deserialize(r, s, "UTF-8"); - return r; - } catch (TException e) { - throw new MetaException("Error deserializing object " + s + ": " + e.toString()); + CreationMetadata r = new CreationMetadata( + s.getDbName(), s.getTblName(), tablesUsed); + if (s.getTxnList() != null) { + r.setValidTxnList(s.getTxnList()); } + return r; } @Override @@ -3703,9 +3713,10 @@ public void alterTable(String dbname, String name, Table newTable) oldt.setViewOriginalText(newt.getViewOriginalText()); oldt.setViewExpandedText(newt.getViewExpandedText()); oldt.setRewriteEnabled(newt.isRewriteEnabled()); - registerCreationSignature = !MapUtils.isEmpty(newt.getCreationMetadata()); + registerCreationSignature = newt.getCreationMetadata() != null; if (registerCreationSignature) { - oldt.setCreationMetadata(newt.getCreationMetadata()); + oldt.getCreationMetadata().setTables(newt.getCreationMetadata().getTables()); + oldt.getCreationMetadata().setTxnList(newt.getCreationMetadata().getTxnList()); } // commit the changes @@ -3718,7 +3729,7 @@ public void alterTable(String dbname, String name, Table newTable) registerCreationSignature) { // Add to the invalidation cache if the creation signature has changed MaterializationsInvalidationCache.get().alterMaterializedView( - newTable, newTable.getCreationMetadata().keySet()); + newTable, newTable.getCreationMetadata().getTablesUsed()); } } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java new file mode 100644 index 0000000000..1133cb1242 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MCreationMetadata.java @@ -0,0 +1,77 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.metastore.model; + +import java.util.Set; + +/** + * Represents the creation metadata of a materialization. + * It includes the database and table name for the materialization, + * the set of tables that it uses, and the valid transaction list + * when it was created. + */ +public class MCreationMetadata { + + private String dbName; + private String tblName; + private Set tables; + private String txnList; + + public MCreationMetadata() { + } + + public MCreationMetadata(String dbName, String tblName, + Set tables, String txnList) { + this.dbName = dbName; + this.tblName = tblName; + this.tables = tables; + this.txnList = txnList; + } + + public Set getTables() { + return tables; + } + + public void setTables(Set tables) { + this.tables = tables; + } + + public String getTxnList() { + return txnList; + } + + public void setTxnList(String txnList) { + this.txnList = txnList; + } + + public String getDbName() { + return dbName; + } + + public void setDbName(String dbName) { + this.dbName = dbName; + } + + public String getTblName() { + return tblName; + } + + public void setTblName(String tblName) { + this.tblName = tblName; + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MTable.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MTable.java index 6c40ae8753..aea16ade7d 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MTable.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MTable.java @@ -35,7 +35,7 @@ private String viewOriginalText; private String viewExpandedText; private boolean rewriteEnabled; - private Map creationMetadata; + private MCreationMetadata creationMetadata; private String tableType; public MTable() {} @@ -57,7 +57,7 @@ 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, - boolean rewriteEnabled, Map creationMetadata, + boolean rewriteEnabled, MCreationMetadata creationMetadata, String tableType) { this.tableName = tableName; this.database = database; @@ -176,14 +176,14 @@ public void setRewriteEnabled(boolean rewriteEnabled) { /** * @return the metadata information related to a materialized view creation */ - public Map getCreationMetadata() { + public MCreationMetadata getCreationMetadata() { return creationMetadata; } /** * @param creationMetadata the metadata information to set */ - public void setCreationMetadata(Map creationMetadata) { + public void setCreationMetadata(MCreationMetadata creationMetadata) { this.creationMetadata = creationMetadata; } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java index 3a558b4ac4..1bb976c082 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java @@ -27,6 +27,7 @@ import java.sql.Savepoint; import java.sql.Statement; import java.util.ArrayList; +import java.util.Arrays; import java.util.BitSet; import java.util.Calendar; import java.util.Collections; @@ -54,11 +55,13 @@ import org.apache.commons.dbcp.DriverManagerConnectionFactory; import org.apache.commons.dbcp.PoolableConnectionFactory; import org.apache.commons.dbcp.PoolingDataSource; +import org.apache.commons.lang.ArrayUtils; import org.apache.commons.lang.NotImplementedException; import org.apache.commons.pool.impl.GenericObjectPool; import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.common.classification.RetrySemantics; import org.apache.hadoop.hive.metastore.DatabaseProduct; import org.apache.hadoop.hive.metastore.MaterializationsInvalidationCache; @@ -103,7 +106,6 @@ import org.apache.hadoop.hive.metastore.api.TxnInfo; import org.apache.hadoop.hive.metastore.api.TxnOpenException; import org.apache.hadoop.hive.metastore.api.TxnState; -import org.apache.hadoop.hive.metastore.api.TxnsSnapshot; import org.apache.hadoop.hive.metastore.api.UnlockRequest; import org.apache.hadoop.hive.metastore.conf.MetastoreConf; import org.apache.hadoop.hive.metastore.conf.MetastoreConf.ConfVars; @@ -840,13 +842,13 @@ public void commitTxn(CommitTxnRequest rqst) dbConn.commit(); // Update registry with modifications - s = "select ctc_database, ctc_table, ctc_id, ctc_timestamp from COMPLETED_TXN_COMPONENTS where ctc_txnid = " + txnid; + s = "select ctc_database, ctc_table, ctc_timestamp from COMPLETED_TXN_COMPONENTS where ctc_txnid = " + txnid; rs = stmt.executeQuery(s); if (rs.next()) { LOG.debug("Going to register table modification in invalidation cache <" + s + ">"); MaterializationsInvalidationCache.get().notifyTableModification( - rs.getString(1), rs.getString(2), rs.getLong(3), - rs.getTimestamp(4, Calendar.getInstance(TimeZone.getTimeZone("UTC"))).getTime()); + rs.getString(1), rs.getString(2), txnid, + rs.getTimestamp(3, Calendar.getInstance(TimeZone.getTimeZone("UTC"))).getTime()); } close(rs); dbConn.commit(); @@ -912,65 +914,6 @@ public void performWriteSetGC() { } } - /** - * Gets the information of the last transaction committed for the input table - * given the transaction snapshot provided. - */ - @Override - @RetrySemantics.ReadOnly - public List getLastCompletedTransactionForTables( - List dbNames, List tableNames, TxnsSnapshot txnsSnapshot) throws MetaException { - List r = new ArrayList<>(); - for (int i = 0; i < dbNames.size(); i++) { - r.add(getLastCompletedTransactionForTable(dbNames.get(i), tableNames.get(i), txnsSnapshot)); - } - return r; - } - - /** - * Gets the information of the last transaction committed for the input table - * given the transaction snapshot provided. - */ - @Override - @RetrySemantics.ReadOnly - public BasicTxnInfo getLastCompletedTransactionForTable( - String inputDbName, String inputTableName, TxnsSnapshot txnsSnapshot) throws MetaException { - Connection dbConn = null; - Statement stmt = null; - ResultSet rs = null; - try { - dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); - stmt = dbConn.createStatement(); - stmt.setMaxRows(1); - String s = "select ctc_id, ctc_timestamp, ctc_txnid, ctc_database, ctc_table " - + "from COMPLETED_TXN_COMPONENTS " - + "where ctc_database=" + quoteString(inputDbName) + " and ctc_table=" + quoteString(inputTableName) - + " and ctc_txnid <= " + txnsSnapshot.getTxn_high_water_mark() - + (txnsSnapshot.getOpen_txns().isEmpty() ? - " " : " and ctc_txnid NOT IN(" + StringUtils.join(",", txnsSnapshot.getOpen_txns()) + ") ") - + "order by ctc_id desc"; - if (LOG.isDebugEnabled()) { - LOG.debug("Going to execute query <" + s + ">"); - } - rs = stmt.executeQuery(s); - if(!rs.next()) { - return new BasicTxnInfo(true); - } - final BasicTxnInfo txnInfo = new BasicTxnInfo(false); - txnInfo.setId(rs.getLong(1)); - txnInfo.setTime(rs.getTimestamp(2, Calendar.getInstance(TimeZone.getTimeZone("UTC"))).getTime()); - txnInfo.setTxnid(rs.getLong(3)); - txnInfo.setDbname(rs.getString(4)); - txnInfo.setTablename(rs.getString(5)); - return txnInfo; - } catch (SQLException ex) { - LOG.warn("getLastCompletedTransactionForTable failed due to " + getMessage(ex), ex); - throw new MetaException("Unable to retrieve commits information due to " + StringUtils.stringifyException(ex)); - } finally { - close(rs, stmt, dbConn); - } - } - /** * Gets the information of the first transaction for the given table * after the transaction with the input id was committed (if any). @@ -978,8 +921,10 @@ public BasicTxnInfo getLastCompletedTransactionForTable( @Override @RetrySemantics.ReadOnly public BasicTxnInfo getFirstCompletedTransactionForTableAfterCommit( - String inputDbName, String inputTableName, long incrementalIdentifier) + String inputDbName, String inputTableName, ValidTxnList txnList) throws MetaException { + final List openTxns = Arrays.asList(ArrayUtils.toObject(txnList.getInvalidTransactions())); + Connection dbConn = null; Statement stmt = null; ResultSet rs = null; @@ -987,23 +932,26 @@ public BasicTxnInfo getFirstCompletedTransactionForTableAfterCommit( dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); stmt = dbConn.createStatement(); stmt.setMaxRows(1); - String s = "select ctc_id, ctc_timestamp, ctc_txnid, ctc_database, ctc_table " + String s = "select ctc_timestamp, ctc_txnid, ctc_database, ctc_table " + "from COMPLETED_TXN_COMPONENTS " + "where ctc_database=" + quoteString(inputDbName) + " and ctc_table=" + quoteString(inputTableName) - + " and ctc_id > " + incrementalIdentifier + " order by ctc_id asc"; + + " and ctc_txnid > " + txnList.getHighWatermark() + + (txnList.getInvalidTransactions().length == 0 ? + " " : " or ctc_txnid IN(" + StringUtils.join(",", openTxns) + ") ") + + "order by ctc_timestamp asc"; if (LOG.isDebugEnabled()) { LOG.debug("Going to execute query <" + s + ">"); } rs = stmt.executeQuery(s); + if(!rs.next()) { return new BasicTxnInfo(true); } final BasicTxnInfo txnInfo = new BasicTxnInfo(false); - txnInfo.setId(rs.getLong(1)); - txnInfo.setTime(rs.getTimestamp(2, Calendar.getInstance(TimeZone.getTimeZone("UTC"))).getTime()); - txnInfo.setTxnid(rs.getLong(3)); - txnInfo.setDbname(rs.getString(4)); - txnInfo.setTablename(rs.getString(5)); + txnInfo.setTime(rs.getTimestamp(1, Calendar.getInstance(TimeZone.getTimeZone("UTC"))).getTime()); + txnInfo.setTxnid(rs.getLong(2)); + txnInfo.setDbname(rs.getString(3)); + txnInfo.setTablename(rs.getString(4)); return txnInfo; } catch (SQLException ex) { LOG.warn("getLastCompletedTransactionForTable failed due to " + getMessage(ex), ex); diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java index 42f90cdb66..3e270345d7 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java @@ -21,6 +21,7 @@ import org.apache.hadoop.classification.InterfaceAudience; import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.conf.Configurable; +import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.common.classification.RetrySemantics; import org.apache.hadoop.hive.metastore.api.*; @@ -113,33 +114,14 @@ void commitTxn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException; /** - * Get the last transaction corresponding to given databases and tables. - * @return - * @throws MetaException - */ - @RetrySemantics.Idempotent - public List getLastCompletedTransactionForTables( - List dbNames, List tableNames, TxnsSnapshot txnsSnapshot) - throws MetaException; - - /** - * Get the last transaction corresponding to given database and table. - * @return - * @throws MetaException - */ - @RetrySemantics.Idempotent - public BasicTxnInfo getLastCompletedTransactionForTable( - String inputDbName, String inputTableName, TxnsSnapshot txnsSnapshot) - throws MetaException; - - /** - * Get the first transaction corresponding to given database and table after incremental id. + * Get the first transaction corresponding to given database and table after transactions + * referenced in the transaction snapshot. * @return * @throws MetaException */ @RetrySemantics.Idempotent public BasicTxnInfo getFirstCompletedTransactionForTableAfterCommit( - String inputDbName, String inputTableName, long id) + String inputDbName, String inputTableName, ValidTxnList txnList) throws MetaException; /** diff --git a/standalone-metastore/src/main/resources/package.jdo b/standalone-metastore/src/main/resources/package.jdo index 3da09a5ebb..f408de5a99 100644 --- a/standalone-metastore/src/main/resources/package.jdo +++ b/standalone-metastore/src/main/resources/package.jdo @@ -25,8 +25,8 @@ Non-indexed VARCHAR: 4000 bytes (max length on Oracle 9i/10g/11g) --> - - + + @@ -185,17 +185,27 @@ - - + + + + + + + + + + + + + + - + - - - - - - + + + + diff --git a/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index 93f3e53de2..371b97590c 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -327,7 +327,7 @@ struct Table { 13: optional PrincipalPrivilegeSet privileges, 14: optional bool temporary=false, 15: optional bool rewriteEnabled, // rewrite enabled or not - 16: optional map creationMetadata // only for MVs, it stores table name used -> last modification before MV creation + 16: optional CreationMetadata creationMetadata // only for MVs, it stores table names used and txn list at MV creation } struct Partition { @@ -858,17 +858,18 @@ struct AddDynamicPartitions { struct BasicTxnInfo { 1: required bool isnull, - 2: optional i64 id, - 3: optional i64 time, - 4: optional i64 txnid, - 5: optional string dbname, - 6: optional string tablename, - 7: optional string partitionname + 2: optional i64 time, + 3: optional i64 txnid, + 4: optional string dbname, + 5: optional string tablename, + 6: optional string partitionname } -struct TxnsSnapshot { - 1: required i64 txn_high_water_mark, - 2: required list open_txns +struct CreationMetadata { + 1: required string dbName, + 2: required string tblName, + 3: required set tablesUsed, + 4: optional string validTxnList } struct NotificationEventRequest { @@ -1815,8 +1816,6 @@ service ThriftHiveMetastore extends fb303.FacebookService CompactionResponse compact2(1:CompactionRequest rqst) ShowCompactResponse show_compact(1:ShowCompactRequest rqst) void add_dynamic_partitions(1:AddDynamicPartitions rqst) throws (1:NoSuchTxnException o1, 2:TxnAbortedException o2) - list get_last_completed_transaction_for_tables(1:list db_names, 2:list table_names, 3:TxnsSnapshot txns_snapshot) - BasicTxnInfo get_last_completed_transaction_for_table(1:string db_name, 2:string table_name, 3:TxnsSnapshot txns_snapshot) // Notification logging calls NotificationEventResponse get_next_notification(1:NotificationEventRequest rqst) diff --git a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java index b9a8f61c69..bd61df654a 100644 --- a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java +++ b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/cache/TestCachedStore.java @@ -225,7 +225,6 @@ public void testTableOps() throws Exception { Table tbl1 = new Table(tblName1, dbName, tblOwner, 0, 0, 0, sd, new ArrayList<>(), tblParams, null, null, TableType.MANAGED_TABLE.toString()); - tbl1.setCreationMetadata(new HashMap()); cachedStore.createTable(tbl1); tbl1 = cachedStore.getTable(dbName, tblName1); diff --git a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/client/TestGetTableMeta.java b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/client/TestGetTableMeta.java index 71cac2f51c..dcf1eb74e6 100644 --- a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/client/TestGetTableMeta.java +++ b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/client/TestGetTableMeta.java @@ -23,8 +23,10 @@ import java.util.List; import java.util.Set; +import com.google.common.collect.ImmutableSet; import org.apache.hadoop.hive.metastore.IMetaStoreClient; import org.apache.hadoop.hive.metastore.TableType; +import org.apache.hadoop.hive.metastore.api.CreationMetadata; import org.apache.hadoop.hive.metastore.api.Database; import org.apache.hadoop.hive.metastore.api.Table; import org.apache.hadoop.hive.metastore.api.TableMeta; @@ -149,7 +151,9 @@ private Table createTable(String dbName, String tableName, TableType type) if (type == TableType.MATERIALIZED_VIEW) { - table.setCreationMetadata(new HashMap<>()); + CreationMetadata cm = new CreationMetadata( + dbName, tableName, ImmutableSet.of()); + table.setCreationMetadata(cm); } if (type == TableType.EXTERNAL_TABLE) { diff --git a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java index abc400a928..00f38eeec5 100644 --- a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java +++ b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/client/TestTablesCreateDropAlterTruncate.java @@ -286,7 +286,7 @@ public void testCreateTableDefaultValues() throws Exception { Assert.assertNull("Comparing ViewOriginalText", createdTable.getViewOriginalText()); Assert.assertNull("Comparing ViewExpandedText", createdTable.getViewExpandedText()); Assert.assertEquals("Comparing TableType", "MANAGED_TABLE", createdTable.getTableType()); - Assert.assertTrue("Creation metadata should be empty", createdTable.getCreationMetadata().isEmpty()); + Assert.assertTrue("Creation metadata should be empty", createdTable.getCreationMetadata() == null); // Storage Descriptor data StorageDescriptor createdSd = createdTable.getSd();