diff --git a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java index f40c606..7919cc4 100644 --- a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java +++ b/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java @@ -469,6 +469,11 @@ private static void populateLlapDaemonVarsSet(Set llapDaemonVarsSetLocal + "metadata for acid tables which do not require the corresponding transaction \n" + "semantics to be applied on target. This can be removed when ACID table \n" + "replication is supported."), + REPL_BOOTSTRAP_DUMP_OPEN_TXN_TIMEOUT("hive.repl.bootstrap.dump.open.txn.timeout", "1h", + new TimeValidator(TimeUnit.HOURS), + "Indicates the timeout for all transactions which are opened before triggering bootstrap REPL DUMP. " + + "If these open transactions are not closed within the timeout value, then REPL DUMP will " + + "forcefully abort those transactions and continue with bootstrap dump."), //https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html#Running_as_the_superuser REPL_ADD_RAW_RESERVED_NAMESPACE("hive.repl.add.raw.reserved.namespace", false, "For TDE with same encryption keys on source and target, allow Distcp super user to access \n" diff --git a/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java b/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java index 59d1e3a..7835691 100644 --- a/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java +++ b/hcatalog/server-extensions/src/main/java/org/apache/hive/hcatalog/listener/DbNotificationListener.java @@ -240,7 +240,7 @@ public String next() { FileStatus file = files[i]; i++; return ReplChangeManager.encodeFileUri(file.getPath().toString(), - ReplChangeManager.checksumFor(file.getPath(), fs)); + ReplChangeManager.checksumFor(file.getPath(), fs), null); } catch (IOException e) { throw new RuntimeException(e); } diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java index 2ad83b6..16c3214 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java @@ -19,12 +19,21 @@ import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hdfs.MiniDFSCluster; +import org.apache.hadoop.hive.conf.HiveConf; +import org.apache.hadoop.hive.metastore.api.AllocateTableWriteIdsRequest; +import org.apache.hadoop.hive.metastore.api.AllocateTableWriteIdsResponse; +import org.apache.hadoop.hive.metastore.api.OpenTxnRequest; +import org.apache.hadoop.hive.metastore.api.OpenTxnsResponse; +import org.apache.hadoop.hive.metastore.txn.TxnDbUtil; +import org.apache.hadoop.hive.metastore.txn.TxnStore; +import org.apache.hadoop.hive.metastore.txn.TxnUtils; import org.apache.hadoop.hive.shims.Utils; import org.junit.rules.TestName; import org.junit.rules.TestRule; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.junit.After; +import org.junit.Assert; import org.junit.Before; import org.junit.Rule; import org.junit.Test; @@ -32,7 +41,9 @@ import org.junit.AfterClass; import java.io.IOException; import java.util.ArrayList; +import java.util.Arrays; import java.util.HashMap; +import java.util.List; /** * TestReplicationScenariosAcidTables - test replication for ACID tables @@ -59,6 +70,9 @@ public static void classLevelSetup() throws Exception { put("fs.defaultFS", miniDFSCluster.getFileSystem().getUri().toString()); put("hive.support.concurrency", "true"); put("hive.txn.manager", "org.apache.hadoop.hive.ql.lockmgr.DbTxnManager"); + put("hive.repl.dump.include.acid.tables", "true"); + put("hive.metastore.client.capability.check", "false"); + put("hive.repl.bootstrap.dump.open.txn.timeout", "1s"); }}; primary = new WarehouseInstance(LOG, miniDFSCluster, overridesForHiveConf); replica = new WarehouseInstance(LOG, miniDFSCluster, overridesForHiveConf); @@ -66,6 +80,8 @@ public static void classLevelSetup() throws Exception { put("fs.defaultFS", miniDFSCluster.getFileSystem().getUri().toString()); put("hive.support.concurrency", "false"); put("hive.txn.manager", "org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager"); + put("hive.repl.dump.include.acid.tables", "true"); + put("hive.metastore.client.capability.check", "false"); }}; replicaNonAcid = new WarehouseInstance(LOG, miniDFSCluster, overridesForHiveConf1); } @@ -92,6 +108,158 @@ public void tearDown() throws Throwable { } @Test + public void testAcidTablesBootstrap() throws Throwable { + WarehouseInstance.Tuple bootstrapDump = primary + .run("use " + primaryDbName) + .run("create table t1 (id int) clustered by(id) into 3 buckets stored as orc " + + "tblproperties (\"transactional\"=\"true\")") + .run("insert into t1 values(1)") + .run("insert into t1 values(2)") + .run("create table t2 (place string) partitioned by (country string) clustered by(place) " + + "into 3 buckets stored as orc tblproperties (\"transactional\"=\"true\")") + .run("insert into t2 partition(country='india') values ('bangalore')") + .run("insert into t2 partition(country='us') values ('austin')") + .run("insert into t2 partition(country='france') values ('paris')") + .run("alter table t2 add partition(country='italy')") + .run("create table t3 (rank int) tblproperties(\"transactional\"=\"true\", " + + "\"transactional_properties\"=\"insert_only\")") + .run("insert into t3 values(11)") + .run("insert into t3 values(22)") + .run("create table t4 (id int)") + .run("insert into t4 values(111)") + .run("insert into t4 values(222)") + .run("create table t5 (id int) stored as orc ") + .run("insert into t5 values(1111)") + .run("insert into t5 values(2222)") + .run("alter table t5 set tblproperties (\"transactional\"=\"true\")") + .run("insert into t5 values(3333)") + .dump(primaryDbName, null); + + replica.load(replicatedDbName, bootstrapDump.dumpLocation) + .run("use " + replicatedDbName) + .run("show tables") + .verifyResults(new String[] {"t1", "t2", "t3", "t4", "t5"}) + .run("repl status " + replicatedDbName) + .verifyResult(bootstrapDump.lastReplicationId) + .run("select id from t1 order by id") + .verifyResults(new String[]{"1", "2"}) + .run("select country from t2 order by country") + .verifyResults(new String[] {"france", "india", "us"}) + .run("select rank from t3 order by rank") + .verifyResults(new String[] {"11", "22"}) + .run("select id from t4 order by id") + .verifyResults(new String[] {"111", "222"}) + .run("select id from t5 order by id") + .verifyResults(new String[] {"1111", "2222", "3333"}); + } + + @Test + public void testAcidTablesBootstrapWithOpenTxnsTimeout() throws Throwable { + // Open 5 txns + HiveConf primaryConf = primary.getConf(); + TxnStore txnHandler = TxnUtils.getTxnStore(primary.getConf()); + OpenTxnsResponse otResp = txnHandler.openTxns(new OpenTxnRequest(5, "u1", "localhost")); + List txns = otResp.getTxn_ids(); + String txnIdRange = " txn_id >= " + txns.get(0) + " and txn_id <= " + txns.get(4); + Assert.assertEquals(TxnDbUtil.queryToString(primaryConf, "select * from TXNS"), + 5, TxnDbUtil.countQueryAgent(primaryConf, + "select count(*) from TXNS where txn_state = 'o' and " + txnIdRange)); + + // Create 2 tables, one partitioned and other not. Also, have both types of full ACID and MM tables. + primary.run("use " + primaryDbName) + .run("create table t1 (id int) clustered by(id) into 3 buckets stored as orc " + + "tblproperties (\"transactional\"=\"true\")") + .run("insert into t1 values(1)") + .run("create table t2 (rank int) partitioned by (name string) tblproperties(\"transactional\"=\"true\", " + + "\"transactional_properties\"=\"insert_only\")") + .run("insert into t2 partition(name='Bob') values(11)") + .run("insert into t2 partition(name='Carl') values(10)"); + // Allocate write ids for both tables t1 and t2 for all txns + // t1=5+1(insert) and t2=5+2(insert) + AllocateTableWriteIdsRequest rqst = new AllocateTableWriteIdsRequest(primaryDbName, "t1"); + rqst.setTxnIds(txns); + txnHandler.allocateTableWriteIds(rqst); + rqst.setTableName("t2"); + txnHandler.allocateTableWriteIds(rqst); + Assert.assertEquals(TxnDbUtil.queryToString(primaryConf, "select * from TXN_TO_WRITE_ID"), + 6, TxnDbUtil.countQueryAgent(primaryConf, + "select count(*) from TXN_TO_WRITE_ID where t2w_database = '" + primaryDbName.toLowerCase() + + "' and t2w_table = 't1'")); + Assert.assertEquals(TxnDbUtil.queryToString(primaryConf, "select * from TXN_TO_WRITE_ID"), + 7, TxnDbUtil.countQueryAgent(primaryConf, + "select count(*) from TXN_TO_WRITE_ID where t2w_database = '" + primaryDbName.toLowerCase() + + "' and t2w_table = 't2'")); + + // Bootstrap dump with open txn timeout as 1s. + List withConfigs = Arrays.asList( + "'hive.repl.bootstrap.dump.open.txn.timeout'='1s'"); + WarehouseInstance.Tuple bootstrapDump = primary + .run("use " + primaryDbName) + .dump(primaryDbName, null, withConfigs); + + // After bootstrap dump, all the opened txns should be aborted. Verify it. + Assert.assertEquals(TxnDbUtil.queryToString(primaryConf, "select * from TXNS"), + 0, TxnDbUtil.countQueryAgent(primaryConf, + "select count(*) from TXNS where txn_state = 'o' and " + txnIdRange)); + Assert.assertEquals(TxnDbUtil.queryToString(primaryConf, "select * from TXNS"), + 5, TxnDbUtil.countQueryAgent(primaryConf, + "select count(*) from TXNS where txn_state = 'a' and " + txnIdRange)); + + // Verify the next write id + String[] nextWriteId = TxnDbUtil.queryToString(primaryConf, "select nwi_next from NEXT_WRITE_ID where " + + " nwi_database = '" + primaryDbName.toLowerCase() + "' and nwi_table = 't1'") + .split("\n"); + Assert.assertEquals(Long.parseLong(nextWriteId[1].trim()), 7L); + nextWriteId = TxnDbUtil.queryToString(primaryConf, "select nwi_next from NEXT_WRITE_ID where " + + " nwi_database = '" + primaryDbName.toLowerCase() + "' and nwi_table = 't2'") + .split("\n"); + Assert.assertEquals(Long.parseLong(nextWriteId[1].trim()), 8L); + + // Bootstrap load which should also replicate the aborted write ids on both tables. + HiveConf replicaConf = replica.getConf(); + replica.load(replicatedDbName, bootstrapDump.dumpLocation) + .run("use " + replicatedDbName) + .run("show tables") + .verifyResults(new String[] {"t1", "t2"}) + .run("repl status " + replicatedDbName) + .verifyResult(bootstrapDump.lastReplicationId) + .run("select id from t1") + .verifyResults(new String[]{"1"}) + .run("select rank from t2 order by rank") + .verifyResults(new String[] {"10", "11"}); + + // Verify if HWM is properly set after REPL LOAD + nextWriteId = TxnDbUtil.queryToString(replicaConf, "select nwi_next from NEXT_WRITE_ID where " + + " nwi_database = '" + replicatedDbName.toLowerCase() + "' and nwi_table = 't1'") + .split("\n"); + Assert.assertEquals(Long.parseLong(nextWriteId[1].trim()), 7L); + nextWriteId = TxnDbUtil.queryToString(replicaConf, "select nwi_next from NEXT_WRITE_ID where " + + " nwi_database = '" + replicatedDbName.toLowerCase() + "' and nwi_table = 't2'") + .split("\n"); + Assert.assertEquals(Long.parseLong(nextWriteId[1].trim()), 8L); + + // Verify if all the aborted write ids are replicated to the replicated DB + Assert.assertEquals(TxnDbUtil.queryToString(replicaConf, "select * from TXN_TO_WRITE_ID"), + 5, TxnDbUtil.countQueryAgent(replicaConf, + "select count(*) from TXN_TO_WRITE_ID where t2w_database = '" + replicatedDbName.toLowerCase() + + "' and t2w_table = 't1'")); + Assert.assertEquals(TxnDbUtil.queryToString(replicaConf, "select * from TXN_TO_WRITE_ID"), + 5, TxnDbUtil.countQueryAgent(replicaConf, + "select count(*) from TXN_TO_WRITE_ID where t2w_database = '" + replicatedDbName.toLowerCase() + + "' and t2w_table = 't2'")); + + // Verify if entries added in TXN_COMPONENTS for each table/partition + Assert.assertEquals(TxnDbUtil.queryToString(replicaConf, "select * from TXN_COMPONENTS"), + 1, TxnDbUtil.countQueryAgent(replicaConf, + "select count(*) from TXN_COMPONENTS where tc_database = '" + replicatedDbName.toLowerCase() + + "' and tc_table = 't1'")); + Assert.assertEquals(TxnDbUtil.queryToString(replicaConf, "select * from TXN_COMPONENTS"), + 2, TxnDbUtil.countQueryAgent(replicaConf, + "select count(*) from TXN_COMPONENTS where tc_database = '" + replicatedDbName.toLowerCase() + + "' and tc_table = 't2'")); + } + + @Test public void testOpenTxnEvent() throws Throwable { String tableName = testName.getMethodName(); WarehouseInstance.Tuple bootStrapDump = primary.dump(primaryDbName, null); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/Driver.java b/ql/src/java/org/apache/hadoop/hive/ql/Driver.java index a35a215..c0ebede 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/Driver.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/Driver.java @@ -585,6 +585,7 @@ public void run() { setTriggerContext(queryId); } + ctx.setHiveTxnManager(queryTxnMgr); ctx.setStatsSource(statsSource); ctx.setCmd(command); ctx.setHDFSCleanup(true); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplCopyTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplCopyTask.java index 1cad579..4f38a5f 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplCopyTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplCopyTask.java @@ -83,7 +83,7 @@ protected int execute(DriverContext driverContext) { if (ReplChangeManager.isCMFileUri(fromPath, srcFs)) { String[] result = ReplChangeManager.getFileWithChksumFromURI(fromPath.toString()); ReplChangeManager.FileInfo sourceInfo = ReplChangeManager - .getFileInfo(new Path(result[0]), result[1], conf); + .getFileInfo(new Path(result[0]), result[1], result[2], conf); if (FileUtils.copy( sourceInfo.getSrcFs(), sourceInfo.getSourcePath(), dstFs, toPath, false, false, conf)) { @@ -130,7 +130,7 @@ protected int execute(DriverContext driverContext) { console.printInfo("Copying file: " + oneSrc.getPath().toString()); LOG.debug("ReplCopyTask :cp:{}=>{}", oneSrc.getPath(), toPath); srcFiles.add(new ReplChangeManager.FileInfo(oneSrc.getPath().getFileSystem(conf), - oneSrc.getPath())); + oneSrc.getPath(), null)); } } @@ -183,14 +183,14 @@ protected int execute(DriverContext driverContext) { try (BufferedReader br = new BufferedReader(new InputStreamReader(fs.open(fileListing)))) { // TODO : verify if skipping charset here is okay - String line = null; + String line; while ((line = br.readLine()) != null) { LOG.debug("ReplCopyTask :_filesReadLine: {}", line); String[] fileWithChksum = ReplChangeManager.getFileWithChksumFromURI(line); try { ReplChangeManager.FileInfo f = ReplChangeManager - .getFileInfo(new Path(fileWithChksum[0]), fileWithChksum[1], conf); + .getFileInfo(new Path(fileWithChksum[0]), fileWithChksum[1], fileWithChksum[2], conf); filePaths.add(f); } catch (MetaException e) { // issue warning for missing file and throw exception diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java index 2615072..048457e 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java @@ -26,6 +26,7 @@ import org.apache.hadoop.hive.ql.metadata.InvalidTableException; import org.apache.hadoop.hive.ql.metadata.Table; import org.apache.hadoop.hive.ql.parse.ReplicationSpec; +import org.apache.hadoop.hive.ql.plan.ReplTxnWork; import org.apache.hadoop.hive.ql.plan.api.StageType; import org.apache.hadoop.security.UserGroupInformation; import org.apache.hadoop.util.StringUtils; @@ -46,18 +47,13 @@ public ReplTxnTask() { @Override public int execute(DriverContext driverContext) { String replPolicy = work.getReplPolicy(); - if (Utilities.FILE_OP_LOGGER.isTraceEnabled()) { - Utilities.FILE_OP_LOGGER.trace("Executing ReplTxnTask " + work.getOperationType().toString() + - " for txn ids : " + work.getTxnIds().toString() + " replPolicy : " + replPolicy); - } - - String tableName = work.getTableName() == null || work.getTableName().isEmpty() ? null : work.getTableName(); - if (tableName != null) { + String tableName = work.getTableName(); + ReplicationSpec replicationSpec = work.getReplicationSpec(); + if ((tableName != null) && (replicationSpec != null)) { Table tbl; try { tbl = Hive.get().getTable(work.getDbName(), tableName); - ReplicationSpec replicationSpec = work.getReplicationSpec(); - if (replicationSpec != null && !replicationSpec.allowReplacementInto(tbl.getParameters())) { + if (!replicationSpec.allowReplacementInto(tbl.getParameters())) { // if the event is already replayed, then no need to replay it again. LOG.debug("ReplTxnTask: Event is skipped as it is already replayed. Event Id: " + replicationSpec.getReplicationState() + "Event Type: " + work.getOperationType()); @@ -75,7 +71,6 @@ public int execute(DriverContext driverContext) { try { HiveTxnManager txnManager = driverContext.getCtx().getHiveTxnManager(); String user = UserGroupInformation.getCurrentUser().getUserName(); - LOG.debug("Replaying " + work.getOperationType().toString() + " Event for policy " + replPolicy); switch(work.getOperationType()) { case REPL_OPEN_TXN: List txnIds = txnManager.replOpenTxn(replPolicy, work.getTxnIds(), user); @@ -98,11 +93,17 @@ public int execute(DriverContext driverContext) { case REPL_ALLOC_WRITE_ID: assert work.getTxnToWriteIdList() != null; String dbName = work.getDbName(); - String tblName = work.getTableName(); List txnToWriteIdList = work.getTxnToWriteIdList(); - txnManager.replAllocateTableWriteIdsBatch(dbName, tblName, replPolicy, txnToWriteIdList); + txnManager.replAllocateTableWriteIdsBatch(dbName, tableName, replPolicy, txnToWriteIdList); LOG.info("Replayed alloc write Id Event for repl policy: " + replPolicy + " db Name : " + dbName + - " txnToWriteIdList: " +txnToWriteIdList.toString() + " table name: " + tblName); + " txnToWriteIdList: " +txnToWriteIdList.toString() + " table name: " + tableName); + return 0; + case REPL_WRITEID_STATE: + txnManager.replTableWriteIdState(work.getValidWriteIdList(), + work.getDbName(), work.getTableName(), work.getPartNames()); + LOG.info("Replicated WriteId state for DbName: " + work.getDbName() + + " TableName: " + work.getTableName() + + " ValidWriteIdList: " + work.getValidWriteIdList()); return 0; default: LOG.error("Operation Type " + work.getOperationType() + " is not supported "); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java index 2da6b0f..3a107b7 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java @@ -50,6 +50,7 @@ import org.apache.hadoop.hive.ql.plan.MapredWork; import org.apache.hadoop.hive.ql.plan.MoveWork; import org.apache.hadoop.hive.ql.plan.ReplCopyWork; +import org.apache.hadoop.hive.ql.plan.ReplTxnWork; import org.apache.hadoop.hive.ql.plan.SparkWork; import org.apache.hadoop.hive.ql.plan.TezWork; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java index ce0757c..88d352b 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpTask.java @@ -21,6 +21,8 @@ import org.apache.hadoop.fs.FileSystem; import org.apache.hadoop.fs.Path; +import org.apache.hadoop.hive.common.ValidTxnList; +import org.apache.hadoop.hive.common.ValidWriteIdList; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.IMetaStoreClient; import org.apache.hadoop.hive.metastore.api.Database; @@ -39,6 +41,8 @@ import org.apache.hadoop.hive.metastore.messaging.event.filters.MessageFormatFilter; import org.apache.hadoop.hive.ql.DriverContext; import org.apache.hadoop.hive.ql.exec.Task; +import org.apache.hadoop.hive.ql.io.AcidUtils; +import org.apache.hadoop.hive.ql.lockmgr.LockException; import org.apache.hadoop.hive.ql.metadata.Hive; import org.apache.hadoop.hive.ql.metadata.HiveException; import org.apache.hadoop.hive.ql.metadata.InvalidTableException; @@ -65,9 +69,12 @@ import org.slf4j.LoggerFactory; import java.io.Serializable; +import java.util.ArrayList; import java.util.Arrays; +import java.util.Collections; import java.util.List; import java.util.UUID; +import java.util.concurrent.TimeUnit; public class ReplDumpTask extends Task implements Serializable { private static final String dumpSchema = "dump_dir,last_repl_id#string,string"; @@ -90,6 +97,7 @@ public String getPrefix() { } } + private static long sleepTime = 60000; private Logger LOG = LoggerFactory.getLogger(ReplDumpTask.class); private ReplLogger replLogger; @@ -204,20 +212,21 @@ private Long bootStrapDump(Path dumpRoot, DumpMetaData dmd, Path cmRoot) throws // bootstrap case Hive hiveDb = getHive(); Long bootDumpBeginReplId = hiveDb.getMSC().getCurrentNotificationEventId().getEventId(); + String validTxnList = getValidTxnListForReplDump(hiveDb); for (String dbName : Utils.matchesDb(hiveDb, work.dbNameOrPattern)) { LOG.debug("ReplicationSemanticAnalyzer: analyzeReplDump dumping db: " + dbName); replLogger = new BootstrapDumpLogger(dbName, dumpRoot.toString(), Utils.getAllTables(getHive(), dbName).size(), getHive().getAllFunctions().size()); replLogger.startLog(); - Path dbRoot = dumpDbMetadata(dbName, dumpRoot); + Path dbRoot = dumpDbMetadata(dbName, dumpRoot, bootDumpBeginReplId); dumpFunctionMetadata(dbName, dumpRoot); String uniqueKey = Utils.setDbBootstrapDumpState(hiveDb, dbName); for (String tblName : Utils.matchesTbl(hiveDb, dbName, work.tableNameOrPattern)) { LOG.debug( "analyzeReplDump dumping table: " + tblName + " to db root " + dbRoot.toUri()); - dumpTable(dbName, tblName, dbRoot); + dumpTable(dbName, tblName, validTxnList, dbRoot); dumpConstraintMetadata(dbName, tblName, dbRoot); } Utils.resetDbBootstrapDumpState(hiveDb, dbName, uniqueKey); @@ -257,17 +266,17 @@ private Long bootStrapDump(Path dumpRoot, DumpMetaData dmd, Path cmRoot) throws return bootDumpBeginReplId; } - private Path dumpDbMetadata(String dbName, Path dumpRoot) throws Exception { + private Path dumpDbMetadata(String dbName, Path dumpRoot, long lastReplId) throws Exception { Path dbRoot = new Path(dumpRoot, dbName); // TODO : instantiating FS objects are generally costly. Refactor FileSystem fs = dbRoot.getFileSystem(conf); Path dumpPath = new Path(dbRoot, EximUtil.METADATA_NAME); - HiveWrapper.Tuple database = new HiveWrapper(getHive(), dbName).database(); + HiveWrapper.Tuple database = new HiveWrapper(getHive(), dbName, lastReplId).database(); EximUtil.createDbExportDump(fs, dumpPath, database.object, database.replicationSpec); return dbRoot; } - private void dumpTable(String dbName, String tblName, Path dbRoot) throws Exception { + private void dumpTable(String dbName, String tblName, String validTxnList, Path dbRoot) throws Exception { try { Hive db = getHive(); HiveWrapper.Tuple tuple = new HiveWrapper(db, dbName).table(tblName); @@ -276,6 +285,9 @@ private void dumpTable(String dbName, String tblName, Path dbRoot) throws Except new TableExport.Paths(work.astRepresentationForErrorMsg, dbRoot, tblName, conf, true); String distCpDoAsUser = conf.getVar(HiveConf.ConfVars.HIVE_DISTCP_DOAS_USER); tuple.replicationSpec.setIsReplace(true); // by default for all other objects this is false + if (AcidUtils.isTransactionalTable(tableSpec.tableHandle)) { + tuple.replicationSpec.setValidWriteIdList(getValidWriteIdList(dbName, tblName, validTxnList)); + } new TableExport(exportPaths, tableSpec, tuple.replicationSpec, db, distCpDoAsUser, conf).write(); replLogger.tableLog(tblName, tableSpec.tableHandle.getTableType()); @@ -286,6 +298,70 @@ private void dumpTable(String dbName, String tblName, Path dbRoot) throws Except } } + private String getValidWriteIdList(String dbName, String tblName, String validTxnString) throws LockException { + if ((validTxnString == null) || validTxnString.isEmpty()) { + return null; + } + String fullTableName = AcidUtils.getFullTableName(dbName, tblName); + ValidWriteIdList validWriteIds = getTxnMgr() + .getValidWriteIds(Collections.singletonList(fullTableName), validTxnString) + .getTableValidWriteIdList(fullTableName); + return ((validWriteIds != null) ? validWriteIds.toString() : null); + } + + private List getOpenTxns(ValidTxnList validTxnList) { + long[] invalidTxns = validTxnList.getInvalidTransactions(); + List openTxns = new ArrayList<>(); + for (long invalidTxn : invalidTxns) { + if (!validTxnList.isTxnAborted(invalidTxn)) { + openTxns.add(invalidTxn); + } + } + return openTxns; + } + + private String getValidTxnListForReplDump(Hive hiveDb) throws HiveException { + // Key design point for REPL DUMP is to not have any txns older than current txn in which dump runs. + // This is needed to ensure that Repl dump doesn't copy any data files written by any open txns + // mainly for streaming ingest case where one delta file shall have data from committed/aborted/open txns. + // It may also have data inconsistency if the on-going txns doesn't have corresponding open/write + // events captured which means, catch-up incremental phase won't be able to replicate those txns. + // So, the logic is to wait for configured amount of time to see if all open txns < current txn is + // getting aborted/committed. If not, then we forcefully abort those txns just like AcidHouseKeeperService. + ValidTxnList validTxnList = getTxnMgr().getValidTxns(); + long timeoutInMs = HiveConf.getTimeVar(conf, + HiveConf.ConfVars.REPL_BOOTSTRAP_DUMP_OPEN_TXN_TIMEOUT, TimeUnit.MILLISECONDS); + long waitUntilTime = System.currentTimeMillis() + timeoutInMs; + while (System.currentTimeMillis() < waitUntilTime) { + // If there are no txns which are open for the given ValidTxnList snapshot, then just return it. + if (getOpenTxns(validTxnList).isEmpty()) { + return validTxnList.toString(); + } + + // Wait for 1 minute and check again. + try { + Thread.sleep(sleepTime); + } catch (InterruptedException e) { + LOG.info("REPL DUMP thread sleep interrupted", e); + } + validTxnList = getTxnMgr().getValidTxns(); + } + + // After the timeout just force abort the open txns + List openTxns = getOpenTxns(validTxnList); + if (!openTxns.isEmpty()) { + hiveDb.abortTransactions(openTxns); + validTxnList = getTxnMgr().getValidTxns(); + if (validTxnList.getMinOpenTxn() != null) { + openTxns = getOpenTxns(validTxnList); + LOG.warn("REPL DUMP unable to force abort all the open txns: {} after timeout due to unknown reasons. " + + "However, this is rare case that shouldn't happen.", openTxns); + throw new IllegalStateException("REPL DUMP triggered abort txns failed for unknown reasons."); + } + } + return validTxnList.toString(); + } + private ReplicationSpec getNewReplicationSpec(String evState, String objState, boolean isMetadataOnly) { return new ReplicationSpec(true, isMetadataOnly, evState, objState, false, true, true); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpWork.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpWork.java index 323c73d..61fa424 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpWork.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/ReplDumpWork.java @@ -39,8 +39,8 @@ public static void injectNextDumpDirForTest(String dumpDir) { } public ReplDumpWork(String dbNameOrPattern, String tableNameOrPattern, - Long eventFrom, Long eventTo, String astRepresentationForErrorMsg, Integer maxEventLimit, - String resultTempPath) { + Long eventFrom, Long eventTo, String astRepresentationForErrorMsg, Integer maxEventLimit, + String resultTempPath) { this.dbNameOrPattern = dbNameOrPattern; this.tableNameOrPattern = tableNameOrPattern; this.eventFrom = eventFrom; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/ReplLoadTask.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/ReplLoadTask.java index 6f217cf..748d318 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/ReplLoadTask.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/ReplLoadTask.java @@ -72,8 +72,7 @@ public String getName() { protected int execute(DriverContext driverContext) { try { int maxTasks = conf.getIntVar(HiveConf.ConfVars.REPL_APPROX_MAX_LOAD_TASKS); - Context context = new Context(conf, getHive(), work.sessionStateLineageState, - work.currentTransactionId, driverContext.getCtx()); + Context context = new Context(conf, getHive(), work.sessionStateLineageState, driverContext.getCtx()); TaskTracker loadTaskTracker = new TaskTracker(maxTasks); /* for now for simplicity we are doing just one directory ( one database ), come back to use @@ -127,7 +126,7 @@ a database ( directory ) new TableContext(dbTracker, work.dbNameToLoadIn, work.tableNameToLoadIn); TableEvent tableEvent = (TableEvent) next; LoadTable loadTable = new LoadTable(tableEvent, context, iterator.replLogger(), - tableContext, loadTaskTracker, getTxnMgr()); + tableContext, loadTaskTracker); tableTracker = loadTable.tasks(); if (!scope.database) { scope.rootTasks.addAll(tableTracker.tasks()); @@ -145,7 +144,7 @@ a database ( directory ) // for a table we explicitly try to load partitions as there is no separate partitions events. LoadPartitions loadPartitions = new LoadPartitions(context, iterator.replLogger(), loadTaskTracker, tableEvent, - work.dbNameToLoadIn, tableContext, getTxnMgr()); + work.dbNameToLoadIn, tableContext); TaskTracker partitionsTracker = loadPartitions.tasks(); partitionsPostProcessing(iterator, scope, loadTaskTracker, tableTracker, partitionsTracker); @@ -163,7 +162,7 @@ a database ( directory ) work.tableNameToLoadIn); LoadPartitions loadPartitions = new LoadPartitions(context, iterator.replLogger(), tableContext, loadTaskTracker, - event.asTableEvent(), work.dbNameToLoadIn, event.lastPartitionReplicated(), getTxnMgr()); + event.asTableEvent(), work.dbNameToLoadIn, event.lastPartitionReplicated()); /* the tableTracker here should be a new instance and not an existing one as this can only happen when we break in between loading partitions. diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/ReplLoadWork.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/ReplLoadWork.java index 91ec93e..c1a9a62 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/ReplLoadWork.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/ReplLoadWork.java @@ -44,22 +44,20 @@ taken care when using other methods. */ final LineageState sessionStateLineageState; - public final long currentTransactionId; public ReplLoadWork(HiveConf hiveConf, String dumpDirectory, String dbNameToLoadIn, - String tableNameToLoadIn, LineageState lineageState, long currentTransactionId) + String tableNameToLoadIn, LineageState lineageState) throws IOException { this.tableNameToLoadIn = tableNameToLoadIn; sessionStateLineageState = lineageState; - this.currentTransactionId = currentTransactionId; this.iterator = new BootstrapEventsIterator(dumpDirectory, dbNameToLoadIn, hiveConf); this.constraintsIterator = new ConstraintEventsIterator(dumpDirectory, hiveConf); this.dbNameToLoadIn = dbNameToLoadIn; } public ReplLoadWork(HiveConf hiveConf, String dumpDirectory, String dbNameOrPattern, - LineageState lineageState, long currentTransactionId) throws IOException { - this(hiveConf, dumpDirectory, dbNameOrPattern, null, lineageState, currentTransactionId); + LineageState lineageState) throws IOException { + this(hiveConf, dumpDirectory, dbNameOrPattern, null, lineageState); } public BootstrapEventsIterator iterator() { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/TableEvent.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/TableEvent.java index e817f5f..3dcc1d7 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/TableEvent.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/TableEvent.java @@ -31,6 +31,9 @@ Licensed to the Apache Software Foundation (ASF) under one List partitionDescriptions(ImportTableDesc tblDesc) throws SemanticException; + List partitions(ImportTableDesc tblDesc) + throws SemanticException; + ReplicationSpec replicationSpec(); boolean shouldNotReplicate(); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSPartitionEvent.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSPartitionEvent.java index ef73d89..ee804e8 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSPartitionEvent.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSPartitionEvent.java @@ -68,6 +68,12 @@ public ImportTableDesc tableDesc(String dbName) throws SemanticException { } @Override + public List partitions(ImportTableDesc tblDesc) + throws SemanticException { + return tableEvent.partitions(tblDesc); + } + + @Override public ReplicationSpec replicationSpec() { return tableEvent.replicationSpec(); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java index cfd1640..0fabf5a 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/events/filesystem/FSTableEvent.java @@ -22,6 +22,7 @@ import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.Warehouse; +import org.apache.hadoop.hive.metastore.api.MetaException; import org.apache.hadoop.hive.metastore.api.Partition; import org.apache.hadoop.hive.ql.exec.repl.bootstrap.events.TableEvent; import org.apache.hadoop.hive.ql.metadata.Table; @@ -88,6 +89,21 @@ public ImportTableDesc tableDesc(String dbName) throws SemanticException { return descs; } + @Override + public List partitions(ImportTableDesc tblDesc) + throws SemanticException { + List partitions = new ArrayList<>(); + try { + for (Partition partition : metadata.getPartitions()) { + String partName = Warehouse.makePartName(tblDesc.getPartCols(), partition.getValues()); + partitions.add(partName); + } + } catch (MetaException e) { + throw new SemanticException(e); + } + return partitions; + } + private AddPartitionDesc partitionDesc(Path fromPath, ImportTableDesc tblDesc, Partition partition) throws SemanticException { try { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java index a42c299..51a7ccf 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadPartitions.java @@ -34,7 +34,7 @@ import org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.util.Context; import org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.util.PathUtils; import org.apache.hadoop.hive.ql.exec.util.DAGTraversal; -import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; +import org.apache.hadoop.hive.ql.io.AcidUtils; import org.apache.hadoop.hive.ql.metadata.HiveException; import org.apache.hadoop.hive.ql.metadata.Partition; import org.apache.hadoop.hive.ql.metadata.Table; @@ -45,10 +45,10 @@ import org.apache.hadoop.hive.ql.plan.AddPartitionDesc; import org.apache.hadoop.hive.ql.plan.DDLWork; import org.apache.hadoop.hive.ql.plan.ImportTableDesc; +import org.apache.hadoop.hive.ql.plan.LoadMultiFilesDesc; import org.apache.hadoop.hive.ql.plan.LoadTableDesc; import org.apache.hadoop.hive.ql.plan.LoadTableDesc.LoadFileType; import org.apache.hadoop.hive.ql.plan.MoveWork; -import org.apache.hadoop.hive.ql.session.SessionState; import org.datanucleus.util.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -56,6 +56,7 @@ import java.io.IOException; import java.io.Serializable; import java.util.ArrayList; +import java.util.Collections; import java.util.HashSet; import java.util.Iterator; import java.util.List; @@ -77,19 +78,16 @@ private final ImportTableDesc tableDesc; private Table table; - private final HiveTxnManager txnMgr; public LoadPartitions(Context context, ReplLogger replLogger, TaskTracker tableTracker, TableEvent event, String dbNameToLoadIn, - TableContext tableContext, - HiveTxnManager txnMgr) throws HiveException, IOException { - this(context, replLogger, tableContext, tableTracker, event, dbNameToLoadIn, null, txnMgr); + TableContext tableContext) throws HiveException, IOException { + this(context, replLogger, tableContext, tableTracker, event, dbNameToLoadIn, null); } public LoadPartitions(Context context, ReplLogger replLogger, TableContext tableContext, TaskTracker limiter, TableEvent event, String dbNameToLoadIn, - AddPartitionDesc lastReplicatedPartition, - HiveTxnManager txnMgr) throws HiveException, IOException { + AddPartitionDesc lastReplicatedPartition) throws HiveException, IOException { this.tracker = new TaskTracker(limiter); this.event = event; this.context = context; @@ -99,7 +97,6 @@ public LoadPartitions(Context context, ReplLogger replLogger, TableContext table this.tableDesc = tableContext.overrideProperties(event.tableDesc(dbNameToLoadIn)); this.table = ImportSemanticAnalyzer.tableIfExists(tableDesc, context.hiveDb); - this.txnMgr = txnMgr; } private String location() throws MetaException, HiveException { @@ -142,7 +139,7 @@ public TaskTracker tasks() throws SemanticException { if (table == null) { //new table - table = new Table(tableDesc.getDatabaseName(), tableDesc.getTableName()); + table = tableDesc.toTable(context.hiveConf); if (isPartitioned(tableDesc)) { updateReplicationState(initialReplicationState()); if (!forNewTable().hasReplicationState()) { @@ -242,18 +239,24 @@ private void addPartition(boolean hasMorePartitions, AddPartitionDesc addPartiti /** * This will create the move of partition data from temp path to actual path */ - private Task movePartitionTask(Table table, AddPartitionDesc.OnePartitionDesc partSpec, - Path tmpPath) { - // Note: this sets LoadFileType incorrectly for ACID; is that relevant for load? - // See setLoadFileType and setIsAcidIow calls elsewhere for an example. - LoadTableDesc loadTableWork = new LoadTableDesc( - tmpPath, Utilities.getTableDesc(table), partSpec.getPartSpec(), - event.replicationSpec().isReplace() ? LoadFileType.REPLACE_ALL : LoadFileType.OVERWRITE_EXISTING, - txnMgr.getCurrentTxnId() - ); - loadTableWork.setInheritTableSpecs(false); - MoveWork work = new MoveWork(new HashSet<>(), new HashSet<>(), loadTableWork, null, false); - return TaskFactory.get(work, context.hiveConf); + private Task movePartitionTask(Table table, AddPartitionDesc.OnePartitionDesc partSpec, Path tmpPath) { + MoveWork moveWork = new MoveWork(new HashSet<>(), new HashSet<>(), null, null, false); + if (AcidUtils.isTransactionalTable(table)) { + LoadMultiFilesDesc loadFilesWork = new LoadMultiFilesDesc( + Collections.singletonList(tmpPath), + Collections.singletonList(new Path(partSpec.getLocation())), + true, null, null); + moveWork.setMultiFilesDesc(loadFilesWork); + } else { + LoadTableDesc loadTableWork = new LoadTableDesc( + tmpPath, Utilities.getTableDesc(table), partSpec.getPartSpec(), + event.replicationSpec().isReplace() ? LoadFileType.REPLACE_ALL : LoadFileType.OVERWRITE_EXISTING, 0L + ); + loadTableWork.setInheritTableSpecs(false); + moveWork.setLoadTableWork(loadTableWork); + } + + return TaskFactory.get(moveWork, context.hiveConf); } private Path locationOnReplicaWarehouse(Table table, AddPartitionDesc.OnePartitionDesc partSpec) diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadTable.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadTable.java index ddb26e5..e2ec4af 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadTable.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/table/LoadTable.java @@ -34,7 +34,7 @@ import org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.util.Context; import org.apache.hadoop.hive.ql.exec.repl.bootstrap.load.util.PathUtils; import org.apache.hadoop.hive.ql.exec.util.DAGTraversal; -import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; +import org.apache.hadoop.hive.ql.io.AcidUtils; import org.apache.hadoop.hive.ql.metadata.Table; import org.apache.hadoop.hive.ql.parse.EximUtil; import org.apache.hadoop.hive.ql.parse.ImportSemanticAnalyzer; @@ -42,16 +42,18 @@ import org.apache.hadoop.hive.ql.parse.SemanticException; import org.apache.hadoop.hive.ql.parse.repl.ReplLogger; import org.apache.hadoop.hive.ql.plan.ImportTableDesc; +import org.apache.hadoop.hive.ql.plan.LoadMultiFilesDesc; import org.apache.hadoop.hive.ql.plan.LoadTableDesc; import org.apache.hadoop.hive.ql.plan.LoadTableDesc.LoadFileType; import org.apache.hadoop.hive.ql.plan.MoveWork; -import org.apache.hadoop.hive.ql.session.SessionState; +import org.apache.hadoop.hive.ql.plan.ReplTxnWork; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import java.io.IOException; import java.io.Serializable; import java.util.ArrayList; +import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.TreeMap; @@ -66,17 +68,15 @@ private final TableContext tableContext; private final TaskTracker tracker; private final TableEvent event; - private final HiveTxnManager txnMgr; public LoadTable(TableEvent event, Context context, ReplLogger replLogger, - TableContext tableContext, TaskTracker limiter, HiveTxnManager txnMgr) + TableContext tableContext, TaskTracker limiter) throws SemanticException, IOException { this.event = event; this.context = context; this.replLogger = replLogger; this.tableContext = tableContext; this.tracker = new TaskTracker(limiter); - this.txnMgr = txnMgr; } private void createTableReplLogTask(String tableName, TableType tableType) throws SemanticException { @@ -189,9 +189,8 @@ private void existingTableTasks(ImportTableDesc tblDesc, Table table, } } - private void newTableTasks(ImportTableDesc tblDesc) throws SemanticException { - Table table; - table = new Table(tblDesc.getDatabaseName(), tblDesc.getTableName()); + private void newTableTasks(ImportTableDesc tblDesc) throws Exception { + Table table = tblDesc.toTable(context.hiveConf); // Either we're dropping and re-creating, or the table didn't exist, and we're creating. Task createTableTask = tblDesc.getCreateTableTask(new HashSet<>(), new HashSet<>(), context.hiveConf); @@ -199,12 +198,22 @@ private void newTableTasks(ImportTableDesc tblDesc) throws SemanticException { tracker.addTask(createTableTask); return; } + + Task parentTask = createTableTask; + if (event.replicationSpec().isTransactionalTableDump()) { + List partNames = isPartitioned(tblDesc) ? event.partitions(tblDesc) : null; + ReplTxnWork replTxnWork = new ReplTxnWork(tblDesc.getDatabaseName(), tblDesc.getTableName(), partNames, + event.replicationSpec().getValidWriteIdList(), ReplTxnWork.OperationType.REPL_WRITEID_STATE); + Task replTxnTask = TaskFactory.get(replTxnWork, context.hiveConf); + createTableTask.addDependentTask(replTxnTask); + parentTask = replTxnTask; + } if (!isPartitioned(tblDesc)) { - LOG.debug("adding dependent CopyWork/MoveWork for table"); + LOG.debug("adding dependent ReplTxnTask/CopyWork/MoveWork for table"); Task loadTableTask = loadTableTask(table, event.replicationSpec(), new Path(tblDesc.getLocation()), event.metadataPath()); - createTableTask.addDependentTask(loadTableTask); + parentTask.addDependentTask(loadTableTask); } tracker.addTask(createTableTask); } @@ -229,14 +238,20 @@ private String location(ImportTableDesc tblDesc, Database parentDb) Task copyTask = ReplCopyTask.getLoadCopyTask(replicationSpec, dataPath, tmpPath, context.hiveConf); - LoadTableDesc loadTableWork = new LoadTableDesc( - tmpPath, Utilities.getTableDesc(table), new TreeMap<>(), - replicationSpec.isReplace() ? LoadFileType.REPLACE_ALL : LoadFileType.OVERWRITE_EXISTING, - //todo: what is the point of this? If this is for replication, who would have opened a txn? - txnMgr.getCurrentTxnId() - ); - MoveWork moveWork = - new MoveWork(new HashSet<>(), new HashSet<>(), loadTableWork, null, false); + MoveWork moveWork = new MoveWork(new HashSet<>(), new HashSet<>(), null, null, false); + if (AcidUtils.isTransactionalTable(table)) { + LoadMultiFilesDesc loadFilesWork = new LoadMultiFilesDesc( + Collections.singletonList(tmpPath), + Collections.singletonList(tgtPath), + true, null, null); + moveWork.setMultiFilesDesc(loadFilesWork); + } else { + LoadTableDesc loadTableWork = new LoadTableDesc( + tmpPath, Utilities.getTableDesc(table), new TreeMap<>(), + replicationSpec.isReplace() ? LoadFileType.REPLACE_ALL : LoadFileType.OVERWRITE_EXISTING, 0L + ); + moveWork.setLoadTableWork(loadTableWork); + } Task loadTableTask = TaskFactory.get(moveWork, context.hiveConf); copyTask.addDependentTask(loadTableTask); return copyTask; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/util/Context.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/util/Context.java index 6fbc657..7eae1ea 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/util/Context.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/repl/bootstrap/load/util/Context.java @@ -36,18 +36,16 @@ taken care when using other methods. */ public final LineageState sessionStateLineageState; - public final long currentTransactionId; public Context(HiveConf hiveConf, Hive hiveDb, - LineageState lineageState, long currentTransactionId, + LineageState lineageState, org.apache.hadoop.hive.ql.Context nestedContext) throws MetaException { this.hiveConf = hiveConf; this.hiveDb = hiveDb; this.warehouse = new Warehouse(hiveConf); this.pathInfo = new PathInfo(hiveConf); sessionStateLineageState = lineageState; - this.currentTransactionId = currentTransactionId; this.nestedContext = nestedContext; } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java index fd84978..eb7829e 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java @@ -27,6 +27,7 @@ import org.apache.hadoop.fs.Path; import org.apache.hadoop.fs.PathFilter; import org.apache.hadoop.hive.common.HiveStatsUtils; +import org.apache.hadoop.hive.common.ValidReaderWriteIdList; import org.apache.hadoop.hive.common.ValidTxnWriteIdList; import org.apache.hadoop.hive.common.ValidWriteIdList; import org.apache.hadoop.hive.conf.HiveConf; @@ -1814,6 +1815,41 @@ public static int getAcidVersionFromMetaFile(Path deltaOrBaseDir, FileSystem fs) return fileList; } + public static List getValidDataPaths(Path dataPath, Configuration conf, String validWriteIdStr) + throws IOException { + List pathList = new ArrayList<>(); + if ((validWriteIdStr == null) || validWriteIdStr.isEmpty()) { + // If Non-Acid case, then all files would be in the base data path. So, just return it. + pathList.add(dataPath); + return pathList; + } + + // If ACID/MM tables, then need to find the valid state wrt to given ValidWriteIdList. + ValidWriteIdList validWriteIdList = new ValidReaderWriteIdList(validWriteIdStr); + Directory acidInfo = AcidUtils.getAcidState(dataPath, conf, validWriteIdList); + + for (HdfsFileStatusWithId hfs : acidInfo.getOriginalFiles()) { + pathList.add(hfs.getFileStatus().getPath()); + } + for (ParsedDelta delta : acidInfo.getCurrentDirectories()) { + pathList.add(delta.getPath()); + } + if (acidInfo.getBaseDirectory() != null) { + pathList.add(acidInfo.getBaseDirectory()); + } + return pathList; + } + + public static String getAcidSubDir(Path dataPath) { + String dataDir = dataPath.getName(); + if (dataDir.startsWith(AcidUtils.BASE_PREFIX) + || dataDir.startsWith(AcidUtils.DELTA_PREFIX) + || dataDir.startsWith(AcidUtils.DELETE_DELTA_PREFIX)) { + return dataDir; + } + return null; + } + public static boolean isAcidEnabled(HiveConf hiveConf) { String txnMgr = hiveConf.getVar(HiveConf.ConfVars.HIVE_TXN_MANAGER); boolean concurrency = hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java index 7b7fd5d..c719dd0 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java @@ -686,6 +686,16 @@ public void rollbackTxn() throws LockException { } @Override + public void replTableWriteIdState(String validWriteIdList, String dbName, String tableName, List partNames) + throws LockException { + try { + getMS().replTableWriteIdState(validWriteIdList, dbName, tableName, partNames); + } catch (TException e) { + throw new LockException(ErrorMsg.METASTORE_COMMUNICATION_FAILED.getMsg(), e); + } + } + + @Override public void heartbeat() throws LockException { List locks; if(isTxnOpen()) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java index 78eedd3..aa0aa35 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DummyTxnManager.java @@ -235,6 +235,12 @@ public void replRollbackTxn(String replPolicy, long srcTxnId) throws LockExcepti } @Override + public void replTableWriteIdState(String validWriteIdList, String dbName, String tableName, List partNames) + throws LockException { + // No-op + } + + @Override public void heartbeat() throws LockException { // No-op } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java index ec11fec..f59af5f 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/HiveTxnManager.java @@ -56,7 +56,7 @@ * @return The new transaction id. * @throws LockException in case of failure to start the transaction. */ - List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws LockException; + List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws LockException; /** * Commit the transaction in target cluster. @@ -64,7 +64,7 @@ * @param srcTxnId The id of the transaction at the source cluster * @throws LockException in case of failure to commit the transaction. */ - void replCommitTxn(String replPolicy, long srcTxnId) throws LockException; + void replCommitTxn(String replPolicy, long srcTxnId) throws LockException; /** * Abort the transaction in target cluster. @@ -72,7 +72,18 @@ * @param srcTxnId The id of the transaction at the source cluster * @throws LockException in case of failure to abort the transaction. */ - void replRollbackTxn(String replPolicy, long srcTxnId) throws LockException; + void replRollbackTxn(String replPolicy, long srcTxnId) throws LockException; + + /** + * Replicate Table Write Ids state to mark aborted write ids and writeid high water mark. + * @param validWriteIdList Snapshot of writeid list when the table/partition is dumped. + * @param dbName Database name + * @param tableName Table which is written. + * @param partNames List of partitions being written. + * @throws LockException in case of failure. + */ + void replTableWriteIdState(String validWriteIdList, String dbName, String tableName, List partNames) + throws LockException; /** * Get the lock manager. This must be used rather than instantiating an diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java index b850ddc..fa32807 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java @@ -327,8 +327,9 @@ public static boolean prepareImport(boolean isImportCmd, Long writeId = 0L; // Initialize with 0 for non-ACID and non-MM tables. int stmtId = 0; - if ((tableExists && AcidUtils.isTransactionalTable(table)) - || (!tableExists && AcidUtils.isTablePropertyTransactional(tblDesc.getTblProps()))) { + if (!replicationSpec.isInReplicationScope() + && ((tableExists && AcidUtils.isTransactionalTable(table)) + || (!tableExists && AcidUtils.isTablePropertyTransactional(tblDesc.getTblProps())))) { //if importing into existing transactional table or will create a new transactional table //(because Export was done from transactional table), need a writeId // Explain plan doesn't open a txn and hence no need to allocate write id. diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/LoadSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/LoadSemanticAnalyzer.java index c07991d..8332bcc 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/LoadSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/LoadSemanticAnalyzer.java @@ -81,7 +81,7 @@ public boolean accept(Path p) { } }); if ((srcs != null) && srcs.length == 1) { - if (srcs[0].isDir()) { + if (srcs[0].isDirectory()) { srcs = fs.listStatus(srcs[0].getPath(), new PathFilter() { @Override public boolean accept(Path p) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java index 05eca1f..562f497 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSemanticAnalyzer.java @@ -368,9 +368,8 @@ private void analyzeReplLoad(ASTNode ast) throws SemanticException { } if ((!evDump) && (tblNameOrPattern != null) && !(tblNameOrPattern.isEmpty())) { - ReplLoadWork replLoadWork = - new ReplLoadWork(conf, loadPath.toString(), dbNameOrPattern, tblNameOrPattern, - queryState.getLineageState(), getTxnMgr().getCurrentTxnId()); + ReplLoadWork replLoadWork = new ReplLoadWork(conf, loadPath.toString(), dbNameOrPattern, + tblNameOrPattern, queryState.getLineageState()); rootTasks.add(TaskFactory.get(replLoadWork, conf)); return; } @@ -401,7 +400,7 @@ private void analyzeReplLoad(ASTNode ast) throws SemanticException { } ReplLoadWork replLoadWork = new ReplLoadWork(conf, loadPath.toString(), dbNameOrPattern, - queryState.getLineageState(), getTxnMgr().getCurrentTxnId()); + queryState.getLineageState()); rootTasks.add(TaskFactory.get(replLoadWork, conf)); // // for (FileStatus dir : dirsInLoadPath) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSpec.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSpec.java index 824da21..7d901f9 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSpec.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSpec.java @@ -43,6 +43,7 @@ private boolean isNoop = false; private boolean isLazy = false; // lazy mode => we only list files, and expect that the eventual copy will pull data in. private boolean isReplace = true; // default is that the import mode is insert overwrite + private String validWriteIdList = null; // WriteIds snapshot for replicating ACID/MM tables. private Type specType = Type.DEFAULT; // DEFAULT means REPL_LOAD or BOOTSTRAP_DUMP or EXPORT // Key definitions related to replication @@ -52,7 +53,8 @@ CURR_STATE_ID("repl.last.id"), NOOP("repl.noop"), LAZY("repl.lazy"), - IS_REPLACE("repl.is.replace") + IS_REPLACE("repl.is.replace"), + VALID_WRITEID_LIST("repl.valid.writeid.list") ; private final String keyName; @@ -140,6 +142,7 @@ public ReplicationSpec(Function keyFetcher) { this.isNoop = Boolean.parseBoolean(keyFetcher.apply(ReplicationSpec.KEY.NOOP.toString())); this.isLazy = Boolean.parseBoolean(keyFetcher.apply(ReplicationSpec.KEY.LAZY.toString())); this.isReplace = Boolean.parseBoolean(keyFetcher.apply(ReplicationSpec.KEY.IS_REPLACE.toString())); + this.validWriteIdList = keyFetcher.apply(ReplicationSpec.KEY.VALID_WRITEID_LIST.toString()); } /** @@ -325,6 +328,27 @@ public void setLazy(boolean isLazy){ this.isLazy = isLazy; } + /** + * @return the WriteIds snapshot for the current ACID/MM table being replicated + */ + public String getValidWriteIdList() { + return validWriteIdList; + } + + /** + * @param validWriteIdList WriteIds snapshot for the current ACID/MM table being replicated + */ + public void setValidWriteIdList(String validWriteIdList) { + this.validWriteIdList = validWriteIdList; + } + + /** + * @return whether the current replication dumped object related to ACID/Mm table + */ + public boolean isTransactionalTableDump() { + return (validWriteIdList != null); + } + public String get(KEY key) { switch (key){ case REPL_SCOPE: @@ -346,6 +370,8 @@ public String get(KEY key) { return String.valueOf(isLazy()); case IS_REPLACE: return String.valueOf(isReplace()); + case VALID_WRITEID_LIST: + return getValidWriteIdList(); } return null; } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/CopyUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/CopyUtils.java index 4e61280..529ea21 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/CopyUtils.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/CopyUtils.java @@ -66,43 +66,52 @@ public CopyUtils(String distCpDoAsUser, HiveConf hiveConf) { // Used by replication, copy files from source to destination. It is possible source file is // changed/removed during copy, so double check the checksum after copy, // if not match, copy again from cm - public void copyAndVerify(FileSystem destinationFs, Path destination, + public void copyAndVerify(FileSystem destinationFs, Path destRoot, List srcFiles) throws IOException, LoginException { - Map> map = fsToFileMap(srcFiles); - for (Map.Entry> entry : map.entrySet()) { + Map>> map = fsToFileMap(srcFiles, destRoot); + for (Map.Entry>> entry : map.entrySet()) { FileSystem sourceFs = entry.getKey(); - List fileInfoList = entry.getValue(); - boolean useRegularCopy = regularCopy(destinationFs, sourceFs, fileInfoList); + Map> destMap = entry.getValue(); + for (Map.Entry> destMapEntry : destMap.entrySet()) { + Path destination = destMapEntry.getKey(); + List fileInfoList = destMapEntry.getValue(); + boolean useRegularCopy = regularCopy(destinationFs, sourceFs, fileInfoList); - doCopyRetry(sourceFs, fileInfoList, destinationFs, destination, useRegularCopy); - - // Verify checksum, retry if checksum changed - List retryFileInfoList = new ArrayList<>(); - for (ReplChangeManager.FileInfo srcFile : srcFiles) { - if(!srcFile.isUseSourcePath()) { - // If already use cmpath, nothing we can do here, skip this file - continue; + if (!destinationFs.exists(destination) + && !FileUtils.mkdir(destinationFs, destination, hiveConf)) { + LOG.error("Failed to create destination directory: " + destination); + throw new IOException("Destination directory creation failed"); } - String sourceChecksumString = srcFile.getCheckSum(); - if (sourceChecksumString != null) { - String verifySourceChecksumString; - try { - verifySourceChecksumString - = ReplChangeManager.checksumFor(srcFile.getSourcePath(), sourceFs); - } catch (IOException e) { - // Retry with CM path - verifySourceChecksumString = null; + doCopyRetry(sourceFs, fileInfoList, destinationFs, destination, useRegularCopy); + + // Verify checksum, retry if checksum changed + List retryFileInfoList = new ArrayList<>(); + for (ReplChangeManager.FileInfo srcFile : srcFiles) { + if (!srcFile.isUseSourcePath()) { + // If already use cmpath, nothing we can do here, skip this file + continue; } - if ((verifySourceChecksumString == null) - || !sourceChecksumString.equals(verifySourceChecksumString)) { - // If checksum does not match, likely the file is changed/removed, copy again from cm - srcFile.setIsUseSourcePath(false); - retryFileInfoList.add(srcFile); + String sourceChecksumString = srcFile.getCheckSum(); + if (sourceChecksumString != null) { + String verifySourceChecksumString; + try { + verifySourceChecksumString + = ReplChangeManager.checksumFor(srcFile.getSourcePath(), sourceFs); + } catch (IOException e) { + // Retry with CM path + verifySourceChecksumString = null; + } + if ((verifySourceChecksumString == null) + || !sourceChecksumString.equals(verifySourceChecksumString)) { + // If checksum does not match, likely the file is changed/removed, copy again from cm + srcFile.setIsUseSourcePath(false); + retryFileInfoList.add(srcFile); + } } } - } - if (!retryFileInfoList.isEmpty()) { - doCopyRetry(sourceFs, retryFileInfoList, destinationFs, destination, useRegularCopy); + if (!retryFileInfoList.isEmpty()) { + doCopyRetry(sourceFs, retryFileInfoList, destinationFs, destination, useRegularCopy); + } } } } @@ -212,7 +221,7 @@ public void doCopy(Path destination, List srcPaths) throws IOException, Lo for (Map.Entry> entry : map.entrySet()) { final FileSystem sourceFs = entry.getKey(); List fileList = Lists.transform(entry.getValue(), - path -> { return new ReplChangeManager.FileInfo(sourceFs, path);}); + path -> new ReplChangeManager.FileInfo(sourceFs, path, null)); doCopyOnce(sourceFs, entry.getValue(), destinationFs, destination, regularCopy(destinationFs, sourceFs, fileList)); @@ -287,16 +296,33 @@ private boolean isLocal(FileSystem fs) { return result; } - private Map> fsToFileMap( - List srcFiles) throws IOException { - Map> result = new HashMap<>(); + // Create map of source file system to destination path to list of files to copy + private Map>> fsToFileMap( + List srcFiles, Path destRoot) throws IOException { + Map>> result = new HashMap<>(); for (ReplChangeManager.FileInfo file : srcFiles) { FileSystem fileSystem = file.getSrcFs(); if (!result.containsKey(fileSystem)) { - result.put(fileSystem, new ArrayList()); + result.put(fileSystem, new HashMap<>()); } - result.get(fileSystem).add(file); + Path destination = getCopyDestination(file, destRoot); + if (!result.get(fileSystem).containsKey(destination)) { + result.get(fileSystem).put(destination, new ArrayList<>()); + } + result.get(fileSystem).get(destination).add(file); } return result; } + + private Path getCopyDestination(ReplChangeManager.FileInfo fileInfo, Path destRoot) { + if (fileInfo.getSubDir() == null) { + return destRoot; + } + String[] subDirs = fileInfo.getSubDir().split(Path.SEPARATOR); + Path destination = destRoot; + for (String subDir: subDirs) { + destination = new Path(destination, subDir); + } + return destination; + } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/BootStrapReplicationSpecFunction.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/BootStrapReplicationSpecFunction.java index 5c1850c..4b2812e 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/BootStrapReplicationSpecFunction.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/BootStrapReplicationSpecFunction.java @@ -24,16 +24,18 @@ class BootStrapReplicationSpecFunction implements HiveWrapper.Tuple.Function { private final Hive db; + private final long currentNotificationId; - BootStrapReplicationSpecFunction(Hive db) { + BootStrapReplicationSpecFunction(Hive db, long currentNotificationId) { this.db = db; + this.currentNotificationId = currentNotificationId; } @Override public ReplicationSpec fromMetaStore() throws HiveException { try { - long currentNotificationId = db.getMSC() - .getCurrentNotificationEventId().getEventId(); + long currentReplicationState = (this.currentNotificationId > 0) + ? this.currentNotificationId : db.getMSC().getCurrentNotificationEventId().getEventId(); ReplicationSpec replicationSpec = new ReplicationSpec( true, @@ -45,7 +47,7 @@ public ReplicationSpec fromMetaStore() throws HiveException { false ); - replicationSpec.setCurrentReplicationState(String.valueOf(currentNotificationId)); + replicationSpec.setCurrentReplicationState(String.valueOf(currentReplicationState)); return replicationSpec; } catch (Exception e) { throw new SemanticException(e); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/HiveWrapper.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/HiveWrapper.java index 7edfc6a..fb8c4ca 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/HiveWrapper.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/HiveWrapper.java @@ -36,9 +36,13 @@ private final Tuple.Function functionForSpec; public HiveWrapper(Hive db, String dbName) { + this(db, dbName, 0); + } + + public HiveWrapper(Hive db, String dbName, long lastReplId) { this.dbName = dbName; this.db = db; - this.functionForSpec = new BootStrapReplicationSpecFunction(db); + this.functionForSpec = new BootStrapReplicationSpecFunction(db, lastReplId); } public Tuple function(final String name) diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/PartitionExport.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/PartitionExport.java index 5844f3d..c9f7850 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/PartitionExport.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/PartitionExport.java @@ -21,6 +21,7 @@ import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.ql.hooks.ReadEntity; +import org.apache.hadoop.hive.ql.io.AcidUtils; import org.apache.hadoop.hive.ql.metadata.Partition; import org.apache.hadoop.hive.ql.metadata.PartitionIterable; import org.apache.hadoop.hive.ql.parse.ReplicationSpec; @@ -28,6 +29,9 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import java.io.IOException; +import java.util.Collections; +import java.util.List; import java.util.concurrent.ArrayBlockingQueue; import java.util.concurrent.BlockingQueue; import java.util.concurrent.ExecutorService; @@ -97,11 +101,11 @@ void write(final ReplicationSpec forReplicationSpec) throws InterruptedException String partitionName = partition.getName(); String threadName = Thread.currentThread().getName(); LOG.debug("Thread: {}, start partition dump {}", threadName, partitionName); - Path fromPath = partition.getDataLocation(); try { // this the data copy + List dataPathList = getDataPathList(partition, forReplicationSpec); Path rootDataDumpDir = paths.partitionExportDir(partitionName); - new FileOperations(fromPath, rootDataDumpDir, distCpDoAsUser, hiveConf) + new FileOperations(dataPathList, rootDataDumpDir, distCpDoAsUser, hiveConf) .export(forReplicationSpec); LOG.debug("Thread: {}, finish partition dump {}", threadName, partitionName); } catch (Exception e) { @@ -113,4 +117,13 @@ void write(final ReplicationSpec forReplicationSpec) throws InterruptedException // may be drive this via configuration as well. consumer.awaitTermination(Long.MAX_VALUE, TimeUnit.SECONDS); } + + private List getDataPathList(Partition partition, ReplicationSpec replicationSpec) throws IOException { + Path fromPath = partition.getDataLocation(); + if (replicationSpec.isTransactionalTableDump()) { + return AcidUtils.getValidDataPaths(fromPath, hiveConf, replicationSpec.getValidWriteIdList()); + } else { + return Collections.singletonList(fromPath); + } + } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/TableExport.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/TableExport.java index abb2e88..70b48d7 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/TableExport.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/TableExport.java @@ -45,6 +45,7 @@ import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; +import java.util.List; import java.util.Set; import java.util.concurrent.ConcurrentHashMap; @@ -149,9 +150,9 @@ private void writeData(PartitionIterable partitions) throws SemanticException { } new PartitionExport(paths, partitions, distCpDoAsUser, conf).write(replicationSpec); } else { - Path fromPath = tableSpec.tableHandle.getDataLocation(); + List dataPathList = getDataPathList(); // this is the data copy - new FileOperations(fromPath, paths.dataExportDir(), distCpDoAsUser, conf) + new FileOperations(dataPathList, paths.dataExportDir(), distCpDoAsUser, conf) .export(replicationSpec); } } catch (Exception e) { @@ -159,13 +160,16 @@ private void writeData(PartitionIterable partitions) throws SemanticException { } } - private boolean shouldExport() { - // Note: this is a temporary setting that is needed because replication does not support - // ACID or MM tables at the moment. It will eventually be removed. - if (conf.getBoolVar(HiveConf.ConfVars.REPL_DUMP_INCLUDE_ACID_TABLES) - && AcidUtils.isTransactionalTable(tableSpec.tableHandle)) { - return true; + private List getDataPathList() throws IOException { + Path fromPath = tableSpec.tableHandle.getDataLocation(); + if (replicationSpec.isTransactionalTableDump()) { + return AcidUtils.getValidDataPaths(fromPath, conf, replicationSpec.getValidWriteIdList()); + } else { + return Collections.singletonList(fromPath); } + } + + private boolean shouldExport() { return Utils.shouldReplicate(replicationSpec, tableSpec.tableHandle, conf); } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FileOperations.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FileOperations.java index 866d351..690498f 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FileOperations.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FileOperations.java @@ -22,6 +22,7 @@ import org.apache.hadoop.fs.Path; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.ReplChangeManager; +import org.apache.hadoop.hive.ql.io.AcidUtils; import org.apache.hadoop.hive.ql.parse.EximUtil; import org.apache.hadoop.hive.ql.parse.LoadSemanticAnalyzer; import org.apache.hadoop.hive.ql.parse.ReplicationSpec; @@ -39,19 +40,23 @@ public class FileOperations { private static Logger logger = LoggerFactory.getLogger(FileOperations.class); - private final Path dataFileListPath; + private final List dataPathList; private final Path exportRootDataDir; private final String distCpDoAsUser; private HiveConf hiveConf; private final FileSystem dataFileSystem, exportFileSystem; - public FileOperations(Path dataFileListPath, Path exportRootDataDir, + public FileOperations(List dataPathList, Path exportRootDataDir, String distCpDoAsUser, HiveConf hiveConf) throws IOException { - this.dataFileListPath = dataFileListPath; + this.dataPathList = dataPathList; this.exportRootDataDir = exportRootDataDir; this.distCpDoAsUser = distCpDoAsUser; this.hiveConf = hiveConf; - dataFileSystem = dataFileListPath.getFileSystem(hiveConf); + if ((dataPathList != null) && !dataPathList.isEmpty()) { + dataFileSystem = dataPathList.get(0).getFileSystem(hiveConf); + } else { + dataFileSystem = null; + } exportFileSystem = exportRootDataDir.getFileSystem(hiveConf); } @@ -67,13 +72,15 @@ public void export(ReplicationSpec forReplicationSpec) throws Exception { * This writes the actual data in the exportRootDataDir from the source. */ private void copyFiles() throws IOException, LoginException { - FileStatus[] fileStatuses = - LoadSemanticAnalyzer.matchFilesOrDir(dataFileSystem, dataFileListPath); - List srcPaths = new ArrayList<>(); - for (FileStatus fileStatus : fileStatuses) { - srcPaths.add(fileStatus.getPath()); + for (Path dataPath : dataPathList) { + FileStatus[] fileStatuses = + LoadSemanticAnalyzer.matchFilesOrDir(dataFileSystem, dataPath); + List srcPaths = new ArrayList<>(); + for (FileStatus fileStatus : fileStatuses) { + srcPaths.add(fileStatus.getPath()); + } + new CopyUtils(distCpDoAsUser, hiveConf).doCopy(exportRootDataDir, srcPaths); } - new CopyUtils(distCpDoAsUser, hiveConf).doCopy(exportRootDataDir, srcPaths); } /** @@ -83,31 +90,57 @@ private void copyFiles() throws IOException, LoginException { */ private void exportFilesAsList() throws SemanticException, IOException { try (BufferedWriter writer = writer()) { - FileStatus[] fileStatuses = - LoadSemanticAnalyzer.matchFilesOrDir(dataFileSystem, dataFileListPath); - for (FileStatus fileStatus : fileStatuses) { - writer.write(encodedUri(fileStatus)); + for (Path dataPath : dataPathList) { + writeFilesList(listFilesInDir(dataPath), writer, AcidUtils.getAcidSubDir(dataPath)); + } + } + } + + private void writeFilesList(FileStatus[] fileStatuses, BufferedWriter writer, String encodedSubDirs) + throws IOException { + for (FileStatus fileStatus : fileStatuses) { + if (fileStatus.isDirectory()) { + // Write files inside the sub-directory. + Path subDir = fileStatus.getPath(); + writeFilesList(listFilesInDir(subDir), writer, encodedSubDir(encodedSubDirs, subDir)); + } else { + writer.write(encodedUri(fileStatus, encodedSubDirs)); writer.newLine(); } } } + private FileStatus[] listFilesInDir(Path path) throws IOException { + return dataFileSystem.listStatus(path, p -> { + String name = p.getName(); + return !name.startsWith("_") && !name.startsWith("."); + }); + } + private BufferedWriter writer() throws IOException { Path exportToFile = new Path(exportRootDataDir, EximUtil.FILES_NAME); if (exportFileSystem.exists(exportToFile)) { throw new IllegalArgumentException( exportToFile.toString() + " already exists and cant export data from path(dir) " - + dataFileListPath); + + dataPathList); } - logger.debug("exporting data files in dir : " + dataFileListPath + " to " + exportToFile); + logger.debug("exporting data files in dir : " + dataPathList + " to " + exportToFile); return new BufferedWriter( new OutputStreamWriter(exportFileSystem.create(exportToFile)) ); } - private String encodedUri(FileStatus fileStatus) throws IOException { + private String encodedSubDir(String encodedParentDirs, Path subDir) { + if (null == encodedParentDirs) { + return subDir.getName(); + } else { + return encodedParentDirs + Path.SEPARATOR + subDir.getName(); + } + } + + private String encodedUri(FileStatus fileStatus, String encodedSubDir) throws IOException { Path currentDataFilePath = fileStatus.getPath(); String checkSum = ReplChangeManager.checksumFor(currentDataFilePath, dataFileSystem); - return ReplChangeManager.encodeFileUri(currentDataFilePath.toString(), checkSum); + return ReplChangeManager.encodeFileUri(currentDataFilePath.toString(), checkSum, encodedSubDir); } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FunctionSerializer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FunctionSerializer.java index f72f430..b68e887 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FunctionSerializer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/io/FunctionSerializer.java @@ -56,7 +56,7 @@ public void writeTo(JsonWriter writer, ReplicationSpec additionalPropertiesProvi FileSystem fileSystem = inputPath.getFileSystem(hiveConf); Path qualifiedUri = PathBuilder.fullyQualifiedHDFSUri(inputPath, fileSystem); String checkSum = ReplChangeManager.checksumFor(qualifiedUri, fileSystem); - String newFileUri = ReplChangeManager.encodeFileUri(qualifiedUri.toString(), checkSum); + String newFileUri = ReplChangeManager.encodeFileUri(qualifiedUri.toString(), checkSum, null); resourceUris.add(new ResourceUri(uri.getResourceType(), newFileUri)); } else { resourceUris.add(uri); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AbortTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AbortTxnHandler.java index 3c28f84..afc7426 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AbortTxnHandler.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AbortTxnHandler.java @@ -18,7 +18,7 @@ package org.apache.hadoop.hive.ql.parse.repl.load.message; import org.apache.hadoop.hive.metastore.messaging.AbortTxnMessage; -import org.apache.hadoop.hive.ql.exec.ReplTxnWork; +import org.apache.hadoop.hive.ql.plan.ReplTxnWork; import org.apache.hadoop.hive.ql.exec.Task; import org.apache.hadoop.hive.ql.exec.TaskFactory; import org.apache.hadoop.hive.ql.io.AcidUtils; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AllocWriteIdHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AllocWriteIdHandler.java index ef51396..9bdbf64 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AllocWriteIdHandler.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AllocWriteIdHandler.java @@ -18,12 +18,12 @@ package org.apache.hadoop.hive.ql.parse.repl.load.message; import org.apache.hadoop.hive.metastore.messaging.AllocWriteIdMessage; -import org.apache.hadoop.hive.ql.exec.ReplTxnWork; import org.apache.hadoop.hive.ql.exec.Task; import org.apache.hadoop.hive.ql.exec.TaskFactory; import org.apache.hadoop.hive.ql.io.AcidUtils; import org.apache.hadoop.hive.ql.metadata.HiveUtils; import org.apache.hadoop.hive.ql.parse.SemanticException; +import org.apache.hadoop.hive.ql.plan.ReplTxnWork; import java.io.Serializable; import java.util.Collections; import java.util.List; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CommitTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CommitTxnHandler.java index 1274213..d25102e 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CommitTxnHandler.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CommitTxnHandler.java @@ -18,7 +18,7 @@ package org.apache.hadoop.hive.ql.parse.repl.load.message; import org.apache.hadoop.hive.metastore.messaging.CommitTxnMessage; -import org.apache.hadoop.hive.ql.exec.ReplTxnWork; +import org.apache.hadoop.hive.ql.plan.ReplTxnWork; import org.apache.hadoop.hive.ql.exec.Task; import org.apache.hadoop.hive.ql.exec.TaskFactory; import org.apache.hadoop.hive.ql.io.AcidUtils; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/OpenTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/OpenTxnHandler.java index a502117..190e021 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/OpenTxnHandler.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/OpenTxnHandler.java @@ -18,7 +18,7 @@ package org.apache.hadoop.hive.ql.parse.repl.load.message; import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; -import org.apache.hadoop.hive.ql.exec.ReplTxnWork; +import org.apache.hadoop.hive.ql.plan.ReplTxnWork; import org.apache.hadoop.hive.ql.exec.Task; import org.apache.hadoop.hive.ql.exec.TaskFactory; import org.apache.hadoop.hive.ql.io.AcidUtils; 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 b137cd9..ef7325f 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 @@ -348,4 +348,15 @@ public TableType tableType() { } return TableType.MANAGED_TABLE; } + + public Table toTable(HiveConf conf) throws Exception { + switch (getDescType()) { + case TABLE: + return createTblDesc.toTable(conf); + case VIEW: + return createViewDesc.toTable(conf); + default: + return null; + } + } } diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java b/ql/src/java/org/apache/hadoop/hive/ql/plan/ReplTxnWork.java similarity index 83% rename from ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java rename to ql/src/java/org/apache/hadoop/hive/ql/plan/ReplTxnWork.java index 530e9be..3c853c9 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/plan/ReplTxnWork.java @@ -15,13 +15,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.hadoop.hive.ql.exec; +package org.apache.hadoop.hive.ql.plan; import java.io.Serializable; import org.apache.hadoop.hive.metastore.api.TxnToWriteId; import org.apache.hadoop.hive.ql.parse.ReplicationSpec; -import org.apache.hadoop.hive.ql.plan.Explain; import org.apache.hadoop.hive.ql.plan.Explain.Level; import java.util.Collections; import java.util.List; @@ -33,9 +32,11 @@ @Explain(displayName = "Replication Transaction", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) public class ReplTxnWork implements Serializable { private static final long serialVersionUID = 1L; + private String replPolicy; private String dbName; private String tableName; - private String replPolicy; + private List partNames; + private String validWriteIdList; private List txnIds; private List txnToWriteIdList; private ReplicationSpec replicationSpec; @@ -45,7 +46,7 @@ * Different kind of events supported for replaying. */ public enum OperationType { - REPL_OPEN_TXN, REPL_ABORT_TXN, REPL_COMMIT_TXN, REPL_ALLOC_WRITE_ID + REPL_OPEN_TXN, REPL_ABORT_TXN, REPL_COMMIT_TXN, REPL_ALLOC_WRITE_ID, REPL_WRITEID_STATE } OperationType operation; @@ -76,6 +77,15 @@ public ReplTxnWork(String replPolicy, String dbName, String tableName, Operation this(replPolicy, dbName, tableName, null, type, txnToWriteIdList, replicationSpec); } + public ReplTxnWork(String dbName, String tableName, List partNames, + String validWriteIdList, OperationType type) { + this.dbName = dbName; + this.tableName = tableName; + this.partNames = partNames; + this.validWriteIdList = validWriteIdList; + this.operation = type; + } + public List getTxnIds() { return txnIds; } @@ -85,13 +95,21 @@ public String getDbName() { } public String getTableName() { - return tableName; + return ((tableName == null) || tableName.isEmpty()) ? null : tableName; } - public String getReplPolicy() { + public String getReplPolicy() { return replPolicy; } + public List getPartNames() { + return partNames; + } + + public String getValidWriteIdList() { + return validWriteIdList; + } + public OperationType getOperationType() { return operation; } diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 4787703..81ae327 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -2107,14 +2107,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1191; - ::apache::thrift::protocol::TType _etype1194; - xfer += iprot->readListBegin(_etype1194, _size1191); - this->success.resize(_size1191); - uint32_t _i1195; - for (_i1195 = 0; _i1195 < _size1191; ++_i1195) + uint32_t _size1199; + ::apache::thrift::protocol::TType _etype1202; + xfer += iprot->readListBegin(_etype1202, _size1199); + this->success.resize(_size1199); + uint32_t _i1203; + for (_i1203 = 0; _i1203 < _size1199; ++_i1203) { - xfer += iprot->readString(this->success[_i1195]); + xfer += iprot->readString(this->success[_i1203]); } xfer += iprot->readListEnd(); } @@ -2153,10 +2153,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 _iter1196; - for (_iter1196 = this->success.begin(); _iter1196 != this->success.end(); ++_iter1196) + std::vector ::const_iterator _iter1204; + for (_iter1204 = this->success.begin(); _iter1204 != this->success.end(); ++_iter1204) { - xfer += oprot->writeString((*_iter1196)); + xfer += oprot->writeString((*_iter1204)); } xfer += oprot->writeListEnd(); } @@ -2201,14 +2201,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1197; - ::apache::thrift::protocol::TType _etype1200; - xfer += iprot->readListBegin(_etype1200, _size1197); - (*(this->success)).resize(_size1197); - uint32_t _i1201; - for (_i1201 = 0; _i1201 < _size1197; ++_i1201) + 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 += iprot->readString((*(this->success))[_i1201]); + xfer += iprot->readString((*(this->success))[_i1209]); } xfer += iprot->readListEnd(); } @@ -2325,14 +2325,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1202; - ::apache::thrift::protocol::TType _etype1205; - xfer += iprot->readListBegin(_etype1205, _size1202); - this->success.resize(_size1202); - uint32_t _i1206; - for (_i1206 = 0; _i1206 < _size1202; ++_i1206) + uint32_t _size1210; + ::apache::thrift::protocol::TType _etype1213; + xfer += iprot->readListBegin(_etype1213, _size1210); + this->success.resize(_size1210); + uint32_t _i1214; + for (_i1214 = 0; _i1214 < _size1210; ++_i1214) { - xfer += iprot->readString(this->success[_i1206]); + xfer += iprot->readString(this->success[_i1214]); } xfer += iprot->readListEnd(); } @@ -2371,10 +2371,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 _iter1207; - for (_iter1207 = this->success.begin(); _iter1207 != this->success.end(); ++_iter1207) + std::vector ::const_iterator _iter1215; + for (_iter1215 = this->success.begin(); _iter1215 != this->success.end(); ++_iter1215) { - xfer += oprot->writeString((*_iter1207)); + xfer += oprot->writeString((*_iter1215)); } xfer += oprot->writeListEnd(); } @@ -2419,14 +2419,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1208; - ::apache::thrift::protocol::TType _etype1211; - xfer += iprot->readListBegin(_etype1211, _size1208); - (*(this->success)).resize(_size1208); - uint32_t _i1212; - for (_i1212 = 0; _i1212 < _size1208; ++_i1212) + 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))[_i1212]); + xfer += iprot->readString((*(this->success))[_i1220]); } xfer += iprot->readListEnd(); } @@ -3488,17 +3488,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1213; - ::apache::thrift::protocol::TType _ktype1214; - ::apache::thrift::protocol::TType _vtype1215; - xfer += iprot->readMapBegin(_ktype1214, _vtype1215, _size1213); - uint32_t _i1217; - for (_i1217 = 0; _i1217 < _size1213; ++_i1217) + uint32_t _size1221; + ::apache::thrift::protocol::TType _ktype1222; + ::apache::thrift::protocol::TType _vtype1223; + xfer += iprot->readMapBegin(_ktype1222, _vtype1223, _size1221); + uint32_t _i1225; + for (_i1225 = 0; _i1225 < _size1221; ++_i1225) { - std::string _key1218; - xfer += iprot->readString(_key1218); - Type& _val1219 = this->success[_key1218]; - xfer += _val1219.read(iprot); + std::string _key1226; + xfer += iprot->readString(_key1226); + Type& _val1227 = this->success[_key1226]; + xfer += _val1227.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3537,11 +3537,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 _iter1220; - for (_iter1220 = this->success.begin(); _iter1220 != this->success.end(); ++_iter1220) + std::map ::const_iterator _iter1228; + for (_iter1228 = this->success.begin(); _iter1228 != this->success.end(); ++_iter1228) { - xfer += oprot->writeString(_iter1220->first); - xfer += _iter1220->second.write(oprot); + xfer += oprot->writeString(_iter1228->first); + xfer += _iter1228->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -3586,17 +3586,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1221; - ::apache::thrift::protocol::TType _ktype1222; - ::apache::thrift::protocol::TType _vtype1223; - xfer += iprot->readMapBegin(_ktype1222, _vtype1223, _size1221); - uint32_t _i1225; - for (_i1225 = 0; _i1225 < _size1221; ++_i1225) + uint32_t _size1229; + ::apache::thrift::protocol::TType _ktype1230; + ::apache::thrift::protocol::TType _vtype1231; + xfer += iprot->readMapBegin(_ktype1230, _vtype1231, _size1229); + uint32_t _i1233; + for (_i1233 = 0; _i1233 < _size1229; ++_i1233) { - std::string _key1226; - xfer += iprot->readString(_key1226); - Type& _val1227 = (*(this->success))[_key1226]; - xfer += _val1227.read(iprot); + std::string _key1234; + xfer += iprot->readString(_key1234); + Type& _val1235 = (*(this->success))[_key1234]; + xfer += _val1235.read(iprot); } xfer += iprot->readMapEnd(); } @@ -3750,14 +3750,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1228; - ::apache::thrift::protocol::TType _etype1231; - xfer += iprot->readListBegin(_etype1231, _size1228); - this->success.resize(_size1228); - uint32_t _i1232; - for (_i1232 = 0; _i1232 < _size1228; ++_i1232) + uint32_t _size1236; + ::apache::thrift::protocol::TType _etype1239; + xfer += iprot->readListBegin(_etype1239, _size1236); + this->success.resize(_size1236); + uint32_t _i1240; + for (_i1240 = 0; _i1240 < _size1236; ++_i1240) { - xfer += this->success[_i1232].read(iprot); + xfer += this->success[_i1240].read(iprot); } xfer += iprot->readListEnd(); } @@ -3812,10 +3812,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 _iter1233; - for (_iter1233 = this->success.begin(); _iter1233 != this->success.end(); ++_iter1233) + std::vector ::const_iterator _iter1241; + for (_iter1241 = this->success.begin(); _iter1241 != this->success.end(); ++_iter1241) { - xfer += (*_iter1233).write(oprot); + xfer += (*_iter1241).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3868,14 +3868,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1242; + ::apache::thrift::protocol::TType _etype1245; + xfer += iprot->readListBegin(_etype1245, _size1242); + (*(this->success)).resize(_size1242); + uint32_t _i1246; + for (_i1246 = 0; _i1246 < _size1242; ++_i1246) { - xfer += (*(this->success))[_i1238].read(iprot); + xfer += (*(this->success))[_i1246].read(iprot); } xfer += iprot->readListEnd(); } @@ -4061,14 +4061,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1239; - ::apache::thrift::protocol::TType _etype1242; - xfer += iprot->readListBegin(_etype1242, _size1239); - this->success.resize(_size1239); - uint32_t _i1243; - for (_i1243 = 0; _i1243 < _size1239; ++_i1243) + uint32_t _size1247; + ::apache::thrift::protocol::TType _etype1250; + xfer += iprot->readListBegin(_etype1250, _size1247); + this->success.resize(_size1247); + uint32_t _i1251; + for (_i1251 = 0; _i1251 < _size1247; ++_i1251) { - xfer += this->success[_i1243].read(iprot); + xfer += this->success[_i1251].read(iprot); } xfer += iprot->readListEnd(); } @@ -4123,10 +4123,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 _iter1244; - for (_iter1244 = this->success.begin(); _iter1244 != this->success.end(); ++_iter1244) + std::vector ::const_iterator _iter1252; + for (_iter1252 = this->success.begin(); _iter1252 != this->success.end(); ++_iter1252) { - xfer += (*_iter1244).write(oprot); + xfer += (*_iter1252).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4179,14 +4179,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1245; - ::apache::thrift::protocol::TType _etype1248; - xfer += iprot->readListBegin(_etype1248, _size1245); - (*(this->success)).resize(_size1245); - uint32_t _i1249; - for (_i1249 = 0; _i1249 < _size1245; ++_i1249) + uint32_t _size1253; + ::apache::thrift::protocol::TType _etype1256; + xfer += iprot->readListBegin(_etype1256, _size1253); + (*(this->success)).resize(_size1253); + uint32_t _i1257; + for (_i1257 = 0; _i1257 < _size1253; ++_i1257) { - xfer += (*(this->success))[_i1249].read(iprot); + xfer += (*(this->success))[_i1257].read(iprot); } xfer += iprot->readListEnd(); } @@ -4356,14 +4356,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1250; - ::apache::thrift::protocol::TType _etype1253; - xfer += iprot->readListBegin(_etype1253, _size1250); - this->success.resize(_size1250); - uint32_t _i1254; - for (_i1254 = 0; _i1254 < _size1250; ++_i1254) + uint32_t _size1258; + ::apache::thrift::protocol::TType _etype1261; + xfer += iprot->readListBegin(_etype1261, _size1258); + this->success.resize(_size1258); + uint32_t _i1262; + for (_i1262 = 0; _i1262 < _size1258; ++_i1262) { - xfer += this->success[_i1254].read(iprot); + xfer += this->success[_i1262].read(iprot); } xfer += iprot->readListEnd(); } @@ -4418,10 +4418,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 _iter1255; - for (_iter1255 = this->success.begin(); _iter1255 != this->success.end(); ++_iter1255) + std::vector ::const_iterator _iter1263; + for (_iter1263 = this->success.begin(); _iter1263 != this->success.end(); ++_iter1263) { - xfer += (*_iter1255).write(oprot); + xfer += (*_iter1263).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4474,14 +4474,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1256; - ::apache::thrift::protocol::TType _etype1259; - xfer += iprot->readListBegin(_etype1259, _size1256); - (*(this->success)).resize(_size1256); - uint32_t _i1260; - for (_i1260 = 0; _i1260 < _size1256; ++_i1260) + uint32_t _size1264; + ::apache::thrift::protocol::TType _etype1267; + xfer += iprot->readListBegin(_etype1267, _size1264); + (*(this->success)).resize(_size1264); + uint32_t _i1268; + for (_i1268 = 0; _i1268 < _size1264; ++_i1268) { - xfer += (*(this->success))[_i1260].read(iprot); + xfer += (*(this->success))[_i1268].read(iprot); } xfer += iprot->readListEnd(); } @@ -4667,14 +4667,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1261; - ::apache::thrift::protocol::TType _etype1264; - xfer += iprot->readListBegin(_etype1264, _size1261); - this->success.resize(_size1261); - uint32_t _i1265; - for (_i1265 = 0; _i1265 < _size1261; ++_i1265) + uint32_t _size1269; + ::apache::thrift::protocol::TType _etype1272; + xfer += iprot->readListBegin(_etype1272, _size1269); + this->success.resize(_size1269); + uint32_t _i1273; + for (_i1273 = 0; _i1273 < _size1269; ++_i1273) { - xfer += this->success[_i1265].read(iprot); + xfer += this->success[_i1273].read(iprot); } xfer += iprot->readListEnd(); } @@ -4729,10 +4729,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 _iter1266; - for (_iter1266 = this->success.begin(); _iter1266 != this->success.end(); ++_iter1266) + std::vector ::const_iterator _iter1274; + for (_iter1274 = this->success.begin(); _iter1274 != this->success.end(); ++_iter1274) { - xfer += (*_iter1266).write(oprot); + xfer += (*_iter1274).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4785,14 +4785,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1275; + ::apache::thrift::protocol::TType _etype1278; + xfer += iprot->readListBegin(_etype1278, _size1275); + (*(this->success)).resize(_size1275); + uint32_t _i1279; + for (_i1279 = 0; _i1279 < _size1275; ++_i1279) { - xfer += (*(this->success))[_i1271].read(iprot); + xfer += (*(this->success))[_i1279].read(iprot); } xfer += iprot->readListEnd(); } @@ -5385,14 +5385,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size1272; - ::apache::thrift::protocol::TType _etype1275; - xfer += iprot->readListBegin(_etype1275, _size1272); - this->primaryKeys.resize(_size1272); - uint32_t _i1276; - for (_i1276 = 0; _i1276 < _size1272; ++_i1276) + uint32_t _size1280; + ::apache::thrift::protocol::TType _etype1283; + xfer += iprot->readListBegin(_etype1283, _size1280); + this->primaryKeys.resize(_size1280); + uint32_t _i1284; + for (_i1284 = 0; _i1284 < _size1280; ++_i1284) { - xfer += this->primaryKeys[_i1276].read(iprot); + xfer += this->primaryKeys[_i1284].read(iprot); } xfer += iprot->readListEnd(); } @@ -5405,14 +5405,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size1277; - ::apache::thrift::protocol::TType _etype1280; - xfer += iprot->readListBegin(_etype1280, _size1277); - this->foreignKeys.resize(_size1277); - uint32_t _i1281; - for (_i1281 = 0; _i1281 < _size1277; ++_i1281) + uint32_t _size1285; + ::apache::thrift::protocol::TType _etype1288; + xfer += iprot->readListBegin(_etype1288, _size1285); + this->foreignKeys.resize(_size1285); + uint32_t _i1289; + for (_i1289 = 0; _i1289 < _size1285; ++_i1289) { - xfer += this->foreignKeys[_i1281].read(iprot); + xfer += this->foreignKeys[_i1289].read(iprot); } xfer += iprot->readListEnd(); } @@ -5425,14 +5425,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size1282; - ::apache::thrift::protocol::TType _etype1285; - xfer += iprot->readListBegin(_etype1285, _size1282); - this->uniqueConstraints.resize(_size1282); - uint32_t _i1286; - for (_i1286 = 0; _i1286 < _size1282; ++_i1286) + uint32_t _size1290; + ::apache::thrift::protocol::TType _etype1293; + xfer += iprot->readListBegin(_etype1293, _size1290); + this->uniqueConstraints.resize(_size1290); + uint32_t _i1294; + for (_i1294 = 0; _i1294 < _size1290; ++_i1294) { - xfer += this->uniqueConstraints[_i1286].read(iprot); + xfer += this->uniqueConstraints[_i1294].read(iprot); } xfer += iprot->readListEnd(); } @@ -5445,14 +5445,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size1287; - ::apache::thrift::protocol::TType _etype1290; - xfer += iprot->readListBegin(_etype1290, _size1287); - this->notNullConstraints.resize(_size1287); - uint32_t _i1291; - for (_i1291 = 0; _i1291 < _size1287; ++_i1291) + uint32_t _size1295; + ::apache::thrift::protocol::TType _etype1298; + xfer += iprot->readListBegin(_etype1298, _size1295); + this->notNullConstraints.resize(_size1295); + uint32_t _i1299; + for (_i1299 = 0; _i1299 < _size1295; ++_i1299) { - xfer += this->notNullConstraints[_i1291].read(iprot); + xfer += this->notNullConstraints[_i1299].read(iprot); } xfer += iprot->readListEnd(); } @@ -5465,14 +5465,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraints.clear(); - uint32_t _size1292; - ::apache::thrift::protocol::TType _etype1295; - xfer += iprot->readListBegin(_etype1295, _size1292); - this->defaultConstraints.resize(_size1292); - uint32_t _i1296; - for (_i1296 = 0; _i1296 < _size1292; ++_i1296) + uint32_t _size1300; + ::apache::thrift::protocol::TType _etype1303; + xfer += iprot->readListBegin(_etype1303, _size1300); + this->defaultConstraints.resize(_size1300); + uint32_t _i1304; + for (_i1304 = 0; _i1304 < _size1300; ++_i1304) { - xfer += this->defaultConstraints[_i1296].read(iprot); + xfer += this->defaultConstraints[_i1304].read(iprot); } xfer += iprot->readListEnd(); } @@ -5485,14 +5485,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->checkConstraints.clear(); - uint32_t _size1297; - ::apache::thrift::protocol::TType _etype1300; - xfer += iprot->readListBegin(_etype1300, _size1297); - this->checkConstraints.resize(_size1297); - uint32_t _i1301; - for (_i1301 = 0; _i1301 < _size1297; ++_i1301) + uint32_t _size1305; + ::apache::thrift::protocol::TType _etype1308; + xfer += iprot->readListBegin(_etype1308, _size1305); + this->checkConstraints.resize(_size1305); + uint32_t _i1309; + for (_i1309 = 0; _i1309 < _size1305; ++_i1309) { - xfer += this->checkConstraints[_i1301].read(iprot); + xfer += this->checkConstraints[_i1309].read(iprot); } xfer += iprot->readListEnd(); } @@ -5525,10 +5525,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 _iter1302; - for (_iter1302 = this->primaryKeys.begin(); _iter1302 != this->primaryKeys.end(); ++_iter1302) + std::vector ::const_iterator _iter1310; + for (_iter1310 = this->primaryKeys.begin(); _iter1310 != this->primaryKeys.end(); ++_iter1310) { - xfer += (*_iter1302).write(oprot); + xfer += (*_iter1310).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5537,10 +5537,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 _iter1303; - for (_iter1303 = this->foreignKeys.begin(); _iter1303 != this->foreignKeys.end(); ++_iter1303) + std::vector ::const_iterator _iter1311; + for (_iter1311 = this->foreignKeys.begin(); _iter1311 != this->foreignKeys.end(); ++_iter1311) { - xfer += (*_iter1303).write(oprot); + xfer += (*_iter1311).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5549,10 +5549,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 _iter1304; - for (_iter1304 = this->uniqueConstraints.begin(); _iter1304 != this->uniqueConstraints.end(); ++_iter1304) + std::vector ::const_iterator _iter1312; + for (_iter1312 = this->uniqueConstraints.begin(); _iter1312 != this->uniqueConstraints.end(); ++_iter1312) { - xfer += (*_iter1304).write(oprot); + xfer += (*_iter1312).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5561,10 +5561,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 _iter1305; - for (_iter1305 = this->notNullConstraints.begin(); _iter1305 != this->notNullConstraints.end(); ++_iter1305) + std::vector ::const_iterator _iter1313; + for (_iter1313 = this->notNullConstraints.begin(); _iter1313 != this->notNullConstraints.end(); ++_iter1313) { - xfer += (*_iter1305).write(oprot); + xfer += (*_iter1313).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5573,10 +5573,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->defaultConstraints.size())); - std::vector ::const_iterator _iter1306; - for (_iter1306 = this->defaultConstraints.begin(); _iter1306 != this->defaultConstraints.end(); ++_iter1306) + std::vector ::const_iterator _iter1314; + for (_iter1314 = this->defaultConstraints.begin(); _iter1314 != this->defaultConstraints.end(); ++_iter1314) { - xfer += (*_iter1306).write(oprot); + xfer += (*_iter1314).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5585,10 +5585,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::write(::apache: xfer += oprot->writeFieldBegin("checkConstraints", ::apache::thrift::protocol::T_LIST, 7); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->checkConstraints.size())); - std::vector ::const_iterator _iter1307; - for (_iter1307 = this->checkConstraints.begin(); _iter1307 != this->checkConstraints.end(); ++_iter1307) + std::vector ::const_iterator _iter1315; + for (_iter1315 = this->checkConstraints.begin(); _iter1315 != this->checkConstraints.end(); ++_iter1315) { - xfer += (*_iter1307).write(oprot); + xfer += (*_iter1315).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5616,10 +5616,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 _iter1308; - for (_iter1308 = (*(this->primaryKeys)).begin(); _iter1308 != (*(this->primaryKeys)).end(); ++_iter1308) + std::vector ::const_iterator _iter1316; + for (_iter1316 = (*(this->primaryKeys)).begin(); _iter1316 != (*(this->primaryKeys)).end(); ++_iter1316) { - xfer += (*_iter1308).write(oprot); + xfer += (*_iter1316).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5628,10 +5628,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 _iter1309; - for (_iter1309 = (*(this->foreignKeys)).begin(); _iter1309 != (*(this->foreignKeys)).end(); ++_iter1309) + std::vector ::const_iterator _iter1317; + for (_iter1317 = (*(this->foreignKeys)).begin(); _iter1317 != (*(this->foreignKeys)).end(); ++_iter1317) { - xfer += (*_iter1309).write(oprot); + xfer += (*_iter1317).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5640,10 +5640,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 _iter1310; - for (_iter1310 = (*(this->uniqueConstraints)).begin(); _iter1310 != (*(this->uniqueConstraints)).end(); ++_iter1310) + std::vector ::const_iterator _iter1318; + for (_iter1318 = (*(this->uniqueConstraints)).begin(); _iter1318 != (*(this->uniqueConstraints)).end(); ++_iter1318) { - xfer += (*_iter1310).write(oprot); + xfer += (*_iter1318).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5652,10 +5652,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 _iter1311; - for (_iter1311 = (*(this->notNullConstraints)).begin(); _iter1311 != (*(this->notNullConstraints)).end(); ++_iter1311) + std::vector ::const_iterator _iter1319; + for (_iter1319 = (*(this->notNullConstraints)).begin(); _iter1319 != (*(this->notNullConstraints)).end(); ++_iter1319) { - xfer += (*_iter1311).write(oprot); + xfer += (*_iter1319).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5664,10 +5664,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("defaultConstraints", ::apache::thrift::protocol::T_LIST, 6); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->defaultConstraints)).size())); - std::vector ::const_iterator _iter1312; - for (_iter1312 = (*(this->defaultConstraints)).begin(); _iter1312 != (*(this->defaultConstraints)).end(); ++_iter1312) + std::vector ::const_iterator _iter1320; + for (_iter1320 = (*(this->defaultConstraints)).begin(); _iter1320 != (*(this->defaultConstraints)).end(); ++_iter1320) { - xfer += (*_iter1312).write(oprot); + xfer += (*_iter1320).write(oprot); } xfer += oprot->writeListEnd(); } @@ -5676,10 +5676,10 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_pargs::write(::apache xfer += oprot->writeFieldBegin("checkConstraints", ::apache::thrift::protocol::T_LIST, 7); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast((*(this->checkConstraints)).size())); - std::vector ::const_iterator _iter1313; - for (_iter1313 = (*(this->checkConstraints)).begin(); _iter1313 != (*(this->checkConstraints)).end(); ++_iter1313) + std::vector ::const_iterator _iter1321; + for (_iter1321 = (*(this->checkConstraints)).begin(); _iter1321 != (*(this->checkConstraints)).end(); ++_iter1321) { - xfer += (*_iter1313).write(oprot); + xfer += (*_iter1321).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7847,14 +7847,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size1314; - ::apache::thrift::protocol::TType _etype1317; - xfer += iprot->readListBegin(_etype1317, _size1314); - this->partNames.resize(_size1314); - uint32_t _i1318; - for (_i1318 = 0; _i1318 < _size1314; ++_i1318) + uint32_t _size1322; + ::apache::thrift::protocol::TType _etype1325; + xfer += iprot->readListBegin(_etype1325, _size1322); + this->partNames.resize(_size1322); + uint32_t _i1326; + for (_i1326 = 0; _i1326 < _size1322; ++_i1326) { - xfer += iprot->readString(this->partNames[_i1318]); + xfer += iprot->readString(this->partNames[_i1326]); } xfer += iprot->readListEnd(); } @@ -7891,10 +7891,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 _iter1319; - for (_iter1319 = this->partNames.begin(); _iter1319 != this->partNames.end(); ++_iter1319) + std::vector ::const_iterator _iter1327; + for (_iter1327 = this->partNames.begin(); _iter1327 != this->partNames.end(); ++_iter1327) { - xfer += oprot->writeString((*_iter1319)); + xfer += oprot->writeString((*_iter1327)); } xfer += oprot->writeListEnd(); } @@ -7926,10 +7926,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 _iter1320; - for (_iter1320 = (*(this->partNames)).begin(); _iter1320 != (*(this->partNames)).end(); ++_iter1320) + std::vector ::const_iterator _iter1328; + for (_iter1328 = (*(this->partNames)).begin(); _iter1328 != (*(this->partNames)).end(); ++_iter1328) { - xfer += oprot->writeString((*_iter1320)); + xfer += oprot->writeString((*_iter1328)); } xfer += oprot->writeListEnd(); } @@ -8173,14 +8173,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1321; - ::apache::thrift::protocol::TType _etype1324; - xfer += iprot->readListBegin(_etype1324, _size1321); - this->success.resize(_size1321); - uint32_t _i1325; - for (_i1325 = 0; _i1325 < _size1321; ++_i1325) + uint32_t _size1329; + ::apache::thrift::protocol::TType _etype1332; + xfer += iprot->readListBegin(_etype1332, _size1329); + this->success.resize(_size1329); + uint32_t _i1333; + for (_i1333 = 0; _i1333 < _size1329; ++_i1333) { - xfer += iprot->readString(this->success[_i1325]); + xfer += iprot->readString(this->success[_i1333]); } xfer += iprot->readListEnd(); } @@ -8219,10 +8219,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 _iter1326; - for (_iter1326 = this->success.begin(); _iter1326 != this->success.end(); ++_iter1326) + std::vector ::const_iterator _iter1334; + for (_iter1334 = this->success.begin(); _iter1334 != this->success.end(); ++_iter1334) { - xfer += oprot->writeString((*_iter1326)); + xfer += oprot->writeString((*_iter1334)); } xfer += oprot->writeListEnd(); } @@ -8267,14 +8267,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1327; - ::apache::thrift::protocol::TType _etype1330; - xfer += iprot->readListBegin(_etype1330, _size1327); - (*(this->success)).resize(_size1327); - uint32_t _i1331; - for (_i1331 = 0; _i1331 < _size1327; ++_i1331) + uint32_t _size1335; + ::apache::thrift::protocol::TType _etype1338; + xfer += iprot->readListBegin(_etype1338, _size1335); + (*(this->success)).resize(_size1335); + uint32_t _i1339; + for (_i1339 = 0; _i1339 < _size1335; ++_i1339) { - xfer += iprot->readString((*(this->success))[_i1331]); + xfer += iprot->readString((*(this->success))[_i1339]); } xfer += iprot->readListEnd(); } @@ -8444,14 +8444,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 _size1332; - ::apache::thrift::protocol::TType _etype1335; - xfer += iprot->readListBegin(_etype1335, _size1332); - this->success.resize(_size1332); - uint32_t _i1336; - for (_i1336 = 0; _i1336 < _size1332; ++_i1336) + uint32_t _size1340; + ::apache::thrift::protocol::TType _etype1343; + xfer += iprot->readListBegin(_etype1343, _size1340); + this->success.resize(_size1340); + uint32_t _i1344; + for (_i1344 = 0; _i1344 < _size1340; ++_i1344) { - xfer += iprot->readString(this->success[_i1336]); + xfer += iprot->readString(this->success[_i1344]); } xfer += iprot->readListEnd(); } @@ -8490,10 +8490,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 _iter1337; - for (_iter1337 = this->success.begin(); _iter1337 != this->success.end(); ++_iter1337) + std::vector ::const_iterator _iter1345; + for (_iter1345 = this->success.begin(); _iter1345 != this->success.end(); ++_iter1345) { - xfer += oprot->writeString((*_iter1337)); + xfer += oprot->writeString((*_iter1345)); } xfer += oprot->writeListEnd(); } @@ -8538,14 +8538,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1338; - ::apache::thrift::protocol::TType _etype1341; - xfer += iprot->readListBegin(_etype1341, _size1338); - (*(this->success)).resize(_size1338); - uint32_t _i1342; - for (_i1342 = 0; _i1342 < _size1338; ++_i1342) + uint32_t _size1346; + ::apache::thrift::protocol::TType _etype1349; + xfer += iprot->readListBegin(_etype1349, _size1346); + (*(this->success)).resize(_size1346); + uint32_t _i1350; + for (_i1350 = 0; _i1350 < _size1346; ++_i1350) { - xfer += iprot->readString((*(this->success))[_i1342]); + xfer += iprot->readString((*(this->success))[_i1350]); } xfer += iprot->readListEnd(); } @@ -8683,14 +8683,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1343; - ::apache::thrift::protocol::TType _etype1346; - xfer += iprot->readListBegin(_etype1346, _size1343); - this->success.resize(_size1343); - uint32_t _i1347; - for (_i1347 = 0; _i1347 < _size1343; ++_i1347) + 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 += iprot->readString(this->success[_i1347]); + xfer += iprot->readString(this->success[_i1355]); } xfer += iprot->readListEnd(); } @@ -8729,10 +8729,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 _iter1348; - for (_iter1348 = this->success.begin(); _iter1348 != this->success.end(); ++_iter1348) + std::vector ::const_iterator _iter1356; + for (_iter1356 = this->success.begin(); _iter1356 != this->success.end(); ++_iter1356) { - xfer += oprot->writeString((*_iter1348)); + xfer += oprot->writeString((*_iter1356)); } xfer += oprot->writeListEnd(); } @@ -8777,14 +8777,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_presult::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1349; - ::apache::thrift::protocol::TType _etype1352; - xfer += iprot->readListBegin(_etype1352, _size1349); - (*(this->success)).resize(_size1349); - uint32_t _i1353; - for (_i1353 = 0; _i1353 < _size1349; ++_i1353) + uint32_t _size1357; + ::apache::thrift::protocol::TType _etype1360; + xfer += iprot->readListBegin(_etype1360, _size1357); + (*(this->success)).resize(_size1357); + uint32_t _i1361; + for (_i1361 = 0; _i1361 < _size1357; ++_i1361) { - xfer += iprot->readString((*(this->success))[_i1353]); + xfer += iprot->readString((*(this->success))[_i1361]); } xfer += iprot->readListEnd(); } @@ -8859,14 +8859,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 _size1354; - ::apache::thrift::protocol::TType _etype1357; - xfer += iprot->readListBegin(_etype1357, _size1354); - this->tbl_types.resize(_size1354); - uint32_t _i1358; - for (_i1358 = 0; _i1358 < _size1354; ++_i1358) + uint32_t _size1362; + ::apache::thrift::protocol::TType _etype1365; + xfer += iprot->readListBegin(_etype1365, _size1362); + this->tbl_types.resize(_size1362); + uint32_t _i1366; + for (_i1366 = 0; _i1366 < _size1362; ++_i1366) { - xfer += iprot->readString(this->tbl_types[_i1358]); + xfer += iprot->readString(this->tbl_types[_i1366]); } xfer += iprot->readListEnd(); } @@ -8903,10 +8903,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 _iter1359; - for (_iter1359 = this->tbl_types.begin(); _iter1359 != this->tbl_types.end(); ++_iter1359) + std::vector ::const_iterator _iter1367; + for (_iter1367 = this->tbl_types.begin(); _iter1367 != this->tbl_types.end(); ++_iter1367) { - xfer += oprot->writeString((*_iter1359)); + xfer += oprot->writeString((*_iter1367)); } xfer += oprot->writeListEnd(); } @@ -8938,10 +8938,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 _iter1360; - for (_iter1360 = (*(this->tbl_types)).begin(); _iter1360 != (*(this->tbl_types)).end(); ++_iter1360) + std::vector ::const_iterator _iter1368; + for (_iter1368 = (*(this->tbl_types)).begin(); _iter1368 != (*(this->tbl_types)).end(); ++_iter1368) { - xfer += oprot->writeString((*_iter1360)); + xfer += oprot->writeString((*_iter1368)); } xfer += oprot->writeListEnd(); } @@ -8982,14 +8982,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1361; - ::apache::thrift::protocol::TType _etype1364; - xfer += iprot->readListBegin(_etype1364, _size1361); - this->success.resize(_size1361); - uint32_t _i1365; - for (_i1365 = 0; _i1365 < _size1361; ++_i1365) + uint32_t _size1369; + ::apache::thrift::protocol::TType _etype1372; + xfer += iprot->readListBegin(_etype1372, _size1369); + this->success.resize(_size1369); + uint32_t _i1373; + for (_i1373 = 0; _i1373 < _size1369; ++_i1373) { - xfer += this->success[_i1365].read(iprot); + xfer += this->success[_i1373].read(iprot); } xfer += iprot->readListEnd(); } @@ -9028,10 +9028,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 _iter1366; - for (_iter1366 = this->success.begin(); _iter1366 != this->success.end(); ++_iter1366) + std::vector ::const_iterator _iter1374; + for (_iter1374 = this->success.begin(); _iter1374 != this->success.end(); ++_iter1374) { - xfer += (*_iter1366).write(oprot); + xfer += (*_iter1374).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9076,14 +9076,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1367; - ::apache::thrift::protocol::TType _etype1370; - xfer += iprot->readListBegin(_etype1370, _size1367); - (*(this->success)).resize(_size1367); - uint32_t _i1371; - for (_i1371 = 0; _i1371 < _size1367; ++_i1371) + uint32_t _size1375; + ::apache::thrift::protocol::TType _etype1378; + xfer += iprot->readListBegin(_etype1378, _size1375); + (*(this->success)).resize(_size1375); + uint32_t _i1379; + for (_i1379 = 0; _i1379 < _size1375; ++_i1379) { - xfer += (*(this->success))[_i1371].read(iprot); + xfer += (*(this->success))[_i1379].read(iprot); } xfer += iprot->readListEnd(); } @@ -9221,14 +9221,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1372; - ::apache::thrift::protocol::TType _etype1375; - xfer += iprot->readListBegin(_etype1375, _size1372); - this->success.resize(_size1372); - uint32_t _i1376; - for (_i1376 = 0; _i1376 < _size1372; ++_i1376) + uint32_t _size1380; + ::apache::thrift::protocol::TType _etype1383; + xfer += iprot->readListBegin(_etype1383, _size1380); + this->success.resize(_size1380); + uint32_t _i1384; + for (_i1384 = 0; _i1384 < _size1380; ++_i1384) { - xfer += iprot->readString(this->success[_i1376]); + xfer += iprot->readString(this->success[_i1384]); } xfer += iprot->readListEnd(); } @@ -9267,10 +9267,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 _iter1377; - for (_iter1377 = this->success.begin(); _iter1377 != this->success.end(); ++_iter1377) + std::vector ::const_iterator _iter1385; + for (_iter1385 = this->success.begin(); _iter1385 != this->success.end(); ++_iter1385) { - xfer += oprot->writeString((*_iter1377)); + xfer += oprot->writeString((*_iter1385)); } xfer += oprot->writeListEnd(); } @@ -9315,14 +9315,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1378; - ::apache::thrift::protocol::TType _etype1381; - xfer += iprot->readListBegin(_etype1381, _size1378); - (*(this->success)).resize(_size1378); - uint32_t _i1382; - for (_i1382 = 0; _i1382 < _size1378; ++_i1382) + uint32_t _size1386; + ::apache::thrift::protocol::TType _etype1389; + xfer += iprot->readListBegin(_etype1389, _size1386); + (*(this->success)).resize(_size1386); + uint32_t _i1390; + for (_i1390 = 0; _i1390 < _size1386; ++_i1390) { - xfer += iprot->readString((*(this->success))[_i1382]); + xfer += iprot->readString((*(this->success))[_i1390]); } xfer += iprot->readListEnd(); } @@ -9632,14 +9632,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 _size1383; - ::apache::thrift::protocol::TType _etype1386; - xfer += iprot->readListBegin(_etype1386, _size1383); - this->tbl_names.resize(_size1383); - uint32_t _i1387; - for (_i1387 = 0; _i1387 < _size1383; ++_i1387) + uint32_t _size1391; + ::apache::thrift::protocol::TType _etype1394; + xfer += iprot->readListBegin(_etype1394, _size1391); + this->tbl_names.resize(_size1391); + uint32_t _i1395; + for (_i1395 = 0; _i1395 < _size1391; ++_i1395) { - xfer += iprot->readString(this->tbl_names[_i1387]); + xfer += iprot->readString(this->tbl_names[_i1395]); } xfer += iprot->readListEnd(); } @@ -9672,10 +9672,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 _iter1388; - for (_iter1388 = this->tbl_names.begin(); _iter1388 != this->tbl_names.end(); ++_iter1388) + std::vector ::const_iterator _iter1396; + for (_iter1396 = this->tbl_names.begin(); _iter1396 != this->tbl_names.end(); ++_iter1396) { - xfer += oprot->writeString((*_iter1388)); + xfer += oprot->writeString((*_iter1396)); } xfer += oprot->writeListEnd(); } @@ -9703,10 +9703,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 _iter1389; - for (_iter1389 = (*(this->tbl_names)).begin(); _iter1389 != (*(this->tbl_names)).end(); ++_iter1389) + std::vector ::const_iterator _iter1397; + for (_iter1397 = (*(this->tbl_names)).begin(); _iter1397 != (*(this->tbl_names)).end(); ++_iter1397) { - xfer += oprot->writeString((*_iter1389)); + xfer += oprot->writeString((*_iter1397)); } xfer += oprot->writeListEnd(); } @@ -9747,14 +9747,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 _size1390; - ::apache::thrift::protocol::TType _etype1393; - xfer += iprot->readListBegin(_etype1393, _size1390); - this->success.resize(_size1390); - uint32_t _i1394; - for (_i1394 = 0; _i1394 < _size1390; ++_i1394) + uint32_t _size1398; + ::apache::thrift::protocol::TType _etype1401; + xfer += iprot->readListBegin(_etype1401, _size1398); + this->success.resize(_size1398); + uint32_t _i1402; + for (_i1402 = 0; _i1402 < _size1398; ++_i1402) { - xfer += this->success[_i1394].read(iprot); + xfer += this->success[_i1402].read(iprot); } xfer += iprot->readListEnd(); } @@ -9785,10 +9785,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 _iter1395; - for (_iter1395 = this->success.begin(); _iter1395 != this->success.end(); ++_iter1395) + std::vector
::const_iterator _iter1403; + for (_iter1403 = this->success.begin(); _iter1403 != this->success.end(); ++_iter1403) { - xfer += (*_iter1395).write(oprot); + xfer += (*_iter1403).write(oprot); } xfer += oprot->writeListEnd(); } @@ -9829,14 +9829,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 _size1396; - ::apache::thrift::protocol::TType _etype1399; - xfer += iprot->readListBegin(_etype1399, _size1396); - (*(this->success)).resize(_size1396); - uint32_t _i1400; - for (_i1400 = 0; _i1400 < _size1396; ++_i1400) + uint32_t _size1404; + ::apache::thrift::protocol::TType _etype1407; + xfer += iprot->readListBegin(_etype1407, _size1404); + (*(this->success)).resize(_size1404); + uint32_t _i1408; + for (_i1408 = 0; _i1408 < _size1404; ++_i1408) { - xfer += (*(this->success))[_i1400].read(iprot); + xfer += (*(this->success))[_i1408].read(iprot); } xfer += iprot->readListEnd(); } @@ -10369,14 +10369,14 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1401; - ::apache::thrift::protocol::TType _etype1404; - xfer += iprot->readListBegin(_etype1404, _size1401); - this->tbl_names.resize(_size1401); - uint32_t _i1405; - for (_i1405 = 0; _i1405 < _size1401; ++_i1405) + uint32_t _size1409; + ::apache::thrift::protocol::TType _etype1412; + xfer += iprot->readListBegin(_etype1412, _size1409); + this->tbl_names.resize(_size1409); + uint32_t _i1413; + for (_i1413 = 0; _i1413 < _size1409; ++_i1413) { - xfer += iprot->readString(this->tbl_names[_i1405]); + xfer += iprot->readString(this->tbl_names[_i1413]); } xfer += iprot->readListEnd(); } @@ -10409,10 +10409,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 _iter1406; - for (_iter1406 = this->tbl_names.begin(); _iter1406 != this->tbl_names.end(); ++_iter1406) + std::vector ::const_iterator _iter1414; + for (_iter1414 = this->tbl_names.begin(); _iter1414 != this->tbl_names.end(); ++_iter1414) { - xfer += oprot->writeString((*_iter1406)); + xfer += oprot->writeString((*_iter1414)); } xfer += oprot->writeListEnd(); } @@ -10440,10 +10440,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 _iter1407; - for (_iter1407 = (*(this->tbl_names)).begin(); _iter1407 != (*(this->tbl_names)).end(); ++_iter1407) + std::vector ::const_iterator _iter1415; + for (_iter1415 = (*(this->tbl_names)).begin(); _iter1415 != (*(this->tbl_names)).end(); ++_iter1415) { - xfer += oprot->writeString((*_iter1407)); + xfer += oprot->writeString((*_iter1415)); } xfer += oprot->writeListEnd(); } @@ -10484,17 +10484,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::read( if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1408; - ::apache::thrift::protocol::TType _ktype1409; - ::apache::thrift::protocol::TType _vtype1410; - xfer += iprot->readMapBegin(_ktype1409, _vtype1410, _size1408); - uint32_t _i1412; - for (_i1412 = 0; _i1412 < _size1408; ++_i1412) + uint32_t _size1416; + ::apache::thrift::protocol::TType _ktype1417; + ::apache::thrift::protocol::TType _vtype1418; + xfer += iprot->readMapBegin(_ktype1417, _vtype1418, _size1416); + uint32_t _i1420; + for (_i1420 = 0; _i1420 < _size1416; ++_i1420) { - std::string _key1413; - xfer += iprot->readString(_key1413); - Materialization& _val1414 = this->success[_key1413]; - xfer += _val1414.read(iprot); + std::string _key1421; + xfer += iprot->readString(_key1421); + Materialization& _val1422 = this->success[_key1421]; + xfer += _val1422.read(iprot); } xfer += iprot->readMapEnd(); } @@ -10549,11 +10549,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 _iter1415; - for (_iter1415 = this->success.begin(); _iter1415 != this->success.end(); ++_iter1415) + std::map ::const_iterator _iter1423; + for (_iter1423 = this->success.begin(); _iter1423 != this->success.end(); ++_iter1423) { - xfer += oprot->writeString(_iter1415->first); - xfer += _iter1415->second.write(oprot); + xfer += oprot->writeString(_iter1423->first); + xfer += _iter1423->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -10606,17 +10606,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_presult::read if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1416; - ::apache::thrift::protocol::TType _ktype1417; - ::apache::thrift::protocol::TType _vtype1418; - xfer += iprot->readMapBegin(_ktype1417, _vtype1418, _size1416); - uint32_t _i1420; - for (_i1420 = 0; _i1420 < _size1416; ++_i1420) + uint32_t _size1424; + ::apache::thrift::protocol::TType _ktype1425; + ::apache::thrift::protocol::TType _vtype1426; + xfer += iprot->readMapBegin(_ktype1425, _vtype1426, _size1424); + uint32_t _i1428; + for (_i1428 = 0; _i1428 < _size1424; ++_i1428) { - std::string _key1421; - xfer += iprot->readString(_key1421); - Materialization& _val1422 = (*(this->success))[_key1421]; - xfer += _val1422.read(iprot); + std::string _key1429; + xfer += iprot->readString(_key1429); + Materialization& _val1430 = (*(this->success))[_key1429]; + xfer += _val1430.read(iprot); } xfer += iprot->readMapEnd(); } @@ -11077,14 +11077,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 _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 _size1431; + ::apache::thrift::protocol::TType _etype1434; + xfer += iprot->readListBegin(_etype1434, _size1431); + this->success.resize(_size1431); + uint32_t _i1435; + for (_i1435 = 0; _i1435 < _size1431; ++_i1435) { - xfer += iprot->readString(this->success[_i1427]); + xfer += iprot->readString(this->success[_i1435]); } xfer += iprot->readListEnd(); } @@ -11139,10 +11139,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 _iter1428; - for (_iter1428 = this->success.begin(); _iter1428 != this->success.end(); ++_iter1428) + std::vector ::const_iterator _iter1436; + for (_iter1436 = this->success.begin(); _iter1436 != this->success.end(); ++_iter1436) { - xfer += oprot->writeString((*_iter1428)); + xfer += oprot->writeString((*_iter1436)); } xfer += oprot->writeListEnd(); } @@ -11195,14 +11195,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 _size1429; - ::apache::thrift::protocol::TType _etype1432; - xfer += iprot->readListBegin(_etype1432, _size1429); - (*(this->success)).resize(_size1429); - uint32_t _i1433; - for (_i1433 = 0; _i1433 < _size1429; ++_i1433) + uint32_t _size1437; + ::apache::thrift::protocol::TType _etype1440; + xfer += iprot->readListBegin(_etype1440, _size1437); + (*(this->success)).resize(_size1437); + uint32_t _i1441; + for (_i1441 = 0; _i1441 < _size1437; ++_i1441) { - xfer += iprot->readString((*(this->success))[_i1433]); + xfer += iprot->readString((*(this->success))[_i1441]); } xfer += iprot->readListEnd(); } @@ -12536,14 +12536,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1434; - ::apache::thrift::protocol::TType _etype1437; - xfer += iprot->readListBegin(_etype1437, _size1434); - this->new_parts.resize(_size1434); - uint32_t _i1438; - for (_i1438 = 0; _i1438 < _size1434; ++_i1438) + uint32_t _size1442; + ::apache::thrift::protocol::TType _etype1445; + xfer += iprot->readListBegin(_etype1445, _size1442); + this->new_parts.resize(_size1442); + uint32_t _i1446; + for (_i1446 = 0; _i1446 < _size1442; ++_i1446) { - xfer += this->new_parts[_i1438].read(iprot); + xfer += this->new_parts[_i1446].read(iprot); } xfer += iprot->readListEnd(); } @@ -12572,10 +12572,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 _iter1439; - for (_iter1439 = this->new_parts.begin(); _iter1439 != this->new_parts.end(); ++_iter1439) + std::vector ::const_iterator _iter1447; + for (_iter1447 = this->new_parts.begin(); _iter1447 != this->new_parts.end(); ++_iter1447) { - xfer += (*_iter1439).write(oprot); + xfer += (*_iter1447).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12599,10 +12599,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 _iter1440; - for (_iter1440 = (*(this->new_parts)).begin(); _iter1440 != (*(this->new_parts)).end(); ++_iter1440) + std::vector ::const_iterator _iter1448; + for (_iter1448 = (*(this->new_parts)).begin(); _iter1448 != (*(this->new_parts)).end(); ++_iter1448) { - xfer += (*_iter1440).write(oprot); + xfer += (*_iter1448).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12811,14 +12811,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 _size1441; - ::apache::thrift::protocol::TType _etype1444; - xfer += iprot->readListBegin(_etype1444, _size1441); - this->new_parts.resize(_size1441); - uint32_t _i1445; - for (_i1445 = 0; _i1445 < _size1441; ++_i1445) + uint32_t _size1449; + ::apache::thrift::protocol::TType _etype1452; + xfer += iprot->readListBegin(_etype1452, _size1449); + this->new_parts.resize(_size1449); + uint32_t _i1453; + for (_i1453 = 0; _i1453 < _size1449; ++_i1453) { - xfer += this->new_parts[_i1445].read(iprot); + xfer += this->new_parts[_i1453].read(iprot); } xfer += iprot->readListEnd(); } @@ -12847,10 +12847,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 _iter1446; - for (_iter1446 = this->new_parts.begin(); _iter1446 != this->new_parts.end(); ++_iter1446) + std::vector ::const_iterator _iter1454; + for (_iter1454 = this->new_parts.begin(); _iter1454 != this->new_parts.end(); ++_iter1454) { - xfer += (*_iter1446).write(oprot); + xfer += (*_iter1454).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12874,10 +12874,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 _iter1447; - for (_iter1447 = (*(this->new_parts)).begin(); _iter1447 != (*(this->new_parts)).end(); ++_iter1447) + std::vector ::const_iterator _iter1455; + for (_iter1455 = (*(this->new_parts)).begin(); _iter1455 != (*(this->new_parts)).end(); ++_iter1455) { - xfer += (*_iter1447).write(oprot); + xfer += (*_iter1455).write(oprot); } xfer += oprot->writeListEnd(); } @@ -13102,14 +13102,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1448; - ::apache::thrift::protocol::TType _etype1451; - xfer += iprot->readListBegin(_etype1451, _size1448); - this->part_vals.resize(_size1448); - uint32_t _i1452; - for (_i1452 = 0; _i1452 < _size1448; ++_i1452) + uint32_t _size1456; + ::apache::thrift::protocol::TType _etype1459; + xfer += iprot->readListBegin(_etype1459, _size1456); + this->part_vals.resize(_size1456); + uint32_t _i1460; + for (_i1460 = 0; _i1460 < _size1456; ++_i1460) { - xfer += iprot->readString(this->part_vals[_i1452]); + xfer += iprot->readString(this->part_vals[_i1460]); } xfer += iprot->readListEnd(); } @@ -13146,10 +13146,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 _iter1453; - for (_iter1453 = this->part_vals.begin(); _iter1453 != this->part_vals.end(); ++_iter1453) + std::vector ::const_iterator _iter1461; + for (_iter1461 = this->part_vals.begin(); _iter1461 != this->part_vals.end(); ++_iter1461) { - xfer += oprot->writeString((*_iter1453)); + xfer += oprot->writeString((*_iter1461)); } xfer += oprot->writeListEnd(); } @@ -13181,10 +13181,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 _iter1454; - for (_iter1454 = (*(this->part_vals)).begin(); _iter1454 != (*(this->part_vals)).end(); ++_iter1454) + std::vector ::const_iterator _iter1462; + for (_iter1462 = (*(this->part_vals)).begin(); _iter1462 != (*(this->part_vals)).end(); ++_iter1462) { - xfer += oprot->writeString((*_iter1454)); + xfer += oprot->writeString((*_iter1462)); } xfer += oprot->writeListEnd(); } @@ -13656,14 +13656,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1455; - ::apache::thrift::protocol::TType _etype1458; - xfer += iprot->readListBegin(_etype1458, _size1455); - this->part_vals.resize(_size1455); - uint32_t _i1459; - for (_i1459 = 0; _i1459 < _size1455; ++_i1459) + uint32_t _size1463; + ::apache::thrift::protocol::TType _etype1466; + xfer += iprot->readListBegin(_etype1466, _size1463); + this->part_vals.resize(_size1463); + uint32_t _i1467; + for (_i1467 = 0; _i1467 < _size1463; ++_i1467) { - xfer += iprot->readString(this->part_vals[_i1459]); + xfer += iprot->readString(this->part_vals[_i1467]); } xfer += iprot->readListEnd(); } @@ -13708,10 +13708,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 _iter1460; - for (_iter1460 = this->part_vals.begin(); _iter1460 != this->part_vals.end(); ++_iter1460) + std::vector ::const_iterator _iter1468; + for (_iter1468 = this->part_vals.begin(); _iter1468 != this->part_vals.end(); ++_iter1468) { - xfer += oprot->writeString((*_iter1460)); + xfer += oprot->writeString((*_iter1468)); } xfer += oprot->writeListEnd(); } @@ -13747,10 +13747,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 _iter1461; - for (_iter1461 = (*(this->part_vals)).begin(); _iter1461 != (*(this->part_vals)).end(); ++_iter1461) + std::vector ::const_iterator _iter1469; + for (_iter1469 = (*(this->part_vals)).begin(); _iter1469 != (*(this->part_vals)).end(); ++_iter1469) { - xfer += oprot->writeString((*_iter1461)); + xfer += oprot->writeString((*_iter1469)); } xfer += oprot->writeListEnd(); } @@ -14553,14 +14553,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1462; - ::apache::thrift::protocol::TType _etype1465; - xfer += iprot->readListBegin(_etype1465, _size1462); - this->part_vals.resize(_size1462); - uint32_t _i1466; - for (_i1466 = 0; _i1466 < _size1462; ++_i1466) + uint32_t _size1470; + ::apache::thrift::protocol::TType _etype1473; + xfer += iprot->readListBegin(_etype1473, _size1470); + this->part_vals.resize(_size1470); + uint32_t _i1474; + for (_i1474 = 0; _i1474 < _size1470; ++_i1474) { - xfer += iprot->readString(this->part_vals[_i1466]); + xfer += iprot->readString(this->part_vals[_i1474]); } xfer += iprot->readListEnd(); } @@ -14605,10 +14605,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 _iter1467; - for (_iter1467 = this->part_vals.begin(); _iter1467 != this->part_vals.end(); ++_iter1467) + std::vector ::const_iterator _iter1475; + for (_iter1475 = this->part_vals.begin(); _iter1475 != this->part_vals.end(); ++_iter1475) { - xfer += oprot->writeString((*_iter1467)); + xfer += oprot->writeString((*_iter1475)); } xfer += oprot->writeListEnd(); } @@ -14644,10 +14644,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 _iter1468; - for (_iter1468 = (*(this->part_vals)).begin(); _iter1468 != (*(this->part_vals)).end(); ++_iter1468) + std::vector ::const_iterator _iter1476; + for (_iter1476 = (*(this->part_vals)).begin(); _iter1476 != (*(this->part_vals)).end(); ++_iter1476) { - xfer += oprot->writeString((*_iter1468)); + xfer += oprot->writeString((*_iter1476)); } xfer += oprot->writeListEnd(); } @@ -14856,14 +14856,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1469; - ::apache::thrift::protocol::TType _etype1472; - xfer += iprot->readListBegin(_etype1472, _size1469); - this->part_vals.resize(_size1469); - uint32_t _i1473; - for (_i1473 = 0; _i1473 < _size1469; ++_i1473) + uint32_t _size1477; + ::apache::thrift::protocol::TType _etype1480; + xfer += iprot->readListBegin(_etype1480, _size1477); + this->part_vals.resize(_size1477); + uint32_t _i1481; + for (_i1481 = 0; _i1481 < _size1477; ++_i1481) { - xfer += iprot->readString(this->part_vals[_i1473]); + xfer += iprot->readString(this->part_vals[_i1481]); } xfer += iprot->readListEnd(); } @@ -14916,10 +14916,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 _iter1474; - for (_iter1474 = this->part_vals.begin(); _iter1474 != this->part_vals.end(); ++_iter1474) + std::vector ::const_iterator _iter1482; + for (_iter1482 = this->part_vals.begin(); _iter1482 != this->part_vals.end(); ++_iter1482) { - xfer += oprot->writeString((*_iter1474)); + xfer += oprot->writeString((*_iter1482)); } xfer += oprot->writeListEnd(); } @@ -14959,10 +14959,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 _iter1475; - for (_iter1475 = (*(this->part_vals)).begin(); _iter1475 != (*(this->part_vals)).end(); ++_iter1475) + std::vector ::const_iterator _iter1483; + for (_iter1483 = (*(this->part_vals)).begin(); _iter1483 != (*(this->part_vals)).end(); ++_iter1483) { - xfer += oprot->writeString((*_iter1475)); + xfer += oprot->writeString((*_iter1483)); } xfer += oprot->writeListEnd(); } @@ -15968,14 +15968,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1476; - ::apache::thrift::protocol::TType _etype1479; - xfer += iprot->readListBegin(_etype1479, _size1476); - this->part_vals.resize(_size1476); - uint32_t _i1480; - for (_i1480 = 0; _i1480 < _size1476; ++_i1480) + uint32_t _size1484; + ::apache::thrift::protocol::TType _etype1487; + xfer += iprot->readListBegin(_etype1487, _size1484); + this->part_vals.resize(_size1484); + uint32_t _i1488; + for (_i1488 = 0; _i1488 < _size1484; ++_i1488) { - xfer += iprot->readString(this->part_vals[_i1480]); + xfer += iprot->readString(this->part_vals[_i1488]); } xfer += iprot->readListEnd(); } @@ -16012,10 +16012,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 _iter1481; - for (_iter1481 = this->part_vals.begin(); _iter1481 != this->part_vals.end(); ++_iter1481) + std::vector ::const_iterator _iter1489; + for (_iter1489 = this->part_vals.begin(); _iter1489 != this->part_vals.end(); ++_iter1489) { - xfer += oprot->writeString((*_iter1481)); + xfer += oprot->writeString((*_iter1489)); } xfer += oprot->writeListEnd(); } @@ -16047,10 +16047,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 _iter1482; - for (_iter1482 = (*(this->part_vals)).begin(); _iter1482 != (*(this->part_vals)).end(); ++_iter1482) + std::vector ::const_iterator _iter1490; + for (_iter1490 = (*(this->part_vals)).begin(); _iter1490 != (*(this->part_vals)).end(); ++_iter1490) { - xfer += oprot->writeString((*_iter1482)); + xfer += oprot->writeString((*_iter1490)); } xfer += oprot->writeListEnd(); } @@ -16239,17 +16239,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1483; - ::apache::thrift::protocol::TType _ktype1484; - ::apache::thrift::protocol::TType _vtype1485; - xfer += iprot->readMapBegin(_ktype1484, _vtype1485, _size1483); - uint32_t _i1487; - for (_i1487 = 0; _i1487 < _size1483; ++_i1487) + uint32_t _size1491; + ::apache::thrift::protocol::TType _ktype1492; + ::apache::thrift::protocol::TType _vtype1493; + xfer += iprot->readMapBegin(_ktype1492, _vtype1493, _size1491); + uint32_t _i1495; + for (_i1495 = 0; _i1495 < _size1491; ++_i1495) { - std::string _key1488; - xfer += iprot->readString(_key1488); - std::string& _val1489 = this->partitionSpecs[_key1488]; - xfer += iprot->readString(_val1489); + std::string _key1496; + xfer += iprot->readString(_key1496); + std::string& _val1497 = this->partitionSpecs[_key1496]; + xfer += iprot->readString(_val1497); } xfer += iprot->readMapEnd(); } @@ -16310,11 +16310,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 _iter1490; - for (_iter1490 = this->partitionSpecs.begin(); _iter1490 != this->partitionSpecs.end(); ++_iter1490) + std::map ::const_iterator _iter1498; + for (_iter1498 = this->partitionSpecs.begin(); _iter1498 != this->partitionSpecs.end(); ++_iter1498) { - xfer += oprot->writeString(_iter1490->first); - xfer += oprot->writeString(_iter1490->second); + xfer += oprot->writeString(_iter1498->first); + xfer += oprot->writeString(_iter1498->second); } xfer += oprot->writeMapEnd(); } @@ -16354,11 +16354,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 _iter1491; - for (_iter1491 = (*(this->partitionSpecs)).begin(); _iter1491 != (*(this->partitionSpecs)).end(); ++_iter1491) + std::map ::const_iterator _iter1499; + for (_iter1499 = (*(this->partitionSpecs)).begin(); _iter1499 != (*(this->partitionSpecs)).end(); ++_iter1499) { - xfer += oprot->writeString(_iter1491->first); - xfer += oprot->writeString(_iter1491->second); + xfer += oprot->writeString(_iter1499->first); + xfer += oprot->writeString(_iter1499->second); } xfer += oprot->writeMapEnd(); } @@ -16603,17 +16603,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1492; - ::apache::thrift::protocol::TType _ktype1493; - ::apache::thrift::protocol::TType _vtype1494; - xfer += iprot->readMapBegin(_ktype1493, _vtype1494, _size1492); - uint32_t _i1496; - for (_i1496 = 0; _i1496 < _size1492; ++_i1496) + uint32_t _size1500; + ::apache::thrift::protocol::TType _ktype1501; + ::apache::thrift::protocol::TType _vtype1502; + xfer += iprot->readMapBegin(_ktype1501, _vtype1502, _size1500); + uint32_t _i1504; + for (_i1504 = 0; _i1504 < _size1500; ++_i1504) { - std::string _key1497; - xfer += iprot->readString(_key1497); - std::string& _val1498 = this->partitionSpecs[_key1497]; - xfer += iprot->readString(_val1498); + std::string _key1505; + xfer += iprot->readString(_key1505); + std::string& _val1506 = this->partitionSpecs[_key1505]; + xfer += iprot->readString(_val1506); } xfer += iprot->readMapEnd(); } @@ -16674,11 +16674,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 _iter1499; - for (_iter1499 = this->partitionSpecs.begin(); _iter1499 != this->partitionSpecs.end(); ++_iter1499) + std::map ::const_iterator _iter1507; + for (_iter1507 = this->partitionSpecs.begin(); _iter1507 != this->partitionSpecs.end(); ++_iter1507) { - xfer += oprot->writeString(_iter1499->first); - xfer += oprot->writeString(_iter1499->second); + xfer += oprot->writeString(_iter1507->first); + xfer += oprot->writeString(_iter1507->second); } xfer += oprot->writeMapEnd(); } @@ -16718,11 +16718,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 _iter1500; - for (_iter1500 = (*(this->partitionSpecs)).begin(); _iter1500 != (*(this->partitionSpecs)).end(); ++_iter1500) + std::map ::const_iterator _iter1508; + for (_iter1508 = (*(this->partitionSpecs)).begin(); _iter1508 != (*(this->partitionSpecs)).end(); ++_iter1508) { - xfer += oprot->writeString(_iter1500->first); - xfer += oprot->writeString(_iter1500->second); + xfer += oprot->writeString(_iter1508->first); + xfer += oprot->writeString(_iter1508->second); } xfer += oprot->writeMapEnd(); } @@ -16779,14 +16779,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1501; - ::apache::thrift::protocol::TType _etype1504; - xfer += iprot->readListBegin(_etype1504, _size1501); - this->success.resize(_size1501); - uint32_t _i1505; - for (_i1505 = 0; _i1505 < _size1501; ++_i1505) + uint32_t _size1509; + ::apache::thrift::protocol::TType _etype1512; + xfer += iprot->readListBegin(_etype1512, _size1509); + this->success.resize(_size1509); + uint32_t _i1513; + for (_i1513 = 0; _i1513 < _size1509; ++_i1513) { - xfer += this->success[_i1505].read(iprot); + xfer += this->success[_i1513].read(iprot); } xfer += iprot->readListEnd(); } @@ -16849,10 +16849,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 _iter1506; - for (_iter1506 = this->success.begin(); _iter1506 != this->success.end(); ++_iter1506) + std::vector ::const_iterator _iter1514; + for (_iter1514 = this->success.begin(); _iter1514 != this->success.end(); ++_iter1514) { - xfer += (*_iter1506).write(oprot); + xfer += (*_iter1514).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16909,14 +16909,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1507; - ::apache::thrift::protocol::TType _etype1510; - xfer += iprot->readListBegin(_etype1510, _size1507); - (*(this->success)).resize(_size1507); - uint32_t _i1511; - for (_i1511 = 0; _i1511 < _size1507; ++_i1511) + uint32_t _size1515; + ::apache::thrift::protocol::TType _etype1518; + xfer += iprot->readListBegin(_etype1518, _size1515); + (*(this->success)).resize(_size1515); + uint32_t _i1519; + for (_i1519 = 0; _i1519 < _size1515; ++_i1519) { - xfer += (*(this->success))[_i1511].read(iprot); + xfer += (*(this->success))[_i1519].read(iprot); } xfer += iprot->readListEnd(); } @@ -17015,14 +17015,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 _size1512; - ::apache::thrift::protocol::TType _etype1515; - xfer += iprot->readListBegin(_etype1515, _size1512); - this->part_vals.resize(_size1512); - uint32_t _i1516; - for (_i1516 = 0; _i1516 < _size1512; ++_i1516) + uint32_t _size1520; + ::apache::thrift::protocol::TType _etype1523; + xfer += iprot->readListBegin(_etype1523, _size1520); + this->part_vals.resize(_size1520); + uint32_t _i1524; + for (_i1524 = 0; _i1524 < _size1520; ++_i1524) { - xfer += iprot->readString(this->part_vals[_i1516]); + xfer += iprot->readString(this->part_vals[_i1524]); } xfer += iprot->readListEnd(); } @@ -17043,14 +17043,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 _size1517; - ::apache::thrift::protocol::TType _etype1520; - xfer += iprot->readListBegin(_etype1520, _size1517); - this->group_names.resize(_size1517); - uint32_t _i1521; - for (_i1521 = 0; _i1521 < _size1517; ++_i1521) + uint32_t _size1525; + ::apache::thrift::protocol::TType _etype1528; + xfer += iprot->readListBegin(_etype1528, _size1525); + this->group_names.resize(_size1525); + uint32_t _i1529; + for (_i1529 = 0; _i1529 < _size1525; ++_i1529) { - xfer += iprot->readString(this->group_names[_i1521]); + xfer += iprot->readString(this->group_names[_i1529]); } xfer += iprot->readListEnd(); } @@ -17087,10 +17087,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 _iter1522; - for (_iter1522 = this->part_vals.begin(); _iter1522 != this->part_vals.end(); ++_iter1522) + std::vector ::const_iterator _iter1530; + for (_iter1530 = this->part_vals.begin(); _iter1530 != this->part_vals.end(); ++_iter1530) { - xfer += oprot->writeString((*_iter1522)); + xfer += oprot->writeString((*_iter1530)); } xfer += oprot->writeListEnd(); } @@ -17103,10 +17103,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 _iter1523; - for (_iter1523 = this->group_names.begin(); _iter1523 != this->group_names.end(); ++_iter1523) + std::vector ::const_iterator _iter1531; + for (_iter1531 = this->group_names.begin(); _iter1531 != this->group_names.end(); ++_iter1531) { - xfer += oprot->writeString((*_iter1523)); + xfer += oprot->writeString((*_iter1531)); } xfer += oprot->writeListEnd(); } @@ -17138,10 +17138,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 _iter1524; - for (_iter1524 = (*(this->part_vals)).begin(); _iter1524 != (*(this->part_vals)).end(); ++_iter1524) + std::vector ::const_iterator _iter1532; + for (_iter1532 = (*(this->part_vals)).begin(); _iter1532 != (*(this->part_vals)).end(); ++_iter1532) { - xfer += oprot->writeString((*_iter1524)); + xfer += oprot->writeString((*_iter1532)); } xfer += oprot->writeListEnd(); } @@ -17154,10 +17154,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 _iter1525; - for (_iter1525 = (*(this->group_names)).begin(); _iter1525 != (*(this->group_names)).end(); ++_iter1525) + std::vector ::const_iterator _iter1533; + for (_iter1533 = (*(this->group_names)).begin(); _iter1533 != (*(this->group_names)).end(); ++_iter1533) { - xfer += oprot->writeString((*_iter1525)); + xfer += oprot->writeString((*_iter1533)); } xfer += oprot->writeListEnd(); } @@ -17716,14 +17716,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1526; - ::apache::thrift::protocol::TType _etype1529; - xfer += iprot->readListBegin(_etype1529, _size1526); - this->success.resize(_size1526); - uint32_t _i1530; - for (_i1530 = 0; _i1530 < _size1526; ++_i1530) + uint32_t _size1534; + ::apache::thrift::protocol::TType _etype1537; + xfer += iprot->readListBegin(_etype1537, _size1534); + this->success.resize(_size1534); + uint32_t _i1538; + for (_i1538 = 0; _i1538 < _size1534; ++_i1538) { - xfer += this->success[_i1530].read(iprot); + xfer += this->success[_i1538].read(iprot); } xfer += iprot->readListEnd(); } @@ -17770,10 +17770,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 _iter1531; - for (_iter1531 = this->success.begin(); _iter1531 != this->success.end(); ++_iter1531) + std::vector ::const_iterator _iter1539; + for (_iter1539 = this->success.begin(); _iter1539 != this->success.end(); ++_iter1539) { - xfer += (*_iter1531).write(oprot); + xfer += (*_iter1539).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17822,14 +17822,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1532; - ::apache::thrift::protocol::TType _etype1535; - xfer += iprot->readListBegin(_etype1535, _size1532); - (*(this->success)).resize(_size1532); - uint32_t _i1536; - for (_i1536 = 0; _i1536 < _size1532; ++_i1536) + uint32_t _size1540; + ::apache::thrift::protocol::TType _etype1543; + xfer += iprot->readListBegin(_etype1543, _size1540); + (*(this->success)).resize(_size1540); + uint32_t _i1544; + for (_i1544 = 0; _i1544 < _size1540; ++_i1544) { - xfer += (*(this->success))[_i1536].read(iprot); + xfer += (*(this->success))[_i1544].read(iprot); } xfer += iprot->readListEnd(); } @@ -17928,14 +17928,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 _size1537; - ::apache::thrift::protocol::TType _etype1540; - xfer += iprot->readListBegin(_etype1540, _size1537); - this->group_names.resize(_size1537); - uint32_t _i1541; - for (_i1541 = 0; _i1541 < _size1537; ++_i1541) + uint32_t _size1545; + ::apache::thrift::protocol::TType _etype1548; + xfer += iprot->readListBegin(_etype1548, _size1545); + this->group_names.resize(_size1545); + uint32_t _i1549; + for (_i1549 = 0; _i1549 < _size1545; ++_i1549) { - xfer += iprot->readString(this->group_names[_i1541]); + xfer += iprot->readString(this->group_names[_i1549]); } xfer += iprot->readListEnd(); } @@ -17980,10 +17980,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 _iter1542; - for (_iter1542 = this->group_names.begin(); _iter1542 != this->group_names.end(); ++_iter1542) + std::vector ::const_iterator _iter1550; + for (_iter1550 = this->group_names.begin(); _iter1550 != this->group_names.end(); ++_iter1550) { - xfer += oprot->writeString((*_iter1542)); + xfer += oprot->writeString((*_iter1550)); } xfer += oprot->writeListEnd(); } @@ -18023,10 +18023,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 _iter1543; - for (_iter1543 = (*(this->group_names)).begin(); _iter1543 != (*(this->group_names)).end(); ++_iter1543) + std::vector ::const_iterator _iter1551; + for (_iter1551 = (*(this->group_names)).begin(); _iter1551 != (*(this->group_names)).end(); ++_iter1551) { - xfer += oprot->writeString((*_iter1543)); + xfer += oprot->writeString((*_iter1551)); } xfer += oprot->writeListEnd(); } @@ -18067,14 +18067,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1544; - ::apache::thrift::protocol::TType _etype1547; - xfer += iprot->readListBegin(_etype1547, _size1544); - this->success.resize(_size1544); - uint32_t _i1548; - for (_i1548 = 0; _i1548 < _size1544; ++_i1548) + uint32_t _size1552; + ::apache::thrift::protocol::TType _etype1555; + xfer += iprot->readListBegin(_etype1555, _size1552); + this->success.resize(_size1552); + uint32_t _i1556; + for (_i1556 = 0; _i1556 < _size1552; ++_i1556) { - xfer += this->success[_i1548].read(iprot); + xfer += this->success[_i1556].read(iprot); } xfer += iprot->readListEnd(); } @@ -18121,10 +18121,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 _iter1549; - for (_iter1549 = this->success.begin(); _iter1549 != this->success.end(); ++_iter1549) + std::vector ::const_iterator _iter1557; + for (_iter1557 = this->success.begin(); _iter1557 != this->success.end(); ++_iter1557) { - xfer += (*_iter1549).write(oprot); + xfer += (*_iter1557).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18173,14 +18173,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1558; + ::apache::thrift::protocol::TType _etype1561; + xfer += iprot->readListBegin(_etype1561, _size1558); + (*(this->success)).resize(_size1558); + uint32_t _i1562; + for (_i1562 = 0; _i1562 < _size1558; ++_i1562) { - xfer += (*(this->success))[_i1554].read(iprot); + xfer += (*(this->success))[_i1562].read(iprot); } xfer += iprot->readListEnd(); } @@ -18358,14 +18358,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1555; - ::apache::thrift::protocol::TType _etype1558; - xfer += iprot->readListBegin(_etype1558, _size1555); - this->success.resize(_size1555); - uint32_t _i1559; - for (_i1559 = 0; _i1559 < _size1555; ++_i1559) + 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) { - xfer += this->success[_i1559].read(iprot); + xfer += this->success[_i1567].read(iprot); } xfer += iprot->readListEnd(); } @@ -18412,10 +18412,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 _iter1560; - for (_iter1560 = this->success.begin(); _iter1560 != this->success.end(); ++_iter1560) + std::vector ::const_iterator _iter1568; + for (_iter1568 = this->success.begin(); _iter1568 != this->success.end(); ++_iter1568) { - xfer += (*_iter1560).write(oprot); + xfer += (*_iter1568).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18464,14 +18464,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1561; - ::apache::thrift::protocol::TType _etype1564; - xfer += iprot->readListBegin(_etype1564, _size1561); - (*(this->success)).resize(_size1561); - uint32_t _i1565; - for (_i1565 = 0; _i1565 < _size1561; ++_i1565) + uint32_t _size1569; + ::apache::thrift::protocol::TType _etype1572; + xfer += iprot->readListBegin(_etype1572, _size1569); + (*(this->success)).resize(_size1569); + uint32_t _i1573; + for (_i1573 = 0; _i1573 < _size1569; ++_i1573) { - xfer += (*(this->success))[_i1565].read(iprot); + xfer += (*(this->success))[_i1573].read(iprot); } xfer += iprot->readListEnd(); } @@ -18649,14 +18649,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1566; - ::apache::thrift::protocol::TType _etype1569; - xfer += iprot->readListBegin(_etype1569, _size1566); - this->success.resize(_size1566); - uint32_t _i1570; - for (_i1570 = 0; _i1570 < _size1566; ++_i1570) + uint32_t _size1574; + ::apache::thrift::protocol::TType _etype1577; + xfer += iprot->readListBegin(_etype1577, _size1574); + this->success.resize(_size1574); + uint32_t _i1578; + for (_i1578 = 0; _i1578 < _size1574; ++_i1578) { - xfer += iprot->readString(this->success[_i1570]); + xfer += iprot->readString(this->success[_i1578]); } xfer += iprot->readListEnd(); } @@ -18703,10 +18703,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 _iter1571; - for (_iter1571 = this->success.begin(); _iter1571 != this->success.end(); ++_iter1571) + std::vector ::const_iterator _iter1579; + for (_iter1579 = this->success.begin(); _iter1579 != this->success.end(); ++_iter1579) { - xfer += oprot->writeString((*_iter1571)); + xfer += oprot->writeString((*_iter1579)); } xfer += oprot->writeListEnd(); } @@ -18755,14 +18755,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1572; - ::apache::thrift::protocol::TType _etype1575; - xfer += iprot->readListBegin(_etype1575, _size1572); - (*(this->success)).resize(_size1572); - uint32_t _i1576; - for (_i1576 = 0; _i1576 < _size1572; ++_i1576) + uint32_t _size1580; + ::apache::thrift::protocol::TType _etype1583; + xfer += iprot->readListBegin(_etype1583, _size1580); + (*(this->success)).resize(_size1580); + uint32_t _i1584; + for (_i1584 = 0; _i1584 < _size1580; ++_i1584) { - xfer += iprot->readString((*(this->success))[_i1576]); + xfer += iprot->readString((*(this->success))[_i1584]); } xfer += iprot->readListEnd(); } @@ -19072,14 +19072,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 _size1577; - ::apache::thrift::protocol::TType _etype1580; - xfer += iprot->readListBegin(_etype1580, _size1577); - this->part_vals.resize(_size1577); - uint32_t _i1581; - for (_i1581 = 0; _i1581 < _size1577; ++_i1581) + uint32_t _size1585; + ::apache::thrift::protocol::TType _etype1588; + xfer += iprot->readListBegin(_etype1588, _size1585); + this->part_vals.resize(_size1585); + uint32_t _i1589; + for (_i1589 = 0; _i1589 < _size1585; ++_i1589) { - xfer += iprot->readString(this->part_vals[_i1581]); + xfer += iprot->readString(this->part_vals[_i1589]); } xfer += iprot->readListEnd(); } @@ -19124,10 +19124,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 _iter1582; - for (_iter1582 = this->part_vals.begin(); _iter1582 != this->part_vals.end(); ++_iter1582) + std::vector ::const_iterator _iter1590; + for (_iter1590 = this->part_vals.begin(); _iter1590 != this->part_vals.end(); ++_iter1590) { - xfer += oprot->writeString((*_iter1582)); + xfer += oprot->writeString((*_iter1590)); } xfer += oprot->writeListEnd(); } @@ -19163,10 +19163,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 _iter1583; - for (_iter1583 = (*(this->part_vals)).begin(); _iter1583 != (*(this->part_vals)).end(); ++_iter1583) + std::vector ::const_iterator _iter1591; + for (_iter1591 = (*(this->part_vals)).begin(); _iter1591 != (*(this->part_vals)).end(); ++_iter1591) { - xfer += oprot->writeString((*_iter1583)); + xfer += oprot->writeString((*_iter1591)); } xfer += oprot->writeListEnd(); } @@ -19211,14 +19211,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1584; - ::apache::thrift::protocol::TType _etype1587; - xfer += iprot->readListBegin(_etype1587, _size1584); - this->success.resize(_size1584); - uint32_t _i1588; - for (_i1588 = 0; _i1588 < _size1584; ++_i1588) + uint32_t _size1592; + ::apache::thrift::protocol::TType _etype1595; + xfer += iprot->readListBegin(_etype1595, _size1592); + this->success.resize(_size1592); + uint32_t _i1596; + for (_i1596 = 0; _i1596 < _size1592; ++_i1596) { - xfer += this->success[_i1588].read(iprot); + xfer += this->success[_i1596].read(iprot); } xfer += iprot->readListEnd(); } @@ -19265,10 +19265,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 _iter1589; - for (_iter1589 = this->success.begin(); _iter1589 != this->success.end(); ++_iter1589) + std::vector ::const_iterator _iter1597; + for (_iter1597 = this->success.begin(); _iter1597 != this->success.end(); ++_iter1597) { - xfer += (*_iter1589).write(oprot); + xfer += (*_iter1597).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19317,14 +19317,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1590; - ::apache::thrift::protocol::TType _etype1593; - xfer += iprot->readListBegin(_etype1593, _size1590); - (*(this->success)).resize(_size1590); - uint32_t _i1594; - for (_i1594 = 0; _i1594 < _size1590; ++_i1594) + uint32_t _size1598; + ::apache::thrift::protocol::TType _etype1601; + xfer += iprot->readListBegin(_etype1601, _size1598); + (*(this->success)).resize(_size1598); + uint32_t _i1602; + for (_i1602 = 0; _i1602 < _size1598; ++_i1602) { - xfer += (*(this->success))[_i1594].read(iprot); + xfer += (*(this->success))[_i1602].read(iprot); } xfer += iprot->readListEnd(); } @@ -19407,14 +19407,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 _size1595; - ::apache::thrift::protocol::TType _etype1598; - xfer += iprot->readListBegin(_etype1598, _size1595); - this->part_vals.resize(_size1595); - uint32_t _i1599; - for (_i1599 = 0; _i1599 < _size1595; ++_i1599) + uint32_t _size1603; + ::apache::thrift::protocol::TType _etype1606; + xfer += iprot->readListBegin(_etype1606, _size1603); + this->part_vals.resize(_size1603); + uint32_t _i1607; + for (_i1607 = 0; _i1607 < _size1603; ++_i1607) { - xfer += iprot->readString(this->part_vals[_i1599]); + xfer += iprot->readString(this->part_vals[_i1607]); } xfer += iprot->readListEnd(); } @@ -19443,14 +19443,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 _size1600; - ::apache::thrift::protocol::TType _etype1603; - xfer += iprot->readListBegin(_etype1603, _size1600); - this->group_names.resize(_size1600); - uint32_t _i1604; - for (_i1604 = 0; _i1604 < _size1600; ++_i1604) + uint32_t _size1608; + ::apache::thrift::protocol::TType _etype1611; + xfer += iprot->readListBegin(_etype1611, _size1608); + this->group_names.resize(_size1608); + uint32_t _i1612; + for (_i1612 = 0; _i1612 < _size1608; ++_i1612) { - xfer += iprot->readString(this->group_names[_i1604]); + xfer += iprot->readString(this->group_names[_i1612]); } xfer += iprot->readListEnd(); } @@ -19487,10 +19487,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 _iter1605; - for (_iter1605 = this->part_vals.begin(); _iter1605 != this->part_vals.end(); ++_iter1605) + std::vector ::const_iterator _iter1613; + for (_iter1613 = this->part_vals.begin(); _iter1613 != this->part_vals.end(); ++_iter1613) { - xfer += oprot->writeString((*_iter1605)); + xfer += oprot->writeString((*_iter1613)); } xfer += oprot->writeListEnd(); } @@ -19507,10 +19507,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 _iter1606; - for (_iter1606 = this->group_names.begin(); _iter1606 != this->group_names.end(); ++_iter1606) + std::vector ::const_iterator _iter1614; + for (_iter1614 = this->group_names.begin(); _iter1614 != this->group_names.end(); ++_iter1614) { - xfer += oprot->writeString((*_iter1606)); + xfer += oprot->writeString((*_iter1614)); } xfer += oprot->writeListEnd(); } @@ -19542,10 +19542,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 _iter1607; - for (_iter1607 = (*(this->part_vals)).begin(); _iter1607 != (*(this->part_vals)).end(); ++_iter1607) + std::vector ::const_iterator _iter1615; + for (_iter1615 = (*(this->part_vals)).begin(); _iter1615 != (*(this->part_vals)).end(); ++_iter1615) { - xfer += oprot->writeString((*_iter1607)); + xfer += oprot->writeString((*_iter1615)); } xfer += oprot->writeListEnd(); } @@ -19562,10 +19562,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 _iter1608; - for (_iter1608 = (*(this->group_names)).begin(); _iter1608 != (*(this->group_names)).end(); ++_iter1608) + std::vector ::const_iterator _iter1616; + for (_iter1616 = (*(this->group_names)).begin(); _iter1616 != (*(this->group_names)).end(); ++_iter1616) { - xfer += oprot->writeString((*_iter1608)); + xfer += oprot->writeString((*_iter1616)); } xfer += oprot->writeListEnd(); } @@ -19606,14 +19606,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: 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 _size1617; + ::apache::thrift::protocol::TType _etype1620; + xfer += iprot->readListBegin(_etype1620, _size1617); + this->success.resize(_size1617); + uint32_t _i1621; + for (_i1621 = 0; _i1621 < _size1617; ++_i1621) { - xfer += this->success[_i1613].read(iprot); + xfer += this->success[_i1621].read(iprot); } xfer += iprot->readListEnd(); } @@ -19660,10 +19660,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 _iter1614; - for (_iter1614 = this->success.begin(); _iter1614 != this->success.end(); ++_iter1614) + std::vector ::const_iterator _iter1622; + for (_iter1622 = this->success.begin(); _iter1622 != this->success.end(); ++_iter1622) { - xfer += (*_iter1614).write(oprot); + xfer += (*_iter1622).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19712,14 +19712,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1615; - ::apache::thrift::protocol::TType _etype1618; - xfer += iprot->readListBegin(_etype1618, _size1615); - (*(this->success)).resize(_size1615); - uint32_t _i1619; - for (_i1619 = 0; _i1619 < _size1615; ++_i1619) + uint32_t _size1623; + ::apache::thrift::protocol::TType _etype1626; + xfer += iprot->readListBegin(_etype1626, _size1623); + (*(this->success)).resize(_size1623); + uint32_t _i1627; + for (_i1627 = 0; _i1627 < _size1623; ++_i1627) { - xfer += (*(this->success))[_i1619].read(iprot); + xfer += (*(this->success))[_i1627].read(iprot); } xfer += iprot->readListEnd(); } @@ -19802,14 +19802,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 _size1620; - ::apache::thrift::protocol::TType _etype1623; - xfer += iprot->readListBegin(_etype1623, _size1620); - this->part_vals.resize(_size1620); - uint32_t _i1624; - for (_i1624 = 0; _i1624 < _size1620; ++_i1624) + uint32_t _size1628; + ::apache::thrift::protocol::TType _etype1631; + xfer += iprot->readListBegin(_etype1631, _size1628); + this->part_vals.resize(_size1628); + uint32_t _i1632; + for (_i1632 = 0; _i1632 < _size1628; ++_i1632) { - xfer += iprot->readString(this->part_vals[_i1624]); + xfer += iprot->readString(this->part_vals[_i1632]); } xfer += iprot->readListEnd(); } @@ -19854,10 +19854,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 _iter1625; - for (_iter1625 = this->part_vals.begin(); _iter1625 != this->part_vals.end(); ++_iter1625) + std::vector ::const_iterator _iter1633; + for (_iter1633 = this->part_vals.begin(); _iter1633 != this->part_vals.end(); ++_iter1633) { - xfer += oprot->writeString((*_iter1625)); + xfer += oprot->writeString((*_iter1633)); } xfer += oprot->writeListEnd(); } @@ -19893,10 +19893,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 _iter1626; - for (_iter1626 = (*(this->part_vals)).begin(); _iter1626 != (*(this->part_vals)).end(); ++_iter1626) + std::vector ::const_iterator _iter1634; + for (_iter1634 = (*(this->part_vals)).begin(); _iter1634 != (*(this->part_vals)).end(); ++_iter1634) { - xfer += oprot->writeString((*_iter1626)); + xfer += oprot->writeString((*_iter1634)); } xfer += oprot->writeListEnd(); } @@ -19941,14 +19941,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1627; - ::apache::thrift::protocol::TType _etype1630; - xfer += iprot->readListBegin(_etype1630, _size1627); - this->success.resize(_size1627); - uint32_t _i1631; - for (_i1631 = 0; _i1631 < _size1627; ++_i1631) + 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[_i1631]); + xfer += iprot->readString(this->success[_i1639]); } xfer += iprot->readListEnd(); } @@ -19995,10 +19995,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 _iter1632; - for (_iter1632 = this->success.begin(); _iter1632 != this->success.end(); ++_iter1632) + std::vector ::const_iterator _iter1640; + for (_iter1640 = this->success.begin(); _iter1640 != this->success.end(); ++_iter1640) { - xfer += oprot->writeString((*_iter1632)); + xfer += oprot->writeString((*_iter1640)); } xfer += oprot->writeListEnd(); } @@ -20047,14 +20047,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1633; - ::apache::thrift::protocol::TType _etype1636; - xfer += iprot->readListBegin(_etype1636, _size1633); - (*(this->success)).resize(_size1633); - uint32_t _i1637; - for (_i1637 = 0; _i1637 < _size1633; ++_i1637) + uint32_t _size1641; + ::apache::thrift::protocol::TType _etype1644; + xfer += iprot->readListBegin(_etype1644, _size1641); + (*(this->success)).resize(_size1641); + uint32_t _i1645; + for (_i1645 = 0; _i1645 < _size1641; ++_i1645) { - xfer += iprot->readString((*(this->success))[_i1637]); + xfer += iprot->readString((*(this->success))[_i1645]); } xfer += iprot->readListEnd(); } @@ -20248,14 +20248,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1638; - ::apache::thrift::protocol::TType _etype1641; - xfer += iprot->readListBegin(_etype1641, _size1638); - this->success.resize(_size1638); - uint32_t _i1642; - for (_i1642 = 0; _i1642 < _size1638; ++_i1642) + uint32_t _size1646; + ::apache::thrift::protocol::TType _etype1649; + xfer += iprot->readListBegin(_etype1649, _size1646); + this->success.resize(_size1646); + uint32_t _i1650; + for (_i1650 = 0; _i1650 < _size1646; ++_i1650) { - xfer += this->success[_i1642].read(iprot); + xfer += this->success[_i1650].read(iprot); } xfer += iprot->readListEnd(); } @@ -20302,10 +20302,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 _iter1643; - for (_iter1643 = this->success.begin(); _iter1643 != this->success.end(); ++_iter1643) + std::vector ::const_iterator _iter1651; + for (_iter1651 = this->success.begin(); _iter1651 != this->success.end(); ++_iter1651) { - xfer += (*_iter1643).write(oprot); + xfer += (*_iter1651).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20354,14 +20354,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1652; + ::apache::thrift::protocol::TType _etype1655; + xfer += iprot->readListBegin(_etype1655, _size1652); + (*(this->success)).resize(_size1652); + uint32_t _i1656; + for (_i1656 = 0; _i1656 < _size1652; ++_i1656) { - xfer += (*(this->success))[_i1648].read(iprot); + xfer += (*(this->success))[_i1656].read(iprot); } xfer += iprot->readListEnd(); } @@ -20555,14 +20555,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 _size1649; - ::apache::thrift::protocol::TType _etype1652; - xfer += iprot->readListBegin(_etype1652, _size1649); - this->success.resize(_size1649); - uint32_t _i1653; - for (_i1653 = 0; _i1653 < _size1649; ++_i1653) + 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) { - xfer += this->success[_i1653].read(iprot); + xfer += this->success[_i1661].read(iprot); } xfer += iprot->readListEnd(); } @@ -20609,10 +20609,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 _iter1654; - for (_iter1654 = this->success.begin(); _iter1654 != this->success.end(); ++_iter1654) + std::vector ::const_iterator _iter1662; + for (_iter1662 = this->success.begin(); _iter1662 != this->success.end(); ++_iter1662) { - xfer += (*_iter1654).write(oprot); + xfer += (*_iter1662).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20661,14 +20661,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 _size1655; - ::apache::thrift::protocol::TType _etype1658; - xfer += iprot->readListBegin(_etype1658, _size1655); - (*(this->success)).resize(_size1655); - uint32_t _i1659; - for (_i1659 = 0; _i1659 < _size1655; ++_i1659) + 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))[_i1659].read(iprot); + xfer += (*(this->success))[_i1667].read(iprot); } xfer += iprot->readListEnd(); } @@ -21237,14 +21237,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1660; - ::apache::thrift::protocol::TType _etype1663; - xfer += iprot->readListBegin(_etype1663, _size1660); - this->names.resize(_size1660); - uint32_t _i1664; - for (_i1664 = 0; _i1664 < _size1660; ++_i1664) + uint32_t _size1668; + ::apache::thrift::protocol::TType _etype1671; + xfer += iprot->readListBegin(_etype1671, _size1668); + this->names.resize(_size1668); + uint32_t _i1672; + for (_i1672 = 0; _i1672 < _size1668; ++_i1672) { - xfer += iprot->readString(this->names[_i1664]); + xfer += iprot->readString(this->names[_i1672]); } xfer += iprot->readListEnd(); } @@ -21281,10 +21281,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 _iter1665; - for (_iter1665 = this->names.begin(); _iter1665 != this->names.end(); ++_iter1665) + std::vector ::const_iterator _iter1673; + for (_iter1673 = this->names.begin(); _iter1673 != this->names.end(); ++_iter1673) { - xfer += oprot->writeString((*_iter1665)); + xfer += oprot->writeString((*_iter1673)); } xfer += oprot->writeListEnd(); } @@ -21316,10 +21316,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 _iter1666; - for (_iter1666 = (*(this->names)).begin(); _iter1666 != (*(this->names)).end(); ++_iter1666) + std::vector ::const_iterator _iter1674; + for (_iter1674 = (*(this->names)).begin(); _iter1674 != (*(this->names)).end(); ++_iter1674) { - xfer += oprot->writeString((*_iter1666)); + xfer += oprot->writeString((*_iter1674)); } xfer += oprot->writeListEnd(); } @@ -21360,14 +21360,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1667; - ::apache::thrift::protocol::TType _etype1670; - xfer += iprot->readListBegin(_etype1670, _size1667); - this->success.resize(_size1667); - uint32_t _i1671; - for (_i1671 = 0; _i1671 < _size1667; ++_i1671) + uint32_t _size1675; + ::apache::thrift::protocol::TType _etype1678; + xfer += iprot->readListBegin(_etype1678, _size1675); + this->success.resize(_size1675); + uint32_t _i1679; + for (_i1679 = 0; _i1679 < _size1675; ++_i1679) { - xfer += this->success[_i1671].read(iprot); + xfer += this->success[_i1679].read(iprot); } xfer += iprot->readListEnd(); } @@ -21414,10 +21414,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 _iter1672; - for (_iter1672 = this->success.begin(); _iter1672 != this->success.end(); ++_iter1672) + std::vector ::const_iterator _iter1680; + for (_iter1680 = this->success.begin(); _iter1680 != this->success.end(); ++_iter1680) { - xfer += (*_iter1672).write(oprot); + xfer += (*_iter1680).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21466,14 +21466,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1673; - ::apache::thrift::protocol::TType _etype1676; - xfer += iprot->readListBegin(_etype1676, _size1673); - (*(this->success)).resize(_size1673); - uint32_t _i1677; - for (_i1677 = 0; _i1677 < _size1673; ++_i1677) + 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 += (*(this->success))[_i1677].read(iprot); + xfer += (*(this->success))[_i1685].read(iprot); } xfer += iprot->readListEnd(); } @@ -21795,14 +21795,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1678; - ::apache::thrift::protocol::TType _etype1681; - xfer += iprot->readListBegin(_etype1681, _size1678); - this->new_parts.resize(_size1678); - uint32_t _i1682; - for (_i1682 = 0; _i1682 < _size1678; ++_i1682) + uint32_t _size1686; + ::apache::thrift::protocol::TType _etype1689; + xfer += iprot->readListBegin(_etype1689, _size1686); + this->new_parts.resize(_size1686); + uint32_t _i1690; + for (_i1690 = 0; _i1690 < _size1686; ++_i1690) { - xfer += this->new_parts[_i1682].read(iprot); + xfer += this->new_parts[_i1690].read(iprot); } xfer += iprot->readListEnd(); } @@ -21839,10 +21839,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 _iter1683; - for (_iter1683 = this->new_parts.begin(); _iter1683 != this->new_parts.end(); ++_iter1683) + std::vector ::const_iterator _iter1691; + for (_iter1691 = this->new_parts.begin(); _iter1691 != this->new_parts.end(); ++_iter1691) { - xfer += (*_iter1683).write(oprot); + xfer += (*_iter1691).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21874,10 +21874,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 _iter1684; - for (_iter1684 = (*(this->new_parts)).begin(); _iter1684 != (*(this->new_parts)).end(); ++_iter1684) + std::vector ::const_iterator _iter1692; + for (_iter1692 = (*(this->new_parts)).begin(); _iter1692 != (*(this->new_parts)).end(); ++_iter1692) { - xfer += (*_iter1684).write(oprot); + xfer += (*_iter1692).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22062,14 +22062,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1685; - ::apache::thrift::protocol::TType _etype1688; - xfer += iprot->readListBegin(_etype1688, _size1685); - this->new_parts.resize(_size1685); - uint32_t _i1689; - for (_i1689 = 0; _i1689 < _size1685; ++_i1689) + uint32_t _size1693; + ::apache::thrift::protocol::TType _etype1696; + xfer += iprot->readListBegin(_etype1696, _size1693); + this->new_parts.resize(_size1693); + uint32_t _i1697; + for (_i1697 = 0; _i1697 < _size1693; ++_i1697) { - xfer += this->new_parts[_i1689].read(iprot); + xfer += this->new_parts[_i1697].read(iprot); } xfer += iprot->readListEnd(); } @@ -22114,10 +22114,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 _iter1690; - for (_iter1690 = this->new_parts.begin(); _iter1690 != this->new_parts.end(); ++_iter1690) + std::vector ::const_iterator _iter1698; + for (_iter1698 = this->new_parts.begin(); _iter1698 != this->new_parts.end(); ++_iter1698) { - xfer += (*_iter1690).write(oprot); + xfer += (*_iter1698).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22153,10 +22153,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 _iter1691; - for (_iter1691 = (*(this->new_parts)).begin(); _iter1691 != (*(this->new_parts)).end(); ++_iter1691) + std::vector ::const_iterator _iter1699; + for (_iter1699 = (*(this->new_parts)).begin(); _iter1699 != (*(this->new_parts)).end(); ++_iter1699) { - xfer += (*_iter1691).write(oprot); + xfer += (*_iter1699).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22600,14 +22600,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1692; - ::apache::thrift::protocol::TType _etype1695; - xfer += iprot->readListBegin(_etype1695, _size1692); - this->part_vals.resize(_size1692); - uint32_t _i1696; - for (_i1696 = 0; _i1696 < _size1692; ++_i1696) + uint32_t _size1700; + ::apache::thrift::protocol::TType _etype1703; + xfer += iprot->readListBegin(_etype1703, _size1700); + this->part_vals.resize(_size1700); + uint32_t _i1704; + for (_i1704 = 0; _i1704 < _size1700; ++_i1704) { - xfer += iprot->readString(this->part_vals[_i1696]); + xfer += iprot->readString(this->part_vals[_i1704]); } xfer += iprot->readListEnd(); } @@ -22652,10 +22652,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 _iter1697; - for (_iter1697 = this->part_vals.begin(); _iter1697 != this->part_vals.end(); ++_iter1697) + std::vector ::const_iterator _iter1705; + for (_iter1705 = this->part_vals.begin(); _iter1705 != this->part_vals.end(); ++_iter1705) { - xfer += oprot->writeString((*_iter1697)); + xfer += oprot->writeString((*_iter1705)); } xfer += oprot->writeListEnd(); } @@ -22691,10 +22691,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 _iter1698; - for (_iter1698 = (*(this->part_vals)).begin(); _iter1698 != (*(this->part_vals)).end(); ++_iter1698) + std::vector ::const_iterator _iter1706; + for (_iter1706 = (*(this->part_vals)).begin(); _iter1706 != (*(this->part_vals)).end(); ++_iter1706) { - xfer += oprot->writeString((*_iter1698)); + xfer += oprot->writeString((*_iter1706)); } xfer += oprot->writeListEnd(); } @@ -22867,14 +22867,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 _size1699; - ::apache::thrift::protocol::TType _etype1702; - xfer += iprot->readListBegin(_etype1702, _size1699); - this->part_vals.resize(_size1699); - uint32_t _i1703; - for (_i1703 = 0; _i1703 < _size1699; ++_i1703) + uint32_t _size1707; + ::apache::thrift::protocol::TType _etype1710; + xfer += iprot->readListBegin(_etype1710, _size1707); + this->part_vals.resize(_size1707); + uint32_t _i1711; + for (_i1711 = 0; _i1711 < _size1707; ++_i1711) { - xfer += iprot->readString(this->part_vals[_i1703]); + xfer += iprot->readString(this->part_vals[_i1711]); } xfer += iprot->readListEnd(); } @@ -22911,10 +22911,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 _iter1704; - for (_iter1704 = this->part_vals.begin(); _iter1704 != this->part_vals.end(); ++_iter1704) + std::vector ::const_iterator _iter1712; + for (_iter1712 = this->part_vals.begin(); _iter1712 != this->part_vals.end(); ++_iter1712) { - xfer += oprot->writeString((*_iter1704)); + xfer += oprot->writeString((*_iter1712)); } xfer += oprot->writeListEnd(); } @@ -22942,10 +22942,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 _iter1705; - for (_iter1705 = (*(this->part_vals)).begin(); _iter1705 != (*(this->part_vals)).end(); ++_iter1705) + std::vector ::const_iterator _iter1713; + for (_iter1713 = (*(this->part_vals)).begin(); _iter1713 != (*(this->part_vals)).end(); ++_iter1713) { - xfer += oprot->writeString((*_iter1705)); + xfer += oprot->writeString((*_iter1713)); } xfer += oprot->writeListEnd(); } @@ -23420,14 +23420,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1706; - ::apache::thrift::protocol::TType _etype1709; - xfer += iprot->readListBegin(_etype1709, _size1706); - this->success.resize(_size1706); - uint32_t _i1710; - for (_i1710 = 0; _i1710 < _size1706; ++_i1710) + uint32_t _size1714; + ::apache::thrift::protocol::TType _etype1717; + xfer += iprot->readListBegin(_etype1717, _size1714); + this->success.resize(_size1714); + uint32_t _i1718; + for (_i1718 = 0; _i1718 < _size1714; ++_i1718) { - xfer += iprot->readString(this->success[_i1710]); + xfer += iprot->readString(this->success[_i1718]); } xfer += iprot->readListEnd(); } @@ -23466,10 +23466,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 _iter1711; - for (_iter1711 = this->success.begin(); _iter1711 != this->success.end(); ++_iter1711) + std::vector ::const_iterator _iter1719; + for (_iter1719 = this->success.begin(); _iter1719 != this->success.end(); ++_iter1719) { - xfer += oprot->writeString((*_iter1711)); + xfer += oprot->writeString((*_iter1719)); } xfer += oprot->writeListEnd(); } @@ -23514,14 +23514,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1712; - ::apache::thrift::protocol::TType _etype1715; - xfer += iprot->readListBegin(_etype1715, _size1712); - (*(this->success)).resize(_size1712); - uint32_t _i1716; - for (_i1716 = 0; _i1716 < _size1712; ++_i1716) + uint32_t _size1720; + ::apache::thrift::protocol::TType _etype1723; + xfer += iprot->readListBegin(_etype1723, _size1720); + (*(this->success)).resize(_size1720); + uint32_t _i1724; + for (_i1724 = 0; _i1724 < _size1720; ++_i1724) { - xfer += iprot->readString((*(this->success))[_i1716]); + xfer += iprot->readString((*(this->success))[_i1724]); } xfer += iprot->readListEnd(); } @@ -23659,17 +23659,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1717; - ::apache::thrift::protocol::TType _ktype1718; - ::apache::thrift::protocol::TType _vtype1719; - xfer += iprot->readMapBegin(_ktype1718, _vtype1719, _size1717); - uint32_t _i1721; - for (_i1721 = 0; _i1721 < _size1717; ++_i1721) + uint32_t _size1725; + ::apache::thrift::protocol::TType _ktype1726; + ::apache::thrift::protocol::TType _vtype1727; + xfer += iprot->readMapBegin(_ktype1726, _vtype1727, _size1725); + uint32_t _i1729; + for (_i1729 = 0; _i1729 < _size1725; ++_i1729) { - std::string _key1722; - xfer += iprot->readString(_key1722); - std::string& _val1723 = this->success[_key1722]; - xfer += iprot->readString(_val1723); + std::string _key1730; + xfer += iprot->readString(_key1730); + std::string& _val1731 = this->success[_key1730]; + xfer += iprot->readString(_val1731); } xfer += iprot->readMapEnd(); } @@ -23708,11 +23708,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 _iter1724; - for (_iter1724 = this->success.begin(); _iter1724 != this->success.end(); ++_iter1724) + std::map ::const_iterator _iter1732; + for (_iter1732 = this->success.begin(); _iter1732 != this->success.end(); ++_iter1732) { - xfer += oprot->writeString(_iter1724->first); - xfer += oprot->writeString(_iter1724->second); + xfer += oprot->writeString(_iter1732->first); + xfer += oprot->writeString(_iter1732->second); } xfer += oprot->writeMapEnd(); } @@ -23757,17 +23757,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1725; - ::apache::thrift::protocol::TType _ktype1726; - ::apache::thrift::protocol::TType _vtype1727; - xfer += iprot->readMapBegin(_ktype1726, _vtype1727, _size1725); - uint32_t _i1729; - for (_i1729 = 0; _i1729 < _size1725; ++_i1729) + uint32_t _size1733; + ::apache::thrift::protocol::TType _ktype1734; + ::apache::thrift::protocol::TType _vtype1735; + xfer += iprot->readMapBegin(_ktype1734, _vtype1735, _size1733); + uint32_t _i1737; + for (_i1737 = 0; _i1737 < _size1733; ++_i1737) { - std::string _key1730; - xfer += iprot->readString(_key1730); - std::string& _val1731 = (*(this->success))[_key1730]; - xfer += iprot->readString(_val1731); + std::string _key1738; + xfer += iprot->readString(_key1738); + std::string& _val1739 = (*(this->success))[_key1738]; + xfer += iprot->readString(_val1739); } xfer += iprot->readMapEnd(); } @@ -23842,17 +23842,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1732; - ::apache::thrift::protocol::TType _ktype1733; - ::apache::thrift::protocol::TType _vtype1734; - xfer += iprot->readMapBegin(_ktype1733, _vtype1734, _size1732); - uint32_t _i1736; - for (_i1736 = 0; _i1736 < _size1732; ++_i1736) + uint32_t _size1740; + ::apache::thrift::protocol::TType _ktype1741; + ::apache::thrift::protocol::TType _vtype1742; + xfer += iprot->readMapBegin(_ktype1741, _vtype1742, _size1740); + uint32_t _i1744; + for (_i1744 = 0; _i1744 < _size1740; ++_i1744) { - std::string _key1737; - xfer += iprot->readString(_key1737); - std::string& _val1738 = this->part_vals[_key1737]; - xfer += iprot->readString(_val1738); + std::string _key1745; + xfer += iprot->readString(_key1745); + std::string& _val1746 = this->part_vals[_key1745]; + xfer += iprot->readString(_val1746); } xfer += iprot->readMapEnd(); } @@ -23863,9 +23863,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1739; - xfer += iprot->readI32(ecast1739); - this->eventType = (PartitionEventType::type)ecast1739; + int32_t ecast1747; + xfer += iprot->readI32(ecast1747); + this->eventType = (PartitionEventType::type)ecast1747; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -23899,11 +23899,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 _iter1740; - for (_iter1740 = this->part_vals.begin(); _iter1740 != this->part_vals.end(); ++_iter1740) + std::map ::const_iterator _iter1748; + for (_iter1748 = this->part_vals.begin(); _iter1748 != this->part_vals.end(); ++_iter1748) { - xfer += oprot->writeString(_iter1740->first); - xfer += oprot->writeString(_iter1740->second); + xfer += oprot->writeString(_iter1748->first); + xfer += oprot->writeString(_iter1748->second); } xfer += oprot->writeMapEnd(); } @@ -23939,11 +23939,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 _iter1741; - for (_iter1741 = (*(this->part_vals)).begin(); _iter1741 != (*(this->part_vals)).end(); ++_iter1741) + std::map ::const_iterator _iter1749; + for (_iter1749 = (*(this->part_vals)).begin(); _iter1749 != (*(this->part_vals)).end(); ++_iter1749) { - xfer += oprot->writeString(_iter1741->first); - xfer += oprot->writeString(_iter1741->second); + xfer += oprot->writeString(_iter1749->first); + xfer += oprot->writeString(_iter1749->second); } xfer += oprot->writeMapEnd(); } @@ -24212,17 +24212,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1742; - ::apache::thrift::protocol::TType _ktype1743; - ::apache::thrift::protocol::TType _vtype1744; - xfer += iprot->readMapBegin(_ktype1743, _vtype1744, _size1742); - uint32_t _i1746; - for (_i1746 = 0; _i1746 < _size1742; ++_i1746) + uint32_t _size1750; + ::apache::thrift::protocol::TType _ktype1751; + ::apache::thrift::protocol::TType _vtype1752; + xfer += iprot->readMapBegin(_ktype1751, _vtype1752, _size1750); + uint32_t _i1754; + for (_i1754 = 0; _i1754 < _size1750; ++_i1754) { - std::string _key1747; - xfer += iprot->readString(_key1747); - std::string& _val1748 = this->part_vals[_key1747]; - xfer += iprot->readString(_val1748); + std::string _key1755; + xfer += iprot->readString(_key1755); + std::string& _val1756 = this->part_vals[_key1755]; + xfer += iprot->readString(_val1756); } xfer += iprot->readMapEnd(); } @@ -24233,9 +24233,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1749; - xfer += iprot->readI32(ecast1749); - this->eventType = (PartitionEventType::type)ecast1749; + int32_t ecast1757; + xfer += iprot->readI32(ecast1757); + this->eventType = (PartitionEventType::type)ecast1757; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -24269,11 +24269,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 _iter1750; - for (_iter1750 = this->part_vals.begin(); _iter1750 != this->part_vals.end(); ++_iter1750) + std::map ::const_iterator _iter1758; + for (_iter1758 = this->part_vals.begin(); _iter1758 != this->part_vals.end(); ++_iter1758) { - xfer += oprot->writeString(_iter1750->first); - xfer += oprot->writeString(_iter1750->second); + xfer += oprot->writeString(_iter1758->first); + xfer += oprot->writeString(_iter1758->second); } xfer += oprot->writeMapEnd(); } @@ -24309,11 +24309,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 _iter1751; - for (_iter1751 = (*(this->part_vals)).begin(); _iter1751 != (*(this->part_vals)).end(); ++_iter1751) + std::map ::const_iterator _iter1759; + for (_iter1759 = (*(this->part_vals)).begin(); _iter1759 != (*(this->part_vals)).end(); ++_iter1759) { - xfer += oprot->writeString(_iter1751->first); - xfer += oprot->writeString(_iter1751->second); + xfer += oprot->writeString(_iter1759->first); + xfer += oprot->writeString(_iter1759->second); } xfer += oprot->writeMapEnd(); } @@ -29462,14 +29462,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1752; - ::apache::thrift::protocol::TType _etype1755; - xfer += iprot->readListBegin(_etype1755, _size1752); - this->success.resize(_size1752); - uint32_t _i1756; - for (_i1756 = 0; _i1756 < _size1752; ++_i1756) + uint32_t _size1760; + ::apache::thrift::protocol::TType _etype1763; + xfer += iprot->readListBegin(_etype1763, _size1760); + this->success.resize(_size1760); + uint32_t _i1764; + for (_i1764 = 0; _i1764 < _size1760; ++_i1764) { - xfer += iprot->readString(this->success[_i1756]); + xfer += iprot->readString(this->success[_i1764]); } xfer += iprot->readListEnd(); } @@ -29508,10 +29508,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 _iter1757; - for (_iter1757 = this->success.begin(); _iter1757 != this->success.end(); ++_iter1757) + std::vector ::const_iterator _iter1765; + for (_iter1765 = this->success.begin(); _iter1765 != this->success.end(); ++_iter1765) { - xfer += oprot->writeString((*_iter1757)); + xfer += oprot->writeString((*_iter1765)); } xfer += oprot->writeListEnd(); } @@ -29556,14 +29556,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1758; - ::apache::thrift::protocol::TType _etype1761; - xfer += iprot->readListBegin(_etype1761, _size1758); - (*(this->success)).resize(_size1758); - uint32_t _i1762; - for (_i1762 = 0; _i1762 < _size1758; ++_i1762) + uint32_t _size1766; + ::apache::thrift::protocol::TType _etype1769; + xfer += iprot->readListBegin(_etype1769, _size1766); + (*(this->success)).resize(_size1766); + uint32_t _i1770; + for (_i1770 = 0; _i1770 < _size1766; ++_i1770) { - xfer += iprot->readString((*(this->success))[_i1762]); + xfer += iprot->readString((*(this->success))[_i1770]); } xfer += iprot->readListEnd(); } @@ -30523,14 +30523,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1763; - ::apache::thrift::protocol::TType _etype1766; - xfer += iprot->readListBegin(_etype1766, _size1763); - this->success.resize(_size1763); - uint32_t _i1767; - for (_i1767 = 0; _i1767 < _size1763; ++_i1767) + uint32_t _size1771; + ::apache::thrift::protocol::TType _etype1774; + xfer += iprot->readListBegin(_etype1774, _size1771); + this->success.resize(_size1771); + uint32_t _i1775; + for (_i1775 = 0; _i1775 < _size1771; ++_i1775) { - xfer += iprot->readString(this->success[_i1767]); + xfer += iprot->readString(this->success[_i1775]); } xfer += iprot->readListEnd(); } @@ -30569,10 +30569,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 _iter1768; - for (_iter1768 = this->success.begin(); _iter1768 != this->success.end(); ++_iter1768) + std::vector ::const_iterator _iter1776; + for (_iter1776 = this->success.begin(); _iter1776 != this->success.end(); ++_iter1776) { - xfer += oprot->writeString((*_iter1768)); + xfer += oprot->writeString((*_iter1776)); } xfer += oprot->writeListEnd(); } @@ -30617,14 +30617,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1769; - ::apache::thrift::protocol::TType _etype1772; - xfer += iprot->readListBegin(_etype1772, _size1769); - (*(this->success)).resize(_size1769); - uint32_t _i1773; - for (_i1773 = 0; _i1773 < _size1769; ++_i1773) + uint32_t _size1777; + ::apache::thrift::protocol::TType _etype1780; + xfer += iprot->readListBegin(_etype1780, _size1777); + (*(this->success)).resize(_size1777); + uint32_t _i1781; + for (_i1781 = 0; _i1781 < _size1777; ++_i1781) { - xfer += iprot->readString((*(this->success))[_i1773]); + xfer += iprot->readString((*(this->success))[_i1781]); } xfer += iprot->readListEnd(); } @@ -30697,9 +30697,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1774; - xfer += iprot->readI32(ecast1774); - this->principal_type = (PrincipalType::type)ecast1774; + int32_t ecast1782; + xfer += iprot->readI32(ecast1782); + this->principal_type = (PrincipalType::type)ecast1782; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -30715,9 +30715,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1775; - xfer += iprot->readI32(ecast1775); - this->grantorType = (PrincipalType::type)ecast1775; + int32_t ecast1783; + xfer += iprot->readI32(ecast1783); + this->grantorType = (PrincipalType::type)ecast1783; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -30988,9 +30988,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1776; - xfer += iprot->readI32(ecast1776); - this->principal_type = (PrincipalType::type)ecast1776; + int32_t ecast1784; + xfer += iprot->readI32(ecast1784); + this->principal_type = (PrincipalType::type)ecast1784; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31221,9 +31221,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1777; - xfer += iprot->readI32(ecast1777); - this->principal_type = (PrincipalType::type)ecast1777; + int32_t ecast1785; + xfer += iprot->readI32(ecast1785); + this->principal_type = (PrincipalType::type)ecast1785; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31312,14 +31312,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1778; - ::apache::thrift::protocol::TType _etype1781; - xfer += iprot->readListBegin(_etype1781, _size1778); - this->success.resize(_size1778); - uint32_t _i1782; - for (_i1782 = 0; _i1782 < _size1778; ++_i1782) + uint32_t _size1786; + ::apache::thrift::protocol::TType _etype1789; + xfer += iprot->readListBegin(_etype1789, _size1786); + this->success.resize(_size1786); + uint32_t _i1790; + for (_i1790 = 0; _i1790 < _size1786; ++_i1790) { - xfer += this->success[_i1782].read(iprot); + xfer += this->success[_i1790].read(iprot); } xfer += iprot->readListEnd(); } @@ -31358,10 +31358,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 _iter1783; - for (_iter1783 = this->success.begin(); _iter1783 != this->success.end(); ++_iter1783) + std::vector ::const_iterator _iter1791; + for (_iter1791 = this->success.begin(); _iter1791 != this->success.end(); ++_iter1791) { - xfer += (*_iter1783).write(oprot); + xfer += (*_iter1791).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31406,14 +31406,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1784; - ::apache::thrift::protocol::TType _etype1787; - xfer += iprot->readListBegin(_etype1787, _size1784); - (*(this->success)).resize(_size1784); - uint32_t _i1788; - for (_i1788 = 0; _i1788 < _size1784; ++_i1788) + uint32_t _size1792; + ::apache::thrift::protocol::TType _etype1795; + xfer += iprot->readListBegin(_etype1795, _size1792); + (*(this->success)).resize(_size1792); + uint32_t _i1796; + for (_i1796 = 0; _i1796 < _size1792; ++_i1796) { - xfer += (*(this->success))[_i1788].read(iprot); + xfer += (*(this->success))[_i1796].read(iprot); } xfer += iprot->readListEnd(); } @@ -32109,14 +32109,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 _size1789; - ::apache::thrift::protocol::TType _etype1792; - xfer += iprot->readListBegin(_etype1792, _size1789); - this->group_names.resize(_size1789); - uint32_t _i1793; - for (_i1793 = 0; _i1793 < _size1789; ++_i1793) + uint32_t _size1797; + ::apache::thrift::protocol::TType _etype1800; + xfer += iprot->readListBegin(_etype1800, _size1797); + this->group_names.resize(_size1797); + uint32_t _i1801; + for (_i1801 = 0; _i1801 < _size1797; ++_i1801) { - xfer += iprot->readString(this->group_names[_i1793]); + xfer += iprot->readString(this->group_names[_i1801]); } xfer += iprot->readListEnd(); } @@ -32153,10 +32153,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 _iter1794; - for (_iter1794 = this->group_names.begin(); _iter1794 != this->group_names.end(); ++_iter1794) + std::vector ::const_iterator _iter1802; + for (_iter1802 = this->group_names.begin(); _iter1802 != this->group_names.end(); ++_iter1802) { - xfer += oprot->writeString((*_iter1794)); + xfer += oprot->writeString((*_iter1802)); } xfer += oprot->writeListEnd(); } @@ -32188,10 +32188,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 _iter1795; - for (_iter1795 = (*(this->group_names)).begin(); _iter1795 != (*(this->group_names)).end(); ++_iter1795) + std::vector ::const_iterator _iter1803; + for (_iter1803 = (*(this->group_names)).begin(); _iter1803 != (*(this->group_names)).end(); ++_iter1803) { - xfer += oprot->writeString((*_iter1795)); + xfer += oprot->writeString((*_iter1803)); } xfer += oprot->writeListEnd(); } @@ -32366,9 +32366,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1796; - xfer += iprot->readI32(ecast1796); - this->principal_type = (PrincipalType::type)ecast1796; + int32_t ecast1804; + xfer += iprot->readI32(ecast1804); + this->principal_type = (PrincipalType::type)ecast1804; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -32473,14 +32473,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1797; - ::apache::thrift::protocol::TType _etype1800; - xfer += iprot->readListBegin(_etype1800, _size1797); - this->success.resize(_size1797); - uint32_t _i1801; - for (_i1801 = 0; _i1801 < _size1797; ++_i1801) + uint32_t _size1805; + ::apache::thrift::protocol::TType _etype1808; + xfer += iprot->readListBegin(_etype1808, _size1805); + this->success.resize(_size1805); + uint32_t _i1809; + for (_i1809 = 0; _i1809 < _size1805; ++_i1809) { - xfer += this->success[_i1801].read(iprot); + xfer += this->success[_i1809].read(iprot); } xfer += iprot->readListEnd(); } @@ -32519,10 +32519,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 _iter1802; - for (_iter1802 = this->success.begin(); _iter1802 != this->success.end(); ++_iter1802) + std::vector ::const_iterator _iter1810; + for (_iter1810 = this->success.begin(); _iter1810 != this->success.end(); ++_iter1810) { - xfer += (*_iter1802).write(oprot); + xfer += (*_iter1810).write(oprot); } xfer += oprot->writeListEnd(); } @@ -32567,14 +32567,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1803; - ::apache::thrift::protocol::TType _etype1806; - xfer += iprot->readListBegin(_etype1806, _size1803); - (*(this->success)).resize(_size1803); - uint32_t _i1807; - for (_i1807 = 0; _i1807 < _size1803; ++_i1807) + uint32_t _size1811; + ::apache::thrift::protocol::TType _etype1814; + xfer += iprot->readListBegin(_etype1814, _size1811); + (*(this->success)).resize(_size1811); + uint32_t _i1815; + for (_i1815 = 0; _i1815 < _size1811; ++_i1815) { - xfer += (*(this->success))[_i1807].read(iprot); + xfer += (*(this->success))[_i1815].read(iprot); } xfer += iprot->readListEnd(); } @@ -33262,14 +33262,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 _size1808; - ::apache::thrift::protocol::TType _etype1811; - xfer += iprot->readListBegin(_etype1811, _size1808); - this->group_names.resize(_size1808); - uint32_t _i1812; - for (_i1812 = 0; _i1812 < _size1808; ++_i1812) + uint32_t _size1816; + ::apache::thrift::protocol::TType _etype1819; + xfer += iprot->readListBegin(_etype1819, _size1816); + this->group_names.resize(_size1816); + uint32_t _i1820; + for (_i1820 = 0; _i1820 < _size1816; ++_i1820) { - xfer += iprot->readString(this->group_names[_i1812]); + xfer += iprot->readString(this->group_names[_i1820]); } xfer += iprot->readListEnd(); } @@ -33302,10 +33302,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 _iter1813; - for (_iter1813 = this->group_names.begin(); _iter1813 != this->group_names.end(); ++_iter1813) + std::vector ::const_iterator _iter1821; + for (_iter1821 = this->group_names.begin(); _iter1821 != this->group_names.end(); ++_iter1821) { - xfer += oprot->writeString((*_iter1813)); + xfer += oprot->writeString((*_iter1821)); } xfer += oprot->writeListEnd(); } @@ -33333,10 +33333,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 _iter1814; - for (_iter1814 = (*(this->group_names)).begin(); _iter1814 != (*(this->group_names)).end(); ++_iter1814) + std::vector ::const_iterator _iter1822; + for (_iter1822 = (*(this->group_names)).begin(); _iter1822 != (*(this->group_names)).end(); ++_iter1822) { - xfer += oprot->writeString((*_iter1814)); + xfer += oprot->writeString((*_iter1822)); } xfer += oprot->writeListEnd(); } @@ -33377,14 +33377,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1815; - ::apache::thrift::protocol::TType _etype1818; - xfer += iprot->readListBegin(_etype1818, _size1815); - this->success.resize(_size1815); - uint32_t _i1819; - for (_i1819 = 0; _i1819 < _size1815; ++_i1819) + uint32_t _size1823; + ::apache::thrift::protocol::TType _etype1826; + xfer += iprot->readListBegin(_etype1826, _size1823); + this->success.resize(_size1823); + uint32_t _i1827; + for (_i1827 = 0; _i1827 < _size1823; ++_i1827) { - xfer += iprot->readString(this->success[_i1819]); + xfer += iprot->readString(this->success[_i1827]); } xfer += iprot->readListEnd(); } @@ -33423,10 +33423,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 _iter1820; - for (_iter1820 = this->success.begin(); _iter1820 != this->success.end(); ++_iter1820) + std::vector ::const_iterator _iter1828; + for (_iter1828 = this->success.begin(); _iter1828 != this->success.end(); ++_iter1828) { - xfer += oprot->writeString((*_iter1820)); + xfer += oprot->writeString((*_iter1828)); } xfer += oprot->writeListEnd(); } @@ -33471,14 +33471,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1821; - ::apache::thrift::protocol::TType _etype1824; - xfer += iprot->readListBegin(_etype1824, _size1821); - (*(this->success)).resize(_size1821); - uint32_t _i1825; - for (_i1825 = 0; _i1825 < _size1821; ++_i1825) + uint32_t _size1829; + ::apache::thrift::protocol::TType _etype1832; + xfer += iprot->readListBegin(_etype1832, _size1829); + (*(this->success)).resize(_size1829); + uint32_t _i1833; + for (_i1833 = 0; _i1833 < _size1829; ++_i1833) { - xfer += iprot->readString((*(this->success))[_i1825]); + xfer += iprot->readString((*(this->success))[_i1833]); } xfer += iprot->readListEnd(); } @@ -34789,14 +34789,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1826; - ::apache::thrift::protocol::TType _etype1829; - xfer += iprot->readListBegin(_etype1829, _size1826); - this->success.resize(_size1826); - uint32_t _i1830; - for (_i1830 = 0; _i1830 < _size1826; ++_i1830) + uint32_t _size1834; + ::apache::thrift::protocol::TType _etype1837; + xfer += iprot->readListBegin(_etype1837, _size1834); + this->success.resize(_size1834); + uint32_t _i1838; + for (_i1838 = 0; _i1838 < _size1834; ++_i1838) { - xfer += iprot->readString(this->success[_i1830]); + xfer += iprot->readString(this->success[_i1838]); } xfer += iprot->readListEnd(); } @@ -34827,10 +34827,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 _iter1831; - for (_iter1831 = this->success.begin(); _iter1831 != this->success.end(); ++_iter1831) + std::vector ::const_iterator _iter1839; + for (_iter1839 = this->success.begin(); _iter1839 != this->success.end(); ++_iter1839) { - xfer += oprot->writeString((*_iter1831)); + xfer += oprot->writeString((*_iter1839)); } xfer += oprot->writeListEnd(); } @@ -34871,14 +34871,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1832; - ::apache::thrift::protocol::TType _etype1835; - xfer += iprot->readListBegin(_etype1835, _size1832); - (*(this->success)).resize(_size1832); - uint32_t _i1836; - for (_i1836 = 0; _i1836 < _size1832; ++_i1836) + uint32_t _size1840; + ::apache::thrift::protocol::TType _etype1843; + xfer += iprot->readListBegin(_etype1843, _size1840); + (*(this->success)).resize(_size1840); + uint32_t _i1844; + for (_i1844 = 0; _i1844 < _size1840; ++_i1844) { - xfer += iprot->readString((*(this->success))[_i1836]); + xfer += iprot->readString((*(this->success))[_i1844]); } xfer += iprot->readListEnd(); } @@ -35604,14 +35604,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1837; - ::apache::thrift::protocol::TType _etype1840; - xfer += iprot->readListBegin(_etype1840, _size1837); - this->success.resize(_size1837); - uint32_t _i1841; - for (_i1841 = 0; _i1841 < _size1837; ++_i1841) + uint32_t _size1845; + ::apache::thrift::protocol::TType _etype1848; + xfer += iprot->readListBegin(_etype1848, _size1845); + this->success.resize(_size1845); + uint32_t _i1849; + for (_i1849 = 0; _i1849 < _size1845; ++_i1849) { - xfer += iprot->readString(this->success[_i1841]); + xfer += iprot->readString(this->success[_i1849]); } xfer += iprot->readListEnd(); } @@ -35642,10 +35642,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 _iter1842; - for (_iter1842 = this->success.begin(); _iter1842 != this->success.end(); ++_iter1842) + std::vector ::const_iterator _iter1850; + for (_iter1850 = this->success.begin(); _iter1850 != this->success.end(); ++_iter1850) { - xfer += oprot->writeString((*_iter1842)); + xfer += oprot->writeString((*_iter1850)); } xfer += oprot->writeListEnd(); } @@ -35686,14 +35686,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1843; - ::apache::thrift::protocol::TType _etype1846; - xfer += iprot->readListBegin(_etype1846, _size1843); - (*(this->success)).resize(_size1843); - uint32_t _i1847; - for (_i1847 = 0; _i1847 < _size1843; ++_i1847) + uint32_t _size1851; + ::apache::thrift::protocol::TType _etype1854; + xfer += iprot->readListBegin(_etype1854, _size1851); + (*(this->success)).resize(_size1851); + uint32_t _i1855; + for (_i1855 = 0; _i1855 < _size1851; ++_i1855) { - xfer += iprot->readString((*(this->success))[_i1847]); + xfer += iprot->readString((*(this->success))[_i1855]); } xfer += iprot->readListEnd(); } @@ -36815,6 +36815,162 @@ uint32_t ThriftHiveMetastore_commit_txn_presult::read(::apache::thrift::protocol } +ThriftHiveMetastore_repl_tbl_writeid_state_args::~ThriftHiveMetastore_repl_tbl_writeid_state_args() throw() { +} + + +uint32_t ThriftHiveMetastore_repl_tbl_writeid_state_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_repl_tbl_writeid_state_args::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_repl_tbl_writeid_state_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_repl_tbl_writeid_state_pargs::~ThriftHiveMetastore_repl_tbl_writeid_state_pargs() throw() { +} + + +uint32_t ThriftHiveMetastore_repl_tbl_writeid_state_pargs::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ThriftHiveMetastore_repl_tbl_writeid_state_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_repl_tbl_writeid_state_result::~ThriftHiveMetastore_repl_tbl_writeid_state_result() throw() { +} + + +uint32_t ThriftHiveMetastore_repl_tbl_writeid_state_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; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + +uint32_t ThriftHiveMetastore_repl_tbl_writeid_state_result::write(::apache::thrift::protocol::TProtocol* oprot) const { + + uint32_t xfer = 0; + + xfer += oprot->writeStructBegin("ThriftHiveMetastore_repl_tbl_writeid_state_result"); + + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + + +ThriftHiveMetastore_repl_tbl_writeid_state_presult::~ThriftHiveMetastore_repl_tbl_writeid_state_presult() throw() { +} + + +uint32_t ThriftHiveMetastore_repl_tbl_writeid_state_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; + } + xfer += iprot->skip(ftype); + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + return xfer; +} + + ThriftHiveMetastore_get_valid_write_ids_args::~ThriftHiveMetastore_get_valid_write_ids_args() throw() { } @@ -47334,14 +47490,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1848; - ::apache::thrift::protocol::TType _etype1851; - xfer += iprot->readListBegin(_etype1851, _size1848); - this->success.resize(_size1848); - uint32_t _i1852; - for (_i1852 = 0; _i1852 < _size1848; ++_i1852) + uint32_t _size1856; + ::apache::thrift::protocol::TType _etype1859; + xfer += iprot->readListBegin(_etype1859, _size1856); + this->success.resize(_size1856); + uint32_t _i1860; + for (_i1860 = 0; _i1860 < _size1856; ++_i1860) { - xfer += this->success[_i1852].read(iprot); + xfer += this->success[_i1860].read(iprot); } xfer += iprot->readListEnd(); } @@ -47388,10 +47544,10 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_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 _iter1853; - for (_iter1853 = this->success.begin(); _iter1853 != this->success.end(); ++_iter1853) + std::vector ::const_iterator _iter1861; + for (_iter1861 = this->success.begin(); _iter1861 != this->success.end(); ++_iter1861) { - xfer += (*_iter1853).write(oprot); + xfer += (*_iter1861).write(oprot); } xfer += oprot->writeListEnd(); } @@ -47440,14 +47596,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1854; - ::apache::thrift::protocol::TType _etype1857; - xfer += iprot->readListBegin(_etype1857, _size1854); - (*(this->success)).resize(_size1854); - uint32_t _i1858; - for (_i1858 = 0; _i1858 < _size1854; ++_i1858) + uint32_t _size1862; + ::apache::thrift::protocol::TType _etype1865; + xfer += iprot->readListBegin(_etype1865, _size1862); + (*(this->success)).resize(_size1862); + uint32_t _i1866; + for (_i1866 = 0; _i1866 < _size1862; ++_i1866) { - xfer += (*(this->success))[_i1858].read(iprot); + xfer += (*(this->success))[_i1866].read(iprot); } xfer += iprot->readListEnd(); } @@ -49500,14 +49656,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1859; - ::apache::thrift::protocol::TType _etype1862; - xfer += iprot->readListBegin(_etype1862, _size1859); - this->success.resize(_size1859); - uint32_t _i1863; - for (_i1863 = 0; _i1863 < _size1859; ++_i1863) + uint32_t _size1867; + ::apache::thrift::protocol::TType _etype1870; + xfer += iprot->readListBegin(_etype1870, _size1867); + this->success.resize(_size1867); + uint32_t _i1871; + for (_i1871 = 0; _i1871 < _size1867; ++_i1871) { - xfer += this->success[_i1863].read(iprot); + xfer += this->success[_i1871].read(iprot); } xfer += iprot->readListEnd(); } @@ -49546,10 +49702,10 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_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 _iter1864; - for (_iter1864 = this->success.begin(); _iter1864 != this->success.end(); ++_iter1864) + std::vector ::const_iterator _iter1872; + for (_iter1872 = this->success.begin(); _iter1872 != this->success.end(); ++_iter1872) { - xfer += (*_iter1864).write(oprot); + xfer += (*_iter1872).write(oprot); } xfer += oprot->writeListEnd(); } @@ -49594,14 +49750,14 @@ uint32_t ThriftHiveMetastore_get_runtime_stats_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1865; - ::apache::thrift::protocol::TType _etype1868; - xfer += iprot->readListBegin(_etype1868, _size1865); - (*(this->success)).resize(_size1865); - uint32_t _i1869; - for (_i1869 = 0; _i1869 < _size1865; ++_i1869) + uint32_t _size1873; + ::apache::thrift::protocol::TType _etype1876; + xfer += iprot->readListBegin(_etype1876, _size1873); + (*(this->success)).resize(_size1873); + uint32_t _i1877; + for (_i1877 = 0; _i1877 < _size1873; ++_i1877) { - xfer += (*(this->success))[_i1869].read(iprot); + xfer += (*(this->success))[_i1877].read(iprot); } xfer += iprot->readListEnd(); } @@ -58877,6 +59033,59 @@ void ThriftHiveMetastoreClient::recv_commit_txn() return; } +void ThriftHiveMetastoreClient::repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& rqst) +{ + send_repl_tbl_writeid_state(rqst); + recv_repl_tbl_writeid_state(); +} + +void ThriftHiveMetastoreClient::send_repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& rqst) +{ + int32_t cseqid = 0; + oprot_->writeMessageBegin("repl_tbl_writeid_state", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_repl_tbl_writeid_state_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); +} + +void ThriftHiveMetastoreClient::recv_repl_tbl_writeid_state() +{ + + 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("repl_tbl_writeid_state") != 0) { + iprot_->skip(::apache::thrift::protocol::T_STRUCT); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + } + ThriftHiveMetastore_repl_tbl_writeid_state_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + return; +} + void ThriftHiveMetastoreClient::get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst) { send_get_valid_write_ids(rqst); @@ -71197,6 +71406,59 @@ void ThriftHiveMetastoreProcessor::process_commit_txn(int32_t seqid, ::apache::t } } +void ThriftHiveMetastoreProcessor::process_repl_tbl_writeid_state(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.repl_tbl_writeid_state", callContext); + } + ::apache::thrift::TProcessorContextFreer freer(this->eventHandler_.get(), ctx, "ThriftHiveMetastore.repl_tbl_writeid_state"); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->preRead(ctx, "ThriftHiveMetastore.repl_tbl_writeid_state"); + } + + ThriftHiveMetastore_repl_tbl_writeid_state_args args; + args.read(iprot); + iprot->readMessageEnd(); + uint32_t bytes = iprot->getTransport()->readEnd(); + + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->postRead(ctx, "ThriftHiveMetastore.repl_tbl_writeid_state", bytes); + } + + ThriftHiveMetastore_repl_tbl_writeid_state_result result; + try { + iface_->repl_tbl_writeid_state(args.rqst); + } catch (const std::exception& e) { + if (this->eventHandler_.get() != NULL) { + this->eventHandler_->handlerError(ctx, "ThriftHiveMetastore.repl_tbl_writeid_state"); + } + + ::apache::thrift::TApplicationException x(e.what()); + oprot->writeMessageBegin("repl_tbl_writeid_state", ::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.repl_tbl_writeid_state"); + } + + oprot->writeMessageBegin("repl_tbl_writeid_state", ::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.repl_tbl_writeid_state", bytes); + } +} + void ThriftHiveMetastoreProcessor::process_get_valid_write_ids(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext) { void* ctx = NULL; @@ -87946,6 +88208,84 @@ void ThriftHiveMetastoreConcurrentClient::recv_commit_txn(const int32_t seqid) } // end while(true) } +void ThriftHiveMetastoreConcurrentClient::repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& rqst) +{ + int32_t seqid = send_repl_tbl_writeid_state(rqst); + recv_repl_tbl_writeid_state(seqid); +} + +int32_t ThriftHiveMetastoreConcurrentClient::send_repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& rqst) +{ + int32_t cseqid = this->sync_.generateSeqId(); + ::apache::thrift::async::TConcurrentSendSentry sentry(&this->sync_); + oprot_->writeMessageBegin("repl_tbl_writeid_state", ::apache::thrift::protocol::T_CALL, cseqid); + + ThriftHiveMetastore_repl_tbl_writeid_state_pargs args; + args.rqst = &rqst; + args.write(oprot_); + + oprot_->writeMessageEnd(); + oprot_->getTransport()->writeEnd(); + oprot_->getTransport()->flush(); + + sentry.commit(); + return cseqid; +} + +void ThriftHiveMetastoreConcurrentClient::recv_repl_tbl_writeid_state(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("repl_tbl_writeid_state") != 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_repl_tbl_writeid_state_presult result; + result.read(iprot_); + iprot_->readMessageEnd(); + iprot_->getTransport()->readEnd(); + + 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::get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst) { int32_t seqid = send_get_valid_write_ids(rqst); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h index da66951..2056730 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h @@ -167,6 +167,7 @@ class ThriftHiveMetastoreIf : virtual public ::facebook::fb303::FacebookService virtual void abort_txn(const AbortTxnRequest& rqst) = 0; virtual void abort_txns(const AbortTxnsRequest& rqst) = 0; virtual void commit_txn(const CommitTxnRequest& rqst) = 0; + virtual void repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& rqst) = 0; virtual void get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst) = 0; virtual void allocate_table_write_ids(AllocateTableWriteIdsResponse& _return, const AllocateTableWriteIdsRequest& rqst) = 0; virtual void lock(LockResponse& _return, const LockRequest& rqst) = 0; @@ -717,6 +718,9 @@ class ThriftHiveMetastoreNull : virtual public ThriftHiveMetastoreIf , virtual p void commit_txn(const CommitTxnRequest& /* rqst */) { return; } + void repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& /* rqst */) { + return; + } void get_valid_write_ids(GetValidWriteIdsResponse& /* _return */, const GetValidWriteIdsRequest& /* rqst */) { return; } @@ -19064,6 +19068,92 @@ class ThriftHiveMetastore_commit_txn_presult { }; +typedef struct _ThriftHiveMetastore_repl_tbl_writeid_state_args__isset { + _ThriftHiveMetastore_repl_tbl_writeid_state_args__isset() : rqst(false) {} + bool rqst :1; +} _ThriftHiveMetastore_repl_tbl_writeid_state_args__isset; + +class ThriftHiveMetastore_repl_tbl_writeid_state_args { + public: + + ThriftHiveMetastore_repl_tbl_writeid_state_args(const ThriftHiveMetastore_repl_tbl_writeid_state_args&); + ThriftHiveMetastore_repl_tbl_writeid_state_args& operator=(const ThriftHiveMetastore_repl_tbl_writeid_state_args&); + ThriftHiveMetastore_repl_tbl_writeid_state_args() { + } + + virtual ~ThriftHiveMetastore_repl_tbl_writeid_state_args() throw(); + ReplTblWriteIdStateRequest rqst; + + _ThriftHiveMetastore_repl_tbl_writeid_state_args__isset __isset; + + void __set_rqst(const ReplTblWriteIdStateRequest& val); + + bool operator == (const ThriftHiveMetastore_repl_tbl_writeid_state_args & rhs) const + { + if (!(rqst == rhs.rqst)) + return false; + return true; + } + bool operator != (const ThriftHiveMetastore_repl_tbl_writeid_state_args &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_repl_tbl_writeid_state_args & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_repl_tbl_writeid_state_pargs { + public: + + + virtual ~ThriftHiveMetastore_repl_tbl_writeid_state_pargs() throw(); + const ReplTblWriteIdStateRequest* rqst; + + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_repl_tbl_writeid_state_result { + public: + + ThriftHiveMetastore_repl_tbl_writeid_state_result(const ThriftHiveMetastore_repl_tbl_writeid_state_result&); + ThriftHiveMetastore_repl_tbl_writeid_state_result& operator=(const ThriftHiveMetastore_repl_tbl_writeid_state_result&); + ThriftHiveMetastore_repl_tbl_writeid_state_result() { + } + + virtual ~ThriftHiveMetastore_repl_tbl_writeid_state_result() throw(); + + bool operator == (const ThriftHiveMetastore_repl_tbl_writeid_state_result & /* rhs */) const + { + return true; + } + bool operator != (const ThriftHiveMetastore_repl_tbl_writeid_state_result &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ThriftHiveMetastore_repl_tbl_writeid_state_result & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + +}; + + +class ThriftHiveMetastore_repl_tbl_writeid_state_presult { + public: + + + virtual ~ThriftHiveMetastore_repl_tbl_writeid_state_presult() throw(); + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + +}; + typedef struct _ThriftHiveMetastore_get_valid_write_ids_args__isset { _ThriftHiveMetastore_get_valid_write_ids_args__isset() : rqst(false) {} bool rqst :1; @@ -26314,6 +26404,9 @@ class ThriftHiveMetastoreClient : virtual public ThriftHiveMetastoreIf, public void commit_txn(const CommitTxnRequest& rqst); void send_commit_txn(const CommitTxnRequest& rqst); void recv_commit_txn(); + void repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& rqst); + void send_repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& rqst); + void recv_repl_tbl_writeid_state(); void get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst); void send_get_valid_write_ids(const GetValidWriteIdsRequest& rqst); void recv_get_valid_write_ids(GetValidWriteIdsResponse& _return); @@ -26646,6 +26739,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP void process_abort_txn(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_abort_txns(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_commit_txn(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); + void process_repl_tbl_writeid_state(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_get_valid_write_ids(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_allocate_table_write_ids(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); void process_lock(int32_t seqid, ::apache::thrift::protocol::TProtocol* iprot, ::apache::thrift::protocol::TProtocol* oprot, void* callContext); @@ -26854,6 +26948,7 @@ class ThriftHiveMetastoreProcessor : public ::facebook::fb303::FacebookServiceP processMap_["abort_txn"] = &ThriftHiveMetastoreProcessor::process_abort_txn; processMap_["abort_txns"] = &ThriftHiveMetastoreProcessor::process_abort_txns; processMap_["commit_txn"] = &ThriftHiveMetastoreProcessor::process_commit_txn; + processMap_["repl_tbl_writeid_state"] = &ThriftHiveMetastoreProcessor::process_repl_tbl_writeid_state; processMap_["get_valid_write_ids"] = &ThriftHiveMetastoreProcessor::process_get_valid_write_ids; processMap_["allocate_table_write_ids"] = &ThriftHiveMetastoreProcessor::process_allocate_table_write_ids; processMap_["lock"] = &ThriftHiveMetastoreProcessor::process_lock; @@ -28332,6 +28427,15 @@ class ThriftHiveMetastoreMultiface : virtual public ThriftHiveMetastoreIf, publi ifaces_[i]->commit_txn(rqst); } + void repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& rqst) { + size_t sz = ifaces_.size(); + size_t i = 0; + for (; i < (sz - 1); ++i) { + ifaces_[i]->repl_tbl_writeid_state(rqst); + } + ifaces_[i]->repl_tbl_writeid_state(rqst); + } + void get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst) { size_t sz = ifaces_.size(); size_t i = 0; @@ -29358,6 +29462,9 @@ class ThriftHiveMetastoreConcurrentClient : virtual public ThriftHiveMetastoreIf void commit_txn(const CommitTxnRequest& rqst); int32_t send_commit_txn(const CommitTxnRequest& rqst); void recv_commit_txn(const int32_t seqid); + void repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& rqst); + int32_t send_repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& rqst); + void recv_repl_tbl_writeid_state(const int32_t seqid); void get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst); int32_t send_get_valid_write_ids(const GetValidWriteIdsRequest& rqst); void recv_get_valid_write_ids(GetValidWriteIdsResponse& _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 3b0b38c..c1c0b77 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 @@ -747,6 +747,11 @@ class ThriftHiveMetastoreHandler : virtual public ThriftHiveMetastoreIf { printf("commit_txn\n"); } + void repl_tbl_writeid_state(const ReplTblWriteIdStateRequest& rqst) { + // Your implementation goes here + printf("repl_tbl_writeid_state\n"); + } + void get_valid_write_ids(GetValidWriteIdsResponse& _return, const GetValidWriteIdsRequest& rqst) { // Your implementation goes here printf("get_valid_write_ids\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 2fab857..6a4c217 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 @@ -16540,6 +16540,229 @@ void CommitTxnRequest::printTo(std::ostream& out) const { } +ReplTblWriteIdStateRequest::~ReplTblWriteIdStateRequest() throw() { +} + + +void ReplTblWriteIdStateRequest::__set_validWriteIdlist(const std::string& val) { + this->validWriteIdlist = val; +} + +void ReplTblWriteIdStateRequest::__set_user(const std::string& val) { + this->user = val; +} + +void ReplTblWriteIdStateRequest::__set_hostName(const std::string& val) { + this->hostName = val; +} + +void ReplTblWriteIdStateRequest::__set_dbName(const std::string& val) { + this->dbName = val; +} + +void ReplTblWriteIdStateRequest::__set_tableName(const std::string& val) { + this->tableName = val; +} + +void ReplTblWriteIdStateRequest::__set_partNames(const std::vector & val) { + this->partNames = val; +__isset.partNames = true; +} + +uint32_t ReplTblWriteIdStateRequest::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; + + bool isset_validWriteIdlist = false; + bool isset_user = false; + bool isset_hostName = false; + bool isset_dbName = false; + bool isset_tableName = false; + + while (true) + { + xfer += iprot->readFieldBegin(fname, ftype, fid); + if (ftype == ::apache::thrift::protocol::T_STOP) { + break; + } + switch (fid) + { + case 1: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->validWriteIdlist); + isset_validWriteIdlist = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->user); + isset_user = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->hostName); + isset_hostName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->dbName); + isset_dbName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->tableName); + isset_tableName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->partNames.clear(); + uint32_t _size672; + ::apache::thrift::protocol::TType _etype675; + xfer += iprot->readListBegin(_etype675, _size672); + this->partNames.resize(_size672); + uint32_t _i676; + for (_i676 = 0; _i676 < _size672; ++_i676) + { + xfer += iprot->readString(this->partNames[_i676]); + } + xfer += iprot->readListEnd(); + } + this->__isset.partNames = true; + } else { + xfer += iprot->skip(ftype); + } + break; + default: + xfer += iprot->skip(ftype); + break; + } + xfer += iprot->readFieldEnd(); + } + + xfer += iprot->readStructEnd(); + + if (!isset_validWriteIdlist) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_user) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_hostName) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_dbName) + throw TProtocolException(TProtocolException::INVALID_DATA); + if (!isset_tableName) + throw TProtocolException(TProtocolException::INVALID_DATA); + return xfer; +} + +uint32_t ReplTblWriteIdStateRequest::write(::apache::thrift::protocol::TProtocol* oprot) const { + uint32_t xfer = 0; + apache::thrift::protocol::TOutputRecursionTracker tracker(*oprot); + xfer += oprot->writeStructBegin("ReplTblWriteIdStateRequest"); + + xfer += oprot->writeFieldBegin("validWriteIdlist", ::apache::thrift::protocol::T_STRING, 1); + xfer += oprot->writeString(this->validWriteIdlist); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("user", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->user); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("hostName", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->hostName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("dbName", ::apache::thrift::protocol::T_STRING, 4); + xfer += oprot->writeString(this->dbName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 5); + xfer += oprot->writeString(this->tableName); + xfer += oprot->writeFieldEnd(); + + if (this->__isset.partNames) { + xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 6); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); + std::vector ::const_iterator _iter677; + for (_iter677 = this->partNames.begin(); _iter677 != this->partNames.end(); ++_iter677) + { + xfer += oprot->writeString((*_iter677)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + } + xfer += oprot->writeFieldStop(); + xfer += oprot->writeStructEnd(); + return xfer; +} + +void swap(ReplTblWriteIdStateRequest &a, ReplTblWriteIdStateRequest &b) { + using ::std::swap; + swap(a.validWriteIdlist, b.validWriteIdlist); + swap(a.user, b.user); + swap(a.hostName, b.hostName); + swap(a.dbName, b.dbName); + swap(a.tableName, b.tableName); + swap(a.partNames, b.partNames); + swap(a.__isset, b.__isset); +} + +ReplTblWriteIdStateRequest::ReplTblWriteIdStateRequest(const ReplTblWriteIdStateRequest& other678) { + validWriteIdlist = other678.validWriteIdlist; + user = other678.user; + hostName = other678.hostName; + dbName = other678.dbName; + tableName = other678.tableName; + partNames = other678.partNames; + __isset = other678.__isset; +} +ReplTblWriteIdStateRequest& ReplTblWriteIdStateRequest::operator=(const ReplTblWriteIdStateRequest& other679) { + validWriteIdlist = other679.validWriteIdlist; + user = other679.user; + hostName = other679.hostName; + dbName = other679.dbName; + tableName = other679.tableName; + partNames = other679.partNames; + __isset = other679.__isset; + return *this; +} +void ReplTblWriteIdStateRequest::printTo(std::ostream& out) const { + using ::apache::thrift::to_string; + out << "ReplTblWriteIdStateRequest("; + out << "validWriteIdlist=" << to_string(validWriteIdlist); + out << ", " << "user=" << to_string(user); + out << ", " << "hostName=" << to_string(hostName); + out << ", " << "dbName=" << to_string(dbName); + out << ", " << "tableName=" << to_string(tableName); + out << ", " << "partNames="; (__isset.partNames ? (out << to_string(partNames)) : (out << "")); + out << ")"; +} + + GetValidWriteIdsRequest::~GetValidWriteIdsRequest() throw() { } @@ -16579,14 +16802,14 @@ uint32_t GetValidWriteIdsRequest::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fullTableNames.clear(); - uint32_t _size672; - ::apache::thrift::protocol::TType _etype675; - xfer += iprot->readListBegin(_etype675, _size672); - this->fullTableNames.resize(_size672); - uint32_t _i676; - for (_i676 = 0; _i676 < _size672; ++_i676) + uint32_t _size680; + ::apache::thrift::protocol::TType _etype683; + xfer += iprot->readListBegin(_etype683, _size680); + this->fullTableNames.resize(_size680); + uint32_t _i684; + for (_i684 = 0; _i684 < _size680; ++_i684) { - xfer += iprot->readString(this->fullTableNames[_i676]); + xfer += iprot->readString(this->fullTableNames[_i684]); } xfer += iprot->readListEnd(); } @@ -16627,10 +16850,10 @@ uint32_t GetValidWriteIdsRequest::write(::apache::thrift::protocol::TProtocol* o xfer += oprot->writeFieldBegin("fullTableNames", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->fullTableNames.size())); - std::vector ::const_iterator _iter677; - for (_iter677 = this->fullTableNames.begin(); _iter677 != this->fullTableNames.end(); ++_iter677) + std::vector ::const_iterator _iter685; + for (_iter685 = this->fullTableNames.begin(); _iter685 != this->fullTableNames.end(); ++_iter685) { - xfer += oprot->writeString((*_iter677)); + xfer += oprot->writeString((*_iter685)); } xfer += oprot->writeListEnd(); } @@ -16651,13 +16874,13 @@ void swap(GetValidWriteIdsRequest &a, GetValidWriteIdsRequest &b) { swap(a.validTxnList, b.validTxnList); } -GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other678) { - fullTableNames = other678.fullTableNames; - validTxnList = other678.validTxnList; +GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other686) { + fullTableNames = other686.fullTableNames; + validTxnList = other686.validTxnList; } -GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other679) { - fullTableNames = other679.fullTableNames; - validTxnList = other679.validTxnList; +GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other687) { + fullTableNames = other687.fullTableNames; + validTxnList = other687.validTxnList; return *this; } void GetValidWriteIdsRequest::printTo(std::ostream& out) const { @@ -16739,14 +16962,14 @@ uint32_t TableValidWriteIds::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->invalidWriteIds.clear(); - uint32_t _size680; - ::apache::thrift::protocol::TType _etype683; - xfer += iprot->readListBegin(_etype683, _size680); - this->invalidWriteIds.resize(_size680); - uint32_t _i684; - for (_i684 = 0; _i684 < _size680; ++_i684) + uint32_t _size688; + ::apache::thrift::protocol::TType _etype691; + xfer += iprot->readListBegin(_etype691, _size688); + this->invalidWriteIds.resize(_size688); + uint32_t _i692; + for (_i692 = 0; _i692 < _size688; ++_i692) { - xfer += iprot->readI64(this->invalidWriteIds[_i684]); + xfer += iprot->readI64(this->invalidWriteIds[_i692]); } xfer += iprot->readListEnd(); } @@ -16807,10 +17030,10 @@ uint32_t TableValidWriteIds::write(::apache::thrift::protocol::TProtocol* oprot) xfer += oprot->writeFieldBegin("invalidWriteIds", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->invalidWriteIds.size())); - std::vector ::const_iterator _iter685; - for (_iter685 = this->invalidWriteIds.begin(); _iter685 != this->invalidWriteIds.end(); ++_iter685) + std::vector ::const_iterator _iter693; + for (_iter693 = this->invalidWriteIds.begin(); _iter693 != this->invalidWriteIds.end(); ++_iter693) { - xfer += oprot->writeI64((*_iter685)); + xfer += oprot->writeI64((*_iter693)); } xfer += oprot->writeListEnd(); } @@ -16840,21 +17063,21 @@ void swap(TableValidWriteIds &a, TableValidWriteIds &b) { swap(a.__isset, b.__isset); } -TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other686) { - fullTableName = other686.fullTableName; - writeIdHighWaterMark = other686.writeIdHighWaterMark; - invalidWriteIds = other686.invalidWriteIds; - minOpenWriteId = other686.minOpenWriteId; - abortedBits = other686.abortedBits; - __isset = other686.__isset; -} -TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other687) { - fullTableName = other687.fullTableName; - writeIdHighWaterMark = other687.writeIdHighWaterMark; - invalidWriteIds = other687.invalidWriteIds; - minOpenWriteId = other687.minOpenWriteId; - abortedBits = other687.abortedBits; - __isset = other687.__isset; +TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other694) { + fullTableName = other694.fullTableName; + writeIdHighWaterMark = other694.writeIdHighWaterMark; + invalidWriteIds = other694.invalidWriteIds; + minOpenWriteId = other694.minOpenWriteId; + abortedBits = other694.abortedBits; + __isset = other694.__isset; +} +TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other695) { + fullTableName = other695.fullTableName; + writeIdHighWaterMark = other695.writeIdHighWaterMark; + invalidWriteIds = other695.invalidWriteIds; + minOpenWriteId = other695.minOpenWriteId; + abortedBits = other695.abortedBits; + __isset = other695.__isset; return *this; } void TableValidWriteIds::printTo(std::ostream& out) const { @@ -16903,14 +17126,14 @@ uint32_t GetValidWriteIdsResponse::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblValidWriteIds.clear(); - uint32_t _size688; - ::apache::thrift::protocol::TType _etype691; - xfer += iprot->readListBegin(_etype691, _size688); - this->tblValidWriteIds.resize(_size688); - uint32_t _i692; - for (_i692 = 0; _i692 < _size688; ++_i692) + uint32_t _size696; + ::apache::thrift::protocol::TType _etype699; + xfer += iprot->readListBegin(_etype699, _size696); + this->tblValidWriteIds.resize(_size696); + uint32_t _i700; + for (_i700 = 0; _i700 < _size696; ++_i700) { - xfer += this->tblValidWriteIds[_i692].read(iprot); + xfer += this->tblValidWriteIds[_i700].read(iprot); } xfer += iprot->readListEnd(); } @@ -16941,10 +17164,10 @@ uint32_t GetValidWriteIdsResponse::write(::apache::thrift::protocol::TProtocol* xfer += oprot->writeFieldBegin("tblValidWriteIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->tblValidWriteIds.size())); - std::vector ::const_iterator _iter693; - for (_iter693 = this->tblValidWriteIds.begin(); _iter693 != this->tblValidWriteIds.end(); ++_iter693) + std::vector ::const_iterator _iter701; + for (_iter701 = this->tblValidWriteIds.begin(); _iter701 != this->tblValidWriteIds.end(); ++_iter701) { - xfer += (*_iter693).write(oprot); + xfer += (*_iter701).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16960,11 +17183,11 @@ void swap(GetValidWriteIdsResponse &a, GetValidWriteIdsResponse &b) { swap(a.tblValidWriteIds, b.tblValidWriteIds); } -GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other694) { - tblValidWriteIds = other694.tblValidWriteIds; +GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other702) { + tblValidWriteIds = other702.tblValidWriteIds; } -GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other695) { - tblValidWriteIds = other695.tblValidWriteIds; +GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other703) { + tblValidWriteIds = other703.tblValidWriteIds; return *this; } void GetValidWriteIdsResponse::printTo(std::ostream& out) const { @@ -17045,14 +17268,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnIds.clear(); - uint32_t _size696; - ::apache::thrift::protocol::TType _etype699; - xfer += iprot->readListBegin(_etype699, _size696); - this->txnIds.resize(_size696); - uint32_t _i700; - for (_i700 = 0; _i700 < _size696; ++_i700) + uint32_t _size704; + ::apache::thrift::protocol::TType _etype707; + xfer += iprot->readListBegin(_etype707, _size704); + this->txnIds.resize(_size704); + uint32_t _i708; + for (_i708 = 0; _i708 < _size704; ++_i708) { - xfer += iprot->readI64(this->txnIds[_i700]); + xfer += iprot->readI64(this->txnIds[_i708]); } xfer += iprot->readListEnd(); } @@ -17073,14 +17296,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->srcTxnToWriteIdList.clear(); - uint32_t _size701; - ::apache::thrift::protocol::TType _etype704; - xfer += iprot->readListBegin(_etype704, _size701); - this->srcTxnToWriteIdList.resize(_size701); - uint32_t _i705; - for (_i705 = 0; _i705 < _size701; ++_i705) + uint32_t _size709; + ::apache::thrift::protocol::TType _etype712; + xfer += iprot->readListBegin(_etype712, _size709); + this->srcTxnToWriteIdList.resize(_size709); + uint32_t _i713; + for (_i713 = 0; _i713 < _size709; ++_i713) { - xfer += this->srcTxnToWriteIdList[_i705].read(iprot); + xfer += this->srcTxnToWriteIdList[_i713].read(iprot); } xfer += iprot->readListEnd(); } @@ -17122,10 +17345,10 @@ uint32_t AllocateTableWriteIdsRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("txnIds", ::apache::thrift::protocol::T_LIST, 3); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txnIds.size())); - std::vector ::const_iterator _iter706; - for (_iter706 = this->txnIds.begin(); _iter706 != this->txnIds.end(); ++_iter706) + std::vector ::const_iterator _iter714; + for (_iter714 = this->txnIds.begin(); _iter714 != this->txnIds.end(); ++_iter714) { - xfer += oprot->writeI64((*_iter706)); + xfer += oprot->writeI64((*_iter714)); } xfer += oprot->writeListEnd(); } @@ -17140,10 +17363,10 @@ uint32_t AllocateTableWriteIdsRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("srcTxnToWriteIdList", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->srcTxnToWriteIdList.size())); - std::vector ::const_iterator _iter707; - for (_iter707 = this->srcTxnToWriteIdList.begin(); _iter707 != this->srcTxnToWriteIdList.end(); ++_iter707) + std::vector ::const_iterator _iter715; + for (_iter715 = this->srcTxnToWriteIdList.begin(); _iter715 != this->srcTxnToWriteIdList.end(); ++_iter715) { - xfer += (*_iter707).write(oprot); + xfer += (*_iter715).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17164,21 +17387,21 @@ void swap(AllocateTableWriteIdsRequest &a, AllocateTableWriteIdsRequest &b) { swap(a.__isset, b.__isset); } -AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other708) { - dbName = other708.dbName; - tableName = other708.tableName; - txnIds = other708.txnIds; - replPolicy = other708.replPolicy; - srcTxnToWriteIdList = other708.srcTxnToWriteIdList; - __isset = other708.__isset; -} -AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other709) { - dbName = other709.dbName; - tableName = other709.tableName; - txnIds = other709.txnIds; - replPolicy = other709.replPolicy; - srcTxnToWriteIdList = other709.srcTxnToWriteIdList; - __isset = other709.__isset; +AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other716) { + dbName = other716.dbName; + tableName = other716.tableName; + txnIds = other716.txnIds; + replPolicy = other716.replPolicy; + srcTxnToWriteIdList = other716.srcTxnToWriteIdList; + __isset = other716.__isset; +} +AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other717) { + dbName = other717.dbName; + tableName = other717.tableName; + txnIds = other717.txnIds; + replPolicy = other717.replPolicy; + srcTxnToWriteIdList = other717.srcTxnToWriteIdList; + __isset = other717.__isset; return *this; } void AllocateTableWriteIdsRequest::printTo(std::ostream& out) const { @@ -17284,13 +17507,13 @@ void swap(TxnToWriteId &a, TxnToWriteId &b) { swap(a.writeId, b.writeId); } -TxnToWriteId::TxnToWriteId(const TxnToWriteId& other710) { - txnId = other710.txnId; - writeId = other710.writeId; +TxnToWriteId::TxnToWriteId(const TxnToWriteId& other718) { + txnId = other718.txnId; + writeId = other718.writeId; } -TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other711) { - txnId = other711.txnId; - writeId = other711.writeId; +TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other719) { + txnId = other719.txnId; + writeId = other719.writeId; return *this; } void TxnToWriteId::printTo(std::ostream& out) const { @@ -17336,14 +17559,14 @@ uint32_t AllocateTableWriteIdsResponse::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnToWriteIds.clear(); - uint32_t _size712; - ::apache::thrift::protocol::TType _etype715; - xfer += iprot->readListBegin(_etype715, _size712); - this->txnToWriteIds.resize(_size712); - uint32_t _i716; - for (_i716 = 0; _i716 < _size712; ++_i716) + uint32_t _size720; + ::apache::thrift::protocol::TType _etype723; + xfer += iprot->readListBegin(_etype723, _size720); + this->txnToWriteIds.resize(_size720); + uint32_t _i724; + for (_i724 = 0; _i724 < _size720; ++_i724) { - xfer += this->txnToWriteIds[_i716].read(iprot); + xfer += this->txnToWriteIds[_i724].read(iprot); } xfer += iprot->readListEnd(); } @@ -17374,10 +17597,10 @@ uint32_t AllocateTableWriteIdsResponse::write(::apache::thrift::protocol::TProto xfer += oprot->writeFieldBegin("txnToWriteIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->txnToWriteIds.size())); - std::vector ::const_iterator _iter717; - for (_iter717 = this->txnToWriteIds.begin(); _iter717 != this->txnToWriteIds.end(); ++_iter717) + std::vector ::const_iterator _iter725; + for (_iter725 = this->txnToWriteIds.begin(); _iter725 != this->txnToWriteIds.end(); ++_iter725) { - xfer += (*_iter717).write(oprot); + xfer += (*_iter725).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17393,11 +17616,11 @@ void swap(AllocateTableWriteIdsResponse &a, AllocateTableWriteIdsResponse &b) { swap(a.txnToWriteIds, b.txnToWriteIds); } -AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other718) { - txnToWriteIds = other718.txnToWriteIds; +AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other726) { + txnToWriteIds = other726.txnToWriteIds; } -AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other719) { - txnToWriteIds = other719.txnToWriteIds; +AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other727) { + txnToWriteIds = other727.txnToWriteIds; return *this; } void AllocateTableWriteIdsResponse::printTo(std::ostream& out) const { @@ -17475,9 +17698,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast720; - xfer += iprot->readI32(ecast720); - this->type = (LockType::type)ecast720; + int32_t ecast728; + xfer += iprot->readI32(ecast728); + this->type = (LockType::type)ecast728; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -17485,9 +17708,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast721; - xfer += iprot->readI32(ecast721); - this->level = (LockLevel::type)ecast721; + int32_t ecast729; + xfer += iprot->readI32(ecast729); + this->level = (LockLevel::type)ecast729; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -17519,9 +17742,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast722; - xfer += iprot->readI32(ecast722); - this->operationType = (DataOperationType::type)ecast722; + int32_t ecast730; + xfer += iprot->readI32(ecast730); + this->operationType = (DataOperationType::type)ecast730; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -17621,27 +17844,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other723) { - type = other723.type; - level = other723.level; - dbname = other723.dbname; - tablename = other723.tablename; - partitionname = other723.partitionname; - operationType = other723.operationType; - isTransactional = other723.isTransactional; - isDynamicPartitionWrite = other723.isDynamicPartitionWrite; - __isset = other723.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other724) { - type = other724.type; - level = other724.level; - dbname = other724.dbname; - tablename = other724.tablename; - partitionname = other724.partitionname; - operationType = other724.operationType; - isTransactional = other724.isTransactional; - isDynamicPartitionWrite = other724.isDynamicPartitionWrite; - __isset = other724.__isset; +LockComponent::LockComponent(const LockComponent& other731) { + type = other731.type; + level = other731.level; + dbname = other731.dbname; + tablename = other731.tablename; + partitionname = other731.partitionname; + operationType = other731.operationType; + isTransactional = other731.isTransactional; + isDynamicPartitionWrite = other731.isDynamicPartitionWrite; + __isset = other731.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other732) { + type = other732.type; + level = other732.level; + dbname = other732.dbname; + tablename = other732.tablename; + partitionname = other732.partitionname; + operationType = other732.operationType; + isTransactional = other732.isTransactional; + isDynamicPartitionWrite = other732.isDynamicPartitionWrite; + __isset = other732.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -17713,14 +17936,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size725; - ::apache::thrift::protocol::TType _etype728; - xfer += iprot->readListBegin(_etype728, _size725); - this->component.resize(_size725); - uint32_t _i729; - for (_i729 = 0; _i729 < _size725; ++_i729) + uint32_t _size733; + ::apache::thrift::protocol::TType _etype736; + xfer += iprot->readListBegin(_etype736, _size733); + this->component.resize(_size733); + uint32_t _i737; + for (_i737 = 0; _i737 < _size733; ++_i737) { - xfer += this->component[_i729].read(iprot); + xfer += this->component[_i737].read(iprot); } xfer += iprot->readListEnd(); } @@ -17787,10 +18010,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 _iter730; - for (_iter730 = this->component.begin(); _iter730 != this->component.end(); ++_iter730) + std::vector ::const_iterator _iter738; + for (_iter738 = this->component.begin(); _iter738 != this->component.end(); ++_iter738) { - xfer += (*_iter730).write(oprot); + xfer += (*_iter738).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17829,21 +18052,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other731) { - component = other731.component; - txnid = other731.txnid; - user = other731.user; - hostname = other731.hostname; - agentInfo = other731.agentInfo; - __isset = other731.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other732) { - component = other732.component; - txnid = other732.txnid; - user = other732.user; - hostname = other732.hostname; - agentInfo = other732.agentInfo; - __isset = other732.__isset; +LockRequest::LockRequest(const LockRequest& other739) { + component = other739.component; + txnid = other739.txnid; + user = other739.user; + hostname = other739.hostname; + agentInfo = other739.agentInfo; + __isset = other739.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other740) { + component = other740.component; + txnid = other740.txnid; + user = other740.user; + hostname = other740.hostname; + agentInfo = other740.agentInfo; + __isset = other740.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -17903,9 +18126,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast733; - xfer += iprot->readI32(ecast733); - this->state = (LockState::type)ecast733; + int32_t ecast741; + xfer += iprot->readI32(ecast741); + this->state = (LockState::type)ecast741; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -17951,13 +18174,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other734) { - lockid = other734.lockid; - state = other734.state; +LockResponse::LockResponse(const LockResponse& other742) { + lockid = other742.lockid; + state = other742.state; } -LockResponse& LockResponse::operator=(const LockResponse& other735) { - lockid = other735.lockid; - state = other735.state; +LockResponse& LockResponse::operator=(const LockResponse& other743) { + lockid = other743.lockid; + state = other743.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -18079,17 +18302,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other736) { - lockid = other736.lockid; - txnid = other736.txnid; - elapsed_ms = other736.elapsed_ms; - __isset = other736.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other744) { + lockid = other744.lockid; + txnid = other744.txnid; + elapsed_ms = other744.elapsed_ms; + __isset = other744.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other737) { - lockid = other737.lockid; - txnid = other737.txnid; - elapsed_ms = other737.elapsed_ms; - __isset = other737.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other745) { + lockid = other745.lockid; + txnid = other745.txnid; + elapsed_ms = other745.elapsed_ms; + __isset = other745.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -18173,11 +18396,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other738) { - lockid = other738.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other746) { + lockid = other746.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other739) { - lockid = other739.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other747) { + lockid = other747.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -18316,19 +18539,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other740) { - dbname = other740.dbname; - tablename = other740.tablename; - partname = other740.partname; - isExtended = other740.isExtended; - __isset = other740.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other748) { + dbname = other748.dbname; + tablename = other748.tablename; + partname = other748.partname; + isExtended = other748.isExtended; + __isset = other748.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other741) { - dbname = other741.dbname; - tablename = other741.tablename; - partname = other741.partname; - isExtended = other741.isExtended; - __isset = other741.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other749) { + dbname = other749.dbname; + tablename = other749.tablename; + partname = other749.partname; + isExtended = other749.isExtended; + __isset = other749.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -18481,9 +18704,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast742; - xfer += iprot->readI32(ecast742); - this->state = (LockState::type)ecast742; + int32_t ecast750; + xfer += iprot->readI32(ecast750); + this->state = (LockState::type)ecast750; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -18491,9 +18714,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast743; - xfer += iprot->readI32(ecast743); - this->type = (LockType::type)ecast743; + int32_t ecast751; + xfer += iprot->readI32(ecast751); + this->type = (LockType::type)ecast751; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -18709,43 +18932,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other744) { - lockid = other744.lockid; - dbname = other744.dbname; - tablename = other744.tablename; - partname = other744.partname; - state = other744.state; - type = other744.type; - txnid = other744.txnid; - lastheartbeat = other744.lastheartbeat; - acquiredat = other744.acquiredat; - user = other744.user; - hostname = other744.hostname; - heartbeatCount = other744.heartbeatCount; - agentInfo = other744.agentInfo; - blockedByExtId = other744.blockedByExtId; - blockedByIntId = other744.blockedByIntId; - lockIdInternal = other744.lockIdInternal; - __isset = other744.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other752) { + lockid = other752.lockid; + dbname = other752.dbname; + tablename = other752.tablename; + partname = other752.partname; + state = other752.state; + type = other752.type; + txnid = other752.txnid; + lastheartbeat = other752.lastheartbeat; + acquiredat = other752.acquiredat; + user = other752.user; + hostname = other752.hostname; + heartbeatCount = other752.heartbeatCount; + agentInfo = other752.agentInfo; + blockedByExtId = other752.blockedByExtId; + blockedByIntId = other752.blockedByIntId; + lockIdInternal = other752.lockIdInternal; + __isset = other752.__isset; } -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other745) { - lockid = other745.lockid; - dbname = other745.dbname; - tablename = other745.tablename; - partname = other745.partname; - state = other745.state; - type = other745.type; - txnid = other745.txnid; - lastheartbeat = other745.lastheartbeat; - acquiredat = other745.acquiredat; - user = other745.user; - hostname = other745.hostname; - heartbeatCount = other745.heartbeatCount; - agentInfo = other745.agentInfo; - blockedByExtId = other745.blockedByExtId; - blockedByIntId = other745.blockedByIntId; - lockIdInternal = other745.lockIdInternal; - __isset = other745.__isset; +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other753) { + lockid = other753.lockid; + dbname = other753.dbname; + tablename = other753.tablename; + partname = other753.partname; + state = other753.state; + type = other753.type; + txnid = other753.txnid; + lastheartbeat = other753.lastheartbeat; + acquiredat = other753.acquiredat; + user = other753.user; + hostname = other753.hostname; + heartbeatCount = other753.heartbeatCount; + agentInfo = other753.agentInfo; + blockedByExtId = other753.blockedByExtId; + blockedByIntId = other753.blockedByIntId; + lockIdInternal = other753.lockIdInternal; + __isset = other753.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -18804,14 +19027,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size746; - ::apache::thrift::protocol::TType _etype749; - xfer += iprot->readListBegin(_etype749, _size746); - this->locks.resize(_size746); - uint32_t _i750; - for (_i750 = 0; _i750 < _size746; ++_i750) + uint32_t _size754; + ::apache::thrift::protocol::TType _etype757; + xfer += iprot->readListBegin(_etype757, _size754); + this->locks.resize(_size754); + uint32_t _i758; + for (_i758 = 0; _i758 < _size754; ++_i758) { - xfer += this->locks[_i750].read(iprot); + xfer += this->locks[_i758].read(iprot); } xfer += iprot->readListEnd(); } @@ -18840,10 +19063,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 _iter751; - for (_iter751 = this->locks.begin(); _iter751 != this->locks.end(); ++_iter751) + std::vector ::const_iterator _iter759; + for (_iter759 = this->locks.begin(); _iter759 != this->locks.end(); ++_iter759) { - xfer += (*_iter751).write(oprot); + xfer += (*_iter759).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18860,13 +19083,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other752) { - locks = other752.locks; - __isset = other752.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other760) { + locks = other760.locks; + __isset = other760.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other753) { - locks = other753.locks; - __isset = other753.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other761) { + locks = other761.locks; + __isset = other761.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -18967,15 +19190,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other754) { - lockid = other754.lockid; - txnid = other754.txnid; - __isset = other754.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other762) { + lockid = other762.lockid; + txnid = other762.txnid; + __isset = other762.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other755) { - lockid = other755.lockid; - txnid = other755.txnid; - __isset = other755.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other763) { + lockid = other763.lockid; + txnid = other763.txnid; + __isset = other763.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -19078,13 +19301,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other756) { - min = other756.min; - max = other756.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other764) { + min = other764.min; + max = other764.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other757) { - min = other757.min; - max = other757.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other765) { + min = other765.min; + max = other765.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -19135,15 +19358,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size758; - ::apache::thrift::protocol::TType _etype761; - xfer += iprot->readSetBegin(_etype761, _size758); - uint32_t _i762; - for (_i762 = 0; _i762 < _size758; ++_i762) + uint32_t _size766; + ::apache::thrift::protocol::TType _etype769; + xfer += iprot->readSetBegin(_etype769, _size766); + uint32_t _i770; + for (_i770 = 0; _i770 < _size766; ++_i770) { - int64_t _elem763; - xfer += iprot->readI64(_elem763); - this->aborted.insert(_elem763); + int64_t _elem771; + xfer += iprot->readI64(_elem771); + this->aborted.insert(_elem771); } xfer += iprot->readSetEnd(); } @@ -19156,15 +19379,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size764; - ::apache::thrift::protocol::TType _etype767; - xfer += iprot->readSetBegin(_etype767, _size764); - uint32_t _i768; - for (_i768 = 0; _i768 < _size764; ++_i768) + uint32_t _size772; + ::apache::thrift::protocol::TType _etype775; + xfer += iprot->readSetBegin(_etype775, _size772); + uint32_t _i776; + for (_i776 = 0; _i776 < _size772; ++_i776) { - int64_t _elem769; - xfer += iprot->readI64(_elem769); - this->nosuch.insert(_elem769); + int64_t _elem777; + xfer += iprot->readI64(_elem777); + this->nosuch.insert(_elem777); } xfer += iprot->readSetEnd(); } @@ -19197,10 +19420,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 _iter770; - for (_iter770 = this->aborted.begin(); _iter770 != this->aborted.end(); ++_iter770) + std::set ::const_iterator _iter778; + for (_iter778 = this->aborted.begin(); _iter778 != this->aborted.end(); ++_iter778) { - xfer += oprot->writeI64((*_iter770)); + xfer += oprot->writeI64((*_iter778)); } xfer += oprot->writeSetEnd(); } @@ -19209,10 +19432,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 _iter771; - for (_iter771 = this->nosuch.begin(); _iter771 != this->nosuch.end(); ++_iter771) + std::set ::const_iterator _iter779; + for (_iter779 = this->nosuch.begin(); _iter779 != this->nosuch.end(); ++_iter779) { - xfer += oprot->writeI64((*_iter771)); + xfer += oprot->writeI64((*_iter779)); } xfer += oprot->writeSetEnd(); } @@ -19229,13 +19452,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other772) { - aborted = other772.aborted; - nosuch = other772.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other780) { + aborted = other780.aborted; + nosuch = other780.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other773) { - aborted = other773.aborted; - nosuch = other773.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other781) { + aborted = other781.aborted; + nosuch = other781.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -19328,9 +19551,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast774; - xfer += iprot->readI32(ecast774); - this->type = (CompactionType::type)ecast774; + int32_t ecast782; + xfer += iprot->readI32(ecast782); + this->type = (CompactionType::type)ecast782; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -19348,17 +19571,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size775; - ::apache::thrift::protocol::TType _ktype776; - ::apache::thrift::protocol::TType _vtype777; - xfer += iprot->readMapBegin(_ktype776, _vtype777, _size775); - uint32_t _i779; - for (_i779 = 0; _i779 < _size775; ++_i779) + uint32_t _size783; + ::apache::thrift::protocol::TType _ktype784; + ::apache::thrift::protocol::TType _vtype785; + xfer += iprot->readMapBegin(_ktype784, _vtype785, _size783); + uint32_t _i787; + for (_i787 = 0; _i787 < _size783; ++_i787) { - std::string _key780; - xfer += iprot->readString(_key780); - std::string& _val781 = this->properties[_key780]; - xfer += iprot->readString(_val781); + std::string _key788; + xfer += iprot->readString(_key788); + std::string& _val789 = this->properties[_key788]; + xfer += iprot->readString(_val789); } xfer += iprot->readMapEnd(); } @@ -19416,11 +19639,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 _iter782; - for (_iter782 = this->properties.begin(); _iter782 != this->properties.end(); ++_iter782) + std::map ::const_iterator _iter790; + for (_iter790 = this->properties.begin(); _iter790 != this->properties.end(); ++_iter790) { - xfer += oprot->writeString(_iter782->first); - xfer += oprot->writeString(_iter782->second); + xfer += oprot->writeString(_iter790->first); + xfer += oprot->writeString(_iter790->second); } xfer += oprot->writeMapEnd(); } @@ -19442,23 +19665,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other783) { - dbname = other783.dbname; - tablename = other783.tablename; - partitionname = other783.partitionname; - type = other783.type; - runas = other783.runas; - properties = other783.properties; - __isset = other783.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other784) { - dbname = other784.dbname; - tablename = other784.tablename; - partitionname = other784.partitionname; - type = other784.type; - runas = other784.runas; - properties = other784.properties; - __isset = other784.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other791) { + dbname = other791.dbname; + tablename = other791.tablename; + partitionname = other791.partitionname; + type = other791.type; + runas = other791.runas; + properties = other791.properties; + __isset = other791.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other792) { + dbname = other792.dbname; + tablename = other792.tablename; + partitionname = other792.partitionname; + type = other792.type; + runas = other792.runas; + properties = other792.properties; + __isset = other792.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -19585,15 +19808,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other785) { - id = other785.id; - state = other785.state; - accepted = other785.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other793) { + id = other793.id; + state = other793.state; + accepted = other793.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other786) { - id = other786.id; - state = other786.state; - accepted = other786.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other794) { + id = other794.id; + state = other794.state; + accepted = other794.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -19654,11 +19877,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other787) { - (void) other787; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other795) { + (void) other795; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other788) { - (void) other788; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other796) { + (void) other796; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -19784,9 +20007,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast789; - xfer += iprot->readI32(ecast789); - this->type = (CompactionType::type)ecast789; + int32_t ecast797; + xfer += iprot->readI32(ecast797); + this->type = (CompactionType::type)ecast797; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -19973,37 +20196,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other790) { - dbname = other790.dbname; - tablename = other790.tablename; - partitionname = other790.partitionname; - type = other790.type; - state = other790.state; - workerid = other790.workerid; - start = other790.start; - runAs = other790.runAs; - hightestTxnId = other790.hightestTxnId; - metaInfo = other790.metaInfo; - endTime = other790.endTime; - hadoopJobId = other790.hadoopJobId; - id = other790.id; - __isset = other790.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other791) { - dbname = other791.dbname; - tablename = other791.tablename; - partitionname = other791.partitionname; - type = other791.type; - state = other791.state; - workerid = other791.workerid; - start = other791.start; - runAs = other791.runAs; - hightestTxnId = other791.hightestTxnId; - metaInfo = other791.metaInfo; - endTime = other791.endTime; - hadoopJobId = other791.hadoopJobId; - id = other791.id; - __isset = other791.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other798) { + dbname = other798.dbname; + tablename = other798.tablename; + partitionname = other798.partitionname; + type = other798.type; + state = other798.state; + workerid = other798.workerid; + start = other798.start; + runAs = other798.runAs; + hightestTxnId = other798.hightestTxnId; + metaInfo = other798.metaInfo; + endTime = other798.endTime; + hadoopJobId = other798.hadoopJobId; + id = other798.id; + __isset = other798.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other799) { + dbname = other799.dbname; + tablename = other799.tablename; + partitionname = other799.partitionname; + type = other799.type; + state = other799.state; + workerid = other799.workerid; + start = other799.start; + runAs = other799.runAs; + hightestTxnId = other799.hightestTxnId; + metaInfo = other799.metaInfo; + endTime = other799.endTime; + hadoopJobId = other799.hadoopJobId; + id = other799.id; + __isset = other799.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -20060,14 +20283,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size792; - ::apache::thrift::protocol::TType _etype795; - xfer += iprot->readListBegin(_etype795, _size792); - this->compacts.resize(_size792); - uint32_t _i796; - for (_i796 = 0; _i796 < _size792; ++_i796) + uint32_t _size800; + ::apache::thrift::protocol::TType _etype803; + xfer += iprot->readListBegin(_etype803, _size800); + this->compacts.resize(_size800); + uint32_t _i804; + for (_i804 = 0; _i804 < _size800; ++_i804) { - xfer += this->compacts[_i796].read(iprot); + xfer += this->compacts[_i804].read(iprot); } xfer += iprot->readListEnd(); } @@ -20098,10 +20321,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 _iter797; - for (_iter797 = this->compacts.begin(); _iter797 != this->compacts.end(); ++_iter797) + std::vector ::const_iterator _iter805; + for (_iter805 = this->compacts.begin(); _iter805 != this->compacts.end(); ++_iter805) { - xfer += (*_iter797).write(oprot); + xfer += (*_iter805).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20117,11 +20340,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other798) { - compacts = other798.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other806) { + compacts = other806.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other799) { - compacts = other799.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other807) { + compacts = other807.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -20223,14 +20446,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size800; - ::apache::thrift::protocol::TType _etype803; - xfer += iprot->readListBegin(_etype803, _size800); - this->partitionnames.resize(_size800); - uint32_t _i804; - for (_i804 = 0; _i804 < _size800; ++_i804) + uint32_t _size808; + ::apache::thrift::protocol::TType _etype811; + xfer += iprot->readListBegin(_etype811, _size808); + this->partitionnames.resize(_size808); + uint32_t _i812; + for (_i812 = 0; _i812 < _size808; ++_i812) { - xfer += iprot->readString(this->partitionnames[_i804]); + xfer += iprot->readString(this->partitionnames[_i812]); } xfer += iprot->readListEnd(); } @@ -20241,9 +20464,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast805; - xfer += iprot->readI32(ecast805); - this->operationType = (DataOperationType::type)ecast805; + int32_t ecast813; + xfer += iprot->readI32(ecast813); + this->operationType = (DataOperationType::type)ecast813; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -20295,10 +20518,10 @@ uint32_t AddDynamicPartitions::write(::apache::thrift::protocol::TProtocol* opro xfer += oprot->writeFieldBegin("partitionnames", ::apache::thrift::protocol::T_LIST, 5); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partitionnames.size())); - std::vector ::const_iterator _iter806; - for (_iter806 = this->partitionnames.begin(); _iter806 != this->partitionnames.end(); ++_iter806) + std::vector ::const_iterator _iter814; + for (_iter814 = this->partitionnames.begin(); _iter814 != this->partitionnames.end(); ++_iter814) { - xfer += oprot->writeString((*_iter806)); + xfer += oprot->writeString((*_iter814)); } xfer += oprot->writeListEnd(); } @@ -20325,23 +20548,23 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other807) { - txnid = other807.txnid; - writeid = other807.writeid; - dbname = other807.dbname; - tablename = other807.tablename; - partitionnames = other807.partitionnames; - operationType = other807.operationType; - __isset = other807.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other808) { - txnid = other808.txnid; - writeid = other808.writeid; - dbname = other808.dbname; - tablename = other808.tablename; - partitionnames = other808.partitionnames; - operationType = other808.operationType; - __isset = other808.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other815) { + txnid = other815.txnid; + writeid = other815.writeid; + dbname = other815.dbname; + tablename = other815.tablename; + partitionnames = other815.partitionnames; + operationType = other815.operationType; + __isset = other815.__isset; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other816) { + txnid = other816.txnid; + writeid = other816.writeid; + dbname = other816.dbname; + tablename = other816.tablename; + partitionnames = other816.partitionnames; + operationType = other816.operationType; + __isset = other816.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -20524,23 +20747,23 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other809) { - isnull = other809.isnull; - time = other809.time; - txnid = other809.txnid; - dbname = other809.dbname; - tablename = other809.tablename; - partitionname = other809.partitionname; - __isset = other809.__isset; -} -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other810) { - isnull = other810.isnull; - time = other810.time; - txnid = other810.txnid; - dbname = other810.dbname; - tablename = other810.tablename; - partitionname = other810.partitionname; - __isset = other810.__isset; +BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other817) { + isnull = other817.isnull; + time = other817.time; + txnid = other817.txnid; + dbname = other817.dbname; + tablename = other817.tablename; + partitionname = other817.partitionname; + __isset = other817.__isset; +} +BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other818) { + isnull = other818.isnull; + time = other818.time; + txnid = other818.txnid; + dbname = other818.dbname; + tablename = other818.tablename; + partitionname = other818.partitionname; + __isset = other818.__isset; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { @@ -20634,15 +20857,15 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size811; - ::apache::thrift::protocol::TType _etype814; - xfer += iprot->readSetBegin(_etype814, _size811); - uint32_t _i815; - for (_i815 = 0; _i815 < _size811; ++_i815) + uint32_t _size819; + ::apache::thrift::protocol::TType _etype822; + xfer += iprot->readSetBegin(_etype822, _size819); + uint32_t _i823; + for (_i823 = 0; _i823 < _size819; ++_i823) { - std::string _elem816; - xfer += iprot->readString(_elem816); - this->tablesUsed.insert(_elem816); + std::string _elem824; + xfer += iprot->readString(_elem824); + this->tablesUsed.insert(_elem824); } xfer += iprot->readSetEnd(); } @@ -20699,10 +20922,10 @@ uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 4); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter817; - for (_iter817 = this->tablesUsed.begin(); _iter817 != this->tablesUsed.end(); ++_iter817) + std::set ::const_iterator _iter825; + for (_iter825 = this->tablesUsed.begin(); _iter825 != this->tablesUsed.end(); ++_iter825) { - xfer += oprot->writeString((*_iter817)); + xfer += oprot->writeString((*_iter825)); } xfer += oprot->writeSetEnd(); } @@ -20728,21 +20951,21 @@ void swap(CreationMetadata &a, CreationMetadata &b) { swap(a.__isset, b.__isset); } -CreationMetadata::CreationMetadata(const CreationMetadata& other818) { - catName = other818.catName; - dbName = other818.dbName; - tblName = other818.tblName; - tablesUsed = other818.tablesUsed; - validTxnList = other818.validTxnList; - __isset = other818.__isset; -} -CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other819) { - catName = other819.catName; - dbName = other819.dbName; - tblName = other819.tblName; - tablesUsed = other819.tablesUsed; - validTxnList = other819.validTxnList; - __isset = other819.__isset; +CreationMetadata::CreationMetadata(const CreationMetadata& other826) { + catName = other826.catName; + dbName = other826.dbName; + tblName = other826.tblName; + tablesUsed = other826.tablesUsed; + validTxnList = other826.validTxnList; + __isset = other826.__isset; +} +CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other827) { + catName = other827.catName; + dbName = other827.dbName; + tblName = other827.tblName; + tablesUsed = other827.tablesUsed; + validTxnList = other827.validTxnList; + __isset = other827.__isset; return *this; } void CreationMetadata::printTo(std::ostream& out) const { @@ -20848,15 +21071,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other820) { - lastEvent = other820.lastEvent; - maxEvents = other820.maxEvents; - __isset = other820.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other828) { + lastEvent = other828.lastEvent; + maxEvents = other828.maxEvents; + __isset = other828.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other821) { - lastEvent = other821.lastEvent; - maxEvents = other821.maxEvents; - __isset = other821.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other829) { + lastEvent = other829.lastEvent; + maxEvents = other829.maxEvents; + __isset = other829.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -21076,27 +21299,27 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other822) { - eventId = other822.eventId; - eventTime = other822.eventTime; - eventType = other822.eventType; - dbName = other822.dbName; - tableName = other822.tableName; - message = other822.message; - messageFormat = other822.messageFormat; - catName = other822.catName; - __isset = other822.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other823) { - eventId = other823.eventId; - eventTime = other823.eventTime; - eventType = other823.eventType; - dbName = other823.dbName; - tableName = other823.tableName; - message = other823.message; - messageFormat = other823.messageFormat; - catName = other823.catName; - __isset = other823.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other830) { + eventId = other830.eventId; + eventTime = other830.eventTime; + eventType = other830.eventType; + dbName = other830.dbName; + tableName = other830.tableName; + message = other830.message; + messageFormat = other830.messageFormat; + catName = other830.catName; + __isset = other830.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other831) { + eventId = other831.eventId; + eventTime = other831.eventTime; + eventType = other831.eventType; + dbName = other831.dbName; + tableName = other831.tableName; + message = other831.message; + messageFormat = other831.messageFormat; + catName = other831.catName; + __isset = other831.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -21148,14 +21371,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size824; - ::apache::thrift::protocol::TType _etype827; - xfer += iprot->readListBegin(_etype827, _size824); - this->events.resize(_size824); - uint32_t _i828; - for (_i828 = 0; _i828 < _size824; ++_i828) + uint32_t _size832; + ::apache::thrift::protocol::TType _etype835; + xfer += iprot->readListBegin(_etype835, _size832); + this->events.resize(_size832); + uint32_t _i836; + for (_i836 = 0; _i836 < _size832; ++_i836) { - xfer += this->events[_i828].read(iprot); + xfer += this->events[_i836].read(iprot); } xfer += iprot->readListEnd(); } @@ -21186,10 +21409,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 _iter829; - for (_iter829 = this->events.begin(); _iter829 != this->events.end(); ++_iter829) + std::vector ::const_iterator _iter837; + for (_iter837 = this->events.begin(); _iter837 != this->events.end(); ++_iter837) { - xfer += (*_iter829).write(oprot); + xfer += (*_iter837).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21205,11 +21428,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other830) { - events = other830.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other838) { + events = other838.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other831) { - events = other831.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other839) { + events = other839.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -21291,11 +21514,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other832) { - eventId = other832.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other840) { + eventId = other840.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other833) { - eventId = other833.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other841) { + eventId = other841.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -21417,17 +21640,17 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.__isset, b.__isset); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other834) { - fromEventId = other834.fromEventId; - dbName = other834.dbName; - catName = other834.catName; - __isset = other834.__isset; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other842) { + fromEventId = other842.fromEventId; + dbName = other842.dbName; + catName = other842.catName; + __isset = other842.__isset; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other835) { - fromEventId = other835.fromEventId; - dbName = other835.dbName; - catName = other835.catName; - __isset = other835.__isset; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other843) { + fromEventId = other843.fromEventId; + dbName = other843.dbName; + catName = other843.catName; + __isset = other843.__isset; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -21511,11 +21734,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other836) { - eventsCount = other836.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other844) { + eventsCount = other844.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other837) { - eventsCount = other837.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other845) { + eventsCount = other845.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -21578,14 +21801,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size838; - ::apache::thrift::protocol::TType _etype841; - xfer += iprot->readListBegin(_etype841, _size838); - this->filesAdded.resize(_size838); - uint32_t _i842; - for (_i842 = 0; _i842 < _size838; ++_i842) + uint32_t _size846; + ::apache::thrift::protocol::TType _etype849; + xfer += iprot->readListBegin(_etype849, _size846); + this->filesAdded.resize(_size846); + uint32_t _i850; + for (_i850 = 0; _i850 < _size846; ++_i850) { - xfer += iprot->readString(this->filesAdded[_i842]); + xfer += iprot->readString(this->filesAdded[_i850]); } xfer += iprot->readListEnd(); } @@ -21598,14 +21821,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size843; - ::apache::thrift::protocol::TType _etype846; - xfer += iprot->readListBegin(_etype846, _size843); - this->filesAddedChecksum.resize(_size843); - uint32_t _i847; - for (_i847 = 0; _i847 < _size843; ++_i847) + uint32_t _size851; + ::apache::thrift::protocol::TType _etype854; + xfer += iprot->readListBegin(_etype854, _size851); + this->filesAddedChecksum.resize(_size851); + uint32_t _i855; + for (_i855 = 0; _i855 < _size851; ++_i855) { - xfer += iprot->readString(this->filesAddedChecksum[_i847]); + xfer += iprot->readString(this->filesAddedChecksum[_i855]); } xfer += iprot->readListEnd(); } @@ -21641,10 +21864,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 _iter848; - for (_iter848 = this->filesAdded.begin(); _iter848 != this->filesAdded.end(); ++_iter848) + std::vector ::const_iterator _iter856; + for (_iter856 = this->filesAdded.begin(); _iter856 != this->filesAdded.end(); ++_iter856) { - xfer += oprot->writeString((*_iter848)); + xfer += oprot->writeString((*_iter856)); } xfer += oprot->writeListEnd(); } @@ -21654,10 +21877,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 _iter849; - for (_iter849 = this->filesAddedChecksum.begin(); _iter849 != this->filesAddedChecksum.end(); ++_iter849) + std::vector ::const_iterator _iter857; + for (_iter857 = this->filesAddedChecksum.begin(); _iter857 != this->filesAddedChecksum.end(); ++_iter857) { - xfer += oprot->writeString((*_iter849)); + xfer += oprot->writeString((*_iter857)); } xfer += oprot->writeListEnd(); } @@ -21676,17 +21899,17 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other850) { - replace = other850.replace; - filesAdded = other850.filesAdded; - filesAddedChecksum = other850.filesAddedChecksum; - __isset = other850.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other858) { + replace = other858.replace; + filesAdded = other858.filesAdded; + filesAddedChecksum = other858.filesAddedChecksum; + __isset = other858.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other851) { - replace = other851.replace; - filesAdded = other851.filesAdded; - filesAddedChecksum = other851.filesAddedChecksum; - __isset = other851.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other859) { + replace = other859.replace; + filesAdded = other859.filesAdded; + filesAddedChecksum = other859.filesAddedChecksum; + __isset = other859.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -21768,13 +21991,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other852) { - insertData = other852.insertData; - __isset = other852.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other860) { + insertData = other860.insertData; + __isset = other860.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other853) { - insertData = other853.insertData; - __isset = other853.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other861) { + insertData = other861.insertData; + __isset = other861.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -21876,14 +22099,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size854; - ::apache::thrift::protocol::TType _etype857; - xfer += iprot->readListBegin(_etype857, _size854); - this->partitionVals.resize(_size854); - uint32_t _i858; - for (_i858 = 0; _i858 < _size854; ++_i858) + uint32_t _size862; + ::apache::thrift::protocol::TType _etype865; + xfer += iprot->readListBegin(_etype865, _size862); + this->partitionVals.resize(_size862); + uint32_t _i866; + for (_i866 = 0; _i866 < _size862; ++_i866) { - xfer += iprot->readString(this->partitionVals[_i858]); + xfer += iprot->readString(this->partitionVals[_i866]); } xfer += iprot->readListEnd(); } @@ -21943,10 +22166,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 _iter859; - for (_iter859 = this->partitionVals.begin(); _iter859 != this->partitionVals.end(); ++_iter859) + std::vector ::const_iterator _iter867; + for (_iter867 = this->partitionVals.begin(); _iter867 != this->partitionVals.end(); ++_iter867) { - xfer += oprot->writeString((*_iter859)); + xfer += oprot->writeString((*_iter867)); } xfer += oprot->writeListEnd(); } @@ -21973,23 +22196,23 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other860) { - successful = other860.successful; - data = other860.data; - dbName = other860.dbName; - tableName = other860.tableName; - partitionVals = other860.partitionVals; - catName = other860.catName; - __isset = other860.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other861) { - successful = other861.successful; - data = other861.data; - dbName = other861.dbName; - tableName = other861.tableName; - partitionVals = other861.partitionVals; - catName = other861.catName; - __isset = other861.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other868) { + successful = other868.successful; + data = other868.data; + dbName = other868.dbName; + tableName = other868.tableName; + partitionVals = other868.partitionVals; + catName = other868.catName; + __isset = other868.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other869) { + successful = other869.successful; + data = other869.data; + dbName = other869.dbName; + tableName = other869.tableName; + partitionVals = other869.partitionVals; + catName = other869.catName; + __isset = other869.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -22053,11 +22276,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other862) { - (void) other862; +FireEventResponse::FireEventResponse(const FireEventResponse& other870) { + (void) other870; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other863) { - (void) other863; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other871) { + (void) other871; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -22157,15 +22380,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other864) { - metadata = other864.metadata; - includeBitset = other864.includeBitset; - __isset = other864.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other872) { + metadata = other872.metadata; + includeBitset = other872.includeBitset; + __isset = other872.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other865) { - metadata = other865.metadata; - includeBitset = other865.includeBitset; - __isset = other865.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other873) { + metadata = other873.metadata; + includeBitset = other873.includeBitset; + __isset = other873.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -22216,17 +22439,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size866; - ::apache::thrift::protocol::TType _ktype867; - ::apache::thrift::protocol::TType _vtype868; - xfer += iprot->readMapBegin(_ktype867, _vtype868, _size866); - uint32_t _i870; - for (_i870 = 0; _i870 < _size866; ++_i870) + uint32_t _size874; + ::apache::thrift::protocol::TType _ktype875; + ::apache::thrift::protocol::TType _vtype876; + xfer += iprot->readMapBegin(_ktype875, _vtype876, _size874); + uint32_t _i878; + for (_i878 = 0; _i878 < _size874; ++_i878) { - int64_t _key871; - xfer += iprot->readI64(_key871); - MetadataPpdResult& _val872 = this->metadata[_key871]; - xfer += _val872.read(iprot); + int64_t _key879; + xfer += iprot->readI64(_key879); + MetadataPpdResult& _val880 = this->metadata[_key879]; + xfer += _val880.read(iprot); } xfer += iprot->readMapEnd(); } @@ -22267,11 +22490,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 _iter873; - for (_iter873 = this->metadata.begin(); _iter873 != this->metadata.end(); ++_iter873) + std::map ::const_iterator _iter881; + for (_iter881 = this->metadata.begin(); _iter881 != this->metadata.end(); ++_iter881) { - xfer += oprot->writeI64(_iter873->first); - xfer += _iter873->second.write(oprot); + xfer += oprot->writeI64(_iter881->first); + xfer += _iter881->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -22292,13 +22515,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other874) { - metadata = other874.metadata; - isSupported = other874.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other882) { + metadata = other882.metadata; + isSupported = other882.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other875) { - metadata = other875.metadata; - isSupported = other875.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other883) { + metadata = other883.metadata; + isSupported = other883.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -22359,14 +22582,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size876; - ::apache::thrift::protocol::TType _etype879; - xfer += iprot->readListBegin(_etype879, _size876); - this->fileIds.resize(_size876); - uint32_t _i880; - for (_i880 = 0; _i880 < _size876; ++_i880) + uint32_t _size884; + ::apache::thrift::protocol::TType _etype887; + xfer += iprot->readListBegin(_etype887, _size884); + this->fileIds.resize(_size884); + uint32_t _i888; + for (_i888 = 0; _i888 < _size884; ++_i888) { - xfer += iprot->readI64(this->fileIds[_i880]); + xfer += iprot->readI64(this->fileIds[_i888]); } xfer += iprot->readListEnd(); } @@ -22393,9 +22616,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast881; - xfer += iprot->readI32(ecast881); - this->type = (FileMetadataExprType::type)ecast881; + int32_t ecast889; + xfer += iprot->readI32(ecast889); + this->type = (FileMetadataExprType::type)ecast889; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -22425,10 +22648,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 _iter882; - for (_iter882 = this->fileIds.begin(); _iter882 != this->fileIds.end(); ++_iter882) + std::vector ::const_iterator _iter890; + for (_iter890 = this->fileIds.begin(); _iter890 != this->fileIds.end(); ++_iter890) { - xfer += oprot->writeI64((*_iter882)); + xfer += oprot->writeI64((*_iter890)); } xfer += oprot->writeListEnd(); } @@ -22462,19 +22685,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other883) { - fileIds = other883.fileIds; - expr = other883.expr; - doGetFooters = other883.doGetFooters; - type = other883.type; - __isset = other883.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other891) { + fileIds = other891.fileIds; + expr = other891.expr; + doGetFooters = other891.doGetFooters; + type = other891.type; + __isset = other891.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other884) { - fileIds = other884.fileIds; - expr = other884.expr; - doGetFooters = other884.doGetFooters; - type = other884.type; - __isset = other884.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other892) { + fileIds = other892.fileIds; + expr = other892.expr; + doGetFooters = other892.doGetFooters; + type = other892.type; + __isset = other892.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -22527,17 +22750,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size885; - ::apache::thrift::protocol::TType _ktype886; - ::apache::thrift::protocol::TType _vtype887; - xfer += iprot->readMapBegin(_ktype886, _vtype887, _size885); - uint32_t _i889; - for (_i889 = 0; _i889 < _size885; ++_i889) + uint32_t _size893; + ::apache::thrift::protocol::TType _ktype894; + ::apache::thrift::protocol::TType _vtype895; + xfer += iprot->readMapBegin(_ktype894, _vtype895, _size893); + uint32_t _i897; + for (_i897 = 0; _i897 < _size893; ++_i897) { - int64_t _key890; - xfer += iprot->readI64(_key890); - std::string& _val891 = this->metadata[_key890]; - xfer += iprot->readBinary(_val891); + int64_t _key898; + xfer += iprot->readI64(_key898); + std::string& _val899 = this->metadata[_key898]; + xfer += iprot->readBinary(_val899); } xfer += iprot->readMapEnd(); } @@ -22578,11 +22801,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 _iter892; - for (_iter892 = this->metadata.begin(); _iter892 != this->metadata.end(); ++_iter892) + std::map ::const_iterator _iter900; + for (_iter900 = this->metadata.begin(); _iter900 != this->metadata.end(); ++_iter900) { - xfer += oprot->writeI64(_iter892->first); - xfer += oprot->writeBinary(_iter892->second); + xfer += oprot->writeI64(_iter900->first); + xfer += oprot->writeBinary(_iter900->second); } xfer += oprot->writeMapEnd(); } @@ -22603,13 +22826,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other893) { - metadata = other893.metadata; - isSupported = other893.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other901) { + metadata = other901.metadata; + isSupported = other901.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other894) { - metadata = other894.metadata; - isSupported = other894.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other902) { + metadata = other902.metadata; + isSupported = other902.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -22655,14 +22878,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size895; - ::apache::thrift::protocol::TType _etype898; - xfer += iprot->readListBegin(_etype898, _size895); - this->fileIds.resize(_size895); - uint32_t _i899; - for (_i899 = 0; _i899 < _size895; ++_i899) + uint32_t _size903; + ::apache::thrift::protocol::TType _etype906; + xfer += iprot->readListBegin(_etype906, _size903); + this->fileIds.resize(_size903); + uint32_t _i907; + for (_i907 = 0; _i907 < _size903; ++_i907) { - xfer += iprot->readI64(this->fileIds[_i899]); + xfer += iprot->readI64(this->fileIds[_i907]); } xfer += iprot->readListEnd(); } @@ -22693,10 +22916,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 _iter900; - for (_iter900 = this->fileIds.begin(); _iter900 != this->fileIds.end(); ++_iter900) + std::vector ::const_iterator _iter908; + for (_iter908 = this->fileIds.begin(); _iter908 != this->fileIds.end(); ++_iter908) { - xfer += oprot->writeI64((*_iter900)); + xfer += oprot->writeI64((*_iter908)); } xfer += oprot->writeListEnd(); } @@ -22712,11 +22935,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other901) { - fileIds = other901.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other909) { + fileIds = other909.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other902) { - fileIds = other902.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other910) { + fileIds = other910.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -22775,11 +22998,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other903) { - (void) other903; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other911) { + (void) other911; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other904) { - (void) other904; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other912) { + (void) other912; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -22833,14 +23056,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size905; - ::apache::thrift::protocol::TType _etype908; - xfer += iprot->readListBegin(_etype908, _size905); - this->fileIds.resize(_size905); - uint32_t _i909; - for (_i909 = 0; _i909 < _size905; ++_i909) + uint32_t _size913; + ::apache::thrift::protocol::TType _etype916; + xfer += iprot->readListBegin(_etype916, _size913); + this->fileIds.resize(_size913); + uint32_t _i917; + for (_i917 = 0; _i917 < _size913; ++_i917) { - xfer += iprot->readI64(this->fileIds[_i909]); + xfer += iprot->readI64(this->fileIds[_i917]); } xfer += iprot->readListEnd(); } @@ -22853,14 +23076,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size910; - ::apache::thrift::protocol::TType _etype913; - xfer += iprot->readListBegin(_etype913, _size910); - this->metadata.resize(_size910); - uint32_t _i914; - for (_i914 = 0; _i914 < _size910; ++_i914) + uint32_t _size918; + ::apache::thrift::protocol::TType _etype921; + xfer += iprot->readListBegin(_etype921, _size918); + this->metadata.resize(_size918); + uint32_t _i922; + for (_i922 = 0; _i922 < _size918; ++_i922) { - xfer += iprot->readBinary(this->metadata[_i914]); + xfer += iprot->readBinary(this->metadata[_i922]); } xfer += iprot->readListEnd(); } @@ -22871,9 +23094,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast915; - xfer += iprot->readI32(ecast915); - this->type = (FileMetadataExprType::type)ecast915; + int32_t ecast923; + xfer += iprot->readI32(ecast923); + this->type = (FileMetadataExprType::type)ecast923; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -22903,10 +23126,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 _iter916; - for (_iter916 = this->fileIds.begin(); _iter916 != this->fileIds.end(); ++_iter916) + std::vector ::const_iterator _iter924; + for (_iter924 = this->fileIds.begin(); _iter924 != this->fileIds.end(); ++_iter924) { - xfer += oprot->writeI64((*_iter916)); + xfer += oprot->writeI64((*_iter924)); } xfer += oprot->writeListEnd(); } @@ -22915,10 +23138,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 _iter917; - for (_iter917 = this->metadata.begin(); _iter917 != this->metadata.end(); ++_iter917) + std::vector ::const_iterator _iter925; + for (_iter925 = this->metadata.begin(); _iter925 != this->metadata.end(); ++_iter925) { - xfer += oprot->writeBinary((*_iter917)); + xfer += oprot->writeBinary((*_iter925)); } xfer += oprot->writeListEnd(); } @@ -22942,17 +23165,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other918) { - fileIds = other918.fileIds; - metadata = other918.metadata; - type = other918.type; - __isset = other918.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other926) { + fileIds = other926.fileIds; + metadata = other926.metadata; + type = other926.type; + __isset = other926.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other919) { - fileIds = other919.fileIds; - metadata = other919.metadata; - type = other919.type; - __isset = other919.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other927) { + fileIds = other927.fileIds; + metadata = other927.metadata; + type = other927.type; + __isset = other927.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -23013,11 +23236,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other920) { - (void) other920; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other928) { + (void) other928; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other921) { - (void) other921; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other929) { + (void) other929; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -23061,14 +23284,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size922; - ::apache::thrift::protocol::TType _etype925; - xfer += iprot->readListBegin(_etype925, _size922); - this->fileIds.resize(_size922); - uint32_t _i926; - for (_i926 = 0; _i926 < _size922; ++_i926) + uint32_t _size930; + ::apache::thrift::protocol::TType _etype933; + xfer += iprot->readListBegin(_etype933, _size930); + this->fileIds.resize(_size930); + uint32_t _i934; + for (_i934 = 0; _i934 < _size930; ++_i934) { - xfer += iprot->readI64(this->fileIds[_i926]); + xfer += iprot->readI64(this->fileIds[_i934]); } xfer += iprot->readListEnd(); } @@ -23099,10 +23322,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 _iter927; - for (_iter927 = this->fileIds.begin(); _iter927 != this->fileIds.end(); ++_iter927) + std::vector ::const_iterator _iter935; + for (_iter935 = this->fileIds.begin(); _iter935 != this->fileIds.end(); ++_iter935) { - xfer += oprot->writeI64((*_iter927)); + xfer += oprot->writeI64((*_iter935)); } xfer += oprot->writeListEnd(); } @@ -23118,11 +23341,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other928) { - fileIds = other928.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other936) { + fileIds = other936.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other929) { - fileIds = other929.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other937) { + fileIds = other937.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -23204,11 +23427,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other930) { - isSupported = other930.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other938) { + isSupported = other938.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other931) { - isSupported = other931.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other939) { + isSupported = other939.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -23349,19 +23572,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other932) { - dbName = other932.dbName; - tblName = other932.tblName; - partName = other932.partName; - isAllParts = other932.isAllParts; - __isset = other932.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other940) { + dbName = other940.dbName; + tblName = other940.tblName; + partName = other940.partName; + isAllParts = other940.isAllParts; + __isset = other940.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other933) { - dbName = other933.dbName; - tblName = other933.tblName; - partName = other933.partName; - isAllParts = other933.isAllParts; - __isset = other933.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other941) { + dbName = other941.dbName; + tblName = other941.tblName; + partName = other941.partName; + isAllParts = other941.isAllParts; + __isset = other941.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -23409,14 +23632,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size934; - ::apache::thrift::protocol::TType _etype937; - xfer += iprot->readListBegin(_etype937, _size934); - this->functions.resize(_size934); - uint32_t _i938; - for (_i938 = 0; _i938 < _size934; ++_i938) + uint32_t _size942; + ::apache::thrift::protocol::TType _etype945; + xfer += iprot->readListBegin(_etype945, _size942); + this->functions.resize(_size942); + uint32_t _i946; + for (_i946 = 0; _i946 < _size942; ++_i946) { - xfer += this->functions[_i938].read(iprot); + xfer += this->functions[_i946].read(iprot); } xfer += iprot->readListEnd(); } @@ -23446,10 +23669,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 _iter939; - for (_iter939 = this->functions.begin(); _iter939 != this->functions.end(); ++_iter939) + std::vector ::const_iterator _iter947; + for (_iter947 = this->functions.begin(); _iter947 != this->functions.end(); ++_iter947) { - xfer += (*_iter939).write(oprot); + xfer += (*_iter947).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23466,13 +23689,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other940) { - functions = other940.functions; - __isset = other940.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other948) { + functions = other948.functions; + __isset = other948.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other941) { - functions = other941.functions; - __isset = other941.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other949) { + functions = other949.functions; + __isset = other949.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -23517,16 +23740,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size942; - ::apache::thrift::protocol::TType _etype945; - xfer += iprot->readListBegin(_etype945, _size942); - this->values.resize(_size942); - uint32_t _i946; - for (_i946 = 0; _i946 < _size942; ++_i946) + uint32_t _size950; + ::apache::thrift::protocol::TType _etype953; + xfer += iprot->readListBegin(_etype953, _size950); + this->values.resize(_size950); + uint32_t _i954; + for (_i954 = 0; _i954 < _size950; ++_i954) { - int32_t ecast947; - xfer += iprot->readI32(ecast947); - this->values[_i946] = (ClientCapability::type)ecast947; + int32_t ecast955; + xfer += iprot->readI32(ecast955); + this->values[_i954] = (ClientCapability::type)ecast955; } xfer += iprot->readListEnd(); } @@ -23557,10 +23780,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 _iter948; - for (_iter948 = this->values.begin(); _iter948 != this->values.end(); ++_iter948) + std::vector ::const_iterator _iter956; + for (_iter956 = this->values.begin(); _iter956 != this->values.end(); ++_iter956) { - xfer += oprot->writeI32((int32_t)(*_iter948)); + xfer += oprot->writeI32((int32_t)(*_iter956)); } xfer += oprot->writeListEnd(); } @@ -23576,11 +23799,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other949) { - values = other949.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other957) { + values = other957.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other950) { - values = other950.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other958) { + values = other958.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -23721,19 +23944,19 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other951) { - dbName = other951.dbName; - tblName = other951.tblName; - capabilities = other951.capabilities; - catName = other951.catName; - __isset = other951.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other959) { + dbName = other959.dbName; + tblName = other959.tblName; + capabilities = other959.capabilities; + catName = other959.catName; + __isset = other959.__isset; } -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other952) { - dbName = other952.dbName; - tblName = other952.tblName; - capabilities = other952.capabilities; - catName = other952.catName; - __isset = other952.__isset; +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other960) { + dbName = other960.dbName; + tblName = other960.tblName; + capabilities = other960.capabilities; + catName = other960.catName; + __isset = other960.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -23818,11 +24041,11 @@ void swap(GetTableResult &a, GetTableResult &b) { swap(a.table, b.table); } -GetTableResult::GetTableResult(const GetTableResult& other953) { - table = other953.table; +GetTableResult::GetTableResult(const GetTableResult& other961) { + table = other961.table; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other954) { - table = other954.table; +GetTableResult& GetTableResult::operator=(const GetTableResult& other962) { + table = other962.table; return *this; } void GetTableResult::printTo(std::ostream& out) const { @@ -23890,14 +24113,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size955; - ::apache::thrift::protocol::TType _etype958; - xfer += iprot->readListBegin(_etype958, _size955); - this->tblNames.resize(_size955); - uint32_t _i959; - for (_i959 = 0; _i959 < _size955; ++_i959) + uint32_t _size963; + ::apache::thrift::protocol::TType _etype966; + xfer += iprot->readListBegin(_etype966, _size963); + this->tblNames.resize(_size963); + uint32_t _i967; + for (_i967 = 0; _i967 < _size963; ++_i967) { - xfer += iprot->readString(this->tblNames[_i959]); + xfer += iprot->readString(this->tblNames[_i967]); } xfer += iprot->readListEnd(); } @@ -23949,10 +24172,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 _iter960; - for (_iter960 = this->tblNames.begin(); _iter960 != this->tblNames.end(); ++_iter960) + std::vector ::const_iterator _iter968; + for (_iter968 = this->tblNames.begin(); _iter968 != this->tblNames.end(); ++_iter968) { - xfer += oprot->writeString((*_iter960)); + xfer += oprot->writeString((*_iter968)); } xfer += oprot->writeListEnd(); } @@ -23982,19 +24205,19 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other961) { - dbName = other961.dbName; - tblNames = other961.tblNames; - capabilities = other961.capabilities; - catName = other961.catName; - __isset = other961.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other969) { + dbName = other969.dbName; + tblNames = other969.tblNames; + capabilities = other969.capabilities; + catName = other969.catName; + __isset = other969.__isset; } -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other962) { - dbName = other962.dbName; - tblNames = other962.tblNames; - capabilities = other962.capabilities; - catName = other962.catName; - __isset = other962.__isset; +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other970) { + dbName = other970.dbName; + tblNames = other970.tblNames; + capabilities = other970.capabilities; + catName = other970.catName; + __isset = other970.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -24042,14 +24265,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size963; - ::apache::thrift::protocol::TType _etype966; - xfer += iprot->readListBegin(_etype966, _size963); - this->tables.resize(_size963); - uint32_t _i967; - for (_i967 = 0; _i967 < _size963; ++_i967) + uint32_t _size971; + ::apache::thrift::protocol::TType _etype974; + xfer += iprot->readListBegin(_etype974, _size971); + this->tables.resize(_size971); + uint32_t _i975; + for (_i975 = 0; _i975 < _size971; ++_i975) { - xfer += this->tables[_i967].read(iprot); + xfer += this->tables[_i975].read(iprot); } xfer += iprot->readListEnd(); } @@ -24080,10 +24303,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 _iter968; - for (_iter968 = this->tables.begin(); _iter968 != this->tables.end(); ++_iter968) + std::vector
::const_iterator _iter976; + for (_iter976 = this->tables.begin(); _iter976 != this->tables.end(); ++_iter976) { - xfer += (*_iter968).write(oprot); + xfer += (*_iter976).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24099,11 +24322,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other969) { - tables = other969.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other977) { + tables = other977.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other970) { - tables = other970.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other978) { + tables = other978.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -24205,13 +24428,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other971) { - dataPath = other971.dataPath; - purge = other971.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other979) { + dataPath = other979.dataPath; + purge = other979.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other972) { - dataPath = other972.dataPath; - purge = other972.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other980) { + dataPath = other980.dataPath; + purge = other980.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -24271,11 +24494,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other973) { - (void) other973; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other981) { + (void) other981; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other974) { - (void) other974; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other982) { + (void) other982; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -24435,21 +24658,21 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other975) { - dbName = other975.dbName; - tableName = other975.tableName; - tableType = other975.tableType; - comments = other975.comments; - catName = other975.catName; - __isset = other975.__isset; -} -TableMeta& TableMeta::operator=(const TableMeta& other976) { - dbName = other976.dbName; - tableName = other976.tableName; - tableType = other976.tableType; - comments = other976.comments; - catName = other976.catName; - __isset = other976.__isset; +TableMeta::TableMeta(const TableMeta& other983) { + dbName = other983.dbName; + tableName = other983.tableName; + tableType = other983.tableType; + comments = other983.comments; + catName = other983.catName; + __isset = other983.__isset; +} +TableMeta& TableMeta::operator=(const TableMeta& other984) { + dbName = other984.dbName; + tableName = other984.tableName; + tableType = other984.tableType; + comments = other984.comments; + catName = other984.catName; + __isset = other984.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -24513,15 +24736,15 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size977; - ::apache::thrift::protocol::TType _etype980; - xfer += iprot->readSetBegin(_etype980, _size977); - uint32_t _i981; - for (_i981 = 0; _i981 < _size977; ++_i981) + uint32_t _size985; + ::apache::thrift::protocol::TType _etype988; + xfer += iprot->readSetBegin(_etype988, _size985); + uint32_t _i989; + for (_i989 = 0; _i989 < _size985; ++_i989) { - std::string _elem982; - xfer += iprot->readString(_elem982); - this->tablesUsed.insert(_elem982); + std::string _elem990; + xfer += iprot->readString(_elem990); + this->tablesUsed.insert(_elem990); } xfer += iprot->readSetEnd(); } @@ -24576,10 +24799,10 @@ uint32_t Materialization::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 1); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter983; - for (_iter983 = this->tablesUsed.begin(); _iter983 != this->tablesUsed.end(); ++_iter983) + std::set ::const_iterator _iter991; + for (_iter991 = this->tablesUsed.begin(); _iter991 != this->tablesUsed.end(); ++_iter991) { - xfer += oprot->writeString((*_iter983)); + xfer += oprot->writeString((*_iter991)); } xfer += oprot->writeSetEnd(); } @@ -24614,19 +24837,19 @@ void swap(Materialization &a, Materialization &b) { swap(a.__isset, b.__isset); } -Materialization::Materialization(const Materialization& other984) { - tablesUsed = other984.tablesUsed; - validTxnList = other984.validTxnList; - invalidationTime = other984.invalidationTime; - sourceTablesUpdateDeleteModified = other984.sourceTablesUpdateDeleteModified; - __isset = other984.__isset; +Materialization::Materialization(const Materialization& other992) { + tablesUsed = other992.tablesUsed; + validTxnList = other992.validTxnList; + invalidationTime = other992.invalidationTime; + sourceTablesUpdateDeleteModified = other992.sourceTablesUpdateDeleteModified; + __isset = other992.__isset; } -Materialization& Materialization::operator=(const Materialization& other985) { - tablesUsed = other985.tablesUsed; - validTxnList = other985.validTxnList; - invalidationTime = other985.invalidationTime; - sourceTablesUpdateDeleteModified = other985.sourceTablesUpdateDeleteModified; - __isset = other985.__isset; +Materialization& Materialization::operator=(const Materialization& other993) { + tablesUsed = other993.tablesUsed; + validTxnList = other993.validTxnList; + invalidationTime = other993.invalidationTime; + sourceTablesUpdateDeleteModified = other993.sourceTablesUpdateDeleteModified; + __isset = other993.__isset; return *this; } void Materialization::printTo(std::ostream& out) const { @@ -24695,9 +24918,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast986; - xfer += iprot->readI32(ecast986); - this->status = (WMResourcePlanStatus::type)ecast986; + int32_t ecast994; + xfer += iprot->readI32(ecast994); + this->status = (WMResourcePlanStatus::type)ecast994; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -24771,19 +24994,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other987) { - name = other987.name; - status = other987.status; - queryParallelism = other987.queryParallelism; - defaultPoolPath = other987.defaultPoolPath; - __isset = other987.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other995) { + name = other995.name; + status = other995.status; + queryParallelism = other995.queryParallelism; + defaultPoolPath = other995.defaultPoolPath; + __isset = other995.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other988) { - name = other988.name; - status = other988.status; - queryParallelism = other988.queryParallelism; - defaultPoolPath = other988.defaultPoolPath; - __isset = other988.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other996) { + name = other996.name; + status = other996.status; + queryParallelism = other996.queryParallelism; + defaultPoolPath = other996.defaultPoolPath; + __isset = other996.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -24862,9 +25085,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast989; - xfer += iprot->readI32(ecast989); - this->status = (WMResourcePlanStatus::type)ecast989; + int32_t ecast997; + xfer += iprot->readI32(ecast997); + this->status = (WMResourcePlanStatus::type)ecast997; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -24965,23 +25188,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other990) { - name = other990.name; - status = other990.status; - queryParallelism = other990.queryParallelism; - isSetQueryParallelism = other990.isSetQueryParallelism; - defaultPoolPath = other990.defaultPoolPath; - isSetDefaultPoolPath = other990.isSetDefaultPoolPath; - __isset = other990.__isset; -} -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other991) { - name = other991.name; - status = other991.status; - queryParallelism = other991.queryParallelism; - isSetQueryParallelism = other991.isSetQueryParallelism; - defaultPoolPath = other991.defaultPoolPath; - isSetDefaultPoolPath = other991.isSetDefaultPoolPath; - __isset = other991.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other998) { + name = other998.name; + status = other998.status; + queryParallelism = other998.queryParallelism; + isSetQueryParallelism = other998.isSetQueryParallelism; + defaultPoolPath = other998.defaultPoolPath; + isSetDefaultPoolPath = other998.isSetDefaultPoolPath; + __isset = other998.__isset; +} +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other999) { + name = other999.name; + status = other999.status; + queryParallelism = other999.queryParallelism; + isSetQueryParallelism = other999.isSetQueryParallelism; + defaultPoolPath = other999.defaultPoolPath; + isSetDefaultPoolPath = other999.isSetDefaultPoolPath; + __isset = other999.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -25146,21 +25369,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other992) { - resourcePlanName = other992.resourcePlanName; - poolPath = other992.poolPath; - allocFraction = other992.allocFraction; - queryParallelism = other992.queryParallelism; - schedulingPolicy = other992.schedulingPolicy; - __isset = other992.__isset; -} -WMPool& WMPool::operator=(const WMPool& other993) { - resourcePlanName = other993.resourcePlanName; - poolPath = other993.poolPath; - allocFraction = other993.allocFraction; - queryParallelism = other993.queryParallelism; - schedulingPolicy = other993.schedulingPolicy; - __isset = other993.__isset; +WMPool::WMPool(const WMPool& other1000) { + resourcePlanName = other1000.resourcePlanName; + poolPath = other1000.poolPath; + allocFraction = other1000.allocFraction; + queryParallelism = other1000.queryParallelism; + schedulingPolicy = other1000.schedulingPolicy; + __isset = other1000.__isset; +} +WMPool& WMPool::operator=(const WMPool& other1001) { + resourcePlanName = other1001.resourcePlanName; + poolPath = other1001.poolPath; + allocFraction = other1001.allocFraction; + queryParallelism = other1001.queryParallelism; + schedulingPolicy = other1001.schedulingPolicy; + __isset = other1001.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -25343,23 +25566,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other994) { - resourcePlanName = other994.resourcePlanName; - poolPath = other994.poolPath; - allocFraction = other994.allocFraction; - queryParallelism = other994.queryParallelism; - schedulingPolicy = other994.schedulingPolicy; - isSetSchedulingPolicy = other994.isSetSchedulingPolicy; - __isset = other994.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other995) { - resourcePlanName = other995.resourcePlanName; - poolPath = other995.poolPath; - allocFraction = other995.allocFraction; - queryParallelism = other995.queryParallelism; - schedulingPolicy = other995.schedulingPolicy; - isSetSchedulingPolicy = other995.isSetSchedulingPolicy; - __isset = other995.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other1002) { + resourcePlanName = other1002.resourcePlanName; + poolPath = other1002.poolPath; + allocFraction = other1002.allocFraction; + queryParallelism = other1002.queryParallelism; + schedulingPolicy = other1002.schedulingPolicy; + isSetSchedulingPolicy = other1002.isSetSchedulingPolicy; + __isset = other1002.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other1003) { + resourcePlanName = other1003.resourcePlanName; + poolPath = other1003.poolPath; + allocFraction = other1003.allocFraction; + queryParallelism = other1003.queryParallelism; + schedulingPolicy = other1003.schedulingPolicy; + isSetSchedulingPolicy = other1003.isSetSchedulingPolicy; + __isset = other1003.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -25524,21 +25747,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other996) { - resourcePlanName = other996.resourcePlanName; - triggerName = other996.triggerName; - triggerExpression = other996.triggerExpression; - actionExpression = other996.actionExpression; - isInUnmanaged = other996.isInUnmanaged; - __isset = other996.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other997) { - resourcePlanName = other997.resourcePlanName; - triggerName = other997.triggerName; - triggerExpression = other997.triggerExpression; - actionExpression = other997.actionExpression; - isInUnmanaged = other997.isInUnmanaged; - __isset = other997.__isset; +WMTrigger::WMTrigger(const WMTrigger& other1004) { + resourcePlanName = other1004.resourcePlanName; + triggerName = other1004.triggerName; + triggerExpression = other1004.triggerExpression; + actionExpression = other1004.actionExpression; + isInUnmanaged = other1004.isInUnmanaged; + __isset = other1004.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other1005) { + resourcePlanName = other1005.resourcePlanName; + triggerName = other1005.triggerName; + triggerExpression = other1005.triggerExpression; + actionExpression = other1005.actionExpression; + isInUnmanaged = other1005.isInUnmanaged; + __isset = other1005.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -25703,21 +25926,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other998) { - resourcePlanName = other998.resourcePlanName; - entityType = other998.entityType; - entityName = other998.entityName; - poolPath = other998.poolPath; - ordering = other998.ordering; - __isset = other998.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other999) { - resourcePlanName = other999.resourcePlanName; - entityType = other999.entityType; - entityName = other999.entityName; - poolPath = other999.poolPath; - ordering = other999.ordering; - __isset = other999.__isset; +WMMapping::WMMapping(const WMMapping& other1006) { + resourcePlanName = other1006.resourcePlanName; + entityType = other1006.entityType; + entityName = other1006.entityName; + poolPath = other1006.poolPath; + ordering = other1006.ordering; + __isset = other1006.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other1007) { + resourcePlanName = other1007.resourcePlanName; + entityType = other1007.entityType; + entityName = other1007.entityName; + poolPath = other1007.poolPath; + ordering = other1007.ordering; + __isset = other1007.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -25823,13 +26046,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1000) { - pool = other1000.pool; - trigger = other1000.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1008) { + pool = other1008.pool; + trigger = other1008.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1001) { - pool = other1001.pool; - trigger = other1001.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1009) { + pool = other1009.pool; + trigger = other1009.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -25903,14 +26126,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size1002; - ::apache::thrift::protocol::TType _etype1005; - xfer += iprot->readListBegin(_etype1005, _size1002); - this->pools.resize(_size1002); - uint32_t _i1006; - for (_i1006 = 0; _i1006 < _size1002; ++_i1006) + uint32_t _size1010; + ::apache::thrift::protocol::TType _etype1013; + xfer += iprot->readListBegin(_etype1013, _size1010); + this->pools.resize(_size1010); + uint32_t _i1014; + for (_i1014 = 0; _i1014 < _size1010; ++_i1014) { - xfer += this->pools[_i1006].read(iprot); + xfer += this->pools[_i1014].read(iprot); } xfer += iprot->readListEnd(); } @@ -25923,14 +26146,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size1007; - ::apache::thrift::protocol::TType _etype1010; - xfer += iprot->readListBegin(_etype1010, _size1007); - this->mappings.resize(_size1007); - uint32_t _i1011; - for (_i1011 = 0; _i1011 < _size1007; ++_i1011) + uint32_t _size1015; + ::apache::thrift::protocol::TType _etype1018; + xfer += iprot->readListBegin(_etype1018, _size1015); + this->mappings.resize(_size1015); + uint32_t _i1019; + for (_i1019 = 0; _i1019 < _size1015; ++_i1019) { - xfer += this->mappings[_i1011].read(iprot); + xfer += this->mappings[_i1019].read(iprot); } xfer += iprot->readListEnd(); } @@ -25943,14 +26166,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1012; - ::apache::thrift::protocol::TType _etype1015; - xfer += iprot->readListBegin(_etype1015, _size1012); - this->triggers.resize(_size1012); - uint32_t _i1016; - for (_i1016 = 0; _i1016 < _size1012; ++_i1016) + uint32_t _size1020; + ::apache::thrift::protocol::TType _etype1023; + xfer += iprot->readListBegin(_etype1023, _size1020); + this->triggers.resize(_size1020); + uint32_t _i1024; + for (_i1024 = 0; _i1024 < _size1020; ++_i1024) { - xfer += this->triggers[_i1016].read(iprot); + xfer += this->triggers[_i1024].read(iprot); } xfer += iprot->readListEnd(); } @@ -25963,14 +26186,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size1017; - ::apache::thrift::protocol::TType _etype1020; - xfer += iprot->readListBegin(_etype1020, _size1017); - this->poolTriggers.resize(_size1017); - uint32_t _i1021; - for (_i1021 = 0; _i1021 < _size1017; ++_i1021) + uint32_t _size1025; + ::apache::thrift::protocol::TType _etype1028; + xfer += iprot->readListBegin(_etype1028, _size1025); + this->poolTriggers.resize(_size1025); + uint32_t _i1029; + for (_i1029 = 0; _i1029 < _size1025; ++_i1029) { - xfer += this->poolTriggers[_i1021].read(iprot); + xfer += this->poolTriggers[_i1029].read(iprot); } xfer += iprot->readListEnd(); } @@ -26007,10 +26230,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 _iter1022; - for (_iter1022 = this->pools.begin(); _iter1022 != this->pools.end(); ++_iter1022) + std::vector ::const_iterator _iter1030; + for (_iter1030 = this->pools.begin(); _iter1030 != this->pools.end(); ++_iter1030) { - xfer += (*_iter1022).write(oprot); + xfer += (*_iter1030).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26020,10 +26243,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 _iter1023; - for (_iter1023 = this->mappings.begin(); _iter1023 != this->mappings.end(); ++_iter1023) + std::vector ::const_iterator _iter1031; + for (_iter1031 = this->mappings.begin(); _iter1031 != this->mappings.end(); ++_iter1031) { - xfer += (*_iter1023).write(oprot); + xfer += (*_iter1031).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26033,10 +26256,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 _iter1024; - for (_iter1024 = this->triggers.begin(); _iter1024 != this->triggers.end(); ++_iter1024) + std::vector ::const_iterator _iter1032; + for (_iter1032 = this->triggers.begin(); _iter1032 != this->triggers.end(); ++_iter1032) { - xfer += (*_iter1024).write(oprot); + xfer += (*_iter1032).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26046,10 +26269,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 _iter1025; - for (_iter1025 = this->poolTriggers.begin(); _iter1025 != this->poolTriggers.end(); ++_iter1025) + std::vector ::const_iterator _iter1033; + for (_iter1033 = this->poolTriggers.begin(); _iter1033 != this->poolTriggers.end(); ++_iter1033) { - xfer += (*_iter1025).write(oprot); + xfer += (*_iter1033).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26070,21 +26293,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1026) { - plan = other1026.plan; - pools = other1026.pools; - mappings = other1026.mappings; - triggers = other1026.triggers; - poolTriggers = other1026.poolTriggers; - __isset = other1026.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1027) { - plan = other1027.plan; - pools = other1027.pools; - mappings = other1027.mappings; - triggers = other1027.triggers; - poolTriggers = other1027.poolTriggers; - __isset = other1027.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1034) { + plan = other1034.plan; + pools = other1034.pools; + mappings = other1034.mappings; + triggers = other1034.triggers; + poolTriggers = other1034.poolTriggers; + __isset = other1034.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1035) { + plan = other1035.plan; + pools = other1035.pools; + mappings = other1035.mappings; + triggers = other1035.triggers; + poolTriggers = other1035.poolTriggers; + __isset = other1035.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -26189,15 +26412,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1028) { - resourcePlan = other1028.resourcePlan; - copyFrom = other1028.copyFrom; - __isset = other1028.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1036) { + resourcePlan = other1036.resourcePlan; + copyFrom = other1036.copyFrom; + __isset = other1036.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1029) { - resourcePlan = other1029.resourcePlan; - copyFrom = other1029.copyFrom; - __isset = other1029.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1037) { + resourcePlan = other1037.resourcePlan; + copyFrom = other1037.copyFrom; + __isset = other1037.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -26257,11 +26480,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1030) { - (void) other1030; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1038) { + (void) other1038; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1031) { - (void) other1031; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1039) { + (void) other1039; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -26319,11 +26542,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1032) { - (void) other1032; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1040) { + (void) other1040; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1033) { - (void) other1033; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1041) { + (void) other1041; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -26404,13 +26627,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1034) { - resourcePlan = other1034.resourcePlan; - __isset = other1034.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1042) { + resourcePlan = other1042.resourcePlan; + __isset = other1042.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1035) { - resourcePlan = other1035.resourcePlan; - __isset = other1035.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1043) { + resourcePlan = other1043.resourcePlan; + __isset = other1043.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -26492,13 +26715,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1036) { - resourcePlanName = other1036.resourcePlanName; - __isset = other1036.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1044) { + resourcePlanName = other1044.resourcePlanName; + __isset = other1044.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1037) { - resourcePlanName = other1037.resourcePlanName; - __isset = other1037.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1045) { + resourcePlanName = other1045.resourcePlanName; + __isset = other1045.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -26580,13 +26803,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1038) { - resourcePlan = other1038.resourcePlan; - __isset = other1038.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1046) { + resourcePlan = other1046.resourcePlan; + __isset = other1046.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1039) { - resourcePlan = other1039.resourcePlan; - __isset = other1039.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1047) { + resourcePlan = other1047.resourcePlan; + __isset = other1047.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -26645,11 +26868,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1040) { - (void) other1040; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1048) { + (void) other1048; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1041) { - (void) other1041; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1049) { + (void) other1049; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -26693,14 +26916,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size1042; - ::apache::thrift::protocol::TType _etype1045; - xfer += iprot->readListBegin(_etype1045, _size1042); - this->resourcePlans.resize(_size1042); - uint32_t _i1046; - for (_i1046 = 0; _i1046 < _size1042; ++_i1046) + uint32_t _size1050; + ::apache::thrift::protocol::TType _etype1053; + xfer += iprot->readListBegin(_etype1053, _size1050); + this->resourcePlans.resize(_size1050); + uint32_t _i1054; + for (_i1054 = 0; _i1054 < _size1050; ++_i1054) { - xfer += this->resourcePlans[_i1046].read(iprot); + xfer += this->resourcePlans[_i1054].read(iprot); } xfer += iprot->readListEnd(); } @@ -26730,10 +26953,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 _iter1047; - for (_iter1047 = this->resourcePlans.begin(); _iter1047 != this->resourcePlans.end(); ++_iter1047) + std::vector ::const_iterator _iter1055; + for (_iter1055 = this->resourcePlans.begin(); _iter1055 != this->resourcePlans.end(); ++_iter1055) { - xfer += (*_iter1047).write(oprot); + xfer += (*_iter1055).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26750,13 +26973,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1048) { - resourcePlans = other1048.resourcePlans; - __isset = other1048.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1056) { + resourcePlans = other1056.resourcePlans; + __isset = other1056.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1049) { - resourcePlans = other1049.resourcePlans; - __isset = other1049.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1057) { + resourcePlans = other1057.resourcePlans; + __isset = other1057.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -26914,21 +27137,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1050) { - resourcePlanName = other1050.resourcePlanName; - resourcePlan = other1050.resourcePlan; - isEnableAndActivate = other1050.isEnableAndActivate; - isForceDeactivate = other1050.isForceDeactivate; - isReplace = other1050.isReplace; - __isset = other1050.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1051) { - resourcePlanName = other1051.resourcePlanName; - resourcePlan = other1051.resourcePlan; - isEnableAndActivate = other1051.isEnableAndActivate; - isForceDeactivate = other1051.isForceDeactivate; - isReplace = other1051.isReplace; - __isset = other1051.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1058) { + resourcePlanName = other1058.resourcePlanName; + resourcePlan = other1058.resourcePlan; + isEnableAndActivate = other1058.isEnableAndActivate; + isForceDeactivate = other1058.isForceDeactivate; + isReplace = other1058.isReplace; + __isset = other1058.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1059) { + resourcePlanName = other1059.resourcePlanName; + resourcePlan = other1059.resourcePlan; + isEnableAndActivate = other1059.isEnableAndActivate; + isForceDeactivate = other1059.isForceDeactivate; + isReplace = other1059.isReplace; + __isset = other1059.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -27014,13 +27237,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1052) { - fullResourcePlan = other1052.fullResourcePlan; - __isset = other1052.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1060) { + fullResourcePlan = other1060.fullResourcePlan; + __isset = other1060.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1053) { - fullResourcePlan = other1053.fullResourcePlan; - __isset = other1053.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1061) { + fullResourcePlan = other1061.fullResourcePlan; + __isset = other1061.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -27102,13 +27325,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1054) { - resourcePlanName = other1054.resourcePlanName; - __isset = other1054.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1062) { + resourcePlanName = other1062.resourcePlanName; + __isset = other1062.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1055) { - resourcePlanName = other1055.resourcePlanName; - __isset = other1055.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1063) { + resourcePlanName = other1063.resourcePlanName; + __isset = other1063.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -27158,14 +27381,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1056; - ::apache::thrift::protocol::TType _etype1059; - xfer += iprot->readListBegin(_etype1059, _size1056); - this->errors.resize(_size1056); - uint32_t _i1060; - for (_i1060 = 0; _i1060 < _size1056; ++_i1060) + uint32_t _size1064; + ::apache::thrift::protocol::TType _etype1067; + xfer += iprot->readListBegin(_etype1067, _size1064); + this->errors.resize(_size1064); + uint32_t _i1068; + for (_i1068 = 0; _i1068 < _size1064; ++_i1068) { - xfer += iprot->readString(this->errors[_i1060]); + xfer += iprot->readString(this->errors[_i1068]); } xfer += iprot->readListEnd(); } @@ -27178,14 +27401,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1061; - ::apache::thrift::protocol::TType _etype1064; - xfer += iprot->readListBegin(_etype1064, _size1061); - this->warnings.resize(_size1061); - uint32_t _i1065; - for (_i1065 = 0; _i1065 < _size1061; ++_i1065) + uint32_t _size1069; + ::apache::thrift::protocol::TType _etype1072; + xfer += iprot->readListBegin(_etype1072, _size1069); + this->warnings.resize(_size1069); + uint32_t _i1073; + for (_i1073 = 0; _i1073 < _size1069; ++_i1073) { - xfer += iprot->readString(this->warnings[_i1065]); + xfer += iprot->readString(this->warnings[_i1073]); } xfer += iprot->readListEnd(); } @@ -27215,10 +27438,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 _iter1066; - for (_iter1066 = this->errors.begin(); _iter1066 != this->errors.end(); ++_iter1066) + std::vector ::const_iterator _iter1074; + for (_iter1074 = this->errors.begin(); _iter1074 != this->errors.end(); ++_iter1074) { - xfer += oprot->writeString((*_iter1066)); + xfer += oprot->writeString((*_iter1074)); } xfer += oprot->writeListEnd(); } @@ -27228,10 +27451,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 _iter1067; - for (_iter1067 = this->warnings.begin(); _iter1067 != this->warnings.end(); ++_iter1067) + std::vector ::const_iterator _iter1075; + for (_iter1075 = this->warnings.begin(); _iter1075 != this->warnings.end(); ++_iter1075) { - xfer += oprot->writeString((*_iter1067)); + xfer += oprot->writeString((*_iter1075)); } xfer += oprot->writeListEnd(); } @@ -27249,15 +27472,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1068) { - errors = other1068.errors; - warnings = other1068.warnings; - __isset = other1068.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1076) { + errors = other1076.errors; + warnings = other1076.warnings; + __isset = other1076.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1069) { - errors = other1069.errors; - warnings = other1069.warnings; - __isset = other1069.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1077) { + errors = other1077.errors; + warnings = other1077.warnings; + __isset = other1077.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -27340,13 +27563,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1070) { - resourcePlanName = other1070.resourcePlanName; - __isset = other1070.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1078) { + resourcePlanName = other1078.resourcePlanName; + __isset = other1078.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1071) { - resourcePlanName = other1071.resourcePlanName; - __isset = other1071.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1079) { + resourcePlanName = other1079.resourcePlanName; + __isset = other1079.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -27405,11 +27628,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1072) { - (void) other1072; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1080) { + (void) other1080; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1073) { - (void) other1073; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1081) { + (void) other1081; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -27490,13 +27713,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1074) { - trigger = other1074.trigger; - __isset = other1074.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1082) { + trigger = other1082.trigger; + __isset = other1082.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1075) { - trigger = other1075.trigger; - __isset = other1075.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1083) { + trigger = other1083.trigger; + __isset = other1083.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -27555,11 +27778,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1076) { - (void) other1076; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1084) { + (void) other1084; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1077) { - (void) other1077; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1085) { + (void) other1085; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -27640,13 +27863,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1078) { - trigger = other1078.trigger; - __isset = other1078.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1086) { + trigger = other1086.trigger; + __isset = other1086.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1079) { - trigger = other1079.trigger; - __isset = other1079.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1087) { + trigger = other1087.trigger; + __isset = other1087.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -27705,11 +27928,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1080) { - (void) other1080; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1088) { + (void) other1088; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1081) { - (void) other1081; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1089) { + (void) other1089; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -27809,15 +28032,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1082) { - resourcePlanName = other1082.resourcePlanName; - triggerName = other1082.triggerName; - __isset = other1082.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1090) { + resourcePlanName = other1090.resourcePlanName; + triggerName = other1090.triggerName; + __isset = other1090.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1083) { - resourcePlanName = other1083.resourcePlanName; - triggerName = other1083.triggerName; - __isset = other1083.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1091) { + resourcePlanName = other1091.resourcePlanName; + triggerName = other1091.triggerName; + __isset = other1091.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -27877,11 +28100,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1084) { - (void) other1084; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1092) { + (void) other1092; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1085) { - (void) other1085; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1093) { + (void) other1093; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -27962,13 +28185,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1086) { - resourcePlanName = other1086.resourcePlanName; - __isset = other1086.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1094) { + resourcePlanName = other1094.resourcePlanName; + __isset = other1094.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1087) { - resourcePlanName = other1087.resourcePlanName; - __isset = other1087.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1095) { + resourcePlanName = other1095.resourcePlanName; + __isset = other1095.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -28013,14 +28236,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1088; - ::apache::thrift::protocol::TType _etype1091; - xfer += iprot->readListBegin(_etype1091, _size1088); - this->triggers.resize(_size1088); - uint32_t _i1092; - for (_i1092 = 0; _i1092 < _size1088; ++_i1092) + uint32_t _size1096; + ::apache::thrift::protocol::TType _etype1099; + xfer += iprot->readListBegin(_etype1099, _size1096); + this->triggers.resize(_size1096); + uint32_t _i1100; + for (_i1100 = 0; _i1100 < _size1096; ++_i1100) { - xfer += this->triggers[_i1092].read(iprot); + xfer += this->triggers[_i1100].read(iprot); } xfer += iprot->readListEnd(); } @@ -28050,10 +28273,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 _iter1093; - for (_iter1093 = this->triggers.begin(); _iter1093 != this->triggers.end(); ++_iter1093) + std::vector ::const_iterator _iter1101; + for (_iter1101 = this->triggers.begin(); _iter1101 != this->triggers.end(); ++_iter1101) { - xfer += (*_iter1093).write(oprot); + xfer += (*_iter1101).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28070,13 +28293,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1094) { - triggers = other1094.triggers; - __isset = other1094.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1102) { + triggers = other1102.triggers; + __isset = other1102.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1095) { - triggers = other1095.triggers; - __isset = other1095.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1103) { + triggers = other1103.triggers; + __isset = other1103.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -28158,13 +28381,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1096) { - pool = other1096.pool; - __isset = other1096.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1104) { + pool = other1104.pool; + __isset = other1104.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1097) { - pool = other1097.pool; - __isset = other1097.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1105) { + pool = other1105.pool; + __isset = other1105.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -28223,11 +28446,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1098) { - (void) other1098; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1106) { + (void) other1106; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1099) { - (void) other1099; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1107) { + (void) other1107; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -28327,15 +28550,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1100) { - pool = other1100.pool; - poolPath = other1100.poolPath; - __isset = other1100.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1108) { + pool = other1108.pool; + poolPath = other1108.poolPath; + __isset = other1108.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1101) { - pool = other1101.pool; - poolPath = other1101.poolPath; - __isset = other1101.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1109) { + pool = other1109.pool; + poolPath = other1109.poolPath; + __isset = other1109.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -28395,11 +28618,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1102) { - (void) other1102; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1110) { + (void) other1110; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1103) { - (void) other1103; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1111) { + (void) other1111; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -28499,15 +28722,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1104) { - resourcePlanName = other1104.resourcePlanName; - poolPath = other1104.poolPath; - __isset = other1104.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1112) { + resourcePlanName = other1112.resourcePlanName; + poolPath = other1112.poolPath; + __isset = other1112.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1105) { - resourcePlanName = other1105.resourcePlanName; - poolPath = other1105.poolPath; - __isset = other1105.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1113) { + resourcePlanName = other1113.resourcePlanName; + poolPath = other1113.poolPath; + __isset = other1113.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -28567,11 +28790,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1106) { - (void) other1106; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1114) { + (void) other1114; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1107) { - (void) other1107; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1115) { + (void) other1115; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -28671,15 +28894,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1108) { - mapping = other1108.mapping; - update = other1108.update; - __isset = other1108.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1116) { + mapping = other1116.mapping; + update = other1116.update; + __isset = other1116.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1109) { - mapping = other1109.mapping; - update = other1109.update; - __isset = other1109.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1117) { + mapping = other1117.mapping; + update = other1117.update; + __isset = other1117.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -28739,11 +28962,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1110) { - (void) other1110; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1118) { + (void) other1118; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1111) { - (void) other1111; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1119) { + (void) other1119; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -28824,13 +29047,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1112) { - mapping = other1112.mapping; - __isset = other1112.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1120) { + mapping = other1120.mapping; + __isset = other1120.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1113) { - mapping = other1113.mapping; - __isset = other1113.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1121) { + mapping = other1121.mapping; + __isset = other1121.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -28889,11 +29112,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1114) { - (void) other1114; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1122) { + (void) other1122; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1115) { - (void) other1115; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1123) { + (void) other1123; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -29031,19 +29254,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1116) { - resourcePlanName = other1116.resourcePlanName; - triggerName = other1116.triggerName; - poolPath = other1116.poolPath; - drop = other1116.drop; - __isset = other1116.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1124) { + resourcePlanName = other1124.resourcePlanName; + triggerName = other1124.triggerName; + poolPath = other1124.poolPath; + drop = other1124.drop; + __isset = other1124.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1117) { - resourcePlanName = other1117.resourcePlanName; - triggerName = other1117.triggerName; - poolPath = other1117.poolPath; - drop = other1117.drop; - __isset = other1117.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1125) { + resourcePlanName = other1125.resourcePlanName; + triggerName = other1125.triggerName; + poolPath = other1125.poolPath; + drop = other1125.drop; + __isset = other1125.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -29105,11 +29328,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1118) { - (void) other1118; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1126) { + (void) other1126; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1119) { - (void) other1119; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1127) { + (void) other1127; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -29184,9 +29407,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1120; - xfer += iprot->readI32(ecast1120); - this->schemaType = (SchemaType::type)ecast1120; + int32_t ecast1128; + xfer += iprot->readI32(ecast1128); + this->schemaType = (SchemaType::type)ecast1128; this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -29218,9 +29441,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1121; - xfer += iprot->readI32(ecast1121); - this->compatibility = (SchemaCompatibility::type)ecast1121; + int32_t ecast1129; + xfer += iprot->readI32(ecast1129); + this->compatibility = (SchemaCompatibility::type)ecast1129; this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -29228,9 +29451,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1122; - xfer += iprot->readI32(ecast1122); - this->validationLevel = (SchemaValidation::type)ecast1122; + int32_t ecast1130; + xfer += iprot->readI32(ecast1130); + this->validationLevel = (SchemaValidation::type)ecast1130; this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -29334,29 +29557,29 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1123) { - schemaType = other1123.schemaType; - name = other1123.name; - catName = other1123.catName; - dbName = other1123.dbName; - compatibility = other1123.compatibility; - validationLevel = other1123.validationLevel; - canEvolve = other1123.canEvolve; - schemaGroup = other1123.schemaGroup; - description = other1123.description; - __isset = other1123.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1124) { - schemaType = other1124.schemaType; - name = other1124.name; - catName = other1124.catName; - dbName = other1124.dbName; - compatibility = other1124.compatibility; - validationLevel = other1124.validationLevel; - canEvolve = other1124.canEvolve; - schemaGroup = other1124.schemaGroup; - description = other1124.description; - __isset = other1124.__isset; +ISchema::ISchema(const ISchema& other1131) { + schemaType = other1131.schemaType; + name = other1131.name; + catName = other1131.catName; + dbName = other1131.dbName; + compatibility = other1131.compatibility; + validationLevel = other1131.validationLevel; + canEvolve = other1131.canEvolve; + schemaGroup = other1131.schemaGroup; + description = other1131.description; + __isset = other1131.__isset; +} +ISchema& ISchema::operator=(const ISchema& other1132) { + schemaType = other1132.schemaType; + name = other1132.name; + catName = other1132.catName; + dbName = other1132.dbName; + compatibility = other1132.compatibility; + validationLevel = other1132.validationLevel; + canEvolve = other1132.canEvolve; + schemaGroup = other1132.schemaGroup; + description = other1132.description; + __isset = other1132.__isset; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -29478,17 +29701,17 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1125) { - catName = other1125.catName; - dbName = other1125.dbName; - schemaName = other1125.schemaName; - __isset = other1125.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1133) { + catName = other1133.catName; + dbName = other1133.dbName; + schemaName = other1133.schemaName; + __isset = other1133.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1126) { - catName = other1126.catName; - dbName = other1126.dbName; - schemaName = other1126.schemaName; - __isset = other1126.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1134) { + catName = other1134.catName; + dbName = other1134.dbName; + schemaName = other1134.schemaName; + __isset = other1134.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -29587,15 +29810,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1127) { - name = other1127.name; - newSchema = other1127.newSchema; - __isset = other1127.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1135) { + name = other1135.name; + newSchema = other1135.newSchema; + __isset = other1135.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1128) { - name = other1128.name; - newSchema = other1128.newSchema; - __isset = other1128.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1136) { + name = other1136.name; + newSchema = other1136.newSchema; + __isset = other1136.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -29706,14 +29929,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1129; - ::apache::thrift::protocol::TType _etype1132; - xfer += iprot->readListBegin(_etype1132, _size1129); - this->cols.resize(_size1129); - uint32_t _i1133; - for (_i1133 = 0; _i1133 < _size1129; ++_i1133) + uint32_t _size1137; + ::apache::thrift::protocol::TType _etype1140; + xfer += iprot->readListBegin(_etype1140, _size1137); + this->cols.resize(_size1137); + uint32_t _i1141; + for (_i1141 = 0; _i1141 < _size1137; ++_i1141) { - xfer += this->cols[_i1133].read(iprot); + xfer += this->cols[_i1141].read(iprot); } xfer += iprot->readListEnd(); } @@ -29724,9 +29947,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1134; - xfer += iprot->readI32(ecast1134); - this->state = (SchemaVersionState::type)ecast1134; + int32_t ecast1142; + xfer += iprot->readI32(ecast1142); + this->state = (SchemaVersionState::type)ecast1142; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -29804,10 +30027,10 @@ uint32_t SchemaVersion::write(::apache::thrift::protocol::TProtocol* oprot) cons xfer += oprot->writeFieldBegin("cols", ::apache::thrift::protocol::T_LIST, 4); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->cols.size())); - std::vector ::const_iterator _iter1135; - for (_iter1135 = this->cols.begin(); _iter1135 != this->cols.end(); ++_iter1135) + std::vector ::const_iterator _iter1143; + for (_iter1143 = this->cols.begin(); _iter1143 != this->cols.end(); ++_iter1143) { - xfer += (*_iter1135).write(oprot); + xfer += (*_iter1143).write(oprot); } xfer += oprot->writeListEnd(); } @@ -29863,31 +30086,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1136) { - schema = other1136.schema; - version = other1136.version; - createdAt = other1136.createdAt; - cols = other1136.cols; - state = other1136.state; - description = other1136.description; - schemaText = other1136.schemaText; - fingerprint = other1136.fingerprint; - name = other1136.name; - serDe = other1136.serDe; - __isset = other1136.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1137) { - schema = other1137.schema; - version = other1137.version; - createdAt = other1137.createdAt; - cols = other1137.cols; - state = other1137.state; - description = other1137.description; - schemaText = other1137.schemaText; - fingerprint = other1137.fingerprint; - name = other1137.name; - serDe = other1137.serDe; - __isset = other1137.__isset; +SchemaVersion::SchemaVersion(const SchemaVersion& other1144) { + schema = other1144.schema; + version = other1144.version; + createdAt = other1144.createdAt; + cols = other1144.cols; + state = other1144.state; + description = other1144.description; + schemaText = other1144.schemaText; + fingerprint = other1144.fingerprint; + name = other1144.name; + serDe = other1144.serDe; + __isset = other1144.__isset; +} +SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1145) { + schema = other1145.schema; + version = other1145.version; + createdAt = other1145.createdAt; + cols = other1145.cols; + state = other1145.state; + description = other1145.description; + schemaText = other1145.schemaText; + fingerprint = other1145.fingerprint; + name = other1145.name; + serDe = other1145.serDe; + __isset = other1145.__isset; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -29993,15 +30216,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1138) { - schema = other1138.schema; - version = other1138.version; - __isset = other1138.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1146) { + schema = other1146.schema; + version = other1146.version; + __isset = other1146.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1139) { - schema = other1139.schema; - version = other1139.version; - __isset = other1139.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1147) { + schema = other1147.schema; + version = other1147.version; + __isset = other1147.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -30122,17 +30345,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1140) { - colName = other1140.colName; - colNamespace = other1140.colNamespace; - type = other1140.type; - __isset = other1140.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1148) { + colName = other1148.colName; + colNamespace = other1148.colNamespace; + type = other1148.type; + __isset = other1148.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1141) { - colName = other1141.colName; - colNamespace = other1141.colNamespace; - type = other1141.type; - __isset = other1141.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1149) { + colName = other1149.colName; + colNamespace = other1149.colNamespace; + type = other1149.type; + __isset = other1149.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -30178,14 +30401,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1142; - ::apache::thrift::protocol::TType _etype1145; - xfer += iprot->readListBegin(_etype1145, _size1142); - this->schemaVersions.resize(_size1142); - uint32_t _i1146; - for (_i1146 = 0; _i1146 < _size1142; ++_i1146) + uint32_t _size1150; + ::apache::thrift::protocol::TType _etype1153; + xfer += iprot->readListBegin(_etype1153, _size1150); + this->schemaVersions.resize(_size1150); + uint32_t _i1154; + for (_i1154 = 0; _i1154 < _size1150; ++_i1154) { - xfer += this->schemaVersions[_i1146].read(iprot); + xfer += this->schemaVersions[_i1154].read(iprot); } xfer += iprot->readListEnd(); } @@ -30214,10 +30437,10 @@ uint32_t FindSchemasByColsResp::write(::apache::thrift::protocol::TProtocol* opr xfer += oprot->writeFieldBegin("schemaVersions", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->schemaVersions.size())); - std::vector ::const_iterator _iter1147; - for (_iter1147 = this->schemaVersions.begin(); _iter1147 != this->schemaVersions.end(); ++_iter1147) + std::vector ::const_iterator _iter1155; + for (_iter1155 = this->schemaVersions.begin(); _iter1155 != this->schemaVersions.end(); ++_iter1155) { - xfer += (*_iter1147).write(oprot); + xfer += (*_iter1155).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30234,13 +30457,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1148) { - schemaVersions = other1148.schemaVersions; - __isset = other1148.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1156) { + schemaVersions = other1156.schemaVersions; + __isset = other1156.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1149) { - schemaVersions = other1149.schemaVersions; - __isset = other1149.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1157) { + schemaVersions = other1157.schemaVersions; + __isset = other1157.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -30337,15 +30560,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1150) { - schemaVersion = other1150.schemaVersion; - serdeName = other1150.serdeName; - __isset = other1150.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1158) { + schemaVersion = other1158.schemaVersion; + serdeName = other1158.serdeName; + __isset = other1158.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1151) { - schemaVersion = other1151.schemaVersion; - serdeName = other1151.serdeName; - __isset = other1151.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1159) { + schemaVersion = other1159.schemaVersion; + serdeName = other1159.serdeName; + __isset = other1159.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -30400,9 +30623,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1152; - xfer += iprot->readI32(ecast1152); - this->state = (SchemaVersionState::type)ecast1152; + int32_t ecast1160; + xfer += iprot->readI32(ecast1160); + this->state = (SchemaVersionState::type)ecast1160; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -30445,15 +30668,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1153) { - schemaVersion = other1153.schemaVersion; - state = other1153.state; - __isset = other1153.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1161) { + schemaVersion = other1161.schemaVersion; + state = other1161.state; + __isset = other1161.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1154) { - schemaVersion = other1154.schemaVersion; - state = other1154.state; - __isset = other1154.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1162) { + schemaVersion = other1162.schemaVersion; + state = other1162.state; + __isset = other1162.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -30534,13 +30757,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1155) { - serdeName = other1155.serdeName; - __isset = other1155.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1163) { + serdeName = other1163.serdeName; + __isset = other1163.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1156) { - serdeName = other1156.serdeName; - __isset = other1156.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1164) { + serdeName = other1164.serdeName; + __isset = other1164.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -30662,17 +30885,17 @@ void swap(RuntimeStat &a, RuntimeStat &b) { swap(a.__isset, b.__isset); } -RuntimeStat::RuntimeStat(const RuntimeStat& other1157) { - createTime = other1157.createTime; - weight = other1157.weight; - payload = other1157.payload; - __isset = other1157.__isset; +RuntimeStat::RuntimeStat(const RuntimeStat& other1165) { + createTime = other1165.createTime; + weight = other1165.weight; + payload = other1165.payload; + __isset = other1165.__isset; } -RuntimeStat& RuntimeStat::operator=(const RuntimeStat& other1158) { - createTime = other1158.createTime; - weight = other1158.weight; - payload = other1158.payload; - __isset = other1158.__isset; +RuntimeStat& RuntimeStat::operator=(const RuntimeStat& other1166) { + createTime = other1166.createTime; + weight = other1166.weight; + payload = other1166.payload; + __isset = other1166.__isset; return *this; } void RuntimeStat::printTo(std::ostream& out) const { @@ -30733,11 +30956,11 @@ void swap(GetRuntimeStatsRequest &a, GetRuntimeStatsRequest &b) { (void) b; } -GetRuntimeStatsRequest::GetRuntimeStatsRequest(const GetRuntimeStatsRequest& other1159) { - (void) other1159; +GetRuntimeStatsRequest::GetRuntimeStatsRequest(const GetRuntimeStatsRequest& other1167) { + (void) other1167; } -GetRuntimeStatsRequest& GetRuntimeStatsRequest::operator=(const GetRuntimeStatsRequest& other1160) { - (void) other1160; +GetRuntimeStatsRequest& GetRuntimeStatsRequest::operator=(const GetRuntimeStatsRequest& other1168) { + (void) other1168; return *this; } void GetRuntimeStatsRequest::printTo(std::ostream& out) const { @@ -30816,13 +31039,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1161) : TException() { - message = other1161.message; - __isset = other1161.__isset; +MetaException::MetaException(const MetaException& other1169) : TException() { + message = other1169.message; + __isset = other1169.__isset; } -MetaException& MetaException::operator=(const MetaException& other1162) { - message = other1162.message; - __isset = other1162.__isset; +MetaException& MetaException::operator=(const MetaException& other1170) { + message = other1170.message; + __isset = other1170.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -30913,13 +31136,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1163) : TException() { - message = other1163.message; - __isset = other1163.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1171) : TException() { + message = other1171.message; + __isset = other1171.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1164) { - message = other1164.message; - __isset = other1164.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1172) { + message = other1172.message; + __isset = other1172.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -31010,13 +31233,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1165) : TException() { - message = other1165.message; - __isset = other1165.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1173) : TException() { + message = other1173.message; + __isset = other1173.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1166) { - message = other1166.message; - __isset = other1166.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1174) { + message = other1174.message; + __isset = other1174.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -31107,13 +31330,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1167) : TException() { - message = other1167.message; - __isset = other1167.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1175) : TException() { + message = other1175.message; + __isset = other1175.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1168) { - message = other1168.message; - __isset = other1168.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1176) { + message = other1176.message; + __isset = other1176.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -31204,13 +31427,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1169) : TException() { - message = other1169.message; - __isset = other1169.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1177) : TException() { + message = other1177.message; + __isset = other1177.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1170) { - message = other1170.message; - __isset = other1170.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1178) { + message = other1178.message; + __isset = other1178.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -31301,13 +31524,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1171) : TException() { - message = other1171.message; - __isset = other1171.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1179) : TException() { + message = other1179.message; + __isset = other1179.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1172) { - message = other1172.message; - __isset = other1172.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1180) { + message = other1180.message; + __isset = other1180.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -31398,13 +31621,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1173) : TException() { - message = other1173.message; - __isset = other1173.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1181) : TException() { + message = other1181.message; + __isset = other1181.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1174) { - message = other1174.message; - __isset = other1174.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1182) { + message = other1182.message; + __isset = other1182.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -31495,13 +31718,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1175) : TException() { - message = other1175.message; - __isset = other1175.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1183) : TException() { + message = other1183.message; + __isset = other1183.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1176) { - message = other1176.message; - __isset = other1176.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1184) { + message = other1184.message; + __isset = other1184.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -31592,13 +31815,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1177) : TException() { - message = other1177.message; - __isset = other1177.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1185) : TException() { + message = other1185.message; + __isset = other1185.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1178) { - message = other1178.message; - __isset = other1178.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1186) { + message = other1186.message; + __isset = other1186.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -31689,13 +31912,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1179) : TException() { - message = other1179.message; - __isset = other1179.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1187) : TException() { + message = other1187.message; + __isset = other1187.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1180) { - message = other1180.message; - __isset = other1180.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1188) { + message = other1188.message; + __isset = other1188.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -31786,13 +32009,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1181) : TException() { - message = other1181.message; - __isset = other1181.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1189) : TException() { + message = other1189.message; + __isset = other1189.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1182) { - message = other1182.message; - __isset = other1182.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1190) { + message = other1190.message; + __isset = other1190.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -31883,13 +32106,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1183) : TException() { - message = other1183.message; - __isset = other1183.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1191) : TException() { + message = other1191.message; + __isset = other1191.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1184) { - message = other1184.message; - __isset = other1184.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1192) { + message = other1192.message; + __isset = other1192.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -31980,13 +32203,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1185) : TException() { - message = other1185.message; - __isset = other1185.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1193) : TException() { + message = other1193.message; + __isset = other1193.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1186) { - message = other1186.message; - __isset = other1186.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1194) { + message = other1194.message; + __isset = other1194.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -32077,13 +32300,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1187) : TException() { - message = other1187.message; - __isset = other1187.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1195) : TException() { + message = other1195.message; + __isset = other1195.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1188) { - message = other1188.message; - __isset = other1188.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1196) { + message = other1196.message; + __isset = other1196.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -32174,13 +32397,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1189) : TException() { - message = other1189.message; - __isset = other1189.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1197) : TException() { + message = other1197.message; + __isset = other1197.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1190) { - message = other1190.message; - __isset = other1190.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1198) { + message = other1198.message; + __isset = other1198.__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 cd78f58..4a56c74 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 @@ -443,6 +443,8 @@ class AbortTxnsRequest; class CommitTxnRequest; +class ReplTblWriteIdStateRequest; + class GetValidWriteIdsRequest; class TableValidWriteIds; @@ -6965,6 +6967,79 @@ inline std::ostream& operator<<(std::ostream& out, const CommitTxnRequest& obj) return out; } +typedef struct _ReplTblWriteIdStateRequest__isset { + _ReplTblWriteIdStateRequest__isset() : partNames(false) {} + bool partNames :1; +} _ReplTblWriteIdStateRequest__isset; + +class ReplTblWriteIdStateRequest { + public: + + ReplTblWriteIdStateRequest(const ReplTblWriteIdStateRequest&); + ReplTblWriteIdStateRequest& operator=(const ReplTblWriteIdStateRequest&); + ReplTblWriteIdStateRequest() : validWriteIdlist(), user(), hostName(), dbName(), tableName() { + } + + virtual ~ReplTblWriteIdStateRequest() throw(); + std::string validWriteIdlist; + std::string user; + std::string hostName; + std::string dbName; + std::string tableName; + std::vector partNames; + + _ReplTblWriteIdStateRequest__isset __isset; + + void __set_validWriteIdlist(const std::string& val); + + void __set_user(const std::string& val); + + void __set_hostName(const std::string& val); + + void __set_dbName(const std::string& val); + + void __set_tableName(const std::string& val); + + void __set_partNames(const std::vector & val); + + bool operator == (const ReplTblWriteIdStateRequest & rhs) const + { + if (!(validWriteIdlist == rhs.validWriteIdlist)) + return false; + if (!(user == rhs.user)) + return false; + if (!(hostName == rhs.hostName)) + return false; + if (!(dbName == rhs.dbName)) + return false; + if (!(tableName == rhs.tableName)) + return false; + if (__isset.partNames != rhs.__isset.partNames) + return false; + else if (__isset.partNames && !(partNames == rhs.partNames)) + return false; + return true; + } + bool operator != (const ReplTblWriteIdStateRequest &rhs) const { + return !(*this == rhs); + } + + bool operator < (const ReplTblWriteIdStateRequest & ) const; + + uint32_t read(::apache::thrift::protocol::TProtocol* iprot); + uint32_t write(::apache::thrift::protocol::TProtocol* oprot) const; + + virtual void printTo(std::ostream& out) const; +}; + +void swap(ReplTblWriteIdStateRequest &a, ReplTblWriteIdStateRequest &b); + +inline std::ostream& operator<<(std::ostream& out, const ReplTblWriteIdStateRequest& obj) +{ + obj.printTo(out); + return out; +} + class GetValidWriteIdsRequest { public: 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 6411129..1dcc870 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 @@ -816,13 +816,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AddDynamicPartition case 5: // PARTITIONNAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list692 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list692.size); - String _elem693; - for (int _i694 = 0; _i694 < _list692.size; ++_i694) + org.apache.thrift.protocol.TList _list700 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list700.size); + String _elem701; + for (int _i702 = 0; _i702 < _list700.size; ++_i702) { - _elem693 = iprot.readString(); - struct.partitionnames.add(_elem693); + _elem701 = iprot.readString(); + struct.partitionnames.add(_elem701); } iprot.readListEnd(); } @@ -872,9 +872,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 _iter695 : struct.partitionnames) + for (String _iter703 : struct.partitionnames) { - oprot.writeString(_iter695); + oprot.writeString(_iter703); } oprot.writeListEnd(); } @@ -910,9 +910,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartition oprot.writeString(struct.tablename); { oprot.writeI32(struct.partitionnames.size()); - for (String _iter696 : struct.partitionnames) + for (String _iter704 : struct.partitionnames) { - oprot.writeString(_iter696); + oprot.writeString(_iter704); } } BitSet optionals = new BitSet(); @@ -937,13 +937,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AddDynamicPartitions struct.tablename = iprot.readString(); struct.setTablenameIsSet(true); { - org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list697.size); - String _elem698; - for (int _i699 = 0; _i699 < _list697.size; ++_i699) + org.apache.thrift.protocol.TList _list705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list705.size); + String _elem706; + for (int _i707 = 0; _i707 < _list705.size; ++_i707) { - _elem698 = iprot.readString(); - struct.partitionnames.add(_elem698); + _elem706 = iprot.readString(); + struct.partitionnames.add(_elem706); } } struct.setPartitionnamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java index 5a60e95..fa33963 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsRequest.java @@ -716,13 +716,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 3: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); - struct.txnIds = new ArrayList(_list618.size); - long _elem619; - for (int _i620 = 0; _i620 < _list618.size; ++_i620) + org.apache.thrift.protocol.TList _list626 = iprot.readListBegin(); + struct.txnIds = new ArrayList(_list626.size); + long _elem627; + for (int _i628 = 0; _i628 < _list626.size; ++_i628) { - _elem619 = iprot.readI64(); - struct.txnIds.add(_elem619); + _elem627 = iprot.readI64(); + struct.txnIds.add(_elem627); } iprot.readListEnd(); } @@ -742,14 +742,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 5: // SRC_TXN_TO_WRITE_ID_LIST if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list621 = iprot.readListBegin(); - struct.srcTxnToWriteIdList = new ArrayList(_list621.size); - TxnToWriteId _elem622; - for (int _i623 = 0; _i623 < _list621.size; ++_i623) + org.apache.thrift.protocol.TList _list629 = iprot.readListBegin(); + struct.srcTxnToWriteIdList = new ArrayList(_list629.size); + TxnToWriteId _elem630; + for (int _i631 = 0; _i631 < _list629.size; ++_i631) { - _elem622 = new TxnToWriteId(); - _elem622.read(iprot); - struct.srcTxnToWriteIdList.add(_elem622); + _elem630 = new TxnToWriteId(); + _elem630.read(iprot); + struct.srcTxnToWriteIdList.add(_elem630); } iprot.readListEnd(); } @@ -786,9 +786,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txnIds.size())); - for (long _iter624 : struct.txnIds) + for (long _iter632 : struct.txnIds) { - oprot.writeI64(_iter624); + oprot.writeI64(_iter632); } oprot.writeListEnd(); } @@ -807,9 +807,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(SRC_TXN_TO_WRITE_ID_LIST_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.srcTxnToWriteIdList.size())); - for (TxnToWriteId _iter625 : struct.srcTxnToWriteIdList) + for (TxnToWriteId _iter633 : struct.srcTxnToWriteIdList) { - _iter625.write(oprot); + _iter633.write(oprot); } oprot.writeListEnd(); } @@ -849,9 +849,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI if (struct.isSetTxnIds()) { { oprot.writeI32(struct.txnIds.size()); - for (long _iter626 : struct.txnIds) + for (long _iter634 : struct.txnIds) { - oprot.writeI64(_iter626); + oprot.writeI64(_iter634); } } } @@ -861,9 +861,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI if (struct.isSetSrcTxnToWriteIdList()) { { oprot.writeI32(struct.srcTxnToWriteIdList.size()); - for (TxnToWriteId _iter627 : struct.srcTxnToWriteIdList) + for (TxnToWriteId _iter635 : struct.srcTxnToWriteIdList) { - _iter627.write(oprot); + _iter635.write(oprot); } } } @@ -879,13 +879,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteId BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list628 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txnIds = new ArrayList(_list628.size); - long _elem629; - for (int _i630 = 0; _i630 < _list628.size; ++_i630) + org.apache.thrift.protocol.TList _list636 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txnIds = new ArrayList(_list636.size); + long _elem637; + for (int _i638 = 0; _i638 < _list636.size; ++_i638) { - _elem629 = iprot.readI64(); - struct.txnIds.add(_elem629); + _elem637 = iprot.readI64(); + struct.txnIds.add(_elem637); } } struct.setTxnIdsIsSet(true); @@ -896,14 +896,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteId } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.srcTxnToWriteIdList = new ArrayList(_list631.size); - TxnToWriteId _elem632; - for (int _i633 = 0; _i633 < _list631.size; ++_i633) + org.apache.thrift.protocol.TList _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.srcTxnToWriteIdList = new ArrayList(_list639.size); + TxnToWriteId _elem640; + for (int _i641 = 0; _i641 < _list639.size; ++_i641) { - _elem632 = new TxnToWriteId(); - _elem632.read(iprot); - struct.srcTxnToWriteIdList.add(_elem632); + _elem640 = new TxnToWriteId(); + _elem640.read(iprot); + struct.srcTxnToWriteIdList.add(_elem640); } } struct.setSrcTxnToWriteIdListIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java index 7bba38c..20dc757 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AllocateTableWriteIdsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 1: // TXN_TO_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list634 = iprot.readListBegin(); - struct.txnToWriteIds = new ArrayList(_list634.size); - TxnToWriteId _elem635; - for (int _i636 = 0; _i636 < _list634.size; ++_i636) + org.apache.thrift.protocol.TList _list642 = iprot.readListBegin(); + struct.txnToWriteIds = new ArrayList(_list642.size); + TxnToWriteId _elem643; + for (int _i644 = 0; _i644 < _list642.size; ++_i644) { - _elem635 = new TxnToWriteId(); - _elem635.read(iprot); - struct.txnToWriteIds.add(_elem635); + _elem643 = new TxnToWriteId(); + _elem643.read(iprot); + struct.txnToWriteIds.add(_elem643); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AllocateTableWrite oprot.writeFieldBegin(TXN_TO_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.txnToWriteIds.size())); - for (TxnToWriteId _iter637 : struct.txnToWriteIds) + for (TxnToWriteId _iter645 : struct.txnToWriteIds) { - _iter637.write(oprot); + _iter645.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txnToWriteIds.size()); - for (TxnToWriteId _iter638 : struct.txnToWriteIds) + for (TxnToWriteId _iter646 : struct.txnToWriteIds) { - _iter638.write(oprot); + _iter646.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteIdsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.txnToWriteIds = new ArrayList(_list639.size); - TxnToWriteId _elem640; - for (int _i641 = 0; _i641 < _list639.size; ++_i641) + org.apache.thrift.protocol.TList _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.txnToWriteIds = new ArrayList(_list647.size); + TxnToWriteId _elem648; + for (int _i649 = 0; _i649 < _list647.size; ++_i649) { - _elem640 = new TxnToWriteId(); - _elem640.read(iprot); - struct.txnToWriteIds.add(_elem640); + _elem648 = new TxnToWriteId(); + _elem648.read(iprot); + struct.txnToWriteIds.add(_elem648); } } struct.setTxnToWriteIdsIsSet(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 7db0801..470a070 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 _list792 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list792.size); - long _elem793; - for (int _i794 = 0; _i794 < _list792.size; ++_i794) + org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list800.size); + long _elem801; + for (int _i802 = 0; _i802 < _list800.size; ++_i802) { - _elem793 = iprot.readI64(); - struct.fileIds.add(_elem793); + _elem801 = iprot.readI64(); + struct.fileIds.add(_elem801); } 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 _iter795 : struct.fileIds) + for (long _iter803 : struct.fileIds) { - oprot.writeI64(_iter795); + oprot.writeI64(_iter803); } 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 _iter796 : struct.fileIds) + for (long _iter804 : struct.fileIds) { - oprot.writeI64(_iter796); + oprot.writeI64(_iter804); } } } @@ -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 _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list797.size); - long _elem798; - for (int _i799 = 0; _i799 < _list797.size; ++_i799) + org.apache.thrift.protocol.TList _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list805.size); + long _elem806; + for (int _i807 = 0; _i807 < _list805.size; ++_i807) { - _elem798 = iprot.readI64(); - struct.fileIds.add(_elem798); + _elem806 = iprot.readI64(); + struct.fileIds.add(_elem806); } } 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 a83c0bb..af48583 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 _list808 = iprot.readListBegin(); - struct.values = new ArrayList(_list808.size); - ClientCapability _elem809; - for (int _i810 = 0; _i810 < _list808.size; ++_i810) + org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); + struct.values = new ArrayList(_list816.size); + ClientCapability _elem817; + for (int _i818 = 0; _i818 < _list816.size; ++_i818) { - _elem809 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem809); + _elem817 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem817); } 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 _iter811 : struct.values) + for (ClientCapability _iter819 : struct.values) { - oprot.writeI32(_iter811.getValue()); + oprot.writeI32(_iter819.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 _iter812 : struct.values) + for (ClientCapability _iter820 : struct.values) { - oprot.writeI32(_iter812.getValue()); + oprot.writeI32(_iter820.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 _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list813.size); - ClientCapability _elem814; - for (int _i815 = 0; _i815 < _list813.size; ++_i815) + org.apache.thrift.protocol.TList _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.values = new ArrayList(_list821.size); + ClientCapability _elem822; + for (int _i823 = 0; _i823 < _list821.size; ++_i823) { - _elem814 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem814); + _elem822 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem822); } } struct.setValuesIsSet(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 524a48e..31f2e14 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 _map674 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map674.size); - String _key675; - String _val676; - for (int _i677 = 0; _i677 < _map674.size; ++_i677) + org.apache.thrift.protocol.TMap _map682 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map682.size); + String _key683; + String _val684; + for (int _i685 = 0; _i685 < _map682.size; ++_i685) { - _key675 = iprot.readString(); - _val676 = iprot.readString(); - struct.properties.put(_key675, _val676); + _key683 = iprot.readString(); + _val684 = iprot.readString(); + struct.properties.put(_key683, _val684); } 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 _iter678 : struct.properties.entrySet()) + for (Map.Entry _iter686 : struct.properties.entrySet()) { - oprot.writeString(_iter678.getKey()); - oprot.writeString(_iter678.getValue()); + oprot.writeString(_iter686.getKey()); + oprot.writeString(_iter686.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 _iter679 : struct.properties.entrySet()) + for (Map.Entry _iter687 : struct.properties.entrySet()) { - oprot.writeString(_iter679.getKey()); - oprot.writeString(_iter679.getValue()); + oprot.writeString(_iter687.getKey()); + oprot.writeString(_iter687.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 _map680 = 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*_map680.size); - String _key681; - String _val682; - for (int _i683 = 0; _i683 < _map680.size; ++_i683) + org.apache.thrift.protocol.TMap _map688 = 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*_map688.size); + String _key689; + String _val690; + for (int _i691 = 0; _i691 < _map688.size; ++_i691) { - _key681 = iprot.readString(); - _val682 = iprot.readString(); - struct.properties.put(_key681, _val682); + _key689 = iprot.readString(); + _val690 = iprot.readString(); + struct.properties.put(_key689, _val690); } } 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 index 8e4144e..ab7b059 100644 --- 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 @@ -712,13 +712,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreationMetadata st case 4: // TABLES_USED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set700 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set700.size); - String _elem701; - for (int _i702 = 0; _i702 < _set700.size; ++_i702) + org.apache.thrift.protocol.TSet _set708 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set708.size); + String _elem709; + for (int _i710 = 0; _i710 < _set708.size; ++_i710) { - _elem701 = iprot.readString(); - struct.tablesUsed.add(_elem701); + _elem709 = iprot.readString(); + struct.tablesUsed.add(_elem709); } iprot.readSetEnd(); } @@ -767,9 +767,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CreationMetadata s 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 _iter703 : struct.tablesUsed) + for (String _iter711 : struct.tablesUsed) { - oprot.writeString(_iter703); + oprot.writeString(_iter711); } oprot.writeSetEnd(); } @@ -804,9 +804,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata st oprot.writeString(struct.tblName); { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter704 : struct.tablesUsed) + for (String _iter712 : struct.tablesUsed) { - oprot.writeString(_iter704); + oprot.writeString(_iter712); } } BitSet optionals = new BitSet(); @@ -829,13 +829,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreationMetadata str struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TSet _set705 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set705.size); - String _elem706; - for (int _i707 = 0; _i707 < _set705.size; ++_i707) + org.apache.thrift.protocol.TSet _set713 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set713.size); + String _elem714; + for (int _i715 = 0; _i715 < _set713.size; ++_i715) { - _elem706 = iprot.readString(); - struct.tablesUsed.add(_elem706); + _elem714 = iprot.readString(); + struct.tablesUsed.add(_elem714); } } struct.setTablesUsedIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java index bb64086..e43493e 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FindSchemasByColsResp.java @@ -350,14 +350,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FindSchemasByColsRe case 1: // SCHEMA_VERSIONS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list912 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list912.size); - SchemaVersionDescriptor _elem913; - for (int _i914 = 0; _i914 < _list912.size; ++_i914) + org.apache.thrift.protocol.TList _list920 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list920.size); + SchemaVersionDescriptor _elem921; + for (int _i922 = 0; _i922 < _list920.size; ++_i922) { - _elem913 = new SchemaVersionDescriptor(); - _elem913.read(iprot); - struct.schemaVersions.add(_elem913); + _elem921 = new SchemaVersionDescriptor(); + _elem921.read(iprot); + struct.schemaVersions.add(_elem921); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FindSchemasByColsR oprot.writeFieldBegin(SCHEMA_VERSIONS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.schemaVersions.size())); - for (SchemaVersionDescriptor _iter915 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter923 : struct.schemaVersions) { - _iter915.write(oprot); + _iter923.write(oprot); } oprot.writeListEnd(); } @@ -416,9 +416,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRe if (struct.isSetSchemaVersions()) { { oprot.writeI32(struct.schemaVersions.size()); - for (SchemaVersionDescriptor _iter916 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter924 : struct.schemaVersions) { - _iter916.write(oprot); + _iter924.write(oprot); } } } @@ -430,14 +430,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FindSchemasByColsRes BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list917.size); - SchemaVersionDescriptor _elem918; - for (int _i919 = 0; _i919 < _list917.size; ++_i919) + org.apache.thrift.protocol.TList _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.schemaVersions = new ArrayList(_list925.size); + SchemaVersionDescriptor _elem926; + for (int _i927 = 0; _i927 < _list925.size; ++_i927) { - _elem918 = new SchemaVersionDescriptor(); - _elem918.read(iprot); - struct.schemaVersions.add(_elem918); + _elem926 = new SchemaVersionDescriptor(); + _elem926.read(iprot); + struct.schemaVersions.add(_elem926); } } struct.setSchemaVersionsIsSet(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 42c9b53..7b0ec6c 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 @@ -794,13 +794,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 5: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list732 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list732.size); - String _elem733; - for (int _i734 = 0; _i734 < _list732.size; ++_i734) + org.apache.thrift.protocol.TList _list740 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list740.size); + String _elem741; + for (int _i742 = 0; _i742 < _list740.size; ++_i742) { - _elem733 = iprot.readString(); - struct.partitionVals.add(_elem733); + _elem741 = iprot.readString(); + struct.partitionVals.add(_elem741); } iprot.readListEnd(); } @@ -857,9 +857,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter735 : struct.partitionVals) + for (String _iter743 : struct.partitionVals) { - oprot.writeString(_iter735); + oprot.writeString(_iter743); } oprot.writeListEnd(); } @@ -915,9 +915,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter736 : struct.partitionVals) + for (String _iter744 : struct.partitionVals) { - oprot.writeString(_iter736); + oprot.writeString(_iter744); } } } @@ -945,13 +945,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list737.size); - String _elem738; - for (int _i739 = 0; _i739 < _list737.size; ++_i739) + org.apache.thrift.protocol.TList _list745 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list745.size); + String _elem746; + for (int _i747 = 0; _i747 < _list745.size; ++_i747) { - _elem738 = iprot.readString(); - struct.partitionVals.add(_elem738); + _elem746 = iprot.readString(); + struct.partitionVals.add(_elem746); } } struct.setPartitionValsIsSet(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 32e6543..544ba19 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 _list800 = iprot.readListBegin(); - struct.functions = new ArrayList(_list800.size); - Function _elem801; - for (int _i802 = 0; _i802 < _list800.size; ++_i802) + org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); + struct.functions = new ArrayList(_list808.size); + Function _elem809; + for (int _i810 = 0; _i810 < _list808.size; ++_i810) { - _elem801 = new Function(); - _elem801.read(iprot); - struct.functions.add(_elem801); + _elem809 = new Function(); + _elem809.read(iprot); + struct.functions.add(_elem809); } 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 _iter803 : struct.functions) + for (Function _iter811 : struct.functions) { - _iter803.write(oprot); + _iter811.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 _iter804 : struct.functions) + for (Function _iter812 : struct.functions) { - _iter804.write(oprot); + _iter812.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 _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list805.size); - Function _elem806; - for (int _i807 = 0; _i807 < _list805.size; ++_i807) + org.apache.thrift.protocol.TList _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list813.size); + Function _elem814; + for (int _i815 = 0; _i815 < _list813.size; ++_i815) { - _elem806 = new Function(); - _elem806.read(iprot); - struct.functions.add(_elem806); + _elem814 = new Function(); + _elem814.read(iprot); + struct.functions.add(_elem814); } } 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 8dab985..0a94f2f 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 _list750 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list750.size); - long _elem751; - for (int _i752 = 0; _i752 < _list750.size; ++_i752) + org.apache.thrift.protocol.TList _list758 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list758.size); + long _elem759; + for (int _i760 = 0; _i760 < _list758.size; ++_i760) { - _elem751 = iprot.readI64(); - struct.fileIds.add(_elem751); + _elem759 = iprot.readI64(); + struct.fileIds.add(_elem759); } 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 _iter753 : struct.fileIds) + for (long _iter761 : struct.fileIds) { - oprot.writeI64(_iter753); + oprot.writeI64(_iter761); } 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 _iter754 : struct.fileIds) + for (long _iter762 : struct.fileIds) { - oprot.writeI64(_iter754); + oprot.writeI64(_iter762); } } 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 _list755 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list755.size); - long _elem756; - for (int _i757 = 0; _i757 < _list755.size; ++_i757) + org.apache.thrift.protocol.TList _list763 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list763.size); + long _elem764; + for (int _i765 = 0; _i765 < _list763.size; ++_i765) { - _elem756 = iprot.readI64(); - struct.fileIds.add(_elem756); + _elem764 = iprot.readI64(); + struct.fileIds.add(_elem764); } } 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 d94ea73..e07d2e5 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 _map740 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map740.size); - long _key741; - MetadataPpdResult _val742; - for (int _i743 = 0; _i743 < _map740.size; ++_i743) + org.apache.thrift.protocol.TMap _map748 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map748.size); + long _key749; + MetadataPpdResult _val750; + for (int _i751 = 0; _i751 < _map748.size; ++_i751) { - _key741 = iprot.readI64(); - _val742 = new MetadataPpdResult(); - _val742.read(iprot); - struct.metadata.put(_key741, _val742); + _key749 = iprot.readI64(); + _val750 = new MetadataPpdResult(); + _val750.read(iprot); + struct.metadata.put(_key749, _val750); } 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 _iter744 : struct.metadata.entrySet()) + for (Map.Entry _iter752 : struct.metadata.entrySet()) { - oprot.writeI64(_iter744.getKey()); - _iter744.getValue().write(oprot); + oprot.writeI64(_iter752.getKey()); + _iter752.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 _iter745 : struct.metadata.entrySet()) + for (Map.Entry _iter753 : struct.metadata.entrySet()) { - oprot.writeI64(_iter745.getKey()); - _iter745.getValue().write(oprot); + oprot.writeI64(_iter753.getKey()); + _iter753.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 _map746 = 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*_map746.size); - long _key747; - MetadataPpdResult _val748; - for (int _i749 = 0; _i749 < _map746.size; ++_i749) + org.apache.thrift.protocol.TMap _map754 = 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*_map754.size); + long _key755; + MetadataPpdResult _val756; + for (int _i757 = 0; _i757 < _map754.size; ++_i757) { - _key747 = iprot.readI64(); - _val748 = new MetadataPpdResult(); - _val748.read(iprot); - struct.metadata.put(_key747, _val748); + _key755 = iprot.readI64(); + _val756 = new MetadataPpdResult(); + _val756.read(iprot); + struct.metadata.put(_key755, _val756); } } 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 9dfc484..ebb6639 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 _list768 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list768.size); - long _elem769; - for (int _i770 = 0; _i770 < _list768.size; ++_i770) + org.apache.thrift.protocol.TList _list776 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list776.size); + long _elem777; + for (int _i778 = 0; _i778 < _list776.size; ++_i778) { - _elem769 = iprot.readI64(); - struct.fileIds.add(_elem769); + _elem777 = iprot.readI64(); + struct.fileIds.add(_elem777); } 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 _iter771 : struct.fileIds) + for (long _iter779 : struct.fileIds) { - oprot.writeI64(_iter771); + oprot.writeI64(_iter779); } 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 _iter772 : struct.fileIds) + for (long _iter780 : struct.fileIds) { - oprot.writeI64(_iter772); + oprot.writeI64(_iter780); } } } @@ -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 _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list773.size); - long _elem774; - for (int _i775 = 0; _i775 < _list773.size; ++_i775) + org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list781.size); + long _elem782; + for (int _i783 = 0; _i783 < _list781.size; ++_i783) { - _elem774 = iprot.readI64(); - struct.fileIds.add(_elem774); + _elem782 = iprot.readI64(); + struct.fileIds.add(_elem782); } } 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 d454340..67981cd 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 _map758 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map758.size); - long _key759; - ByteBuffer _val760; - for (int _i761 = 0; _i761 < _map758.size; ++_i761) + org.apache.thrift.protocol.TMap _map766 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map766.size); + long _key767; + ByteBuffer _val768; + for (int _i769 = 0; _i769 < _map766.size; ++_i769) { - _key759 = iprot.readI64(); - _val760 = iprot.readBinary(); - struct.metadata.put(_key759, _val760); + _key767 = iprot.readI64(); + _val768 = iprot.readBinary(); + struct.metadata.put(_key767, _val768); } 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 _iter762 : struct.metadata.entrySet()) + for (Map.Entry _iter770 : struct.metadata.entrySet()) { - oprot.writeI64(_iter762.getKey()); - oprot.writeBinary(_iter762.getValue()); + oprot.writeI64(_iter770.getKey()); + oprot.writeBinary(_iter770.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 _iter763 : struct.metadata.entrySet()) + for (Map.Entry _iter771 : struct.metadata.entrySet()) { - oprot.writeI64(_iter763.getKey()); - oprot.writeBinary(_iter763.getValue()); + oprot.writeI64(_iter771.getKey()); + oprot.writeBinary(_iter771.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 _map764 = 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*_map764.size); - long _key765; - ByteBuffer _val766; - for (int _i767 = 0; _i767 < _map764.size; ++_i767) + org.apache.thrift.protocol.TMap _map772 = 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*_map772.size); + long _key773; + ByteBuffer _val774; + for (int _i775 = 0; _i775 < _map772.size; ++_i775) { - _key765 = iprot.readI64(); - _val766 = iprot.readBinary(); - struct.metadata.put(_key765, _val766); + _key773 = iprot.readI64(); + _val774 = iprot.readBinary(); + struct.metadata.put(_key773, _val774); } } struct.setMetadataIsSet(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 f2be7ec..6a78b77 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 @@ -606,13 +606,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesRequest st case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list816.size); - String _elem817; - for (int _i818 = 0; _i818 < _list816.size; ++_i818) + org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list824.size); + String _elem825; + for (int _i826 = 0; _i826 < _list824.size; ++_i826) { - _elem817 = iprot.readString(); - struct.tblNames.add(_elem817); + _elem825 = iprot.readString(); + struct.tblNames.add(_elem825); } iprot.readListEnd(); } @@ -661,9 +661,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesRequest s oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tblNames.size())); - for (String _iter819 : struct.tblNames) + for (String _iter827 : struct.tblNames) { - oprot.writeString(_iter819); + oprot.writeString(_iter827); } oprot.writeListEnd(); } @@ -716,9 +716,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetTblNames()) { { oprot.writeI32(struct.tblNames.size()); - for (String _iter820 : struct.tblNames) + for (String _iter828 : struct.tblNames) { - oprot.writeString(_iter820); + oprot.writeString(_iter828); } } } @@ -738,13 +738,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list821.size); - String _elem822; - for (int _i823 = 0; _i823 < _list821.size; ++_i823) + org.apache.thrift.protocol.TList _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list829.size); + String _elem830; + for (int _i831 = 0; _i831 < _list829.size; ++_i831) { - _elem822 = iprot.readString(); - struct.tblNames.add(_elem822); + _elem830 = iprot.readString(); + struct.tblNames.add(_elem830); } } 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 371757a..13be2ed 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 _list824 = iprot.readListBegin(); - struct.tables = new ArrayList
(_list824.size); - Table _elem825; - for (int _i826 = 0; _i826 < _list824.size; ++_i826) + org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list832.size); + Table _elem833; + for (int _i834 = 0; _i834 < _list832.size; ++_i834) { - _elem825 = new Table(); - _elem825.read(iprot); - struct.tables.add(_elem825); + _elem833 = new Table(); + _elem833.read(iprot); + struct.tables.add(_elem833); } 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 _iter827 : struct.tables) + for (Table _iter835 : struct.tables) { - _iter827.write(oprot); + _iter835.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 _iter828 : struct.tables) + for (Table _iter836 : struct.tables) { - _iter828.write(oprot); + _iter836.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 _list829 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list829.size); - Table _elem830; - for (int _i831 = 0; _i831 < _list829.size; ++_i831) + org.apache.thrift.protocol.TList _list837 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list837.size); + Table _elem838; + for (int _i839 = 0; _i839 < _list837.size; ++_i839) { - _elem830 = new Table(); - _elem830.read(iprot); - struct.tables.add(_elem830); + _elem838 = new Table(); + _elem838.read(iprot); + struct.tables.add(_elem838); } } struct.setTablesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java index 58c608a..27b6cf8 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsRequest.java @@ -436,13 +436,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidWriteIdsReq case 1: // FULL_TABLE_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); - struct.fullTableNames = new ArrayList(_list594.size); - String _elem595; - for (int _i596 = 0; _i596 < _list594.size; ++_i596) + org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); + struct.fullTableNames = new ArrayList(_list602.size); + String _elem603; + for (int _i604 = 0; _i604 < _list602.size; ++_i604) { - _elem595 = iprot.readString(); - struct.fullTableNames.add(_elem595); + _elem603 = iprot.readString(); + struct.fullTableNames.add(_elem603); } iprot.readListEnd(); } @@ -476,9 +476,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidWriteIdsRe oprot.writeFieldBegin(FULL_TABLE_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.fullTableNames.size())); - for (String _iter597 : struct.fullTableNames) + for (String _iter605 : struct.fullTableNames) { - oprot.writeString(_iter597); + oprot.writeString(_iter605); } oprot.writeListEnd(); } @@ -508,9 +508,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsReq TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fullTableNames.size()); - for (String _iter598 : struct.fullTableNames) + for (String _iter606 : struct.fullTableNames) { - oprot.writeString(_iter598); + oprot.writeString(_iter606); } } oprot.writeString(struct.validTxnList); @@ -520,13 +520,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsReq public void read(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fullTableNames = new ArrayList(_list599.size); - String _elem600; - for (int _i601 = 0; _i601 < _list599.size; ++_i601) + org.apache.thrift.protocol.TList _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.fullTableNames = new ArrayList(_list607.size); + String _elem608; + for (int _i609 = 0; _i609 < _list607.size; ++_i609) { - _elem600 = iprot.readString(); - struct.fullTableNames.add(_elem600); + _elem608 = iprot.readString(); + struct.fullTableNames.add(_elem608); } } struct.setFullTableNamesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java index 86bc346..7a1bbc7 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetValidWriteIdsResponse.java @@ -354,14 +354,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetValidWriteIdsRes case 1: // TBL_VALID_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); - struct.tblValidWriteIds = new ArrayList(_list610.size); - TableValidWriteIds _elem611; - for (int _i612 = 0; _i612 < _list610.size; ++_i612) + org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); + struct.tblValidWriteIds = new ArrayList(_list618.size); + TableValidWriteIds _elem619; + for (int _i620 = 0; _i620 < _list618.size; ++_i620) { - _elem611 = new TableValidWriteIds(); - _elem611.read(iprot); - struct.tblValidWriteIds.add(_elem611); + _elem619 = new TableValidWriteIds(); + _elem619.read(iprot); + struct.tblValidWriteIds.add(_elem619); } iprot.readListEnd(); } @@ -387,9 +387,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetValidWriteIdsRe oprot.writeFieldBegin(TBL_VALID_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.tblValidWriteIds.size())); - for (TableValidWriteIds _iter613 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter621 : struct.tblValidWriteIds) { - _iter613.write(oprot); + _iter621.write(oprot); } oprot.writeListEnd(); } @@ -414,9 +414,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRes TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tblValidWriteIds.size()); - for (TableValidWriteIds _iter614 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter622 : struct.tblValidWriteIds) { - _iter614.write(oprot); + _iter622.write(oprot); } } } @@ -425,14 +425,14 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsRes public void read(org.apache.thrift.protocol.TProtocol prot, GetValidWriteIdsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tblValidWriteIds = new ArrayList(_list615.size); - TableValidWriteIds _elem616; - for (int _i617 = 0; _i617 < _list615.size; ++_i617) + org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tblValidWriteIds = new ArrayList(_list623.size); + TableValidWriteIds _elem624; + for (int _i625 = 0; _i625 < _list623.size; ++_i625) { - _elem616 = new TableValidWriteIds(); - _elem616.read(iprot); - struct.tblValidWriteIds.add(_elem616); + _elem624 = new TableValidWriteIds(); + _elem624.read(iprot); + struct.tblValidWriteIds.add(_elem624); } } struct.setTblValidWriteIdsIsSet(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 75ddaf6..4999215 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 _set658 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set658.size); - long _elem659; - for (int _i660 = 0; _i660 < _set658.size; ++_i660) + org.apache.thrift.protocol.TSet _set666 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set666.size); + long _elem667; + for (int _i668 = 0; _i668 < _set666.size; ++_i668) { - _elem659 = iprot.readI64(); - struct.aborted.add(_elem659); + _elem667 = iprot.readI64(); + struct.aborted.add(_elem667); } 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 _set661 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set661.size); - long _elem662; - for (int _i663 = 0; _i663 < _set661.size; ++_i663) + org.apache.thrift.protocol.TSet _set669 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set669.size); + long _elem670; + for (int _i671 = 0; _i671 < _set669.size; ++_i671) { - _elem662 = iprot.readI64(); - struct.nosuch.add(_elem662); + _elem670 = iprot.readI64(); + struct.nosuch.add(_elem670); } 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 _iter664 : struct.aborted) + for (long _iter672 : struct.aborted) { - oprot.writeI64(_iter664); + oprot.writeI64(_iter672); } 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 _iter665 : struct.nosuch) + for (long _iter673 : struct.nosuch) { - oprot.writeI64(_iter665); + oprot.writeI64(_iter673); } 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 _iter666 : struct.aborted) + for (long _iter674 : struct.aborted) { - oprot.writeI64(_iter666); + oprot.writeI64(_iter674); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter667 : struct.nosuch) + for (long _iter675 : struct.nosuch) { - oprot.writeI64(_iter667); + oprot.writeI64(_iter675); } } } @@ -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 _set668 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set668.size); - long _elem669; - for (int _i670 = 0; _i670 < _set668.size; ++_i670) + org.apache.thrift.protocol.TSet _set676 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set676.size); + long _elem677; + for (int _i678 = 0; _i678 < _set676.size; ++_i678) { - _elem669 = iprot.readI64(); - struct.aborted.add(_elem669); + _elem677 = iprot.readI64(); + struct.aborted.add(_elem677); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set671 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set671.size); - long _elem672; - for (int _i673 = 0; _i673 < _set671.size; ++_i673) + org.apache.thrift.protocol.TSet _set679 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set679.size); + long _elem680; + for (int _i681 = 0; _i681 < _set679.size; ++_i681) { - _elem672 = iprot.readI64(); - struct.nosuch.add(_elem672); + _elem680 = iprot.readI64(); + struct.nosuch.add(_elem680); } } struct.setNosuchIsSet(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 c7100a7..0a240e0 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 _list716 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list716.size); - String _elem717; - for (int _i718 = 0; _i718 < _list716.size; ++_i718) + org.apache.thrift.protocol.TList _list724 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list724.size); + String _elem725; + for (int _i726 = 0; _i726 < _list724.size; ++_i726) { - _elem717 = iprot.readString(); - struct.filesAdded.add(_elem717); + _elem725 = iprot.readString(); + struct.filesAdded.add(_elem725); } 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 _list719 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list719.size); - String _elem720; - for (int _i721 = 0; _i721 < _list719.size; ++_i721) + org.apache.thrift.protocol.TList _list727 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list727.size); + String _elem728; + for (int _i729 = 0; _i729 < _list727.size; ++_i729) { - _elem720 = iprot.readString(); - struct.filesAddedChecksum.add(_elem720); + _elem728 = iprot.readString(); + struct.filesAddedChecksum.add(_elem728); } 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 _iter722 : struct.filesAdded) + for (String _iter730 : struct.filesAdded) { - oprot.writeString(_iter722); + oprot.writeString(_iter730); } 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 _iter723 : struct.filesAddedChecksum) + for (String _iter731 : struct.filesAddedChecksum) { - oprot.writeString(_iter723); + oprot.writeString(_iter731); } 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 _iter724 : struct.filesAdded) + for (String _iter732 : struct.filesAdded) { - oprot.writeString(_iter724); + oprot.writeString(_iter732); } } 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 _iter725 : struct.filesAddedChecksum) + for (String _iter733 : struct.filesAddedChecksum) { - oprot.writeString(_iter725); + oprot.writeString(_iter733); } } } @@ -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 _list726 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list726.size); - String _elem727; - for (int _i728 = 0; _i728 < _list726.size; ++_i728) + org.apache.thrift.protocol.TList _list734 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list734.size); + String _elem735; + for (int _i736 = 0; _i736 < _list734.size; ++_i736) { - _elem727 = iprot.readString(); - struct.filesAdded.add(_elem727); + _elem735 = iprot.readString(); + struct.filesAdded.add(_elem735); } } 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 _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list729.size); - String _elem730; - for (int _i731 = 0; _i731 < _list729.size; ++_i731) + org.apache.thrift.protocol.TList _list737 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list737.size); + String _elem738; + for (int _i739 = 0; _i739 < _list737.size; ++_i739) { - _elem730 = iprot.readString(); - struct.filesAddedChecksum.add(_elem730); + _elem738 = iprot.readString(); + struct.filesAddedChecksum.add(_elem738); } } 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 d1134b5..d0dc21c 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 _list642 = iprot.readListBegin(); - struct.component = new ArrayList(_list642.size); - LockComponent _elem643; - for (int _i644 = 0; _i644 < _list642.size; ++_i644) + org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); + struct.component = new ArrayList(_list650.size); + LockComponent _elem651; + for (int _i652 = 0; _i652 < _list650.size; ++_i652) { - _elem643 = new LockComponent(); - _elem643.read(iprot); - struct.component.add(_elem643); + _elem651 = new LockComponent(); + _elem651.read(iprot); + struct.component.add(_elem651); } 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 _iter645 : struct.component) + for (LockComponent _iter653 : struct.component) { - _iter645.write(oprot); + _iter653.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 _iter646 : struct.component) + for (LockComponent _iter654 : struct.component) { - _iter646.write(oprot); + _iter654.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 _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list647.size); - LockComponent _elem648; - for (int _i649 = 0; _i649 < _list647.size; ++_i649) + org.apache.thrift.protocol.TList _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list655.size); + LockComponent _elem656; + for (int _i657 = 0; _i657 < _list655.size; ++_i657) { - _elem648 = new LockComponent(); - _elem648.read(iprot); - struct.component.add(_elem648); + _elem656 = new LockComponent(); + _elem656.read(iprot); + struct.component.add(_elem656); } } 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 403c7aa..4e792bc 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 @@ -589,13 +589,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, Materialization str case 1: // TABLES_USED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set832 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set832.size); - String _elem833; - for (int _i834 = 0; _i834 < _set832.size; ++_i834) + org.apache.thrift.protocol.TSet _set840 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set840.size); + String _elem841; + for (int _i842 = 0; _i842 < _set840.size; ++_i842) { - _elem833 = iprot.readString(); - struct.tablesUsed.add(_elem833); + _elem841 = iprot.readString(); + struct.tablesUsed.add(_elem841); } iprot.readSetEnd(); } @@ -645,9 +645,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 _iter835 : struct.tablesUsed) + for (String _iter843 : struct.tablesUsed) { - oprot.writeString(_iter835); + oprot.writeString(_iter843); } oprot.writeSetEnd(); } @@ -689,9 +689,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Materialization str TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter836 : struct.tablesUsed) + for (String _iter844 : struct.tablesUsed) { - oprot.writeString(_iter836); + oprot.writeString(_iter844); } } BitSet optionals = new BitSet(); @@ -720,13 +720,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Materialization str public void read(org.apache.thrift.protocol.TProtocol prot, Materialization struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TSet _set837 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set837.size); - String _elem838; - for (int _i839 = 0; _i839 < _set837.size; ++_i839) + org.apache.thrift.protocol.TSet _set845 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set845.size); + String _elem846; + for (int _i847 = 0; _i847 < _set845.size; ++_i847) { - _elem838 = iprot.readString(); - struct.tablesUsed.add(_elem838); + _elem846 = iprot.readString(); + struct.tablesUsed.add(_elem846); } } struct.setTablesUsedIsSet(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 baa4224..0c850fa 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 _list708 = iprot.readListBegin(); - struct.events = new ArrayList(_list708.size); - NotificationEvent _elem709; - for (int _i710 = 0; _i710 < _list708.size; ++_i710) + org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); + struct.events = new ArrayList(_list716.size); + NotificationEvent _elem717; + for (int _i718 = 0; _i718 < _list716.size; ++_i718) { - _elem709 = new NotificationEvent(); - _elem709.read(iprot); - struct.events.add(_elem709); + _elem717 = new NotificationEvent(); + _elem717.read(iprot); + struct.events.add(_elem717); } 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 _iter711 : struct.events) + for (NotificationEvent _iter719 : struct.events) { - _iter711.write(oprot); + _iter719.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 _iter712 : struct.events) + for (NotificationEvent _iter720 : struct.events) { - _iter712.write(oprot); + _iter720.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 _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list713.size); - NotificationEvent _elem714; - for (int _i715 = 0; _i715 < _list713.size; ++_i715) + org.apache.thrift.protocol.TList _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list721.size); + NotificationEvent _elem722; + for (int _i723 = 0; _i723 < _list721.size; ++_i723) { - _elem714 = new NotificationEvent(); - _elem714.read(iprot); - struct.events.add(_elem714); + _elem722 = new NotificationEvent(); + _elem722.read(iprot); + struct.events.add(_elem722); } } struct.setEventsIsSet(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 ad42dbe..77c260d 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 _list776 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list776.size); - long _elem777; - for (int _i778 = 0; _i778 < _list776.size; ++_i778) + org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list784.size); + long _elem785; + for (int _i786 = 0; _i786 < _list784.size; ++_i786) { - _elem777 = iprot.readI64(); - struct.fileIds.add(_elem777); + _elem785 = iprot.readI64(); + struct.fileIds.add(_elem785); } 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 _list779 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list779.size); - ByteBuffer _elem780; - for (int _i781 = 0; _i781 < _list779.size; ++_i781) + org.apache.thrift.protocol.TList _list787 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list787.size); + ByteBuffer _elem788; + for (int _i789 = 0; _i789 < _list787.size; ++_i789) { - _elem780 = iprot.readBinary(); - struct.metadata.add(_elem780); + _elem788 = iprot.readBinary(); + struct.metadata.add(_elem788); } 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 _iter782 : struct.fileIds) + for (long _iter790 : struct.fileIds) { - oprot.writeI64(_iter782); + oprot.writeI64(_iter790); } 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 _iter783 : struct.metadata) + for (ByteBuffer _iter791 : struct.metadata) { - oprot.writeBinary(_iter783); + oprot.writeBinary(_iter791); } 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 _iter784 : struct.fileIds) + for (long _iter792 : struct.fileIds) { - oprot.writeI64(_iter784); + oprot.writeI64(_iter792); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter785 : struct.metadata) + for (ByteBuffer _iter793 : struct.metadata) { - oprot.writeBinary(_iter785); + oprot.writeBinary(_iter793); } } 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 _list786 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list786.size); - long _elem787; - for (int _i788 = 0; _i788 < _list786.size; ++_i788) + org.apache.thrift.protocol.TList _list794 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list794.size); + long _elem795; + for (int _i796 = 0; _i796 < _list794.size; ++_i796) { - _elem787 = iprot.readI64(); - struct.fileIds.add(_elem787); + _elem795 = iprot.readI64(); + struct.fileIds.add(_elem795); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list789.size); - ByteBuffer _elem790; - for (int _i791 = 0; _i791 < _list789.size; ++_i791) + org.apache.thrift.protocol.TList _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list797.size); + ByteBuffer _elem798; + for (int _i799 = 0; _i799 < _list797.size; ++_i799) { - _elem790 = iprot.readBinary(); - struct.metadata.add(_elem790); + _elem798 = iprot.readBinary(); + struct.metadata.add(_elem798); } } struct.setMetadataIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java new file mode 100644 index 0000000..97bb8a4 --- /dev/null +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java @@ -0,0 +1,952 @@ +/** + * 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 ReplTblWriteIdStateRequest 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("ReplTblWriteIdStateRequest"); + + private static final org.apache.thrift.protocol.TField VALID_WRITE_IDLIST_FIELD_DESC = new org.apache.thrift.protocol.TField("validWriteIdlist", org.apache.thrift.protocol.TType.STRING, (short)1); + private static final org.apache.thrift.protocol.TField USER_FIELD_DESC = new org.apache.thrift.protocol.TField("user", org.apache.thrift.protocol.TType.STRING, (short)2); + private static final org.apache.thrift.protocol.TField HOST_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("hostName", org.apache.thrift.protocol.TType.STRING, (short)3); + 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)4); + private static final org.apache.thrift.protocol.TField TABLE_NAME_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 PART_NAMES_FIELD_DESC = new org.apache.thrift.protocol.TField("partNames", org.apache.thrift.protocol.TType.LIST, (short)6); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new ReplTblWriteIdStateRequestStandardSchemeFactory()); + schemes.put(TupleScheme.class, new ReplTblWriteIdStateRequestTupleSchemeFactory()); + } + + private String validWriteIdlist; // required + private String user; // required + private String hostName; // required + private String dbName; // required + private String tableName; // required + private List partNames; // 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 { + VALID_WRITE_IDLIST((short)1, "validWriteIdlist"), + USER((short)2, "user"), + HOST_NAME((short)3, "hostName"), + DB_NAME((short)4, "dbName"), + TABLE_NAME((short)5, "tableName"), + PART_NAMES((short)6, "partNames"); + + 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: // VALID_WRITE_IDLIST + return VALID_WRITE_IDLIST; + case 2: // USER + return USER; + case 3: // HOST_NAME + return HOST_NAME; + case 4: // DB_NAME + return DB_NAME; + case 5: // TABLE_NAME + return TABLE_NAME; + case 6: // PART_NAMES + return PART_NAMES; + 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.PART_NAMES}; + 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.VALID_WRITE_IDLIST, new org.apache.thrift.meta_data.FieldMetaData("validWriteIdlist", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.USER, new org.apache.thrift.meta_data.FieldMetaData("user", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.HOST_NAME, new org.apache.thrift.meta_data.FieldMetaData("hostName", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + 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.TABLE_NAME, new org.apache.thrift.meta_data.FieldMetaData("tableName", org.apache.thrift.TFieldRequirementType.REQUIRED, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.PART_NAMES, new org.apache.thrift.meta_data.FieldMetaData("partNames", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(ReplTblWriteIdStateRequest.class, metaDataMap); + } + + public ReplTblWriteIdStateRequest() { + } + + public ReplTblWriteIdStateRequest( + String validWriteIdlist, + String user, + String hostName, + String dbName, + String tableName) + { + this(); + this.validWriteIdlist = validWriteIdlist; + this.user = user; + this.hostName = hostName; + this.dbName = dbName; + this.tableName = tableName; + } + + /** + * Performs a deep copy on other. + */ + public ReplTblWriteIdStateRequest(ReplTblWriteIdStateRequest other) { + if (other.isSetValidWriteIdlist()) { + this.validWriteIdlist = other.validWriteIdlist; + } + if (other.isSetUser()) { + this.user = other.user; + } + if (other.isSetHostName()) { + this.hostName = other.hostName; + } + if (other.isSetDbName()) { + this.dbName = other.dbName; + } + if (other.isSetTableName()) { + this.tableName = other.tableName; + } + if (other.isSetPartNames()) { + List __this__partNames = new ArrayList(other.partNames); + this.partNames = __this__partNames; + } + } + + public ReplTblWriteIdStateRequest deepCopy() { + return new ReplTblWriteIdStateRequest(this); + } + + @Override + public void clear() { + this.validWriteIdlist = null; + this.user = null; + this.hostName = null; + this.dbName = null; + this.tableName = null; + this.partNames = null; + } + + public String getValidWriteIdlist() { + return this.validWriteIdlist; + } + + public void setValidWriteIdlist(String validWriteIdlist) { + this.validWriteIdlist = validWriteIdlist; + } + + public void unsetValidWriteIdlist() { + this.validWriteIdlist = null; + } + + /** Returns true if field validWriteIdlist is set (has been assigned a value) and false otherwise */ + public boolean isSetValidWriteIdlist() { + return this.validWriteIdlist != null; + } + + public void setValidWriteIdlistIsSet(boolean value) { + if (!value) { + this.validWriteIdlist = null; + } + } + + public String getUser() { + return this.user; + } + + public void setUser(String user) { + this.user = user; + } + + public void unsetUser() { + this.user = null; + } + + /** Returns true if field user is set (has been assigned a value) and false otherwise */ + public boolean isSetUser() { + return this.user != null; + } + + public void setUserIsSet(boolean value) { + if (!value) { + this.user = null; + } + } + + public String getHostName() { + return this.hostName; + } + + public void setHostName(String hostName) { + this.hostName = hostName; + } + + public void unsetHostName() { + this.hostName = null; + } + + /** Returns true if field hostName is set (has been assigned a value) and false otherwise */ + public boolean isSetHostName() { + return this.hostName != null; + } + + public void setHostNameIsSet(boolean value) { + if (!value) { + this.hostName = 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 getTableName() { + return this.tableName; + } + + public void setTableName(String tableName) { + this.tableName = tableName; + } + + public void unsetTableName() { + this.tableName = null; + } + + /** Returns true if field tableName is set (has been assigned a value) and false otherwise */ + public boolean isSetTableName() { + return this.tableName != null; + } + + public void setTableNameIsSet(boolean value) { + if (!value) { + this.tableName = null; + } + } + + public int getPartNamesSize() { + return (this.partNames == null) ? 0 : this.partNames.size(); + } + + public java.util.Iterator getPartNamesIterator() { + return (this.partNames == null) ? null : this.partNames.iterator(); + } + + public void addToPartNames(String elem) { + if (this.partNames == null) { + this.partNames = new ArrayList(); + } + this.partNames.add(elem); + } + + public List getPartNames() { + return this.partNames; + } + + public void setPartNames(List partNames) { + this.partNames = partNames; + } + + public void unsetPartNames() { + this.partNames = null; + } + + /** Returns true if field partNames is set (has been assigned a value) and false otherwise */ + public boolean isSetPartNames() { + return this.partNames != null; + } + + public void setPartNamesIsSet(boolean value) { + if (!value) { + this.partNames = null; + } + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case VALID_WRITE_IDLIST: + if (value == null) { + unsetValidWriteIdlist(); + } else { + setValidWriteIdlist((String)value); + } + break; + + case USER: + if (value == null) { + unsetUser(); + } else { + setUser((String)value); + } + break; + + case HOST_NAME: + if (value == null) { + unsetHostName(); + } else { + setHostName((String)value); + } + break; + + case DB_NAME: + if (value == null) { + unsetDbName(); + } else { + setDbName((String)value); + } + break; + + case TABLE_NAME: + if (value == null) { + unsetTableName(); + } else { + setTableName((String)value); + } + break; + + case PART_NAMES: + if (value == null) { + unsetPartNames(); + } else { + setPartNames((List)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case VALID_WRITE_IDLIST: + return getValidWriteIdlist(); + + case USER: + return getUser(); + + case HOST_NAME: + return getHostName(); + + case DB_NAME: + return getDbName(); + + case TABLE_NAME: + return getTableName(); + + case PART_NAMES: + return getPartNames(); + + } + 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 VALID_WRITE_IDLIST: + return isSetValidWriteIdlist(); + case USER: + return isSetUser(); + case HOST_NAME: + return isSetHostName(); + case DB_NAME: + return isSetDbName(); + case TABLE_NAME: + return isSetTableName(); + case PART_NAMES: + return isSetPartNames(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof ReplTblWriteIdStateRequest) + return this.equals((ReplTblWriteIdStateRequest)that); + return false; + } + + public boolean equals(ReplTblWriteIdStateRequest that) { + if (that == null) + return false; + + boolean this_present_validWriteIdlist = true && this.isSetValidWriteIdlist(); + boolean that_present_validWriteIdlist = true && that.isSetValidWriteIdlist(); + if (this_present_validWriteIdlist || that_present_validWriteIdlist) { + if (!(this_present_validWriteIdlist && that_present_validWriteIdlist)) + return false; + if (!this.validWriteIdlist.equals(that.validWriteIdlist)) + return false; + } + + boolean this_present_user = true && this.isSetUser(); + boolean that_present_user = true && that.isSetUser(); + if (this_present_user || that_present_user) { + if (!(this_present_user && that_present_user)) + return false; + if (!this.user.equals(that.user)) + return false; + } + + boolean this_present_hostName = true && this.isSetHostName(); + boolean that_present_hostName = true && that.isSetHostName(); + if (this_present_hostName || that_present_hostName) { + if (!(this_present_hostName && that_present_hostName)) + return false; + if (!this.hostName.equals(that.hostName)) + 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_tableName = true && this.isSetTableName(); + boolean that_present_tableName = true && that.isSetTableName(); + if (this_present_tableName || that_present_tableName) { + if (!(this_present_tableName && that_present_tableName)) + return false; + if (!this.tableName.equals(that.tableName)) + return false; + } + + boolean this_present_partNames = true && this.isSetPartNames(); + boolean that_present_partNames = true && that.isSetPartNames(); + if (this_present_partNames || that_present_partNames) { + if (!(this_present_partNames && that_present_partNames)) + return false; + if (!this.partNames.equals(that.partNames)) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_validWriteIdlist = true && (isSetValidWriteIdlist()); + list.add(present_validWriteIdlist); + if (present_validWriteIdlist) + list.add(validWriteIdlist); + + boolean present_user = true && (isSetUser()); + list.add(present_user); + if (present_user) + list.add(user); + + boolean present_hostName = true && (isSetHostName()); + list.add(present_hostName); + if (present_hostName) + list.add(hostName); + + boolean present_dbName = true && (isSetDbName()); + list.add(present_dbName); + if (present_dbName) + list.add(dbName); + + boolean present_tableName = true && (isSetTableName()); + list.add(present_tableName); + if (present_tableName) + list.add(tableName); + + boolean present_partNames = true && (isSetPartNames()); + list.add(present_partNames); + if (present_partNames) + list.add(partNames); + + return list.hashCode(); + } + + @Override + public int compareTo(ReplTblWriteIdStateRequest other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetValidWriteIdlist()).compareTo(other.isSetValidWriteIdlist()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetValidWriteIdlist()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.validWriteIdlist, other.validWriteIdlist); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetUser()).compareTo(other.isSetUser()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetUser()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user, other.user); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetHostName()).compareTo(other.isSetHostName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetHostName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.hostName, other.hostName); + if (lastComparison != 0) { + return lastComparison; + } + } + 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(isSetTableName()).compareTo(other.isSetTableName()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetTableName()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.tableName, other.tableName); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetPartNames()).compareTo(other.isSetPartNames()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetPartNames()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.partNames, other.partNames); + 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("ReplTblWriteIdStateRequest("); + boolean first = true; + + sb.append("validWriteIdlist:"); + if (this.validWriteIdlist == null) { + sb.append("null"); + } else { + sb.append(this.validWriteIdlist); + } + first = false; + if (!first) sb.append(", "); + sb.append("user:"); + if (this.user == null) { + sb.append("null"); + } else { + sb.append(this.user); + } + first = false; + if (!first) sb.append(", "); + sb.append("hostName:"); + if (this.hostName == null) { + sb.append("null"); + } else { + sb.append(this.hostName); + } + first = false; + if (!first) sb.append(", "); + sb.append("dbName:"); + if (this.dbName == null) { + sb.append("null"); + } else { + sb.append(this.dbName); + } + first = false; + if (!first) sb.append(", "); + sb.append("tableName:"); + if (this.tableName == null) { + sb.append("null"); + } else { + sb.append(this.tableName); + } + first = false; + if (isSetPartNames()) { + if (!first) sb.append(", "); + sb.append("partNames:"); + if (this.partNames == null) { + sb.append("null"); + } else { + sb.append(this.partNames); + } + first = false; + } + sb.append(")"); + return sb.toString(); + } + + public void validate() throws org.apache.thrift.TException { + // check for required fields + if (!isSetValidWriteIdlist()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'validWriteIdlist' is unset! Struct:" + toString()); + } + + if (!isSetUser()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'user' is unset! Struct:" + toString()); + } + + if (!isSetHostName()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'hostName' is unset! Struct:" + toString()); + } + + if (!isSetDbName()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'dbName' is unset! Struct:" + toString()); + } + + if (!isSetTableName()) { + throw new org.apache.thrift.protocol.TProtocolException("Required field 'tableName' 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 ReplTblWriteIdStateRequestStandardSchemeFactory implements SchemeFactory { + public ReplTblWriteIdStateRequestStandardScheme getScheme() { + return new ReplTblWriteIdStateRequestStandardScheme(); + } + } + + private static class ReplTblWriteIdStateRequestStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, ReplTblWriteIdStateRequest 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: // VALID_WRITE_IDLIST + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.validWriteIdlist = iprot.readString(); + struct.setValidWriteIdlistIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 2: // USER + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.user = iprot.readString(); + struct.setUserIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 3: // HOST_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.hostName = iprot.readString(); + struct.setHostNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 4: // 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 5: // TABLE_NAME + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.tableName = iprot.readString(); + struct.setTableNameIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // PART_NAMES + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list594.size); + String _elem595; + for (int _i596 = 0; _i596 < _list594.size; ++_i596) + { + _elem595 = iprot.readString(); + struct.partNames.add(_elem595); + } + iprot.readListEnd(); + } + struct.setPartNamesIsSet(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, ReplTblWriteIdStateRequest struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.validWriteIdlist != null) { + oprot.writeFieldBegin(VALID_WRITE_IDLIST_FIELD_DESC); + oprot.writeString(struct.validWriteIdlist); + oprot.writeFieldEnd(); + } + if (struct.user != null) { + oprot.writeFieldBegin(USER_FIELD_DESC); + oprot.writeString(struct.user); + oprot.writeFieldEnd(); + } + if (struct.hostName != null) { + oprot.writeFieldBegin(HOST_NAME_FIELD_DESC); + oprot.writeString(struct.hostName); + oprot.writeFieldEnd(); + } + if (struct.dbName != null) { + oprot.writeFieldBegin(DB_NAME_FIELD_DESC); + oprot.writeString(struct.dbName); + oprot.writeFieldEnd(); + } + if (struct.tableName != null) { + oprot.writeFieldBegin(TABLE_NAME_FIELD_DESC); + oprot.writeString(struct.tableName); + oprot.writeFieldEnd(); + } + if (struct.partNames != null) { + if (struct.isSetPartNames()) { + 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 _iter597 : struct.partNames) + { + oprot.writeString(_iter597); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class ReplTblWriteIdStateRequestTupleSchemeFactory implements SchemeFactory { + public ReplTblWriteIdStateRequestTupleScheme getScheme() { + return new ReplTblWriteIdStateRequestTupleScheme(); + } + } + + private static class ReplTblWriteIdStateRequestTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, ReplTblWriteIdStateRequest struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + oprot.writeString(struct.validWriteIdlist); + oprot.writeString(struct.user); + oprot.writeString(struct.hostName); + oprot.writeString(struct.dbName); + oprot.writeString(struct.tableName); + BitSet optionals = new BitSet(); + if (struct.isSetPartNames()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetPartNames()) { + { + oprot.writeI32(struct.partNames.size()); + for (String _iter598 : struct.partNames) + { + oprot.writeString(_iter598); + } + } + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, ReplTblWriteIdStateRequest struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + struct.validWriteIdlist = iprot.readString(); + struct.setValidWriteIdlistIsSet(true); + struct.user = iprot.readString(); + struct.setUserIsSet(true); + struct.hostName = iprot.readString(); + struct.setHostNameIsSet(true); + struct.dbName = iprot.readString(); + struct.setDbNameIsSet(true); + struct.tableName = iprot.readString(); + struct.setTableNameIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + { + org.apache.thrift.protocol.TList _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list599.size); + String _elem600; + for (int _i601 = 0; _i601 < _list599.size; ++_i601) + { + _elem600 = iprot.readString(); + struct.partNames.add(_elem600); + } + } + struct.setPartNamesIsSet(true); + } + } + } + +} + diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java index 62bc3b4..76dfe17 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/SchemaVersion.java @@ -1119,14 +1119,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, SchemaVersion struc case 4: // COLS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); - struct.cols = new ArrayList(_list904.size); - FieldSchema _elem905; - for (int _i906 = 0; _i906 < _list904.size; ++_i906) + org.apache.thrift.protocol.TList _list912 = iprot.readListBegin(); + struct.cols = new ArrayList(_list912.size); + FieldSchema _elem913; + for (int _i914 = 0; _i914 < _list912.size; ++_i914) { - _elem905 = new FieldSchema(); - _elem905.read(iprot); - struct.cols.add(_elem905); + _elem913 = new FieldSchema(); + _elem913.read(iprot); + struct.cols.add(_elem913); } iprot.readListEnd(); } @@ -1212,9 +1212,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, SchemaVersion stru oprot.writeFieldBegin(COLS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.cols.size())); - for (FieldSchema _iter907 : struct.cols) + for (FieldSchema _iter915 : struct.cols) { - _iter907.write(oprot); + _iter915.write(oprot); } oprot.writeListEnd(); } @@ -1323,9 +1323,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struc if (struct.isSetCols()) { { oprot.writeI32(struct.cols.size()); - for (FieldSchema _iter908 : struct.cols) + for (FieldSchema _iter916 : struct.cols) { - _iter908.write(oprot); + _iter916.write(oprot); } } } @@ -1368,14 +1368,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, SchemaVersion struct } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list909.size); - FieldSchema _elem910; - for (int _i911 = 0; _i911 < _list909.size; ++_i911) + org.apache.thrift.protocol.TList _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.cols = new ArrayList(_list917.size); + FieldSchema _elem918; + for (int _i919 = 0; _i919 < _list917.size; ++_i919) { - _elem910 = new FieldSchema(); - _elem910.read(iprot); - struct.cols.add(_elem910); + _elem918 = new FieldSchema(); + _elem918.read(iprot); + struct.cols.add(_elem918); } } struct.setColsIsSet(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 4e465ac..d7e5132 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 _list684 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list684.size); - ShowCompactResponseElement _elem685; - for (int _i686 = 0; _i686 < _list684.size; ++_i686) + org.apache.thrift.protocol.TList _list692 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list692.size); + ShowCompactResponseElement _elem693; + for (int _i694 = 0; _i694 < _list692.size; ++_i694) { - _elem685 = new ShowCompactResponseElement(); - _elem685.read(iprot); - struct.compacts.add(_elem685); + _elem693 = new ShowCompactResponseElement(); + _elem693.read(iprot); + struct.compacts.add(_elem693); } 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 _iter687 : struct.compacts) + for (ShowCompactResponseElement _iter695 : struct.compacts) { - _iter687.write(oprot); + _iter695.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 _iter688 : struct.compacts) + for (ShowCompactResponseElement _iter696 : struct.compacts) { - _iter688.write(oprot); + _iter696.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 _list689 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list689.size); - ShowCompactResponseElement _elem690; - for (int _i691 = 0; _i691 < _list689.size; ++_i691) + org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list697.size); + ShowCompactResponseElement _elem698; + for (int _i699 = 0; _i699 < _list697.size; ++_i699) { - _elem690 = new ShowCompactResponseElement(); - _elem690.read(iprot); - struct.compacts.add(_elem690); + _elem698 = new ShowCompactResponseElement(); + _elem698.read(iprot); + struct.compacts.add(_elem698); } } 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 cfc7f9c..0e1009c 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 _list650 = iprot.readListBegin(); - struct.locks = new ArrayList(_list650.size); - ShowLocksResponseElement _elem651; - for (int _i652 = 0; _i652 < _list650.size; ++_i652) + org.apache.thrift.protocol.TList _list658 = iprot.readListBegin(); + struct.locks = new ArrayList(_list658.size); + ShowLocksResponseElement _elem659; + for (int _i660 = 0; _i660 < _list658.size; ++_i660) { - _elem651 = new ShowLocksResponseElement(); - _elem651.read(iprot); - struct.locks.add(_elem651); + _elem659 = new ShowLocksResponseElement(); + _elem659.read(iprot); + struct.locks.add(_elem659); } 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 _iter653 : struct.locks) + for (ShowLocksResponseElement _iter661 : struct.locks) { - _iter653.write(oprot); + _iter661.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 _iter654 : struct.locks) + for (ShowLocksResponseElement _iter662 : struct.locks) { - _iter654.write(oprot); + _iter662.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 _list655 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list655.size); - ShowLocksResponseElement _elem656; - for (int _i657 = 0; _i657 < _list655.size; ++_i657) + org.apache.thrift.protocol.TList _list663 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list663.size); + ShowLocksResponseElement _elem664; + for (int _i665 = 0; _i665 < _list663.size; ++_i665) { - _elem656 = new ShowLocksResponseElement(); - _elem656.read(iprot); - struct.locks.add(_elem656); + _elem664 = new ShowLocksResponseElement(); + _elem664.read(iprot); + struct.locks.add(_elem664); } } struct.setLocksIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java index 40822c6..20f225d 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TableValidWriteIds.java @@ -708,13 +708,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, TableValidWriteIds case 3: // INVALID_WRITE_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); - struct.invalidWriteIds = new ArrayList(_list602.size); - long _elem603; - for (int _i604 = 0; _i604 < _list602.size; ++_i604) + org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); + struct.invalidWriteIds = new ArrayList(_list610.size); + long _elem611; + for (int _i612 = 0; _i612 < _list610.size; ++_i612) { - _elem603 = iprot.readI64(); - struct.invalidWriteIds.add(_elem603); + _elem611 = iprot.readI64(); + struct.invalidWriteIds.add(_elem611); } iprot.readListEnd(); } @@ -764,9 +764,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, TableValidWriteIds oprot.writeFieldBegin(INVALID_WRITE_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.invalidWriteIds.size())); - for (long _iter605 : struct.invalidWriteIds) + for (long _iter613 : struct.invalidWriteIds) { - oprot.writeI64(_iter605); + oprot.writeI64(_iter613); } oprot.writeListEnd(); } @@ -803,9 +803,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, TableValidWriteIds oprot.writeI64(struct.writeIdHighWaterMark); { oprot.writeI32(struct.invalidWriteIds.size()); - for (long _iter606 : struct.invalidWriteIds) + for (long _iter614 : struct.invalidWriteIds) { - oprot.writeI64(_iter606); + oprot.writeI64(_iter614); } } oprot.writeBinary(struct.abortedBits); @@ -827,13 +827,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, TableValidWriteIds s struct.writeIdHighWaterMark = iprot.readI64(); struct.setWriteIdHighWaterMarkIsSet(true); { - org.apache.thrift.protocol.TList _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.invalidWriteIds = new ArrayList(_list607.size); - long _elem608; - for (int _i609 = 0; _i609 < _list607.size; ++_i609) + org.apache.thrift.protocol.TList _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.invalidWriteIds = new ArrayList(_list615.size); + long _elem616; + for (int _i617 = 0; _i617 < _list615.size; ++_i617) { - _elem608 = iprot.readI64(); - struct.invalidWriteIds.add(_elem608); + _elem616 = iprot.readI64(); + struct.invalidWriteIds.add(_elem616); } } struct.setInvalidWriteIdsIsSet(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 e2f0e82..652d789 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 @@ -332,6 +332,8 @@ public void commit_txn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, org.apache.thrift.TException; + public void repl_tbl_writeid_state(ReplTblWriteIdStateRequest rqst) throws org.apache.thrift.TException; + public GetValidWriteIdsResponse get_valid_write_ids(GetValidWriteIdsRequest rqst) throws NoSuchTxnException, MetaException, org.apache.thrift.TException; public AllocateTableWriteIdsResponse allocate_table_write_ids(AllocateTableWriteIdsRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException, org.apache.thrift.TException; @@ -744,6 +746,8 @@ public void commit_txn(CommitTxnRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void repl_tbl_writeid_state(ReplTblWriteIdStateRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; + public void get_valid_write_ids(GetValidWriteIdsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; public void allocate_table_write_ids(AllocateTableWriteIdsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException; @@ -5130,6 +5134,26 @@ public void recv_commit_txn() throws NoSuchTxnException, TxnAbortedException, or return; } + public void repl_tbl_writeid_state(ReplTblWriteIdStateRequest rqst) throws org.apache.thrift.TException + { + send_repl_tbl_writeid_state(rqst); + recv_repl_tbl_writeid_state(); + } + + public void send_repl_tbl_writeid_state(ReplTblWriteIdStateRequest rqst) throws org.apache.thrift.TException + { + repl_tbl_writeid_state_args args = new repl_tbl_writeid_state_args(); + args.setRqst(rqst); + sendBase("repl_tbl_writeid_state", args); + } + + public void recv_repl_tbl_writeid_state() throws org.apache.thrift.TException + { + repl_tbl_writeid_state_result result = new repl_tbl_writeid_state_result(); + receiveBase(result, "repl_tbl_writeid_state"); + return; + } + public GetValidWriteIdsResponse get_valid_write_ids(GetValidWriteIdsRequest rqst) throws NoSuchTxnException, MetaException, org.apache.thrift.TException { send_get_valid_write_ids(rqst); @@ -11890,6 +11914,38 @@ public void getResult() throws NoSuchTxnException, TxnAbortedException, org.apac } } + public void repl_tbl_writeid_state(ReplTblWriteIdStateRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { + checkReady(); + repl_tbl_writeid_state_call method_call = new repl_tbl_writeid_state_call(rqst, 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 repl_tbl_writeid_state_call extends org.apache.thrift.async.TAsyncMethodCall { + private ReplTblWriteIdStateRequest rqst; + public repl_tbl_writeid_state_call(ReplTblWriteIdStateRequest rqst, 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.rqst = rqst; + } + + public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException { + prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("repl_tbl_writeid_state", org.apache.thrift.protocol.TMessageType.CALL, 0)); + repl_tbl_writeid_state_args args = new repl_tbl_writeid_state_args(); + args.setRqst(rqst); + args.write(prot); + prot.writeMessageEnd(); + } + + public void 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); + (new Client(prot)).recv_repl_tbl_writeid_state(); + } + } + public void get_valid_write_ids(GetValidWriteIdsRequest rqst, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException { checkReady(); get_valid_write_ids_call method_call = new get_valid_write_ids_call(rqst, resultHandler, this, ___protocolFactory, ___transport); @@ -13939,6 +13995,7 @@ protected Processor(I iface, Map extends org.apache.thrift.ProcessFunction { + public repl_tbl_writeid_state() { + super("repl_tbl_writeid_state"); + } + + public repl_tbl_writeid_state_args getEmptyArgsInstance() { + return new repl_tbl_writeid_state_args(); + } + + protected boolean isOneway() { + return false; + } + + public repl_tbl_writeid_state_result getResult(I iface, repl_tbl_writeid_state_args args) throws org.apache.thrift.TException { + repl_tbl_writeid_state_result result = new repl_tbl_writeid_state_result(); + iface.repl_tbl_writeid_state(args.rqst); + return result; + } + } + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_valid_write_ids extends org.apache.thrift.ProcessFunction { public get_valid_write_ids() { super("get_valid_write_ids"); @@ -19397,6 +19474,7 @@ protected AsyncProcessor(I iface, Map extends org.apache.thrift.AsyncProcessFunction { + public repl_tbl_writeid_state() { + super("repl_tbl_writeid_state"); + } + + public repl_tbl_writeid_state_args getEmptyArgsInstance() { + return new repl_tbl_writeid_state_args(); + } + + public AsyncMethodCallback getResultHandler(final AsyncFrameBuffer fb, final int seqid) { + final org.apache.thrift.AsyncProcessFunction fcall = this; + return new AsyncMethodCallback() { + public void onComplete(Void o) { + repl_tbl_writeid_state_result result = new repl_tbl_writeid_state_result(); + 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; + repl_tbl_writeid_state_result result = new repl_tbl_writeid_state_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, repl_tbl_writeid_state_args args, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws TException { + iface.repl_tbl_writeid_state(args.rqst,resultHandler); + } + } + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_valid_write_ids extends org.apache.thrift.AsyncProcessFunction { public get_valid_write_ids() { super("get_valid_write_ids"); @@ -40875,13 +41003,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 _list920 = iprot.readListBegin(); - struct.success = new ArrayList(_list920.size); - String _elem921; - for (int _i922 = 0; _i922 < _list920.size; ++_i922) + org.apache.thrift.protocol.TList _list928 = iprot.readListBegin(); + struct.success = new ArrayList(_list928.size); + String _elem929; + for (int _i930 = 0; _i930 < _list928.size; ++_i930) { - _elem921 = iprot.readString(); - struct.success.add(_elem921); + _elem929 = iprot.readString(); + struct.success.add(_elem929); } iprot.readListEnd(); } @@ -40916,9 +41044,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 _iter923 : struct.success) + for (String _iter931 : struct.success) { - oprot.writeString(_iter923); + oprot.writeString(_iter931); } oprot.writeListEnd(); } @@ -40957,9 +41085,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter924 : struct.success) + for (String _iter932 : struct.success) { - oprot.writeString(_iter924); + oprot.writeString(_iter932); } } } @@ -40974,13 +41102,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 _list925 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list925.size); - String _elem926; - for (int _i927 = 0; _i927 < _list925.size; ++_i927) + org.apache.thrift.protocol.TList _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list933.size); + String _elem934; + for (int _i935 = 0; _i935 < _list933.size; ++_i935) { - _elem926 = iprot.readString(); - struct.success.add(_elem926); + _elem934 = iprot.readString(); + struct.success.add(_elem934); } } struct.setSuccessIsSet(true); @@ -41634,13 +41762,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 _list928 = iprot.readListBegin(); - struct.success = new ArrayList(_list928.size); - String _elem929; - for (int _i930 = 0; _i930 < _list928.size; ++_i930) + org.apache.thrift.protocol.TList _list936 = iprot.readListBegin(); + struct.success = new ArrayList(_list936.size); + String _elem937; + for (int _i938 = 0; _i938 < _list936.size; ++_i938) { - _elem929 = iprot.readString(); - struct.success.add(_elem929); + _elem937 = iprot.readString(); + struct.success.add(_elem937); } iprot.readListEnd(); } @@ -41675,9 +41803,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 _iter931 : struct.success) + for (String _iter939 : struct.success) { - oprot.writeString(_iter931); + oprot.writeString(_iter939); } oprot.writeListEnd(); } @@ -41716,9 +41844,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter932 : struct.success) + for (String _iter940 : struct.success) { - oprot.writeString(_iter932); + oprot.writeString(_iter940); } } } @@ -41733,13 +41861,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 _list933 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list933.size); - String _elem934; - for (int _i935 = 0; _i935 < _list933.size; ++_i935) + org.apache.thrift.protocol.TList _list941 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list941.size); + String _elem942; + for (int _i943 = 0; _i943 < _list941.size; ++_i943) { - _elem934 = iprot.readString(); - struct.success.add(_elem934); + _elem942 = iprot.readString(); + struct.success.add(_elem942); } } struct.setSuccessIsSet(true); @@ -46346,16 +46474,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 _map936 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map936.size); - String _key937; - Type _val938; - for (int _i939 = 0; _i939 < _map936.size; ++_i939) + org.apache.thrift.protocol.TMap _map944 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map944.size); + String _key945; + Type _val946; + for (int _i947 = 0; _i947 < _map944.size; ++_i947) { - _key937 = iprot.readString(); - _val938 = new Type(); - _val938.read(iprot); - struct.success.put(_key937, _val938); + _key945 = iprot.readString(); + _val946 = new Type(); + _val946.read(iprot); + struct.success.put(_key945, _val946); } iprot.readMapEnd(); } @@ -46390,10 +46518,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 _iter940 : struct.success.entrySet()) + for (Map.Entry _iter948 : struct.success.entrySet()) { - oprot.writeString(_iter940.getKey()); - _iter940.getValue().write(oprot); + oprot.writeString(_iter948.getKey()); + _iter948.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -46432,10 +46560,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 _iter941 : struct.success.entrySet()) + for (Map.Entry _iter949 : struct.success.entrySet()) { - oprot.writeString(_iter941.getKey()); - _iter941.getValue().write(oprot); + oprot.writeString(_iter949.getKey()); + _iter949.getValue().write(oprot); } } } @@ -46450,16 +46578,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 _map942 = 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*_map942.size); - String _key943; - Type _val944; - for (int _i945 = 0; _i945 < _map942.size; ++_i945) + org.apache.thrift.protocol.TMap _map950 = 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*_map950.size); + String _key951; + Type _val952; + for (int _i953 = 0; _i953 < _map950.size; ++_i953) { - _key943 = iprot.readString(); - _val944 = new Type(); - _val944.read(iprot); - struct.success.put(_key943, _val944); + _key951 = iprot.readString(); + _val952 = new Type(); + _val952.read(iprot); + struct.success.put(_key951, _val952); } } struct.setSuccessIsSet(true); @@ -47494,14 +47622,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 _list946 = iprot.readListBegin(); - struct.success = new ArrayList(_list946.size); - FieldSchema _elem947; - for (int _i948 = 0; _i948 < _list946.size; ++_i948) + org.apache.thrift.protocol.TList _list954 = iprot.readListBegin(); + struct.success = new ArrayList(_list954.size); + FieldSchema _elem955; + for (int _i956 = 0; _i956 < _list954.size; ++_i956) { - _elem947 = new FieldSchema(); - _elem947.read(iprot); - struct.success.add(_elem947); + _elem955 = new FieldSchema(); + _elem955.read(iprot); + struct.success.add(_elem955); } iprot.readListEnd(); } @@ -47554,9 +47682,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 _iter949 : struct.success) + for (FieldSchema _iter957 : struct.success) { - _iter949.write(oprot); + _iter957.write(oprot); } oprot.writeListEnd(); } @@ -47611,9 +47739,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter950 : struct.success) + for (FieldSchema _iter958 : struct.success) { - _iter950.write(oprot); + _iter958.write(oprot); } } } @@ -47634,14 +47762,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 _list951 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list951.size); - FieldSchema _elem952; - for (int _i953 = 0; _i953 < _list951.size; ++_i953) + org.apache.thrift.protocol.TList _list959 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list959.size); + FieldSchema _elem960; + for (int _i961 = 0; _i961 < _list959.size; ++_i961) { - _elem952 = new FieldSchema(); - _elem952.read(iprot); - struct.success.add(_elem952); + _elem960 = new FieldSchema(); + _elem960.read(iprot); + struct.success.add(_elem960); } } struct.setSuccessIsSet(true); @@ -48795,14 +48923,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 _list954 = iprot.readListBegin(); - struct.success = new ArrayList(_list954.size); - FieldSchema _elem955; - for (int _i956 = 0; _i956 < _list954.size; ++_i956) + org.apache.thrift.protocol.TList _list962 = iprot.readListBegin(); + struct.success = new ArrayList(_list962.size); + FieldSchema _elem963; + for (int _i964 = 0; _i964 < _list962.size; ++_i964) { - _elem955 = new FieldSchema(); - _elem955.read(iprot); - struct.success.add(_elem955); + _elem963 = new FieldSchema(); + _elem963.read(iprot); + struct.success.add(_elem963); } iprot.readListEnd(); } @@ -48855,9 +48983,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 _iter957 : struct.success) + for (FieldSchema _iter965 : struct.success) { - _iter957.write(oprot); + _iter965.write(oprot); } oprot.writeListEnd(); } @@ -48912,9 +49040,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter958 : struct.success) + for (FieldSchema _iter966 : struct.success) { - _iter958.write(oprot); + _iter966.write(oprot); } } } @@ -48935,14 +49063,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 _list959 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list959.size); - FieldSchema _elem960; - for (int _i961 = 0; _i961 < _list959.size; ++_i961) + org.apache.thrift.protocol.TList _list967 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list967.size); + FieldSchema _elem968; + for (int _i969 = 0; _i969 < _list967.size; ++_i969) { - _elem960 = new FieldSchema(); - _elem960.read(iprot); - struct.success.add(_elem960); + _elem968 = new FieldSchema(); + _elem968.read(iprot); + struct.success.add(_elem968); } } struct.setSuccessIsSet(true); @@ -49987,14 +50115,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 _list962 = iprot.readListBegin(); - struct.success = new ArrayList(_list962.size); - FieldSchema _elem963; - for (int _i964 = 0; _i964 < _list962.size; ++_i964) + org.apache.thrift.protocol.TList _list970 = iprot.readListBegin(); + struct.success = new ArrayList(_list970.size); + FieldSchema _elem971; + for (int _i972 = 0; _i972 < _list970.size; ++_i972) { - _elem963 = new FieldSchema(); - _elem963.read(iprot); - struct.success.add(_elem963); + _elem971 = new FieldSchema(); + _elem971.read(iprot); + struct.success.add(_elem971); } iprot.readListEnd(); } @@ -50047,9 +50175,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 _iter965 : struct.success) + for (FieldSchema _iter973 : struct.success) { - _iter965.write(oprot); + _iter973.write(oprot); } oprot.writeListEnd(); } @@ -50104,9 +50232,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter966 : struct.success) + for (FieldSchema _iter974 : struct.success) { - _iter966.write(oprot); + _iter974.write(oprot); } } } @@ -50127,14 +50255,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 _list967 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list967.size); - FieldSchema _elem968; - for (int _i969 = 0; _i969 < _list967.size; ++_i969) + org.apache.thrift.protocol.TList _list975 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list975.size); + FieldSchema _elem976; + for (int _i977 = 0; _i977 < _list975.size; ++_i977) { - _elem968 = new FieldSchema(); - _elem968.read(iprot); - struct.success.add(_elem968); + _elem976 = new FieldSchema(); + _elem976.read(iprot); + struct.success.add(_elem976); } } struct.setSuccessIsSet(true); @@ -51288,14 +51416,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 _list970 = iprot.readListBegin(); - struct.success = new ArrayList(_list970.size); - FieldSchema _elem971; - for (int _i972 = 0; _i972 < _list970.size; ++_i972) + org.apache.thrift.protocol.TList _list978 = iprot.readListBegin(); + struct.success = new ArrayList(_list978.size); + FieldSchema _elem979; + for (int _i980 = 0; _i980 < _list978.size; ++_i980) { - _elem971 = new FieldSchema(); - _elem971.read(iprot); - struct.success.add(_elem971); + _elem979 = new FieldSchema(); + _elem979.read(iprot); + struct.success.add(_elem979); } iprot.readListEnd(); } @@ -51348,9 +51476,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 _iter973 : struct.success) + for (FieldSchema _iter981 : struct.success) { - _iter973.write(oprot); + _iter981.write(oprot); } oprot.writeListEnd(); } @@ -51405,9 +51533,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter974 : struct.success) + for (FieldSchema _iter982 : struct.success) { - _iter974.write(oprot); + _iter982.write(oprot); } } } @@ -51428,14 +51556,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 _list975 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list975.size); - FieldSchema _elem976; - for (int _i977 = 0; _i977 < _list975.size; ++_i977) + org.apache.thrift.protocol.TList _list983 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list983.size); + FieldSchema _elem984; + for (int _i985 = 0; _i985 < _list983.size; ++_i985) { - _elem976 = new FieldSchema(); - _elem976.read(iprot); - struct.success.add(_elem976); + _elem984 = new FieldSchema(); + _elem984.read(iprot); + struct.success.add(_elem984); } } struct.setSuccessIsSet(true); @@ -54564,14 +54692,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 _list978 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list978.size); - SQLPrimaryKey _elem979; - for (int _i980 = 0; _i980 < _list978.size; ++_i980) + org.apache.thrift.protocol.TList _list986 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list986.size); + SQLPrimaryKey _elem987; + for (int _i988 = 0; _i988 < _list986.size; ++_i988) { - _elem979 = new SQLPrimaryKey(); - _elem979.read(iprot); - struct.primaryKeys.add(_elem979); + _elem987 = new SQLPrimaryKey(); + _elem987.read(iprot); + struct.primaryKeys.add(_elem987); } iprot.readListEnd(); } @@ -54583,14 +54711,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 _list981 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list981.size); - SQLForeignKey _elem982; - for (int _i983 = 0; _i983 < _list981.size; ++_i983) + org.apache.thrift.protocol.TList _list989 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list989.size); + SQLForeignKey _elem990; + for (int _i991 = 0; _i991 < _list989.size; ++_i991) { - _elem982 = new SQLForeignKey(); - _elem982.read(iprot); - struct.foreignKeys.add(_elem982); + _elem990 = new SQLForeignKey(); + _elem990.read(iprot); + struct.foreignKeys.add(_elem990); } iprot.readListEnd(); } @@ -54602,14 +54730,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 _list984 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list984.size); - SQLUniqueConstraint _elem985; - for (int _i986 = 0; _i986 < _list984.size; ++_i986) + org.apache.thrift.protocol.TList _list992 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list992.size); + SQLUniqueConstraint _elem993; + for (int _i994 = 0; _i994 < _list992.size; ++_i994) { - _elem985 = new SQLUniqueConstraint(); - _elem985.read(iprot); - struct.uniqueConstraints.add(_elem985); + _elem993 = new SQLUniqueConstraint(); + _elem993.read(iprot); + struct.uniqueConstraints.add(_elem993); } iprot.readListEnd(); } @@ -54621,14 +54749,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 _list987 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list987.size); - SQLNotNullConstraint _elem988; - for (int _i989 = 0; _i989 < _list987.size; ++_i989) + org.apache.thrift.protocol.TList _list995 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list995.size); + SQLNotNullConstraint _elem996; + for (int _i997 = 0; _i997 < _list995.size; ++_i997) { - _elem988 = new SQLNotNullConstraint(); - _elem988.read(iprot); - struct.notNullConstraints.add(_elem988); + _elem996 = new SQLNotNullConstraint(); + _elem996.read(iprot); + struct.notNullConstraints.add(_elem996); } iprot.readListEnd(); } @@ -54640,14 +54768,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 6: // DEFAULT_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list990 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list990.size); - SQLDefaultConstraint _elem991; - for (int _i992 = 0; _i992 < _list990.size; ++_i992) + org.apache.thrift.protocol.TList _list998 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list998.size); + SQLDefaultConstraint _elem999; + for (int _i1000 = 0; _i1000 < _list998.size; ++_i1000) { - _elem991 = new SQLDefaultConstraint(); - _elem991.read(iprot); - struct.defaultConstraints.add(_elem991); + _elem999 = new SQLDefaultConstraint(); + _elem999.read(iprot); + struct.defaultConstraints.add(_elem999); } iprot.readListEnd(); } @@ -54659,14 +54787,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, create_table_with_c case 7: // CHECK_CONSTRAINTS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list993 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list993.size); - SQLCheckConstraint _elem994; - for (int _i995 = 0; _i995 < _list993.size; ++_i995) + org.apache.thrift.protocol.TList _list1001 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list1001.size); + SQLCheckConstraint _elem1002; + for (int _i1003 = 0; _i1003 < _list1001.size; ++_i1003) { - _elem994 = new SQLCheckConstraint(); - _elem994.read(iprot); - struct.checkConstraints.add(_elem994); + _elem1002 = new SQLCheckConstraint(); + _elem1002.read(iprot); + struct.checkConstraints.add(_elem1002); } iprot.readListEnd(); } @@ -54697,9 +54825,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 _iter996 : struct.primaryKeys) + for (SQLPrimaryKey _iter1004 : struct.primaryKeys) { - _iter996.write(oprot); + _iter1004.write(oprot); } oprot.writeListEnd(); } @@ -54709,9 +54837,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 _iter997 : struct.foreignKeys) + for (SQLForeignKey _iter1005 : struct.foreignKeys) { - _iter997.write(oprot); + _iter1005.write(oprot); } oprot.writeListEnd(); } @@ -54721,9 +54849,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 _iter998 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1006 : struct.uniqueConstraints) { - _iter998.write(oprot); + _iter1006.write(oprot); } oprot.writeListEnd(); } @@ -54733,9 +54861,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 _iter999 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1007 : struct.notNullConstraints) { - _iter999.write(oprot); + _iter1007.write(oprot); } oprot.writeListEnd(); } @@ -54745,9 +54873,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(DEFAULT_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.defaultConstraints.size())); - for (SQLDefaultConstraint _iter1000 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1008 : struct.defaultConstraints) { - _iter1000.write(oprot); + _iter1008.write(oprot); } oprot.writeListEnd(); } @@ -54757,9 +54885,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, create_table_with_ oprot.writeFieldBegin(CHECK_CONSTRAINTS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.checkConstraints.size())); - for (SQLCheckConstraint _iter1001 : struct.checkConstraints) + for (SQLCheckConstraint _iter1009 : struct.checkConstraints) { - _iter1001.write(oprot); + _iter1009.write(oprot); } oprot.writeListEnd(); } @@ -54811,54 +54939,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter1002 : struct.primaryKeys) + for (SQLPrimaryKey _iter1010 : struct.primaryKeys) { - _iter1002.write(oprot); + _iter1010.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter1003 : struct.foreignKeys) + for (SQLForeignKey _iter1011 : struct.foreignKeys) { - _iter1003.write(oprot); + _iter1011.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter1004 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1012 : struct.uniqueConstraints) { - _iter1004.write(oprot); + _iter1012.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter1005 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1013 : struct.notNullConstraints) { - _iter1005.write(oprot); + _iter1013.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter1006 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1014 : struct.defaultConstraints) { - _iter1006.write(oprot); + _iter1014.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter1007 : struct.checkConstraints) + for (SQLCheckConstraint _iter1015 : struct.checkConstraints) { - _iter1007.write(oprot); + _iter1015.write(oprot); } } } @@ -54875,84 +55003,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1008 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list1008.size); - SQLPrimaryKey _elem1009; - for (int _i1010 = 0; _i1010 < _list1008.size; ++_i1010) + org.apache.thrift.protocol.TList _list1016 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list1016.size); + SQLPrimaryKey _elem1017; + for (int _i1018 = 0; _i1018 < _list1016.size; ++_i1018) { - _elem1009 = new SQLPrimaryKey(); - _elem1009.read(iprot); - struct.primaryKeys.add(_elem1009); + _elem1017 = new SQLPrimaryKey(); + _elem1017.read(iprot); + struct.primaryKeys.add(_elem1017); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1011 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list1011.size); - SQLForeignKey _elem1012; - for (int _i1013 = 0; _i1013 < _list1011.size; ++_i1013) + org.apache.thrift.protocol.TList _list1019 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list1019.size); + SQLForeignKey _elem1020; + for (int _i1021 = 0; _i1021 < _list1019.size; ++_i1021) { - _elem1012 = new SQLForeignKey(); - _elem1012.read(iprot); - struct.foreignKeys.add(_elem1012); + _elem1020 = new SQLForeignKey(); + _elem1020.read(iprot); + struct.foreignKeys.add(_elem1020); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1014 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list1014.size); - SQLUniqueConstraint _elem1015; - for (int _i1016 = 0; _i1016 < _list1014.size; ++_i1016) + org.apache.thrift.protocol.TList _list1022 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list1022.size); + SQLUniqueConstraint _elem1023; + for (int _i1024 = 0; _i1024 < _list1022.size; ++_i1024) { - _elem1015 = new SQLUniqueConstraint(); - _elem1015.read(iprot); - struct.uniqueConstraints.add(_elem1015); + _elem1023 = new SQLUniqueConstraint(); + _elem1023.read(iprot); + struct.uniqueConstraints.add(_elem1023); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1017 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list1017.size); - SQLNotNullConstraint _elem1018; - for (int _i1019 = 0; _i1019 < _list1017.size; ++_i1019) + org.apache.thrift.protocol.TList _list1025 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list1025.size); + SQLNotNullConstraint _elem1026; + for (int _i1027 = 0; _i1027 < _list1025.size; ++_i1027) { - _elem1018 = new SQLNotNullConstraint(); - _elem1018.read(iprot); - struct.notNullConstraints.add(_elem1018); + _elem1026 = new SQLNotNullConstraint(); + _elem1026.read(iprot); + struct.notNullConstraints.add(_elem1026); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1020 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list1020.size); - SQLDefaultConstraint _elem1021; - for (int _i1022 = 0; _i1022 < _list1020.size; ++_i1022) + org.apache.thrift.protocol.TList _list1028 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list1028.size); + SQLDefaultConstraint _elem1029; + for (int _i1030 = 0; _i1030 < _list1028.size; ++_i1030) { - _elem1021 = new SQLDefaultConstraint(); - _elem1021.read(iprot); - struct.defaultConstraints.add(_elem1021); + _elem1029 = new SQLDefaultConstraint(); + _elem1029.read(iprot); + struct.defaultConstraints.add(_elem1029); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list1023.size); - SQLCheckConstraint _elem1024; - for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) + org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.checkConstraints = new ArrayList(_list1031.size); + SQLCheckConstraint _elem1032; + for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) { - _elem1024 = new SQLCheckConstraint(); - _elem1024.read(iprot); - struct.checkConstraints.add(_elem1024); + _elem1032 = new SQLCheckConstraint(); + _elem1032.read(iprot); + struct.checkConstraints.add(_elem1032); } } struct.setCheckConstraintsIsSet(true); @@ -64102,13 +64230,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 _list1026 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list1026.size); - String _elem1027; - for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) + org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list1034.size); + String _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1027 = iprot.readString(); - struct.partNames.add(_elem1027); + _elem1035 = iprot.readString(); + struct.partNames.add(_elem1035); } iprot.readListEnd(); } @@ -64144,9 +64272,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 _iter1029 : struct.partNames) + for (String _iter1037 : struct.partNames) { - oprot.writeString(_iter1029); + oprot.writeString(_iter1037); } oprot.writeListEnd(); } @@ -64189,9 +64317,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter1030 : struct.partNames) + for (String _iter1038 : struct.partNames) { - oprot.writeString(_iter1030); + oprot.writeString(_iter1038); } } } @@ -64211,13 +64339,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list1031.size); - String _elem1032; - for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) + org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list1039.size); + String _elem1040; + for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) { - _elem1032 = iprot.readString(); - struct.partNames.add(_elem1032); + _elem1040 = iprot.readString(); + struct.partNames.add(_elem1040); } } struct.setPartNamesIsSet(true); @@ -65442,13 +65570,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 _list1034 = iprot.readListBegin(); - struct.success = new ArrayList(_list1034.size); - String _elem1035; - for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) + org.apache.thrift.protocol.TList _list1042 = iprot.readListBegin(); + struct.success = new ArrayList(_list1042.size); + String _elem1043; + for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) { - _elem1035 = iprot.readString(); - struct.success.add(_elem1035); + _elem1043 = iprot.readString(); + struct.success.add(_elem1043); } iprot.readListEnd(); } @@ -65483,9 +65611,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 _iter1037 : struct.success) + for (String _iter1045 : struct.success) { - oprot.writeString(_iter1037); + oprot.writeString(_iter1045); } oprot.writeListEnd(); } @@ -65524,9 +65652,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1038 : struct.success) + for (String _iter1046 : struct.success) { - oprot.writeString(_iter1038); + oprot.writeString(_iter1046); } } } @@ -65541,13 +65669,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 _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1039.size); - String _elem1040; - for (int _i1041 = 0; _i1041 < _list1039.size; ++_i1041) + org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1047.size); + String _elem1048; + for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) { - _elem1040 = iprot.readString(); - struct.success.add(_elem1040); + _elem1048 = iprot.readString(); + struct.success.add(_elem1048); } } struct.setSuccessIsSet(true); @@ -66521,13 +66649,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 _list1042 = iprot.readListBegin(); - struct.success = new ArrayList(_list1042.size); - String _elem1043; - for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) + org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); + struct.success = new ArrayList(_list1050.size); + String _elem1051; + for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) { - _elem1043 = iprot.readString(); - struct.success.add(_elem1043); + _elem1051 = iprot.readString(); + struct.success.add(_elem1051); } iprot.readListEnd(); } @@ -66562,9 +66690,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 _iter1045 : struct.success) + for (String _iter1053 : struct.success) { - oprot.writeString(_iter1045); + oprot.writeString(_iter1053); } oprot.writeListEnd(); } @@ -66603,9 +66731,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1046 : struct.success) + for (String _iter1054 : struct.success) { - oprot.writeString(_iter1046); + oprot.writeString(_iter1054); } } } @@ -66620,13 +66748,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 _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1047.size); - String _elem1048; - for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) + org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1055.size); + String _elem1056; + for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) { - _elem1048 = iprot.readString(); - struct.success.add(_elem1048); + _elem1056 = iprot.readString(); + struct.success.add(_elem1056); } } struct.setSuccessIsSet(true); @@ -67392,13 +67520,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 _list1050 = iprot.readListBegin(); - struct.success = new ArrayList(_list1050.size); - String _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); + struct.success = new ArrayList(_list1058.size); + String _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1051 = iprot.readString(); - struct.success.add(_elem1051); + _elem1059 = iprot.readString(); + struct.success.add(_elem1059); } iprot.readListEnd(); } @@ -67433,9 +67561,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 _iter1053 : struct.success) + for (String _iter1061 : struct.success) { - oprot.writeString(_iter1053); + oprot.writeString(_iter1061); } oprot.writeListEnd(); } @@ -67474,9 +67602,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1054 : struct.success) + for (String _iter1062 : struct.success) { - oprot.writeString(_iter1054); + oprot.writeString(_iter1062); } } } @@ -67491,13 +67619,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 _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1055.size); - String _elem1056; - for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) + org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1063.size); + String _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1056 = iprot.readString(); - struct.success.add(_elem1056); + _elem1064 = iprot.readString(); + struct.success.add(_elem1064); } } struct.setSuccessIsSet(true); @@ -68002,13 +68130,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 _list1058 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1058.size); - String _elem1059; - for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) + org.apache.thrift.protocol.TList _list1066 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1066.size); + String _elem1067; + for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) { - _elem1059 = iprot.readString(); - struct.tbl_types.add(_elem1059); + _elem1067 = iprot.readString(); + struct.tbl_types.add(_elem1067); } iprot.readListEnd(); } @@ -68044,9 +68172,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 _iter1061 : struct.tbl_types) + for (String _iter1069 : struct.tbl_types) { - oprot.writeString(_iter1061); + oprot.writeString(_iter1069); } oprot.writeListEnd(); } @@ -68089,9 +68217,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 _iter1062 : struct.tbl_types) + for (String _iter1070 : struct.tbl_types) { - oprot.writeString(_iter1062); + oprot.writeString(_iter1070); } } } @@ -68111,13 +68239,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1063.size); - String _elem1064; - for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) + org.apache.thrift.protocol.TList _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1071.size); + String _elem1072; + for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) { - _elem1064 = iprot.readString(); - struct.tbl_types.add(_elem1064); + _elem1072 = iprot.readString(); + struct.tbl_types.add(_elem1072); } } struct.setTbl_typesIsSet(true); @@ -68523,14 +68651,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 _list1066 = iprot.readListBegin(); - struct.success = new ArrayList(_list1066.size); - TableMeta _elem1067; - for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) + org.apache.thrift.protocol.TList _list1074 = iprot.readListBegin(); + struct.success = new ArrayList(_list1074.size); + TableMeta _elem1075; + for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) { - _elem1067 = new TableMeta(); - _elem1067.read(iprot); - struct.success.add(_elem1067); + _elem1075 = new TableMeta(); + _elem1075.read(iprot); + struct.success.add(_elem1075); } iprot.readListEnd(); } @@ -68565,9 +68693,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 _iter1069 : struct.success) + for (TableMeta _iter1077 : struct.success) { - _iter1069.write(oprot); + _iter1077.write(oprot); } oprot.writeListEnd(); } @@ -68606,9 +68734,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1070 : struct.success) + for (TableMeta _iter1078 : struct.success) { - _iter1070.write(oprot); + _iter1078.write(oprot); } } } @@ -68623,14 +68751,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 _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1071.size); - TableMeta _elem1072; - for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) + org.apache.thrift.protocol.TList _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1079.size); + TableMeta _elem1080; + for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) { - _elem1072 = new TableMeta(); - _elem1072.read(iprot); - struct.success.add(_elem1072); + _elem1080 = new TableMeta(); + _elem1080.read(iprot); + struct.success.add(_elem1080); } } struct.setSuccessIsSet(true); @@ -69396,13 +69524,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 _list1074 = iprot.readListBegin(); - struct.success = new ArrayList(_list1074.size); - String _elem1075; - for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) + org.apache.thrift.protocol.TList _list1082 = iprot.readListBegin(); + struct.success = new ArrayList(_list1082.size); + String _elem1083; + for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) { - _elem1075 = iprot.readString(); - struct.success.add(_elem1075); + _elem1083 = iprot.readString(); + struct.success.add(_elem1083); } iprot.readListEnd(); } @@ -69437,9 +69565,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 _iter1077 : struct.success) + for (String _iter1085 : struct.success) { - oprot.writeString(_iter1077); + oprot.writeString(_iter1085); } oprot.writeListEnd(); } @@ -69478,9 +69606,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1078 : struct.success) + for (String _iter1086 : struct.success) { - oprot.writeString(_iter1078); + oprot.writeString(_iter1086); } } } @@ -69495,13 +69623,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 _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1079.size); - String _elem1080; - for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) + org.apache.thrift.protocol.TList _list1087 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1087.size); + String _elem1088; + for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) { - _elem1080 = iprot.readString(); - struct.success.add(_elem1080); + _elem1088 = iprot.readString(); + struct.success.add(_elem1088); } } struct.setSuccessIsSet(true); @@ -70954,13 +71082,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 _list1082 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1082.size); - String _elem1083; - for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) + org.apache.thrift.protocol.TList _list1090 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1090.size); + String _elem1091; + for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) { - _elem1083 = iprot.readString(); - struct.tbl_names.add(_elem1083); + _elem1091 = iprot.readString(); + struct.tbl_names.add(_elem1091); } iprot.readListEnd(); } @@ -70991,9 +71119,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 _iter1085 : struct.tbl_names) + for (String _iter1093 : struct.tbl_names) { - oprot.writeString(_iter1085); + oprot.writeString(_iter1093); } oprot.writeListEnd(); } @@ -71030,9 +71158,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 _iter1086 : struct.tbl_names) + for (String _iter1094 : struct.tbl_names) { - oprot.writeString(_iter1086); + oprot.writeString(_iter1094); } } } @@ -71048,13 +71176,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1087 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1087.size); - String _elem1088; - for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) + org.apache.thrift.protocol.TList _list1095 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1095.size); + String _elem1096; + for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) { - _elem1088 = iprot.readString(); - struct.tbl_names.add(_elem1088); + _elem1096 = iprot.readString(); + struct.tbl_names.add(_elem1096); } } struct.setTbl_namesIsSet(true); @@ -71379,14 +71507,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 _list1090 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1090.size); - Table _elem1091; - for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) + org.apache.thrift.protocol.TList _list1098 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1098.size); + Table _elem1099; + for (int _i1100 = 0; _i1100 < _list1098.size; ++_i1100) { - _elem1091 = new Table(); - _elem1091.read(iprot); - struct.success.add(_elem1091); + _elem1099 = new Table(); + _elem1099.read(iprot); + struct.success.add(_elem1099); } iprot.readListEnd(); } @@ -71412,9 +71540,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 _iter1093 : struct.success) + for (Table _iter1101 : struct.success) { - _iter1093.write(oprot); + _iter1101.write(oprot); } oprot.writeListEnd(); } @@ -71445,9 +71573,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1094 : struct.success) + for (Table _iter1102 : struct.success) { - _iter1094.write(oprot); + _iter1102.write(oprot); } } } @@ -71459,14 +71587,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 _list1095 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1095.size); - Table _elem1096; - for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) + org.apache.thrift.protocol.TList _list1103 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1103.size); + Table _elem1104; + for (int _i1105 = 0; _i1105 < _list1103.size; ++_i1105) { - _elem1096 = new Table(); - _elem1096.read(iprot); - struct.success.add(_elem1096); + _elem1104 = new Table(); + _elem1104.read(iprot); + struct.success.add(_elem1104); } } struct.setSuccessIsSet(true); @@ -73859,13 +73987,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 _list1098 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1098.size); - String _elem1099; - for (int _i1100 = 0; _i1100 < _list1098.size; ++_i1100) + org.apache.thrift.protocol.TList _list1106 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1106.size); + String _elem1107; + for (int _i1108 = 0; _i1108 < _list1106.size; ++_i1108) { - _elem1099 = iprot.readString(); - struct.tbl_names.add(_elem1099); + _elem1107 = iprot.readString(); + struct.tbl_names.add(_elem1107); } iprot.readListEnd(); } @@ -73896,9 +74024,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 _iter1101 : struct.tbl_names) + for (String _iter1109 : struct.tbl_names) { - oprot.writeString(_iter1101); + oprot.writeString(_iter1109); } oprot.writeListEnd(); } @@ -73935,9 +74063,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1102 : struct.tbl_names) + for (String _iter1110 : struct.tbl_names) { - oprot.writeString(_iter1102); + oprot.writeString(_iter1110); } } } @@ -73953,13 +74081,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1103 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1103.size); - String _elem1104; - for (int _i1105 = 0; _i1105 < _list1103.size; ++_i1105) + org.apache.thrift.protocol.TList _list1111 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1111.size); + String _elem1112; + for (int _i1113 = 0; _i1113 < _list1111.size; ++_i1113) { - _elem1104 = iprot.readString(); - struct.tbl_names.add(_elem1104); + _elem1112 = iprot.readString(); + struct.tbl_names.add(_elem1112); } } struct.setTbl_namesIsSet(true); @@ -74532,16 +74660,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 _map1106 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1106.size); - String _key1107; - Materialization _val1108; - for (int _i1109 = 0; _i1109 < _map1106.size; ++_i1109) + org.apache.thrift.protocol.TMap _map1114 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1114.size); + String _key1115; + Materialization _val1116; + for (int _i1117 = 0; _i1117 < _map1114.size; ++_i1117) { - _key1107 = iprot.readString(); - _val1108 = new Materialization(); - _val1108.read(iprot); - struct.success.put(_key1107, _val1108); + _key1115 = iprot.readString(); + _val1116 = new Materialization(); + _val1116.read(iprot); + struct.success.put(_key1115, _val1116); } iprot.readMapEnd(); } @@ -74594,10 +74722,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 _iter1110 : struct.success.entrySet()) + for (Map.Entry _iter1118 : struct.success.entrySet()) { - oprot.writeString(_iter1110.getKey()); - _iter1110.getValue().write(oprot); + oprot.writeString(_iter1118.getKey()); + _iter1118.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -74652,10 +74780,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1111 : struct.success.entrySet()) + for (Map.Entry _iter1119 : struct.success.entrySet()) { - oprot.writeString(_iter1111.getKey()); - _iter1111.getValue().write(oprot); + oprot.writeString(_iter1119.getKey()); + _iter1119.getValue().write(oprot); } } } @@ -74676,16 +74804,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 _map1112 = 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*_map1112.size); - String _key1113; - Materialization _val1114; - for (int _i1115 = 0; _i1115 < _map1112.size; ++_i1115) + org.apache.thrift.protocol.TMap _map1120 = 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*_map1120.size); + String _key1121; + Materialization _val1122; + for (int _i1123 = 0; _i1123 < _map1120.size; ++_i1123) { - _key1113 = iprot.readString(); - _val1114 = new Materialization(); - _val1114.read(iprot); - struct.success.put(_key1113, _val1114); + _key1121 = iprot.readString(); + _val1122 = new Materialization(); + _val1122.read(iprot); + struct.success.put(_key1121, _val1122); } } struct.setSuccessIsSet(true); @@ -77078,13 +77206,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 _list1116 = iprot.readListBegin(); - struct.success = new ArrayList(_list1116.size); - String _elem1117; - for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) + org.apache.thrift.protocol.TList _list1124 = iprot.readListBegin(); + struct.success = new ArrayList(_list1124.size); + String _elem1125; + for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) { - _elem1117 = iprot.readString(); - struct.success.add(_elem1117); + _elem1125 = iprot.readString(); + struct.success.add(_elem1125); } iprot.readListEnd(); } @@ -77137,9 +77265,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 _iter1119 : struct.success) + for (String _iter1127 : struct.success) { - oprot.writeString(_iter1119); + oprot.writeString(_iter1127); } oprot.writeListEnd(); } @@ -77194,9 +77322,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1120 : struct.success) + for (String _iter1128 : struct.success) { - oprot.writeString(_iter1120); + oprot.writeString(_iter1128); } } } @@ -77217,13 +77345,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 _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1121.size); - String _elem1122; - for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) + org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1129.size); + String _elem1130; + for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) { - _elem1122 = iprot.readString(); - struct.success.add(_elem1122); + _elem1130 = iprot.readString(); + struct.success.add(_elem1130); } } struct.setSuccessIsSet(true); @@ -83082,14 +83210,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 _list1124 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1124.size); - Partition _elem1125; - for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) + org.apache.thrift.protocol.TList _list1132 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1132.size); + Partition _elem1133; + for (int _i1134 = 0; _i1134 < _list1132.size; ++_i1134) { - _elem1125 = new Partition(); - _elem1125.read(iprot); - struct.new_parts.add(_elem1125); + _elem1133 = new Partition(); + _elem1133.read(iprot); + struct.new_parts.add(_elem1133); } iprot.readListEnd(); } @@ -83115,9 +83243,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 _iter1127 : struct.new_parts) + for (Partition _iter1135 : struct.new_parts) { - _iter1127.write(oprot); + _iter1135.write(oprot); } oprot.writeListEnd(); } @@ -83148,9 +83276,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 _iter1128 : struct.new_parts) + for (Partition _iter1136 : struct.new_parts) { - _iter1128.write(oprot); + _iter1136.write(oprot); } } } @@ -83162,14 +83290,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 _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1129.size); - Partition _elem1130; - for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) + org.apache.thrift.protocol.TList _list1137 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1137.size); + Partition _elem1138; + for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) { - _elem1130 = new Partition(); - _elem1130.read(iprot); - struct.new_parts.add(_elem1130); + _elem1138 = new Partition(); + _elem1138.read(iprot); + struct.new_parts.add(_elem1138); } } struct.setNew_partsIsSet(true); @@ -84170,14 +84298,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 _list1132 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1132.size); - PartitionSpec _elem1133; - for (int _i1134 = 0; _i1134 < _list1132.size; ++_i1134) + org.apache.thrift.protocol.TList _list1140 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1140.size); + PartitionSpec _elem1141; + for (int _i1142 = 0; _i1142 < _list1140.size; ++_i1142) { - _elem1133 = new PartitionSpec(); - _elem1133.read(iprot); - struct.new_parts.add(_elem1133); + _elem1141 = new PartitionSpec(); + _elem1141.read(iprot); + struct.new_parts.add(_elem1141); } iprot.readListEnd(); } @@ -84203,9 +84331,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 _iter1135 : struct.new_parts) + for (PartitionSpec _iter1143 : struct.new_parts) { - _iter1135.write(oprot); + _iter1143.write(oprot); } oprot.writeListEnd(); } @@ -84236,9 +84364,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 _iter1136 : struct.new_parts) + for (PartitionSpec _iter1144 : struct.new_parts) { - _iter1136.write(oprot); + _iter1144.write(oprot); } } } @@ -84250,14 +84378,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 _list1137 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1137.size); - PartitionSpec _elem1138; - for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) + org.apache.thrift.protocol.TList _list1145 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1145.size); + PartitionSpec _elem1146; + for (int _i1147 = 0; _i1147 < _list1145.size; ++_i1147) { - _elem1138 = new PartitionSpec(); - _elem1138.read(iprot); - struct.new_parts.add(_elem1138); + _elem1146 = new PartitionSpec(); + _elem1146.read(iprot); + struct.new_parts.add(_elem1146); } } struct.setNew_partsIsSet(true); @@ -85433,13 +85561,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 _list1140 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1140.size); - String _elem1141; - for (int _i1142 = 0; _i1142 < _list1140.size; ++_i1142) + org.apache.thrift.protocol.TList _list1148 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1148.size); + String _elem1149; + for (int _i1150 = 0; _i1150 < _list1148.size; ++_i1150) { - _elem1141 = iprot.readString(); - struct.part_vals.add(_elem1141); + _elem1149 = iprot.readString(); + struct.part_vals.add(_elem1149); } iprot.readListEnd(); } @@ -85475,9 +85603,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 _iter1143 : struct.part_vals) + for (String _iter1151 : struct.part_vals) { - oprot.writeString(_iter1143); + oprot.writeString(_iter1151); } oprot.writeListEnd(); } @@ -85520,9 +85648,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 _iter1144 : struct.part_vals) + for (String _iter1152 : struct.part_vals) { - oprot.writeString(_iter1144); + oprot.writeString(_iter1152); } } } @@ -85542,13 +85670,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1145 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1145.size); - String _elem1146; - for (int _i1147 = 0; _i1147 < _list1145.size; ++_i1147) + org.apache.thrift.protocol.TList _list1153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1153.size); + String _elem1154; + for (int _i1155 = 0; _i1155 < _list1153.size; ++_i1155) { - _elem1146 = iprot.readString(); - struct.part_vals.add(_elem1146); + _elem1154 = iprot.readString(); + struct.part_vals.add(_elem1154); } } struct.setPart_valsIsSet(true); @@ -87857,13 +87985,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 _list1148 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1148.size); - String _elem1149; - for (int _i1150 = 0; _i1150 < _list1148.size; ++_i1150) + 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) { - _elem1149 = iprot.readString(); - struct.part_vals.add(_elem1149); + _elem1157 = iprot.readString(); + struct.part_vals.add(_elem1157); } iprot.readListEnd(); } @@ -87908,9 +88036,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 _iter1151 : struct.part_vals) + for (String _iter1159 : struct.part_vals) { - oprot.writeString(_iter1151); + oprot.writeString(_iter1159); } oprot.writeListEnd(); } @@ -87961,9 +88089,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 _iter1152 : struct.part_vals) + for (String _iter1160 : struct.part_vals) { - oprot.writeString(_iter1152); + oprot.writeString(_iter1160); } } } @@ -87986,13 +88114,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1153 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1153.size); - String _elem1154; - for (int _i1155 = 0; _i1155 < _list1153.size; ++_i1155) + 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) { - _elem1154 = iprot.readString(); - struct.part_vals.add(_elem1154); + _elem1162 = iprot.readString(); + struct.part_vals.add(_elem1162); } } struct.setPart_valsIsSet(true); @@ -91862,13 +91990,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 _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 _list1164 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1164.size); + String _elem1165; + for (int _i1166 = 0; _i1166 < _list1164.size; ++_i1166) { - _elem1157 = iprot.readString(); - struct.part_vals.add(_elem1157); + _elem1165 = iprot.readString(); + struct.part_vals.add(_elem1165); } iprot.readListEnd(); } @@ -91912,9 +92040,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 _iter1159 : struct.part_vals) + for (String _iter1167 : struct.part_vals) { - oprot.writeString(_iter1159); + oprot.writeString(_iter1167); } oprot.writeListEnd(); } @@ -91963,9 +92091,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 _iter1160 : struct.part_vals) + for (String _iter1168 : struct.part_vals) { - oprot.writeString(_iter1160); + oprot.writeString(_iter1168); } } } @@ -91988,13 +92116,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } 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 _list1169 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1169.size); + String _elem1170; + for (int _i1171 = 0; _i1171 < _list1169.size; ++_i1171) { - _elem1162 = iprot.readString(); - struct.part_vals.add(_elem1162); + _elem1170 = iprot.readString(); + struct.part_vals.add(_elem1170); } } struct.setPart_valsIsSet(true); @@ -93233,13 +93361,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 _list1164 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1164.size); - String _elem1165; - for (int _i1166 = 0; _i1166 < _list1164.size; ++_i1166) + 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) { - _elem1165 = iprot.readString(); - struct.part_vals.add(_elem1165); + _elem1173 = iprot.readString(); + struct.part_vals.add(_elem1173); } iprot.readListEnd(); } @@ -93292,9 +93420,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 _iter1167 : struct.part_vals) + for (String _iter1175 : struct.part_vals) { - oprot.writeString(_iter1167); + oprot.writeString(_iter1175); } oprot.writeListEnd(); } @@ -93351,9 +93479,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 _iter1168 : struct.part_vals) + for (String _iter1176 : struct.part_vals) { - oprot.writeString(_iter1168); + oprot.writeString(_iter1176); } } } @@ -93379,13 +93507,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1169 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1169.size); - String _elem1170; - for (int _i1171 = 0; _i1171 < _list1169.size; ++_i1171) + org.apache.thrift.protocol.TList _list1177 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1177.size); + String _elem1178; + for (int _i1179 = 0; _i1179 < _list1177.size; ++_i1179) { - _elem1170 = iprot.readString(); - struct.part_vals.add(_elem1170); + _elem1178 = iprot.readString(); + struct.part_vals.add(_elem1178); } } struct.setPart_valsIsSet(true); @@ -97987,13 +98115,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 _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 _list1180 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1180.size); + String _elem1181; + for (int _i1182 = 0; _i1182 < _list1180.size; ++_i1182) { - _elem1173 = iprot.readString(); - struct.part_vals.add(_elem1173); + _elem1181 = iprot.readString(); + struct.part_vals.add(_elem1181); } iprot.readListEnd(); } @@ -98029,9 +98157,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 _iter1175 : struct.part_vals) + for (String _iter1183 : struct.part_vals) { - oprot.writeString(_iter1175); + oprot.writeString(_iter1183); } oprot.writeListEnd(); } @@ -98074,9 +98202,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 _iter1176 : struct.part_vals) + for (String _iter1184 : struct.part_vals) { - oprot.writeString(_iter1176); + oprot.writeString(_iter1184); } } } @@ -98096,13 +98224,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1177 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1177.size); - String _elem1178; - for (int _i1179 = 0; _i1179 < _list1177.size; ++_i1179) + org.apache.thrift.protocol.TList _list1185 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1185.size); + String _elem1186; + for (int _i1187 = 0; _i1187 < _list1185.size; ++_i1187) { - _elem1178 = iprot.readString(); - struct.part_vals.add(_elem1178); + _elem1186 = iprot.readString(); + struct.part_vals.add(_elem1186); } } struct.setPart_valsIsSet(true); @@ -99320,15 +99448,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 _map1180 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1180.size); - String _key1181; - String _val1182; - for (int _i1183 = 0; _i1183 < _map1180.size; ++_i1183) + org.apache.thrift.protocol.TMap _map1188 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1188.size); + String _key1189; + String _val1190; + for (int _i1191 = 0; _i1191 < _map1188.size; ++_i1191) { - _key1181 = iprot.readString(); - _val1182 = iprot.readString(); - struct.partitionSpecs.put(_key1181, _val1182); + _key1189 = iprot.readString(); + _val1190 = iprot.readString(); + struct.partitionSpecs.put(_key1189, _val1190); } iprot.readMapEnd(); } @@ -99386,10 +99514,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 _iter1184 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1192 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1184.getKey()); - oprot.writeString(_iter1184.getValue()); + oprot.writeString(_iter1192.getKey()); + oprot.writeString(_iter1192.getValue()); } oprot.writeMapEnd(); } @@ -99452,10 +99580,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1185 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1193 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1185.getKey()); - oprot.writeString(_iter1185.getValue()); + oprot.writeString(_iter1193.getKey()); + oprot.writeString(_iter1193.getValue()); } } } @@ -99479,15 +99607,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 _map1186 = 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*_map1186.size); - String _key1187; - String _val1188; - for (int _i1189 = 0; _i1189 < _map1186.size; ++_i1189) + org.apache.thrift.protocol.TMap _map1194 = 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*_map1194.size); + String _key1195; + String _val1196; + for (int _i1197 = 0; _i1197 < _map1194.size; ++_i1197) { - _key1187 = iprot.readString(); - _val1188 = iprot.readString(); - struct.partitionSpecs.put(_key1187, _val1188); + _key1195 = iprot.readString(); + _val1196 = iprot.readString(); + struct.partitionSpecs.put(_key1195, _val1196); } } struct.setPartitionSpecsIsSet(true); @@ -100933,15 +101061,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 _map1190 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1190.size); - String _key1191; - String _val1192; - for (int _i1193 = 0; _i1193 < _map1190.size; ++_i1193) + org.apache.thrift.protocol.TMap _map1198 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1198.size); + String _key1199; + String _val1200; + for (int _i1201 = 0; _i1201 < _map1198.size; ++_i1201) { - _key1191 = iprot.readString(); - _val1192 = iprot.readString(); - struct.partitionSpecs.put(_key1191, _val1192); + _key1199 = iprot.readString(); + _val1200 = iprot.readString(); + struct.partitionSpecs.put(_key1199, _val1200); } iprot.readMapEnd(); } @@ -100999,10 +101127,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 _iter1194 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1202 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1194.getKey()); - oprot.writeString(_iter1194.getValue()); + oprot.writeString(_iter1202.getKey()); + oprot.writeString(_iter1202.getValue()); } oprot.writeMapEnd(); } @@ -101065,10 +101193,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1195 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1203 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1195.getKey()); - oprot.writeString(_iter1195.getValue()); + oprot.writeString(_iter1203.getKey()); + oprot.writeString(_iter1203.getValue()); } } } @@ -101092,15 +101220,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 _map1196 = 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*_map1196.size); - String _key1197; - String _val1198; - for (int _i1199 = 0; _i1199 < _map1196.size; ++_i1199) + org.apache.thrift.protocol.TMap _map1204 = 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*_map1204.size); + String _key1205; + String _val1206; + for (int _i1207 = 0; _i1207 < _map1204.size; ++_i1207) { - _key1197 = iprot.readString(); - _val1198 = iprot.readString(); - struct.partitionSpecs.put(_key1197, _val1198); + _key1205 = iprot.readString(); + _val1206 = iprot.readString(); + struct.partitionSpecs.put(_key1205, _val1206); } } struct.setPartitionSpecsIsSet(true); @@ -101765,14 +101893,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 _list1200 = iprot.readListBegin(); - struct.success = new ArrayList(_list1200.size); - Partition _elem1201; - for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) + org.apache.thrift.protocol.TList _list1208 = iprot.readListBegin(); + struct.success = new ArrayList(_list1208.size); + Partition _elem1209; + for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) { - _elem1201 = new Partition(); - _elem1201.read(iprot); - struct.success.add(_elem1201); + _elem1209 = new Partition(); + _elem1209.read(iprot); + struct.success.add(_elem1209); } iprot.readListEnd(); } @@ -101834,9 +101962,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 _iter1203 : struct.success) + for (Partition _iter1211 : struct.success) { - _iter1203.write(oprot); + _iter1211.write(oprot); } oprot.writeListEnd(); } @@ -101899,9 +102027,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1204 : struct.success) + for (Partition _iter1212 : struct.success) { - _iter1204.write(oprot); + _iter1212.write(oprot); } } } @@ -101925,14 +102053,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 _list1205 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1205.size); - Partition _elem1206; - for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) + org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1213.size); + Partition _elem1214; + for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) { - _elem1206 = new Partition(); - _elem1206.read(iprot); - struct.success.add(_elem1206); + _elem1214 = new Partition(); + _elem1214.read(iprot); + struct.success.add(_elem1214); } } struct.setSuccessIsSet(true); @@ -102631,13 +102759,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 _list1208 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1208.size); - String _elem1209; - for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) + org.apache.thrift.protocol.TList _list1216 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1216.size); + String _elem1217; + for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) { - _elem1209 = iprot.readString(); - struct.part_vals.add(_elem1209); + _elem1217 = iprot.readString(); + struct.part_vals.add(_elem1217); } iprot.readListEnd(); } @@ -102657,13 +102785,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 _list1211 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1211.size); - String _elem1212; - for (int _i1213 = 0; _i1213 < _list1211.size; ++_i1213) + org.apache.thrift.protocol.TList _list1219 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1219.size); + String _elem1220; + for (int _i1221 = 0; _i1221 < _list1219.size; ++_i1221) { - _elem1212 = iprot.readString(); - struct.group_names.add(_elem1212); + _elem1220 = iprot.readString(); + struct.group_names.add(_elem1220); } iprot.readListEnd(); } @@ -102699,9 +102827,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 _iter1214 : struct.part_vals) + for (String _iter1222 : struct.part_vals) { - oprot.writeString(_iter1214); + oprot.writeString(_iter1222); } oprot.writeListEnd(); } @@ -102716,9 +102844,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 _iter1215 : struct.group_names) + for (String _iter1223 : struct.group_names) { - oprot.writeString(_iter1215); + oprot.writeString(_iter1223); } oprot.writeListEnd(); } @@ -102767,9 +102895,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 _iter1216 : struct.part_vals) + for (String _iter1224 : struct.part_vals) { - oprot.writeString(_iter1216); + oprot.writeString(_iter1224); } } } @@ -102779,9 +102907,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 _iter1217 : struct.group_names) + for (String _iter1225 : struct.group_names) { - oprot.writeString(_iter1217); + oprot.writeString(_iter1225); } } } @@ -102801,13 +102929,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1218 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1218.size); - String _elem1219; - for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) + org.apache.thrift.protocol.TList _list1226 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1226.size); + String _elem1227; + for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) { - _elem1219 = iprot.readString(); - struct.part_vals.add(_elem1219); + _elem1227 = iprot.readString(); + struct.part_vals.add(_elem1227); } } struct.setPart_valsIsSet(true); @@ -102818,13 +102946,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1221.size); - String _elem1222; - for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) + org.apache.thrift.protocol.TList _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1229.size); + String _elem1230; + for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) { - _elem1222 = iprot.readString(); - struct.group_names.add(_elem1222); + _elem1230 = iprot.readString(); + struct.group_names.add(_elem1230); } } struct.setGroup_namesIsSet(true); @@ -105593,14 +105721,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 _list1224 = iprot.readListBegin(); - struct.success = new ArrayList(_list1224.size); - Partition _elem1225; - for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) + org.apache.thrift.protocol.TList _list1232 = iprot.readListBegin(); + struct.success = new ArrayList(_list1232.size); + Partition _elem1233; + for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) { - _elem1225 = new Partition(); - _elem1225.read(iprot); - struct.success.add(_elem1225); + _elem1233 = new Partition(); + _elem1233.read(iprot); + struct.success.add(_elem1233); } iprot.readListEnd(); } @@ -105644,9 +105772,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 _iter1227 : struct.success) + for (Partition _iter1235 : struct.success) { - _iter1227.write(oprot); + _iter1235.write(oprot); } oprot.writeListEnd(); } @@ -105693,9 +105821,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1228 : struct.success) + for (Partition _iter1236 : struct.success) { - _iter1228.write(oprot); + _iter1236.write(oprot); } } } @@ -105713,14 +105841,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 _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1229.size); - Partition _elem1230; - for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) + org.apache.thrift.protocol.TList _list1237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1237.size); + Partition _elem1238; + for (int _i1239 = 0; _i1239 < _list1237.size; ++_i1239) { - _elem1230 = new Partition(); - _elem1230.read(iprot); - struct.success.add(_elem1230); + _elem1238 = new Partition(); + _elem1238.read(iprot); + struct.success.add(_elem1238); } } struct.setSuccessIsSet(true); @@ -106410,13 +106538,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 _list1232 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1232.size); - String _elem1233; - for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) + org.apache.thrift.protocol.TList _list1240 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1240.size); + String _elem1241; + for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) { - _elem1233 = iprot.readString(); - struct.group_names.add(_elem1233); + _elem1241 = iprot.readString(); + struct.group_names.add(_elem1241); } iprot.readListEnd(); } @@ -106460,9 +106588,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 _iter1235 : struct.group_names) + for (String _iter1243 : struct.group_names) { - oprot.writeString(_iter1235); + oprot.writeString(_iter1243); } oprot.writeListEnd(); } @@ -106517,9 +106645,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 _iter1236 : struct.group_names) + for (String _iter1244 : struct.group_names) { - oprot.writeString(_iter1236); + oprot.writeString(_iter1244); } } } @@ -106547,13 +106675,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1237.size); - String _elem1238; - for (int _i1239 = 0; _i1239 < _list1237.size; ++_i1239) + org.apache.thrift.protocol.TList _list1245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1245.size); + String _elem1246; + for (int _i1247 = 0; _i1247 < _list1245.size; ++_i1247) { - _elem1238 = iprot.readString(); - struct.group_names.add(_elem1238); + _elem1246 = iprot.readString(); + struct.group_names.add(_elem1246); } } struct.setGroup_namesIsSet(true); @@ -107040,14 +107168,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 _list1240 = iprot.readListBegin(); - struct.success = new ArrayList(_list1240.size); - Partition _elem1241; - for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) + org.apache.thrift.protocol.TList _list1248 = iprot.readListBegin(); + struct.success = new ArrayList(_list1248.size); + Partition _elem1249; + for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) { - _elem1241 = new Partition(); - _elem1241.read(iprot); - struct.success.add(_elem1241); + _elem1249 = new Partition(); + _elem1249.read(iprot); + struct.success.add(_elem1249); } iprot.readListEnd(); } @@ -107091,9 +107219,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 _iter1243 : struct.success) + for (Partition _iter1251 : struct.success) { - _iter1243.write(oprot); + _iter1251.write(oprot); } oprot.writeListEnd(); } @@ -107140,9 +107268,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1244 : struct.success) + for (Partition _iter1252 : struct.success) { - _iter1244.write(oprot); + _iter1252.write(oprot); } } } @@ -107160,14 +107288,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 _list1245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1245.size); - Partition _elem1246; - for (int _i1247 = 0; _i1247 < _list1245.size; ++_i1247) + org.apache.thrift.protocol.TList _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1253.size); + Partition _elem1254; + for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) { - _elem1246 = new Partition(); - _elem1246.read(iprot); - struct.success.add(_elem1246); + _elem1254 = new Partition(); + _elem1254.read(iprot); + struct.success.add(_elem1254); } } struct.setSuccessIsSet(true); @@ -108230,14 +108358,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 _list1248 = iprot.readListBegin(); - struct.success = new ArrayList(_list1248.size); - PartitionSpec _elem1249; - for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) + org.apache.thrift.protocol.TList _list1256 = iprot.readListBegin(); + struct.success = new ArrayList(_list1256.size); + PartitionSpec _elem1257; + for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) { - _elem1249 = new PartitionSpec(); - _elem1249.read(iprot); - struct.success.add(_elem1249); + _elem1257 = new PartitionSpec(); + _elem1257.read(iprot); + struct.success.add(_elem1257); } iprot.readListEnd(); } @@ -108281,9 +108409,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 _iter1251 : struct.success) + for (PartitionSpec _iter1259 : struct.success) { - _iter1251.write(oprot); + _iter1259.write(oprot); } oprot.writeListEnd(); } @@ -108330,9 +108458,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1252 : struct.success) + for (PartitionSpec _iter1260 : struct.success) { - _iter1252.write(oprot); + _iter1260.write(oprot); } } } @@ -108350,14 +108478,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 _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1253.size); - PartitionSpec _elem1254; - for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) + org.apache.thrift.protocol.TList _list1261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1261.size); + PartitionSpec _elem1262; + for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) { - _elem1254 = new PartitionSpec(); - _elem1254.read(iprot); - struct.success.add(_elem1254); + _elem1262 = new PartitionSpec(); + _elem1262.read(iprot); + struct.success.add(_elem1262); } } struct.setSuccessIsSet(true); @@ -109417,13 +109545,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 _list1256 = iprot.readListBegin(); - struct.success = new ArrayList(_list1256.size); - String _elem1257; - for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) + org.apache.thrift.protocol.TList _list1264 = iprot.readListBegin(); + struct.success = new ArrayList(_list1264.size); + String _elem1265; + for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) { - _elem1257 = iprot.readString(); - struct.success.add(_elem1257); + _elem1265 = iprot.readString(); + struct.success.add(_elem1265); } iprot.readListEnd(); } @@ -109467,9 +109595,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 _iter1259 : struct.success) + for (String _iter1267 : struct.success) { - oprot.writeString(_iter1259); + oprot.writeString(_iter1267); } oprot.writeListEnd(); } @@ -109516,9 +109644,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1260 : struct.success) + for (String _iter1268 : struct.success) { - oprot.writeString(_iter1260); + oprot.writeString(_iter1268); } } } @@ -109536,13 +109664,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 _list1261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1261.size); - String _elem1262; - for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) + org.apache.thrift.protocol.TList _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1269.size); + String _elem1270; + for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) { - _elem1262 = iprot.readString(); - struct.success.add(_elem1262); + _elem1270 = iprot.readString(); + struct.success.add(_elem1270); } } struct.setSuccessIsSet(true); @@ -111073,13 +111201,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 _list1264 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1264.size); - String _elem1265; - for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) + org.apache.thrift.protocol.TList _list1272 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1272.size); + String _elem1273; + for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) { - _elem1265 = iprot.readString(); - struct.part_vals.add(_elem1265); + _elem1273 = iprot.readString(); + struct.part_vals.add(_elem1273); } iprot.readListEnd(); } @@ -111123,9 +111251,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 _iter1267 : struct.part_vals) + for (String _iter1275 : struct.part_vals) { - oprot.writeString(_iter1267); + oprot.writeString(_iter1275); } oprot.writeListEnd(); } @@ -111174,9 +111302,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 _iter1268 : struct.part_vals) + for (String _iter1276 : struct.part_vals) { - oprot.writeString(_iter1268); + oprot.writeString(_iter1276); } } } @@ -111199,13 +111327,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1269.size); - String _elem1270; - for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) + org.apache.thrift.protocol.TList _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1277.size); + String _elem1278; + for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) { - _elem1270 = iprot.readString(); - struct.part_vals.add(_elem1270); + _elem1278 = iprot.readString(); + struct.part_vals.add(_elem1278); } } struct.setPart_valsIsSet(true); @@ -111696,14 +111824,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 _list1272 = iprot.readListBegin(); - struct.success = new ArrayList(_list1272.size); - Partition _elem1273; - for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) + org.apache.thrift.protocol.TList _list1280 = iprot.readListBegin(); + struct.success = new ArrayList(_list1280.size); + Partition _elem1281; + for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) { - _elem1273 = new Partition(); - _elem1273.read(iprot); - struct.success.add(_elem1273); + _elem1281 = new Partition(); + _elem1281.read(iprot); + struct.success.add(_elem1281); } iprot.readListEnd(); } @@ -111747,9 +111875,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 _iter1275 : struct.success) + for (Partition _iter1283 : struct.success) { - _iter1275.write(oprot); + _iter1283.write(oprot); } oprot.writeListEnd(); } @@ -111796,9 +111924,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1276 : struct.success) + for (Partition _iter1284 : struct.success) { - _iter1276.write(oprot); + _iter1284.write(oprot); } } } @@ -111816,14 +111944,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 _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1277.size); - Partition _elem1278; - for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) + org.apache.thrift.protocol.TList _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1285.size); + Partition _elem1286; + for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) { - _elem1278 = new Partition(); - _elem1278.read(iprot); - struct.success.add(_elem1278); + _elem1286 = new Partition(); + _elem1286.read(iprot); + struct.success.add(_elem1286); } } struct.setSuccessIsSet(true); @@ -112595,13 +112723,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 _list1280 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1280.size); - String _elem1281; - for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) + org.apache.thrift.protocol.TList _list1288 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1288.size); + String _elem1289; + for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) { - _elem1281 = iprot.readString(); - struct.part_vals.add(_elem1281); + _elem1289 = iprot.readString(); + struct.part_vals.add(_elem1289); } iprot.readListEnd(); } @@ -112629,13 +112757,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 _list1283 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1283.size); - String _elem1284; - for (int _i1285 = 0; _i1285 < _list1283.size; ++_i1285) + org.apache.thrift.protocol.TList _list1291 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1291.size); + String _elem1292; + for (int _i1293 = 0; _i1293 < _list1291.size; ++_i1293) { - _elem1284 = iprot.readString(); - struct.group_names.add(_elem1284); + _elem1292 = iprot.readString(); + struct.group_names.add(_elem1292); } iprot.readListEnd(); } @@ -112671,9 +112799,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 _iter1286 : struct.part_vals) + for (String _iter1294 : struct.part_vals) { - oprot.writeString(_iter1286); + oprot.writeString(_iter1294); } oprot.writeListEnd(); } @@ -112691,9 +112819,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 _iter1287 : struct.group_names) + for (String _iter1295 : struct.group_names) { - oprot.writeString(_iter1287); + oprot.writeString(_iter1295); } oprot.writeListEnd(); } @@ -112745,9 +112873,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 _iter1288 : struct.part_vals) + for (String _iter1296 : struct.part_vals) { - oprot.writeString(_iter1288); + oprot.writeString(_iter1296); } } } @@ -112760,9 +112888,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 _iter1289 : struct.group_names) + for (String _iter1297 : struct.group_names) { - oprot.writeString(_iter1289); + oprot.writeString(_iter1297); } } } @@ -112782,13 +112910,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1290 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1290.size); - String _elem1291; - for (int _i1292 = 0; _i1292 < _list1290.size; ++_i1292) + org.apache.thrift.protocol.TList _list1298 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1298.size); + String _elem1299; + for (int _i1300 = 0; _i1300 < _list1298.size; ++_i1300) { - _elem1291 = iprot.readString(); - struct.part_vals.add(_elem1291); + _elem1299 = iprot.readString(); + struct.part_vals.add(_elem1299); } } struct.setPart_valsIsSet(true); @@ -112803,13 +112931,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1293.size); - String _elem1294; - for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) + org.apache.thrift.protocol.TList _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1301.size); + String _elem1302; + for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) { - _elem1294 = iprot.readString(); - struct.group_names.add(_elem1294); + _elem1302 = iprot.readString(); + struct.group_names.add(_elem1302); } } struct.setGroup_namesIsSet(true); @@ -113296,14 +113424,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 _list1296 = iprot.readListBegin(); - struct.success = new ArrayList(_list1296.size); - Partition _elem1297; - for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) + org.apache.thrift.protocol.TList _list1304 = iprot.readListBegin(); + struct.success = new ArrayList(_list1304.size); + Partition _elem1305; + for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) { - _elem1297 = new Partition(); - _elem1297.read(iprot); - struct.success.add(_elem1297); + _elem1305 = new Partition(); + _elem1305.read(iprot); + struct.success.add(_elem1305); } iprot.readListEnd(); } @@ -113347,9 +113475,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 _iter1299 : struct.success) + for (Partition _iter1307 : struct.success) { - _iter1299.write(oprot); + _iter1307.write(oprot); } oprot.writeListEnd(); } @@ -113396,9 +113524,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1300 : struct.success) + for (Partition _iter1308 : struct.success) { - _iter1300.write(oprot); + _iter1308.write(oprot); } } } @@ -113416,14 +113544,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 _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1301.size); - Partition _elem1302; - for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) + 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); + Partition _elem1310; + for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) { - _elem1302 = new Partition(); - _elem1302.read(iprot); - struct.success.add(_elem1302); + _elem1310 = new Partition(); + _elem1310.read(iprot); + struct.success.add(_elem1310); } } struct.setSuccessIsSet(true); @@ -114016,13 +114144,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 _list1304 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1304.size); - String _elem1305; - for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) + org.apache.thrift.protocol.TList _list1312 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1312.size); + String _elem1313; + for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) { - _elem1305 = iprot.readString(); - struct.part_vals.add(_elem1305); + _elem1313 = iprot.readString(); + struct.part_vals.add(_elem1313); } iprot.readListEnd(); } @@ -114066,9 +114194,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 _iter1307 : struct.part_vals) + for (String _iter1315 : struct.part_vals) { - oprot.writeString(_iter1307); + oprot.writeString(_iter1315); } oprot.writeListEnd(); } @@ -114117,9 +114245,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 _iter1308 : struct.part_vals) + for (String _iter1316 : struct.part_vals) { - oprot.writeString(_iter1308); + oprot.writeString(_iter1316); } } } @@ -114142,13 +114270,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1309.size); - String _elem1310; - for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) + org.apache.thrift.protocol.TList _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1317.size); + String _elem1318; + for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) { - _elem1310 = iprot.readString(); - struct.part_vals.add(_elem1310); + _elem1318 = iprot.readString(); + struct.part_vals.add(_elem1318); } } struct.setPart_valsIsSet(true); @@ -114636,13 +114764,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 _list1312 = iprot.readListBegin(); - struct.success = new ArrayList(_list1312.size); - String _elem1313; - for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) + org.apache.thrift.protocol.TList _list1320 = iprot.readListBegin(); + struct.success = new ArrayList(_list1320.size); + String _elem1321; + for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) { - _elem1313 = iprot.readString(); - struct.success.add(_elem1313); + _elem1321 = iprot.readString(); + struct.success.add(_elem1321); } iprot.readListEnd(); } @@ -114686,9 +114814,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 _iter1315 : struct.success) + for (String _iter1323 : struct.success) { - oprot.writeString(_iter1315); + oprot.writeString(_iter1323); } oprot.writeListEnd(); } @@ -114735,9 +114863,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1316 : struct.success) + for (String _iter1324 : struct.success) { - oprot.writeString(_iter1316); + oprot.writeString(_iter1324); } } } @@ -114755,13 +114883,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 _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) + 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) { - _elem1318 = iprot.readString(); - struct.success.add(_elem1318); + _elem1326 = iprot.readString(); + struct.success.add(_elem1326); } } struct.setSuccessIsSet(true); @@ -115928,14 +116056,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 _list1320 = iprot.readListBegin(); - struct.success = new ArrayList(_list1320.size); - Partition _elem1321; - for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) + org.apache.thrift.protocol.TList _list1328 = iprot.readListBegin(); + struct.success = new ArrayList(_list1328.size); + Partition _elem1329; + for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) { - _elem1321 = new Partition(); - _elem1321.read(iprot); - struct.success.add(_elem1321); + _elem1329 = new Partition(); + _elem1329.read(iprot); + struct.success.add(_elem1329); } iprot.readListEnd(); } @@ -115979,9 +116107,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 _iter1323 : struct.success) + for (Partition _iter1331 : struct.success) { - _iter1323.write(oprot); + _iter1331.write(oprot); } oprot.writeListEnd(); } @@ -116028,9 +116156,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1324 : struct.success) + for (Partition _iter1332 : struct.success) { - _iter1324.write(oprot); + _iter1332.write(oprot); } } } @@ -116048,14 +116176,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 _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1325.size); - Partition _elem1326; - for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) + org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1333.size); + Partition _elem1334; + for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) { - _elem1326 = new Partition(); - _elem1326.read(iprot); - struct.success.add(_elem1326); + _elem1334 = new Partition(); + _elem1334.read(iprot); + struct.success.add(_elem1334); } } struct.setSuccessIsSet(true); @@ -117222,14 +117350,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 _list1328 = iprot.readListBegin(); - struct.success = new ArrayList(_list1328.size); - PartitionSpec _elem1329; - for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) + org.apache.thrift.protocol.TList _list1336 = iprot.readListBegin(); + struct.success = new ArrayList(_list1336.size); + PartitionSpec _elem1337; + for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) { - _elem1329 = new PartitionSpec(); - _elem1329.read(iprot); - struct.success.add(_elem1329); + _elem1337 = new PartitionSpec(); + _elem1337.read(iprot); + struct.success.add(_elem1337); } iprot.readListEnd(); } @@ -117273,9 +117401,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 _iter1331 : struct.success) + for (PartitionSpec _iter1339 : struct.success) { - _iter1331.write(oprot); + _iter1339.write(oprot); } oprot.writeListEnd(); } @@ -117322,9 +117450,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 _iter1332 : struct.success) + for (PartitionSpec _iter1340 : struct.success) { - _iter1332.write(oprot); + _iter1340.write(oprot); } } } @@ -117342,14 +117470,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 _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1333.size); - PartitionSpec _elem1334; - for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) + 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); + PartitionSpec _elem1342; + for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) { - _elem1334 = new PartitionSpec(); - _elem1334.read(iprot); - struct.success.add(_elem1334); + _elem1342 = new PartitionSpec(); + _elem1342.read(iprot); + struct.success.add(_elem1342); } } struct.setSuccessIsSet(true); @@ -119933,13 +120061,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 _list1336 = iprot.readListBegin(); - struct.names = new ArrayList(_list1336.size); - String _elem1337; - for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) + org.apache.thrift.protocol.TList _list1344 = iprot.readListBegin(); + struct.names = new ArrayList(_list1344.size); + String _elem1345; + for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) { - _elem1337 = iprot.readString(); - struct.names.add(_elem1337); + _elem1345 = iprot.readString(); + struct.names.add(_elem1345); } iprot.readListEnd(); } @@ -119975,9 +120103,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 _iter1339 : struct.names) + for (String _iter1347 : struct.names) { - oprot.writeString(_iter1339); + oprot.writeString(_iter1347); } oprot.writeListEnd(); } @@ -120020,9 +120148,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1340 : struct.names) + for (String _iter1348 : struct.names) { - oprot.writeString(_iter1340); + oprot.writeString(_iter1348); } } } @@ -120042,13 +120170,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1341.size); - String _elem1342; - for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) + org.apache.thrift.protocol.TList _list1349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1349.size); + String _elem1350; + for (int _i1351 = 0; _i1351 < _list1349.size; ++_i1351) { - _elem1342 = iprot.readString(); - struct.names.add(_elem1342); + _elem1350 = iprot.readString(); + struct.names.add(_elem1350); } } struct.setNamesIsSet(true); @@ -120535,14 +120663,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 _list1344 = iprot.readListBegin(); - struct.success = new ArrayList(_list1344.size); - Partition _elem1345; - for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) + org.apache.thrift.protocol.TList _list1352 = iprot.readListBegin(); + struct.success = new ArrayList(_list1352.size); + Partition _elem1353; + for (int _i1354 = 0; _i1354 < _list1352.size; ++_i1354) { - _elem1345 = new Partition(); - _elem1345.read(iprot); - struct.success.add(_elem1345); + _elem1353 = new Partition(); + _elem1353.read(iprot); + struct.success.add(_elem1353); } iprot.readListEnd(); } @@ -120586,9 +120714,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 _iter1347 : struct.success) + for (Partition _iter1355 : struct.success) { - _iter1347.write(oprot); + _iter1355.write(oprot); } oprot.writeListEnd(); } @@ -120635,9 +120763,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1348 : struct.success) + for (Partition _iter1356 : struct.success) { - _iter1348.write(oprot); + _iter1356.write(oprot); } } } @@ -120655,14 +120783,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 _list1349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1349.size); - Partition _elem1350; - for (int _i1351 = 0; _i1351 < _list1349.size; ++_i1351) + 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); + Partition _elem1358; + for (int _i1359 = 0; _i1359 < _list1357.size; ++_i1359) { - _elem1350 = new Partition(); - _elem1350.read(iprot); - struct.success.add(_elem1350); + _elem1358 = new Partition(); + _elem1358.read(iprot); + struct.success.add(_elem1358); } } struct.setSuccessIsSet(true); @@ -122212,14 +122340,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 _list1352 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1352.size); - Partition _elem1353; - for (int _i1354 = 0; _i1354 < _list1352.size; ++_i1354) + org.apache.thrift.protocol.TList _list1360 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1360.size); + Partition _elem1361; + for (int _i1362 = 0; _i1362 < _list1360.size; ++_i1362) { - _elem1353 = new Partition(); - _elem1353.read(iprot); - struct.new_parts.add(_elem1353); + _elem1361 = new Partition(); + _elem1361.read(iprot); + struct.new_parts.add(_elem1361); } iprot.readListEnd(); } @@ -122255,9 +122383,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 _iter1355 : struct.new_parts) + for (Partition _iter1363 : struct.new_parts) { - _iter1355.write(oprot); + _iter1363.write(oprot); } oprot.writeListEnd(); } @@ -122300,9 +122428,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 _iter1356 : struct.new_parts) + for (Partition _iter1364 : struct.new_parts) { - _iter1356.write(oprot); + _iter1364.write(oprot); } } } @@ -122322,14 +122450,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1357 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1357.size); - Partition _elem1358; - for (int _i1359 = 0; _i1359 < _list1357.size; ++_i1359) + org.apache.thrift.protocol.TList _list1365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1365.size); + Partition _elem1366; + for (int _i1367 = 0; _i1367 < _list1365.size; ++_i1367) { - _elem1358 = new Partition(); - _elem1358.read(iprot); - struct.new_parts.add(_elem1358); + _elem1366 = new Partition(); + _elem1366.read(iprot); + struct.new_parts.add(_elem1366); } } struct.setNew_partsIsSet(true); @@ -123382,14 +123510,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 _list1360 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1360.size); - Partition _elem1361; - for (int _i1362 = 0; _i1362 < _list1360.size; ++_i1362) + org.apache.thrift.protocol.TList _list1368 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1368.size); + Partition _elem1369; + for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) { - _elem1361 = new Partition(); - _elem1361.read(iprot); - struct.new_parts.add(_elem1361); + _elem1369 = new Partition(); + _elem1369.read(iprot); + struct.new_parts.add(_elem1369); } iprot.readListEnd(); } @@ -123434,9 +123562,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 _iter1363 : struct.new_parts) + for (Partition _iter1371 : struct.new_parts) { - _iter1363.write(oprot); + _iter1371.write(oprot); } oprot.writeListEnd(); } @@ -123487,9 +123615,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 _iter1364 : struct.new_parts) + for (Partition _iter1372 : struct.new_parts) { - _iter1364.write(oprot); + _iter1372.write(oprot); } } } @@ -123512,14 +123640,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1365.size); - Partition _elem1366; - for (int _i1367 = 0; _i1367 < _list1365.size; ++_i1367) + org.apache.thrift.protocol.TList _list1373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1373.size); + Partition _elem1374; + for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) { - _elem1366 = new Partition(); - _elem1366.read(iprot); - struct.new_parts.add(_elem1366); + _elem1374 = new Partition(); + _elem1374.read(iprot); + struct.new_parts.add(_elem1374); } } struct.setNew_partsIsSet(true); @@ -125720,13 +125848,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 _list1368 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1368.size); - String _elem1369; - for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) + org.apache.thrift.protocol.TList _list1376 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1376.size); + String _elem1377; + for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) { - _elem1369 = iprot.readString(); - struct.part_vals.add(_elem1369); + _elem1377 = iprot.readString(); + struct.part_vals.add(_elem1377); } iprot.readListEnd(); } @@ -125771,9 +125899,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 _iter1371 : struct.part_vals) + for (String _iter1379 : struct.part_vals) { - oprot.writeString(_iter1371); + oprot.writeString(_iter1379); } oprot.writeListEnd(); } @@ -125824,9 +125952,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 _iter1372 : struct.part_vals) + for (String _iter1380 : struct.part_vals) { - oprot.writeString(_iter1372); + oprot.writeString(_iter1380); } } } @@ -125849,13 +125977,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1373.size); - String _elem1374; - for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) + org.apache.thrift.protocol.TList _list1381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1381.size); + String _elem1382; + for (int _i1383 = 0; _i1383 < _list1381.size; ++_i1383) { - _elem1374 = iprot.readString(); - struct.part_vals.add(_elem1374); + _elem1382 = iprot.readString(); + struct.part_vals.add(_elem1382); } } struct.setPart_valsIsSet(true); @@ -126729,13 +126857,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 _list1376 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1376.size); - String _elem1377; - for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) + org.apache.thrift.protocol.TList _list1384 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1384.size); + String _elem1385; + for (int _i1386 = 0; _i1386 < _list1384.size; ++_i1386) { - _elem1377 = iprot.readString(); - struct.part_vals.add(_elem1377); + _elem1385 = iprot.readString(); + struct.part_vals.add(_elem1385); } iprot.readListEnd(); } @@ -126769,9 +126897,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 _iter1379 : struct.part_vals) + for (String _iter1387 : struct.part_vals) { - oprot.writeString(_iter1379); + oprot.writeString(_iter1387); } oprot.writeListEnd(); } @@ -126808,9 +126936,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 _iter1380 : struct.part_vals) + for (String _iter1388 : struct.part_vals) { - oprot.writeString(_iter1380); + oprot.writeString(_iter1388); } } } @@ -126825,13 +126953,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 _list1381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1381.size); - String _elem1382; - for (int _i1383 = 0; _i1383 < _list1381.size; ++_i1383) + org.apache.thrift.protocol.TList _list1389 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1389.size); + String _elem1390; + for (int _i1391 = 0; _i1391 < _list1389.size; ++_i1391) { - _elem1382 = iprot.readString(); - struct.part_vals.add(_elem1382); + _elem1390 = iprot.readString(); + struct.part_vals.add(_elem1390); } } struct.setPart_valsIsSet(true); @@ -128986,13 +129114,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 _list1384 = iprot.readListBegin(); - struct.success = new ArrayList(_list1384.size); - String _elem1385; - for (int _i1386 = 0; _i1386 < _list1384.size; ++_i1386) + org.apache.thrift.protocol.TList _list1392 = iprot.readListBegin(); + struct.success = new ArrayList(_list1392.size); + String _elem1393; + for (int _i1394 = 0; _i1394 < _list1392.size; ++_i1394) { - _elem1385 = iprot.readString(); - struct.success.add(_elem1385); + _elem1393 = iprot.readString(); + struct.success.add(_elem1393); } iprot.readListEnd(); } @@ -129027,9 +129155,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 _iter1387 : struct.success) + for (String _iter1395 : struct.success) { - oprot.writeString(_iter1387); + oprot.writeString(_iter1395); } oprot.writeListEnd(); } @@ -129068,9 +129196,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1388 : struct.success) + for (String _iter1396 : struct.success) { - oprot.writeString(_iter1388); + oprot.writeString(_iter1396); } } } @@ -129085,13 +129213,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 _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) + org.apache.thrift.protocol.TList _list1397 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1397.size); + String _elem1398; + for (int _i1399 = 0; _i1399 < _list1397.size; ++_i1399) { - _elem1390 = iprot.readString(); - struct.success.add(_elem1390); + _elem1398 = iprot.readString(); + struct.success.add(_elem1398); } } struct.setSuccessIsSet(true); @@ -129854,15 +129982,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 _map1392 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1392.size); - String _key1393; - String _val1394; - for (int _i1395 = 0; _i1395 < _map1392.size; ++_i1395) + org.apache.thrift.protocol.TMap _map1400 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1400.size); + String _key1401; + String _val1402; + for (int _i1403 = 0; _i1403 < _map1400.size; ++_i1403) { - _key1393 = iprot.readString(); - _val1394 = iprot.readString(); - struct.success.put(_key1393, _val1394); + _key1401 = iprot.readString(); + _val1402 = iprot.readString(); + struct.success.put(_key1401, _val1402); } iprot.readMapEnd(); } @@ -129897,10 +130025,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 _iter1396 : struct.success.entrySet()) + for (Map.Entry _iter1404 : struct.success.entrySet()) { - oprot.writeString(_iter1396.getKey()); - oprot.writeString(_iter1396.getValue()); + oprot.writeString(_iter1404.getKey()); + oprot.writeString(_iter1404.getValue()); } oprot.writeMapEnd(); } @@ -129939,10 +130067,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 _iter1397 : struct.success.entrySet()) + for (Map.Entry _iter1405 : struct.success.entrySet()) { - oprot.writeString(_iter1397.getKey()); - oprot.writeString(_iter1397.getValue()); + oprot.writeString(_iter1405.getKey()); + oprot.writeString(_iter1405.getValue()); } } } @@ -129957,15 +130085,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 _map1398 = 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*_map1398.size); - String _key1399; - String _val1400; - for (int _i1401 = 0; _i1401 < _map1398.size; ++_i1401) + org.apache.thrift.protocol.TMap _map1406 = 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*_map1406.size); + String _key1407; + String _val1408; + for (int _i1409 = 0; _i1409 < _map1406.size; ++_i1409) { - _key1399 = iprot.readString(); - _val1400 = iprot.readString(); - struct.success.put(_key1399, _val1400); + _key1407 = iprot.readString(); + _val1408 = iprot.readString(); + struct.success.put(_key1407, _val1408); } } struct.setSuccessIsSet(true); @@ -130560,15 +130688,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 _map1402 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1402.size); - String _key1403; - String _val1404; - for (int _i1405 = 0; _i1405 < _map1402.size; ++_i1405) + org.apache.thrift.protocol.TMap _map1410 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1410.size); + String _key1411; + String _val1412; + for (int _i1413 = 0; _i1413 < _map1410.size; ++_i1413) { - _key1403 = iprot.readString(); - _val1404 = iprot.readString(); - struct.part_vals.put(_key1403, _val1404); + _key1411 = iprot.readString(); + _val1412 = iprot.readString(); + struct.part_vals.put(_key1411, _val1412); } iprot.readMapEnd(); } @@ -130612,10 +130740,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 _iter1406 : struct.part_vals.entrySet()) + for (Map.Entry _iter1414 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1406.getKey()); - oprot.writeString(_iter1406.getValue()); + oprot.writeString(_iter1414.getKey()); + oprot.writeString(_iter1414.getValue()); } oprot.writeMapEnd(); } @@ -130666,10 +130794,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1407 : struct.part_vals.entrySet()) + for (Map.Entry _iter1415 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1407.getKey()); - oprot.writeString(_iter1407.getValue()); + oprot.writeString(_iter1415.getKey()); + oprot.writeString(_iter1415.getValue()); } } } @@ -130692,15 +130820,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1408 = 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*_map1408.size); - String _key1409; - String _val1410; - for (int _i1411 = 0; _i1411 < _map1408.size; ++_i1411) + org.apache.thrift.protocol.TMap _map1416 = 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*_map1416.size); + String _key1417; + String _val1418; + for (int _i1419 = 0; _i1419 < _map1416.size; ++_i1419) { - _key1409 = iprot.readString(); - _val1410 = iprot.readString(); - struct.part_vals.put(_key1409, _val1410); + _key1417 = iprot.readString(); + _val1418 = iprot.readString(); + struct.part_vals.put(_key1417, _val1418); } } struct.setPart_valsIsSet(true); @@ -132184,15 +132312,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 _map1412 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1412.size); - String _key1413; - String _val1414; - for (int _i1415 = 0; _i1415 < _map1412.size; ++_i1415) + org.apache.thrift.protocol.TMap _map1420 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1420.size); + String _key1421; + String _val1422; + for (int _i1423 = 0; _i1423 < _map1420.size; ++_i1423) { - _key1413 = iprot.readString(); - _val1414 = iprot.readString(); - struct.part_vals.put(_key1413, _val1414); + _key1421 = iprot.readString(); + _val1422 = iprot.readString(); + struct.part_vals.put(_key1421, _val1422); } iprot.readMapEnd(); } @@ -132236,10 +132364,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 _iter1416 : struct.part_vals.entrySet()) + for (Map.Entry _iter1424 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1416.getKey()); - oprot.writeString(_iter1416.getValue()); + oprot.writeString(_iter1424.getKey()); + oprot.writeString(_iter1424.getValue()); } oprot.writeMapEnd(); } @@ -132290,10 +132418,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1417 : struct.part_vals.entrySet()) + for (Map.Entry _iter1425 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1417.getKey()); - oprot.writeString(_iter1417.getValue()); + oprot.writeString(_iter1425.getKey()); + oprot.writeString(_iter1425.getValue()); } } } @@ -132316,15 +132444,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1418 = 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*_map1418.size); - String _key1419; - String _val1420; - for (int _i1421 = 0; _i1421 < _map1418.size; ++_i1421) + org.apache.thrift.protocol.TMap _map1426 = 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*_map1426.size); + String _key1427; + String _val1428; + for (int _i1429 = 0; _i1429 < _map1426.size; ++_i1429) { - _key1419 = iprot.readString(); - _val1420 = iprot.readString(); - struct.part_vals.put(_key1419, _val1420); + _key1427 = iprot.readString(); + _val1428 = iprot.readString(); + struct.part_vals.put(_key1427, _val1428); } } struct.setPart_valsIsSet(true); @@ -154680,13 +154808,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 _list1422 = iprot.readListBegin(); - struct.success = new ArrayList(_list1422.size); - String _elem1423; - for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) + org.apache.thrift.protocol.TList _list1430 = iprot.readListBegin(); + struct.success = new ArrayList(_list1430.size); + String _elem1431; + for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) { - _elem1423 = iprot.readString(); - struct.success.add(_elem1423); + _elem1431 = iprot.readString(); + struct.success.add(_elem1431); } iprot.readListEnd(); } @@ -154721,9 +154849,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 _iter1425 : struct.success) + for (String _iter1433 : struct.success) { - oprot.writeString(_iter1425); + oprot.writeString(_iter1433); } oprot.writeListEnd(); } @@ -154762,9 +154890,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1426 : struct.success) + for (String _iter1434 : struct.success) { - oprot.writeString(_iter1426); + oprot.writeString(_iter1434); } } } @@ -154779,13 +154907,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 _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1427.size); - String _elem1428; - for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) + org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1435.size); + String _elem1436; + for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) { - _elem1428 = iprot.readString(); - struct.success.add(_elem1428); + _elem1436 = iprot.readString(); + struct.success.add(_elem1436); } } struct.setSuccessIsSet(true); @@ -158840,13 +158968,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 _list1430 = iprot.readListBegin(); - struct.success = new ArrayList(_list1430.size); - String _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); + struct.success = new ArrayList(_list1438.size); + String _elem1439; + for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) { - _elem1431 = iprot.readString(); - struct.success.add(_elem1431); + _elem1439 = iprot.readString(); + struct.success.add(_elem1439); } iprot.readListEnd(); } @@ -158881,9 +159009,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 _iter1433 : struct.success) + for (String _iter1441 : struct.success) { - oprot.writeString(_iter1433); + oprot.writeString(_iter1441); } oprot.writeListEnd(); } @@ -158922,9 +159050,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1434 : struct.success) + for (String _iter1442 : struct.success) { - oprot.writeString(_iter1434); + oprot.writeString(_iter1442); } } } @@ -158939,13 +159067,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 _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1435.size); - String _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1443.size); + String _elem1444; + for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) { - _elem1436 = iprot.readString(); - struct.success.add(_elem1436); + _elem1444 = iprot.readString(); + struct.success.add(_elem1444); } } struct.setSuccessIsSet(true); @@ -162236,14 +162364,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 _list1438 = iprot.readListBegin(); - struct.success = new ArrayList(_list1438.size); - Role _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); + struct.success = new ArrayList(_list1446.size); + Role _elem1447; + for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) { - _elem1439 = new Role(); - _elem1439.read(iprot); - struct.success.add(_elem1439); + _elem1447 = new Role(); + _elem1447.read(iprot); + struct.success.add(_elem1447); } iprot.readListEnd(); } @@ -162278,9 +162406,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 _iter1441 : struct.success) + for (Role _iter1449 : struct.success) { - _iter1441.write(oprot); + _iter1449.write(oprot); } oprot.writeListEnd(); } @@ -162319,9 +162447,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1442 : struct.success) + for (Role _iter1450 : struct.success) { - _iter1442.write(oprot); + _iter1450.write(oprot); } } } @@ -162336,14 +162464,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 _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1443.size); - Role _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1451.size); + Role _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) { - _elem1444 = new Role(); - _elem1444.read(iprot); - struct.success.add(_elem1444); + _elem1452 = new Role(); + _elem1452.read(iprot); + struct.success.add(_elem1452); } } struct.setSuccessIsSet(true); @@ -165348,13 +165476,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 _list1446 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1446.size); - String _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1454.size); + String _elem1455; + for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) { - _elem1447 = iprot.readString(); - struct.group_names.add(_elem1447); + _elem1455 = iprot.readString(); + struct.group_names.add(_elem1455); } iprot.readListEnd(); } @@ -165390,9 +165518,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 _iter1449 : struct.group_names) + for (String _iter1457 : struct.group_names) { - oprot.writeString(_iter1449); + oprot.writeString(_iter1457); } oprot.writeListEnd(); } @@ -165435,9 +165563,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 _iter1450 : struct.group_names) + for (String _iter1458 : struct.group_names) { - oprot.writeString(_iter1450); + oprot.writeString(_iter1458); } } } @@ -165458,13 +165586,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1451.size); - String _elem1452; - for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) + org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1459.size); + String _elem1460; + for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) { - _elem1452 = iprot.readString(); - struct.group_names.add(_elem1452); + _elem1460 = iprot.readString(); + struct.group_names.add(_elem1460); } } struct.setGroup_namesIsSet(true); @@ -166922,14 +167050,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 _list1454 = iprot.readListBegin(); - struct.success = new ArrayList(_list1454.size); - HiveObjectPrivilege _elem1455; - for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) + org.apache.thrift.protocol.TList _list1462 = iprot.readListBegin(); + struct.success = new ArrayList(_list1462.size); + HiveObjectPrivilege _elem1463; + for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) { - _elem1455 = new HiveObjectPrivilege(); - _elem1455.read(iprot); - struct.success.add(_elem1455); + _elem1463 = new HiveObjectPrivilege(); + _elem1463.read(iprot); + struct.success.add(_elem1463); } iprot.readListEnd(); } @@ -166964,9 +167092,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 _iter1457 : struct.success) + for (HiveObjectPrivilege _iter1465 : struct.success) { - _iter1457.write(oprot); + _iter1465.write(oprot); } oprot.writeListEnd(); } @@ -167005,9 +167133,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1458 : struct.success) + for (HiveObjectPrivilege _iter1466 : struct.success) { - _iter1458.write(oprot); + _iter1466.write(oprot); } } } @@ -167022,14 +167150,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 _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1459.size); - HiveObjectPrivilege _elem1460; - for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) + org.apache.thrift.protocol.TList _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1467.size); + HiveObjectPrivilege _elem1468; + for (int _i1469 = 0; _i1469 < _list1467.size; ++_i1469) { - _elem1460 = new HiveObjectPrivilege(); - _elem1460.read(iprot); - struct.success.add(_elem1460); + _elem1468 = new HiveObjectPrivilege(); + _elem1468.read(iprot); + struct.success.add(_elem1468); } } struct.setSuccessIsSet(true); @@ -169931,13 +170059,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 _list1462 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1462.size); - String _elem1463; - for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) + org.apache.thrift.protocol.TList _list1470 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1470.size); + String _elem1471; + for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) { - _elem1463 = iprot.readString(); - struct.group_names.add(_elem1463); + _elem1471 = iprot.readString(); + struct.group_names.add(_elem1471); } iprot.readListEnd(); } @@ -169968,9 +170096,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 _iter1465 : struct.group_names) + for (String _iter1473 : struct.group_names) { - oprot.writeString(_iter1465); + oprot.writeString(_iter1473); } oprot.writeListEnd(); } @@ -170007,9 +170135,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 _iter1466 : struct.group_names) + for (String _iter1474 : struct.group_names) { - oprot.writeString(_iter1466); + oprot.writeString(_iter1474); } } } @@ -170025,13 +170153,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1467.size); - String _elem1468; - for (int _i1469 = 0; _i1469 < _list1467.size; ++_i1469) + org.apache.thrift.protocol.TList _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1475.size); + String _elem1476; + for (int _i1477 = 0; _i1477 < _list1475.size; ++_i1477) { - _elem1468 = iprot.readString(); - struct.group_names.add(_elem1468); + _elem1476 = iprot.readString(); + struct.group_names.add(_elem1476); } } struct.setGroup_namesIsSet(true); @@ -170434,13 +170562,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 _list1470 = iprot.readListBegin(); - struct.success = new ArrayList(_list1470.size); - String _elem1471; - for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) + org.apache.thrift.protocol.TList _list1478 = iprot.readListBegin(); + struct.success = new ArrayList(_list1478.size); + String _elem1479; + for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) { - _elem1471 = iprot.readString(); - struct.success.add(_elem1471); + _elem1479 = iprot.readString(); + struct.success.add(_elem1479); } iprot.readListEnd(); } @@ -170475,9 +170603,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 _iter1473 : struct.success) + for (String _iter1481 : struct.success) { - oprot.writeString(_iter1473); + oprot.writeString(_iter1481); } oprot.writeListEnd(); } @@ -170516,9 +170644,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1474 : struct.success) + for (String _iter1482 : struct.success) { - oprot.writeString(_iter1474); + oprot.writeString(_iter1482); } } } @@ -170533,13 +170661,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 _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1475.size); - String _elem1476; - for (int _i1477 = 0; _i1477 < _list1475.size; ++_i1477) + org.apache.thrift.protocol.TList _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1483.size); + String _elem1484; + for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) { - _elem1476 = iprot.readString(); - struct.success.add(_elem1476); + _elem1484 = iprot.readString(); + struct.success.add(_elem1484); } } struct.setSuccessIsSet(true); @@ -175830,13 +175958,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 _list1478 = iprot.readListBegin(); - struct.success = new ArrayList(_list1478.size); - String _elem1479; - for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) + org.apache.thrift.protocol.TList _list1486 = iprot.readListBegin(); + struct.success = new ArrayList(_list1486.size); + String _elem1487; + for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) { - _elem1479 = iprot.readString(); - struct.success.add(_elem1479); + _elem1487 = iprot.readString(); + struct.success.add(_elem1487); } iprot.readListEnd(); } @@ -175862,9 +175990,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 _iter1481 : struct.success) + for (String _iter1489 : struct.success) { - oprot.writeString(_iter1481); + oprot.writeString(_iter1489); } oprot.writeListEnd(); } @@ -175895,9 +176023,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1482 : struct.success) + for (String _iter1490 : struct.success) { - oprot.writeString(_iter1482); + oprot.writeString(_iter1490); } } } @@ -175909,13 +176037,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 _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1483.size); - String _elem1484; - for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) + org.apache.thrift.protocol.TList _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1491.size); + String _elem1492; + for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) { - _elem1484 = iprot.readString(); - struct.success.add(_elem1484); + _elem1492 = iprot.readString(); + struct.success.add(_elem1492); } } struct.setSuccessIsSet(true); @@ -177743,88 +177871,747 @@ public String getFieldName() { return _fieldName; } } - - // isset id assignments - private static final int __KEY_SEQ_ISSET_ID = 0; - private byte __isset_bitfield = 0; + + // isset id assignments + private static final int __KEY_SEQ_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.KEY_SEQ, new org.apache.thrift.meta_data.FieldMetaData("key_seq", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_args.class, metaDataMap); + } + + public remove_master_key_args() { + } + + public remove_master_key_args( + int key_seq) + { + this(); + this.key_seq = key_seq; + setKey_seqIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public remove_master_key_args(remove_master_key_args other) { + __isset_bitfield = other.__isset_bitfield; + this.key_seq = other.key_seq; + } + + public remove_master_key_args deepCopy() { + return new remove_master_key_args(this); + } + + @Override + public void clear() { + setKey_seqIsSet(false); + this.key_seq = 0; + } + + public int getKey_seq() { + return this.key_seq; + } + + public void setKey_seq(int key_seq) { + this.key_seq = key_seq; + setKey_seqIsSet(true); + } + + public void unsetKey_seq() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); + } + + /** Returns true if field key_seq is set (has been assigned a value) and false otherwise */ + public boolean isSetKey_seq() { + return EncodingUtils.testBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); + } + + public void setKey_seqIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __KEY_SEQ_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case KEY_SEQ: + if (value == null) { + unsetKey_seq(); + } else { + setKey_seq((Integer)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case KEY_SEQ: + return getKey_seq(); + + } + 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 KEY_SEQ: + return isSetKey_seq(); + } + throw new IllegalStateException(); + } + + @Override + public boolean equals(Object that) { + if (that == null) + return false; + if (that instanceof remove_master_key_args) + return this.equals((remove_master_key_args)that); + return false; + } + + public boolean equals(remove_master_key_args that) { + if (that == null) + return false; + + boolean this_present_key_seq = true; + boolean that_present_key_seq = true; + if (this_present_key_seq || that_present_key_seq) { + if (!(this_present_key_seq && that_present_key_seq)) + return false; + if (this.key_seq != that.key_seq) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_key_seq = true; + list.add(present_key_seq); + if (present_key_seq) + list.add(key_seq); + + return list.hashCode(); + } + + @Override + public int compareTo(remove_master_key_args other) { + if (!getClass().equals(other.getClass())) { + return getClass().getName().compareTo(other.getClass().getName()); + } + + int lastComparison = 0; + + lastComparison = Boolean.valueOf(isSetKey_seq()).compareTo(other.isSetKey_seq()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetKey_seq()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key_seq, other.key_seq); + 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("remove_master_key_args("); + boolean first = true; + + sb.append("key_seq:"); + sb.append(this.key_seq); + 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 { + // 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 remove_master_key_argsStandardSchemeFactory implements SchemeFactory { + public remove_master_key_argsStandardScheme getScheme() { + return new remove_master_key_argsStandardScheme(); + } + } + + private static class remove_master_key_argsStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_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: // KEY_SEQ + if (schemeField.type == org.apache.thrift.protocol.TType.I32) { + struct.key_seq = iprot.readI32(); + struct.setKey_seqIsSet(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, remove_master_key_args struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + oprot.writeFieldBegin(KEY_SEQ_FIELD_DESC); + oprot.writeI32(struct.key_seq); + oprot.writeFieldEnd(); + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class remove_master_key_argsTupleSchemeFactory implements SchemeFactory { + public remove_master_key_argsTupleScheme getScheme() { + return new remove_master_key_argsTupleScheme(); + } + } + + private static class remove_master_key_argsTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetKey_seq()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetKey_seq()) { + oprot.writeI32(struct.key_seq); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.key_seq = iprot.readI32(); + struct.setKey_seqIsSet(true); + } + } + } + + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class remove_master_key_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("remove_master_key_result"); + + private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new remove_master_key_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new remove_master_key_resultTupleSchemeFactory()); + } + + private boolean 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 + private static final int __SUCCESS_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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + metaDataMap = Collections.unmodifiableMap(tmpMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_result.class, metaDataMap); + } + + public remove_master_key_result() { + } + + public remove_master_key_result( + boolean success) + { + this(); + this.success = success; + setSuccessIsSet(true); + } + + /** + * Performs a deep copy on other. + */ + public remove_master_key_result(remove_master_key_result other) { + __isset_bitfield = other.__isset_bitfield; + this.success = other.success; + } + + public remove_master_key_result deepCopy() { + return new remove_master_key_result(this); + } + + @Override + public void clear() { + setSuccessIsSet(false); + this.success = false; + } + + public boolean isSuccess() { + return this.success; + } + + public void setSuccess(boolean success) { + this.success = success; + setSuccessIsSet(true); + } + + public void unsetSuccess() { + __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + /** Returns true if field success is set (has been assigned a value) and false otherwise */ + public boolean isSetSuccess() { + return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + } + + public void setSuccessIsSet(boolean value) { + __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + } + + public void setFieldValue(_Fields field, Object value) { + switch (field) { + case SUCCESS: + if (value == null) { + unsetSuccess(); + } else { + setSuccess((Boolean)value); + } + break; + + } + } + + public Object getFieldValue(_Fields field) { + switch (field) { + case SUCCESS: + return isSuccess(); + + } + 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 remove_master_key_result) + return this.equals((remove_master_key_result)that); + return false; + } + + public boolean equals(remove_master_key_result that) { + if (that == null) + return false; + + boolean this_present_success = true; + boolean that_present_success = true; + if (this_present_success || that_present_success) { + if (!(this_present_success && that_present_success)) + return false; + if (this.success != that.success) + return false; + } + + return true; + } + + @Override + public int hashCode() { + List list = new ArrayList(); + + boolean present_success = true; + list.add(present_success); + if (present_success) + list.add(success); + + return list.hashCode(); + } + + @Override + public int compareTo(remove_master_key_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("remove_master_key_result("); + boolean first = true; + + sb.append("success:"); + 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 { + // 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 remove_master_key_resultStandardSchemeFactory implements SchemeFactory { + public remove_master_key_resultStandardScheme getScheme() { + return new remove_master_key_resultStandardScheme(); + } + } + + private static class remove_master_key_resultStandardScheme extends StandardScheme { + + public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_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.BOOL) { + struct.success = iprot.readBool(); + 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, remove_master_key_result struct) throws org.apache.thrift.TException { + struct.validate(); + + oprot.writeStructBegin(STRUCT_DESC); + if (struct.isSetSuccess()) { + oprot.writeFieldBegin(SUCCESS_FIELD_DESC); + oprot.writeBool(struct.success); + oprot.writeFieldEnd(); + } + oprot.writeFieldStop(); + oprot.writeStructEnd(); + } + + } + + private static class remove_master_key_resultTupleSchemeFactory implements SchemeFactory { + public remove_master_key_resultTupleScheme getScheme() { + return new remove_master_key_resultTupleScheme(); + } + } + + private static class remove_master_key_resultTupleScheme extends TupleScheme { + + @Override + public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_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.writeBool(struct.success); + } + } + + @Override + public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_result struct) throws org.apache.thrift.TException { + TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.success = iprot.readBool(); + struct.setSuccessIsSet(true); + } + } + } + + } + + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_master_keys_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_master_keys_args"); + + + private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); + static { + schemes.put(StandardScheme.class, new get_master_keys_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_master_keys_argsTupleSchemeFactory()); + } + + + /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ + public enum _Fields implements org.apache.thrift.TFieldIdEnum { +; + + 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) { + 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; + } + } 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.KEY_SEQ, new org.apache.thrift.meta_data.FieldMetaData("key_seq", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_args.class, metaDataMap); - } - - public remove_master_key_args() { + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_args.class, metaDataMap); } - public remove_master_key_args( - int key_seq) - { - this(); - this.key_seq = key_seq; - setKey_seqIsSet(true); + public get_master_keys_args() { } /** * Performs a deep copy on other. */ - public remove_master_key_args(remove_master_key_args other) { - __isset_bitfield = other.__isset_bitfield; - this.key_seq = other.key_seq; + public get_master_keys_args(get_master_keys_args other) { } - public remove_master_key_args deepCopy() { - return new remove_master_key_args(this); + public get_master_keys_args deepCopy() { + return new get_master_keys_args(this); } @Override public void clear() { - setKey_seqIsSet(false); - this.key_seq = 0; - } - - public int getKey_seq() { - return this.key_seq; - } - - public void setKey_seq(int key_seq) { - this.key_seq = key_seq; - setKey_seqIsSet(true); - } - - public void unsetKey_seq() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); - } - - /** Returns true if field key_seq is set (has been assigned a value) and false otherwise */ - public boolean isSetKey_seq() { - return EncodingUtils.testBit(__isset_bitfield, __KEY_SEQ_ISSET_ID); - } - - public void setKey_seqIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __KEY_SEQ_ISSET_ID, value); } public void setFieldValue(_Fields field, Object value) { switch (field) { - case KEY_SEQ: - if (value == null) { - unsetKey_seq(); - } else { - setKey_seq((Integer)value); - } - break; - } } public Object getFieldValue(_Fields field) { switch (field) { - case KEY_SEQ: - return getKey_seq(); - } throw new IllegalStateException(); } @@ -177836,8 +178623,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY_SEQ: - return isSetKey_seq(); } throw new IllegalStateException(); } @@ -177846,24 +178631,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof remove_master_key_args) - return this.equals((remove_master_key_args)that); + if (that instanceof get_master_keys_args) + return this.equals((get_master_keys_args)that); return false; } - public boolean equals(remove_master_key_args that) { + public boolean equals(get_master_keys_args that) { if (that == null) return false; - boolean this_present_key_seq = true; - boolean that_present_key_seq = true; - if (this_present_key_seq || that_present_key_seq) { - if (!(this_present_key_seq && that_present_key_seq)) - return false; - if (this.key_seq != that.key_seq) - return false; - } - return true; } @@ -177871,32 +178647,17 @@ public boolean equals(remove_master_key_args that) { public int hashCode() { List list = new ArrayList(); - boolean present_key_seq = true; - list.add(present_key_seq); - if (present_key_seq) - list.add(key_seq); - return list.hashCode(); } @Override - public int compareTo(remove_master_key_args other) { + public int compareTo(get_master_keys_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetKey_seq()).compareTo(other.isSetKey_seq()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetKey_seq()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.key_seq, other.key_seq); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -177914,12 +178675,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("remove_master_key_args("); + StringBuilder sb = new StringBuilder("get_master_keys_args("); boolean first = true; - sb.append("key_seq:"); - sb.append(this.key_seq); - first = false; sb.append(")"); return sb.toString(); } @@ -177939,23 +178697,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept 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 remove_master_key_argsStandardSchemeFactory implements SchemeFactory { - public remove_master_key_argsStandardScheme getScheme() { - return new remove_master_key_argsStandardScheme(); + private static class get_master_keys_argsStandardSchemeFactory implements SchemeFactory { + public get_master_keys_argsStandardScheme getScheme() { + return new get_master_keys_argsStandardScheme(); } } - private static class remove_master_key_argsStandardScheme extends StandardScheme { + private static class get_master_keys_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -177965,14 +178721,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_a break; } switch (schemeField.id) { - case 1: // KEY_SEQ - if (schemeField.type == org.apache.thrift.protocol.TType.I32) { - struct.key_seq = iprot.readI32(); - struct.setKey_seqIsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -177982,65 +178730,49 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_a struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - oprot.writeFieldBegin(KEY_SEQ_FIELD_DESC); - oprot.writeI32(struct.key_seq); - oprot.writeFieldEnd(); oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class remove_master_key_argsTupleSchemeFactory implements SchemeFactory { - public remove_master_key_argsTupleScheme getScheme() { - return new remove_master_key_argsTupleScheme(); + private static class get_master_keys_argsTupleSchemeFactory implements SchemeFactory { + public get_master_keys_argsTupleScheme getScheme() { + return new get_master_keys_argsTupleScheme(); } } - private static class remove_master_key_argsTupleScheme extends TupleScheme { + private static class get_master_keys_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetKey_seq()) { - optionals.set(0); - } - oprot.writeBitSet(optionals, 1); - if (struct.isSetKey_seq()) { - oprot.writeI32(struct.key_seq); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); - if (incoming.get(0)) { - struct.key_seq = iprot.readI32(); - struct.setKey_seqIsSet(true); - } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class remove_master_key_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("remove_master_key_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_master_keys_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_master_keys_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0); + 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 remove_master_key_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new remove_master_key_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_master_keys_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_master_keys_resultTupleSchemeFactory()); } - private boolean success; // required + 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 { @@ -178101,66 +178833,81 @@ public String getFieldName() { } // isset id assignments - private static final int __SUCCESS_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.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL))); + new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(remove_master_key_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_result.class, metaDataMap); } - public remove_master_key_result() { + public get_master_keys_result() { } - public remove_master_key_result( - boolean success) + public get_master_keys_result( + List success) { this(); this.success = success; - setSuccessIsSet(true); } /** * Performs a deep copy on other. */ - public remove_master_key_result(remove_master_key_result other) { - __isset_bitfield = other.__isset_bitfield; - this.success = other.success; + public get_master_keys_result(get_master_keys_result other) { + if (other.isSetSuccess()) { + List __this__success = new ArrayList(other.success); + this.success = __this__success; + } } - public remove_master_key_result deepCopy() { - return new remove_master_key_result(this); + public get_master_keys_result deepCopy() { + return new get_master_keys_result(this); } @Override public void clear() { - setSuccessIsSet(false); - this.success = false; + this.success = null; } - public boolean isSuccess() { + public int getSuccessSize() { + return (this.success == null) ? 0 : this.success.size(); + } + + public java.util.Iterator getSuccessIterator() { + return (this.success == null) ? null : this.success.iterator(); + } + + public void addToSuccess(String elem) { + if (this.success == null) { + this.success = new ArrayList(); + } + this.success.add(elem); + } + + public List getSuccess() { return this.success; } - public void setSuccess(boolean success) { + public void setSuccess(List success) { this.success = success; - setSuccessIsSet(true); } public void unsetSuccess() { - __isset_bitfield = EncodingUtils.clearBit(__isset_bitfield, __SUCCESS_ISSET_ID); + this.success = null; } /** Returns true if field success is set (has been assigned a value) and false otherwise */ public boolean isSetSuccess() { - return EncodingUtils.testBit(__isset_bitfield, __SUCCESS_ISSET_ID); + return this.success != null; } public void setSuccessIsSet(boolean value) { - __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __SUCCESS_ISSET_ID, value); + if (!value) { + this.success = null; + } } public void setFieldValue(_Fields field, Object value) { @@ -178169,7 +178916,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Boolean)value); + setSuccess((List)value); } break; @@ -178179,7 +178926,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); } throw new IllegalStateException(); @@ -178202,21 +178949,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof remove_master_key_result) - return this.equals((remove_master_key_result)that); + if (that instanceof get_master_keys_result) + return this.equals((get_master_keys_result)that); return false; } - public boolean equals(remove_master_key_result that) { + public boolean equals(get_master_keys_result that) { if (that == null) return false; - boolean this_present_success = true; - boolean that_present_success = true; + 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 != that.success) + if (!this.success.equals(that.success)) return false; } @@ -178227,7 +178974,7 @@ public boolean equals(remove_master_key_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true; + boolean present_success = true && (isSetSuccess()); list.add(present_success); if (present_success) list.add(success); @@ -178236,7 +178983,7 @@ public int hashCode() { } @Override - public int compareTo(remove_master_key_result other) { + public int compareTo(get_master_keys_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -178270,11 +179017,15 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("remove_master_key_result("); + StringBuilder sb = new StringBuilder("get_master_keys_result("); boolean first = true; sb.append("success:"); - sb.append(this.success); + if (this.success == null) { + sb.append("null"); + } else { + sb.append(this.success); + } first = false; sb.append(")"); return sb.toString(); @@ -178295,23 +179046,21 @@ private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOExcept 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 remove_master_key_resultStandardSchemeFactory implements SchemeFactory { - public remove_master_key_resultStandardScheme getScheme() { - return new remove_master_key_resultStandardScheme(); + private static class get_master_keys_resultStandardSchemeFactory implements SchemeFactory { + public get_master_keys_resultStandardScheme getScheme() { + return new get_master_keys_resultStandardScheme(); } } - private static class remove_master_key_resultStandardScheme extends StandardScheme { + private static class get_master_keys_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -178322,8 +179071,18 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_r } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.BOOL) { - struct.success = iprot.readBool(); + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list1494 = iprot.readListBegin(); + struct.success = new ArrayList(_list1494.size); + String _elem1495; + for (int _i1496 = 0; _i1496 < _list1494.size; ++_i1496) + { + _elem1495 = iprot.readString(); + struct.success.add(_elem1495); + } + iprot.readListEnd(); + } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -178338,13 +179097,20 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, remove_master_key_r struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.isSetSuccess()) { + if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - oprot.writeBool(struct.success); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); + for (String _iter1497 : struct.success) + { + oprot.writeString(_iter1497); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -178353,16 +179119,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, remove_master_key_ } - private static class remove_master_key_resultTupleSchemeFactory implements SchemeFactory { - public remove_master_key_resultTupleScheme getScheme() { - return new remove_master_key_resultTupleScheme(); + private static class get_master_keys_resultTupleSchemeFactory implements SchemeFactory { + public get_master_keys_resultTupleScheme getScheme() { + return new get_master_keys_resultTupleScheme(); } } - private static class remove_master_key_resultTupleScheme extends TupleScheme { + private static class get_master_keys_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -178370,16 +179136,31 @@ public void write(org.apache.thrift.protocol.TProtocol prot, remove_master_key_r } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { - oprot.writeBool(struct.success); + { + oprot.writeI32(struct.success.size()); + for (String _iter1498 : struct.success) + { + oprot.writeString(_iter1498); + } + } } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = iprot.readBool(); + { + org.apache.thrift.protocol.TList _list1499 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1499.size); + String _elem1500; + for (int _i1501 = 0; _i1501 < _list1499.size; ++_i1501) + { + _elem1500 = iprot.readString(); + struct.success.add(_elem1500); + } + } struct.setSuccessIsSet(true); } } @@ -178387,14 +179168,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, remove_master_key_re } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_master_keys_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_master_keys_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_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_open_txns_args"); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_master_keys_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_master_keys_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_argsTupleSchemeFactory()); } @@ -178457,20 +179238,20 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_args.class, metaDataMap); } - public get_master_keys_args() { + public get_open_txns_args() { } /** * Performs a deep copy on other. */ - public get_master_keys_args(get_master_keys_args other) { + public get_open_txns_args(get_open_txns_args other) { } - public get_master_keys_args deepCopy() { - return new get_master_keys_args(this); + public get_open_txns_args deepCopy() { + return new get_open_txns_args(this); } @Override @@ -178503,12 +179284,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_master_keys_args) - return this.equals((get_master_keys_args)that); + if (that instanceof get_open_txns_args) + return this.equals((get_open_txns_args)that); return false; } - public boolean equals(get_master_keys_args that) { + public boolean equals(get_open_txns_args that) { if (that == null) return false; @@ -178523,7 +179304,7 @@ public int hashCode() { } @Override - public int compareTo(get_master_keys_args other) { + public int compareTo(get_open_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -178547,7 +179328,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_master_keys_args("); + StringBuilder sb = new StringBuilder("get_open_txns_args("); boolean first = true; sb.append(")"); @@ -178575,15 +179356,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_master_keys_argsStandardSchemeFactory implements SchemeFactory { - public get_master_keys_argsStandardScheme getScheme() { - return new get_master_keys_argsStandardScheme(); + private static class get_open_txns_argsStandardSchemeFactory implements SchemeFactory { + public get_open_txns_argsStandardScheme getScheme() { + return new get_open_txns_argsStandardScheme(); } } - private static class get_master_keys_argsStandardScheme extends StandardScheme { + private static class get_open_txns_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -178602,7 +179383,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_arg struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -178612,39 +179393,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_ar } - private static class get_master_keys_argsTupleSchemeFactory implements SchemeFactory { - public get_master_keys_argsTupleScheme getScheme() { - return new get_master_keys_argsTupleScheme(); + private static class get_open_txns_argsTupleSchemeFactory implements SchemeFactory { + public get_open_txns_argsTupleScheme getScheme() { + return new get_open_txns_argsTupleScheme(); } } - private static class get_master_keys_argsTupleScheme extends TupleScheme { + private static class get_open_txns_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_master_keys_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_master_keys_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_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_open_txns_result"); - private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0); + private static final org.apache.thrift.protocol.TField 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_master_keys_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_master_keys_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_resultTupleSchemeFactory()); } - private List success; // required + private GetOpenTxnsResponse 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 { @@ -178709,17 +179490,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetOpenTxnsResponse.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_master_keys_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_result.class, metaDataMap); } - public get_master_keys_result() { + public get_open_txns_result() { } - public get_master_keys_result( - List success) + public get_open_txns_result( + GetOpenTxnsResponse success) { this(); this.success = success; @@ -178728,15 +179508,14 @@ public get_master_keys_result( /** * Performs a deep copy on other. */ - public get_master_keys_result(get_master_keys_result other) { + public get_open_txns_result(get_open_txns_result other) { if (other.isSetSuccess()) { - List __this__success = new ArrayList(other.success); - this.success = __this__success; + this.success = new GetOpenTxnsResponse(other.success); } } - public get_master_keys_result deepCopy() { - return new get_master_keys_result(this); + public get_open_txns_result deepCopy() { + return new get_open_txns_result(this); } @Override @@ -178744,26 +179523,11 @@ 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(String elem) { - if (this.success == null) { - this.success = new ArrayList(); - } - this.success.add(elem); - } - - public List getSuccess() { + public GetOpenTxnsResponse getSuccess() { return this.success; } - public void setSuccess(List success) { + public void setSuccess(GetOpenTxnsResponse success) { this.success = success; } @@ -178788,7 +179552,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((GetOpenTxnsResponse)value); } break; @@ -178821,12 +179585,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_master_keys_result) - return this.equals((get_master_keys_result)that); + if (that instanceof get_open_txns_result) + return this.equals((get_open_txns_result)that); return false; } - public boolean equals(get_master_keys_result that) { + public boolean equals(get_open_txns_result that) { if (that == null) return false; @@ -178855,7 +179619,7 @@ public int hashCode() { } @Override - public int compareTo(get_master_keys_result other) { + public int compareTo(get_open_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -178889,7 +179653,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_master_keys_result("); + StringBuilder sb = new StringBuilder("get_open_txns_result("); boolean first = true; sb.append("success:"); @@ -178906,6 +179670,9 @@ public String 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 { @@ -178924,15 +179691,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_master_keys_resultStandardSchemeFactory implements SchemeFactory { - public get_master_keys_resultStandardScheme getScheme() { - return new get_master_keys_resultStandardScheme(); + private static class get_open_txns_resultStandardSchemeFactory implements SchemeFactory { + public get_open_txns_resultStandardScheme getScheme() { + return new get_open_txns_resultStandardScheme(); } } - private static class get_master_keys_resultStandardScheme extends StandardScheme { + private static class get_open_txns_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -178943,18 +179710,9 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res } switch (schemeField.id) { case 0: // SUCCESS - if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { - { - org.apache.thrift.protocol.TList _list1486 = iprot.readListBegin(); - struct.success = new ArrayList(_list1486.size); - String _elem1487; - for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) - { - _elem1487 = iprot.readString(); - struct.success.add(_elem1487); - } - iprot.readListEnd(); - } + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.success = new GetOpenTxnsResponse(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -178969,20 +179727,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); if (struct.success != null) { oprot.writeFieldBegin(SUCCESS_FIELD_DESC); - { - oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1489 : struct.success) - { - oprot.writeString(_iter1489); - } - oprot.writeListEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -178991,16 +179742,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_re } - private static class get_master_keys_resultTupleSchemeFactory implements SchemeFactory { - public get_master_keys_resultTupleScheme getScheme() { - return new get_master_keys_resultTupleScheme(); + private static class get_open_txns_resultTupleSchemeFactory implements SchemeFactory { + public get_open_txns_resultTupleScheme getScheme() { + return new get_open_txns_resultTupleScheme(); } } - private static class get_master_keys_resultTupleScheme extends TupleScheme { + private static class get_open_txns_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -179008,31 +179759,17 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res } oprot.writeBitSet(optionals, 1); if (struct.isSetSuccess()) { - { - oprot.writeI32(struct.success.size()); - for (String _iter1490 : struct.success) - { - oprot.writeString(_iter1490); - } - } + struct.success.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_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 _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1491.size); - String _elem1492; - for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) - { - _elem1492 = iprot.readString(); - struct.success.add(_elem1492); - } - } + struct.success = new GetOpenTxnsResponse(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } } @@ -179040,14 +179777,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_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_open_txns_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_info_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_open_txns_info_args"); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_open_txns_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_info_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_info_argsTupleSchemeFactory()); } @@ -179110,20 +179847,20 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_args.class, metaDataMap); } - public get_open_txns_args() { + public get_open_txns_info_args() { } /** * Performs a deep copy on other. */ - public get_open_txns_args(get_open_txns_args other) { + public get_open_txns_info_args(get_open_txns_info_args other) { } - public get_open_txns_args deepCopy() { - return new get_open_txns_args(this); + public get_open_txns_info_args deepCopy() { + return new get_open_txns_info_args(this); } @Override @@ -179156,12 +179893,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_args) - return this.equals((get_open_txns_args)that); + if (that instanceof get_open_txns_info_args) + return this.equals((get_open_txns_info_args)that); return false; } - public boolean equals(get_open_txns_args that) { + public boolean equals(get_open_txns_info_args that) { if (that == null) return false; @@ -179176,7 +179913,7 @@ public int hashCode() { } @Override - public int compareTo(get_open_txns_args other) { + public int compareTo(get_open_txns_info_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -179200,7 +179937,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_args("); + StringBuilder sb = new StringBuilder("get_open_txns_info_args("); boolean first = true; sb.append(")"); @@ -179228,15 +179965,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_argsStandardSchemeFactory implements SchemeFactory { - public get_open_txns_argsStandardScheme getScheme() { - return new get_open_txns_argsStandardScheme(); + private static class get_open_txns_info_argsStandardSchemeFactory implements SchemeFactory { + public get_open_txns_info_argsStandardScheme getScheme() { + return new get_open_txns_info_argsStandardScheme(); } } - private static class get_open_txns_argsStandardScheme extends StandardScheme { + private static class get_open_txns_info_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -179255,7 +179992,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_args struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -179265,39 +180002,39 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_args } - private static class get_open_txns_argsTupleSchemeFactory implements SchemeFactory { - public get_open_txns_argsTupleScheme getScheme() { - return new get_open_txns_argsTupleScheme(); + private static class get_open_txns_info_argsTupleSchemeFactory implements SchemeFactory { + public get_open_txns_info_argsTupleScheme getScheme() { + return new get_open_txns_info_argsTupleScheme(); } } - private static class get_open_txns_argsTupleScheme extends TupleScheme { + private static class get_open_txns_info_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_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_open_txns_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_info_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_open_txns_info_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_open_txns_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new get_open_txns_info_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new get_open_txns_info_resultTupleSchemeFactory()); } - private GetOpenTxnsResponse success; // required + private GetOpenTxnsInfoResponse 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 { @@ -179362,16 +180099,16 @@ public String getFieldName() { 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, GetOpenTxnsResponse.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, GetOpenTxnsInfoResponse.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_result.class, metaDataMap); } - public get_open_txns_result() { + public get_open_txns_info_result() { } - public get_open_txns_result( - GetOpenTxnsResponse success) + public get_open_txns_info_result( + GetOpenTxnsInfoResponse success) { this(); this.success = success; @@ -179380,14 +180117,14 @@ public get_open_txns_result( /** * Performs a deep copy on other. */ - public get_open_txns_result(get_open_txns_result other) { + public get_open_txns_info_result(get_open_txns_info_result other) { if (other.isSetSuccess()) { - this.success = new GetOpenTxnsResponse(other.success); + this.success = new GetOpenTxnsInfoResponse(other.success); } } - public get_open_txns_result deepCopy() { - return new get_open_txns_result(this); + public get_open_txns_info_result deepCopy() { + return new get_open_txns_info_result(this); } @Override @@ -179395,11 +180132,11 @@ public void clear() { this.success = null; } - public GetOpenTxnsResponse getSuccess() { + public GetOpenTxnsInfoResponse getSuccess() { return this.success; } - public void setSuccess(GetOpenTxnsResponse success) { + public void setSuccess(GetOpenTxnsInfoResponse success) { this.success = success; } @@ -179424,7 +180161,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsResponse)value); + setSuccess((GetOpenTxnsInfoResponse)value); } break; @@ -179457,12 +180194,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_result) - return this.equals((get_open_txns_result)that); + if (that instanceof get_open_txns_info_result) + return this.equals((get_open_txns_info_result)that); return false; } - public boolean equals(get_open_txns_result that) { + public boolean equals(get_open_txns_info_result that) { if (that == null) return false; @@ -179491,7 +180228,7 @@ public int hashCode() { } @Override - public int compareTo(get_open_txns_result other) { + public int compareTo(get_open_txns_info_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -179525,7 +180262,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_result("); + StringBuilder sb = new StringBuilder("get_open_txns_info_result("); boolean first = true; sb.append("success:"); @@ -179563,15 +180300,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_resultStandardSchemeFactory implements SchemeFactory { - public get_open_txns_resultStandardScheme getScheme() { - return new get_open_txns_resultStandardScheme(); + private static class get_open_txns_info_resultStandardSchemeFactory implements SchemeFactory { + public get_open_txns_info_resultStandardScheme getScheme() { + return new get_open_txns_info_resultStandardScheme(); } } - private static class get_open_txns_resultStandardScheme extends StandardScheme { + private static class get_open_txns_info_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -179583,7 +180320,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_resul switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new GetOpenTxnsResponse(); + struct.success = new GetOpenTxnsInfoResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -179599,7 +180336,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_resul struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -179614,16 +180351,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_resu } - private static class get_open_txns_resultTupleSchemeFactory implements SchemeFactory { - public get_open_txns_resultTupleScheme getScheme() { - return new get_open_txns_resultTupleScheme(); + private static class get_open_txns_info_resultTupleSchemeFactory implements SchemeFactory { + public get_open_txns_info_resultTupleScheme getScheme() { + return new get_open_txns_info_resultTupleScheme(); } } - private static class get_open_txns_resultTupleScheme extends TupleScheme { + private static class get_open_txns_info_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -179636,11 +180373,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_resul } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = new GetOpenTxnsResponse(); + struct.success = new GetOpenTxnsInfoResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -179649,20 +180386,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_info_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_open_txns_info_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class open_txns_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("open_txns_args"); + private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new get_open_txns_info_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_info_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new open_txns_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new open_txns_argsTupleSchemeFactory()); } + private OpenTxnRequest rqst; // 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 { -; + RQST((short)1, "rqst"); private static final Map byName = new HashMap(); @@ -179677,6 +180416,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_result */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { + case 1: // RQST + return RQST; default: return null; } @@ -179715,37 +180456,86 @@ 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.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OpenTxnRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_args.class, metaDataMap); } - public get_open_txns_info_args() { + public open_txns_args() { + } + + public open_txns_args( + OpenTxnRequest rqst) + { + this(); + this.rqst = rqst; } /** * Performs a deep copy on other. */ - public get_open_txns_info_args(get_open_txns_info_args other) { + public open_txns_args(open_txns_args other) { + if (other.isSetRqst()) { + this.rqst = new OpenTxnRequest(other.rqst); + } } - public get_open_txns_info_args deepCopy() { - return new get_open_txns_info_args(this); + public open_txns_args deepCopy() { + return new open_txns_args(this); } @Override public void clear() { + this.rqst = null; + } + + public OpenTxnRequest getRqst() { + return this.rqst; + } + + public void setRqst(OpenTxnRequest rqst) { + this.rqst = rqst; + } + + public void unsetRqst() { + this.rqst = null; + } + + /** Returns true if field rqst is set (has been assigned a value) and false otherwise */ + public boolean isSetRqst() { + return this.rqst != null; + } + + public void setRqstIsSet(boolean value) { + if (!value) { + this.rqst = null; + } } public void setFieldValue(_Fields field, Object value) { switch (field) { + case RQST: + if (value == null) { + unsetRqst(); + } else { + setRqst((OpenTxnRequest)value); + } + break; + } } public Object getFieldValue(_Fields field) { switch (field) { + case RQST: + return getRqst(); + } throw new IllegalStateException(); } @@ -179757,6 +180547,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case RQST: + return isSetRqst(); } throw new IllegalStateException(); } @@ -179765,15 +180557,24 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_info_args) - return this.equals((get_open_txns_info_args)that); + if (that instanceof open_txns_args) + return this.equals((open_txns_args)that); return false; } - public boolean equals(get_open_txns_info_args that) { + public boolean equals(open_txns_args that) { if (that == null) return false; + boolean this_present_rqst = true && this.isSetRqst(); + boolean that_present_rqst = true && that.isSetRqst(); + if (this_present_rqst || that_present_rqst) { + if (!(this_present_rqst && that_present_rqst)) + return false; + if (!this.rqst.equals(that.rqst)) + return false; + } + return true; } @@ -179781,17 +180582,32 @@ public boolean equals(get_open_txns_info_args that) { public int hashCode() { List list = new ArrayList(); + boolean present_rqst = true && (isSetRqst()); + list.add(present_rqst); + if (present_rqst) + list.add(rqst); + return list.hashCode(); } @Override - public int compareTo(get_open_txns_info_args other) { + public int compareTo(open_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; + lastComparison = Boolean.valueOf(isSetRqst()).compareTo(other.isSetRqst()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetRqst()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.rqst, other.rqst); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -179809,9 +180625,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_info_args("); + StringBuilder sb = new StringBuilder("open_txns_args("); boolean first = true; + sb.append("rqst:"); + if (this.rqst == null) { + sb.append("null"); + } else { + sb.append(this.rqst); + } + first = false; sb.append(")"); return sb.toString(); } @@ -179819,6 +180642,9 @@ public String toString() { public void validate() throws org.apache.thrift.TException { // check for required fields // check for sub-struct validity + if (rqst != null) { + rqst.validate(); + } } private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException { @@ -179837,15 +180663,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_info_argsStandardSchemeFactory implements SchemeFactory { - public get_open_txns_info_argsStandardScheme getScheme() { - return new get_open_txns_info_argsStandardScheme(); + private static class open_txns_argsStandardSchemeFactory implements SchemeFactory { + public open_txns_argsStandardScheme getScheme() { + return new open_txns_argsStandardScheme(); } } - private static class get_open_txns_info_argsStandardScheme extends StandardScheme { + private static class open_txns_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -179855,6 +180681,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ break; } switch (schemeField.id) { + case 1: // RQST + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.rqst = new OpenTxnRequest(); + struct.rqst.read(iprot); + struct.setRqstIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -179864,49 +180699,68 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); + if (struct.rqst != null) { + oprot.writeFieldBegin(RQST_FIELD_DESC); + struct.rqst.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class get_open_txns_info_argsTupleSchemeFactory implements SchemeFactory { - public get_open_txns_info_argsTupleScheme getScheme() { - return new get_open_txns_info_argsTupleScheme(); + private static class open_txns_argsTupleSchemeFactory implements SchemeFactory { + public open_txns_argsTupleScheme getScheme() { + return new open_txns_argsTupleScheme(); } } - private static class get_open_txns_info_argsTupleScheme extends TupleScheme { + private static class open_txns_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; + BitSet optionals = new BitSet(); + if (struct.isSetRqst()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetRqst()) { + struct.rqst.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.rqst = new OpenTxnRequest(); + struct.rqst.read(iprot); + struct.setRqstIsSet(true); + } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class get_open_txns_info_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_open_txns_info_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class open_txns_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("open_txns_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_open_txns_info_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new get_open_txns_info_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new open_txns_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new open_txns_resultTupleSchemeFactory()); } - private GetOpenTxnsInfoResponse success; // required + private OpenTxnsResponse 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 { @@ -179971,16 +180825,16 @@ public String getFieldName() { 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, GetOpenTxnsInfoResponse.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OpenTxnsResponse.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(get_open_txns_info_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_result.class, metaDataMap); } - public get_open_txns_info_result() { + public open_txns_result() { } - public get_open_txns_info_result( - GetOpenTxnsInfoResponse success) + public open_txns_result( + OpenTxnsResponse success) { this(); this.success = success; @@ -179989,14 +180843,14 @@ public get_open_txns_info_result( /** * Performs a deep copy on other. */ - public get_open_txns_info_result(get_open_txns_info_result other) { + public open_txns_result(open_txns_result other) { if (other.isSetSuccess()) { - this.success = new GetOpenTxnsInfoResponse(other.success); + this.success = new OpenTxnsResponse(other.success); } } - public get_open_txns_info_result deepCopy() { - return new get_open_txns_info_result(this); + public open_txns_result deepCopy() { + return new open_txns_result(this); } @Override @@ -180004,11 +180858,11 @@ public void clear() { this.success = null; } - public GetOpenTxnsInfoResponse getSuccess() { + public OpenTxnsResponse getSuccess() { return this.success; } - public void setSuccess(GetOpenTxnsInfoResponse success) { + public void setSuccess(OpenTxnsResponse success) { this.success = success; } @@ -180033,7 +180887,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsInfoResponse)value); + setSuccess((OpenTxnsResponse)value); } break; @@ -180066,12 +180920,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof get_open_txns_info_result) - return this.equals((get_open_txns_info_result)that); + if (that instanceof open_txns_result) + return this.equals((open_txns_result)that); return false; } - public boolean equals(get_open_txns_info_result that) { + public boolean equals(open_txns_result that) { if (that == null) return false; @@ -180100,7 +180954,7 @@ public int hashCode() { } @Override - public int compareTo(get_open_txns_info_result other) { + public int compareTo(open_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -180134,7 +180988,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("get_open_txns_info_result("); + StringBuilder sb = new StringBuilder("open_txns_result("); boolean first = true; sb.append("success:"); @@ -180172,15 +181026,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class get_open_txns_info_resultStandardSchemeFactory implements SchemeFactory { - public get_open_txns_info_resultStandardScheme getScheme() { - return new get_open_txns_info_resultStandardScheme(); + private static class open_txns_resultStandardSchemeFactory implements SchemeFactory { + public open_txns_resultStandardScheme getScheme() { + return new open_txns_resultStandardScheme(); } } - private static class get_open_txns_info_resultStandardScheme extends StandardScheme { + private static class open_txns_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -180192,7 +181046,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ switch (schemeField.id) { case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new GetOpenTxnsInfoResponse(); + struct.success = new OpenTxnsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } else { @@ -180208,7 +181062,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_open_txns_info_ struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -180223,16 +181077,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_open_txns_info } - private static class get_open_txns_info_resultTupleSchemeFactory implements SchemeFactory { - public get_open_txns_info_resultTupleScheme getScheme() { - return new get_open_txns_info_resultTupleScheme(); + private static class open_txns_resultTupleSchemeFactory implements SchemeFactory { + public open_txns_resultTupleScheme getScheme() { + return new open_txns_resultTupleScheme(); } } - private static class get_open_txns_info_resultTupleScheme extends TupleScheme { + private static class open_txns_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetSuccess()) { @@ -180245,11 +181099,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_ } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = new GetOpenTxnsInfoResponse(); + struct.success = new OpenTxnsResponse(); struct.success.read(iprot); struct.setSuccessIsSet(true); } @@ -180258,18 +181112,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_open_txns_info_r } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class open_txns_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("open_txns_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txn_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("abort_txn_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new open_txns_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new open_txns_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txn_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txn_argsTupleSchemeFactory()); } - private OpenTxnRequest rqst; // required + private AbortTxnRequest rqst; // 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 { @@ -180334,16 +181188,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, OpenTxnRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AbortTxnRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_args.class, metaDataMap); } - public open_txns_args() { + public abort_txn_args() { } - public open_txns_args( - OpenTxnRequest rqst) + public abort_txn_args( + AbortTxnRequest rqst) { this(); this.rqst = rqst; @@ -180352,14 +181206,14 @@ public open_txns_args( /** * Performs a deep copy on other. */ - public open_txns_args(open_txns_args other) { + public abort_txn_args(abort_txn_args other) { if (other.isSetRqst()) { - this.rqst = new OpenTxnRequest(other.rqst); + this.rqst = new AbortTxnRequest(other.rqst); } } - public open_txns_args deepCopy() { - return new open_txns_args(this); + public abort_txn_args deepCopy() { + return new abort_txn_args(this); } @Override @@ -180367,11 +181221,11 @@ public void clear() { this.rqst = null; } - public OpenTxnRequest getRqst() { + public AbortTxnRequest getRqst() { return this.rqst; } - public void setRqst(OpenTxnRequest rqst) { + public void setRqst(AbortTxnRequest rqst) { this.rqst = rqst; } @@ -180396,7 +181250,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((OpenTxnRequest)value); + setRqst((AbortTxnRequest)value); } break; @@ -180429,12 +181283,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof open_txns_args) - return this.equals((open_txns_args)that); + if (that instanceof abort_txn_args) + return this.equals((abort_txn_args)that); return false; } - public boolean equals(open_txns_args that) { + public boolean equals(abort_txn_args that) { if (that == null) return false; @@ -180463,7 +181317,7 @@ public int hashCode() { } @Override - public int compareTo(open_txns_args other) { + public int compareTo(abort_txn_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -180497,7 +181351,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("open_txns_args("); + StringBuilder sb = new StringBuilder("abort_txn_args("); boolean first = true; sb.append("rqst:"); @@ -180535,15 +181389,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class open_txns_argsStandardSchemeFactory implements SchemeFactory { - public open_txns_argsStandardScheme getScheme() { - return new open_txns_argsStandardScheme(); + private static class abort_txn_argsStandardSchemeFactory implements SchemeFactory { + public abort_txn_argsStandardScheme getScheme() { + return new abort_txn_argsStandardScheme(); } } - private static class open_txns_argsStandardScheme extends StandardScheme { + private static class abort_txn_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -180555,7 +181409,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args stru switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new OpenTxnRequest(); + struct.rqst = new AbortTxnRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -180571,7 +181425,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_args stru struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -180586,16 +181440,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_args str } - private static class open_txns_argsTupleSchemeFactory implements SchemeFactory { - public open_txns_argsTupleScheme getScheme() { - return new open_txns_argsTupleScheme(); + private static class abort_txn_argsTupleSchemeFactory implements SchemeFactory { + public abort_txn_argsTupleScheme getScheme() { + return new abort_txn_argsTupleScheme(); } } - private static class open_txns_argsTupleScheme extends TupleScheme { + private static class abort_txn_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -180608,11 +181462,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_args stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new OpenTxnRequest(); + struct.rqst = new AbortTxnRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -180621,22 +181475,22 @@ public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struc } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class open_txns_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("open_txns_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txn_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("abort_txn_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 org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new open_txns_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new open_txns_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txn_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txn_resultTupleSchemeFactory()); } - private OpenTxnsResponse success; // required + private NoSuchTxnException o1; // required /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */ public enum _Fields implements org.apache.thrift.TFieldIdEnum { - SUCCESS((short)0, "success"); + O1((short)1, "o1"); private static final Map byName = new HashMap(); @@ -180651,8 +181505,8 @@ public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_args struc */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 0: // SUCCESS - return SUCCESS; + case 1: // O1 + return O1; default: return null; } @@ -180696,70 +181550,70 @@ public String getFieldName() { public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap; static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); - tmpMap.put(_Fields.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, OpenTxnsResponse.class))); + tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(open_txns_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_result.class, metaDataMap); } - public open_txns_result() { + public abort_txn_result() { } - public open_txns_result( - OpenTxnsResponse success) + public abort_txn_result( + NoSuchTxnException o1) { this(); - this.success = success; + this.o1 = o1; } /** * Performs a deep copy on other. */ - public open_txns_result(open_txns_result other) { - if (other.isSetSuccess()) { - this.success = new OpenTxnsResponse(other.success); + public abort_txn_result(abort_txn_result other) { + if (other.isSetO1()) { + this.o1 = new NoSuchTxnException(other.o1); } } - public open_txns_result deepCopy() { - return new open_txns_result(this); + public abort_txn_result deepCopy() { + return new abort_txn_result(this); } @Override public void clear() { - this.success = null; + this.o1 = null; } - public OpenTxnsResponse getSuccess() { - return this.success; + public NoSuchTxnException getO1() { + return this.o1; } - public void setSuccess(OpenTxnsResponse success) { - this.success = success; + public void setO1(NoSuchTxnException o1) { + this.o1 = o1; } - public void unsetSuccess() { - this.success = null; + public void unsetO1() { + this.o1 = null; } - /** Returns true if field success is set (has been assigned a value) and false otherwise */ - public boolean isSetSuccess() { - return this.success != null; + /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ + public boolean isSetO1() { + return this.o1 != null; } - public void setSuccessIsSet(boolean value) { + public void setO1IsSet(boolean value) { if (!value) { - this.success = null; + this.o1 = null; } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case SUCCESS: + case O1: if (value == null) { - unsetSuccess(); + unsetO1(); } else { - setSuccess((OpenTxnsResponse)value); + setO1((NoSuchTxnException)value); } break; @@ -180768,8 +181622,8 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { - case SUCCESS: - return getSuccess(); + case O1: + return getO1(); } throw new IllegalStateException(); @@ -180782,8 +181636,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); + case O1: + return isSetO1(); } throw new IllegalStateException(); } @@ -180792,21 +181646,21 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof open_txns_result) - return this.equals((open_txns_result)that); + if (that instanceof abort_txn_result) + return this.equals((abort_txn_result)that); return false; } - public boolean equals(open_txns_result that) { + public boolean equals(abort_txn_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)) + boolean this_present_o1 = true && this.isSetO1(); + boolean that_present_o1 = true && that.isSetO1(); + if (this_present_o1 || that_present_o1) { + if (!(this_present_o1 && that_present_o1)) return false; - if (!this.success.equals(that.success)) + if (!this.o1.equals(that.o1)) return false; } @@ -180817,28 +181671,28 @@ public boolean equals(open_txns_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_success = true && (isSetSuccess()); - list.add(present_success); - if (present_success) - list.add(success); + boolean present_o1 = true && (isSetO1()); + list.add(present_o1); + if (present_o1) + list.add(o1); return list.hashCode(); } @Override - public int compareTo(open_txns_result other) { + public int compareTo(abort_txn_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(other.isSetSuccess()); + lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); if (lastComparison != 0) { return lastComparison; } - if (isSetSuccess()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, other.success); + if (isSetO1()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); if (lastComparison != 0) { return lastComparison; } @@ -180860,14 +181714,14 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("open_txns_result("); + StringBuilder sb = new StringBuilder("abort_txn_result("); boolean first = true; - sb.append("success:"); - if (this.success == null) { + sb.append("o1:"); + if (this.o1 == null) { sb.append("null"); } else { - sb.append(this.success); + sb.append(this.o1); } first = false; sb.append(")"); @@ -180877,9 +181731,6 @@ public String 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 { @@ -180898,15 +181749,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class open_txns_resultStandardSchemeFactory implements SchemeFactory { - public open_txns_resultStandardScheme getScheme() { - return new open_txns_resultStandardScheme(); + private static class abort_txn_resultStandardSchemeFactory implements SchemeFactory { + public abort_txn_resultStandardScheme getScheme() { + return new abort_txn_resultStandardScheme(); } } - private static class open_txns_resultStandardScheme extends StandardScheme { + private static class abort_txn_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -180916,11 +181767,11 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result st break; } switch (schemeField.id) { - case 0: // SUCCESS + case 1: // O1 if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.success = new OpenTxnsResponse(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); + struct.o1 = new NoSuchTxnException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -180934,13 +181785,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, open_txns_result st struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_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); + if (struct.o1 != null) { + oprot.writeFieldBegin(O1_FIELD_DESC); + struct.o1.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -180949,53 +181800,53 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, open_txns_result s } - private static class open_txns_resultTupleSchemeFactory implements SchemeFactory { - public open_txns_resultTupleScheme getScheme() { - return new open_txns_resultTupleScheme(); + private static class abort_txn_resultTupleSchemeFactory implements SchemeFactory { + public abort_txn_resultTupleScheme getScheme() { + return new abort_txn_resultTupleScheme(); } } - private static class open_txns_resultTupleScheme extends TupleScheme { + private static class abort_txn_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); - if (struct.isSetSuccess()) { + if (struct.isSetO1()) { optionals.set(0); } oprot.writeBitSet(optionals, 1); - if (struct.isSetSuccess()) { - struct.success.write(oprot); + if (struct.isSetO1()) { + struct.o1.write(oprot); } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, open_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.success = new OpenTxnsResponse(); - struct.success.read(iprot); - struct.setSuccessIsSet(true); + struct.o1 = new NoSuchTxnException(); + struct.o1.read(iprot); + struct.setO1IsSet(true); } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txn_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("abort_txn_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txns_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("abort_txns_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new abort_txn_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new abort_txn_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txns_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txns_argsTupleSchemeFactory()); } - private AbortTxnRequest rqst; // required + private AbortTxnsRequest rqst; // 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 { @@ -181060,16 +181911,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AbortTxnRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AbortTxnsRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txns_args.class, metaDataMap); } - public abort_txn_args() { + public abort_txns_args() { } - public abort_txn_args( - AbortTxnRequest rqst) + public abort_txns_args( + AbortTxnsRequest rqst) { this(); this.rqst = rqst; @@ -181078,14 +181929,14 @@ public abort_txn_args( /** * Performs a deep copy on other. */ - public abort_txn_args(abort_txn_args other) { + public abort_txns_args(abort_txns_args other) { if (other.isSetRqst()) { - this.rqst = new AbortTxnRequest(other.rqst); + this.rqst = new AbortTxnsRequest(other.rqst); } } - public abort_txn_args deepCopy() { - return new abort_txn_args(this); + public abort_txns_args deepCopy() { + return new abort_txns_args(this); } @Override @@ -181093,11 +181944,11 @@ public void clear() { this.rqst = null; } - public AbortTxnRequest getRqst() { + public AbortTxnsRequest getRqst() { return this.rqst; } - public void setRqst(AbortTxnRequest rqst) { + public void setRqst(AbortTxnsRequest rqst) { this.rqst = rqst; } @@ -181122,7 +181973,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AbortTxnRequest)value); + setRqst((AbortTxnsRequest)value); } break; @@ -181155,12 +182006,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof abort_txn_args) - return this.equals((abort_txn_args)that); + if (that instanceof abort_txns_args) + return this.equals((abort_txns_args)that); return false; } - public boolean equals(abort_txn_args that) { + public boolean equals(abort_txns_args that) { if (that == null) return false; @@ -181189,7 +182040,7 @@ public int hashCode() { } @Override - public int compareTo(abort_txn_args other) { + public int compareTo(abort_txns_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -181223,7 +182074,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_txn_args("); + StringBuilder sb = new StringBuilder("abort_txns_args("); boolean first = true; sb.append("rqst:"); @@ -181261,15 +182112,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class abort_txn_argsStandardSchemeFactory implements SchemeFactory { - public abort_txn_argsStandardScheme getScheme() { - return new abort_txn_argsStandardScheme(); + private static class abort_txns_argsStandardSchemeFactory implements SchemeFactory { + public abort_txns_argsStandardScheme getScheme() { + return new abort_txns_argsStandardScheme(); } } - private static class abort_txn_argsStandardScheme extends StandardScheme { + private static class abort_txns_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -181281,7 +182132,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args stru switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new AbortTxnRequest(); + struct.rqst = new AbortTxnsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -181297,7 +182148,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_args stru struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -181312,16 +182163,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_args str } - private static class abort_txn_argsTupleSchemeFactory implements SchemeFactory { - public abort_txn_argsTupleScheme getScheme() { - return new abort_txn_argsTupleScheme(); + private static class abort_txns_argsTupleSchemeFactory implements SchemeFactory { + public abort_txns_argsTupleScheme getScheme() { + return new abort_txns_argsTupleScheme(); } } - private static class abort_txn_argsTupleScheme extends TupleScheme { + private static class abort_txns_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -181334,11 +182185,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_args stru } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new AbortTxnRequest(); + struct.rqst = new AbortTxnsRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -181347,15 +182198,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_args struc } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txn_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("abort_txn_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txns_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("abort_txns_result"); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new abort_txn_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new abort_txn_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new abort_txns_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new abort_txns_resultTupleSchemeFactory()); } private NoSuchTxnException o1; // required @@ -181425,13 +182276,13 @@ public String getFieldName() { tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txn_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txns_result.class, metaDataMap); } - public abort_txn_result() { + public abort_txns_result() { } - public abort_txn_result( + public abort_txns_result( NoSuchTxnException o1) { this(); @@ -181441,14 +182292,14 @@ public abort_txn_result( /** * Performs a deep copy on other. */ - public abort_txn_result(abort_txn_result other) { + public abort_txns_result(abort_txns_result other) { if (other.isSetO1()) { this.o1 = new NoSuchTxnException(other.o1); } } - public abort_txn_result deepCopy() { - return new abort_txn_result(this); + public abort_txns_result deepCopy() { + return new abort_txns_result(this); } @Override @@ -181518,12 +182369,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof abort_txn_result) - return this.equals((abort_txn_result)that); + if (that instanceof abort_txns_result) + return this.equals((abort_txns_result)that); return false; } - public boolean equals(abort_txn_result that) { + public boolean equals(abort_txns_result that) { if (that == null) return false; @@ -181552,7 +182403,7 @@ public int hashCode() { } @Override - public int compareTo(abort_txn_result other) { + public int compareTo(abort_txns_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -181586,7 +182437,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_txn_result("); + StringBuilder sb = new StringBuilder("abort_txns_result("); boolean first = true; sb.append("o1:"); @@ -181621,15 +182472,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class abort_txn_resultStandardSchemeFactory implements SchemeFactory { - public abort_txn_resultStandardScheme getScheme() { - return new abort_txn_resultStandardScheme(); + private static class abort_txns_resultStandardSchemeFactory implements SchemeFactory { + public abort_txns_resultStandardScheme getScheme() { + return new abort_txns_resultStandardScheme(); } } - private static class abort_txn_resultStandardScheme extends StandardScheme { + private static class abort_txns_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -181657,7 +182508,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txn_result st struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -181672,16 +182523,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txn_result s } - private static class abort_txn_resultTupleSchemeFactory implements SchemeFactory { - public abort_txn_resultTupleScheme getScheme() { - return new abort_txn_resultTupleScheme(); + private static class abort_txns_resultTupleSchemeFactory implements SchemeFactory { + public abort_txns_resultTupleScheme getScheme() { + return new abort_txns_resultTupleScheme(); } } - private static class abort_txn_resultTupleScheme extends TupleScheme { + private static class abort_txns_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetO1()) { @@ -181694,7 +182545,7 @@ public void write(org.apache.thrift.protocol.TProtocol prot, abort_txn_result st } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { @@ -181707,18 +182558,18 @@ public void read(org.apache.thrift.protocol.TProtocol prot, abort_txn_result str } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txns_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("abort_txns_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class commit_txn_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("commit_txn_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new abort_txns_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new abort_txns_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new commit_txn_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new commit_txn_argsTupleSchemeFactory()); } - private AbortTxnsRequest rqst; // required + private CommitTxnRequest rqst; // 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 { @@ -181783,16 +182634,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, AbortTxnsRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CommitTxnRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txns_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(commit_txn_args.class, metaDataMap); } - public abort_txns_args() { + public commit_txn_args() { } - public abort_txns_args( - AbortTxnsRequest rqst) + public commit_txn_args( + CommitTxnRequest rqst) { this(); this.rqst = rqst; @@ -181801,14 +182652,14 @@ public abort_txns_args( /** * Performs a deep copy on other. */ - public abort_txns_args(abort_txns_args other) { + public commit_txn_args(commit_txn_args other) { if (other.isSetRqst()) { - this.rqst = new AbortTxnsRequest(other.rqst); + this.rqst = new CommitTxnRequest(other.rqst); } } - public abort_txns_args deepCopy() { - return new abort_txns_args(this); + public commit_txn_args deepCopy() { + return new commit_txn_args(this); } @Override @@ -181816,11 +182667,11 @@ public void clear() { this.rqst = null; } - public AbortTxnsRequest getRqst() { + public CommitTxnRequest getRqst() { return this.rqst; } - public void setRqst(AbortTxnsRequest rqst) { + public void setRqst(CommitTxnRequest rqst) { this.rqst = rqst; } @@ -181845,7 +182696,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AbortTxnsRequest)value); + setRqst((CommitTxnRequest)value); } break; @@ -181878,12 +182729,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof abort_txns_args) - return this.equals((abort_txns_args)that); + if (that instanceof commit_txn_args) + return this.equals((commit_txn_args)that); return false; } - public boolean equals(abort_txns_args that) { + public boolean equals(commit_txn_args that) { if (that == null) return false; @@ -181912,7 +182763,7 @@ public int hashCode() { } @Override - public int compareTo(abort_txns_args other) { + public int compareTo(commit_txn_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -181946,7 +182797,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_txns_args("); + StringBuilder sb = new StringBuilder("commit_txn_args("); boolean first = true; sb.append("rqst:"); @@ -181984,15 +182835,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class abort_txns_argsStandardSchemeFactory implements SchemeFactory { - public abort_txns_argsStandardScheme getScheme() { - return new abort_txns_argsStandardScheme(); + private static class commit_txn_argsStandardSchemeFactory implements SchemeFactory { + public commit_txn_argsStandardScheme getScheme() { + return new commit_txn_argsStandardScheme(); } } - private static class abort_txns_argsStandardScheme extends StandardScheme { + private static class commit_txn_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -182004,7 +182855,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_args str switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new AbortTxnsRequest(); + struct.rqst = new CommitTxnRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -182020,7 +182871,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_args str struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, commit_txn_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -182035,16 +182886,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_args st } - private static class abort_txns_argsTupleSchemeFactory implements SchemeFactory { - public abort_txns_argsTupleScheme getScheme() { - return new abort_txns_argsTupleScheme(); + private static class commit_txn_argsTupleSchemeFactory implements SchemeFactory { + public commit_txn_argsTupleScheme getScheme() { + return new commit_txn_argsTupleScheme(); } } - private static class abort_txns_argsTupleScheme extends TupleScheme { + private static class commit_txn_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, commit_txn_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -182057,11 +182908,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_args str } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new AbortTxnsRequest(); + struct.rqst = new CommitTxnRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -182070,22 +182921,25 @@ public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_args stru } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class abort_txns_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("abort_txns_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class commit_txn_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("commit_txn_result"); private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); + private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new abort_txns_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new abort_txns_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new commit_txn_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new commit_txn_resultTupleSchemeFactory()); } private NoSuchTxnException o1; // required + private TxnAbortedException o2; // 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 { - O1((short)1, "o1"); + O1((short)1, "o1"), + O2((short)2, "o2"); private static final Map byName = new HashMap(); @@ -182102,6 +182956,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // O1 return O1; + case 2: // O2 + return O2; default: return null; } @@ -182147,36 +183003,44 @@ public String getFieldName() { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); + tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(abort_txns_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(commit_txn_result.class, metaDataMap); } - public abort_txns_result() { + public commit_txn_result() { } - public abort_txns_result( - NoSuchTxnException o1) + public commit_txn_result( + NoSuchTxnException o1, + TxnAbortedException o2) { this(); this.o1 = o1; + this.o2 = o2; } /** * Performs a deep copy on other. */ - public abort_txns_result(abort_txns_result other) { + public commit_txn_result(commit_txn_result other) { if (other.isSetO1()) { this.o1 = new NoSuchTxnException(other.o1); } + if (other.isSetO2()) { + this.o2 = new TxnAbortedException(other.o2); + } } - public abort_txns_result deepCopy() { - return new abort_txns_result(this); + public commit_txn_result deepCopy() { + return new commit_txn_result(this); } @Override public void clear() { this.o1 = null; + this.o2 = null; } public NoSuchTxnException getO1() { @@ -182202,6 +183066,29 @@ public void setO1IsSet(boolean value) { } } + public TxnAbortedException getO2() { + return this.o2; + } + + public void setO2(TxnAbortedException o2) { + this.o2 = o2; + } + + public void unsetO2() { + this.o2 = null; + } + + /** Returns true if field o2 is set (has been assigned a value) and false otherwise */ + public boolean isSetO2() { + return this.o2 != null; + } + + public void setO2IsSet(boolean value) { + if (!value) { + this.o2 = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case O1: @@ -182212,6 +183099,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case O2: + if (value == null) { + unsetO2(); + } else { + setO2((TxnAbortedException)value); + } + break; + } } @@ -182220,6 +183115,9 @@ public Object getFieldValue(_Fields field) { case O1: return getO1(); + case O2: + return getO2(); + } throw new IllegalStateException(); } @@ -182233,6 +183131,8 @@ public boolean isSet(_Fields field) { switch (field) { case O1: return isSetO1(); + case O2: + return isSetO2(); } throw new IllegalStateException(); } @@ -182241,12 +183141,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof abort_txns_result) - return this.equals((abort_txns_result)that); + if (that instanceof commit_txn_result) + return this.equals((commit_txn_result)that); return false; } - public boolean equals(abort_txns_result that) { + public boolean equals(commit_txn_result that) { if (that == null) return false; @@ -182259,6 +183159,15 @@ public boolean equals(abort_txns_result that) { return false; } + boolean this_present_o2 = true && this.isSetO2(); + boolean that_present_o2 = true && that.isSetO2(); + if (this_present_o2 || that_present_o2) { + if (!(this_present_o2 && that_present_o2)) + return false; + if (!this.o2.equals(that.o2)) + return false; + } + return true; } @@ -182271,11 +183180,16 @@ public int hashCode() { if (present_o1) list.add(o1); + boolean present_o2 = true && (isSetO2()); + list.add(present_o2); + if (present_o2) + list.add(o2); + return list.hashCode(); } @Override - public int compareTo(abort_txns_result other) { + public int compareTo(commit_txn_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -182292,6 +183206,16 @@ public int compareTo(abort_txns_result other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetO2()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -182309,7 +183233,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("abort_txns_result("); + StringBuilder sb = new StringBuilder("commit_txn_result("); boolean first = true; sb.append("o1:"); @@ -182319,6 +183243,14 @@ public String toString() { sb.append(this.o1); } first = false; + if (!first) sb.append(", "); + sb.append("o2:"); + if (this.o2 == null) { + sb.append("null"); + } else { + sb.append(this.o2); + } + first = false; sb.append(")"); return sb.toString(); } @@ -182344,15 +183276,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class abort_txns_resultStandardSchemeFactory implements SchemeFactory { - public abort_txns_resultStandardScheme getScheme() { - return new abort_txns_resultStandardScheme(); + private static class commit_txn_resultStandardSchemeFactory implements SchemeFactory { + public commit_txn_resultStandardScheme getScheme() { + return new commit_txn_resultStandardScheme(); } } - private static class abort_txns_resultStandardScheme extends StandardScheme { + private static class commit_txn_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -182371,6 +183303,15 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_result s org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 2: // O2 + if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { + struct.o2 = new TxnAbortedException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -182380,7 +183321,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, abort_txns_result s struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, commit_txn_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -182389,59 +183330,75 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, abort_txns_result struct.o1.write(oprot); oprot.writeFieldEnd(); } + if (struct.o2 != null) { + oprot.writeFieldBegin(O2_FIELD_DESC); + struct.o2.write(oprot); + oprot.writeFieldEnd(); + } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class abort_txns_resultTupleSchemeFactory implements SchemeFactory { - public abort_txns_resultTupleScheme getScheme() { - return new abort_txns_resultTupleScheme(); + private static class commit_txn_resultTupleSchemeFactory implements SchemeFactory { + public commit_txn_resultTupleScheme getScheme() { + return new commit_txn_resultTupleScheme(); } } - private static class abort_txns_resultTupleScheme extends TupleScheme { + private static class commit_txn_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, abort_txns_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, commit_txn_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetO1()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetO2()) { + optionals.set(1); + } + oprot.writeBitSet(optionals, 2); if (struct.isSetO1()) { struct.o1.write(oprot); } + if (struct.isSetO2()) { + struct.o2.write(oprot); + } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, abort_txns_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { struct.o1 = new NoSuchTxnException(); struct.o1.read(iprot); struct.setO1IsSet(true); } + if (incoming.get(1)) { + struct.o2 = new TxnAbortedException(); + struct.o2.read(iprot); + struct.setO2IsSet(true); + } } } } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class commit_txn_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("commit_txn_args"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class repl_tbl_writeid_state_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("repl_tbl_writeid_state_args"); private static final org.apache.thrift.protocol.TField RQST_FIELD_DESC = new org.apache.thrift.protocol.TField("rqst", org.apache.thrift.protocol.TType.STRUCT, (short)1); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new commit_txn_argsStandardSchemeFactory()); - schemes.put(TupleScheme.class, new commit_txn_argsTupleSchemeFactory()); + schemes.put(StandardScheme.class, new repl_tbl_writeid_state_argsStandardSchemeFactory()); + schemes.put(TupleScheme.class, new repl_tbl_writeid_state_argsTupleSchemeFactory()); } - private CommitTxnRequest rqst; // required + private ReplTblWriteIdStateRequest rqst; // 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 { @@ -182506,16 +183463,16 @@ public String getFieldName() { static { Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class); tmpMap.put(_Fields.RQST, new org.apache.thrift.meta_data.FieldMetaData("rqst", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, CommitTxnRequest.class))); + new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, ReplTblWriteIdStateRequest.class))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(commit_txn_args.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(repl_tbl_writeid_state_args.class, metaDataMap); } - public commit_txn_args() { + public repl_tbl_writeid_state_args() { } - public commit_txn_args( - CommitTxnRequest rqst) + public repl_tbl_writeid_state_args( + ReplTblWriteIdStateRequest rqst) { this(); this.rqst = rqst; @@ -182524,14 +183481,14 @@ public commit_txn_args( /** * Performs a deep copy on other. */ - public commit_txn_args(commit_txn_args other) { + public repl_tbl_writeid_state_args(repl_tbl_writeid_state_args other) { if (other.isSetRqst()) { - this.rqst = new CommitTxnRequest(other.rqst); + this.rqst = new ReplTblWriteIdStateRequest(other.rqst); } } - public commit_txn_args deepCopy() { - return new commit_txn_args(this); + public repl_tbl_writeid_state_args deepCopy() { + return new repl_tbl_writeid_state_args(this); } @Override @@ -182539,11 +183496,11 @@ public void clear() { this.rqst = null; } - public CommitTxnRequest getRqst() { + public ReplTblWriteIdStateRequest getRqst() { return this.rqst; } - public void setRqst(CommitTxnRequest rqst) { + public void setRqst(ReplTblWriteIdStateRequest rqst) { this.rqst = rqst; } @@ -182568,7 +183525,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((CommitTxnRequest)value); + setRqst((ReplTblWriteIdStateRequest)value); } break; @@ -182601,12 +183558,12 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof commit_txn_args) - return this.equals((commit_txn_args)that); + if (that instanceof repl_tbl_writeid_state_args) + return this.equals((repl_tbl_writeid_state_args)that); return false; } - public boolean equals(commit_txn_args that) { + public boolean equals(repl_tbl_writeid_state_args that) { if (that == null) return false; @@ -182635,7 +183592,7 @@ public int hashCode() { } @Override - public int compareTo(commit_txn_args other) { + public int compareTo(repl_tbl_writeid_state_args other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } @@ -182669,7 +183626,7 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("commit_txn_args("); + StringBuilder sb = new StringBuilder("repl_tbl_writeid_state_args("); boolean first = true; sb.append("rqst:"); @@ -182707,15 +183664,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class commit_txn_argsStandardSchemeFactory implements SchemeFactory { - public commit_txn_argsStandardScheme getScheme() { - return new commit_txn_argsStandardScheme(); + private static class repl_tbl_writeid_state_argsStandardSchemeFactory implements SchemeFactory { + public repl_tbl_writeid_state_argsStandardScheme getScheme() { + return new repl_tbl_writeid_state_argsStandardScheme(); } } - private static class commit_txn_argsStandardScheme extends StandardScheme { + private static class repl_tbl_writeid_state_argsStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, repl_tbl_writeid_state_args struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -182727,7 +183684,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_args str switch (schemeField.id) { case 1: // RQST if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.rqst = new CommitTxnRequest(); + struct.rqst = new ReplTblWriteIdStateRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } else { @@ -182743,7 +183700,7 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_args str struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, commit_txn_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, repl_tbl_writeid_state_args struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); @@ -182758,16 +183715,16 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, commit_txn_args st } - private static class commit_txn_argsTupleSchemeFactory implements SchemeFactory { - public commit_txn_argsTupleScheme getScheme() { - return new commit_txn_argsTupleScheme(); + private static class repl_tbl_writeid_state_argsTupleSchemeFactory implements SchemeFactory { + public repl_tbl_writeid_state_argsTupleScheme getScheme() { + return new repl_tbl_writeid_state_argsTupleScheme(); } } - private static class commit_txn_argsTupleScheme extends TupleScheme { + private static class repl_tbl_writeid_state_argsTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, commit_txn_args struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, repl_tbl_writeid_state_args struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; BitSet optionals = new BitSet(); if (struct.isSetRqst()) { @@ -182780,11 +183737,11 @@ public void write(org.apache.thrift.protocol.TProtocol prot, commit_txn_args str } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_args struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, repl_tbl_writeid_state_args struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { - struct.rqst = new CommitTxnRequest(); + struct.rqst = new ReplTblWriteIdStateRequest(); struct.rqst.read(iprot); struct.setRqstIsSet(true); } @@ -182793,25 +183750,20 @@ public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_args stru } - @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class commit_txn_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("commit_txn_result"); + @org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public static class repl_tbl_writeid_state_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("repl_tbl_writeid_state_result"); - private static final org.apache.thrift.protocol.TField O1_FIELD_DESC = new org.apache.thrift.protocol.TField("o1", org.apache.thrift.protocol.TType.STRUCT, (short)1); - private static final org.apache.thrift.protocol.TField O2_FIELD_DESC = new org.apache.thrift.protocol.TField("o2", org.apache.thrift.protocol.TType.STRUCT, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { - schemes.put(StandardScheme.class, new commit_txn_resultStandardSchemeFactory()); - schemes.put(TupleScheme.class, new commit_txn_resultTupleSchemeFactory()); + schemes.put(StandardScheme.class, new repl_tbl_writeid_state_resultStandardSchemeFactory()); + schemes.put(TupleScheme.class, new repl_tbl_writeid_state_resultTupleSchemeFactory()); } - private NoSuchTxnException o1; // required - private TxnAbortedException o2; // 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 { - O1((short)1, "o1"), - O2((short)2, "o2"); +; private static final Map byName = new HashMap(); @@ -182826,10 +183778,6 @@ public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_args stru */ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { - case 1: // O1 - return O1; - case 2: // O2 - return O2; default: return null; } @@ -182868,128 +183816,37 @@ 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.O1, new org.apache.thrift.meta_data.FieldMetaData("o1", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); - tmpMap.put(_Fields.O2, new org.apache.thrift.meta_data.FieldMetaData("o2", org.apache.thrift.TFieldRequirementType.DEFAULT, - new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT))); metaDataMap = Collections.unmodifiableMap(tmpMap); - org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(commit_txn_result.class, metaDataMap); + org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(repl_tbl_writeid_state_result.class, metaDataMap); } - public commit_txn_result() { - } - - public commit_txn_result( - NoSuchTxnException o1, - TxnAbortedException o2) - { - this(); - this.o1 = o1; - this.o2 = o2; + public repl_tbl_writeid_state_result() { } /** * Performs a deep copy on other. */ - public commit_txn_result(commit_txn_result other) { - if (other.isSetO1()) { - this.o1 = new NoSuchTxnException(other.o1); - } - if (other.isSetO2()) { - this.o2 = new TxnAbortedException(other.o2); - } + public repl_tbl_writeid_state_result(repl_tbl_writeid_state_result other) { } - public commit_txn_result deepCopy() { - return new commit_txn_result(this); + public repl_tbl_writeid_state_result deepCopy() { + return new repl_tbl_writeid_state_result(this); } @Override public void clear() { - this.o1 = null; - this.o2 = null; - } - - public NoSuchTxnException getO1() { - return this.o1; - } - - public void setO1(NoSuchTxnException o1) { - this.o1 = o1; - } - - public void unsetO1() { - this.o1 = null; - } - - /** Returns true if field o1 is set (has been assigned a value) and false otherwise */ - public boolean isSetO1() { - return this.o1 != null; - } - - public void setO1IsSet(boolean value) { - if (!value) { - this.o1 = null; - } - } - - public TxnAbortedException getO2() { - return this.o2; - } - - public void setO2(TxnAbortedException o2) { - this.o2 = o2; - } - - public void unsetO2() { - this.o2 = null; - } - - /** Returns true if field o2 is set (has been assigned a value) and false otherwise */ - public boolean isSetO2() { - return this.o2 != null; - } - - public void setO2IsSet(boolean value) { - if (!value) { - this.o2 = null; - } } public void setFieldValue(_Fields field, Object value) { switch (field) { - case O1: - if (value == null) { - unsetO1(); - } else { - setO1((NoSuchTxnException)value); - } - break; - - case O2: - if (value == null) { - unsetO2(); - } else { - setO2((TxnAbortedException)value); - } - break; - } } public Object getFieldValue(_Fields field) { switch (field) { - case O1: - return getO1(); - - case O2: - return getO2(); - } throw new IllegalStateException(); } @@ -183001,10 +183858,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case O1: - return isSetO1(); - case O2: - return isSetO2(); } throw new IllegalStateException(); } @@ -183013,33 +183866,15 @@ public boolean isSet(_Fields field) { public boolean equals(Object that) { if (that == null) return false; - if (that instanceof commit_txn_result) - return this.equals((commit_txn_result)that); + if (that instanceof repl_tbl_writeid_state_result) + return this.equals((repl_tbl_writeid_state_result)that); return false; } - public boolean equals(commit_txn_result that) { + public boolean equals(repl_tbl_writeid_state_result that) { if (that == null) return false; - boolean this_present_o1 = true && this.isSetO1(); - boolean that_present_o1 = true && that.isSetO1(); - if (this_present_o1 || that_present_o1) { - if (!(this_present_o1 && that_present_o1)) - return false; - if (!this.o1.equals(that.o1)) - return false; - } - - boolean this_present_o2 = true && this.isSetO2(); - boolean that_present_o2 = true && that.isSetO2(); - if (this_present_o2 || that_present_o2) { - if (!(this_present_o2 && that_present_o2)) - return false; - if (!this.o2.equals(that.o2)) - return false; - } - return true; } @@ -183047,47 +183882,17 @@ public boolean equals(commit_txn_result that) { public int hashCode() { List list = new ArrayList(); - boolean present_o1 = true && (isSetO1()); - list.add(present_o1); - if (present_o1) - list.add(o1); - - boolean present_o2 = true && (isSetO2()); - list.add(present_o2); - if (present_o2) - list.add(o2); - return list.hashCode(); } @Override - public int compareTo(commit_txn_result other) { + public int compareTo(repl_tbl_writeid_state_result other) { if (!getClass().equals(other.getClass())) { return getClass().getName().compareTo(other.getClass().getName()); } int lastComparison = 0; - lastComparison = Boolean.valueOf(isSetO1()).compareTo(other.isSetO1()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO1()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o1, other.o1); - if (lastComparison != 0) { - return lastComparison; - } - } - lastComparison = Boolean.valueOf(isSetO2()).compareTo(other.isSetO2()); - if (lastComparison != 0) { - return lastComparison; - } - if (isSetO2()) { - lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.o2, other.o2); - if (lastComparison != 0) { - return lastComparison; - } - } return 0; } @@ -183105,24 +183910,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache. @Override public String toString() { - StringBuilder sb = new StringBuilder("commit_txn_result("); + StringBuilder sb = new StringBuilder("repl_tbl_writeid_state_result("); boolean first = true; - sb.append("o1:"); - if (this.o1 == null) { - sb.append("null"); - } else { - sb.append(this.o1); - } - first = false; - if (!first) sb.append(", "); - sb.append("o2:"); - if (this.o2 == null) { - sb.append("null"); - } else { - sb.append(this.o2); - } - first = false; sb.append(")"); return sb.toString(); } @@ -183148,15 +183938,15 @@ private void readObject(java.io.ObjectInputStream in) throws java.io.IOException } } - private static class commit_txn_resultStandardSchemeFactory implements SchemeFactory { - public commit_txn_resultStandardScheme getScheme() { - return new commit_txn_resultStandardScheme(); + private static class repl_tbl_writeid_state_resultStandardSchemeFactory implements SchemeFactory { + public repl_tbl_writeid_state_resultStandardScheme getScheme() { + return new repl_tbl_writeid_state_resultStandardScheme(); } } - private static class commit_txn_resultStandardScheme extends StandardScheme { + private static class repl_tbl_writeid_state_resultStandardScheme extends StandardScheme { - public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol iprot, repl_tbl_writeid_state_result struct) throws org.apache.thrift.TException { org.apache.thrift.protocol.TField schemeField; iprot.readStructBegin(); while (true) @@ -183166,24 +183956,6 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_result s break; } switch (schemeField.id) { - case 1: // O1 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o1 = new NoSuchTxnException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; - case 2: // O2 - if (schemeField.type == org.apache.thrift.protocol.TType.STRUCT) { - struct.o2 = new TxnAbortedException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } else { - org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); - } - break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -183193,67 +183965,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, commit_txn_result s struct.validate(); } - public void write(org.apache.thrift.protocol.TProtocol oprot, commit_txn_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol oprot, repl_tbl_writeid_state_result struct) throws org.apache.thrift.TException { struct.validate(); oprot.writeStructBegin(STRUCT_DESC); - if (struct.o1 != null) { - oprot.writeFieldBegin(O1_FIELD_DESC); - struct.o1.write(oprot); - oprot.writeFieldEnd(); - } - if (struct.o2 != null) { - oprot.writeFieldBegin(O2_FIELD_DESC); - struct.o2.write(oprot); - oprot.writeFieldEnd(); - } oprot.writeFieldStop(); oprot.writeStructEnd(); } } - private static class commit_txn_resultTupleSchemeFactory implements SchemeFactory { - public commit_txn_resultTupleScheme getScheme() { - return new commit_txn_resultTupleScheme(); + private static class repl_tbl_writeid_state_resultTupleSchemeFactory implements SchemeFactory { + public repl_tbl_writeid_state_resultTupleScheme getScheme() { + return new repl_tbl_writeid_state_resultTupleScheme(); } } - private static class commit_txn_resultTupleScheme extends TupleScheme { + private static class repl_tbl_writeid_state_resultTupleScheme extends TupleScheme { @Override - public void write(org.apache.thrift.protocol.TProtocol prot, commit_txn_result struct) throws org.apache.thrift.TException { + public void write(org.apache.thrift.protocol.TProtocol prot, repl_tbl_writeid_state_result struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; - BitSet optionals = new BitSet(); - if (struct.isSetO1()) { - optionals.set(0); - } - if (struct.isSetO2()) { - optionals.set(1); - } - oprot.writeBitSet(optionals, 2); - if (struct.isSetO1()) { - struct.o1.write(oprot); - } - if (struct.isSetO2()) { - struct.o2.write(oprot); - } } @Override - public void read(org.apache.thrift.protocol.TProtocol prot, commit_txn_result struct) throws org.apache.thrift.TException { + public void read(org.apache.thrift.protocol.TProtocol prot, repl_tbl_writeid_state_result struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; - BitSet incoming = iprot.readBitSet(2); - if (incoming.get(0)) { - struct.o1 = new NoSuchTxnException(); - struct.o1.read(iprot); - struct.setO1IsSet(true); - } - if (incoming.get(1)) { - struct.o2 = new TxnAbortedException(); - struct.o2.read(iprot); - struct.setO2IsSet(true); - } } } @@ -226604,14 +227341,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_schema_all_vers case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1494 = iprot.readListBegin(); - struct.success = new ArrayList(_list1494.size); - SchemaVersion _elem1495; - for (int _i1496 = 0; _i1496 < _list1494.size; ++_i1496) + org.apache.thrift.protocol.TList _list1502 = iprot.readListBegin(); + struct.success = new ArrayList(_list1502.size); + SchemaVersion _elem1503; + for (int _i1504 = 0; _i1504 < _list1502.size; ++_i1504) { - _elem1495 = new SchemaVersion(); - _elem1495.read(iprot); - struct.success.add(_elem1495); + _elem1503 = new SchemaVersion(); + _elem1503.read(iprot); + struct.success.add(_elem1503); } iprot.readListEnd(); } @@ -226655,9 +227392,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_schema_all_ver oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (SchemaVersion _iter1497 : struct.success) + for (SchemaVersion _iter1505 : struct.success) { - _iter1497.write(oprot); + _iter1505.write(oprot); } oprot.writeListEnd(); } @@ -226704,9 +227441,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1498 : struct.success) + for (SchemaVersion _iter1506 : struct.success) { - _iter1498.write(oprot); + _iter1506.write(oprot); } } } @@ -226724,14 +227461,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_schema_all_versi BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1499 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1499.size); - SchemaVersion _elem1500; - for (int _i1501 = 0; _i1501 < _list1499.size; ++_i1501) + org.apache.thrift.protocol.TList _list1507 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1507.size); + SchemaVersion _elem1508; + for (int _i1509 = 0; _i1509 < _list1507.size; ++_i1509) { - _elem1500 = new SchemaVersion(); - _elem1500.read(iprot); - struct.success.add(_elem1500); + _elem1508 = new SchemaVersion(); + _elem1508.read(iprot); + struct.success.add(_elem1508); } } struct.setSuccessIsSet(true); @@ -235274,14 +236011,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_runtime_stats_r case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1502 = iprot.readListBegin(); - struct.success = new ArrayList(_list1502.size); - RuntimeStat _elem1503; - for (int _i1504 = 0; _i1504 < _list1502.size; ++_i1504) + org.apache.thrift.protocol.TList _list1510 = iprot.readListBegin(); + struct.success = new ArrayList(_list1510.size); + RuntimeStat _elem1511; + for (int _i1512 = 0; _i1512 < _list1510.size; ++_i1512) { - _elem1503 = new RuntimeStat(); - _elem1503.read(iprot); - struct.success.add(_elem1503); + _elem1511 = new RuntimeStat(); + _elem1511.read(iprot); + struct.success.add(_elem1511); } iprot.readListEnd(); } @@ -235316,9 +236053,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_runtime_stats_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (RuntimeStat _iter1505 : struct.success) + for (RuntimeStat _iter1513 : struct.success) { - _iter1505.write(oprot); + _iter1513.write(oprot); } oprot.writeListEnd(); } @@ -235357,9 +236094,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (RuntimeStat _iter1506 : struct.success) + for (RuntimeStat _iter1514 : struct.success) { - _iter1506.write(oprot); + _iter1514.write(oprot); } } } @@ -235374,14 +236111,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_runtime_stats_re BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1507 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1507.size); - RuntimeStat _elem1508; - for (int _i1509 = 0; _i1509 < _list1507.size; ++_i1509) + org.apache.thrift.protocol.TList _list1515 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1515.size); + RuntimeStat _elem1516; + for (int _i1517 = 0; _i1517 < _list1515.size; ++_i1517) { - _elem1508 = new RuntimeStat(); - _elem1508.read(iprot); - struct.success.add(_elem1508); + _elem1516 = new RuntimeStat(); + _elem1516.read(iprot); + struct.success.add(_elem1516); } } struct.setSuccessIsSet(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 f4e30f0..eda462e 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 _list840 = iprot.readListBegin(); - struct.pools = new ArrayList(_list840.size); - WMPool _elem841; - for (int _i842 = 0; _i842 < _list840.size; ++_i842) + org.apache.thrift.protocol.TList _list848 = iprot.readListBegin(); + struct.pools = new ArrayList(_list848.size); + WMPool _elem849; + for (int _i850 = 0; _i850 < _list848.size; ++_i850) { - _elem841 = new WMPool(); - _elem841.read(iprot); - struct.pools.add(_elem841); + _elem849 = new WMPool(); + _elem849.read(iprot); + struct.pools.add(_elem849); } 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 _list843 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list843.size); - WMMapping _elem844; - for (int _i845 = 0; _i845 < _list843.size; ++_i845) + org.apache.thrift.protocol.TList _list851 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list851.size); + WMMapping _elem852; + for (int _i853 = 0; _i853 < _list851.size; ++_i853) { - _elem844 = new WMMapping(); - _elem844.read(iprot); - struct.mappings.add(_elem844); + _elem852 = new WMMapping(); + _elem852.read(iprot); + struct.mappings.add(_elem852); } 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 _list846 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list846.size); - WMTrigger _elem847; - for (int _i848 = 0; _i848 < _list846.size; ++_i848) + org.apache.thrift.protocol.TList _list854 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list854.size); + WMTrigger _elem855; + for (int _i856 = 0; _i856 < _list854.size; ++_i856) { - _elem847 = new WMTrigger(); - _elem847.read(iprot); - struct.triggers.add(_elem847); + _elem855 = new WMTrigger(); + _elem855.read(iprot); + struct.triggers.add(_elem855); } 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 _list849 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list849.size); - WMPoolTrigger _elem850; - for (int _i851 = 0; _i851 < _list849.size; ++_i851) + org.apache.thrift.protocol.TList _list857 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list857.size); + WMPoolTrigger _elem858; + for (int _i859 = 0; _i859 < _list857.size; ++_i859) { - _elem850 = new WMPoolTrigger(); - _elem850.read(iprot); - struct.poolTriggers.add(_elem850); + _elem858 = new WMPoolTrigger(); + _elem858.read(iprot); + struct.poolTriggers.add(_elem858); } 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 _iter852 : struct.pools) + for (WMPool _iter860 : struct.pools) { - _iter852.write(oprot); + _iter860.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 _iter853 : struct.mappings) + for (WMMapping _iter861 : struct.mappings) { - _iter853.write(oprot); + _iter861.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 _iter854 : struct.triggers) + for (WMTrigger _iter862 : struct.triggers) { - _iter854.write(oprot); + _iter862.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 _iter855 : struct.poolTriggers) + for (WMPoolTrigger _iter863 : struct.poolTriggers) { - _iter855.write(oprot); + _iter863.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 _iter856 : struct.pools) + for (WMPool _iter864 : struct.pools) { - _iter856.write(oprot); + _iter864.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 _iter857 : struct.mappings) + for (WMMapping _iter865 : struct.mappings) { - _iter857.write(oprot); + _iter865.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter858 : struct.triggers) + for (WMTrigger _iter866 : struct.triggers) { - _iter858.write(oprot); + _iter866.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter859 : struct.poolTriggers) + for (WMPoolTrigger _iter867 : struct.poolTriggers) { - _iter859.write(oprot); + _iter867.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 _list860 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list860.size); - WMPool _elem861; - for (int _i862 = 0; _i862 < _list860.size; ++_i862) + org.apache.thrift.protocol.TList _list868 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list868.size); + WMPool _elem869; + for (int _i870 = 0; _i870 < _list868.size; ++_i870) { - _elem861 = new WMPool(); - _elem861.read(iprot); - struct.pools.add(_elem861); + _elem869 = new WMPool(); + _elem869.read(iprot); + struct.pools.add(_elem869); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list863 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list863.size); - WMMapping _elem864; - for (int _i865 = 0; _i865 < _list863.size; ++_i865) + org.apache.thrift.protocol.TList _list871 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list871.size); + WMMapping _elem872; + for (int _i873 = 0; _i873 < _list871.size; ++_i873) { - _elem864 = new WMMapping(); - _elem864.read(iprot); - struct.mappings.add(_elem864); + _elem872 = new WMMapping(); + _elem872.read(iprot); + struct.mappings.add(_elem872); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list866 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list866.size); - WMTrigger _elem867; - for (int _i868 = 0; _i868 < _list866.size; ++_i868) + org.apache.thrift.protocol.TList _list874 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list874.size); + WMTrigger _elem875; + for (int _i876 = 0; _i876 < _list874.size; ++_i876) { - _elem867 = new WMTrigger(); - _elem867.read(iprot); - struct.triggers.add(_elem867); + _elem875 = new WMTrigger(); + _elem875.read(iprot); + struct.triggers.add(_elem875); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list869.size); - WMPoolTrigger _elem870; - for (int _i871 = 0; _i871 < _list869.size; ++_i871) + org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list877.size); + WMPoolTrigger _elem878; + for (int _i879 = 0; _i879 < _list877.size; ++_i879) { - _elem870 = new WMPoolTrigger(); - _elem870.read(iprot); - struct.poolTriggers.add(_elem870); + _elem878 = new WMPoolTrigger(); + _elem878.read(iprot); + struct.poolTriggers.add(_elem878); } } 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 ba81ce9..9bbc97b 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 _list872 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list872.size); - WMResourcePlan _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list880.size); + WMResourcePlan _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem873 = new WMResourcePlan(); - _elem873.read(iprot); - struct.resourcePlans.add(_elem873); + _elem881 = new WMResourcePlan(); + _elem881.read(iprot); + struct.resourcePlans.add(_elem881); } 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 _iter875 : struct.resourcePlans) + for (WMResourcePlan _iter883 : struct.resourcePlans) { - _iter875.write(oprot); + _iter883.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 _iter876 : struct.resourcePlans) + for (WMResourcePlan _iter884 : struct.resourcePlans) { - _iter876.write(oprot); + _iter884.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 _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list877.size); - WMResourcePlan _elem878; - for (int _i879 = 0; _i879 < _list877.size; ++_i879) + org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourcePlans = new ArrayList(_list885.size); + WMResourcePlan _elem886; + for (int _i887 = 0; _i887 < _list885.size; ++_i887) { - _elem878 = new WMResourcePlan(); - _elem878.read(iprot); - struct.resourcePlans.add(_elem878); + _elem886 = new WMResourcePlan(); + _elem886.read(iprot); + struct.resourcePlans.add(_elem886); } } 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 10ed67c..6918953 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 _list896 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list896.size); - WMTrigger _elem897; - for (int _i898 = 0; _i898 < _list896.size; ++_i898) + org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list904.size); + WMTrigger _elem905; + for (int _i906 = 0; _i906 < _list904.size; ++_i906) { - _elem897 = new WMTrigger(); - _elem897.read(iprot); - struct.triggers.add(_elem897); + _elem905 = new WMTrigger(); + _elem905.read(iprot); + struct.triggers.add(_elem905); } 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 _iter899 : struct.triggers) + for (WMTrigger _iter907 : struct.triggers) { - _iter899.write(oprot); + _iter907.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 _iter900 : struct.triggers) + for (WMTrigger _iter908 : struct.triggers) { - _iter900.write(oprot); + _iter908.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 _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list901.size); - WMTrigger _elem902; - for (int _i903 = 0; _i903 < _list901.size; ++_i903) + org.apache.thrift.protocol.TList _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list909.size); + WMTrigger _elem910; + for (int _i911 = 0; _i911 < _list909.size; ++_i911) { - _elem902 = new WMTrigger(); - _elem902.read(iprot); - struct.triggers.add(_elem902); + _elem910 = new WMTrigger(); + _elem910.read(iprot); + struct.triggers.add(_elem910); } } 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 86d7d5c..66a478d 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 _list880 = iprot.readListBegin(); - struct.errors = new ArrayList(_list880.size); - String _elem881; - for (int _i882 = 0; _i882 < _list880.size; ++_i882) + org.apache.thrift.protocol.TList _list888 = iprot.readListBegin(); + struct.errors = new ArrayList(_list888.size); + String _elem889; + for (int _i890 = 0; _i890 < _list888.size; ++_i890) { - _elem881 = iprot.readString(); - struct.errors.add(_elem881); + _elem889 = iprot.readString(); + struct.errors.add(_elem889); } 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 _list883 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list883.size); - String _elem884; - for (int _i885 = 0; _i885 < _list883.size; ++_i885) + org.apache.thrift.protocol.TList _list891 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list891.size); + String _elem892; + for (int _i893 = 0; _i893 < _list891.size; ++_i893) { - _elem884 = iprot.readString(); - struct.warnings.add(_elem884); + _elem892 = iprot.readString(); + struct.warnings.add(_elem892); } 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 _iter886 : struct.errors) + for (String _iter894 : struct.errors) { - oprot.writeString(_iter886); + oprot.writeString(_iter894); } 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 _iter887 : struct.warnings) + for (String _iter895 : struct.warnings) { - oprot.writeString(_iter887); + oprot.writeString(_iter895); } 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 _iter888 : struct.errors) + for (String _iter896 : struct.errors) { - oprot.writeString(_iter888); + oprot.writeString(_iter896); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter889 : struct.warnings) + for (String _iter897 : struct.warnings) { - oprot.writeString(_iter889); + oprot.writeString(_iter897); } } } @@ -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 _list890 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list890.size); - String _elem891; - for (int _i892 = 0; _i892 < _list890.size; ++_i892) + org.apache.thrift.protocol.TList _list898 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list898.size); + String _elem899; + for (int _i900 = 0; _i900 < _list898.size; ++_i900) { - _elem891 = iprot.readString(); - struct.errors.add(_elem891); + _elem899 = iprot.readString(); + struct.errors.add(_elem899); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list893.size); - String _elem894; - for (int _i895 = 0; _i895 < _list893.size; ++_i895) + org.apache.thrift.protocol.TList _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list901.size); + String _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem894 = iprot.readString(); - struct.warnings.add(_elem894); + _elem902 = iprot.readString(); + struct.warnings.add(_elem902); } } 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 1c1d58e..759624f 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -1157,6 +1157,10 @@ interface ThriftHiveMetastoreIf extends \FacebookServiceIf { */ public function commit_txn(\metastore\CommitTxnRequest $rqst); /** + * @param \metastore\ReplTblWriteIdStateRequest $rqst + */ + public function repl_tbl_writeid_state(\metastore\ReplTblWriteIdStateRequest $rqst); + /** * @param \metastore\GetValidWriteIdsRequest $rqst * @return \metastore\GetValidWriteIdsResponse * @throws \metastore\NoSuchTxnException @@ -9852,6 +9856,54 @@ class ThriftHiveMetastoreClient extends \FacebookServiceClient implements \metas return; } + public function repl_tbl_writeid_state(\metastore\ReplTblWriteIdStateRequest $rqst) + { + $this->send_repl_tbl_writeid_state($rqst); + $this->recv_repl_tbl_writeid_state(); + } + + public function send_repl_tbl_writeid_state(\metastore\ReplTblWriteIdStateRequest $rqst) + { + $args = new \metastore\ThriftHiveMetastore_repl_tbl_writeid_state_args(); + $args->rqst = $rqst; + $bin_accel = ($this->output_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_write_binary'); + if ($bin_accel) + { + thrift_protocol_write_binary($this->output_, 'repl_tbl_writeid_state', TMessageType::CALL, $args, $this->seqid_, $this->output_->isStrictWrite()); + } + else + { + $this->output_->writeMessageBegin('repl_tbl_writeid_state', TMessageType::CALL, $this->seqid_); + $args->write($this->output_); + $this->output_->writeMessageEnd(); + $this->output_->getTransport()->flush(); + } + } + + public function recv_repl_tbl_writeid_state() + { + $bin_accel = ($this->input_ instanceof TBinaryProtocolAccelerated) && function_exists('thrift_protocol_read_binary'); + if ($bin_accel) $result = thrift_protocol_read_binary($this->input_, '\metastore\ThriftHiveMetastore_repl_tbl_writeid_state_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_repl_tbl_writeid_state_result(); + $result->read($this->input_); + $this->input_->readMessageEnd(); + } + return; + } + public function get_valid_write_ids(\metastore\GetValidWriteIdsRequest $rqst) { $this->send_get_valid_write_ids($rqst); @@ -15053,14 +15105,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size813 = 0; - $_etype816 = 0; - $xfer += $input->readListBegin($_etype816, $_size813); - for ($_i817 = 0; $_i817 < $_size813; ++$_i817) + $_size820 = 0; + $_etype823 = 0; + $xfer += $input->readListBegin($_etype823, $_size820); + for ($_i824 = 0; $_i824 < $_size820; ++$_i824) { - $elem818 = null; - $xfer += $input->readString($elem818); - $this->success []= $elem818; + $elem825 = null; + $xfer += $input->readString($elem825); + $this->success []= $elem825; } $xfer += $input->readListEnd(); } else { @@ -15096,9 +15148,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter819) + foreach ($this->success as $iter826) { - $xfer += $output->writeString($iter819); + $xfer += $output->writeString($iter826); } } $output->writeListEnd(); @@ -15229,14 +15281,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size820 = 0; - $_etype823 = 0; - $xfer += $input->readListBegin($_etype823, $_size820); - for ($_i824 = 0; $_i824 < $_size820; ++$_i824) + $_size827 = 0; + $_etype830 = 0; + $xfer += $input->readListBegin($_etype830, $_size827); + for ($_i831 = 0; $_i831 < $_size827; ++$_i831) { - $elem825 = null; - $xfer += $input->readString($elem825); - $this->success []= $elem825; + $elem832 = null; + $xfer += $input->readString($elem832); + $this->success []= $elem832; } $xfer += $input->readListEnd(); } else { @@ -15272,9 +15324,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter826) + foreach ($this->success as $iter833) { - $xfer += $output->writeString($iter826); + $xfer += $output->writeString($iter833); } } $output->writeListEnd(); @@ -16275,18 +16327,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size827 = 0; - $_ktype828 = 0; - $_vtype829 = 0; - $xfer += $input->readMapBegin($_ktype828, $_vtype829, $_size827); - for ($_i831 = 0; $_i831 < $_size827; ++$_i831) + $_size834 = 0; + $_ktype835 = 0; + $_vtype836 = 0; + $xfer += $input->readMapBegin($_ktype835, $_vtype836, $_size834); + for ($_i838 = 0; $_i838 < $_size834; ++$_i838) { - $key832 = ''; - $val833 = new \metastore\Type(); - $xfer += $input->readString($key832); - $val833 = new \metastore\Type(); - $xfer += $val833->read($input); - $this->success[$key832] = $val833; + $key839 = ''; + $val840 = new \metastore\Type(); + $xfer += $input->readString($key839); + $val840 = new \metastore\Type(); + $xfer += $val840->read($input); + $this->success[$key839] = $val840; } $xfer += $input->readMapEnd(); } else { @@ -16322,10 +16374,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter834 => $viter835) + foreach ($this->success as $kiter841 => $viter842) { - $xfer += $output->writeString($kiter834); - $xfer += $viter835->write($output); + $xfer += $output->writeString($kiter841); + $xfer += $viter842->write($output); } } $output->writeMapEnd(); @@ -16529,15 +16581,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size836 = 0; - $_etype839 = 0; - $xfer += $input->readListBegin($_etype839, $_size836); - for ($_i840 = 0; $_i840 < $_size836; ++$_i840) + $_size843 = 0; + $_etype846 = 0; + $xfer += $input->readListBegin($_etype846, $_size843); + for ($_i847 = 0; $_i847 < $_size843; ++$_i847) { - $elem841 = null; - $elem841 = new \metastore\FieldSchema(); - $xfer += $elem841->read($input); - $this->success []= $elem841; + $elem848 = null; + $elem848 = new \metastore\FieldSchema(); + $xfer += $elem848->read($input); + $this->success []= $elem848; } $xfer += $input->readListEnd(); } else { @@ -16589,9 +16641,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter842) + foreach ($this->success as $iter849) { - $xfer += $iter842->write($output); + $xfer += $iter849->write($output); } } $output->writeListEnd(); @@ -16833,15 +16885,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size843 = 0; - $_etype846 = 0; - $xfer += $input->readListBegin($_etype846, $_size843); - for ($_i847 = 0; $_i847 < $_size843; ++$_i847) + $_size850 = 0; + $_etype853 = 0; + $xfer += $input->readListBegin($_etype853, $_size850); + for ($_i854 = 0; $_i854 < $_size850; ++$_i854) { - $elem848 = null; - $elem848 = new \metastore\FieldSchema(); - $xfer += $elem848->read($input); - $this->success []= $elem848; + $elem855 = null; + $elem855 = new \metastore\FieldSchema(); + $xfer += $elem855->read($input); + $this->success []= $elem855; } $xfer += $input->readListEnd(); } else { @@ -16893,9 +16945,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter849) + foreach ($this->success as $iter856) { - $xfer += $iter849->write($output); + $xfer += $iter856->write($output); } } $output->writeListEnd(); @@ -17109,15 +17161,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size850 = 0; - $_etype853 = 0; - $xfer += $input->readListBegin($_etype853, $_size850); - for ($_i854 = 0; $_i854 < $_size850; ++$_i854) + $_size857 = 0; + $_etype860 = 0; + $xfer += $input->readListBegin($_etype860, $_size857); + for ($_i861 = 0; $_i861 < $_size857; ++$_i861) { - $elem855 = null; - $elem855 = new \metastore\FieldSchema(); - $xfer += $elem855->read($input); - $this->success []= $elem855; + $elem862 = null; + $elem862 = new \metastore\FieldSchema(); + $xfer += $elem862->read($input); + $this->success []= $elem862; } $xfer += $input->readListEnd(); } else { @@ -17169,9 +17221,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter856) + foreach ($this->success as $iter863) { - $xfer += $iter856->write($output); + $xfer += $iter863->write($output); } } $output->writeListEnd(); @@ -17413,15 +17465,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size857 = 0; - $_etype860 = 0; - $xfer += $input->readListBegin($_etype860, $_size857); - for ($_i861 = 0; $_i861 < $_size857; ++$_i861) + $_size864 = 0; + $_etype867 = 0; + $xfer += $input->readListBegin($_etype867, $_size864); + for ($_i868 = 0; $_i868 < $_size864; ++$_i868) { - $elem862 = null; - $elem862 = new \metastore\FieldSchema(); - $xfer += $elem862->read($input); - $this->success []= $elem862; + $elem869 = null; + $elem869 = new \metastore\FieldSchema(); + $xfer += $elem869->read($input); + $this->success []= $elem869; } $xfer += $input->readListEnd(); } else { @@ -17473,9 +17525,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter863) + foreach ($this->success as $iter870) { - $xfer += $iter863->write($output); + $xfer += $iter870->write($output); } } $output->writeListEnd(); @@ -18147,15 +18199,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size864 = 0; - $_etype867 = 0; - $xfer += $input->readListBegin($_etype867, $_size864); - for ($_i868 = 0; $_i868 < $_size864; ++$_i868) + $_size871 = 0; + $_etype874 = 0; + $xfer += $input->readListBegin($_etype874, $_size871); + for ($_i875 = 0; $_i875 < $_size871; ++$_i875) { - $elem869 = null; - $elem869 = new \metastore\SQLPrimaryKey(); - $xfer += $elem869->read($input); - $this->primaryKeys []= $elem869; + $elem876 = null; + $elem876 = new \metastore\SQLPrimaryKey(); + $xfer += $elem876->read($input); + $this->primaryKeys []= $elem876; } $xfer += $input->readListEnd(); } else { @@ -18165,15 +18217,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size870 = 0; - $_etype873 = 0; - $xfer += $input->readListBegin($_etype873, $_size870); - for ($_i874 = 0; $_i874 < $_size870; ++$_i874) + $_size877 = 0; + $_etype880 = 0; + $xfer += $input->readListBegin($_etype880, $_size877); + for ($_i881 = 0; $_i881 < $_size877; ++$_i881) { - $elem875 = null; - $elem875 = new \metastore\SQLForeignKey(); - $xfer += $elem875->read($input); - $this->foreignKeys []= $elem875; + $elem882 = null; + $elem882 = new \metastore\SQLForeignKey(); + $xfer += $elem882->read($input); + $this->foreignKeys []= $elem882; } $xfer += $input->readListEnd(); } else { @@ -18183,15 +18235,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size876 = 0; - $_etype879 = 0; - $xfer += $input->readListBegin($_etype879, $_size876); - for ($_i880 = 0; $_i880 < $_size876; ++$_i880) + $_size883 = 0; + $_etype886 = 0; + $xfer += $input->readListBegin($_etype886, $_size883); + for ($_i887 = 0; $_i887 < $_size883; ++$_i887) { - $elem881 = null; - $elem881 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem881->read($input); - $this->uniqueConstraints []= $elem881; + $elem888 = null; + $elem888 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem888->read($input); + $this->uniqueConstraints []= $elem888; } $xfer += $input->readListEnd(); } else { @@ -18201,15 +18253,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size882 = 0; - $_etype885 = 0; - $xfer += $input->readListBegin($_etype885, $_size882); - for ($_i886 = 0; $_i886 < $_size882; ++$_i886) + $_size889 = 0; + $_etype892 = 0; + $xfer += $input->readListBegin($_etype892, $_size889); + for ($_i893 = 0; $_i893 < $_size889; ++$_i893) { - $elem887 = null; - $elem887 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem887->read($input); - $this->notNullConstraints []= $elem887; + $elem894 = null; + $elem894 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem894->read($input); + $this->notNullConstraints []= $elem894; } $xfer += $input->readListEnd(); } else { @@ -18219,15 +18271,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size888 = 0; - $_etype891 = 0; - $xfer += $input->readListBegin($_etype891, $_size888); - for ($_i892 = 0; $_i892 < $_size888; ++$_i892) + $_size895 = 0; + $_etype898 = 0; + $xfer += $input->readListBegin($_etype898, $_size895); + for ($_i899 = 0; $_i899 < $_size895; ++$_i899) { - $elem893 = null; - $elem893 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem893->read($input); - $this->defaultConstraints []= $elem893; + $elem900 = null; + $elem900 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem900->read($input); + $this->defaultConstraints []= $elem900; } $xfer += $input->readListEnd(); } else { @@ -18237,15 +18289,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size894 = 0; - $_etype897 = 0; - $xfer += $input->readListBegin($_etype897, $_size894); - for ($_i898 = 0; $_i898 < $_size894; ++$_i898) + $_size901 = 0; + $_etype904 = 0; + $xfer += $input->readListBegin($_etype904, $_size901); + for ($_i905 = 0; $_i905 < $_size901; ++$_i905) { - $elem899 = null; - $elem899 = new \metastore\SQLCheckConstraint(); - $xfer += $elem899->read($input); - $this->checkConstraints []= $elem899; + $elem906 = null; + $elem906 = new \metastore\SQLCheckConstraint(); + $xfer += $elem906->read($input); + $this->checkConstraints []= $elem906; } $xfer += $input->readListEnd(); } else { @@ -18281,9 +18333,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter900) + foreach ($this->primaryKeys as $iter907) { - $xfer += $iter900->write($output); + $xfer += $iter907->write($output); } } $output->writeListEnd(); @@ -18298,9 +18350,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter901) + foreach ($this->foreignKeys as $iter908) { - $xfer += $iter901->write($output); + $xfer += $iter908->write($output); } } $output->writeListEnd(); @@ -18315,9 +18367,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter902) + foreach ($this->uniqueConstraints as $iter909) { - $xfer += $iter902->write($output); + $xfer += $iter909->write($output); } } $output->writeListEnd(); @@ -18332,9 +18384,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter903) + foreach ($this->notNullConstraints as $iter910) { - $xfer += $iter903->write($output); + $xfer += $iter910->write($output); } } $output->writeListEnd(); @@ -18349,9 +18401,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter904) + foreach ($this->defaultConstraints as $iter911) { - $xfer += $iter904->write($output); + $xfer += $iter911->write($output); } } $output->writeListEnd(); @@ -18366,9 +18418,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter905) + foreach ($this->checkConstraints as $iter912) { - $xfer += $iter905->write($output); + $xfer += $iter912->write($output); } } $output->writeListEnd(); @@ -20368,14 +20420,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size906 = 0; - $_etype909 = 0; - $xfer += $input->readListBegin($_etype909, $_size906); - for ($_i910 = 0; $_i910 < $_size906; ++$_i910) + $_size913 = 0; + $_etype916 = 0; + $xfer += $input->readListBegin($_etype916, $_size913); + for ($_i917 = 0; $_i917 < $_size913; ++$_i917) { - $elem911 = null; - $xfer += $input->readString($elem911); - $this->partNames []= $elem911; + $elem918 = null; + $xfer += $input->readString($elem918); + $this->partNames []= $elem918; } $xfer += $input->readListEnd(); } else { @@ -20413,9 +20465,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter912) + foreach ($this->partNames as $iter919) { - $xfer += $output->writeString($iter912); + $xfer += $output->writeString($iter919); } } $output->writeListEnd(); @@ -20666,14 +20718,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size913 = 0; - $_etype916 = 0; - $xfer += $input->readListBegin($_etype916, $_size913); - for ($_i917 = 0; $_i917 < $_size913; ++$_i917) + $_size920 = 0; + $_etype923 = 0; + $xfer += $input->readListBegin($_etype923, $_size920); + for ($_i924 = 0; $_i924 < $_size920; ++$_i924) { - $elem918 = null; - $xfer += $input->readString($elem918); - $this->success []= $elem918; + $elem925 = null; + $xfer += $input->readString($elem925); + $this->success []= $elem925; } $xfer += $input->readListEnd(); } else { @@ -20709,9 +20761,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter919) + foreach ($this->success as $iter926) { - $xfer += $output->writeString($iter919); + $xfer += $output->writeString($iter926); } } $output->writeListEnd(); @@ -20913,14 +20965,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size920 = 0; - $_etype923 = 0; - $xfer += $input->readListBegin($_etype923, $_size920); - for ($_i924 = 0; $_i924 < $_size920; ++$_i924) + $_size927 = 0; + $_etype930 = 0; + $xfer += $input->readListBegin($_etype930, $_size927); + for ($_i931 = 0; $_i931 < $_size927; ++$_i931) { - $elem925 = null; - $xfer += $input->readString($elem925); - $this->success []= $elem925; + $elem932 = null; + $xfer += $input->readString($elem932); + $this->success []= $elem932; } $xfer += $input->readListEnd(); } else { @@ -20956,9 +21008,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter926) + foreach ($this->success as $iter933) { - $xfer += $output->writeString($iter926); + $xfer += $output->writeString($iter933); } } $output->writeListEnd(); @@ -21114,14 +21166,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size927 = 0; - $_etype930 = 0; - $xfer += $input->readListBegin($_etype930, $_size927); - for ($_i931 = 0; $_i931 < $_size927; ++$_i931) + $_size934 = 0; + $_etype937 = 0; + $xfer += $input->readListBegin($_etype937, $_size934); + for ($_i938 = 0; $_i938 < $_size934; ++$_i938) { - $elem932 = null; - $xfer += $input->readString($elem932); - $this->success []= $elem932; + $elem939 = null; + $xfer += $input->readString($elem939); + $this->success []= $elem939; } $xfer += $input->readListEnd(); } else { @@ -21157,9 +21209,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter933) + foreach ($this->success as $iter940) { - $xfer += $output->writeString($iter933); + $xfer += $output->writeString($iter940); } } $output->writeListEnd(); @@ -21264,14 +21316,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size934 = 0; - $_etype937 = 0; - $xfer += $input->readListBegin($_etype937, $_size934); - for ($_i938 = 0; $_i938 < $_size934; ++$_i938) + $_size941 = 0; + $_etype944 = 0; + $xfer += $input->readListBegin($_etype944, $_size941); + for ($_i945 = 0; $_i945 < $_size941; ++$_i945) { - $elem939 = null; - $xfer += $input->readString($elem939); - $this->tbl_types []= $elem939; + $elem946 = null; + $xfer += $input->readString($elem946); + $this->tbl_types []= $elem946; } $xfer += $input->readListEnd(); } else { @@ -21309,9 +21361,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter940) + foreach ($this->tbl_types as $iter947) { - $xfer += $output->writeString($iter940); + $xfer += $output->writeString($iter947); } } $output->writeListEnd(); @@ -21388,15 +21440,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size941 = 0; - $_etype944 = 0; - $xfer += $input->readListBegin($_etype944, $_size941); - for ($_i945 = 0; $_i945 < $_size941; ++$_i945) + $_size948 = 0; + $_etype951 = 0; + $xfer += $input->readListBegin($_etype951, $_size948); + for ($_i952 = 0; $_i952 < $_size948; ++$_i952) { - $elem946 = null; - $elem946 = new \metastore\TableMeta(); - $xfer += $elem946->read($input); - $this->success []= $elem946; + $elem953 = null; + $elem953 = new \metastore\TableMeta(); + $xfer += $elem953->read($input); + $this->success []= $elem953; } $xfer += $input->readListEnd(); } else { @@ -21432,9 +21484,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter947) + foreach ($this->success as $iter954) { - $xfer += $iter947->write($output); + $xfer += $iter954->write($output); } } $output->writeListEnd(); @@ -21590,14 +21642,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size948 = 0; - $_etype951 = 0; - $xfer += $input->readListBegin($_etype951, $_size948); - for ($_i952 = 0; $_i952 < $_size948; ++$_i952) + $_size955 = 0; + $_etype958 = 0; + $xfer += $input->readListBegin($_etype958, $_size955); + for ($_i959 = 0; $_i959 < $_size955; ++$_i959) { - $elem953 = null; - $xfer += $input->readString($elem953); - $this->success []= $elem953; + $elem960 = null; + $xfer += $input->readString($elem960); + $this->success []= $elem960; } $xfer += $input->readListEnd(); } else { @@ -21633,9 +21685,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter954) + foreach ($this->success as $iter961) { - $xfer += $output->writeString($iter954); + $xfer += $output->writeString($iter961); } } $output->writeListEnd(); @@ -21950,14 +22002,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size955 = 0; - $_etype958 = 0; - $xfer += $input->readListBegin($_etype958, $_size955); - for ($_i959 = 0; $_i959 < $_size955; ++$_i959) + $_size962 = 0; + $_etype965 = 0; + $xfer += $input->readListBegin($_etype965, $_size962); + for ($_i966 = 0; $_i966 < $_size962; ++$_i966) { - $elem960 = null; - $xfer += $input->readString($elem960); - $this->tbl_names []= $elem960; + $elem967 = null; + $xfer += $input->readString($elem967); + $this->tbl_names []= $elem967; } $xfer += $input->readListEnd(); } else { @@ -21990,9 +22042,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter961) + foreach ($this->tbl_names as $iter968) { - $xfer += $output->writeString($iter961); + $xfer += $output->writeString($iter968); } } $output->writeListEnd(); @@ -22057,15 +22109,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size962 = 0; - $_etype965 = 0; - $xfer += $input->readListBegin($_etype965, $_size962); - for ($_i966 = 0; $_i966 < $_size962; ++$_i966) + $_size969 = 0; + $_etype972 = 0; + $xfer += $input->readListBegin($_etype972, $_size969); + for ($_i973 = 0; $_i973 < $_size969; ++$_i973) { - $elem967 = null; - $elem967 = new \metastore\Table(); - $xfer += $elem967->read($input); - $this->success []= $elem967; + $elem974 = null; + $elem974 = new \metastore\Table(); + $xfer += $elem974->read($input); + $this->success []= $elem974; } $xfer += $input->readListEnd(); } else { @@ -22093,9 +22145,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter968) + foreach ($this->success as $iter975) { - $xfer += $iter968->write($output); + $xfer += $iter975->write($output); } } $output->writeListEnd(); @@ -22622,14 +22674,14 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size969 = 0; - $_etype972 = 0; - $xfer += $input->readListBegin($_etype972, $_size969); - for ($_i973 = 0; $_i973 < $_size969; ++$_i973) + $_size976 = 0; + $_etype979 = 0; + $xfer += $input->readListBegin($_etype979, $_size976); + for ($_i980 = 0; $_i980 < $_size976; ++$_i980) { - $elem974 = null; - $xfer += $input->readString($elem974); - $this->tbl_names []= $elem974; + $elem981 = null; + $xfer += $input->readString($elem981); + $this->tbl_names []= $elem981; } $xfer += $input->readListEnd(); } else { @@ -22662,9 +22714,9 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter975) + foreach ($this->tbl_names as $iter982) { - $xfer += $output->writeString($iter975); + $xfer += $output->writeString($iter982); } } $output->writeListEnd(); @@ -22769,18 +22821,18 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size976 = 0; - $_ktype977 = 0; - $_vtype978 = 0; - $xfer += $input->readMapBegin($_ktype977, $_vtype978, $_size976); - for ($_i980 = 0; $_i980 < $_size976; ++$_i980) + $_size983 = 0; + $_ktype984 = 0; + $_vtype985 = 0; + $xfer += $input->readMapBegin($_ktype984, $_vtype985, $_size983); + for ($_i987 = 0; $_i987 < $_size983; ++$_i987) { - $key981 = ''; - $val982 = new \metastore\Materialization(); - $xfer += $input->readString($key981); - $val982 = new \metastore\Materialization(); - $xfer += $val982->read($input); - $this->success[$key981] = $val982; + $key988 = ''; + $val989 = new \metastore\Materialization(); + $xfer += $input->readString($key988); + $val989 = new \metastore\Materialization(); + $xfer += $val989->read($input); + $this->success[$key988] = $val989; } $xfer += $input->readMapEnd(); } else { @@ -22832,10 +22884,10 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter983 => $viter984) + foreach ($this->success as $kiter990 => $viter991) { - $xfer += $output->writeString($kiter983); - $xfer += $viter984->write($output); + $xfer += $output->writeString($kiter990); + $xfer += $viter991->write($output); } } $output->writeMapEnd(); @@ -23347,14 +23399,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_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) + $_size992 = 0; + $_etype995 = 0; + $xfer += $input->readListBegin($_etype995, $_size992); + for ($_i996 = 0; $_i996 < $_size992; ++$_i996) { - $elem990 = null; - $xfer += $input->readString($elem990); - $this->success []= $elem990; + $elem997 = null; + $xfer += $input->readString($elem997); + $this->success []= $elem997; } $xfer += $input->readListEnd(); } else { @@ -23406,9 +23458,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter991) + foreach ($this->success as $iter998) { - $xfer += $output->writeString($iter991); + $xfer += $output->writeString($iter998); } } $output->writeListEnd(); @@ -24721,266 +24773,13 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size992 = 0; - $_etype995 = 0; - $xfer += $input->readListBegin($_etype995, $_size992); - for ($_i996 = 0; $_i996 < $_size992; ++$_i996) - { - $elem997 = null; - $elem997 = new \metastore\Partition(); - $xfer += $elem997->read($input); - $this->new_parts []= $elem997; - } - $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_add_partitions_args'); - if ($this->new_parts !== null) { - if (!is_array($this->new_parts)) { - throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); - } - $xfer += $output->writeFieldBegin('new_parts', TType::LST, 1); - { - $output->writeListBegin(TType::STRUCT, count($this->new_parts)); - { - foreach ($this->new_parts as $iter998) - { - $xfer += $iter998->write($output); - } - } - $output->writeListEnd(); - } - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - -class ThriftHiveMetastore_add_partitions_result { - static $_TSPEC; - - /** - * @var int - */ - public $success = null; - /** - * @var \metastore\InvalidObjectException - */ - public $o1 = null; - /** - * @var \metastore\AlreadyExistsException - */ - public $o2 = null; - /** - * @var \metastore\MetaException - */ - public $o3 = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 0 => array( - 'var' => 'success', - 'type' => TType::I32, - ), - 1 => array( - 'var' => 'o1', - 'type' => TType::STRUCT, - 'class' => '\metastore\InvalidObjectException', - ), - 2 => array( - 'var' => 'o2', - 'type' => TType::STRUCT, - 'class' => '\metastore\AlreadyExistsException', - ), - 3 => array( - 'var' => 'o3', - 'type' => TType::STRUCT, - 'class' => '\metastore\MetaException', - ), - ); - } - if (is_array($vals)) { - if (isset($vals['success'])) { - $this->success = $vals['success']; - } - if (isset($vals['o1'])) { - $this->o1 = $vals['o1']; - } - if (isset($vals['o2'])) { - $this->o2 = $vals['o2']; - } - if (isset($vals['o3'])) { - $this->o3 = $vals['o3']; - } - } - } - - public function getName() { - return 'ThriftHiveMetastore_add_partitions_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::I32) { - $xfer += $input->readI32($this->success); - } else { - $xfer += $input->skip($ftype); - } - break; - case 1: - if ($ftype == TType::STRUCT) { - $this->o1 = new \metastore\InvalidObjectException(); - $xfer += $this->o1->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - case 2: - if ($ftype == TType::STRUCT) { - $this->o2 = new \metastore\AlreadyExistsException(); - $xfer += $this->o2->read($input); - } else { - $xfer += $input->skip($ftype); - } - break; - case 3: - if ($ftype == TType::STRUCT) { - $this->o3 = new \metastore\MetaException(); - $xfer += $this->o3->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_add_partitions_result'); - if ($this->success !== null) { - $xfer += $output->writeFieldBegin('success', TType::I32, 0); - $xfer += $output->writeI32($this->success); - $xfer += $output->writeFieldEnd(); - } - if ($this->o1 !== null) { - $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); - $xfer += $this->o1->write($output); - $xfer += $output->writeFieldEnd(); - } - if ($this->o2 !== null) { - $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); - $xfer += $this->o2->write($output); - $xfer += $output->writeFieldEnd(); - } - if ($this->o3 !== null) { - $xfer += $output->writeFieldBegin('o3', TType::STRUCT, 3); - $xfer += $this->o3->write($output); - $xfer += $output->writeFieldEnd(); - } - $xfer += $output->writeFieldStop(); - $xfer += $output->writeStructEnd(); - return $xfer; - } - -} - -class ThriftHiveMetastore_add_partitions_pspec_args { - static $_TSPEC; - - /** - * @var \metastore\PartitionSpec[] - */ - public $new_parts = null; - - public function __construct($vals=null) { - if (!isset(self::$_TSPEC)) { - self::$_TSPEC = array( - 1 => array( - 'var' => 'new_parts', - 'type' => TType::LST, - 'etype' => TType::STRUCT, - 'elem' => array( - 'type' => TType::STRUCT, - 'class' => '\metastore\PartitionSpec', - ), - ), - ); - } - if (is_array($vals)) { - if (isset($vals['new_parts'])) { - $this->new_parts = $vals['new_parts']; - } - } - } - - public function getName() { - return 'ThriftHiveMetastore_add_partitions_pspec_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->new_parts = array(); $_size999 = 0; $_etype1002 = 0; $xfer += $input->readListBegin($_etype1002, $_size999); for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) { $elem1004 = null; - $elem1004 = new \metastore\PartitionSpec(); + $elem1004 = new \metastore\Partition(); $xfer += $elem1004->read($input); $this->new_parts []= $elem1004; } @@ -25001,7 +24800,7 @@ class ThriftHiveMetastore_add_partitions_pspec_args { public function write($output) { $xfer = 0; - $xfer += $output->writeStructBegin('ThriftHiveMetastore_add_partitions_pspec_args'); + $xfer += $output->writeStructBegin('ThriftHiveMetastore_add_partitions_args'); if ($this->new_parts !== null) { if (!is_array($this->new_parts)) { throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); @@ -25026,6 +24825,259 @@ class ThriftHiveMetastore_add_partitions_pspec_args { } +class ThriftHiveMetastore_add_partitions_result { + static $_TSPEC; + + /** + * @var int + */ + public $success = null; + /** + * @var \metastore\InvalidObjectException + */ + public $o1 = null; + /** + * @var \metastore\AlreadyExistsException + */ + public $o2 = null; + /** + * @var \metastore\MetaException + */ + public $o3 = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 0 => array( + 'var' => 'success', + 'type' => TType::I32, + ), + 1 => array( + 'var' => 'o1', + 'type' => TType::STRUCT, + 'class' => '\metastore\InvalidObjectException', + ), + 2 => array( + 'var' => 'o2', + 'type' => TType::STRUCT, + 'class' => '\metastore\AlreadyExistsException', + ), + 3 => array( + 'var' => 'o3', + 'type' => TType::STRUCT, + 'class' => '\metastore\MetaException', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['success'])) { + $this->success = $vals['success']; + } + if (isset($vals['o1'])) { + $this->o1 = $vals['o1']; + } + if (isset($vals['o2'])) { + $this->o2 = $vals['o2']; + } + if (isset($vals['o3'])) { + $this->o3 = $vals['o3']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_add_partitions_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::I32) { + $xfer += $input->readI32($this->success); + } else { + $xfer += $input->skip($ftype); + } + break; + case 1: + if ($ftype == TType::STRUCT) { + $this->o1 = new \metastore\InvalidObjectException(); + $xfer += $this->o1->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRUCT) { + $this->o2 = new \metastore\AlreadyExistsException(); + $xfer += $this->o2->read($input); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::STRUCT) { + $this->o3 = new \metastore\MetaException(); + $xfer += $this->o3->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_add_partitions_result'); + if ($this->success !== null) { + $xfer += $output->writeFieldBegin('success', TType::I32, 0); + $xfer += $output->writeI32($this->success); + $xfer += $output->writeFieldEnd(); + } + if ($this->o1 !== null) { + $xfer += $output->writeFieldBegin('o1', TType::STRUCT, 1); + $xfer += $this->o1->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o2 !== null) { + $xfer += $output->writeFieldBegin('o2', TType::STRUCT, 2); + $xfer += $this->o2->write($output); + $xfer += $output->writeFieldEnd(); + } + if ($this->o3 !== null) { + $xfer += $output->writeFieldBegin('o3', TType::STRUCT, 3); + $xfer += $this->o3->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_add_partitions_pspec_args { + static $_TSPEC; + + /** + * @var \metastore\PartitionSpec[] + */ + public $new_parts = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'new_parts', + 'type' => TType::LST, + 'etype' => TType::STRUCT, + 'elem' => array( + 'type' => TType::STRUCT, + 'class' => '\metastore\PartitionSpec', + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['new_parts'])) { + $this->new_parts = $vals['new_parts']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_add_partitions_pspec_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->new_parts = array(); + $_size1006 = 0; + $_etype1009 = 0; + $xfer += $input->readListBegin($_etype1009, $_size1006); + for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) + { + $elem1011 = null; + $elem1011 = new \metastore\PartitionSpec(); + $xfer += $elem1011->read($input); + $this->new_parts []= $elem1011; + } + $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_add_partitions_pspec_args'); + if ($this->new_parts !== null) { + if (!is_array($this->new_parts)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('new_parts', TType::LST, 1); + { + $output->writeListBegin(TType::STRUCT, count($this->new_parts)); + { + foreach ($this->new_parts as $iter1012) + { + $xfer += $iter1012->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_add_partitions_pspec_result { static $_TSPEC; @@ -25262,14 +25314,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1006 = 0; - $_etype1009 = 0; - $xfer += $input->readListBegin($_etype1009, $_size1006); - for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) + $_size1013 = 0; + $_etype1016 = 0; + $xfer += $input->readListBegin($_etype1016, $_size1013); + for ($_i1017 = 0; $_i1017 < $_size1013; ++$_i1017) { - $elem1011 = null; - $xfer += $input->readString($elem1011); - $this->part_vals []= $elem1011; + $elem1018 = null; + $xfer += $input->readString($elem1018); + $this->part_vals []= $elem1018; } $xfer += $input->readListEnd(); } else { @@ -25307,9 +25359,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1012) + foreach ($this->part_vals as $iter1019) { - $xfer += $output->writeString($iter1012); + $xfer += $output->writeString($iter1019); } } $output->writeListEnd(); @@ -25811,14 +25863,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1013 = 0; - $_etype1016 = 0; - $xfer += $input->readListBegin($_etype1016, $_size1013); - for ($_i1017 = 0; $_i1017 < $_size1013; ++$_i1017) + $_size1020 = 0; + $_etype1023 = 0; + $xfer += $input->readListBegin($_etype1023, $_size1020); + for ($_i1024 = 0; $_i1024 < $_size1020; ++$_i1024) { - $elem1018 = null; - $xfer += $input->readString($elem1018); - $this->part_vals []= $elem1018; + $elem1025 = null; + $xfer += $input->readString($elem1025); + $this->part_vals []= $elem1025; } $xfer += $input->readListEnd(); } else { @@ -25864,9 +25916,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1019) + foreach ($this->part_vals as $iter1026) { - $xfer += $output->writeString($iter1019); + $xfer += $output->writeString($iter1026); } } $output->writeListEnd(); @@ -26720,14 +26772,14 @@ class ThriftHiveMetastore_drop_partition_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) + $_size1027 = 0; + $_etype1030 = 0; + $xfer += $input->readListBegin($_etype1030, $_size1027); + for ($_i1031 = 0; $_i1031 < $_size1027; ++$_i1031) { - $elem1025 = null; - $xfer += $input->readString($elem1025); - $this->part_vals []= $elem1025; + $elem1032 = null; + $xfer += $input->readString($elem1032); + $this->part_vals []= $elem1032; } $xfer += $input->readListEnd(); } else { @@ -26772,9 +26824,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1026) + foreach ($this->part_vals as $iter1033) { - $xfer += $output->writeString($iter1026); + $xfer += $output->writeString($iter1033); } } $output->writeListEnd(); @@ -27027,14 +27079,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1027 = 0; - $_etype1030 = 0; - $xfer += $input->readListBegin($_etype1030, $_size1027); - for ($_i1031 = 0; $_i1031 < $_size1027; ++$_i1031) + $_size1034 = 0; + $_etype1037 = 0; + $xfer += $input->readListBegin($_etype1037, $_size1034); + for ($_i1038 = 0; $_i1038 < $_size1034; ++$_i1038) { - $elem1032 = null; - $xfer += $input->readString($elem1032); - $this->part_vals []= $elem1032; + $elem1039 = null; + $xfer += $input->readString($elem1039); + $this->part_vals []= $elem1039; } $xfer += $input->readListEnd(); } else { @@ -27087,9 +27139,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1033) + foreach ($this->part_vals as $iter1040) { - $xfer += $output->writeString($iter1033); + $xfer += $output->writeString($iter1040); } } $output->writeListEnd(); @@ -28103,14 +28155,14 @@ class ThriftHiveMetastore_get_partition_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) + $_size1041 = 0; + $_etype1044 = 0; + $xfer += $input->readListBegin($_etype1044, $_size1041); + for ($_i1045 = 0; $_i1045 < $_size1041; ++$_i1045) { - $elem1039 = null; - $xfer += $input->readString($elem1039); - $this->part_vals []= $elem1039; + $elem1046 = null; + $xfer += $input->readString($elem1046); + $this->part_vals []= $elem1046; } $xfer += $input->readListEnd(); } else { @@ -28148,9 +28200,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1040) + foreach ($this->part_vals as $iter1047) { - $xfer += $output->writeString($iter1040); + $xfer += $output->writeString($iter1047); } } $output->writeListEnd(); @@ -28392,17 +28444,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1041 = 0; - $_ktype1042 = 0; - $_vtype1043 = 0; - $xfer += $input->readMapBegin($_ktype1042, $_vtype1043, $_size1041); - for ($_i1045 = 0; $_i1045 < $_size1041; ++$_i1045) + $_size1048 = 0; + $_ktype1049 = 0; + $_vtype1050 = 0; + $xfer += $input->readMapBegin($_ktype1049, $_vtype1050, $_size1048); + for ($_i1052 = 0; $_i1052 < $_size1048; ++$_i1052) { - $key1046 = ''; - $val1047 = ''; - $xfer += $input->readString($key1046); - $xfer += $input->readString($val1047); - $this->partitionSpecs[$key1046] = $val1047; + $key1053 = ''; + $val1054 = ''; + $xfer += $input->readString($key1053); + $xfer += $input->readString($val1054); + $this->partitionSpecs[$key1053] = $val1054; } $xfer += $input->readMapEnd(); } else { @@ -28458,10 +28510,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1048 => $viter1049) + foreach ($this->partitionSpecs as $kiter1055 => $viter1056) { - $xfer += $output->writeString($kiter1048); - $xfer += $output->writeString($viter1049); + $xfer += $output->writeString($kiter1055); + $xfer += $output->writeString($viter1056); } } $output->writeMapEnd(); @@ -28773,17 +28825,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1050 = 0; - $_ktype1051 = 0; - $_vtype1052 = 0; - $xfer += $input->readMapBegin($_ktype1051, $_vtype1052, $_size1050); - for ($_i1054 = 0; $_i1054 < $_size1050; ++$_i1054) + $_size1057 = 0; + $_ktype1058 = 0; + $_vtype1059 = 0; + $xfer += $input->readMapBegin($_ktype1058, $_vtype1059, $_size1057); + for ($_i1061 = 0; $_i1061 < $_size1057; ++$_i1061) { - $key1055 = ''; - $val1056 = ''; - $xfer += $input->readString($key1055); - $xfer += $input->readString($val1056); - $this->partitionSpecs[$key1055] = $val1056; + $key1062 = ''; + $val1063 = ''; + $xfer += $input->readString($key1062); + $xfer += $input->readString($val1063); + $this->partitionSpecs[$key1062] = $val1063; } $xfer += $input->readMapEnd(); } else { @@ -28839,10 +28891,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1057 => $viter1058) + foreach ($this->partitionSpecs as $kiter1064 => $viter1065) { - $xfer += $output->writeString($kiter1057); - $xfer += $output->writeString($viter1058); + $xfer += $output->writeString($kiter1064); + $xfer += $output->writeString($viter1065); } } $output->writeMapEnd(); @@ -28975,15 +29027,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1059 = 0; - $_etype1062 = 0; - $xfer += $input->readListBegin($_etype1062, $_size1059); - for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) + $_size1066 = 0; + $_etype1069 = 0; + $xfer += $input->readListBegin($_etype1069, $_size1066); + for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) { - $elem1064 = null; - $elem1064 = new \metastore\Partition(); - $xfer += $elem1064->read($input); - $this->success []= $elem1064; + $elem1071 = null; + $elem1071 = new \metastore\Partition(); + $xfer += $elem1071->read($input); + $this->success []= $elem1071; } $xfer += $input->readListEnd(); } else { @@ -29043,9 +29095,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1065) + foreach ($this->success as $iter1072) { - $xfer += $iter1065->write($output); + $xfer += $iter1072->write($output); } } $output->writeListEnd(); @@ -29191,14 +29243,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1066 = 0; - $_etype1069 = 0; - $xfer += $input->readListBegin($_etype1069, $_size1066); - for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) + $_size1073 = 0; + $_etype1076 = 0; + $xfer += $input->readListBegin($_etype1076, $_size1073); + for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) { - $elem1071 = null; - $xfer += $input->readString($elem1071); - $this->part_vals []= $elem1071; + $elem1078 = null; + $xfer += $input->readString($elem1078); + $this->part_vals []= $elem1078; } $xfer += $input->readListEnd(); } else { @@ -29215,14 +29267,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1072 = 0; - $_etype1075 = 0; - $xfer += $input->readListBegin($_etype1075, $_size1072); - for ($_i1076 = 0; $_i1076 < $_size1072; ++$_i1076) + $_size1079 = 0; + $_etype1082 = 0; + $xfer += $input->readListBegin($_etype1082, $_size1079); + for ($_i1083 = 0; $_i1083 < $_size1079; ++$_i1083) { - $elem1077 = null; - $xfer += $input->readString($elem1077); - $this->group_names []= $elem1077; + $elem1084 = null; + $xfer += $input->readString($elem1084); + $this->group_names []= $elem1084; } $xfer += $input->readListEnd(); } else { @@ -29260,9 +29312,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1078) + foreach ($this->part_vals as $iter1085) { - $xfer += $output->writeString($iter1078); + $xfer += $output->writeString($iter1085); } } $output->writeListEnd(); @@ -29282,9 +29334,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1079) + foreach ($this->group_names as $iter1086) { - $xfer += $output->writeString($iter1079); + $xfer += $output->writeString($iter1086); } } $output->writeListEnd(); @@ -29875,15 +29927,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1080 = 0; - $_etype1083 = 0; - $xfer += $input->readListBegin($_etype1083, $_size1080); - for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) + $_size1087 = 0; + $_etype1090 = 0; + $xfer += $input->readListBegin($_etype1090, $_size1087); + for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) { - $elem1085 = null; - $elem1085 = new \metastore\Partition(); - $xfer += $elem1085->read($input); - $this->success []= $elem1085; + $elem1092 = null; + $elem1092 = new \metastore\Partition(); + $xfer += $elem1092->read($input); + $this->success []= $elem1092; } $xfer += $input->readListEnd(); } else { @@ -29927,9 +29979,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1086) + foreach ($this->success as $iter1093) { - $xfer += $iter1086->write($output); + $xfer += $iter1093->write($output); } } $output->writeListEnd(); @@ -30075,14 +30127,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1087 = 0; - $_etype1090 = 0; - $xfer += $input->readListBegin($_etype1090, $_size1087); - for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) + $_size1094 = 0; + $_etype1097 = 0; + $xfer += $input->readListBegin($_etype1097, $_size1094); + for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) { - $elem1092 = null; - $xfer += $input->readString($elem1092); - $this->group_names []= $elem1092; + $elem1099 = null; + $xfer += $input->readString($elem1099); + $this->group_names []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -30130,9 +30182,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1093) + foreach ($this->group_names as $iter1100) { - $xfer += $output->writeString($iter1093); + $xfer += $output->writeString($iter1100); } } $output->writeListEnd(); @@ -30221,15 +30273,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1094 = 0; - $_etype1097 = 0; - $xfer += $input->readListBegin($_etype1097, $_size1094); - for ($_i1098 = 0; $_i1098 < $_size1094; ++$_i1098) + $_size1101 = 0; + $_etype1104 = 0; + $xfer += $input->readListBegin($_etype1104, $_size1101); + for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) { - $elem1099 = null; - $elem1099 = new \metastore\Partition(); - $xfer += $elem1099->read($input); - $this->success []= $elem1099; + $elem1106 = null; + $elem1106 = new \metastore\Partition(); + $xfer += $elem1106->read($input); + $this->success []= $elem1106; } $xfer += $input->readListEnd(); } else { @@ -30273,9 +30325,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1100) + foreach ($this->success as $iter1107) { - $xfer += $iter1100->write($output); + $xfer += $iter1107->write($output); } } $output->writeListEnd(); @@ -30495,15 +30547,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1101 = 0; - $_etype1104 = 0; - $xfer += $input->readListBegin($_etype1104, $_size1101); - for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) + $_size1108 = 0; + $_etype1111 = 0; + $xfer += $input->readListBegin($_etype1111, $_size1108); + for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) { - $elem1106 = null; - $elem1106 = new \metastore\PartitionSpec(); - $xfer += $elem1106->read($input); - $this->success []= $elem1106; + $elem1113 = null; + $elem1113 = new \metastore\PartitionSpec(); + $xfer += $elem1113->read($input); + $this->success []= $elem1113; } $xfer += $input->readListEnd(); } else { @@ -30547,9 +30599,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1107) + foreach ($this->success as $iter1114) { - $xfer += $iter1107->write($output); + $xfer += $iter1114->write($output); } } $output->writeListEnd(); @@ -30768,14 +30820,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1108 = 0; - $_etype1111 = 0; - $xfer += $input->readListBegin($_etype1111, $_size1108); - for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) + $_size1115 = 0; + $_etype1118 = 0; + $xfer += $input->readListBegin($_etype1118, $_size1115); + for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) { - $elem1113 = null; - $xfer += $input->readString($elem1113); - $this->success []= $elem1113; + $elem1120 = null; + $xfer += $input->readString($elem1120); + $this->success []= $elem1120; } $xfer += $input->readListEnd(); } else { @@ -30819,9 +30871,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1114) + foreach ($this->success as $iter1121) { - $xfer += $output->writeString($iter1114); + $xfer += $output->writeString($iter1121); } } $output->writeListEnd(); @@ -31152,14 +31204,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1115 = 0; - $_etype1118 = 0; - $xfer += $input->readListBegin($_etype1118, $_size1115); - for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) + $_size1122 = 0; + $_etype1125 = 0; + $xfer += $input->readListBegin($_etype1125, $_size1122); + for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) { - $elem1120 = null; - $xfer += $input->readString($elem1120); - $this->part_vals []= $elem1120; + $elem1127 = null; + $xfer += $input->readString($elem1127); + $this->part_vals []= $elem1127; } $xfer += $input->readListEnd(); } else { @@ -31204,9 +31256,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1121) + foreach ($this->part_vals as $iter1128) { - $xfer += $output->writeString($iter1121); + $xfer += $output->writeString($iter1128); } } $output->writeListEnd(); @@ -31300,15 +31352,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1122 = 0; - $_etype1125 = 0; - $xfer += $input->readListBegin($_etype1125, $_size1122); - for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) + $_size1129 = 0; + $_etype1132 = 0; + $xfer += $input->readListBegin($_etype1132, $_size1129); + for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) { - $elem1127 = null; - $elem1127 = new \metastore\Partition(); - $xfer += $elem1127->read($input); - $this->success []= $elem1127; + $elem1134 = null; + $elem1134 = new \metastore\Partition(); + $xfer += $elem1134->read($input); + $this->success []= $elem1134; } $xfer += $input->readListEnd(); } else { @@ -31352,9 +31404,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1128) + foreach ($this->success as $iter1135) { - $xfer += $iter1128->write($output); + $xfer += $iter1135->write($output); } } $output->writeListEnd(); @@ -31501,14 +31553,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1129 = 0; - $_etype1132 = 0; - $xfer += $input->readListBegin($_etype1132, $_size1129); - for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) + $_size1136 = 0; + $_etype1139 = 0; + $xfer += $input->readListBegin($_etype1139, $_size1136); + for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) { - $elem1134 = null; - $xfer += $input->readString($elem1134); - $this->part_vals []= $elem1134; + $elem1141 = null; + $xfer += $input->readString($elem1141); + $this->part_vals []= $elem1141; } $xfer += $input->readListEnd(); } else { @@ -31532,14 +31584,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1135 = 0; - $_etype1138 = 0; - $xfer += $input->readListBegin($_etype1138, $_size1135); - for ($_i1139 = 0; $_i1139 < $_size1135; ++$_i1139) + $_size1142 = 0; + $_etype1145 = 0; + $xfer += $input->readListBegin($_etype1145, $_size1142); + for ($_i1146 = 0; $_i1146 < $_size1142; ++$_i1146) { - $elem1140 = null; - $xfer += $input->readString($elem1140); - $this->group_names []= $elem1140; + $elem1147 = null; + $xfer += $input->readString($elem1147); + $this->group_names []= $elem1147; } $xfer += $input->readListEnd(); } else { @@ -31577,9 +31629,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1141) + foreach ($this->part_vals as $iter1148) { - $xfer += $output->writeString($iter1141); + $xfer += $output->writeString($iter1148); } } $output->writeListEnd(); @@ -31604,9 +31656,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1142) + foreach ($this->group_names as $iter1149) { - $xfer += $output->writeString($iter1142); + $xfer += $output->writeString($iter1149); } } $output->writeListEnd(); @@ -31695,15 +31747,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1143 = 0; - $_etype1146 = 0; - $xfer += $input->readListBegin($_etype1146, $_size1143); - for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) + $_size1150 = 0; + $_etype1153 = 0; + $xfer += $input->readListBegin($_etype1153, $_size1150); + for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) { - $elem1148 = null; - $elem1148 = new \metastore\Partition(); - $xfer += $elem1148->read($input); - $this->success []= $elem1148; + $elem1155 = null; + $elem1155 = new \metastore\Partition(); + $xfer += $elem1155->read($input); + $this->success []= $elem1155; } $xfer += $input->readListEnd(); } else { @@ -31747,9 +31799,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1149) + foreach ($this->success as $iter1156) { - $xfer += $iter1149->write($output); + $xfer += $iter1156->write($output); } } $output->writeListEnd(); @@ -31870,14 +31922,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1150 = 0; - $_etype1153 = 0; - $xfer += $input->readListBegin($_etype1153, $_size1150); - for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) + $_size1157 = 0; + $_etype1160 = 0; + $xfer += $input->readListBegin($_etype1160, $_size1157); + for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) { - $elem1155 = null; - $xfer += $input->readString($elem1155); - $this->part_vals []= $elem1155; + $elem1162 = null; + $xfer += $input->readString($elem1162); + $this->part_vals []= $elem1162; } $xfer += $input->readListEnd(); } else { @@ -31922,9 +31974,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1156) + foreach ($this->part_vals as $iter1163) { - $xfer += $output->writeString($iter1156); + $xfer += $output->writeString($iter1163); } } $output->writeListEnd(); @@ -32017,14 +32069,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1157 = 0; - $_etype1160 = 0; - $xfer += $input->readListBegin($_etype1160, $_size1157); - for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) + $_size1164 = 0; + $_etype1167 = 0; + $xfer += $input->readListBegin($_etype1167, $_size1164); + for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) { - $elem1162 = null; - $xfer += $input->readString($elem1162); - $this->success []= $elem1162; + $elem1169 = null; + $xfer += $input->readString($elem1169); + $this->success []= $elem1169; } $xfer += $input->readListEnd(); } else { @@ -32068,9 +32120,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1163) + foreach ($this->success as $iter1170) { - $xfer += $output->writeString($iter1163); + $xfer += $output->writeString($iter1170); } } $output->writeListEnd(); @@ -32313,15 +32365,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1164 = 0; - $_etype1167 = 0; - $xfer += $input->readListBegin($_etype1167, $_size1164); - for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) + $_size1171 = 0; + $_etype1174 = 0; + $xfer += $input->readListBegin($_etype1174, $_size1171); + for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) { - $elem1169 = null; - $elem1169 = new \metastore\Partition(); - $xfer += $elem1169->read($input); - $this->success []= $elem1169; + $elem1176 = null; + $elem1176 = new \metastore\Partition(); + $xfer += $elem1176->read($input); + $this->success []= $elem1176; } $xfer += $input->readListEnd(); } else { @@ -32365,9 +32417,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1170) + foreach ($this->success as $iter1177) { - $xfer += $iter1170->write($output); + $xfer += $iter1177->write($output); } } $output->writeListEnd(); @@ -32610,15 +32662,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1171 = 0; - $_etype1174 = 0; - $xfer += $input->readListBegin($_etype1174, $_size1171); - for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) + $_size1178 = 0; + $_etype1181 = 0; + $xfer += $input->readListBegin($_etype1181, $_size1178); + for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) { - $elem1176 = null; - $elem1176 = new \metastore\PartitionSpec(); - $xfer += $elem1176->read($input); - $this->success []= $elem1176; + $elem1183 = null; + $elem1183 = new \metastore\PartitionSpec(); + $xfer += $elem1183->read($input); + $this->success []= $elem1183; } $xfer += $input->readListEnd(); } else { @@ -32662,9 +32714,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1177) + foreach ($this->success as $iter1184) { - $xfer += $iter1177->write($output); + $xfer += $iter1184->write($output); } } $output->writeListEnd(); @@ -33230,14 +33282,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1178 = 0; - $_etype1181 = 0; - $xfer += $input->readListBegin($_etype1181, $_size1178); - for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) + $_size1185 = 0; + $_etype1188 = 0; + $xfer += $input->readListBegin($_etype1188, $_size1185); + for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) { - $elem1183 = null; - $xfer += $input->readString($elem1183); - $this->names []= $elem1183; + $elem1190 = null; + $xfer += $input->readString($elem1190); + $this->names []= $elem1190; } $xfer += $input->readListEnd(); } else { @@ -33275,9 +33327,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1184) + foreach ($this->names as $iter1191) { - $xfer += $output->writeString($iter1184); + $xfer += $output->writeString($iter1191); } } $output->writeListEnd(); @@ -33366,15 +33418,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1185 = 0; - $_etype1188 = 0; - $xfer += $input->readListBegin($_etype1188, $_size1185); - for ($_i1189 = 0; $_i1189 < $_size1185; ++$_i1189) + $_size1192 = 0; + $_etype1195 = 0; + $xfer += $input->readListBegin($_etype1195, $_size1192); + for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) { - $elem1190 = null; - $elem1190 = new \metastore\Partition(); - $xfer += $elem1190->read($input); - $this->success []= $elem1190; + $elem1197 = null; + $elem1197 = new \metastore\Partition(); + $xfer += $elem1197->read($input); + $this->success []= $elem1197; } $xfer += $input->readListEnd(); } else { @@ -33418,9 +33470,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1191) + foreach ($this->success as $iter1198) { - $xfer += $iter1191->write($output); + $xfer += $iter1198->write($output); } } $output->writeListEnd(); @@ -33759,15 +33811,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1192 = 0; - $_etype1195 = 0; - $xfer += $input->readListBegin($_etype1195, $_size1192); - for ($_i1196 = 0; $_i1196 < $_size1192; ++$_i1196) + $_size1199 = 0; + $_etype1202 = 0; + $xfer += $input->readListBegin($_etype1202, $_size1199); + for ($_i1203 = 0; $_i1203 < $_size1199; ++$_i1203) { - $elem1197 = null; - $elem1197 = new \metastore\Partition(); - $xfer += $elem1197->read($input); - $this->new_parts []= $elem1197; + $elem1204 = null; + $elem1204 = new \metastore\Partition(); + $xfer += $elem1204->read($input); + $this->new_parts []= $elem1204; } $xfer += $input->readListEnd(); } else { @@ -33805,9 +33857,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1198) + foreach ($this->new_parts as $iter1205) { - $xfer += $iter1198->write($output); + $xfer += $iter1205->write($output); } } $output->writeListEnd(); @@ -34022,15 +34074,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1199 = 0; - $_etype1202 = 0; - $xfer += $input->readListBegin($_etype1202, $_size1199); - for ($_i1203 = 0; $_i1203 < $_size1199; ++$_i1203) + $_size1206 = 0; + $_etype1209 = 0; + $xfer += $input->readListBegin($_etype1209, $_size1206); + for ($_i1210 = 0; $_i1210 < $_size1206; ++$_i1210) { - $elem1204 = null; - $elem1204 = new \metastore\Partition(); - $xfer += $elem1204->read($input); - $this->new_parts []= $elem1204; + $elem1211 = null; + $elem1211 = new \metastore\Partition(); + $xfer += $elem1211->read($input); + $this->new_parts []= $elem1211; } $xfer += $input->readListEnd(); } else { @@ -34076,9 +34128,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1205) + foreach ($this->new_parts as $iter1212) { - $xfer += $iter1205->write($output); + $xfer += $iter1212->write($output); } } $output->writeListEnd(); @@ -34556,14 +34608,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1206 = 0; - $_etype1209 = 0; - $xfer += $input->readListBegin($_etype1209, $_size1206); - for ($_i1210 = 0; $_i1210 < $_size1206; ++$_i1210) + $_size1213 = 0; + $_etype1216 = 0; + $xfer += $input->readListBegin($_etype1216, $_size1213); + for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) { - $elem1211 = null; - $xfer += $input->readString($elem1211); - $this->part_vals []= $elem1211; + $elem1218 = null; + $xfer += $input->readString($elem1218); + $this->part_vals []= $elem1218; } $xfer += $input->readListEnd(); } else { @@ -34609,9 +34661,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1212) + foreach ($this->part_vals as $iter1219) { - $xfer += $output->writeString($iter1212); + $xfer += $output->writeString($iter1219); } } $output->writeListEnd(); @@ -34796,14 +34848,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1213 = 0; - $_etype1216 = 0; - $xfer += $input->readListBegin($_etype1216, $_size1213); - for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) + $_size1220 = 0; + $_etype1223 = 0; + $xfer += $input->readListBegin($_etype1223, $_size1220); + for ($_i1224 = 0; $_i1224 < $_size1220; ++$_i1224) { - $elem1218 = null; - $xfer += $input->readString($elem1218); - $this->part_vals []= $elem1218; + $elem1225 = null; + $xfer += $input->readString($elem1225); + $this->part_vals []= $elem1225; } $xfer += $input->readListEnd(); } else { @@ -34838,9 +34890,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1219) + foreach ($this->part_vals as $iter1226) { - $xfer += $output->writeString($iter1219); + $xfer += $output->writeString($iter1226); } } $output->writeListEnd(); @@ -35294,14 +35346,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1220 = 0; - $_etype1223 = 0; - $xfer += $input->readListBegin($_etype1223, $_size1220); - for ($_i1224 = 0; $_i1224 < $_size1220; ++$_i1224) + $_size1227 = 0; + $_etype1230 = 0; + $xfer += $input->readListBegin($_etype1230, $_size1227); + for ($_i1231 = 0; $_i1231 < $_size1227; ++$_i1231) { - $elem1225 = null; - $xfer += $input->readString($elem1225); - $this->success []= $elem1225; + $elem1232 = null; + $xfer += $input->readString($elem1232); + $this->success []= $elem1232; } $xfer += $input->readListEnd(); } else { @@ -35337,9 +35389,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1226) + foreach ($this->success as $iter1233) { - $xfer += $output->writeString($iter1226); + $xfer += $output->writeString($iter1233); } } $output->writeListEnd(); @@ -35499,17 +35551,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1227 = 0; - $_ktype1228 = 0; - $_vtype1229 = 0; - $xfer += $input->readMapBegin($_ktype1228, $_vtype1229, $_size1227); - for ($_i1231 = 0; $_i1231 < $_size1227; ++$_i1231) + $_size1234 = 0; + $_ktype1235 = 0; + $_vtype1236 = 0; + $xfer += $input->readMapBegin($_ktype1235, $_vtype1236, $_size1234); + for ($_i1238 = 0; $_i1238 < $_size1234; ++$_i1238) { - $key1232 = ''; - $val1233 = ''; - $xfer += $input->readString($key1232); - $xfer += $input->readString($val1233); - $this->success[$key1232] = $val1233; + $key1239 = ''; + $val1240 = ''; + $xfer += $input->readString($key1239); + $xfer += $input->readString($val1240); + $this->success[$key1239] = $val1240; } $xfer += $input->readMapEnd(); } else { @@ -35545,10 +35597,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1234 => $viter1235) + foreach ($this->success as $kiter1241 => $viter1242) { - $xfer += $output->writeString($kiter1234); - $xfer += $output->writeString($viter1235); + $xfer += $output->writeString($kiter1241); + $xfer += $output->writeString($viter1242); } } $output->writeMapEnd(); @@ -35668,17 +35720,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1236 = 0; - $_ktype1237 = 0; - $_vtype1238 = 0; - $xfer += $input->readMapBegin($_ktype1237, $_vtype1238, $_size1236); - for ($_i1240 = 0; $_i1240 < $_size1236; ++$_i1240) + $_size1243 = 0; + $_ktype1244 = 0; + $_vtype1245 = 0; + $xfer += $input->readMapBegin($_ktype1244, $_vtype1245, $_size1243); + for ($_i1247 = 0; $_i1247 < $_size1243; ++$_i1247) { - $key1241 = ''; - $val1242 = ''; - $xfer += $input->readString($key1241); - $xfer += $input->readString($val1242); - $this->part_vals[$key1241] = $val1242; + $key1248 = ''; + $val1249 = ''; + $xfer += $input->readString($key1248); + $xfer += $input->readString($val1249); + $this->part_vals[$key1248] = $val1249; } $xfer += $input->readMapEnd(); } else { @@ -35723,10 +35775,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1243 => $viter1244) + foreach ($this->part_vals as $kiter1250 => $viter1251) { - $xfer += $output->writeString($kiter1243); - $xfer += $output->writeString($viter1244); + $xfer += $output->writeString($kiter1250); + $xfer += $output->writeString($viter1251); } } $output->writeMapEnd(); @@ -36048,17 +36100,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1245 = 0; - $_ktype1246 = 0; - $_vtype1247 = 0; - $xfer += $input->readMapBegin($_ktype1246, $_vtype1247, $_size1245); - for ($_i1249 = 0; $_i1249 < $_size1245; ++$_i1249) + $_size1252 = 0; + $_ktype1253 = 0; + $_vtype1254 = 0; + $xfer += $input->readMapBegin($_ktype1253, $_vtype1254, $_size1252); + for ($_i1256 = 0; $_i1256 < $_size1252; ++$_i1256) { - $key1250 = ''; - $val1251 = ''; - $xfer += $input->readString($key1250); - $xfer += $input->readString($val1251); - $this->part_vals[$key1250] = $val1251; + $key1257 = ''; + $val1258 = ''; + $xfer += $input->readString($key1257); + $xfer += $input->readString($val1258); + $this->part_vals[$key1257] = $val1258; } $xfer += $input->readMapEnd(); } else { @@ -36103,10 +36155,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1252 => $viter1253) + foreach ($this->part_vals as $kiter1259 => $viter1260) { - $xfer += $output->writeString($kiter1252); - $xfer += $output->writeString($viter1253); + $xfer += $output->writeString($kiter1259); + $xfer += $output->writeString($viter1260); } } $output->writeMapEnd(); @@ -41065,14 +41117,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1254 = 0; - $_etype1257 = 0; - $xfer += $input->readListBegin($_etype1257, $_size1254); - for ($_i1258 = 0; $_i1258 < $_size1254; ++$_i1258) + $_size1261 = 0; + $_etype1264 = 0; + $xfer += $input->readListBegin($_etype1264, $_size1261); + for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) { - $elem1259 = null; - $xfer += $input->readString($elem1259); - $this->success []= $elem1259; + $elem1266 = null; + $xfer += $input->readString($elem1266); + $this->success []= $elem1266; } $xfer += $input->readListEnd(); } else { @@ -41108,9 +41160,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1260) + foreach ($this->success as $iter1267) { - $xfer += $output->writeString($iter1260); + $xfer += $output->writeString($iter1267); } } $output->writeListEnd(); @@ -41979,14 +42031,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1261 = 0; - $_etype1264 = 0; - $xfer += $input->readListBegin($_etype1264, $_size1261); - for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) + $_size1268 = 0; + $_etype1271 = 0; + $xfer += $input->readListBegin($_etype1271, $_size1268); + for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) { - $elem1266 = null; - $xfer += $input->readString($elem1266); - $this->success []= $elem1266; + $elem1273 = null; + $xfer += $input->readString($elem1273); + $this->success []= $elem1273; } $xfer += $input->readListEnd(); } else { @@ -42022,9 +42074,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1267) + foreach ($this->success as $iter1274) { - $xfer += $output->writeString($iter1267); + $xfer += $output->writeString($iter1274); } } $output->writeListEnd(); @@ -42715,15 +42767,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1268 = 0; - $_etype1271 = 0; - $xfer += $input->readListBegin($_etype1271, $_size1268); - for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) + $_size1275 = 0; + $_etype1278 = 0; + $xfer += $input->readListBegin($_etype1278, $_size1275); + for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) { - $elem1273 = null; - $elem1273 = new \metastore\Role(); - $xfer += $elem1273->read($input); - $this->success []= $elem1273; + $elem1280 = null; + $elem1280 = new \metastore\Role(); + $xfer += $elem1280->read($input); + $this->success []= $elem1280; } $xfer += $input->readListEnd(); } else { @@ -42759,9 +42811,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1274) + foreach ($this->success as $iter1281) { - $xfer += $iter1274->write($output); + $xfer += $iter1281->write($output); } } $output->writeListEnd(); @@ -43423,14 +43475,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1275 = 0; - $_etype1278 = 0; - $xfer += $input->readListBegin($_etype1278, $_size1275); - for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) + $_size1282 = 0; + $_etype1285 = 0; + $xfer += $input->readListBegin($_etype1285, $_size1282); + for ($_i1286 = 0; $_i1286 < $_size1282; ++$_i1286) { - $elem1280 = null; - $xfer += $input->readString($elem1280); - $this->group_names []= $elem1280; + $elem1287 = null; + $xfer += $input->readString($elem1287); + $this->group_names []= $elem1287; } $xfer += $input->readListEnd(); } else { @@ -43471,9 +43523,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1281) + foreach ($this->group_names as $iter1288) { - $xfer += $output->writeString($iter1281); + $xfer += $output->writeString($iter1288); } } $output->writeListEnd(); @@ -43781,15 +43833,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1282 = 0; - $_etype1285 = 0; - $xfer += $input->readListBegin($_etype1285, $_size1282); - for ($_i1286 = 0; $_i1286 < $_size1282; ++$_i1286) + $_size1289 = 0; + $_etype1292 = 0; + $xfer += $input->readListBegin($_etype1292, $_size1289); + for ($_i1293 = 0; $_i1293 < $_size1289; ++$_i1293) { - $elem1287 = null; - $elem1287 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1287->read($input); - $this->success []= $elem1287; + $elem1294 = null; + $elem1294 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1294->read($input); + $this->success []= $elem1294; } $xfer += $input->readListEnd(); } else { @@ -43825,9 +43877,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1288) + foreach ($this->success as $iter1295) { - $xfer += $iter1288->write($output); + $xfer += $iter1295->write($output); } } $output->writeListEnd(); @@ -44459,14 +44511,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1289 = 0; - $_etype1292 = 0; - $xfer += $input->readListBegin($_etype1292, $_size1289); - for ($_i1293 = 0; $_i1293 < $_size1289; ++$_i1293) + $_size1296 = 0; + $_etype1299 = 0; + $xfer += $input->readListBegin($_etype1299, $_size1296); + for ($_i1300 = 0; $_i1300 < $_size1296; ++$_i1300) { - $elem1294 = null; - $xfer += $input->readString($elem1294); - $this->group_names []= $elem1294; + $elem1301 = null; + $xfer += $input->readString($elem1301); + $this->group_names []= $elem1301; } $xfer += $input->readListEnd(); } else { @@ -44499,9 +44551,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1295) + foreach ($this->group_names as $iter1302) { - $xfer += $output->writeString($iter1295); + $xfer += $output->writeString($iter1302); } } $output->writeListEnd(); @@ -44577,14 +44629,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1296 = 0; - $_etype1299 = 0; - $xfer += $input->readListBegin($_etype1299, $_size1296); - for ($_i1300 = 0; $_i1300 < $_size1296; ++$_i1300) + $_size1303 = 0; + $_etype1306 = 0; + $xfer += $input->readListBegin($_etype1306, $_size1303); + for ($_i1307 = 0; $_i1307 < $_size1303; ++$_i1307) { - $elem1301 = null; - $xfer += $input->readString($elem1301); - $this->success []= $elem1301; + $elem1308 = null; + $xfer += $input->readString($elem1308); + $this->success []= $elem1308; } $xfer += $input->readListEnd(); } else { @@ -44620,9 +44672,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1302) + foreach ($this->success as $iter1309) { - $xfer += $output->writeString($iter1302); + $xfer += $output->writeString($iter1309); } } $output->writeListEnd(); @@ -45739,14 +45791,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1303 = 0; - $_etype1306 = 0; - $xfer += $input->readListBegin($_etype1306, $_size1303); - for ($_i1307 = 0; $_i1307 < $_size1303; ++$_i1307) + $_size1310 = 0; + $_etype1313 = 0; + $xfer += $input->readListBegin($_etype1313, $_size1310); + for ($_i1314 = 0; $_i1314 < $_size1310; ++$_i1314) { - $elem1308 = null; - $xfer += $input->readString($elem1308); - $this->success []= $elem1308; + $elem1315 = null; + $xfer += $input->readString($elem1315); + $this->success []= $elem1315; } $xfer += $input->readListEnd(); } else { @@ -45774,9 +45826,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1309) + foreach ($this->success as $iter1316) { - $xfer += $output->writeString($iter1309); + $xfer += $output->writeString($iter1316); } } $output->writeListEnd(); @@ -46415,14 +46467,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1310 = 0; - $_etype1313 = 0; - $xfer += $input->readListBegin($_etype1313, $_size1310); - for ($_i1314 = 0; $_i1314 < $_size1310; ++$_i1314) + $_size1317 = 0; + $_etype1320 = 0; + $xfer += $input->readListBegin($_etype1320, $_size1317); + for ($_i1321 = 0; $_i1321 < $_size1317; ++$_i1321) { - $elem1315 = null; - $xfer += $input->readString($elem1315); - $this->success []= $elem1315; + $elem1322 = null; + $xfer += $input->readString($elem1322); + $this->success []= $elem1322; } $xfer += $input->readListEnd(); } else { @@ -46450,9 +46502,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1316) + foreach ($this->success as $iter1323) { - $xfer += $output->writeString($iter1316); + $xfer += $output->writeString($iter1323); } } $output->writeListEnd(); @@ -47382,6 +47434,136 @@ class ThriftHiveMetastore_commit_txn_result { } +class ThriftHiveMetastore_repl_tbl_writeid_state_args { + static $_TSPEC; + + /** + * @var \metastore\ReplTblWriteIdStateRequest + */ + public $rqst = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'rqst', + 'type' => TType::STRUCT, + 'class' => '\metastore\ReplTblWriteIdStateRequest', + ), + ); + } + if (is_array($vals)) { + if (isset($vals['rqst'])) { + $this->rqst = $vals['rqst']; + } + } + } + + public function getName() { + return 'ThriftHiveMetastore_repl_tbl_writeid_state_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::STRUCT) { + $this->rqst = new \metastore\ReplTblWriteIdStateRequest(); + $xfer += $this->rqst->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_repl_tbl_writeid_state_args'); + if ($this->rqst !== null) { + if (!is_object($this->rqst)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('rqst', TType::STRUCT, 1); + $xfer += $this->rqst->write($output); + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + +class ThriftHiveMetastore_repl_tbl_writeid_state_result { + static $_TSPEC; + + + public function __construct() { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + ); + } + } + + public function getName() { + return 'ThriftHiveMetastore_repl_tbl_writeid_state_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) + { + default: + $xfer += $input->skip($ftype); + break; + } + $xfer += $input->readFieldEnd(); + } + $xfer += $input->readStructEnd(); + return $xfer; + } + + public function write($output) { + $xfer = 0; + $xfer += $output->writeStructBegin('ThriftHiveMetastore_repl_tbl_writeid_state_result'); + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_get_valid_write_ids_args { static $_TSPEC; @@ -56991,15 +57173,15 @@ class ThriftHiveMetastore_get_schema_all_versions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1317 = 0; - $_etype1320 = 0; - $xfer += $input->readListBegin($_etype1320, $_size1317); - for ($_i1321 = 0; $_i1321 < $_size1317; ++$_i1321) + $_size1324 = 0; + $_etype1327 = 0; + $xfer += $input->readListBegin($_etype1327, $_size1324); + for ($_i1328 = 0; $_i1328 < $_size1324; ++$_i1328) { - $elem1322 = null; - $elem1322 = new \metastore\SchemaVersion(); - $xfer += $elem1322->read($input); - $this->success []= $elem1322; + $elem1329 = null; + $elem1329 = new \metastore\SchemaVersion(); + $xfer += $elem1329->read($input); + $this->success []= $elem1329; } $xfer += $input->readListEnd(); } else { @@ -57043,9 +57225,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1323) + foreach ($this->success as $iter1330) { - $xfer += $iter1323->write($output); + $xfer += $iter1330->write($output); } } $output->writeListEnd(); @@ -58914,15 +59096,15 @@ class ThriftHiveMetastore_get_runtime_stats_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1324 = 0; - $_etype1327 = 0; - $xfer += $input->readListBegin($_etype1327, $_size1324); - for ($_i1328 = 0; $_i1328 < $_size1324; ++$_i1328) + $_size1331 = 0; + $_etype1334 = 0; + $xfer += $input->readListBegin($_etype1334, $_size1331); + for ($_i1335 = 0; $_i1335 < $_size1331; ++$_i1335) { - $elem1329 = null; - $elem1329 = new \metastore\RuntimeStat(); - $xfer += $elem1329->read($input); - $this->success []= $elem1329; + $elem1336 = null; + $elem1336 = new \metastore\RuntimeStat(); + $xfer += $elem1336->read($input); + $this->success []= $elem1336; } $xfer += $input->readListEnd(); } else { @@ -58958,9 +59140,9 @@ class ThriftHiveMetastore_get_runtime_stats_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1330) + foreach ($this->success as $iter1337) { - $xfer += $iter1330->write($output); + $xfer += $iter1337->write($output); } } $output->writeListEnd(); 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 c9ebfaf..80edc46 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -16496,6 +16496,222 @@ class CommitTxnRequest { } +class ReplTblWriteIdStateRequest { + static $_TSPEC; + + /** + * @var string + */ + public $validWriteIdlist = null; + /** + * @var string + */ + public $user = null; + /** + * @var string + */ + public $hostName = null; + /** + * @var string + */ + public $dbName = null; + /** + * @var string + */ + public $tableName = null; + /** + * @var string[] + */ + public $partNames = null; + + public function __construct($vals=null) { + if (!isset(self::$_TSPEC)) { + self::$_TSPEC = array( + 1 => array( + 'var' => 'validWriteIdlist', + 'type' => TType::STRING, + ), + 2 => array( + 'var' => 'user', + 'type' => TType::STRING, + ), + 3 => array( + 'var' => 'hostName', + 'type' => TType::STRING, + ), + 4 => array( + 'var' => 'dbName', + 'type' => TType::STRING, + ), + 5 => array( + 'var' => 'tableName', + 'type' => TType::STRING, + ), + 6 => array( + 'var' => 'partNames', + 'type' => TType::LST, + 'etype' => TType::STRING, + 'elem' => array( + 'type' => TType::STRING, + ), + ), + ); + } + if (is_array($vals)) { + if (isset($vals['validWriteIdlist'])) { + $this->validWriteIdlist = $vals['validWriteIdlist']; + } + if (isset($vals['user'])) { + $this->user = $vals['user']; + } + if (isset($vals['hostName'])) { + $this->hostName = $vals['hostName']; + } + if (isset($vals['dbName'])) { + $this->dbName = $vals['dbName']; + } + if (isset($vals['tableName'])) { + $this->tableName = $vals['tableName']; + } + if (isset($vals['partNames'])) { + $this->partNames = $vals['partNames']; + } + } + } + + public function getName() { + return 'ReplTblWriteIdStateRequest'; + } + + 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->validWriteIdlist); + } else { + $xfer += $input->skip($ftype); + } + break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->user); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->hostName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->dbName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 5: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->tableName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 6: + if ($ftype == TType::LST) { + $this->partNames = array(); + $_size523 = 0; + $_etype526 = 0; + $xfer += $input->readListBegin($_etype526, $_size523); + for ($_i527 = 0; $_i527 < $_size523; ++$_i527) + { + $elem528 = null; + $xfer += $input->readString($elem528); + $this->partNames []= $elem528; + } + $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('ReplTblWriteIdStateRequest'); + if ($this->validWriteIdlist !== null) { + $xfer += $output->writeFieldBegin('validWriteIdlist', TType::STRING, 1); + $xfer += $output->writeString($this->validWriteIdlist); + $xfer += $output->writeFieldEnd(); + } + if ($this->user !== null) { + $xfer += $output->writeFieldBegin('user', TType::STRING, 2); + $xfer += $output->writeString($this->user); + $xfer += $output->writeFieldEnd(); + } + if ($this->hostName !== null) { + $xfer += $output->writeFieldBegin('hostName', TType::STRING, 3); + $xfer += $output->writeString($this->hostName); + $xfer += $output->writeFieldEnd(); + } + if ($this->dbName !== null) { + $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, 5); + $xfer += $output->writeString($this->tableName); + $xfer += $output->writeFieldEnd(); + } + if ($this->partNames !== null) { + if (!is_array($this->partNames)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('partNames', TType::LST, 6); + { + $output->writeListBegin(TType::STRING, count($this->partNames)); + { + foreach ($this->partNames as $iter529) + { + $xfer += $output->writeString($iter529); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class GetValidWriteIdsRequest { static $_TSPEC; @@ -16557,14 +16773,14 @@ class GetValidWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->fullTableNames = array(); - $_size523 = 0; - $_etype526 = 0; - $xfer += $input->readListBegin($_etype526, $_size523); - for ($_i527 = 0; $_i527 < $_size523; ++$_i527) + $_size530 = 0; + $_etype533 = 0; + $xfer += $input->readListBegin($_etype533, $_size530); + for ($_i534 = 0; $_i534 < $_size530; ++$_i534) { - $elem528 = null; - $xfer += $input->readString($elem528); - $this->fullTableNames []= $elem528; + $elem535 = null; + $xfer += $input->readString($elem535); + $this->fullTableNames []= $elem535; } $xfer += $input->readListEnd(); } else { @@ -16599,9 +16815,9 @@ class GetValidWriteIdsRequest { { $output->writeListBegin(TType::STRING, count($this->fullTableNames)); { - foreach ($this->fullTableNames as $iter529) + foreach ($this->fullTableNames as $iter536) { - $xfer += $output->writeString($iter529); + $xfer += $output->writeString($iter536); } } $output->writeListEnd(); @@ -16728,14 +16944,14 @@ class TableValidWriteIds { case 3: if ($ftype == TType::LST) { $this->invalidWriteIds = array(); - $_size530 = 0; - $_etype533 = 0; - $xfer += $input->readListBegin($_etype533, $_size530); - for ($_i534 = 0; $_i534 < $_size530; ++$_i534) + $_size537 = 0; + $_etype540 = 0; + $xfer += $input->readListBegin($_etype540, $_size537); + for ($_i541 = 0; $_i541 < $_size537; ++$_i541) { - $elem535 = null; - $xfer += $input->readI64($elem535); - $this->invalidWriteIds []= $elem535; + $elem542 = null; + $xfer += $input->readI64($elem542); + $this->invalidWriteIds []= $elem542; } $xfer += $input->readListEnd(); } else { @@ -16787,9 +17003,9 @@ class TableValidWriteIds { { $output->writeListBegin(TType::I64, count($this->invalidWriteIds)); { - foreach ($this->invalidWriteIds as $iter536) + foreach ($this->invalidWriteIds as $iter543) { - $xfer += $output->writeI64($iter536); + $xfer += $output->writeI64($iter543); } } $output->writeListEnd(); @@ -16864,15 +17080,15 @@ class GetValidWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->tblValidWriteIds = array(); - $_size537 = 0; - $_etype540 = 0; - $xfer += $input->readListBegin($_etype540, $_size537); - for ($_i541 = 0; $_i541 < $_size537; ++$_i541) + $_size544 = 0; + $_etype547 = 0; + $xfer += $input->readListBegin($_etype547, $_size544); + for ($_i548 = 0; $_i548 < $_size544; ++$_i548) { - $elem542 = null; - $elem542 = new \metastore\TableValidWriteIds(); - $xfer += $elem542->read($input); - $this->tblValidWriteIds []= $elem542; + $elem549 = null; + $elem549 = new \metastore\TableValidWriteIds(); + $xfer += $elem549->read($input); + $this->tblValidWriteIds []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -16900,9 +17116,9 @@ class GetValidWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->tblValidWriteIds)); { - foreach ($this->tblValidWriteIds as $iter543) + foreach ($this->tblValidWriteIds as $iter550) { - $xfer += $iter543->write($output); + $xfer += $iter550->write($output); } } $output->writeListEnd(); @@ -17029,14 +17245,14 @@ class AllocateTableWriteIdsRequest { case 3: if ($ftype == TType::LST) { $this->txnIds = array(); - $_size544 = 0; - $_etype547 = 0; - $xfer += $input->readListBegin($_etype547, $_size544); - for ($_i548 = 0; $_i548 < $_size544; ++$_i548) + $_size551 = 0; + $_etype554 = 0; + $xfer += $input->readListBegin($_etype554, $_size551); + for ($_i555 = 0; $_i555 < $_size551; ++$_i555) { - $elem549 = null; - $xfer += $input->readI64($elem549); - $this->txnIds []= $elem549; + $elem556 = null; + $xfer += $input->readI64($elem556); + $this->txnIds []= $elem556; } $xfer += $input->readListEnd(); } else { @@ -17053,15 +17269,15 @@ class AllocateTableWriteIdsRequest { case 5: if ($ftype == TType::LST) { $this->srcTxnToWriteIdList = array(); - $_size550 = 0; - $_etype553 = 0; - $xfer += $input->readListBegin($_etype553, $_size550); - for ($_i554 = 0; $_i554 < $_size550; ++$_i554) + $_size557 = 0; + $_etype560 = 0; + $xfer += $input->readListBegin($_etype560, $_size557); + for ($_i561 = 0; $_i561 < $_size557; ++$_i561) { - $elem555 = null; - $elem555 = new \metastore\TxnToWriteId(); - $xfer += $elem555->read($input); - $this->srcTxnToWriteIdList []= $elem555; + $elem562 = null; + $elem562 = new \metastore\TxnToWriteId(); + $xfer += $elem562->read($input); + $this->srcTxnToWriteIdList []= $elem562; } $xfer += $input->readListEnd(); } else { @@ -17099,9 +17315,9 @@ class AllocateTableWriteIdsRequest { { $output->writeListBegin(TType::I64, count($this->txnIds)); { - foreach ($this->txnIds as $iter556) + foreach ($this->txnIds as $iter563) { - $xfer += $output->writeI64($iter556); + $xfer += $output->writeI64($iter563); } } $output->writeListEnd(); @@ -17121,9 +17337,9 @@ class AllocateTableWriteIdsRequest { { $output->writeListBegin(TType::STRUCT, count($this->srcTxnToWriteIdList)); { - foreach ($this->srcTxnToWriteIdList as $iter557) + foreach ($this->srcTxnToWriteIdList as $iter564) { - $xfer += $iter557->write($output); + $xfer += $iter564->write($output); } } $output->writeListEnd(); @@ -17286,15 +17502,15 @@ class AllocateTableWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->txnToWriteIds = array(); - $_size558 = 0; - $_etype561 = 0; - $xfer += $input->readListBegin($_etype561, $_size558); - for ($_i562 = 0; $_i562 < $_size558; ++$_i562) + $_size565 = 0; + $_etype568 = 0; + $xfer += $input->readListBegin($_etype568, $_size565); + for ($_i569 = 0; $_i569 < $_size565; ++$_i569) { - $elem563 = null; - $elem563 = new \metastore\TxnToWriteId(); - $xfer += $elem563->read($input); - $this->txnToWriteIds []= $elem563; + $elem570 = null; + $elem570 = new \metastore\TxnToWriteId(); + $xfer += $elem570->read($input); + $this->txnToWriteIds []= $elem570; } $xfer += $input->readListEnd(); } else { @@ -17322,9 +17538,9 @@ class AllocateTableWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->txnToWriteIds)); { - foreach ($this->txnToWriteIds as $iter564) + foreach ($this->txnToWriteIds as $iter571) { - $xfer += $iter564->write($output); + $xfer += $iter571->write($output); } } $output->writeListEnd(); @@ -17669,15 +17885,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size565 = 0; - $_etype568 = 0; - $xfer += $input->readListBegin($_etype568, $_size565); - for ($_i569 = 0; $_i569 < $_size565; ++$_i569) + $_size572 = 0; + $_etype575 = 0; + $xfer += $input->readListBegin($_etype575, $_size572); + for ($_i576 = 0; $_i576 < $_size572; ++$_i576) { - $elem570 = null; - $elem570 = new \metastore\LockComponent(); - $xfer += $elem570->read($input); - $this->component []= $elem570; + $elem577 = null; + $elem577 = new \metastore\LockComponent(); + $xfer += $elem577->read($input); + $this->component []= $elem577; } $xfer += $input->readListEnd(); } else { @@ -17733,9 +17949,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter571) + foreach ($this->component as $iter578) { - $xfer += $iter571->write($output); + $xfer += $iter578->write($output); } } $output->writeListEnd(); @@ -18678,15 +18894,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size572 = 0; - $_etype575 = 0; - $xfer += $input->readListBegin($_etype575, $_size572); - for ($_i576 = 0; $_i576 < $_size572; ++$_i576) + $_size579 = 0; + $_etype582 = 0; + $xfer += $input->readListBegin($_etype582, $_size579); + for ($_i583 = 0; $_i583 < $_size579; ++$_i583) { - $elem577 = null; - $elem577 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem577->read($input); - $this->locks []= $elem577; + $elem584 = null; + $elem584 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem584->read($input); + $this->locks []= $elem584; } $xfer += $input->readListEnd(); } else { @@ -18714,9 +18930,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter578) + foreach ($this->locks as $iter585) { - $xfer += $iter578->write($output); + $xfer += $iter585->write($output); } } $output->writeListEnd(); @@ -18991,17 +19207,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size579 = 0; - $_etype582 = 0; - $xfer += $input->readSetBegin($_etype582, $_size579); - for ($_i583 = 0; $_i583 < $_size579; ++$_i583) + $_size586 = 0; + $_etype589 = 0; + $xfer += $input->readSetBegin($_etype589, $_size586); + for ($_i590 = 0; $_i590 < $_size586; ++$_i590) { - $elem584 = null; - $xfer += $input->readI64($elem584); - if (is_scalar($elem584)) { - $this->aborted[$elem584] = true; + $elem591 = null; + $xfer += $input->readI64($elem591); + if (is_scalar($elem591)) { + $this->aborted[$elem591] = true; } else { - $this->aborted []= $elem584; + $this->aborted []= $elem591; } } $xfer += $input->readSetEnd(); @@ -19012,17 +19228,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size585 = 0; - $_etype588 = 0; - $xfer += $input->readSetBegin($_etype588, $_size585); - for ($_i589 = 0; $_i589 < $_size585; ++$_i589) + $_size592 = 0; + $_etype595 = 0; + $xfer += $input->readSetBegin($_etype595, $_size592); + for ($_i596 = 0; $_i596 < $_size592; ++$_i596) { - $elem590 = null; - $xfer += $input->readI64($elem590); - if (is_scalar($elem590)) { - $this->nosuch[$elem590] = true; + $elem597 = null; + $xfer += $input->readI64($elem597); + if (is_scalar($elem597)) { + $this->nosuch[$elem597] = true; } else { - $this->nosuch []= $elem590; + $this->nosuch []= $elem597; } } $xfer += $input->readSetEnd(); @@ -19051,12 +19267,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter591 => $iter592) + foreach ($this->aborted as $iter598 => $iter599) { - if (is_scalar($iter592)) { - $xfer += $output->writeI64($iter591); + if (is_scalar($iter599)) { + $xfer += $output->writeI64($iter598); } else { - $xfer += $output->writeI64($iter592); + $xfer += $output->writeI64($iter599); } } } @@ -19072,12 +19288,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter593 => $iter594) + foreach ($this->nosuch as $iter600 => $iter601) { - if (is_scalar($iter594)) { - $xfer += $output->writeI64($iter593); + if (is_scalar($iter601)) { + $xfer += $output->writeI64($iter600); } else { - $xfer += $output->writeI64($iter594); + $xfer += $output->writeI64($iter601); } } } @@ -19236,17 +19452,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size595 = 0; - $_ktype596 = 0; - $_vtype597 = 0; - $xfer += $input->readMapBegin($_ktype596, $_vtype597, $_size595); - for ($_i599 = 0; $_i599 < $_size595; ++$_i599) + $_size602 = 0; + $_ktype603 = 0; + $_vtype604 = 0; + $xfer += $input->readMapBegin($_ktype603, $_vtype604, $_size602); + for ($_i606 = 0; $_i606 < $_size602; ++$_i606) { - $key600 = ''; - $val601 = ''; - $xfer += $input->readString($key600); - $xfer += $input->readString($val601); - $this->properties[$key600] = $val601; + $key607 = ''; + $val608 = ''; + $xfer += $input->readString($key607); + $xfer += $input->readString($val608); + $this->properties[$key607] = $val608; } $xfer += $input->readMapEnd(); } else { @@ -19299,10 +19515,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter602 => $viter603) + foreach ($this->properties as $kiter609 => $viter610) { - $xfer += $output->writeString($kiter602); - $xfer += $output->writeString($viter603); + $xfer += $output->writeString($kiter609); + $xfer += $output->writeString($viter610); } } $output->writeMapEnd(); @@ -19889,15 +20105,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size604 = 0; - $_etype607 = 0; - $xfer += $input->readListBegin($_etype607, $_size604); - for ($_i608 = 0; $_i608 < $_size604; ++$_i608) + $_size611 = 0; + $_etype614 = 0; + $xfer += $input->readListBegin($_etype614, $_size611); + for ($_i615 = 0; $_i615 < $_size611; ++$_i615) { - $elem609 = null; - $elem609 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem609->read($input); - $this->compacts []= $elem609; + $elem616 = null; + $elem616 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem616->read($input); + $this->compacts []= $elem616; } $xfer += $input->readListEnd(); } else { @@ -19925,9 +20141,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter610) + foreach ($this->compacts as $iter617) { - $xfer += $iter610->write($output); + $xfer += $iter617->write($output); } } $output->writeListEnd(); @@ -20074,14 +20290,14 @@ class AddDynamicPartitions { case 5: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size611 = 0; - $_etype614 = 0; - $xfer += $input->readListBegin($_etype614, $_size611); - for ($_i615 = 0; $_i615 < $_size611; ++$_i615) + $_size618 = 0; + $_etype621 = 0; + $xfer += $input->readListBegin($_etype621, $_size618); + for ($_i622 = 0; $_i622 < $_size618; ++$_i622) { - $elem616 = null; - $xfer += $input->readString($elem616); - $this->partitionnames []= $elem616; + $elem623 = null; + $xfer += $input->readString($elem623); + $this->partitionnames []= $elem623; } $xfer += $input->readListEnd(); } else { @@ -20136,9 +20352,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter617) + foreach ($this->partitionnames as $iter624) { - $xfer += $output->writeString($iter617); + $xfer += $output->writeString($iter624); } } $output->writeListEnd(); @@ -20462,17 +20678,17 @@ class CreationMetadata { case 4: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size618 = 0; - $_etype621 = 0; - $xfer += $input->readSetBegin($_etype621, $_size618); - for ($_i622 = 0; $_i622 < $_size618; ++$_i622) + $_size625 = 0; + $_etype628 = 0; + $xfer += $input->readSetBegin($_etype628, $_size625); + for ($_i629 = 0; $_i629 < $_size625; ++$_i629) { - $elem623 = null; - $xfer += $input->readString($elem623); - if (is_scalar($elem623)) { - $this->tablesUsed[$elem623] = true; + $elem630 = null; + $xfer += $input->readString($elem630); + if (is_scalar($elem630)) { + $this->tablesUsed[$elem630] = true; } else { - $this->tablesUsed []= $elem623; + $this->tablesUsed []= $elem630; } } $xfer += $input->readSetEnd(); @@ -20523,12 +20739,12 @@ class CreationMetadata { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter624 => $iter625) + foreach ($this->tablesUsed as $iter631 => $iter632) { - if (is_scalar($iter625)) { - $xfer += $output->writeString($iter624); + if (is_scalar($iter632)) { + $xfer += $output->writeString($iter631); } else { - $xfer += $output->writeString($iter625); + $xfer += $output->writeString($iter632); } } } @@ -20933,15 +21149,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size626 = 0; - $_etype629 = 0; - $xfer += $input->readListBegin($_etype629, $_size626); - for ($_i630 = 0; $_i630 < $_size626; ++$_i630) + $_size633 = 0; + $_etype636 = 0; + $xfer += $input->readListBegin($_etype636, $_size633); + for ($_i637 = 0; $_i637 < $_size633; ++$_i637) { - $elem631 = null; - $elem631 = new \metastore\NotificationEvent(); - $xfer += $elem631->read($input); - $this->events []= $elem631; + $elem638 = null; + $elem638 = new \metastore\NotificationEvent(); + $xfer += $elem638->read($input); + $this->events []= $elem638; } $xfer += $input->readListEnd(); } else { @@ -20969,9 +21185,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter632) + foreach ($this->events as $iter639) { - $xfer += $iter632->write($output); + $xfer += $iter639->write($output); } } $output->writeListEnd(); @@ -21339,14 +21555,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size633 = 0; - $_etype636 = 0; - $xfer += $input->readListBegin($_etype636, $_size633); - for ($_i637 = 0; $_i637 < $_size633; ++$_i637) + $_size640 = 0; + $_etype643 = 0; + $xfer += $input->readListBegin($_etype643, $_size640); + for ($_i644 = 0; $_i644 < $_size640; ++$_i644) { - $elem638 = null; - $xfer += $input->readString($elem638); - $this->filesAdded []= $elem638; + $elem645 = null; + $xfer += $input->readString($elem645); + $this->filesAdded []= $elem645; } $xfer += $input->readListEnd(); } else { @@ -21356,14 +21572,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size639 = 0; - $_etype642 = 0; - $xfer += $input->readListBegin($_etype642, $_size639); - for ($_i643 = 0; $_i643 < $_size639; ++$_i643) + $_size646 = 0; + $_etype649 = 0; + $xfer += $input->readListBegin($_etype649, $_size646); + for ($_i650 = 0; $_i650 < $_size646; ++$_i650) { - $elem644 = null; - $xfer += $input->readString($elem644); - $this->filesAddedChecksum []= $elem644; + $elem651 = null; + $xfer += $input->readString($elem651); + $this->filesAddedChecksum []= $elem651; } $xfer += $input->readListEnd(); } else { @@ -21396,9 +21612,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter645) + foreach ($this->filesAdded as $iter652) { - $xfer += $output->writeString($iter645); + $xfer += $output->writeString($iter652); } } $output->writeListEnd(); @@ -21413,9 +21629,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter646) + foreach ($this->filesAddedChecksum as $iter653) { - $xfer += $output->writeString($iter646); + $xfer += $output->writeString($iter653); } } $output->writeListEnd(); @@ -21644,14 +21860,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size647 = 0; - $_etype650 = 0; - $xfer += $input->readListBegin($_etype650, $_size647); - for ($_i651 = 0; $_i651 < $_size647; ++$_i651) + $_size654 = 0; + $_etype657 = 0; + $xfer += $input->readListBegin($_etype657, $_size654); + for ($_i658 = 0; $_i658 < $_size654; ++$_i658) { - $elem652 = null; - $xfer += $input->readString($elem652); - $this->partitionVals []= $elem652; + $elem659 = null; + $xfer += $input->readString($elem659); + $this->partitionVals []= $elem659; } $xfer += $input->readListEnd(); } else { @@ -21709,9 +21925,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter653) + foreach ($this->partitionVals as $iter660) { - $xfer += $output->writeString($iter653); + $xfer += $output->writeString($iter660); } } $output->writeListEnd(); @@ -21944,18 +22160,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size654 = 0; - $_ktype655 = 0; - $_vtype656 = 0; - $xfer += $input->readMapBegin($_ktype655, $_vtype656, $_size654); - for ($_i658 = 0; $_i658 < $_size654; ++$_i658) + $_size661 = 0; + $_ktype662 = 0; + $_vtype663 = 0; + $xfer += $input->readMapBegin($_ktype662, $_vtype663, $_size661); + for ($_i665 = 0; $_i665 < $_size661; ++$_i665) { - $key659 = 0; - $val660 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key659); - $val660 = new \metastore\MetadataPpdResult(); - $xfer += $val660->read($input); - $this->metadata[$key659] = $val660; + $key666 = 0; + $val667 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key666); + $val667 = new \metastore\MetadataPpdResult(); + $xfer += $val667->read($input); + $this->metadata[$key666] = $val667; } $xfer += $input->readMapEnd(); } else { @@ -21990,10 +22206,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter661 => $viter662) + foreach ($this->metadata as $kiter668 => $viter669) { - $xfer += $output->writeI64($kiter661); - $xfer += $viter662->write($output); + $xfer += $output->writeI64($kiter668); + $xfer += $viter669->write($output); } } $output->writeMapEnd(); @@ -22095,14 +22311,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size663 = 0; - $_etype666 = 0; - $xfer += $input->readListBegin($_etype666, $_size663); - for ($_i667 = 0; $_i667 < $_size663; ++$_i667) + $_size670 = 0; + $_etype673 = 0; + $xfer += $input->readListBegin($_etype673, $_size670); + for ($_i674 = 0; $_i674 < $_size670; ++$_i674) { - $elem668 = null; - $xfer += $input->readI64($elem668); - $this->fileIds []= $elem668; + $elem675 = null; + $xfer += $input->readI64($elem675); + $this->fileIds []= $elem675; } $xfer += $input->readListEnd(); } else { @@ -22151,9 +22367,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter669) + foreach ($this->fileIds as $iter676) { - $xfer += $output->writeI64($iter669); + $xfer += $output->writeI64($iter676); } } $output->writeListEnd(); @@ -22247,17 +22463,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size670 = 0; - $_ktype671 = 0; - $_vtype672 = 0; - $xfer += $input->readMapBegin($_ktype671, $_vtype672, $_size670); - for ($_i674 = 0; $_i674 < $_size670; ++$_i674) + $_size677 = 0; + $_ktype678 = 0; + $_vtype679 = 0; + $xfer += $input->readMapBegin($_ktype678, $_vtype679, $_size677); + for ($_i681 = 0; $_i681 < $_size677; ++$_i681) { - $key675 = 0; - $val676 = ''; - $xfer += $input->readI64($key675); - $xfer += $input->readString($val676); - $this->metadata[$key675] = $val676; + $key682 = 0; + $val683 = ''; + $xfer += $input->readI64($key682); + $xfer += $input->readString($val683); + $this->metadata[$key682] = $val683; } $xfer += $input->readMapEnd(); } else { @@ -22292,10 +22508,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter677 => $viter678) + foreach ($this->metadata as $kiter684 => $viter685) { - $xfer += $output->writeI64($kiter677); - $xfer += $output->writeString($viter678); + $xfer += $output->writeI64($kiter684); + $xfer += $output->writeString($viter685); } } $output->writeMapEnd(); @@ -22364,14 +22580,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size679 = 0; - $_etype682 = 0; - $xfer += $input->readListBegin($_etype682, $_size679); - for ($_i683 = 0; $_i683 < $_size679; ++$_i683) + $_size686 = 0; + $_etype689 = 0; + $xfer += $input->readListBegin($_etype689, $_size686); + for ($_i690 = 0; $_i690 < $_size686; ++$_i690) { - $elem684 = null; - $xfer += $input->readI64($elem684); - $this->fileIds []= $elem684; + $elem691 = null; + $xfer += $input->readI64($elem691); + $this->fileIds []= $elem691; } $xfer += $input->readListEnd(); } else { @@ -22399,9 +22615,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter685) + foreach ($this->fileIds as $iter692) { - $xfer += $output->writeI64($iter685); + $xfer += $output->writeI64($iter692); } } $output->writeListEnd(); @@ -22541,14 +22757,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size686 = 0; - $_etype689 = 0; - $xfer += $input->readListBegin($_etype689, $_size686); - for ($_i690 = 0; $_i690 < $_size686; ++$_i690) + $_size693 = 0; + $_etype696 = 0; + $xfer += $input->readListBegin($_etype696, $_size693); + for ($_i697 = 0; $_i697 < $_size693; ++$_i697) { - $elem691 = null; - $xfer += $input->readI64($elem691); - $this->fileIds []= $elem691; + $elem698 = null; + $xfer += $input->readI64($elem698); + $this->fileIds []= $elem698; } $xfer += $input->readListEnd(); } else { @@ -22558,14 +22774,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size692 = 0; - $_etype695 = 0; - $xfer += $input->readListBegin($_etype695, $_size692); - for ($_i696 = 0; $_i696 < $_size692; ++$_i696) + $_size699 = 0; + $_etype702 = 0; + $xfer += $input->readListBegin($_etype702, $_size699); + for ($_i703 = 0; $_i703 < $_size699; ++$_i703) { - $elem697 = null; - $xfer += $input->readString($elem697); - $this->metadata []= $elem697; + $elem704 = null; + $xfer += $input->readString($elem704); + $this->metadata []= $elem704; } $xfer += $input->readListEnd(); } else { @@ -22600,9 +22816,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter698) + foreach ($this->fileIds as $iter705) { - $xfer += $output->writeI64($iter698); + $xfer += $output->writeI64($iter705); } } $output->writeListEnd(); @@ -22617,9 +22833,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter699) + foreach ($this->metadata as $iter706) { - $xfer += $output->writeString($iter699); + $xfer += $output->writeString($iter706); } } $output->writeListEnd(); @@ -22738,14 +22954,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size700 = 0; - $_etype703 = 0; - $xfer += $input->readListBegin($_etype703, $_size700); - for ($_i704 = 0; $_i704 < $_size700; ++$_i704) + $_size707 = 0; + $_etype710 = 0; + $xfer += $input->readListBegin($_etype710, $_size707); + for ($_i711 = 0; $_i711 < $_size707; ++$_i711) { - $elem705 = null; - $xfer += $input->readI64($elem705); - $this->fileIds []= $elem705; + $elem712 = null; + $xfer += $input->readI64($elem712); + $this->fileIds []= $elem712; } $xfer += $input->readListEnd(); } else { @@ -22773,9 +22989,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter706) + foreach ($this->fileIds as $iter713) { - $xfer += $output->writeI64($iter706); + $xfer += $output->writeI64($iter713); } } $output->writeListEnd(); @@ -23059,15 +23275,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size707 = 0; - $_etype710 = 0; - $xfer += $input->readListBegin($_etype710, $_size707); - for ($_i711 = 0; $_i711 < $_size707; ++$_i711) + $_size714 = 0; + $_etype717 = 0; + $xfer += $input->readListBegin($_etype717, $_size714); + for ($_i718 = 0; $_i718 < $_size714; ++$_i718) { - $elem712 = null; - $elem712 = new \metastore\Function(); - $xfer += $elem712->read($input); - $this->functions []= $elem712; + $elem719 = null; + $elem719 = new \metastore\Function(); + $xfer += $elem719->read($input); + $this->functions []= $elem719; } $xfer += $input->readListEnd(); } else { @@ -23095,9 +23311,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter713) + foreach ($this->functions as $iter720) { - $xfer += $iter713->write($output); + $xfer += $iter720->write($output); } } $output->writeListEnd(); @@ -23161,14 +23377,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size714 = 0; - $_etype717 = 0; - $xfer += $input->readListBegin($_etype717, $_size714); - for ($_i718 = 0; $_i718 < $_size714; ++$_i718) + $_size721 = 0; + $_etype724 = 0; + $xfer += $input->readListBegin($_etype724, $_size721); + for ($_i725 = 0; $_i725 < $_size721; ++$_i725) { - $elem719 = null; - $xfer += $input->readI32($elem719); - $this->values []= $elem719; + $elem726 = null; + $xfer += $input->readI32($elem726); + $this->values []= $elem726; } $xfer += $input->readListEnd(); } else { @@ -23196,9 +23412,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter720) + foreach ($this->values as $iter727) { - $xfer += $output->writeI32($iter720); + $xfer += $output->writeI32($iter727); } } $output->writeListEnd(); @@ -23532,14 +23748,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = array(); - $_size721 = 0; - $_etype724 = 0; - $xfer += $input->readListBegin($_etype724, $_size721); - for ($_i725 = 0; $_i725 < $_size721; ++$_i725) + $_size728 = 0; + $_etype731 = 0; + $xfer += $input->readListBegin($_etype731, $_size728); + for ($_i732 = 0; $_i732 < $_size728; ++$_i732) { - $elem726 = null; - $xfer += $input->readString($elem726); - $this->tblNames []= $elem726; + $elem733 = null; + $xfer += $input->readString($elem733); + $this->tblNames []= $elem733; } $xfer += $input->readListEnd(); } else { @@ -23587,9 +23803,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter727) + foreach ($this->tblNames as $iter734) { - $xfer += $output->writeString($iter727); + $xfer += $output->writeString($iter734); } } $output->writeListEnd(); @@ -23667,15 +23883,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size728 = 0; - $_etype731 = 0; - $xfer += $input->readListBegin($_etype731, $_size728); - for ($_i732 = 0; $_i732 < $_size728; ++$_i732) + $_size735 = 0; + $_etype738 = 0; + $xfer += $input->readListBegin($_etype738, $_size735); + for ($_i739 = 0; $_i739 < $_size735; ++$_i739) { - $elem733 = null; - $elem733 = new \metastore\Table(); - $xfer += $elem733->read($input); - $this->tables []= $elem733; + $elem740 = null; + $elem740 = new \metastore\Table(); + $xfer += $elem740->read($input); + $this->tables []= $elem740; } $xfer += $input->readListEnd(); } else { @@ -23703,9 +23919,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter734) + foreach ($this->tables as $iter741) { - $xfer += $iter734->write($output); + $xfer += $iter741->write($output); } } $output->writeListEnd(); @@ -24117,17 +24333,17 @@ class Materialization { case 1: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size735 = 0; - $_etype738 = 0; - $xfer += $input->readSetBegin($_etype738, $_size735); - for ($_i739 = 0; $_i739 < $_size735; ++$_i739) + $_size742 = 0; + $_etype745 = 0; + $xfer += $input->readSetBegin($_etype745, $_size742); + for ($_i746 = 0; $_i746 < $_size742; ++$_i746) { - $elem740 = null; - $xfer += $input->readString($elem740); - if (is_scalar($elem740)) { - $this->tablesUsed[$elem740] = true; + $elem747 = null; + $xfer += $input->readString($elem747); + if (is_scalar($elem747)) { + $this->tablesUsed[$elem747] = true; } else { - $this->tablesUsed []= $elem740; + $this->tablesUsed []= $elem747; } } $xfer += $input->readSetEnd(); @@ -24177,12 +24393,12 @@ class Materialization { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter741 => $iter742) + foreach ($this->tablesUsed as $iter748 => $iter749) { - if (is_scalar($iter742)) { - $xfer += $output->writeString($iter741); + if (is_scalar($iter749)) { + $xfer += $output->writeString($iter748); } else { - $xfer += $output->writeString($iter742); + $xfer += $output->writeString($iter749); } } } @@ -25454,15 +25670,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size743 = 0; - $_etype746 = 0; - $xfer += $input->readListBegin($_etype746, $_size743); - for ($_i747 = 0; $_i747 < $_size743; ++$_i747) + $_size750 = 0; + $_etype753 = 0; + $xfer += $input->readListBegin($_etype753, $_size750); + for ($_i754 = 0; $_i754 < $_size750; ++$_i754) { - $elem748 = null; - $elem748 = new \metastore\WMPool(); - $xfer += $elem748->read($input); - $this->pools []= $elem748; + $elem755 = null; + $elem755 = new \metastore\WMPool(); + $xfer += $elem755->read($input); + $this->pools []= $elem755; } $xfer += $input->readListEnd(); } else { @@ -25472,15 +25688,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size749 = 0; - $_etype752 = 0; - $xfer += $input->readListBegin($_etype752, $_size749); - for ($_i753 = 0; $_i753 < $_size749; ++$_i753) + $_size756 = 0; + $_etype759 = 0; + $xfer += $input->readListBegin($_etype759, $_size756); + for ($_i760 = 0; $_i760 < $_size756; ++$_i760) { - $elem754 = null; - $elem754 = new \metastore\WMMapping(); - $xfer += $elem754->read($input); - $this->mappings []= $elem754; + $elem761 = null; + $elem761 = new \metastore\WMMapping(); + $xfer += $elem761->read($input); + $this->mappings []= $elem761; } $xfer += $input->readListEnd(); } else { @@ -25490,15 +25706,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size755 = 0; - $_etype758 = 0; - $xfer += $input->readListBegin($_etype758, $_size755); - for ($_i759 = 0; $_i759 < $_size755; ++$_i759) + $_size762 = 0; + $_etype765 = 0; + $xfer += $input->readListBegin($_etype765, $_size762); + for ($_i766 = 0; $_i766 < $_size762; ++$_i766) { - $elem760 = null; - $elem760 = new \metastore\WMTrigger(); - $xfer += $elem760->read($input); - $this->triggers []= $elem760; + $elem767 = null; + $elem767 = new \metastore\WMTrigger(); + $xfer += $elem767->read($input); + $this->triggers []= $elem767; } $xfer += $input->readListEnd(); } else { @@ -25508,15 +25724,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size761 = 0; - $_etype764 = 0; - $xfer += $input->readListBegin($_etype764, $_size761); - for ($_i765 = 0; $_i765 < $_size761; ++$_i765) + $_size768 = 0; + $_etype771 = 0; + $xfer += $input->readListBegin($_etype771, $_size768); + for ($_i772 = 0; $_i772 < $_size768; ++$_i772) { - $elem766 = null; - $elem766 = new \metastore\WMPoolTrigger(); - $xfer += $elem766->read($input); - $this->poolTriggers []= $elem766; + $elem773 = null; + $elem773 = new \metastore\WMPoolTrigger(); + $xfer += $elem773->read($input); + $this->poolTriggers []= $elem773; } $xfer += $input->readListEnd(); } else { @@ -25552,9 +25768,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter767) + foreach ($this->pools as $iter774) { - $xfer += $iter767->write($output); + $xfer += $iter774->write($output); } } $output->writeListEnd(); @@ -25569,9 +25785,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter768) + foreach ($this->mappings as $iter775) { - $xfer += $iter768->write($output); + $xfer += $iter775->write($output); } } $output->writeListEnd(); @@ -25586,9 +25802,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter769) + foreach ($this->triggers as $iter776) { - $xfer += $iter769->write($output); + $xfer += $iter776->write($output); } } $output->writeListEnd(); @@ -25603,9 +25819,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter770) + foreach ($this->poolTriggers as $iter777) { - $xfer += $iter770->write($output); + $xfer += $iter777->write($output); } } $output->writeListEnd(); @@ -26158,15 +26374,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size771 = 0; - $_etype774 = 0; - $xfer += $input->readListBegin($_etype774, $_size771); - for ($_i775 = 0; $_i775 < $_size771; ++$_i775) + $_size778 = 0; + $_etype781 = 0; + $xfer += $input->readListBegin($_etype781, $_size778); + for ($_i782 = 0; $_i782 < $_size778; ++$_i782) { - $elem776 = null; - $elem776 = new \metastore\WMResourcePlan(); - $xfer += $elem776->read($input); - $this->resourcePlans []= $elem776; + $elem783 = null; + $elem783 = new \metastore\WMResourcePlan(); + $xfer += $elem783->read($input); + $this->resourcePlans []= $elem783; } $xfer += $input->readListEnd(); } else { @@ -26194,9 +26410,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter777) + foreach ($this->resourcePlans as $iter784) { - $xfer += $iter777->write($output); + $xfer += $iter784->write($output); } } $output->writeListEnd(); @@ -26602,14 +26818,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size778 = 0; - $_etype781 = 0; - $xfer += $input->readListBegin($_etype781, $_size778); - for ($_i782 = 0; $_i782 < $_size778; ++$_i782) + $_size785 = 0; + $_etype788 = 0; + $xfer += $input->readListBegin($_etype788, $_size785); + for ($_i789 = 0; $_i789 < $_size785; ++$_i789) { - $elem783 = null; - $xfer += $input->readString($elem783); - $this->errors []= $elem783; + $elem790 = null; + $xfer += $input->readString($elem790); + $this->errors []= $elem790; } $xfer += $input->readListEnd(); } else { @@ -26619,14 +26835,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size784 = 0; - $_etype787 = 0; - $xfer += $input->readListBegin($_etype787, $_size784); - for ($_i788 = 0; $_i788 < $_size784; ++$_i788) + $_size791 = 0; + $_etype794 = 0; + $xfer += $input->readListBegin($_etype794, $_size791); + for ($_i795 = 0; $_i795 < $_size791; ++$_i795) { - $elem789 = null; - $xfer += $input->readString($elem789); - $this->warnings []= $elem789; + $elem796 = null; + $xfer += $input->readString($elem796); + $this->warnings []= $elem796; } $xfer += $input->readListEnd(); } else { @@ -26654,9 +26870,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter790) + foreach ($this->errors as $iter797) { - $xfer += $output->writeString($iter790); + $xfer += $output->writeString($iter797); } } $output->writeListEnd(); @@ -26671,9 +26887,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter791) + foreach ($this->warnings as $iter798) { - $xfer += $output->writeString($iter791); + $xfer += $output->writeString($iter798); } } $output->writeListEnd(); @@ -27346,15 +27562,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size792 = 0; - $_etype795 = 0; - $xfer += $input->readListBegin($_etype795, $_size792); - for ($_i796 = 0; $_i796 < $_size792; ++$_i796) + $_size799 = 0; + $_etype802 = 0; + $xfer += $input->readListBegin($_etype802, $_size799); + for ($_i803 = 0; $_i803 < $_size799; ++$_i803) { - $elem797 = null; - $elem797 = new \metastore\WMTrigger(); - $xfer += $elem797->read($input); - $this->triggers []= $elem797; + $elem804 = null; + $elem804 = new \metastore\WMTrigger(); + $xfer += $elem804->read($input); + $this->triggers []= $elem804; } $xfer += $input->readListEnd(); } else { @@ -27382,9 +27598,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter798) + foreach ($this->triggers as $iter805) { - $xfer += $iter798->write($output); + $xfer += $iter805->write($output); } } $output->writeListEnd(); @@ -28968,15 +29184,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = array(); - $_size799 = 0; - $_etype802 = 0; - $xfer += $input->readListBegin($_etype802, $_size799); - for ($_i803 = 0; $_i803 < $_size799; ++$_i803) + $_size806 = 0; + $_etype809 = 0; + $xfer += $input->readListBegin($_etype809, $_size806); + for ($_i810 = 0; $_i810 < $_size806; ++$_i810) { - $elem804 = null; - $elem804 = new \metastore\FieldSchema(); - $xfer += $elem804->read($input); - $this->cols []= $elem804; + $elem811 = null; + $elem811 = new \metastore\FieldSchema(); + $xfer += $elem811->read($input); + $this->cols []= $elem811; } $xfer += $input->readListEnd(); } else { @@ -29065,9 +29281,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter805) + foreach ($this->cols as $iter812) { - $xfer += $iter805->write($output); + $xfer += $iter812->write($output); } } $output->writeListEnd(); @@ -29389,15 +29605,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = array(); - $_size806 = 0; - $_etype809 = 0; - $xfer += $input->readListBegin($_etype809, $_size806); - for ($_i810 = 0; $_i810 < $_size806; ++$_i810) + $_size813 = 0; + $_etype816 = 0; + $xfer += $input->readListBegin($_etype816, $_size813); + for ($_i817 = 0; $_i817 < $_size813; ++$_i817) { - $elem811 = null; - $elem811 = new \metastore\SchemaVersionDescriptor(); - $xfer += $elem811->read($input); - $this->schemaVersions []= $elem811; + $elem818 = null; + $elem818 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem818->read($input); + $this->schemaVersions []= $elem818; } $xfer += $input->readListEnd(); } else { @@ -29425,9 +29641,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter812) + foreach ($this->schemaVersions as $iter819) { - $xfer += $iter812->write($output); + $xfer += $iter819->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 a231e9c..c6c7b74 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 @@ -169,6 +169,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help': print(' void abort_txn(AbortTxnRequest rqst)') print(' void abort_txns(AbortTxnsRequest rqst)') print(' void commit_txn(CommitTxnRequest rqst)') + print(' void repl_tbl_writeid_state(ReplTblWriteIdStateRequest rqst)') print(' GetValidWriteIdsResponse get_valid_write_ids(GetValidWriteIdsRequest rqst)') print(' AllocateTableWriteIdsResponse allocate_table_write_ids(AllocateTableWriteIdsRequest rqst)') print(' LockResponse lock(LockRequest rqst)') @@ -1167,6 +1168,12 @@ elif cmd == 'commit_txn': sys.exit(1) pp.pprint(client.commit_txn(eval(args[0]),)) +elif cmd == 'repl_tbl_writeid_state': + if len(args) != 1: + print('repl_tbl_writeid_state requires 1 args') + sys.exit(1) + pp.pprint(client.repl_tbl_writeid_state(eval(args[0]),)) + elif cmd == 'get_valid_write_ids': if len(args) != 1: print('get_valid_write_ids 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 d94951b..49d966f 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 @@ -1175,6 +1175,13 @@ def commit_txn(self, rqst): """ pass + def repl_tbl_writeid_state(self, rqst): + """ + Parameters: + - rqst + """ + pass + def get_valid_write_ids(self, rqst): """ Parameters: @@ -6881,6 +6888,35 @@ def recv_commit_txn(self): raise result.o2 return + def repl_tbl_writeid_state(self, rqst): + """ + Parameters: + - rqst + """ + self.send_repl_tbl_writeid_state(rqst) + self.recv_repl_tbl_writeid_state() + + def send_repl_tbl_writeid_state(self, rqst): + self._oprot.writeMessageBegin('repl_tbl_writeid_state', TMessageType.CALL, self._seqid) + args = repl_tbl_writeid_state_args() + args.rqst = rqst + args.write(self._oprot) + self._oprot.writeMessageEnd() + self._oprot.trans.flush() + + def recv_repl_tbl_writeid_state(self): + iprot = self._iprot + (fname, mtype, rseqid) = iprot.readMessageBegin() + if mtype == TMessageType.EXCEPTION: + x = TApplicationException() + x.read(iprot) + iprot.readMessageEnd() + raise x + result = repl_tbl_writeid_state_result() + result.read(iprot) + iprot.readMessageEnd() + return + def get_valid_write_ids(self, rqst): """ Parameters: @@ -9026,6 +9062,7 @@ def __init__(self, handler): self._processMap["abort_txn"] = Processor.process_abort_txn self._processMap["abort_txns"] = Processor.process_abort_txns self._processMap["commit_txn"] = Processor.process_commit_txn + self._processMap["repl_tbl_writeid_state"] = Processor.process_repl_tbl_writeid_state self._processMap["get_valid_write_ids"] = Processor.process_get_valid_write_ids self._processMap["allocate_table_write_ids"] = Processor.process_allocate_table_write_ids self._processMap["lock"] = Processor.process_lock @@ -12717,6 +12754,25 @@ def process_commit_txn(self, seqid, iprot, oprot): oprot.writeMessageEnd() oprot.trans.flush() + def process_repl_tbl_writeid_state(self, seqid, iprot, oprot): + args = repl_tbl_writeid_state_args() + args.read(iprot) + iprot.readMessageEnd() + result = repl_tbl_writeid_state_result() + try: + self._handler.repl_tbl_writeid_state(args.rqst) + 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("repl_tbl_writeid_state", msg_type, seqid) + result.write(oprot) + oprot.writeMessageEnd() + oprot.trans.flush() + def process_get_valid_write_ids(self, seqid, iprot, oprot): args = get_valid_write_ids_args() args.read(iprot) @@ -15631,10 +15687,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype812, _size809) = iprot.readListBegin() - for _i813 in xrange(_size809): - _elem814 = iprot.readString() - self.success.append(_elem814) + (_etype819, _size816) = iprot.readListBegin() + for _i820 in xrange(_size816): + _elem821 = iprot.readString() + self.success.append(_elem821) iprot.readListEnd() else: iprot.skip(ftype) @@ -15657,8 +15713,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 iter815 in self.success: - oprot.writeString(iter815) + for iter822 in self.success: + oprot.writeString(iter822) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15763,10 +15819,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype819, _size816) = iprot.readListBegin() - for _i820 in xrange(_size816): - _elem821 = iprot.readString() - self.success.append(_elem821) + (_etype826, _size823) = iprot.readListBegin() + for _i827 in xrange(_size823): + _elem828 = iprot.readString() + self.success.append(_elem828) iprot.readListEnd() else: iprot.skip(ftype) @@ -15789,8 +15845,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 iter822 in self.success: - oprot.writeString(iter822) + for iter829 in self.success: + oprot.writeString(iter829) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16560,12 +16616,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype824, _vtype825, _size823 ) = iprot.readMapBegin() - for _i827 in xrange(_size823): - _key828 = iprot.readString() - _val829 = Type() - _val829.read(iprot) - self.success[_key828] = _val829 + (_ktype831, _vtype832, _size830 ) = iprot.readMapBegin() + for _i834 in xrange(_size830): + _key835 = iprot.readString() + _val836 = Type() + _val836.read(iprot) + self.success[_key835] = _val836 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16588,9 +16644,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 kiter830,viter831 in self.success.items(): - oprot.writeString(kiter830) - viter831.write(oprot) + for kiter837,viter838 in self.success.items(): + oprot.writeString(kiter837) + viter838.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -16733,11 +16789,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype835, _size832) = iprot.readListBegin() - for _i836 in xrange(_size832): - _elem837 = FieldSchema() - _elem837.read(iprot) - self.success.append(_elem837) + (_etype842, _size839) = iprot.readListBegin() + for _i843 in xrange(_size839): + _elem844 = FieldSchema() + _elem844.read(iprot) + self.success.append(_elem844) iprot.readListEnd() else: iprot.skip(ftype) @@ -16772,8 +16828,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 iter838 in self.success: - iter838.write(oprot) + for iter845 in self.success: + iter845.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16940,199 +16996,6 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype842, _size839) = iprot.readListBegin() - for _i843 in xrange(_size839): - _elem844 = FieldSchema() - _elem844.read(iprot) - self.success.append(_elem844) - iprot.readListEnd() - else: - iprot.skip(ftype) - elif fid == 1: - if ftype == TType.STRUCT: - self.o1 = MetaException() - self.o1.read(iprot) - else: - iprot.skip(ftype) - elif fid == 2: - if ftype == TType.STRUCT: - self.o2 = UnknownTableException() - self.o2.read(iprot) - else: - iprot.skip(ftype) - elif fid == 3: - if ftype == TType.STRUCT: - self.o3 = UnknownDBException() - self.o3.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_fields_with_environment_context_result') - if self.success is not None: - oprot.writeFieldBegin('success', TType.LIST, 0) - oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter845 in self.success: - iter845.write(oprot) - oprot.writeListEnd() - oprot.writeFieldEnd() - if self.o1 is not None: - oprot.writeFieldBegin('o1', TType.STRUCT, 1) - self.o1.write(oprot) - oprot.writeFieldEnd() - if self.o2 is not None: - oprot.writeFieldBegin('o2', TType.STRUCT, 2) - self.o2.write(oprot) - oprot.writeFieldEnd() - if self.o3 is not None: - oprot.writeFieldBegin('o3', TType.STRUCT, 3) - self.o3.write(oprot) - oprot.writeFieldEnd() - oprot.writeFieldStop() - oprot.writeStructEnd() - - def validate(self): - return - - - def __hash__(self): - value = 17 - value = (value * 31) ^ hash(self.success) - value = (value * 31) ^ hash(self.o1) - value = (value * 31) ^ hash(self.o2) - value = (value * 31) ^ hash(self.o3) - 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_schema_args: - """ - Attributes: - - db_name - - table_name - """ - - thrift_spec = ( - None, # 0 - (1, TType.STRING, 'db_name', None, None, ), # 1 - (2, TType.STRING, 'table_name', None, None, ), # 2 - ) - - def __init__(self, db_name=None, table_name=None,): - self.db_name = db_name - self.table_name = table_name - - 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) - 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_schema_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() - 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) - 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_schema_result: - """ - Attributes: - - success - - o1 - - o2 - - o3 - """ - - thrift_spec = ( - (0, TType.LIST, 'success', (TType.STRUCT,(FieldSchema, FieldSchema.thrift_spec)), None, ), # 0 - (1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1 - (2, TType.STRUCT, 'o2', (UnknownTableException, UnknownTableException.thrift_spec), None, ), # 2 - (3, TType.STRUCT, 'o3', (UnknownDBException, UnknownDBException.thrift_spec), None, ), # 3 - ) - - def __init__(self, success=None, o1=None, o2=None, o3=None,): - self.success = success - self.o1 = o1 - self.o2 = o2 - self.o3 = o3 - - 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 = [] (_etype849, _size846) = iprot.readListBegin() for _i850 in xrange(_size846): _elem851 = FieldSchema() @@ -17168,7 +17031,7 @@ 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_schema_result') + oprot.writeStructBegin('get_fields_with_environment_context_result') if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) @@ -17214,6 +17077,199 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class get_schema_args: + """ + Attributes: + - db_name + - table_name + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRING, 'db_name', None, None, ), # 1 + (2, TType.STRING, 'table_name', None, None, ), # 2 + ) + + def __init__(self, db_name=None, table_name=None,): + self.db_name = db_name + self.table_name = table_name + + 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) + 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_schema_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() + 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) + 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_schema_result: + """ + Attributes: + - success + - o1 + - o2 + - o3 + """ + + thrift_spec = ( + (0, TType.LIST, 'success', (TType.STRUCT,(FieldSchema, FieldSchema.thrift_spec)), None, ), # 0 + (1, TType.STRUCT, 'o1', (MetaException, MetaException.thrift_spec), None, ), # 1 + (2, TType.STRUCT, 'o2', (UnknownTableException, UnknownTableException.thrift_spec), None, ), # 2 + (3, TType.STRUCT, 'o3', (UnknownDBException, UnknownDBException.thrift_spec), None, ), # 3 + ) + + def __init__(self, success=None, o1=None, o2=None, o3=None,): + self.success = success + self.o1 = o1 + self.o2 = o2 + self.o3 = o3 + + 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 = [] + (_etype856, _size853) = iprot.readListBegin() + for _i857 in xrange(_size853): + _elem858 = FieldSchema() + _elem858.read(iprot) + self.success.append(_elem858) + iprot.readListEnd() + else: + iprot.skip(ftype) + elif fid == 1: + if ftype == TType.STRUCT: + self.o1 = MetaException() + self.o1.read(iprot) + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRUCT: + self.o2 = UnknownTableException() + self.o2.read(iprot) + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRUCT: + self.o3 = UnknownDBException() + self.o3.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_schema_result') + if self.success is not None: + oprot.writeFieldBegin('success', TType.LIST, 0) + oprot.writeListBegin(TType.STRUCT, len(self.success)) + for iter859 in self.success: + iter859.write(oprot) + oprot.writeListEnd() + oprot.writeFieldEnd() + if self.o1 is not None: + oprot.writeFieldBegin('o1', TType.STRUCT, 1) + self.o1.write(oprot) + oprot.writeFieldEnd() + if self.o2 is not None: + oprot.writeFieldBegin('o2', TType.STRUCT, 2) + self.o2.write(oprot) + oprot.writeFieldEnd() + if self.o3 is not None: + oprot.writeFieldBegin('o3', TType.STRUCT, 3) + self.o3.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.success) + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + 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_schema_with_environment_context_args: """ Attributes: @@ -17340,11 +17396,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype856, _size853) = iprot.readListBegin() - for _i857 in xrange(_size853): - _elem858 = FieldSchema() - _elem858.read(iprot) - self.success.append(_elem858) + (_etype863, _size860) = iprot.readListBegin() + for _i864 in xrange(_size860): + _elem865 = FieldSchema() + _elem865.read(iprot) + self.success.append(_elem865) iprot.readListEnd() else: iprot.skip(ftype) @@ -17379,8 +17435,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 iter859 in self.success: - iter859.write(oprot) + for iter866 in self.success: + iter866.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17833,66 +17889,66 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype863, _size860) = iprot.readListBegin() - for _i864 in xrange(_size860): - _elem865 = SQLPrimaryKey() - _elem865.read(iprot) - self.primaryKeys.append(_elem865) + (_etype870, _size867) = iprot.readListBegin() + for _i871 in xrange(_size867): + _elem872 = SQLPrimaryKey() + _elem872.read(iprot) + self.primaryKeys.append(_elem872) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype869, _size866) = iprot.readListBegin() - for _i870 in xrange(_size866): - _elem871 = SQLForeignKey() - _elem871.read(iprot) - self.foreignKeys.append(_elem871) + (_etype876, _size873) = iprot.readListBegin() + for _i877 in xrange(_size873): + _elem878 = SQLForeignKey() + _elem878.read(iprot) + self.foreignKeys.append(_elem878) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype875, _size872) = iprot.readListBegin() - for _i876 in xrange(_size872): - _elem877 = SQLUniqueConstraint() - _elem877.read(iprot) - self.uniqueConstraints.append(_elem877) + (_etype882, _size879) = iprot.readListBegin() + for _i883 in xrange(_size879): + _elem884 = SQLUniqueConstraint() + _elem884.read(iprot) + self.uniqueConstraints.append(_elem884) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype881, _size878) = iprot.readListBegin() - for _i882 in xrange(_size878): - _elem883 = SQLNotNullConstraint() - _elem883.read(iprot) - self.notNullConstraints.append(_elem883) + (_etype888, _size885) = iprot.readListBegin() + for _i889 in xrange(_size885): + _elem890 = SQLNotNullConstraint() + _elem890.read(iprot) + self.notNullConstraints.append(_elem890) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype887, _size884) = iprot.readListBegin() - for _i888 in xrange(_size884): - _elem889 = SQLDefaultConstraint() - _elem889.read(iprot) - self.defaultConstraints.append(_elem889) + (_etype894, _size891) = iprot.readListBegin() + for _i895 in xrange(_size891): + _elem896 = SQLDefaultConstraint() + _elem896.read(iprot) + self.defaultConstraints.append(_elem896) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.checkConstraints = [] - (_etype893, _size890) = iprot.readListBegin() - for _i894 in xrange(_size890): - _elem895 = SQLCheckConstraint() - _elem895.read(iprot) - self.checkConstraints.append(_elem895) + (_etype900, _size897) = iprot.readListBegin() + for _i901 in xrange(_size897): + _elem902 = SQLCheckConstraint() + _elem902.read(iprot) + self.checkConstraints.append(_elem902) iprot.readListEnd() else: iprot.skip(ftype) @@ -17913,43 +17969,43 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter896 in self.primaryKeys: - iter896.write(oprot) + for iter903 in self.primaryKeys: + iter903.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 iter897 in self.foreignKeys: - iter897.write(oprot) + for iter904 in self.foreignKeys: + iter904.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 iter898 in self.uniqueConstraints: - iter898.write(oprot) + for iter905 in self.uniqueConstraints: + iter905.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 iter899 in self.notNullConstraints: - iter899.write(oprot) + for iter906 in self.notNullConstraints: + iter906.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.defaultConstraints is not None: oprot.writeFieldBegin('defaultConstraints', TType.LIST, 6) oprot.writeListBegin(TType.STRUCT, len(self.defaultConstraints)) - for iter900 in self.defaultConstraints: - iter900.write(oprot) + for iter907 in self.defaultConstraints: + iter907.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.checkConstraints is not None: oprot.writeFieldBegin('checkConstraints', TType.LIST, 7) oprot.writeListBegin(TType.STRUCT, len(self.checkConstraints)) - for iter901 in self.checkConstraints: - iter901.write(oprot) + for iter908 in self.checkConstraints: + iter908.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19509,10 +19565,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype905, _size902) = iprot.readListBegin() - for _i906 in xrange(_size902): - _elem907 = iprot.readString() - self.partNames.append(_elem907) + (_etype912, _size909) = iprot.readListBegin() + for _i913 in xrange(_size909): + _elem914 = iprot.readString() + self.partNames.append(_elem914) iprot.readListEnd() else: iprot.skip(ftype) @@ -19537,8 +19593,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 iter908 in self.partNames: - oprot.writeString(iter908) + for iter915 in self.partNames: + oprot.writeString(iter915) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19738,10 +19794,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype912, _size909) = iprot.readListBegin() - for _i913 in xrange(_size909): - _elem914 = iprot.readString() - self.success.append(_elem914) + (_etype919, _size916) = iprot.readListBegin() + for _i920 in xrange(_size916): + _elem921 = iprot.readString() + self.success.append(_elem921) iprot.readListEnd() else: iprot.skip(ftype) @@ -19764,8 +19820,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 iter915 in self.success: - oprot.writeString(iter915) + for iter922 in self.success: + oprot.writeString(iter922) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19915,10 +19971,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype919, _size916) = iprot.readListBegin() - for _i920 in xrange(_size916): - _elem921 = iprot.readString() - self.success.append(_elem921) + (_etype926, _size923) = iprot.readListBegin() + for _i927 in xrange(_size923): + _elem928 = iprot.readString() + self.success.append(_elem928) iprot.readListEnd() else: iprot.skip(ftype) @@ -19941,8 +19997,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 iter922 in self.success: - oprot.writeString(iter922) + for iter929 in self.success: + oprot.writeString(iter929) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20066,10 +20122,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype926, _size923) = iprot.readListBegin() - for _i927 in xrange(_size923): - _elem928 = iprot.readString() - self.success.append(_elem928) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = iprot.readString() + self.success.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -20092,8 +20148,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 iter929 in self.success: - oprot.writeString(iter929) + for iter936 in self.success: + oprot.writeString(iter936) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20166,10 +20222,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype933, _size930) = iprot.readListBegin() - for _i934 in xrange(_size930): - _elem935 = iprot.readString() - self.tbl_types.append(_elem935) + (_etype940, _size937) = iprot.readListBegin() + for _i941 in xrange(_size937): + _elem942 = iprot.readString() + self.tbl_types.append(_elem942) iprot.readListEnd() else: iprot.skip(ftype) @@ -20194,8 +20250,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 iter936 in self.tbl_types: - oprot.writeString(iter936) + for iter943 in self.tbl_types: + oprot.writeString(iter943) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20251,11 +20307,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype940, _size937) = iprot.readListBegin() - for _i941 in xrange(_size937): - _elem942 = TableMeta() - _elem942.read(iprot) - self.success.append(_elem942) + (_etype947, _size944) = iprot.readListBegin() + for _i948 in xrange(_size944): + _elem949 = TableMeta() + _elem949.read(iprot) + self.success.append(_elem949) iprot.readListEnd() else: iprot.skip(ftype) @@ -20278,8 +20334,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 iter943 in self.success: - iter943.write(oprot) + for iter950 in self.success: + iter950.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20403,10 +20459,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype947, _size944) = iprot.readListBegin() - for _i948 in xrange(_size944): - _elem949 = iprot.readString() - self.success.append(_elem949) + (_etype954, _size951) = iprot.readListBegin() + for _i955 in xrange(_size951): + _elem956 = iprot.readString() + self.success.append(_elem956) iprot.readListEnd() else: iprot.skip(ftype) @@ -20429,8 +20485,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 iter950 in self.success: - oprot.writeString(iter950) + for iter957 in self.success: + oprot.writeString(iter957) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20666,10 +20722,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype954, _size951) = iprot.readListBegin() - for _i955 in xrange(_size951): - _elem956 = iprot.readString() - self.tbl_names.append(_elem956) + (_etype961, _size958) = iprot.readListBegin() + for _i962 in xrange(_size958): + _elem963 = iprot.readString() + self.tbl_names.append(_elem963) iprot.readListEnd() else: iprot.skip(ftype) @@ -20690,8 +20746,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 iter957 in self.tbl_names: - oprot.writeString(iter957) + for iter964 in self.tbl_names: + oprot.writeString(iter964) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20743,11 +20799,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype961, _size958) = iprot.readListBegin() - for _i962 in xrange(_size958): - _elem963 = Table() - _elem963.read(iprot) - self.success.append(_elem963) + (_etype968, _size965) = iprot.readListBegin() + for _i969 in xrange(_size965): + _elem970 = Table() + _elem970.read(iprot) + self.success.append(_elem970) iprot.readListEnd() else: iprot.skip(ftype) @@ -20764,8 +20820,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 iter964 in self.success: - iter964.write(oprot) + for iter971 in self.success: + iter971.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21157,10 +21213,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype968, _size965) = iprot.readListBegin() - for _i969 in xrange(_size965): - _elem970 = iprot.readString() - self.tbl_names.append(_elem970) + (_etype975, _size972) = iprot.readListBegin() + for _i976 in xrange(_size972): + _elem977 = iprot.readString() + self.tbl_names.append(_elem977) iprot.readListEnd() else: iprot.skip(ftype) @@ -21181,8 +21237,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 iter971 in self.tbl_names: - oprot.writeString(iter971) + for iter978 in self.tbl_names: + oprot.writeString(iter978) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21243,12 +21299,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype973, _vtype974, _size972 ) = iprot.readMapBegin() - for _i976 in xrange(_size972): - _key977 = iprot.readString() - _val978 = Materialization() - _val978.read(iprot) - self.success[_key977] = _val978 + (_ktype980, _vtype981, _size979 ) = iprot.readMapBegin() + for _i983 in xrange(_size979): + _key984 = iprot.readString() + _val985 = Materialization() + _val985.read(iprot) + self.success[_key984] = _val985 iprot.readMapEnd() else: iprot.skip(ftype) @@ -21283,9 +21339,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 kiter979,viter980 in self.success.items(): - oprot.writeString(kiter979) - viter980.write(oprot) + for kiter986,viter987 in self.success.items(): + oprot.writeString(kiter986) + viter987.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21650,10 +21706,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype984, _size981) = iprot.readListBegin() - for _i985 in xrange(_size981): - _elem986 = iprot.readString() - self.success.append(_elem986) + (_etype991, _size988) = iprot.readListBegin() + for _i992 in xrange(_size988): + _elem993 = iprot.readString() + self.success.append(_elem993) iprot.readListEnd() else: iprot.skip(ftype) @@ -21688,8 +21744,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 iter987 in self.success: - oprot.writeString(iter987) + for iter994 in self.success: + oprot.writeString(iter994) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22659,11 +22715,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype991, _size988) = iprot.readListBegin() - for _i992 in xrange(_size988): - _elem993 = Partition() - _elem993.read(iprot) - self.new_parts.append(_elem993) + (_etype998, _size995) = iprot.readListBegin() + for _i999 in xrange(_size995): + _elem1000 = Partition() + _elem1000.read(iprot) + self.new_parts.append(_elem1000) iprot.readListEnd() else: iprot.skip(ftype) @@ -22680,8 +22736,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 iter994 in self.new_parts: - iter994.write(oprot) + for iter1001 in self.new_parts: + iter1001.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22839,11 +22895,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype998, _size995) = iprot.readListBegin() - for _i999 in xrange(_size995): - _elem1000 = PartitionSpec() - _elem1000.read(iprot) - self.new_parts.append(_elem1000) + (_etype1005, _size1002) = iprot.readListBegin() + for _i1006 in xrange(_size1002): + _elem1007 = PartitionSpec() + _elem1007.read(iprot) + self.new_parts.append(_elem1007) iprot.readListEnd() else: iprot.skip(ftype) @@ -22860,8 +22916,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 iter1001 in self.new_parts: - iter1001.write(oprot) + for iter1008 in self.new_parts: + iter1008.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23035,10 +23091,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1005, _size1002) = iprot.readListBegin() - for _i1006 in xrange(_size1002): - _elem1007 = iprot.readString() - self.part_vals.append(_elem1007) + (_etype1012, _size1009) = iprot.readListBegin() + for _i1013 in xrange(_size1009): + _elem1014 = iprot.readString() + self.part_vals.append(_elem1014) iprot.readListEnd() else: iprot.skip(ftype) @@ -23063,8 +23119,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 iter1008 in self.part_vals: - oprot.writeString(iter1008) + for iter1015 in self.part_vals: + oprot.writeString(iter1015) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23417,10 +23473,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1012, _size1009) = iprot.readListBegin() - for _i1013 in xrange(_size1009): - _elem1014 = iprot.readString() - self.part_vals.append(_elem1014) + (_etype1019, _size1016) = iprot.readListBegin() + for _i1020 in xrange(_size1016): + _elem1021 = iprot.readString() + self.part_vals.append(_elem1021) iprot.readListEnd() else: iprot.skip(ftype) @@ -23451,8 +23507,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 iter1015 in self.part_vals: - oprot.writeString(iter1015) + for iter1022 in self.part_vals: + oprot.writeString(iter1022) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -24047,10 +24103,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1019, _size1016) = iprot.readListBegin() - for _i1020 in xrange(_size1016): - _elem1021 = iprot.readString() - self.part_vals.append(_elem1021) + (_etype1026, _size1023) = iprot.readListBegin() + for _i1027 in xrange(_size1023): + _elem1028 = iprot.readString() + self.part_vals.append(_elem1028) iprot.readListEnd() else: iprot.skip(ftype) @@ -24080,8 +24136,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 iter1022 in self.part_vals: - oprot.writeString(iter1022) + for iter1029 in self.part_vals: + oprot.writeString(iter1029) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -24254,10 +24310,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1026, _size1023) = iprot.readListBegin() - for _i1027 in xrange(_size1023): - _elem1028 = iprot.readString() - self.part_vals.append(_elem1028) + (_etype1033, _size1030) = iprot.readListBegin() + for _i1034 in xrange(_size1030): + _elem1035 = iprot.readString() + self.part_vals.append(_elem1035) iprot.readListEnd() else: iprot.skip(ftype) @@ -24293,8 +24349,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 iter1029 in self.part_vals: - oprot.writeString(iter1029) + for iter1036 in self.part_vals: + oprot.writeString(iter1036) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -25031,10 +25087,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1033, _size1030) = iprot.readListBegin() - for _i1034 in xrange(_size1030): - _elem1035 = iprot.readString() - self.part_vals.append(_elem1035) + (_etype1040, _size1037) = iprot.readListBegin() + for _i1041 in xrange(_size1037): + _elem1042 = iprot.readString() + self.part_vals.append(_elem1042) iprot.readListEnd() else: iprot.skip(ftype) @@ -25059,8 +25115,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 iter1036 in self.part_vals: - oprot.writeString(iter1036) + for iter1043 in self.part_vals: + oprot.writeString(iter1043) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25219,11 +25275,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1038, _vtype1039, _size1037 ) = iprot.readMapBegin() - for _i1041 in xrange(_size1037): - _key1042 = iprot.readString() - _val1043 = iprot.readString() - self.partitionSpecs[_key1042] = _val1043 + (_ktype1045, _vtype1046, _size1044 ) = iprot.readMapBegin() + for _i1048 in xrange(_size1044): + _key1049 = iprot.readString() + _val1050 = iprot.readString() + self.partitionSpecs[_key1049] = _val1050 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25260,9 +25316,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 kiter1044,viter1045 in self.partitionSpecs.items(): - oprot.writeString(kiter1044) - oprot.writeString(viter1045) + for kiter1051,viter1052 in self.partitionSpecs.items(): + oprot.writeString(kiter1051) + oprot.writeString(viter1052) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -25467,11 +25523,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1047, _vtype1048, _size1046 ) = iprot.readMapBegin() - for _i1050 in xrange(_size1046): - _key1051 = iprot.readString() - _val1052 = iprot.readString() - self.partitionSpecs[_key1051] = _val1052 + (_ktype1054, _vtype1055, _size1053 ) = iprot.readMapBegin() + for _i1057 in xrange(_size1053): + _key1058 = iprot.readString() + _val1059 = iprot.readString() + self.partitionSpecs[_key1058] = _val1059 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25508,9 +25564,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 kiter1053,viter1054 in self.partitionSpecs.items(): - oprot.writeString(kiter1053) - oprot.writeString(viter1054) + for kiter1060,viter1061 in self.partitionSpecs.items(): + oprot.writeString(kiter1060) + oprot.writeString(viter1061) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -25593,11 +25649,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1058, _size1055) = iprot.readListBegin() - for _i1059 in xrange(_size1055): - _elem1060 = Partition() - _elem1060.read(iprot) - self.success.append(_elem1060) + (_etype1065, _size1062) = iprot.readListBegin() + for _i1066 in xrange(_size1062): + _elem1067 = Partition() + _elem1067.read(iprot) + self.success.append(_elem1067) iprot.readListEnd() else: iprot.skip(ftype) @@ -25638,8 +25694,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 iter1061 in self.success: - iter1061.write(oprot) + for iter1068 in self.success: + iter1068.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25733,10 +25789,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1065, _size1062) = iprot.readListBegin() - for _i1066 in xrange(_size1062): - _elem1067 = iprot.readString() - self.part_vals.append(_elem1067) + (_etype1072, _size1069) = iprot.readListBegin() + for _i1073 in xrange(_size1069): + _elem1074 = iprot.readString() + self.part_vals.append(_elem1074) iprot.readListEnd() else: iprot.skip(ftype) @@ -25748,10 +25804,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1071, _size1068) = iprot.readListBegin() - for _i1072 in xrange(_size1068): - _elem1073 = iprot.readString() - self.group_names.append(_elem1073) + (_etype1078, _size1075) = iprot.readListBegin() + for _i1079 in xrange(_size1075): + _elem1080 = iprot.readString() + self.group_names.append(_elem1080) iprot.readListEnd() else: iprot.skip(ftype) @@ -25776,8 +25832,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 iter1074 in self.part_vals: - oprot.writeString(iter1074) + for iter1081 in self.part_vals: + oprot.writeString(iter1081) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -25787,8 +25843,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 iter1075 in self.group_names: - oprot.writeString(iter1075) + for iter1082 in self.group_names: + oprot.writeString(iter1082) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26217,11 +26273,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1079, _size1076) = iprot.readListBegin() - for _i1080 in xrange(_size1076): - _elem1081 = Partition() - _elem1081.read(iprot) - self.success.append(_elem1081) + (_etype1086, _size1083) = iprot.readListBegin() + for _i1087 in xrange(_size1083): + _elem1088 = Partition() + _elem1088.read(iprot) + self.success.append(_elem1088) iprot.readListEnd() else: iprot.skip(ftype) @@ -26250,8 +26306,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 iter1082 in self.success: - iter1082.write(oprot) + for iter1089 in self.success: + iter1089.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26345,10 +26401,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1086, _size1083) = iprot.readListBegin() - for _i1087 in xrange(_size1083): - _elem1088 = iprot.readString() - self.group_names.append(_elem1088) + (_etype1093, _size1090) = iprot.readListBegin() + for _i1094 in xrange(_size1090): + _elem1095 = iprot.readString() + self.group_names.append(_elem1095) iprot.readListEnd() else: iprot.skip(ftype) @@ -26381,8 +26437,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 iter1089 in self.group_names: - oprot.writeString(iter1089) + for iter1096 in self.group_names: + oprot.writeString(iter1096) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26443,11 +26499,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1093, _size1090) = iprot.readListBegin() - for _i1094 in xrange(_size1090): - _elem1095 = Partition() - _elem1095.read(iprot) - self.success.append(_elem1095) + (_etype1100, _size1097) = iprot.readListBegin() + for _i1101 in xrange(_size1097): + _elem1102 = Partition() + _elem1102.read(iprot) + self.success.append(_elem1102) iprot.readListEnd() else: iprot.skip(ftype) @@ -26476,8 +26532,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 iter1096 in self.success: - iter1096.write(oprot) + for iter1103 in self.success: + iter1103.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26635,11 +26691,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1100, _size1097) = iprot.readListBegin() - for _i1101 in xrange(_size1097): - _elem1102 = PartitionSpec() - _elem1102.read(iprot) - self.success.append(_elem1102) + (_etype1107, _size1104) = iprot.readListBegin() + for _i1108 in xrange(_size1104): + _elem1109 = PartitionSpec() + _elem1109.read(iprot) + self.success.append(_elem1109) iprot.readListEnd() else: iprot.skip(ftype) @@ -26668,8 +26724,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 iter1103 in self.success: - iter1103.write(oprot) + for iter1110 in self.success: + iter1110.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26827,10 +26883,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1107, _size1104) = iprot.readListBegin() - for _i1108 in xrange(_size1104): - _elem1109 = iprot.readString() - self.success.append(_elem1109) + (_etype1114, _size1111) = iprot.readListBegin() + for _i1115 in xrange(_size1111): + _elem1116 = iprot.readString() + self.success.append(_elem1116) iprot.readListEnd() else: iprot.skip(ftype) @@ -26859,8 +26915,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 iter1110 in self.success: - oprot.writeString(iter1110) + for iter1117 in self.success: + oprot.writeString(iter1117) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27100,10 +27156,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1114, _size1111) = iprot.readListBegin() - for _i1115 in xrange(_size1111): - _elem1116 = iprot.readString() - self.part_vals.append(_elem1116) + (_etype1121, _size1118) = iprot.readListBegin() + for _i1122 in xrange(_size1118): + _elem1123 = iprot.readString() + self.part_vals.append(_elem1123) iprot.readListEnd() else: iprot.skip(ftype) @@ -27133,8 +27189,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 iter1117 in self.part_vals: - oprot.writeString(iter1117) + for iter1124 in self.part_vals: + oprot.writeString(iter1124) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27198,11 +27254,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1121, _size1118) = iprot.readListBegin() - for _i1122 in xrange(_size1118): - _elem1123 = Partition() - _elem1123.read(iprot) - self.success.append(_elem1123) + (_etype1128, _size1125) = iprot.readListBegin() + for _i1129 in xrange(_size1125): + _elem1130 = Partition() + _elem1130.read(iprot) + self.success.append(_elem1130) iprot.readListEnd() else: iprot.skip(ftype) @@ -27231,8 +27287,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 iter1124 in self.success: - iter1124.write(oprot) + for iter1131 in self.success: + iter1131.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27319,10 +27375,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1128, _size1125) = iprot.readListBegin() - for _i1129 in xrange(_size1125): - _elem1130 = iprot.readString() - self.part_vals.append(_elem1130) + (_etype1135, _size1132) = iprot.readListBegin() + for _i1136 in xrange(_size1132): + _elem1137 = iprot.readString() + self.part_vals.append(_elem1137) iprot.readListEnd() else: iprot.skip(ftype) @@ -27339,10 +27395,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1134, _size1131) = iprot.readListBegin() - for _i1135 in xrange(_size1131): - _elem1136 = iprot.readString() - self.group_names.append(_elem1136) + (_etype1141, _size1138) = iprot.readListBegin() + for _i1142 in xrange(_size1138): + _elem1143 = iprot.readString() + self.group_names.append(_elem1143) iprot.readListEnd() else: iprot.skip(ftype) @@ -27367,8 +27423,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 iter1137 in self.part_vals: - oprot.writeString(iter1137) + for iter1144 in self.part_vals: + oprot.writeString(iter1144) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27382,8 +27438,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 iter1138 in self.group_names: - oprot.writeString(iter1138) + for iter1145 in self.group_names: + oprot.writeString(iter1145) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27445,11 +27501,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1142, _size1139) = iprot.readListBegin() - for _i1143 in xrange(_size1139): - _elem1144 = Partition() - _elem1144.read(iprot) - self.success.append(_elem1144) + (_etype1149, _size1146) = iprot.readListBegin() + for _i1150 in xrange(_size1146): + _elem1151 = Partition() + _elem1151.read(iprot) + self.success.append(_elem1151) iprot.readListEnd() else: iprot.skip(ftype) @@ -27478,8 +27534,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 iter1145 in self.success: - iter1145.write(oprot) + for iter1152 in self.success: + iter1152.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27560,10 +27616,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1149, _size1146) = iprot.readListBegin() - for _i1150 in xrange(_size1146): - _elem1151 = iprot.readString() - self.part_vals.append(_elem1151) + (_etype1156, _size1153) = iprot.readListBegin() + for _i1157 in xrange(_size1153): + _elem1158 = iprot.readString() + self.part_vals.append(_elem1158) iprot.readListEnd() else: iprot.skip(ftype) @@ -27593,8 +27649,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 iter1152 in self.part_vals: - oprot.writeString(iter1152) + for iter1159 in self.part_vals: + oprot.writeString(iter1159) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27658,10 +27714,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1156, _size1153) = iprot.readListBegin() - for _i1157 in xrange(_size1153): - _elem1158 = iprot.readString() - self.success.append(_elem1158) + (_etype1163, _size1160) = iprot.readListBegin() + for _i1164 in xrange(_size1160): + _elem1165 = iprot.readString() + self.success.append(_elem1165) iprot.readListEnd() else: iprot.skip(ftype) @@ -27690,8 +27746,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 iter1159 in self.success: - oprot.writeString(iter1159) + for iter1166 in self.success: + oprot.writeString(iter1166) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27862,11 +27918,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1163, _size1160) = iprot.readListBegin() - for _i1164 in xrange(_size1160): - _elem1165 = Partition() - _elem1165.read(iprot) - self.success.append(_elem1165) + (_etype1170, _size1167) = iprot.readListBegin() + for _i1171 in xrange(_size1167): + _elem1172 = Partition() + _elem1172.read(iprot) + self.success.append(_elem1172) iprot.readListEnd() else: iprot.skip(ftype) @@ -27895,8 +27951,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 iter1166 in self.success: - iter1166.write(oprot) + for iter1173 in self.success: + iter1173.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28067,11 +28123,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1170, _size1167) = iprot.readListBegin() - for _i1171 in xrange(_size1167): - _elem1172 = PartitionSpec() - _elem1172.read(iprot) - self.success.append(_elem1172) + (_etype1177, _size1174) = iprot.readListBegin() + for _i1178 in xrange(_size1174): + _elem1179 = PartitionSpec() + _elem1179.read(iprot) + self.success.append(_elem1179) iprot.readListEnd() else: iprot.skip(ftype) @@ -28100,8 +28156,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 iter1173 in self.success: - iter1173.write(oprot) + for iter1180 in self.success: + iter1180.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28521,10 +28577,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1177, _size1174) = iprot.readListBegin() - for _i1178 in xrange(_size1174): - _elem1179 = iprot.readString() - self.names.append(_elem1179) + (_etype1184, _size1181) = iprot.readListBegin() + for _i1185 in xrange(_size1181): + _elem1186 = iprot.readString() + self.names.append(_elem1186) iprot.readListEnd() else: iprot.skip(ftype) @@ -28549,8 +28605,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 iter1180 in self.names: - oprot.writeString(iter1180) + for iter1187 in self.names: + oprot.writeString(iter1187) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28609,11 +28665,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1184, _size1181) = iprot.readListBegin() - for _i1185 in xrange(_size1181): - _elem1186 = Partition() - _elem1186.read(iprot) - self.success.append(_elem1186) + (_etype1191, _size1188) = iprot.readListBegin() + for _i1192 in xrange(_size1188): + _elem1193 = Partition() + _elem1193.read(iprot) + self.success.append(_elem1193) iprot.readListEnd() else: iprot.skip(ftype) @@ -28642,8 +28698,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 iter1187 in self.success: - iter1187.write(oprot) + for iter1194 in self.success: + iter1194.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28893,11 +28949,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1191, _size1188) = iprot.readListBegin() - for _i1192 in xrange(_size1188): - _elem1193 = Partition() - _elem1193.read(iprot) - self.new_parts.append(_elem1193) + (_etype1198, _size1195) = iprot.readListBegin() + for _i1199 in xrange(_size1195): + _elem1200 = Partition() + _elem1200.read(iprot) + self.new_parts.append(_elem1200) iprot.readListEnd() else: iprot.skip(ftype) @@ -28922,8 +28978,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 iter1194 in self.new_parts: - iter1194.write(oprot) + for iter1201 in self.new_parts: + iter1201.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -29076,11 +29132,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1198, _size1195) = iprot.readListBegin() - for _i1199 in xrange(_size1195): - _elem1200 = Partition() - _elem1200.read(iprot) - self.new_parts.append(_elem1200) + (_etype1205, _size1202) = iprot.readListBegin() + for _i1206 in xrange(_size1202): + _elem1207 = Partition() + _elem1207.read(iprot) + self.new_parts.append(_elem1207) iprot.readListEnd() else: iprot.skip(ftype) @@ -29111,8 +29167,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 iter1201 in self.new_parts: - iter1201.write(oprot) + for iter1208 in self.new_parts: + iter1208.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -29456,10 +29512,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1205, _size1202) = iprot.readListBegin() - for _i1206 in xrange(_size1202): - _elem1207 = iprot.readString() - self.part_vals.append(_elem1207) + (_etype1212, _size1209) = iprot.readListBegin() + for _i1213 in xrange(_size1209): + _elem1214 = iprot.readString() + self.part_vals.append(_elem1214) iprot.readListEnd() else: iprot.skip(ftype) @@ -29490,8 +29546,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 iter1208 in self.part_vals: - oprot.writeString(iter1208) + for iter1215 in self.part_vals: + oprot.writeString(iter1215) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -29633,10 +29689,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1212, _size1209) = iprot.readListBegin() - for _i1213 in xrange(_size1209): - _elem1214 = iprot.readString() - self.part_vals.append(_elem1214) + (_etype1219, _size1216) = iprot.readListBegin() + for _i1220 in xrange(_size1216): + _elem1221 = iprot.readString() + self.part_vals.append(_elem1221) iprot.readListEnd() else: iprot.skip(ftype) @@ -29658,8 +29714,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 iter1215 in self.part_vals: - oprot.writeString(iter1215) + for iter1222 in self.part_vals: + oprot.writeString(iter1222) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -30017,10 +30073,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1219, _size1216) = iprot.readListBegin() - for _i1220 in xrange(_size1216): - _elem1221 = iprot.readString() - self.success.append(_elem1221) + (_etype1226, _size1223) = iprot.readListBegin() + for _i1227 in xrange(_size1223): + _elem1228 = iprot.readString() + self.success.append(_elem1228) iprot.readListEnd() else: iprot.skip(ftype) @@ -30043,8 +30099,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 iter1222 in self.success: - oprot.writeString(iter1222) + for iter1229 in self.success: + oprot.writeString(iter1229) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30168,11 +30224,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1224, _vtype1225, _size1223 ) = iprot.readMapBegin() - for _i1227 in xrange(_size1223): - _key1228 = iprot.readString() - _val1229 = iprot.readString() - self.success[_key1228] = _val1229 + (_ktype1231, _vtype1232, _size1230 ) = iprot.readMapBegin() + for _i1234 in xrange(_size1230): + _key1235 = iprot.readString() + _val1236 = iprot.readString() + self.success[_key1235] = _val1236 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30195,9 +30251,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 kiter1230,viter1231 in self.success.items(): - oprot.writeString(kiter1230) - oprot.writeString(viter1231) + for kiter1237,viter1238 in self.success.items(): + oprot.writeString(kiter1237) + oprot.writeString(viter1238) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30273,11 +30329,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1233, _vtype1234, _size1232 ) = iprot.readMapBegin() - for _i1236 in xrange(_size1232): - _key1237 = iprot.readString() - _val1238 = iprot.readString() - self.part_vals[_key1237] = _val1238 + (_ktype1240, _vtype1241, _size1239 ) = iprot.readMapBegin() + for _i1243 in xrange(_size1239): + _key1244 = iprot.readString() + _val1245 = iprot.readString() + self.part_vals[_key1244] = _val1245 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30307,9 +30363,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 kiter1239,viter1240 in self.part_vals.items(): - oprot.writeString(kiter1239) - oprot.writeString(viter1240) + for kiter1246,viter1247 in self.part_vals.items(): + oprot.writeString(kiter1246) + oprot.writeString(viter1247) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -30523,11 +30579,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1242, _vtype1243, _size1241 ) = iprot.readMapBegin() - for _i1245 in xrange(_size1241): - _key1246 = iprot.readString() - _val1247 = iprot.readString() - self.part_vals[_key1246] = _val1247 + (_ktype1249, _vtype1250, _size1248 ) = iprot.readMapBegin() + for _i1252 in xrange(_size1248): + _key1253 = iprot.readString() + _val1254 = iprot.readString() + self.part_vals[_key1253] = _val1254 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30557,9 +30613,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 kiter1248,viter1249 in self.part_vals.items(): - oprot.writeString(kiter1248) - oprot.writeString(viter1249) + for kiter1255,viter1256 in self.part_vals.items(): + oprot.writeString(kiter1255) + oprot.writeString(viter1256) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -34211,10 +34267,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1253, _size1250) = iprot.readListBegin() - for _i1254 in xrange(_size1250): - _elem1255 = iprot.readString() - self.success.append(_elem1255) + (_etype1260, _size1257) = iprot.readListBegin() + for _i1261 in xrange(_size1257): + _elem1262 = iprot.readString() + self.success.append(_elem1262) iprot.readListEnd() else: iprot.skip(ftype) @@ -34237,8 +34293,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 iter1256 in self.success: - oprot.writeString(iter1256) + for iter1263 in self.success: + oprot.writeString(iter1263) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34926,10 +34982,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1260, _size1257) = iprot.readListBegin() - for _i1261 in xrange(_size1257): - _elem1262 = iprot.readString() - self.success.append(_elem1262) + (_etype1267, _size1264) = iprot.readListBegin() + for _i1268 in xrange(_size1264): + _elem1269 = iprot.readString() + self.success.append(_elem1269) iprot.readListEnd() else: iprot.skip(ftype) @@ -34952,8 +35008,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 iter1263 in self.success: - oprot.writeString(iter1263) + for iter1270 in self.success: + oprot.writeString(iter1270) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35467,11 +35523,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1267, _size1264) = iprot.readListBegin() - for _i1268 in xrange(_size1264): - _elem1269 = Role() - _elem1269.read(iprot) - self.success.append(_elem1269) + (_etype1274, _size1271) = iprot.readListBegin() + for _i1275 in xrange(_size1271): + _elem1276 = Role() + _elem1276.read(iprot) + self.success.append(_elem1276) iprot.readListEnd() else: iprot.skip(ftype) @@ -35494,8 +35550,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 iter1270 in self.success: - iter1270.write(oprot) + for iter1277 in self.success: + iter1277.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36004,10 +36060,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1274, _size1271) = iprot.readListBegin() - for _i1275 in xrange(_size1271): - _elem1276 = iprot.readString() - self.group_names.append(_elem1276) + (_etype1281, _size1278) = iprot.readListBegin() + for _i1282 in xrange(_size1278): + _elem1283 = iprot.readString() + self.group_names.append(_elem1283) iprot.readListEnd() else: iprot.skip(ftype) @@ -36032,8 +36088,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 iter1277 in self.group_names: - oprot.writeString(iter1277) + for iter1284 in self.group_names: + oprot.writeString(iter1284) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36260,11 +36316,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1281, _size1278) = iprot.readListBegin() - for _i1282 in xrange(_size1278): - _elem1283 = HiveObjectPrivilege() - _elem1283.read(iprot) - self.success.append(_elem1283) + (_etype1288, _size1285) = iprot.readListBegin() + for _i1289 in xrange(_size1285): + _elem1290 = HiveObjectPrivilege() + _elem1290.read(iprot) + self.success.append(_elem1290) iprot.readListEnd() else: iprot.skip(ftype) @@ -36287,8 +36343,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 iter1284 in self.success: - iter1284.write(oprot) + for iter1291 in self.success: + iter1291.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36786,10 +36842,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1288, _size1285) = iprot.readListBegin() - for _i1289 in xrange(_size1285): - _elem1290 = iprot.readString() - self.group_names.append(_elem1290) + (_etype1295, _size1292) = iprot.readListBegin() + for _i1296 in xrange(_size1292): + _elem1297 = iprot.readString() + self.group_names.append(_elem1297) iprot.readListEnd() else: iprot.skip(ftype) @@ -36810,8 +36866,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 iter1291 in self.group_names: - oprot.writeString(iter1291) + for iter1298 in self.group_names: + oprot.writeString(iter1298) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36866,10 +36922,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1295, _size1292) = iprot.readListBegin() - for _i1296 in xrange(_size1292): - _elem1297 = iprot.readString() - self.success.append(_elem1297) + (_etype1302, _size1299) = iprot.readListBegin() + for _i1303 in xrange(_size1299): + _elem1304 = iprot.readString() + self.success.append(_elem1304) iprot.readListEnd() else: iprot.skip(ftype) @@ -36892,8 +36948,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 iter1298 in self.success: - oprot.writeString(iter1298) + for iter1305 in self.success: + oprot.writeString(iter1305) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37825,10 +37881,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1302, _size1299) = iprot.readListBegin() - for _i1303 in xrange(_size1299): - _elem1304 = iprot.readString() - self.success.append(_elem1304) + (_etype1309, _size1306) = iprot.readListBegin() + for _i1310 in xrange(_size1306): + _elem1311 = iprot.readString() + self.success.append(_elem1311) iprot.readListEnd() else: iprot.skip(ftype) @@ -37845,8 +37901,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 iter1305 in self.success: - oprot.writeString(iter1305) + for iter1312 in self.success: + oprot.writeString(iter1312) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -38373,10 +38429,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1309, _size1306) = iprot.readListBegin() - for _i1310 in xrange(_size1306): - _elem1311 = iprot.readString() - self.success.append(_elem1311) + (_etype1316, _size1313) = iprot.readListBegin() + for _i1317 in xrange(_size1313): + _elem1318 = iprot.readString() + self.success.append(_elem1318) iprot.readListEnd() else: iprot.skip(ftype) @@ -38393,8 +38449,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 iter1312 in self.success: - oprot.writeString(iter1312) + for iter1319 in self.success: + oprot.writeString(iter1319) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -39183,6 +39239,118 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class repl_tbl_writeid_state_args: + """ + Attributes: + - rqst + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'rqst', (ReplTblWriteIdStateRequest, ReplTblWriteIdStateRequest.thrift_spec), None, ), # 1 + ) + + def __init__(self, rqst=None,): + self.rqst = rqst + + 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.STRUCT: + self.rqst = ReplTblWriteIdStateRequest() + self.rqst.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('repl_tbl_writeid_state_args') + if self.rqst is not None: + oprot.writeFieldBegin('rqst', TType.STRUCT, 1) + self.rqst.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.rqst) + 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 repl_tbl_writeid_state_result: + + thrift_spec = ( + ) + + 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 + 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('repl_tbl_writeid_state_result') + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + 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_valid_write_ids_args: """ Attributes: @@ -46562,11 +46730,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1316, _size1313) = iprot.readListBegin() - for _i1317 in xrange(_size1313): - _elem1318 = SchemaVersion() - _elem1318.read(iprot) - self.success.append(_elem1318) + (_etype1323, _size1320) = iprot.readListBegin() + for _i1324 in xrange(_size1320): + _elem1325 = SchemaVersion() + _elem1325.read(iprot) + self.success.append(_elem1325) iprot.readListEnd() else: iprot.skip(ftype) @@ -46595,8 +46763,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 iter1319 in self.success: - iter1319.write(oprot) + for iter1326 in self.success: + iter1326.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -48071,11 +48239,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1323, _size1320) = iprot.readListBegin() - for _i1324 in xrange(_size1320): - _elem1325 = RuntimeStat() - _elem1325.read(iprot) - self.success.append(_elem1325) + (_etype1330, _size1327) = iprot.readListBegin() + for _i1331 in xrange(_size1327): + _elem1332 = RuntimeStat() + _elem1332.read(iprot) + self.success.append(_elem1332) iprot.readListEnd() else: iprot.skip(ftype) @@ -48098,8 +48266,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 iter1326 in self.success: - iter1326.write(oprot) + for iter1333 in self.success: + iter1333.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: 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 b1e577a..accb94f 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 @@ -11532,6 +11532,154 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class ReplTblWriteIdStateRequest: + """ + Attributes: + - validWriteIdlist + - user + - hostName + - dbName + - tableName + - partNames + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRING, 'validWriteIdlist', None, None, ), # 1 + (2, TType.STRING, 'user', None, None, ), # 2 + (3, TType.STRING, 'hostName', None, None, ), # 3 + (4, TType.STRING, 'dbName', None, None, ), # 4 + (5, TType.STRING, 'tableName', None, None, ), # 5 + (6, TType.LIST, 'partNames', (TType.STRING,None), None, ), # 6 + ) + + def __init__(self, validWriteIdlist=None, user=None, hostName=None, dbName=None, tableName=None, partNames=None,): + self.validWriteIdlist = validWriteIdlist + self.user = user + self.hostName = hostName + self.dbName = dbName + self.tableName = tableName + self.partNames = partNames + + 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.validWriteIdlist = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.user = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRING: + self.hostName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.STRING: + self.dbName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 5: + if ftype == TType.STRING: + self.tableName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 6: + if ftype == TType.LIST: + self.partNames = [] + (_etype526, _size523) = iprot.readListBegin() + for _i527 in xrange(_size523): + _elem528 = iprot.readString() + self.partNames.append(_elem528) + 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('ReplTblWriteIdStateRequest') + if self.validWriteIdlist is not None: + oprot.writeFieldBegin('validWriteIdlist', TType.STRING, 1) + oprot.writeString(self.validWriteIdlist) + oprot.writeFieldEnd() + if self.user is not None: + oprot.writeFieldBegin('user', TType.STRING, 2) + oprot.writeString(self.user) + oprot.writeFieldEnd() + if self.hostName is not None: + oprot.writeFieldBegin('hostName', TType.STRING, 3) + oprot.writeString(self.hostName) + oprot.writeFieldEnd() + if self.dbName is not None: + oprot.writeFieldBegin('dbName', TType.STRING, 4) + oprot.writeString(self.dbName) + oprot.writeFieldEnd() + if self.tableName is not None: + oprot.writeFieldBegin('tableName', TType.STRING, 5) + oprot.writeString(self.tableName) + oprot.writeFieldEnd() + if self.partNames is not None: + oprot.writeFieldBegin('partNames', TType.LIST, 6) + oprot.writeListBegin(TType.STRING, len(self.partNames)) + for iter529 in self.partNames: + oprot.writeString(iter529) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + if self.validWriteIdlist is None: + raise TProtocol.TProtocolException(message='Required field validWriteIdlist is unset!') + if self.user is None: + raise TProtocol.TProtocolException(message='Required field user is unset!') + if self.hostName is None: + raise TProtocol.TProtocolException(message='Required field hostName is unset!') + if self.dbName is None: + raise TProtocol.TProtocolException(message='Required field dbName is unset!') + if self.tableName is None: + raise TProtocol.TProtocolException(message='Required field tableName is unset!') + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.validWriteIdlist) + value = (value * 31) ^ hash(self.user) + value = (value * 31) ^ hash(self.hostName) + value = (value * 31) ^ hash(self.dbName) + value = (value * 31) ^ hash(self.tableName) + value = (value * 31) ^ hash(self.partNames) + 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 GetValidWriteIdsRequest: """ Attributes: @@ -11561,10 +11709,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fullTableNames = [] - (_etype526, _size523) = iprot.readListBegin() - for _i527 in xrange(_size523): - _elem528 = iprot.readString() - self.fullTableNames.append(_elem528) + (_etype533, _size530) = iprot.readListBegin() + for _i534 in xrange(_size530): + _elem535 = iprot.readString() + self.fullTableNames.append(_elem535) iprot.readListEnd() else: iprot.skip(ftype) @@ -11586,8 +11734,8 @@ def write(self, oprot): if self.fullTableNames is not None: oprot.writeFieldBegin('fullTableNames', TType.LIST, 1) oprot.writeListBegin(TType.STRING, len(self.fullTableNames)) - for iter529 in self.fullTableNames: - oprot.writeString(iter529) + for iter536 in self.fullTableNames: + oprot.writeString(iter536) oprot.writeListEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -11670,10 +11818,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.invalidWriteIds = [] - (_etype533, _size530) = iprot.readListBegin() - for _i534 in xrange(_size530): - _elem535 = iprot.readI64() - self.invalidWriteIds.append(_elem535) + (_etype540, _size537) = iprot.readListBegin() + for _i541 in xrange(_size537): + _elem542 = iprot.readI64() + self.invalidWriteIds.append(_elem542) iprot.readListEnd() else: iprot.skip(ftype) @@ -11708,8 +11856,8 @@ def write(self, oprot): if self.invalidWriteIds is not None: oprot.writeFieldBegin('invalidWriteIds', TType.LIST, 3) oprot.writeListBegin(TType.I64, len(self.invalidWriteIds)) - for iter536 in self.invalidWriteIds: - oprot.writeI64(iter536) + for iter543 in self.invalidWriteIds: + oprot.writeI64(iter543) oprot.writeListEnd() oprot.writeFieldEnd() if self.minOpenWriteId is not None: @@ -11781,11 +11929,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tblValidWriteIds = [] - (_etype540, _size537) = iprot.readListBegin() - for _i541 in xrange(_size537): - _elem542 = TableValidWriteIds() - _elem542.read(iprot) - self.tblValidWriteIds.append(_elem542) + (_etype547, _size544) = iprot.readListBegin() + for _i548 in xrange(_size544): + _elem549 = TableValidWriteIds() + _elem549.read(iprot) + self.tblValidWriteIds.append(_elem549) iprot.readListEnd() else: iprot.skip(ftype) @@ -11802,8 +11950,8 @@ def write(self, oprot): if self.tblValidWriteIds is not None: oprot.writeFieldBegin('tblValidWriteIds', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.tblValidWriteIds)) - for iter543 in self.tblValidWriteIds: - iter543.write(oprot) + for iter550 in self.tblValidWriteIds: + iter550.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11879,10 +12027,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.txnIds = [] - (_etype547, _size544) = iprot.readListBegin() - for _i548 in xrange(_size544): - _elem549 = iprot.readI64() - self.txnIds.append(_elem549) + (_etype554, _size551) = iprot.readListBegin() + for _i555 in xrange(_size551): + _elem556 = iprot.readI64() + self.txnIds.append(_elem556) iprot.readListEnd() else: iprot.skip(ftype) @@ -11894,11 +12042,11 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.srcTxnToWriteIdList = [] - (_etype553, _size550) = iprot.readListBegin() - for _i554 in xrange(_size550): - _elem555 = TxnToWriteId() - _elem555.read(iprot) - self.srcTxnToWriteIdList.append(_elem555) + (_etype560, _size557) = iprot.readListBegin() + for _i561 in xrange(_size557): + _elem562 = TxnToWriteId() + _elem562.read(iprot) + self.srcTxnToWriteIdList.append(_elem562) iprot.readListEnd() else: iprot.skip(ftype) @@ -11923,8 +12071,8 @@ def write(self, oprot): if self.txnIds is not None: oprot.writeFieldBegin('txnIds', TType.LIST, 3) oprot.writeListBegin(TType.I64, len(self.txnIds)) - for iter556 in self.txnIds: - oprot.writeI64(iter556) + for iter563 in self.txnIds: + oprot.writeI64(iter563) oprot.writeListEnd() oprot.writeFieldEnd() if self.replPolicy is not None: @@ -11934,8 +12082,8 @@ def write(self, oprot): if self.srcTxnToWriteIdList is not None: oprot.writeFieldBegin('srcTxnToWriteIdList', TType.LIST, 5) oprot.writeListBegin(TType.STRUCT, len(self.srcTxnToWriteIdList)) - for iter557 in self.srcTxnToWriteIdList: - iter557.write(oprot) + for iter564 in self.srcTxnToWriteIdList: + iter564.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12077,11 +12225,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnToWriteIds = [] - (_etype561, _size558) = iprot.readListBegin() - for _i562 in xrange(_size558): - _elem563 = TxnToWriteId() - _elem563.read(iprot) - self.txnToWriteIds.append(_elem563) + (_etype568, _size565) = iprot.readListBegin() + for _i569 in xrange(_size565): + _elem570 = TxnToWriteId() + _elem570.read(iprot) + self.txnToWriteIds.append(_elem570) iprot.readListEnd() else: iprot.skip(ftype) @@ -12098,8 +12246,8 @@ def write(self, oprot): if self.txnToWriteIds is not None: oprot.writeFieldBegin('txnToWriteIds', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.txnToWriteIds)) - for iter564 in self.txnToWriteIds: - iter564.write(oprot) + for iter571 in self.txnToWriteIds: + iter571.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12327,11 +12475,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype568, _size565) = iprot.readListBegin() - for _i569 in xrange(_size565): - _elem570 = LockComponent() - _elem570.read(iprot) - self.component.append(_elem570) + (_etype575, _size572) = iprot.readListBegin() + for _i576 in xrange(_size572): + _elem577 = LockComponent() + _elem577.read(iprot) + self.component.append(_elem577) iprot.readListEnd() else: iprot.skip(ftype) @@ -12368,8 +12516,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 iter571 in self.component: - iter571.write(oprot) + for iter578 in self.component: + iter578.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -13067,11 +13215,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype575, _size572) = iprot.readListBegin() - for _i576 in xrange(_size572): - _elem577 = ShowLocksResponseElement() - _elem577.read(iprot) - self.locks.append(_elem577) + (_etype582, _size579) = iprot.readListBegin() + for _i583 in xrange(_size579): + _elem584 = ShowLocksResponseElement() + _elem584.read(iprot) + self.locks.append(_elem584) iprot.readListEnd() else: iprot.skip(ftype) @@ -13088,8 +13236,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 iter578 in self.locks: - iter578.write(oprot) + for iter585 in self.locks: + iter585.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13304,20 +13452,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype582, _size579) = iprot.readSetBegin() - for _i583 in xrange(_size579): - _elem584 = iprot.readI64() - self.aborted.add(_elem584) + (_etype589, _size586) = iprot.readSetBegin() + for _i590 in xrange(_size586): + _elem591 = iprot.readI64() + self.aborted.add(_elem591) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype588, _size585) = iprot.readSetBegin() - for _i589 in xrange(_size585): - _elem590 = iprot.readI64() - self.nosuch.add(_elem590) + (_etype595, _size592) = iprot.readSetBegin() + for _i596 in xrange(_size592): + _elem597 = iprot.readI64() + self.nosuch.add(_elem597) iprot.readSetEnd() else: iprot.skip(ftype) @@ -13334,15 +13482,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 iter591 in self.aborted: - oprot.writeI64(iter591) + for iter598 in self.aborted: + oprot.writeI64(iter598) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter592 in self.nosuch: - oprot.writeI64(iter592) + for iter599 in self.nosuch: + oprot.writeI64(iter599) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13439,11 +13587,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype594, _vtype595, _size593 ) = iprot.readMapBegin() - for _i597 in xrange(_size593): - _key598 = iprot.readString() - _val599 = iprot.readString() - self.properties[_key598] = _val599 + (_ktype601, _vtype602, _size600 ) = iprot.readMapBegin() + for _i604 in xrange(_size600): + _key605 = iprot.readString() + _val606 = iprot.readString() + self.properties[_key605] = _val606 iprot.readMapEnd() else: iprot.skip(ftype) @@ -13480,9 +13628,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 kiter600,viter601 in self.properties.items(): - oprot.writeString(kiter600) - oprot.writeString(viter601) + for kiter607,viter608 in self.properties.items(): + oprot.writeString(kiter607) + oprot.writeString(viter608) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13917,11 +14065,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype605, _size602) = iprot.readListBegin() - for _i606 in xrange(_size602): - _elem607 = ShowCompactResponseElement() - _elem607.read(iprot) - self.compacts.append(_elem607) + (_etype612, _size609) = iprot.readListBegin() + for _i613 in xrange(_size609): + _elem614 = ShowCompactResponseElement() + _elem614.read(iprot) + self.compacts.append(_elem614) iprot.readListEnd() else: iprot.skip(ftype) @@ -13938,8 +14086,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 iter608 in self.compacts: - iter608.write(oprot) + for iter615 in self.compacts: + iter615.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14028,10 +14176,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype612, _size609) = iprot.readListBegin() - for _i613 in xrange(_size609): - _elem614 = iprot.readString() - self.partitionnames.append(_elem614) + (_etype619, _size616) = iprot.readListBegin() + for _i620 in xrange(_size616): + _elem621 = iprot.readString() + self.partitionnames.append(_elem621) iprot.readListEnd() else: iprot.skip(ftype) @@ -14069,8 +14217,8 @@ def write(self, oprot): if self.partitionnames is not None: oprot.writeFieldBegin('partitionnames', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.partitionnames)) - for iter615 in self.partitionnames: - oprot.writeString(iter615) + for iter622 in self.partitionnames: + oprot.writeString(iter622) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -14300,10 +14448,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.SET: self.tablesUsed = set() - (_etype619, _size616) = iprot.readSetBegin() - for _i620 in xrange(_size616): - _elem621 = iprot.readString() - self.tablesUsed.add(_elem621) + (_etype626, _size623) = iprot.readSetBegin() + for _i627 in xrange(_size623): + _elem628 = iprot.readString() + self.tablesUsed.add(_elem628) iprot.readSetEnd() else: iprot.skip(ftype) @@ -14337,8 +14485,8 @@ def write(self, oprot): if self.tablesUsed is not None: oprot.writeFieldBegin('tablesUsed', TType.SET, 4) oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter622 in self.tablesUsed: - oprot.writeString(iter622) + for iter629 in self.tablesUsed: + oprot.writeString(iter629) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -14650,11 +14798,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype626, _size623) = iprot.readListBegin() - for _i627 in xrange(_size623): - _elem628 = NotificationEvent() - _elem628.read(iprot) - self.events.append(_elem628) + (_etype633, _size630) = iprot.readListBegin() + for _i634 in xrange(_size630): + _elem635 = NotificationEvent() + _elem635.read(iprot) + self.events.append(_elem635) iprot.readListEnd() else: iprot.skip(ftype) @@ -14671,8 +14819,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 iter629 in self.events: - iter629.write(oprot) + for iter636 in self.events: + iter636.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14966,20 +15114,20 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype633, _size630) = iprot.readListBegin() - for _i634 in xrange(_size630): - _elem635 = iprot.readString() - self.filesAdded.append(_elem635) + (_etype640, _size637) = iprot.readListBegin() + for _i641 in xrange(_size637): + _elem642 = iprot.readString() + self.filesAdded.append(_elem642) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype639, _size636) = iprot.readListBegin() - for _i640 in xrange(_size636): - _elem641 = iprot.readString() - self.filesAddedChecksum.append(_elem641) + (_etype646, _size643) = iprot.readListBegin() + for _i647 in xrange(_size643): + _elem648 = iprot.readString() + self.filesAddedChecksum.append(_elem648) iprot.readListEnd() else: iprot.skip(ftype) @@ -15000,15 +15148,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 iter642 in self.filesAdded: - oprot.writeString(iter642) + for iter649 in self.filesAdded: + oprot.writeString(iter649) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter643 in self.filesAddedChecksum: - oprot.writeString(iter643) + for iter650 in self.filesAddedChecksum: + oprot.writeString(iter650) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15166,10 +15314,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype647, _size644) = iprot.readListBegin() - for _i648 in xrange(_size644): - _elem649 = iprot.readString() - self.partitionVals.append(_elem649) + (_etype654, _size651) = iprot.readListBegin() + for _i655 in xrange(_size651): + _elem656 = iprot.readString() + self.partitionVals.append(_elem656) iprot.readListEnd() else: iprot.skip(ftype) @@ -15207,8 +15355,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 iter650 in self.partitionVals: - oprot.writeString(iter650) + for iter657 in self.partitionVals: + oprot.writeString(iter657) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -15400,12 +15548,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype652, _vtype653, _size651 ) = iprot.readMapBegin() - for _i655 in xrange(_size651): - _key656 = iprot.readI64() - _val657 = MetadataPpdResult() - _val657.read(iprot) - self.metadata[_key656] = _val657 + (_ktype659, _vtype660, _size658 ) = iprot.readMapBegin() + for _i662 in xrange(_size658): + _key663 = iprot.readI64() + _val664 = MetadataPpdResult() + _val664.read(iprot) + self.metadata[_key663] = _val664 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15427,9 +15575,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 kiter658,viter659 in self.metadata.items(): - oprot.writeI64(kiter658) - viter659.write(oprot) + for kiter665,viter666 in self.metadata.items(): + oprot.writeI64(kiter665) + viter666.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -15499,10 +15647,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype663, _size660) = iprot.readListBegin() - for _i664 in xrange(_size660): - _elem665 = iprot.readI64() - self.fileIds.append(_elem665) + (_etype670, _size667) = iprot.readListBegin() + for _i671 in xrange(_size667): + _elem672 = iprot.readI64() + self.fileIds.append(_elem672) iprot.readListEnd() else: iprot.skip(ftype) @@ -15534,8 +15682,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 iter666 in self.fileIds: - oprot.writeI64(iter666) + for iter673 in self.fileIds: + oprot.writeI64(iter673) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -15609,11 +15757,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype668, _vtype669, _size667 ) = iprot.readMapBegin() - for _i671 in xrange(_size667): - _key672 = iprot.readI64() - _val673 = iprot.readString() - self.metadata[_key672] = _val673 + (_ktype675, _vtype676, _size674 ) = iprot.readMapBegin() + for _i678 in xrange(_size674): + _key679 = iprot.readI64() + _val680 = iprot.readString() + self.metadata[_key679] = _val680 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15635,9 +15783,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 kiter674,viter675 in self.metadata.items(): - oprot.writeI64(kiter674) - oprot.writeString(viter675) + for kiter681,viter682 in self.metadata.items(): + oprot.writeI64(kiter681) + oprot.writeString(viter682) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -15698,10 +15846,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype679, _size676) = iprot.readListBegin() - for _i680 in xrange(_size676): - _elem681 = iprot.readI64() - self.fileIds.append(_elem681) + (_etype686, _size683) = iprot.readListBegin() + for _i687 in xrange(_size683): + _elem688 = iprot.readI64() + self.fileIds.append(_elem688) iprot.readListEnd() else: iprot.skip(ftype) @@ -15718,8 +15866,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 iter682 in self.fileIds: - oprot.writeI64(iter682) + for iter689 in self.fileIds: + oprot.writeI64(iter689) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15825,20 +15973,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype686, _size683) = iprot.readListBegin() - for _i687 in xrange(_size683): - _elem688 = iprot.readI64() - self.fileIds.append(_elem688) + (_etype693, _size690) = iprot.readListBegin() + for _i694 in xrange(_size690): + _elem695 = iprot.readI64() + self.fileIds.append(_elem695) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype692, _size689) = iprot.readListBegin() - for _i693 in xrange(_size689): - _elem694 = iprot.readString() - self.metadata.append(_elem694) + (_etype699, _size696) = iprot.readListBegin() + for _i700 in xrange(_size696): + _elem701 = iprot.readString() + self.metadata.append(_elem701) iprot.readListEnd() else: iprot.skip(ftype) @@ -15860,15 +16008,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 iter695 in self.fileIds: - oprot.writeI64(iter695) + for iter702 in self.fileIds: + oprot.writeI64(iter702) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter696 in self.metadata: - oprot.writeString(iter696) + for iter703 in self.metadata: + oprot.writeString(iter703) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -15976,10 +16124,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype700, _size697) = iprot.readListBegin() - for _i701 in xrange(_size697): - _elem702 = iprot.readI64() - self.fileIds.append(_elem702) + (_etype707, _size704) = iprot.readListBegin() + for _i708 in xrange(_size704): + _elem709 = iprot.readI64() + self.fileIds.append(_elem709) iprot.readListEnd() else: iprot.skip(ftype) @@ -15996,8 +16144,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 iter703 in self.fileIds: - oprot.writeI64(iter703) + for iter710 in self.fileIds: + oprot.writeI64(iter710) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16226,11 +16374,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype707, _size704) = iprot.readListBegin() - for _i708 in xrange(_size704): - _elem709 = Function() - _elem709.read(iprot) - self.functions.append(_elem709) + (_etype714, _size711) = iprot.readListBegin() + for _i715 in xrange(_size711): + _elem716 = Function() + _elem716.read(iprot) + self.functions.append(_elem716) iprot.readListEnd() else: iprot.skip(ftype) @@ -16247,8 +16395,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 iter710 in self.functions: - iter710.write(oprot) + for iter717 in self.functions: + iter717.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16300,10 +16448,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype714, _size711) = iprot.readListBegin() - for _i715 in xrange(_size711): - _elem716 = iprot.readI32() - self.values.append(_elem716) + (_etype721, _size718) = iprot.readListBegin() + for _i722 in xrange(_size718): + _elem723 = iprot.readI32() + self.values.append(_elem723) iprot.readListEnd() else: iprot.skip(ftype) @@ -16320,8 +16468,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 iter717 in self.values: - oprot.writeI32(iter717) + for iter724 in self.values: + oprot.writeI32(iter724) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16566,10 +16714,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype721, _size718) = iprot.readListBegin() - for _i722 in xrange(_size718): - _elem723 = iprot.readString() - self.tblNames.append(_elem723) + (_etype728, _size725) = iprot.readListBegin() + for _i729 in xrange(_size725): + _elem730 = iprot.readString() + self.tblNames.append(_elem730) iprot.readListEnd() else: iprot.skip(ftype) @@ -16601,8 +16749,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 iter724 in self.tblNames: - oprot.writeString(iter724) + for iter731 in self.tblNames: + oprot.writeString(iter731) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -16667,11 +16815,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype728, _size725) = iprot.readListBegin() - for _i729 in xrange(_size725): - _elem730 = Table() - _elem730.read(iprot) - self.tables.append(_elem730) + (_etype735, _size732) = iprot.readListBegin() + for _i736 in xrange(_size732): + _elem737 = Table() + _elem737.read(iprot) + self.tables.append(_elem737) iprot.readListEnd() else: iprot.skip(ftype) @@ -16688,8 +16836,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 iter731 in self.tables: - iter731.write(oprot) + for iter738 in self.tables: + iter738.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17003,10 +17151,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.tablesUsed = set() - (_etype735, _size732) = iprot.readSetBegin() - for _i736 in xrange(_size732): - _elem737 = iprot.readString() - self.tablesUsed.add(_elem737) + (_etype742, _size739) = iprot.readSetBegin() + for _i743 in xrange(_size739): + _elem744 = iprot.readString() + self.tablesUsed.add(_elem744) iprot.readSetEnd() else: iprot.skip(ftype) @@ -17038,8 +17186,8 @@ def write(self, oprot): if self.tablesUsed is not None: oprot.writeFieldBegin('tablesUsed', TType.SET, 1) oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter738 in self.tablesUsed: - oprot.writeString(iter738) + for iter745 in self.tablesUsed: + oprot.writeString(iter745) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -17944,44 +18092,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype742, _size739) = iprot.readListBegin() - for _i743 in xrange(_size739): - _elem744 = WMPool() - _elem744.read(iprot) - self.pools.append(_elem744) + (_etype749, _size746) = iprot.readListBegin() + for _i750 in xrange(_size746): + _elem751 = WMPool() + _elem751.read(iprot) + self.pools.append(_elem751) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype748, _size745) = iprot.readListBegin() - for _i749 in xrange(_size745): - _elem750 = WMMapping() - _elem750.read(iprot) - self.mappings.append(_elem750) + (_etype755, _size752) = iprot.readListBegin() + for _i756 in xrange(_size752): + _elem757 = WMMapping() + _elem757.read(iprot) + self.mappings.append(_elem757) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype754, _size751) = iprot.readListBegin() - for _i755 in xrange(_size751): - _elem756 = WMTrigger() - _elem756.read(iprot) - self.triggers.append(_elem756) + (_etype761, _size758) = iprot.readListBegin() + for _i762 in xrange(_size758): + _elem763 = WMTrigger() + _elem763.read(iprot) + self.triggers.append(_elem763) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype760, _size757) = iprot.readListBegin() - for _i761 in xrange(_size757): - _elem762 = WMPoolTrigger() - _elem762.read(iprot) - self.poolTriggers.append(_elem762) + (_etype767, _size764) = iprot.readListBegin() + for _i768 in xrange(_size764): + _elem769 = WMPoolTrigger() + _elem769.read(iprot) + self.poolTriggers.append(_elem769) iprot.readListEnd() else: iprot.skip(ftype) @@ -18002,29 +18150,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 iter763 in self.pools: - iter763.write(oprot) + for iter770 in self.pools: + iter770.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 iter764 in self.mappings: - iter764.write(oprot) + for iter771 in self.mappings: + iter771.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 iter765 in self.triggers: - iter765.write(oprot) + for iter772 in self.triggers: + iter772.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 iter766 in self.poolTriggers: - iter766.write(oprot) + for iter773 in self.poolTriggers: + iter773.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18498,11 +18646,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype770, _size767) = iprot.readListBegin() - for _i771 in xrange(_size767): - _elem772 = WMResourcePlan() - _elem772.read(iprot) - self.resourcePlans.append(_elem772) + (_etype777, _size774) = iprot.readListBegin() + for _i778 in xrange(_size774): + _elem779 = WMResourcePlan() + _elem779.read(iprot) + self.resourcePlans.append(_elem779) iprot.readListEnd() else: iprot.skip(ftype) @@ -18519,8 +18667,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 iter773 in self.resourcePlans: - iter773.write(oprot) + for iter780 in self.resourcePlans: + iter780.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18824,20 +18972,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype777, _size774) = iprot.readListBegin() - for _i778 in xrange(_size774): - _elem779 = iprot.readString() - self.errors.append(_elem779) + (_etype784, _size781) = iprot.readListBegin() + for _i785 in xrange(_size781): + _elem786 = iprot.readString() + self.errors.append(_elem786) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype783, _size780) = iprot.readListBegin() - for _i784 in xrange(_size780): - _elem785 = iprot.readString() - self.warnings.append(_elem785) + (_etype790, _size787) = iprot.readListBegin() + for _i791 in xrange(_size787): + _elem792 = iprot.readString() + self.warnings.append(_elem792) iprot.readListEnd() else: iprot.skip(ftype) @@ -18854,15 +19002,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 iter786 in self.errors: - oprot.writeString(iter786) + for iter793 in self.errors: + oprot.writeString(iter793) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter787 in self.warnings: - oprot.writeString(iter787) + for iter794 in self.warnings: + oprot.writeString(iter794) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19439,11 +19587,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype791, _size788) = iprot.readListBegin() - for _i792 in xrange(_size788): - _elem793 = WMTrigger() - _elem793.read(iprot) - self.triggers.append(_elem793) + (_etype798, _size795) = iprot.readListBegin() + for _i799 in xrange(_size795): + _elem800 = WMTrigger() + _elem800.read(iprot) + self.triggers.append(_elem800) iprot.readListEnd() else: iprot.skip(ftype) @@ -19460,8 +19608,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 iter794 in self.triggers: - iter794.write(oprot) + for iter801 in self.triggers: + iter801.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20645,11 +20793,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype798, _size795) = iprot.readListBegin() - for _i799 in xrange(_size795): - _elem800 = FieldSchema() - _elem800.read(iprot) - self.cols.append(_elem800) + (_etype805, _size802) = iprot.readListBegin() + for _i806 in xrange(_size802): + _elem807 = FieldSchema() + _elem807.read(iprot) + self.cols.append(_elem807) iprot.readListEnd() else: iprot.skip(ftype) @@ -20709,8 +20857,8 @@ def write(self, oprot): if self.cols is not None: oprot.writeFieldBegin('cols', TType.LIST, 4) oprot.writeListBegin(TType.STRUCT, len(self.cols)) - for iter801 in self.cols: - iter801.write(oprot) + for iter808 in self.cols: + iter808.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -20965,11 +21113,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype805, _size802) = iprot.readListBegin() - for _i806 in xrange(_size802): - _elem807 = SchemaVersionDescriptor() - _elem807.read(iprot) - self.schemaVersions.append(_elem807) + (_etype812, _size809) = iprot.readListBegin() + for _i813 in xrange(_size809): + _elem814 = SchemaVersionDescriptor() + _elem814.read(iprot) + self.schemaVersions.append(_elem814) iprot.readListEnd() else: iprot.skip(ftype) @@ -20986,8 +21134,8 @@ def write(self, oprot): if self.schemaVersions is not None: oprot.writeFieldBegin('schemaVersions', TType.LIST, 1) oprot.writeListBegin(TType.STRUCT, len(self.schemaVersions)) - for iter808 in self.schemaVersions: - iter808.write(oprot) + for iter815 in self.schemaVersions: + iter815.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 2687ce5..21dc708 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 @@ -2572,6 +2572,37 @@ class CommitTxnRequest ::Thrift::Struct.generate_accessors self end +class ReplTblWriteIdStateRequest + include ::Thrift::Struct, ::Thrift::Struct_Union + VALIDWRITEIDLIST = 1 + USER = 2 + HOSTNAME = 3 + DBNAME = 4 + TABLENAME = 5 + PARTNAMES = 6 + + FIELDS = { + VALIDWRITEIDLIST => {:type => ::Thrift::Types::STRING, :name => 'validWriteIdlist'}, + USER => {:type => ::Thrift::Types::STRING, :name => 'user'}, + HOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'hostName'}, + DBNAME => {:type => ::Thrift::Types::STRING, :name => 'dbName'}, + TABLENAME => {:type => ::Thrift::Types::STRING, :name => 'tableName'}, + PARTNAMES => {:type => ::Thrift::Types::LIST, :name => 'partNames', :element => {:type => ::Thrift::Types::STRING}, :optional => true} + } + + def struct_fields; FIELDS; end + + def validate + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field validWriteIdlist is unset!') unless @validWriteIdlist + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field user is unset!') unless @user + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field hostName is unset!') unless @hostName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field dbName is unset!') unless @dbName + raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Required field tableName is unset!') unless @tableName + end + + ::Thrift::Struct.generate_accessors self +end + class GetValidWriteIdsRequest include ::Thrift::Struct, ::Thrift::Struct_Union FULLTABLENAMES = 1 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 4de8bd3..7946b6c 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 @@ -2437,6 +2437,20 @@ module ThriftHiveMetastore return end + def repl_tbl_writeid_state(rqst) + send_repl_tbl_writeid_state(rqst) + recv_repl_tbl_writeid_state() + end + + def send_repl_tbl_writeid_state(rqst) + send_message('repl_tbl_writeid_state', Repl_tbl_writeid_state_args, :rqst => rqst) + end + + def recv_repl_tbl_writeid_state() + result = receive_message(Repl_tbl_writeid_state_result) + return + end + def get_valid_write_ids(rqst) send_get_valid_write_ids(rqst) return recv_get_valid_write_ids() @@ -5273,6 +5287,13 @@ module ThriftHiveMetastore write_result(result, oprot, 'commit_txn', seqid) end + def process_repl_tbl_writeid_state(seqid, iprot, oprot) + args = read_args(iprot, Repl_tbl_writeid_state_args) + result = Repl_tbl_writeid_state_result.new() + @handler.repl_tbl_writeid_state(args.rqst) + write_result(result, oprot, 'repl_tbl_writeid_state', seqid) + end + def process_get_valid_write_ids(seqid, iprot, oprot) args = read_args(iprot, Get_valid_write_ids_args) result = Get_valid_write_ids_result.new() @@ -11467,6 +11488,37 @@ module ThriftHiveMetastore ::Thrift::Struct.generate_accessors self end + class Repl_tbl_writeid_state_args + include ::Thrift::Struct, ::Thrift::Struct_Union + RQST = 1 + + FIELDS = { + RQST => {:type => ::Thrift::Types::STRUCT, :name => 'rqst', :class => ::ReplTblWriteIdStateRequest} + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + + class Repl_tbl_writeid_state_result + include ::Thrift::Struct, ::Thrift::Struct_Union + + FIELDS = { + + } + + def struct_fields; FIELDS; end + + def validate + end + + ::Thrift::Struct.generate_accessors self + end + class Get_valid_write_ids_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 397a081..92cd131 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 @@ -7022,6 +7022,11 @@ public void commit_txn(CommitTxnRequest rqst) throws TException { } @Override + public void repl_tbl_writeid_state(ReplTblWriteIdStateRequest rqst) throws TException { + getTxnHandler().replTableWriteIdState(rqst); + } + + @Override public GetValidWriteIdsResponse get_valid_write_ids(GetValidWriteIdsRequest rqst) throws TException { return getTxnHandler().getValidWriteIds(rqst); } 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 1c8d223..685bb68 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 @@ -2487,6 +2487,33 @@ public void abortTxns(List txnids) throws NoSuchTxnException, TException { } @Override + public void replTableWriteIdState(String validWriteIdList, String dbName, String tableName, List partNames) + throws TException { + String user; + try { + user = UserGroupInformation.getCurrentUser().getUserName(); + } catch (IOException e) { + LOG.error("Unable to resolve current user name " + e.getMessage()); + throw new RuntimeException(e); + } + + String hostName; + try { + hostName = InetAddress.getLocalHost().getHostName(); + } catch (UnknownHostException e) { + LOG.error("Unable to resolve my host name " + e.getMessage()); + throw new RuntimeException(e); + } + + ReplTblWriteIdStateRequest rqst + = new ReplTblWriteIdStateRequest(validWriteIdList, user, hostName, dbName, tableName); + if (partNames != null) { + rqst.setPartNames(partNames); + } + client.repl_tbl_writeid_state(rqst); + } + + @Override public long allocateTableWriteId(long txnId, String dbName, String tableName) throws TException { return allocateTableWriteIdsBatch(Collections.singletonList(txnId), dbName, tableName).get(0).getWriteId(); } 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 aee416d..1e02717 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 @@ -2820,14 +2820,14 @@ ValidTxnWriteIdList getValidWriteIds(Long currentTxnId, List tablesList, /** * Rollback a transaction. This will also unlock any locks associated with * this transaction. - * @param txnid id of transaction to be rolled back. + * @param srcTxnid id of transaction at source while is rolled back and to be replicated. * @param replPolicy the replication policy to identify the source cluster * @throws NoSuchTxnException if the requested transaction does not exist. * Note that this can result from the transaction having timed out and been * deleted. * @throws TException */ - void replRollbackTxn(long txnid, String replPolicy) throws NoSuchTxnException, TException; + void replRollbackTxn(long srcTxnid, String replPolicy) throws NoSuchTxnException, TException; /** * Commit a transaction. This will also unlock any locks associated with @@ -2846,7 +2846,7 @@ void commitTxn(long txnid) /** * Commit a transaction. This will also unlock any locks associated with * this transaction. - * @param txnid id of transaction to be committed. + * @param srcTxnid id of transaction at source which is committed and to be replicated. * @param replPolicy the replication policy to identify the source cluster * @throws NoSuchTxnException if the requested transaction does not exist. * This can result fro the transaction having timed out and been deleted by @@ -2855,7 +2855,7 @@ void commitTxn(long txnid) * aborted. This can result from the transaction timing out. * @throws TException */ - void replCommitTxn(long txnid, String replPolicy) + void replCommitTxn(long srcTxnid, String replPolicy) throws NoSuchTxnException, TxnAbortedException, TException; /** @@ -2874,6 +2874,17 @@ void replCommitTxn(long txnid, String replPolicy) long allocateTableWriteId(long txnId, String dbName, String tableName) throws TException; /** + * Replicate Table Write Ids state to mark aborted write ids and writeid high water mark. + * @param validWriteIdList Snapshot of writeid list when the table/partition is dumped. + * @param dbName Database name + * @param tableName Table which is written. + * @param partNames List of partitions being written. + * @throws TException in case of failure to replicate the writeid state + */ + void replTableWriteIdState(String validWriteIdList, String dbName, String tableName, List partNames) + throws TException; + + /** * Allocate a per table write ID and associate it with the given transaction. * @param txnIds ids of transaction batchto which the allocated write ID to be associated. * @param dbName name of DB in which the table belongs. diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ReplChangeManager.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ReplChangeManager.java index 7c1d5f5..abe1226 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ReplChangeManager.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ReplChangeManager.java @@ -64,25 +64,24 @@ } public static class FileInfo { - FileSystem srcFs; - Path sourcePath; - Path cmPath; - String checkSum; - boolean useSourcePath; - - public FileInfo(FileSystem srcFs, Path sourcePath) { - this.srcFs = srcFs; - this.sourcePath = sourcePath; - this.cmPath = null; - this.checkSum = null; - this.useSourcePath = true; + private FileSystem srcFs; + private Path sourcePath; + private Path cmPath; + private String checkSum; + private boolean useSourcePath; + private String subDir; + + public FileInfo(FileSystem srcFs, Path sourcePath, String subDir) { + this(srcFs, sourcePath, null, null, true, subDir); } - public FileInfo(FileSystem srcFs, Path sourcePath, Path cmPath, String checkSum, boolean useSourcePath) { + public FileInfo(FileSystem srcFs, Path sourcePath, Path cmPath, + String checkSum, boolean useSourcePath, String subDir) { this.srcFs = srcFs; this.sourcePath = sourcePath; this.cmPath = cmPath; this.checkSum = checkSum; this.useSourcePath = useSourcePath; + this.subDir = subDir; } public FileSystem getSrcFs() { return srcFs; @@ -102,6 +101,9 @@ public boolean isUseSourcePath() { public void setIsUseSourcePath(boolean useSourcePath) { this.useSourcePath = useSourcePath; } + public String getSubDir() { + return subDir; + } public Path getEffectivePath() { if (useSourcePath) { return sourcePath; @@ -301,20 +303,21 @@ static Path getCMPath(Configuration conf, String name, String checkSum) { * matches, return the file; otherwise, use chksumString to retrieve it from cmroot * @param src Original file location * @param checksumString Checksum of the original file + * @param subDir Sub directory to which the source file belongs to * @param conf * @return Corresponding FileInfo object */ - public static FileInfo getFileInfo(Path src, String checksumString, Configuration conf) + public static FileInfo getFileInfo(Path src, String checksumString, String subDir, Configuration conf) throws MetaException { try { FileSystem srcFs = src.getFileSystem(conf); if (checksumString == null) { - return new FileInfo(srcFs, src); + return new FileInfo(srcFs, src, subDir); } Path cmPath = getCMPath(conf, src.getName(), checksumString); if (!srcFs.exists(src)) { - return new FileInfo(srcFs, src, cmPath, checksumString, false); + return new FileInfo(srcFs, src, cmPath, checksumString, false, subDir); } String currentChecksumString; @@ -322,12 +325,12 @@ public static FileInfo getFileInfo(Path src, String checksumString, Configuratio currentChecksumString = checksumFor(src, srcFs); } catch (IOException ex) { // If the file is missing or getting modified, then refer CM path - return new FileInfo(srcFs, src, cmPath, checksumString, false); + return new FileInfo(srcFs, src, cmPath, checksumString, false, subDir); } if ((currentChecksumString == null) || checksumString.equals(currentChecksumString)) { - return new FileInfo(srcFs, src, cmPath, checksumString, true); + return new FileInfo(srcFs, src, cmPath, checksumString, true, subDir); } else { - return new FileInfo(srcFs, src, cmPath, checksumString, false); + return new FileInfo(srcFs, src, cmPath, checksumString, false, subDir); } } catch (IOException e) { throw new MetaException(StringUtils.stringifyException(e)); @@ -335,19 +338,24 @@ public static FileInfo getFileInfo(Path src, String checksumString, Configuratio } /*** - * Concatenate filename and checksum with "#" + * Concatenate filename, checksum and subdirectory with "#" * @param fileUriStr Filename string * @param fileChecksum Checksum string + * @param encodedSubDir sub directory path into which this file belongs to. Here encoded means, + * the multiple levels of subdirectories are concatenated with path separator "/" * @return Concatenated Uri string */ // TODO: this needs to be enhanced once change management based filesystem is implemented - // Currently using fileuri#checksum as the format - static public String encodeFileUri(String fileUriStr, String fileChecksum) { + // Currently using fileuri#checksum#subdirs as the format + public static String encodeFileUri(String fileUriStr, String fileChecksum, String encodedSubDir) { + String encodedUri = fileUriStr; if (fileChecksum != null) { - return fileUriStr + URI_FRAGMENT_SEPARATOR + fileChecksum; - } else { - return fileUriStr; + encodedUri = encodedUri + URI_FRAGMENT_SEPARATOR + fileChecksum; + } + if (encodedSubDir != null) { + encodedUri = encodedUri + URI_FRAGMENT_SEPARATOR + encodedSubDir; } + return encodedUri; } /*** @@ -357,11 +365,14 @@ static public String encodeFileUri(String fileUriStr, String fileChecksum) { */ static public String[] getFileWithChksumFromURI(String fileURIStr) { String[] uriAndFragment = fileURIStr.split(URI_FRAGMENT_SEPARATOR); - String[] result = new String[2]; + String[] result = new String[3]; result[0] = uriAndFragment[0]; if (uriAndFragment.length>1) { result[1] = uriAndFragment[1]; } + if (uriAndFragment.length>2) { + result[2] = uriAndFragment[2]; + } return result; } 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 db596a6..8863bca 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 @@ -62,6 +62,7 @@ import org.apache.hadoop.classification.InterfaceStability; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hive.common.ValidReadTxnList; +import org.apache.hadoop.hive.common.ValidReaderWriteIdList; import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.common.ValidWriteIdList; import org.apache.hadoop.hive.common.classification.RetrySemantics; @@ -104,6 +105,7 @@ import org.apache.hadoop.hive.metastore.api.OpenTxnRequest; import org.apache.hadoop.hive.metastore.api.OpenTxnsResponse; import org.apache.hadoop.hive.metastore.api.Partition; +import org.apache.hadoop.hive.metastore.api.ReplTblWriteIdStateRequest; import org.apache.hadoop.hive.metastore.api.ShowCompactRequest; import org.apache.hadoop.hive.metastore.api.ShowCompactResponse; import org.apache.hadoop.hive.metastore.api.ShowCompactResponseElement; @@ -557,7 +559,6 @@ public OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException { try { Connection dbConn = null; Statement stmt = null; - ResultSet rs = null; try { lockInternal(); /** @@ -583,111 +584,124 @@ public OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException { if (numTxns > maxTxns) numTxns = maxTxns; stmt = dbConn.createStatement(); + List txnIds = openTxns(dbConn, stmt, rqst); - if (rqst.isSetReplPolicy()) { - List targetTxnIdList = getTargetTxnIdList(rqst.getReplPolicy(), rqst.getReplSrcTxnIds(), stmt); - if (!targetTxnIdList.isEmpty()) { - if (targetTxnIdList.size() != rqst.getReplSrcTxnIds().size()) { - LOG.warn("target txn id number " + targetTxnIdList.toString() + - " is not matching with source txn id number " + rqst.getReplSrcTxnIds().toString()); - } - LOG.info("Target transactions " + targetTxnIdList.toString() + " are present for repl policy :" + - rqst.getReplPolicy() + " and Source transaction id : " + rqst.getReplSrcTxnIds().toString()); - return new OpenTxnsResponse(targetTxnIdList); - } - } - - String s = sqlGenerator.addForUpdateClause("select ntxn_next from NEXT_TXN_ID"); - LOG.debug("Going to execute query <" + s + ">"); - rs = stmt.executeQuery(s); - if (!rs.next()) { - throw new MetaException("Transaction database not properly " + - "configured, can't find next transaction id."); - } - long first = rs.getLong(1); - s = "update NEXT_TXN_ID set ntxn_next = " + (first + numTxns); - LOG.debug("Going to execute update <" + s + ">"); - stmt.executeUpdate(s); + LOG.debug("Going to commit"); + dbConn.commit(); + return new OpenTxnsResponse(txnIds); + } catch (SQLException e) { + LOG.debug("Going to rollback"); + rollbackDBConn(dbConn); + checkRetryable(dbConn, e, "openTxns(" + rqst + ")"); + throw new MetaException("Unable to select from transaction database " + + StringUtils.stringifyException(e)); + } finally { + close(null, stmt, dbConn); + unlockInternal(); + } + } catch (RetryException e) { + return openTxns(rqst); + } + } - long now = getDbTime(dbConn); - List txnIds = new ArrayList<>(numTxns); + private List openTxns(Connection dbConn, Statement stmt, OpenTxnRequest rqst) + throws SQLException, MetaException { + int numTxns = rqst.getNum_txns(); + ResultSet rs = null; + try { + if (rqst.isSetReplPolicy()) { + List targetTxnIdList = getTargetTxnIdList(rqst.getReplPolicy(), rqst.getReplSrcTxnIds(), stmt); - List rows = new ArrayList<>(); - for (long i = first; i < first + numTxns; i++) { - txnIds.add(i); - rows.add(i + "," + quoteChar(TXN_OPEN) + "," + now + "," + now + "," + quoteString(rqst.getUser()) + "," + quoteString(rqst.getHostname())); - } - List queries = sqlGenerator.createInsertValuesStmt( - "TXNS (txn_id, txn_state, txn_started, txn_last_heartbeat, txn_user, txn_host)", rows); - for (String q : queries) { - LOG.debug("Going to execute update <" + q + ">"); - stmt.execute(q); + if (!targetTxnIdList.isEmpty()) { + if (targetTxnIdList.size() != rqst.getReplSrcTxnIds().size()) { + LOG.warn("target txn id number " + targetTxnIdList.toString() + + " is not matching with source txn id number " + rqst.getReplSrcTxnIds().toString()); + } + LOG.info("Target transactions " + targetTxnIdList.toString() + " are present for repl policy :" + + rqst.getReplPolicy() + " and Source transaction id : " + rqst.getReplSrcTxnIds().toString()); + return targetTxnIdList; } + } - // Need to register minimum open txnid for current transactions into MIN_HISTORY table. - s = "select min(txn_id) from TXNS where txn_state = " + quoteChar(TXN_OPEN); - LOG.debug("Going to execute query <" + s + ">"); - rs = stmt.executeQuery(s); - if (!rs.next()) { - throw new IllegalStateException("Scalar query returned no rows?!?!!"); - } + String s = sqlGenerator.addForUpdateClause("select ntxn_next from NEXT_TXN_ID"); + LOG.debug("Going to execute query <" + s + ">"); + rs = stmt.executeQuery(s); + if (!rs.next()) { + throw new MetaException("Transaction database not properly " + + "configured, can't find next transaction id."); + } + long first = rs.getLong(1); + s = "update NEXT_TXN_ID set ntxn_next = " + (first + numTxns); + LOG.debug("Going to execute update <" + s + ">"); + stmt.executeUpdate(s); - // TXNS table should have atleast one entry because we just inserted the newly opened txns. - // So, min(txn_id) would be a non-zero txnid. - long minOpenTxnId = rs.getLong(1); - assert(minOpenTxnId > 0); - rows.clear(); - for (long txnId = first; txnId < first + numTxns; txnId++) { - rows.add(txnId + ", " + minOpenTxnId); - } + long now = getDbTime(dbConn); + List txnIds = new ArrayList<>(numTxns); - // Insert transaction entries into MIN_HISTORY_LEVEL. - List inserts = sqlGenerator.createInsertValuesStmt( - "MIN_HISTORY_LEVEL (mhl_txnid, mhl_min_open_txnid)", rows); - for (String insert : inserts) { - LOG.debug("Going to execute insert <" + insert + ">"); - stmt.execute(insert); - } - LOG.info("Added entries to MIN_HISTORY_LEVEL for current txns: (" + txnIds - + ") with min_open_txn: " + minOpenTxnId); + List rows = new ArrayList<>(); + for (long i = first; i < first + numTxns; i++) { + txnIds.add(i); + rows.add(i + "," + quoteChar(TXN_OPEN) + "," + now + "," + now + "," + + quoteString(rqst.getUser()) + "," + quoteString(rqst.getHostname())); + } + List queries = sqlGenerator.createInsertValuesStmt( + "TXNS (txn_id, txn_state, txn_started, txn_last_heartbeat, txn_user, txn_host)", rows); + for (String q : queries) { + LOG.debug("Going to execute update <" + q + ">"); + stmt.execute(q); + } - if (rqst.isSetReplPolicy()) { - List rowsRepl = new ArrayList<>(); + // Need to register minimum open txnid for current transactions into MIN_HISTORY table. + s = "select min(txn_id) from TXNS where txn_state = " + quoteChar(TXN_OPEN); + LOG.debug("Going to execute query <" + s + ">"); + rs = stmt.executeQuery(s); + if (!rs.next()) { + throw new IllegalStateException("Scalar query returned no rows?!?!!"); + } - for (int i = 0; i < numTxns; i++) { - rowsRepl.add( - quoteString(rqst.getReplPolicy()) + "," + rqst.getReplSrcTxnIds().get(i) + "," + txnIds.get(i)); - } + // TXNS table should have atleast one entry because we just inserted the newly opened txns. + // So, min(txn_id) would be a non-zero txnid. + long minOpenTxnId = rs.getLong(1); + assert (minOpenTxnId > 0); + rows.clear(); + for (long txnId = first; txnId < first + numTxns; txnId++) { + rows.add(txnId + ", " + minOpenTxnId); + } - List queriesRepl = sqlGenerator.createInsertValuesStmt( - "REPL_TXN_MAP (RTM_REPL_POLICY, RTM_SRC_TXN_ID, RTM_TARGET_TXN_ID)", rowsRepl); + // Insert transaction entries into MIN_HISTORY_LEVEL. + List inserts = sqlGenerator.createInsertValuesStmt( + "MIN_HISTORY_LEVEL (mhl_txnid, mhl_min_open_txnid)", rows); + for (String insert : inserts) { + LOG.debug("Going to execute insert <" + insert + ">"); + stmt.execute(insert); + } + LOG.info("Added entries to MIN_HISTORY_LEVEL for current txns: (" + txnIds + + ") with min_open_txn: " + minOpenTxnId); - for (String query : queriesRepl) { - LOG.info("Going to execute insert <" + query + ">"); - stmt.execute(query); - } + if (rqst.isSetReplPolicy()) { + List rowsRepl = new ArrayList<>(); + + for (int i = 0; i < numTxns; i++) { + rowsRepl.add( + quoteString(rqst.getReplPolicy()) + "," + rqst.getReplSrcTxnIds().get(i) + "," + txnIds.get(i)); } - if (transactionalListeners != null) { - MetaStoreListenerNotifier.notifyEventWithDirectSql(transactionalListeners, - EventMessage.EventType.OPEN_TXN, new OpenTxnEvent(txnIds, null), dbConn, sqlGenerator); + List queriesRepl = sqlGenerator.createInsertValuesStmt( + "REPL_TXN_MAP (RTM_REPL_POLICY, RTM_SRC_TXN_ID, RTM_TARGET_TXN_ID)", rowsRepl); + + for (String query : queriesRepl) { + LOG.info("Going to execute insert <" + query + ">"); + stmt.execute(query); } + } - LOG.debug("Going to commit"); - dbConn.commit(); - return new OpenTxnsResponse(txnIds); - } catch (SQLException e) { - LOG.debug("Going to rollback"); - rollbackDBConn(dbConn); - checkRetryable(dbConn, e, "openTxns(" + rqst + ")"); - throw new MetaException("Unable to select from transaction database " - + StringUtils.stringifyException(e)); - } finally { - close(rs, stmt, dbConn); - unlockInternal(); + if (transactionalListeners != null) { + MetaStoreListenerNotifier.notifyEventWithDirectSql(transactionalListeners, + EventMessage.EventType.OPEN_TXN, new OpenTxnEvent(txnIds, null), dbConn, sqlGenerator); } - } catch (RetryException e) { - return openTxns(rqst); + return txnIds; + } finally { + close(rs); } } @@ -1097,6 +1111,156 @@ public void commitTxn(CommitTxnRequest rqst) } } + /** + * Replicate Table Write Ids state to mark aborted write ids and writeid high water mark. + * @param rqst info on table/partitions and writeid snapshot to replicate. + * @throws MetaException + */ + @Override + @RetrySemantics.Idempotent("No-op if already replicated the writeid state") + public void replTableWriteIdState(ReplTblWriteIdStateRequest rqst) throws MetaException { + String dbName = rqst.getDbName().toLowerCase(); + String tblName = rqst.getTableName().toLowerCase(); + ValidWriteIdList validWriteIdList = new ValidReaderWriteIdList(rqst.getValidWriteIdlist()); + try { + Connection dbConn = null; + Statement stmt = null; + ResultSet rs = null; + TxnStore.MutexAPI.LockHandle handle = null; + try { + lockInternal(); + dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); + stmt = dbConn.createStatement(); + + // Clean the txn to writeid map/TXN_COMPONENTS for the given table as we bootstrap here + String sql = "delete from TXN_TO_WRITE_ID where t2w_database = " + quoteString(dbName) + + " and t2w_table = " + quoteString(tblName); + LOG.debug("Going to execute delete <" + sql + ">"); + stmt.executeUpdate(sql); + + sql = "delete from TXN_COMPONENTS where tc_database = " + quoteString(dbName) + + " and tc_table = " + quoteString(tblName); + LOG.debug("Going to execute delete <" + sql + ">"); + stmt.executeUpdate(sql); + + // Get the abortedWriteIds which are already sorted in ascending order. + List abortedWriteIds = getAbortedWriteIds(validWriteIdList); + int numAbortedWrites = abortedWriteIds.size(); + if (numAbortedWrites > 0) { + // Allocate/Map one txn per aborted writeId and abort the txn to mark writeid as aborted. + List txnIds = openTxns(dbConn, stmt, + new OpenTxnRequest(numAbortedWrites, rqst.getUser(), rqst.getHostName())); + assert(numAbortedWrites == txnIds.size()); + + // Map each aborted write id with each allocated txn. + List rows = new ArrayList<>(); + int i = 0; + for (long txn : txnIds) { + long writeId = abortedWriteIds.get(i++); + rows.add(txn + ", " + quoteString(dbName) + ", " + quoteString(tblName) + ", " + writeId); + LOG.info("Allocated writeID: " + writeId + " for txnId: " + txn); + } + + // Insert entries to TXN_TO_WRITE_ID for aborted write ids + List inserts = sqlGenerator.createInsertValuesStmt( + "TXN_TO_WRITE_ID (t2w_txnid, t2w_database, t2w_table, t2w_writeid)", rows); + for (String insert : inserts) { + LOG.debug("Going to execute insert <" + insert + ">"); + stmt.execute(insert); + } + + // Insert one entry per partition or table(unpartitioned table) to make sure auto compaction + // is triggered on them. + rows.clear(); + if (rqst.isSetPartNames()) { + for (String partName : rqst.getPartNames()) { + rows.add(txnIds.get(numAbortedWrites - 1) + ", " + + quoteString(dbName) + ", " + + quoteString(tblName) + ", " + + quoteString(partName) + ", " + + quoteString(OpertaionType.INSERT.toString()) + ", " + + abortedWriteIds.get(numAbortedWrites - 1)); + } + } else { + rows.add(txnIds.get(numAbortedWrites - 1) + ", " + + quoteString(dbName) + ", " + + quoteString(tblName) + ", " + + "null, " + + quoteString(OpertaionType.INSERT.toString()) + ", " + + abortedWriteIds.get(numAbortedWrites - 1)); + } + + inserts = sqlGenerator.createInsertValuesStmt( + "TXN_COMPONENTS (tc_txnid, tc_database, tc_table, tc_partition, tc_operation_type, tc_writeid)", + rows); + for (String insert : inserts) { + LOG.debug("Going to execute insert <" + insert + ">"); + stmt.execute(insert); + } + + // Abort all the allocated txns so that the mapped write ids are referred as aborted ones. + int numAborts = abortTxns(dbConn, txnIds, true); + assert(numAborts == numAbortedWrites); + } + handle = getMutexAPI().acquireLock(MUTEX_KEY.WriteIdAllocator.name()); + + // There are some txns in the list which has no write id allocated and hence go ahead and do it. + // Get the next write id for the given table and update it with new next write id. + // This is select for update query which takes a lock if the table entry is already there in NEXT_WRITE_ID + sql = sqlGenerator.addForUpdateClause( + "select nwi_next from NEXT_WRITE_ID where nwi_database = " + quoteString(dbName) + + " and nwi_table = " + quoteString(tblName)); + LOG.debug("Going to execute query <" + sql + ">"); + + long nextWriteId = validWriteIdList.getHighWatermark() + 1; + rs = stmt.executeQuery(sql); + if (!rs.next()) { + // First allocation of write id (hwm+1) should add the table to the next_write_id meta table. + sql = "insert into NEXT_WRITE_ID (nwi_database, nwi_table, nwi_next) values (" + + quoteString(dbName) + "," + quoteString(tblName) + "," + + Long.toString(nextWriteId) + ")"; + LOG.debug("Going to execute insert <" + sql + ">"); + stmt.execute(sql); + } else { + // Update the NEXT_WRITE_ID for the given table with hwm+1 from source + sql = "update NEXT_WRITE_ID set nwi_next = " + (nextWriteId) + + " where nwi_database = " + quoteString(dbName) + + " and nwi_table = " + quoteString(tblName); + LOG.debug("Going to execute update <" + sql + ">"); + stmt.executeUpdate(sql); + } + + LOG.debug("Going to commit"); + dbConn.commit(); + return; + } catch (SQLException e) { + LOG.debug("Going to rollback"); + rollbackDBConn(dbConn); + checkRetryable(dbConn, e, "replTableWriteIdState(" + rqst + ")"); + throw new MetaException("Unable to update transaction database " + + StringUtils.stringifyException(e)); + } finally { + close(rs, stmt, dbConn); + if(handle != null) { + handle.releaseLocks(); + } + unlockInternal(); + } + } catch (RetryException e) { + replTableWriteIdState(rqst); + } + } + + private List getAbortedWriteIds(ValidWriteIdList validWriteIdList) { + List abortedWriteIds = new ArrayList<>(); + for (long writeId : validWriteIdList.getInvalidWriteIds()) { + if (validWriteIdList.isWriteIdAborted(writeId)) { + abortedWriteIds.add(writeId); + } + } + return abortedWriteIds; + } + @Override @RetrySemantics.ReadOnly public GetValidWriteIdsResponse getValidWriteIds(GetValidWriteIdsRequest rqst) @@ -1336,7 +1500,7 @@ public AllocateTableWriteIdsResponse allocateTableWriteIds(AllocateTableWriteIds // The initial value for write id should be 1 and hence we add 1 with number of write ids allocated here writeId = 1; s = "insert into NEXT_WRITE_ID (nwi_database, nwi_table, nwi_next) values (" - + quoteString(dbName) + "," + quoteString(tblName) + "," + String.valueOf(numOfWriteIds + 1) + ")"; + + quoteString(dbName) + "," + quoteString(tblName) + "," + Long.toString(numOfWriteIds + 1) + ")"; LOG.debug("Going to execute insert <" + s + ">"); stmt.execute(s); } else { 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 6d8b845..b8e398f 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,7 +21,6 @@ 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.ValidWriteIdList; import org.apache.hadoop.hive.common.classification.RetrySemantics; import org.apache.hadoop.hive.metastore.api.*; @@ -117,13 +116,21 @@ void commitTxn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException; /** + * Replicate Table Write Ids state to mark aborted write ids and writeid high water mark. + * @param rqst info on table/partitions and writeid snapshot to replicate. + * @throws MetaException in case of failure + */ + @RetrySemantics.Idempotent + void replTableWriteIdState(ReplTblWriteIdStateRequest rqst) throws MetaException; + + /** * 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( + BasicTxnInfo getFirstCompletedTransactionForTableAfterCommit( String inputDbName, String inputTableName, ValidWriteIdList txnList) throws MetaException; /** diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java index 7b02865..6761208 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnUtils.java @@ -35,6 +35,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; +import java.util.Collections; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; @@ -55,24 +56,46 @@ * @return a valid txn list. */ public static ValidTxnList createValidReadTxnList(GetOpenTxnsResponse txns, long currentTxn) { - /*todo: should highWater be min(currentTxn,txns.getTxn_high_water_mark()) assuming currentTxn>0 + /* + * The highWaterMark should be min(currentTxn,txns.getTxn_high_water_mark()) assuming currentTxn>0 * otherwise if currentTxn=7 and 8 commits before 7, then 7 will see result of 8 which - * doesn't make sense for Snapshot Isolation. Of course for Read Committed, the list should - * inlude the latest committed set.*/ - long highWater = txns.getTxn_high_water_mark(); - List open = txns.getOpen_txns(); - BitSet abortedBits = BitSet.valueOf(txns.getAbortedBits()); - long[] exceptions = new long[open.size() - (currentTxn > 0 ? 1 : 0)]; + * doesn't make sense for Snapshot Isolation. Of course for Read Committed, the list should + * include the latest committed set. + */ + long highWaterMark = (currentTxn > 0) ? Math.min(currentTxn, txns.getTxn_high_water_mark()) + : txns.getTxn_high_water_mark(); + + // Open txns are already sorted in ascending order. This list may or may not include HWM + // but it is guaranteed that list won't have txn > HWM. But, if we overwrite the HWM with currentTxn + // then need to truncate the exceptions list accordingly. + List openTxns = txns.getOpen_txns(); + + // We care only about open/aborted txns below currentTxn and hence the size should be determined + // for the exceptions list. The currentTxn will be missing in openTxns list only in rare case like + // txn is aborted by AcidHouseKeeperService and compactor actually cleans up the aborted txns. + // So, for such cases, we get negative value for sizeToHwm with found position for currentTxn, and so, + // we just negate it to get the size. + int sizeToHwm = (currentTxn > 0) ? Collections.binarySearch(openTxns, currentTxn) : openTxns.size(); + sizeToHwm = (sizeToHwm < 0) ? (-sizeToHwm) : sizeToHwm; + long[] exceptions = new long[sizeToHwm]; + BitSet inAbortedBits = BitSet.valueOf(txns.getAbortedBits()); + BitSet outAbortedBits = new BitSet(); + long minOpenTxnId = Long.MAX_VALUE; int i = 0; - for (long txn : open) { - if (currentTxn > 0 && currentTxn == txn) continue; + for (long txn : openTxns) { + // For snapshot isolation, we don't care about txns greater than current txn and so stop here. + // Also, we need not include current txn to exceptions list. + if ((currentTxn > 0) && (txn >= currentTxn)) { + break; + } + if (inAbortedBits.get(i)) { + outAbortedBits.set(i); + } else if (minOpenTxnId == Long.MAX_VALUE) { + minOpenTxnId = txn; + } exceptions[i++] = txn; } - if (txns.isSetMin_open_txn()) { - return new ValidReadTxnList(exceptions, abortedBits, highWater, txns.getMin_open_txn()); - } else { - return new ValidReadTxnList(exceptions, abortedBits, highWater); - } + return new ValidReadTxnList(exceptions, outAbortedBits, highWaterMark, minOpenTxnId); } /** diff --git a/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index c56a4f9..363f69b 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -862,6 +862,15 @@ struct CommitTxnRequest { 2: optional string replPolicy, } +struct ReplTblWriteIdStateRequest { + 1: required string validWriteIdlist, + 2: required string user, + 3: required string hostName, + 4: required string dbName, + 5: required string tableName, + 6: optional list partNames, +} + // Request msg to get the valid write ids list for the given list of tables wrt to input validTxnList struct GetValidWriteIdsRequest { 1: required list fullTableNames, // Full table names of format . @@ -2060,6 +2069,7 @@ service ThriftHiveMetastore extends fb303.FacebookService void abort_txn(1:AbortTxnRequest rqst) throws (1:NoSuchTxnException o1) void abort_txns(1:AbortTxnsRequest rqst) throws (1:NoSuchTxnException o1) void commit_txn(1:CommitTxnRequest rqst) throws (1:NoSuchTxnException o1, 2:TxnAbortedException o2) + void repl_tbl_writeid_state(1: ReplTblWriteIdStateRequest rqst) GetValidWriteIdsResponse get_valid_write_ids(1:GetValidWriteIdsRequest rqst) throws (1:NoSuchTxnException o1, 2:MetaException o2) AllocateTableWriteIdsResponse allocate_table_write_ids(1:AllocateTableWriteIdsRequest rqst) diff --git a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java index bf87cfc..50d0579 100644 --- a/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java +++ b/standalone-metastore/src/test/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClientPreCatalog.java @@ -2224,6 +2224,33 @@ public void abortTxns(List txnids) throws NoSuchTxnException, TException { } @Override + public void replTableWriteIdState(String validWriteIdList, String dbName, String tableName, List partNames) + throws TException { + String user; + try { + user = UserGroupInformation.getCurrentUser().getUserName(); + } catch (IOException e) { + LOG.error("Unable to resolve current user name " + e.getMessage()); + throw new RuntimeException(e); + } + + String hostName; + try { + hostName = InetAddress.getLocalHost().getHostName(); + } catch (UnknownHostException e) { + LOG.error("Unable to resolve my host name " + e.getMessage()); + throw new RuntimeException(e); + } + + ReplTblWriteIdStateRequest rqst + = new ReplTblWriteIdStateRequest(validWriteIdList, user, hostName, dbName, tableName); + if (partNames != null) { + rqst.setPartNames(partNames); + } + client.repl_tbl_writeid_state(rqst); + } + + @Override public long allocateTableWriteId(long txnId, String dbName, String tableName) throws TException { return allocateTableWriteIdsBatch(Collections.singletonList(txnId), dbName, tableName).get(0).getWriteId(); } diff --git a/storage-api/src/java/org/apache/hadoop/hive/common/ValidReadTxnList.java b/storage-api/src/java/org/apache/hadoop/hive/common/ValidReadTxnList.java index dd432d9..b8ff03f 100644 --- a/storage-api/src/java/org/apache/hadoop/hive/common/ValidReadTxnList.java +++ b/storage-api/src/java/org/apache/hadoop/hive/common/ValidReadTxnList.java @@ -41,9 +41,6 @@ public ValidReadTxnList() { /** * Used if there are no open transactions in the snapshot */ - public ValidReadTxnList(long[] exceptions, BitSet abortedBits, long highWatermark) { - this(exceptions, abortedBits, highWatermark, Long.MAX_VALUE); - } public ValidReadTxnList(long[] exceptions, BitSet abortedBits, long highWatermark, long minOpenTxn) { if (exceptions.length > 0) { this.minOpenTxn = minOpenTxn;