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 7f21573..bffbbd8 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 @@ -238,7 +238,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 cac9922..705d18f 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 @@ -59,6 +59,8 @@ 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"); }}; primary = new WarehouseInstance(LOG, miniDFSCluster, overridesForHiveConf); replica = new WarehouseInstance(LOG, miniDFSCluster, overridesForHiveConf); @@ -66,6 +68,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 +96,52 @@ 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 testOpenTxnEvent() throws Throwable { String tableName = testName.getMethodName(); WarehouseInstance.Tuple bootStrapDump = primary.dump(primaryDbName, null); @@ -100,7 +150,8 @@ public void testOpenTxnEvent() throws Throwable { .verifyResult(bootStrapDump.lastReplicationId); // create table will start and coomit the transaction - primary.run("CREATE TABLE " + tableName + + primary.run("use " + primaryDbName) + .run("CREATE TABLE " + tableName + " (key int, value int) PARTITIONED BY (load_date date) " + "CLUSTERED BY(key) INTO 3 BUCKETS STORED AS ORC TBLPROPERTIES ('transactional'='true')") .run("SHOW TABLES LIKE '" + tableName + "'") @@ -114,6 +165,7 @@ public void testOpenTxnEvent() throws Throwable { replica.load(replicatedDbName, incrementalDump.dumpLocation) .run("REPL STATUS " + replicatedDbName) .verifyResult(incrementalDump.lastReplicationId) + .run("use " + replicatedDbName) .run("SHOW TABLES LIKE '" + tableName + "'") .verifyResult(tableName); @@ -135,7 +187,8 @@ public void testAbortTxnEvent() throws Throwable { .verifyResult(bootStrapDump.lastReplicationId); // this should fail - primary.runFailure("CREATE TABLE " + tableNameFail + + primary.run("use " + primaryDbName) + .runFailure("CREATE TABLE " + tableNameFail + " (key int, value int) PARTITIONED BY (load_date date) " + "CLUSTERED BY(key) ('transactional'='true')") .run("SHOW TABLES LIKE '" + tableNameFail + "'") @@ -146,6 +199,7 @@ public void testAbortTxnEvent() throws Throwable { replica.load(replicatedDbName, incrementalDump.dumpLocation) .run("REPL STATUS " + replicatedDbName) .verifyResult(incrementalDump.lastReplicationId) + .run("use " + replicatedDbName) .run("SHOW TABLES LIKE '" + tableNameFail + "'") .verifyFailure(new String[]{tableNameFail}); @@ -165,7 +219,8 @@ public void testTxnEventNonAcid() throws Throwable { .run("REPL STATUS " + replicatedDbName) .verifyResult(bootStrapDump.lastReplicationId); - primary.run("CREATE TABLE " + tableName + + primary.run("use " + primaryDbName) + .run("CREATE TABLE " + tableName + " (key int, value int) PARTITIONED BY (load_date date) " + "CLUSTERED BY(key) INTO 3 BUCKETS STORED AS ORC TBLPROPERTIES ('transactional'='true')") .run("SHOW TABLES LIKE '" + tableName + "'") 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 1cdeeb6..cacbcf4 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 @@ -20,6 +20,7 @@ import org.apache.hadoop.hive.ql.DriverContext; import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; +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; @@ -47,8 +48,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 + " with srcTxn " + work.getTxnIds().toString()); switch(work.getOperationType()) { case REPL_OPEN_TXN: List txnIds = txnManager.replOpenTxn(replPolicy, work.getTxnIds(), user); @@ -68,6 +67,13 @@ public int execute(DriverContext driverContext) { LOG.info("Replayed CommitTxn Event for policy " + replPolicy + " with srcTxn " + txnId); } 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 "); return 1; 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 10a2ed2..3646184 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..4de6320 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; @@ -66,6 +70,7 @@ import java.io.Serializable; import java.util.Arrays; +import java.util.Collections; import java.util.List; import java.util.UUID; @@ -204,6 +209,7 @@ private Long bootStrapDump(Path dumpRoot, DumpMetaData dmd, Path cmRoot) throws // bootstrap case Hive hiveDb = getHive(); Long bootDumpBeginReplId = hiveDb.getMSC().getCurrentNotificationEventId().getEventId(); + String validTxnList = getValidTxnsList(); for (String dbName : Utils.matchesDb(hiveDb, work.dbNameOrPattern)) { LOG.debug("ReplicationSemanticAnalyzer: analyzeReplDump dumping db: " + dbName); replLogger = new BootstrapDumpLogger(dbName, dumpRoot.toString(), @@ -217,7 +223,7 @@ private Long bootStrapDump(Path dumpRoot, DumpMetaData dmd, Path cmRoot) throws 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); @@ -267,7 +273,7 @@ private Path dumpDbMetadata(String dbName, Path dumpRoot) throws Exception { 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 +282,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 +295,26 @@ private void dumpTable(String dbName, String tblName, Path dbRoot) throws Except } } + private String getValidTxnsList() throws LockException { + String validTxnString = conf.get(ValidTxnList.VALID_TXNS_KEY); + if ((validTxnString == null) || validTxnString.isEmpty()) { + ValidTxnList txnList = work.getTxnManager().getValidTxns(); + validTxnString = txnList.toString(); + } + return validTxnString; + } + + 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 = work.getTxnManager() + .getValidWriteIds(Collections.singletonList(fullTableName), validTxnString) + .getTableValidWriteIdList(fullTableName); + return ((validWriteIds != null) ? validWriteIds.toString() : null); + } + 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..00cceb9 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 @@ -18,6 +18,7 @@ package org.apache.hadoop.hive.ql.exec.repl; import com.google.common.primitives.Ints; +import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; import org.apache.hadoop.hive.ql.metadata.Hive; import org.apache.hadoop.hive.ql.plan.Explain; import org.slf4j.LoggerFactory; @@ -32,6 +33,7 @@ final Long eventFrom; Long eventTo; private Integer maxEventLimit; + final HiveTxnManager txnManager; static String testInjectDumpDir = null; public static void injectNextDumpDirForTest(String dumpDir) { @@ -39,8 +41,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, HiveTxnManager txnManager) { this.dbNameOrPattern = dbNameOrPattern; this.tableNameOrPattern = tableNameOrPattern; this.eventFrom = eventFrom; @@ -48,12 +50,17 @@ public ReplDumpWork(String dbNameOrPattern, String tableNameOrPattern, this.astRepresentationForErrorMsg = astRepresentationForErrorMsg; this.maxEventLimit = maxEventLimit; this.resultTempPath = resultTempPath; + this.txnManager = txnManager; } boolean isBootStrapDump() { return eventFrom == null; } + HiveTxnManager getTxnManager() { + return txnManager; + } + int maxEventLimit() throws Exception { if (eventTo < eventFrom) { throw new Exception("Invalid event ID input received in TO clause"); 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 06adc64..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,6 +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.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; @@ -44,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; @@ -55,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; @@ -137,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()) { @@ -237,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, - SessionState.get().getTxnMgr().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 1395027..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,6 +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.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; @@ -41,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; @@ -186,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); @@ -196,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); } @@ -226,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? - SessionState.get().getTxnMgr().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/io/AcidUtils.java b/ql/src/java/org/apache/hadoop/hive/ql/io/AcidUtils.java index 44a7496..32110c2 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; @@ -1795,6 +1796,29 @@ public static int getAcidVersionFromMetaFile(Path deltaOrBaseDir, FileSystem fs) return fileList; } + public static List getAcidPathsForReplDump(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; + } + 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 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 f566842..f9fbf51 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 9057bb9..239693f 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 @@ -229,6 +229,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 e0e235b..06ba04b 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 @@ -55,7 +55,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. @@ -63,7 +63,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. @@ -71,7 +71,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/LoadSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/LoadSemanticAnalyzer.java index e49089b..fc76ea5 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 79b2e48..828f896 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 @@ -187,7 +187,8 @@ private void analyzeReplDump(ASTNode ast) throws SemanticException { eventTo, ErrorMsg.INVALID_PATH.getMsg(ast), maxEventLimit, - ctx.getResFile().toUri().toString() + ctx.getResFile().toUri().toString(), + txnManager ), conf); rootTasks.add(replDumpWorkTask); if (dbNameOrPattern != null) { 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/PartitionExport.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/PartitionExport.java index 5844f3d..7678fe4 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.getAcidPathsForReplDump(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..45c467f 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.getAcidPathsForReplDump(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..86322ed 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,67 @@ 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, 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 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; + } + 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 5b2c85b..690e360 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/CommitTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CommitTxnHandler.java index 461a0f1..70ad341 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 c6349ea..66d97cc 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 5fbd33f..eb0ad65 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 79% 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 9467415..a2bba13 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,12 +15,11 @@ * 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 com.google.common.collect.Lists; -import org.apache.hadoop.hive.ql.plan.Explain; import org.apache.hadoop.hive.ql.plan.Explain.Level; import java.util.List; @@ -33,6 +32,8 @@ private static final long serialVersionUID = 1L; private String dbName; private String tableName; + private List partNames; + private String validWriteIdList; private List txnIds; /** @@ -40,7 +41,7 @@ * Different kind of events supported for replaying. */ public enum OperationType { - REPL_OPEN_TXN, REPL_ABORT_TXN, REPL_COMMIT_TXN + REPL_OPEN_TXN, REPL_ABORT_TXN, REPL_COMMIT_TXN, REPL_WRITEID_STATE } OperationType operation; @@ -59,12 +60,17 @@ public ReplTxnWork(String dbName, String tableName, Long txnId, OperationType ty this.operation = type; } - public List getTxnIds() { - return txnIds; + 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 Long getTxnId(int idx) { - return txnIds.get(idx); + public List getTxnIds() { + return txnIds; } public String getDbName() { @@ -75,6 +81,14 @@ public String getTableName() { return tableName; } + public List getPartNames() { + return partNames; + } + + public String getValidWriteIdList() { + return validWriteIdList; + } + public String getReplPolicy() { if ((dbName == null) || (dbName.isEmpty())) { return null; diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index fd52f09..1d67080 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 _size1181; - ::apache::thrift::protocol::TType _etype1184; - xfer += iprot->readListBegin(_etype1184, _size1181); - this->success.resize(_size1181); - uint32_t _i1185; - for (_i1185 = 0; _i1185 < _size1181; ++_i1185) + uint32_t _size1189; + ::apache::thrift::protocol::TType _etype1192; + xfer += iprot->readListBegin(_etype1192, _size1189); + this->success.resize(_size1189); + uint32_t _i1193; + for (_i1193 = 0; _i1193 < _size1189; ++_i1193) { - xfer += iprot->readString(this->success[_i1185]); + xfer += iprot->readString(this->success[_i1193]); } 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 _iter1186; - for (_iter1186 = this->success.begin(); _iter1186 != this->success.end(); ++_iter1186) + std::vector ::const_iterator _iter1194; + for (_iter1194 = this->success.begin(); _iter1194 != this->success.end(); ++_iter1194) { - xfer += oprot->writeString((*_iter1186)); + xfer += oprot->writeString((*_iter1194)); } 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 _size1187; - ::apache::thrift::protocol::TType _etype1190; - xfer += iprot->readListBegin(_etype1190, _size1187); - (*(this->success)).resize(_size1187); - uint32_t _i1191; - for (_i1191 = 0; _i1191 < _size1187; ++_i1191) + uint32_t _size1195; + ::apache::thrift::protocol::TType _etype1198; + xfer += iprot->readListBegin(_etype1198, _size1195); + (*(this->success)).resize(_size1195); + uint32_t _i1199; + for (_i1199 = 0; _i1199 < _size1195; ++_i1199) { - xfer += iprot->readString((*(this->success))[_i1191]); + xfer += iprot->readString((*(this->success))[_i1199]); } 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 _size1192; - ::apache::thrift::protocol::TType _etype1195; - xfer += iprot->readListBegin(_etype1195, _size1192); - this->success.resize(_size1192); - uint32_t _i1196; - for (_i1196 = 0; _i1196 < _size1192; ++_i1196) + uint32_t _size1200; + ::apache::thrift::protocol::TType _etype1203; + xfer += iprot->readListBegin(_etype1203, _size1200); + this->success.resize(_size1200); + uint32_t _i1204; + for (_i1204 = 0; _i1204 < _size1200; ++_i1204) { - xfer += iprot->readString(this->success[_i1196]); + xfer += iprot->readString(this->success[_i1204]); } 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 _iter1197; - for (_iter1197 = this->success.begin(); _iter1197 != this->success.end(); ++_iter1197) + std::vector ::const_iterator _iter1205; + for (_iter1205 = this->success.begin(); _iter1205 != this->success.end(); ++_iter1205) { - xfer += oprot->writeString((*_iter1197)); + xfer += oprot->writeString((*_iter1205)); } 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 _size1198; - ::apache::thrift::protocol::TType _etype1201; - xfer += iprot->readListBegin(_etype1201, _size1198); - (*(this->success)).resize(_size1198); - uint32_t _i1202; - for (_i1202 = 0; _i1202 < _size1198; ++_i1202) + uint32_t _size1206; + ::apache::thrift::protocol::TType _etype1209; + xfer += iprot->readListBegin(_etype1209, _size1206); + (*(this->success)).resize(_size1206); + uint32_t _i1210; + for (_i1210 = 0; _i1210 < _size1206; ++_i1210) { - xfer += iprot->readString((*(this->success))[_i1202]); + xfer += iprot->readString((*(this->success))[_i1210]); } 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 _size1203; - ::apache::thrift::protocol::TType _ktype1204; - ::apache::thrift::protocol::TType _vtype1205; - xfer += iprot->readMapBegin(_ktype1204, _vtype1205, _size1203); - uint32_t _i1207; - for (_i1207 = 0; _i1207 < _size1203; ++_i1207) + uint32_t _size1211; + ::apache::thrift::protocol::TType _ktype1212; + ::apache::thrift::protocol::TType _vtype1213; + xfer += iprot->readMapBegin(_ktype1212, _vtype1213, _size1211); + uint32_t _i1215; + for (_i1215 = 0; _i1215 < _size1211; ++_i1215) { - std::string _key1208; - xfer += iprot->readString(_key1208); - Type& _val1209 = this->success[_key1208]; - xfer += _val1209.read(iprot); + std::string _key1216; + xfer += iprot->readString(_key1216); + Type& _val1217 = this->success[_key1216]; + xfer += _val1217.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 _iter1210; - for (_iter1210 = this->success.begin(); _iter1210 != this->success.end(); ++_iter1210) + std::map ::const_iterator _iter1218; + for (_iter1218 = this->success.begin(); _iter1218 != this->success.end(); ++_iter1218) { - xfer += oprot->writeString(_iter1210->first); - xfer += _iter1210->second.write(oprot); + xfer += oprot->writeString(_iter1218->first); + xfer += _iter1218->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 _size1211; - ::apache::thrift::protocol::TType _ktype1212; - ::apache::thrift::protocol::TType _vtype1213; - xfer += iprot->readMapBegin(_ktype1212, _vtype1213, _size1211); - uint32_t _i1215; - for (_i1215 = 0; _i1215 < _size1211; ++_i1215) + uint32_t _size1219; + ::apache::thrift::protocol::TType _ktype1220; + ::apache::thrift::protocol::TType _vtype1221; + xfer += iprot->readMapBegin(_ktype1220, _vtype1221, _size1219); + uint32_t _i1223; + for (_i1223 = 0; _i1223 < _size1219; ++_i1223) { - std::string _key1216; - xfer += iprot->readString(_key1216); - Type& _val1217 = (*(this->success))[_key1216]; - xfer += _val1217.read(iprot); + std::string _key1224; + xfer += iprot->readString(_key1224); + Type& _val1225 = (*(this->success))[_key1224]; + xfer += _val1225.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 _size1218; - ::apache::thrift::protocol::TType _etype1221; - xfer += iprot->readListBegin(_etype1221, _size1218); - this->success.resize(_size1218); - uint32_t _i1222; - for (_i1222 = 0; _i1222 < _size1218; ++_i1222) + uint32_t _size1226; + ::apache::thrift::protocol::TType _etype1229; + xfer += iprot->readListBegin(_etype1229, _size1226); + this->success.resize(_size1226); + uint32_t _i1230; + for (_i1230 = 0; _i1230 < _size1226; ++_i1230) { - xfer += this->success[_i1222].read(iprot); + xfer += this->success[_i1230].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 _iter1223; - for (_iter1223 = this->success.begin(); _iter1223 != this->success.end(); ++_iter1223) + std::vector ::const_iterator _iter1231; + for (_iter1231 = this->success.begin(); _iter1231 != this->success.end(); ++_iter1231) { - xfer += (*_iter1223).write(oprot); + xfer += (*_iter1231).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 _size1224; - ::apache::thrift::protocol::TType _etype1227; - xfer += iprot->readListBegin(_etype1227, _size1224); - (*(this->success)).resize(_size1224); - uint32_t _i1228; - for (_i1228 = 0; _i1228 < _size1224; ++_i1228) + uint32_t _size1232; + ::apache::thrift::protocol::TType _etype1235; + xfer += iprot->readListBegin(_etype1235, _size1232); + (*(this->success)).resize(_size1232); + uint32_t _i1236; + for (_i1236 = 0; _i1236 < _size1232; ++_i1236) { - xfer += (*(this->success))[_i1228].read(iprot); + xfer += (*(this->success))[_i1236].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 _size1229; - ::apache::thrift::protocol::TType _etype1232; - xfer += iprot->readListBegin(_etype1232, _size1229); - this->success.resize(_size1229); - uint32_t _i1233; - for (_i1233 = 0; _i1233 < _size1229; ++_i1233) + uint32_t _size1237; + ::apache::thrift::protocol::TType _etype1240; + xfer += iprot->readListBegin(_etype1240, _size1237); + this->success.resize(_size1237); + uint32_t _i1241; + for (_i1241 = 0; _i1241 < _size1237; ++_i1241) { - xfer += this->success[_i1233].read(iprot); + xfer += this->success[_i1241].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 _iter1234; - for (_iter1234 = this->success.begin(); _iter1234 != this->success.end(); ++_iter1234) + std::vector ::const_iterator _iter1242; + for (_iter1242 = this->success.begin(); _iter1242 != this->success.end(); ++_iter1242) { - xfer += (*_iter1234).write(oprot); + xfer += (*_iter1242).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 _size1235; - ::apache::thrift::protocol::TType _etype1238; - xfer += iprot->readListBegin(_etype1238, _size1235); - (*(this->success)).resize(_size1235); - uint32_t _i1239; - for (_i1239 = 0; _i1239 < _size1235; ++_i1239) + uint32_t _size1243; + ::apache::thrift::protocol::TType _etype1246; + xfer += iprot->readListBegin(_etype1246, _size1243); + (*(this->success)).resize(_size1243); + uint32_t _i1247; + for (_i1247 = 0; _i1247 < _size1243; ++_i1247) { - xfer += (*(this->success))[_i1239].read(iprot); + xfer += (*(this->success))[_i1247].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 _size1240; - ::apache::thrift::protocol::TType _etype1243; - xfer += iprot->readListBegin(_etype1243, _size1240); - this->success.resize(_size1240); - uint32_t _i1244; - for (_i1244 = 0; _i1244 < _size1240; ++_i1244) + uint32_t _size1248; + ::apache::thrift::protocol::TType _etype1251; + xfer += iprot->readListBegin(_etype1251, _size1248); + this->success.resize(_size1248); + uint32_t _i1252; + for (_i1252 = 0; _i1252 < _size1248; ++_i1252) { - xfer += this->success[_i1244].read(iprot); + xfer += this->success[_i1252].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 _iter1245; - for (_iter1245 = this->success.begin(); _iter1245 != this->success.end(); ++_iter1245) + std::vector ::const_iterator _iter1253; + for (_iter1253 = this->success.begin(); _iter1253 != this->success.end(); ++_iter1253) { - xfer += (*_iter1245).write(oprot); + xfer += (*_iter1253).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 _size1246; - ::apache::thrift::protocol::TType _etype1249; - xfer += iprot->readListBegin(_etype1249, _size1246); - (*(this->success)).resize(_size1246); - uint32_t _i1250; - for (_i1250 = 0; _i1250 < _size1246; ++_i1250) + uint32_t _size1254; + ::apache::thrift::protocol::TType _etype1257; + xfer += iprot->readListBegin(_etype1257, _size1254); + (*(this->success)).resize(_size1254); + uint32_t _i1258; + for (_i1258 = 0; _i1258 < _size1254; ++_i1258) { - xfer += (*(this->success))[_i1250].read(iprot); + xfer += (*(this->success))[_i1258].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 _size1251; - ::apache::thrift::protocol::TType _etype1254; - xfer += iprot->readListBegin(_etype1254, _size1251); - this->success.resize(_size1251); - uint32_t _i1255; - for (_i1255 = 0; _i1255 < _size1251; ++_i1255) + uint32_t _size1259; + ::apache::thrift::protocol::TType _etype1262; + xfer += iprot->readListBegin(_etype1262, _size1259); + this->success.resize(_size1259); + uint32_t _i1263; + for (_i1263 = 0; _i1263 < _size1259; ++_i1263) { - xfer += this->success[_i1255].read(iprot); + xfer += this->success[_i1263].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 _iter1256; - for (_iter1256 = this->success.begin(); _iter1256 != this->success.end(); ++_iter1256) + std::vector ::const_iterator _iter1264; + for (_iter1264 = this->success.begin(); _iter1264 != this->success.end(); ++_iter1264) { - xfer += (*_iter1256).write(oprot); + xfer += (*_iter1264).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 _size1257; - ::apache::thrift::protocol::TType _etype1260; - xfer += iprot->readListBegin(_etype1260, _size1257); - (*(this->success)).resize(_size1257); - uint32_t _i1261; - for (_i1261 = 0; _i1261 < _size1257; ++_i1261) + uint32_t _size1265; + ::apache::thrift::protocol::TType _etype1268; + xfer += iprot->readListBegin(_etype1268, _size1265); + (*(this->success)).resize(_size1265); + uint32_t _i1269; + for (_i1269 = 0; _i1269 < _size1265; ++_i1269) { - xfer += (*(this->success))[_i1261].read(iprot); + xfer += (*(this->success))[_i1269].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 _size1262; - ::apache::thrift::protocol::TType _etype1265; - xfer += iprot->readListBegin(_etype1265, _size1262); - this->primaryKeys.resize(_size1262); - uint32_t _i1266; - for (_i1266 = 0; _i1266 < _size1262; ++_i1266) + uint32_t _size1270; + ::apache::thrift::protocol::TType _etype1273; + xfer += iprot->readListBegin(_etype1273, _size1270); + this->primaryKeys.resize(_size1270); + uint32_t _i1274; + for (_i1274 = 0; _i1274 < _size1270; ++_i1274) { - xfer += this->primaryKeys[_i1266].read(iprot); + xfer += this->primaryKeys[_i1274].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 _size1267; - ::apache::thrift::protocol::TType _etype1270; - xfer += iprot->readListBegin(_etype1270, _size1267); - this->foreignKeys.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->foreignKeys.resize(_size1275); + uint32_t _i1279; + for (_i1279 = 0; _i1279 < _size1275; ++_i1279) { - xfer += this->foreignKeys[_i1271].read(iprot); + xfer += this->foreignKeys[_i1279].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 _size1272; - ::apache::thrift::protocol::TType _etype1275; - xfer += iprot->readListBegin(_etype1275, _size1272); - this->uniqueConstraints.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->uniqueConstraints.resize(_size1280); + uint32_t _i1284; + for (_i1284 = 0; _i1284 < _size1280; ++_i1284) { - xfer += this->uniqueConstraints[_i1276].read(iprot); + xfer += this->uniqueConstraints[_i1284].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 _size1277; - ::apache::thrift::protocol::TType _etype1280; - xfer += iprot->readListBegin(_etype1280, _size1277); - this->notNullConstraints.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->notNullConstraints.resize(_size1285); + uint32_t _i1289; + for (_i1289 = 0; _i1289 < _size1285; ++_i1289) { - xfer += this->notNullConstraints[_i1281].read(iprot); + xfer += this->notNullConstraints[_i1289].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 _size1282; - ::apache::thrift::protocol::TType _etype1285; - xfer += iprot->readListBegin(_etype1285, _size1282); - this->defaultConstraints.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->defaultConstraints.resize(_size1290); + uint32_t _i1294; + for (_i1294 = 0; _i1294 < _size1290; ++_i1294) { - xfer += this->defaultConstraints[_i1286].read(iprot); + xfer += this->defaultConstraints[_i1294].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 _size1287; - ::apache::thrift::protocol::TType _etype1290; - xfer += iprot->readListBegin(_etype1290, _size1287); - this->checkConstraints.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->checkConstraints.resize(_size1295); + uint32_t _i1299; + for (_i1299 = 0; _i1299 < _size1295; ++_i1299) { - xfer += this->checkConstraints[_i1291].read(iprot); + xfer += this->checkConstraints[_i1299].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 _iter1292; - for (_iter1292 = this->primaryKeys.begin(); _iter1292 != this->primaryKeys.end(); ++_iter1292) + std::vector ::const_iterator _iter1300; + for (_iter1300 = this->primaryKeys.begin(); _iter1300 != this->primaryKeys.end(); ++_iter1300) { - xfer += (*_iter1292).write(oprot); + xfer += (*_iter1300).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 _iter1293; - for (_iter1293 = this->foreignKeys.begin(); _iter1293 != this->foreignKeys.end(); ++_iter1293) + std::vector ::const_iterator _iter1301; + for (_iter1301 = this->foreignKeys.begin(); _iter1301 != this->foreignKeys.end(); ++_iter1301) { - xfer += (*_iter1293).write(oprot); + xfer += (*_iter1301).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 _iter1294; - for (_iter1294 = this->uniqueConstraints.begin(); _iter1294 != this->uniqueConstraints.end(); ++_iter1294) + std::vector ::const_iterator _iter1302; + for (_iter1302 = this->uniqueConstraints.begin(); _iter1302 != this->uniqueConstraints.end(); ++_iter1302) { - xfer += (*_iter1294).write(oprot); + xfer += (*_iter1302).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 _iter1295; - for (_iter1295 = this->notNullConstraints.begin(); _iter1295 != this->notNullConstraints.end(); ++_iter1295) + std::vector ::const_iterator _iter1303; + for (_iter1303 = this->notNullConstraints.begin(); _iter1303 != this->notNullConstraints.end(); ++_iter1303) { - xfer += (*_iter1295).write(oprot); + xfer += (*_iter1303).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 _iter1296; - for (_iter1296 = this->defaultConstraints.begin(); _iter1296 != this->defaultConstraints.end(); ++_iter1296) + std::vector ::const_iterator _iter1304; + for (_iter1304 = this->defaultConstraints.begin(); _iter1304 != this->defaultConstraints.end(); ++_iter1304) { - xfer += (*_iter1296).write(oprot); + xfer += (*_iter1304).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 _iter1297; - for (_iter1297 = this->checkConstraints.begin(); _iter1297 != this->checkConstraints.end(); ++_iter1297) + std::vector ::const_iterator _iter1305; + for (_iter1305 = this->checkConstraints.begin(); _iter1305 != this->checkConstraints.end(); ++_iter1305) { - xfer += (*_iter1297).write(oprot); + xfer += (*_iter1305).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 _iter1298; - for (_iter1298 = (*(this->primaryKeys)).begin(); _iter1298 != (*(this->primaryKeys)).end(); ++_iter1298) + std::vector ::const_iterator _iter1306; + for (_iter1306 = (*(this->primaryKeys)).begin(); _iter1306 != (*(this->primaryKeys)).end(); ++_iter1306) { - xfer += (*_iter1298).write(oprot); + xfer += (*_iter1306).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 _iter1299; - for (_iter1299 = (*(this->foreignKeys)).begin(); _iter1299 != (*(this->foreignKeys)).end(); ++_iter1299) + std::vector ::const_iterator _iter1307; + for (_iter1307 = (*(this->foreignKeys)).begin(); _iter1307 != (*(this->foreignKeys)).end(); ++_iter1307) { - xfer += (*_iter1299).write(oprot); + xfer += (*_iter1307).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 _iter1300; - for (_iter1300 = (*(this->uniqueConstraints)).begin(); _iter1300 != (*(this->uniqueConstraints)).end(); ++_iter1300) + std::vector ::const_iterator _iter1308; + for (_iter1308 = (*(this->uniqueConstraints)).begin(); _iter1308 != (*(this->uniqueConstraints)).end(); ++_iter1308) { - xfer += (*_iter1300).write(oprot); + xfer += (*_iter1308).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 _iter1301; - for (_iter1301 = (*(this->notNullConstraints)).begin(); _iter1301 != (*(this->notNullConstraints)).end(); ++_iter1301) + std::vector ::const_iterator _iter1309; + for (_iter1309 = (*(this->notNullConstraints)).begin(); _iter1309 != (*(this->notNullConstraints)).end(); ++_iter1309) { - xfer += (*_iter1301).write(oprot); + xfer += (*_iter1309).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 _iter1302; - for (_iter1302 = (*(this->defaultConstraints)).begin(); _iter1302 != (*(this->defaultConstraints)).end(); ++_iter1302) + std::vector ::const_iterator _iter1310; + for (_iter1310 = (*(this->defaultConstraints)).begin(); _iter1310 != (*(this->defaultConstraints)).end(); ++_iter1310) { - xfer += (*_iter1302).write(oprot); + xfer += (*_iter1310).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 _iter1303; - for (_iter1303 = (*(this->checkConstraints)).begin(); _iter1303 != (*(this->checkConstraints)).end(); ++_iter1303) + std::vector ::const_iterator _iter1311; + for (_iter1311 = (*(this->checkConstraints)).begin(); _iter1311 != (*(this->checkConstraints)).end(); ++_iter1311) { - xfer += (*_iter1303).write(oprot); + xfer += (*_iter1311).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 _size1304; - ::apache::thrift::protocol::TType _etype1307; - xfer += iprot->readListBegin(_etype1307, _size1304); - this->partNames.resize(_size1304); - uint32_t _i1308; - for (_i1308 = 0; _i1308 < _size1304; ++_i1308) + uint32_t _size1312; + ::apache::thrift::protocol::TType _etype1315; + xfer += iprot->readListBegin(_etype1315, _size1312); + this->partNames.resize(_size1312); + uint32_t _i1316; + for (_i1316 = 0; _i1316 < _size1312; ++_i1316) { - xfer += iprot->readString(this->partNames[_i1308]); + xfer += iprot->readString(this->partNames[_i1316]); } 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 _iter1309; - for (_iter1309 = this->partNames.begin(); _iter1309 != this->partNames.end(); ++_iter1309) + std::vector ::const_iterator _iter1317; + for (_iter1317 = this->partNames.begin(); _iter1317 != this->partNames.end(); ++_iter1317) { - xfer += oprot->writeString((*_iter1309)); + xfer += oprot->writeString((*_iter1317)); } 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 _iter1310; - for (_iter1310 = (*(this->partNames)).begin(); _iter1310 != (*(this->partNames)).end(); ++_iter1310) + std::vector ::const_iterator _iter1318; + for (_iter1318 = (*(this->partNames)).begin(); _iter1318 != (*(this->partNames)).end(); ++_iter1318) { - xfer += oprot->writeString((*_iter1310)); + xfer += oprot->writeString((*_iter1318)); } 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 _size1311; - ::apache::thrift::protocol::TType _etype1314; - xfer += iprot->readListBegin(_etype1314, _size1311); - this->success.resize(_size1311); - uint32_t _i1315; - for (_i1315 = 0; _i1315 < _size1311; ++_i1315) + uint32_t _size1319; + ::apache::thrift::protocol::TType _etype1322; + xfer += iprot->readListBegin(_etype1322, _size1319); + this->success.resize(_size1319); + uint32_t _i1323; + for (_i1323 = 0; _i1323 < _size1319; ++_i1323) { - xfer += iprot->readString(this->success[_i1315]); + xfer += iprot->readString(this->success[_i1323]); } 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 _iter1316; - for (_iter1316 = this->success.begin(); _iter1316 != this->success.end(); ++_iter1316) + std::vector ::const_iterator _iter1324; + for (_iter1324 = this->success.begin(); _iter1324 != this->success.end(); ++_iter1324) { - xfer += oprot->writeString((*_iter1316)); + xfer += oprot->writeString((*_iter1324)); } 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 _size1317; - ::apache::thrift::protocol::TType _etype1320; - xfer += iprot->readListBegin(_etype1320, _size1317); - (*(this->success)).resize(_size1317); - uint32_t _i1321; - for (_i1321 = 0; _i1321 < _size1317; ++_i1321) + uint32_t _size1325; + ::apache::thrift::protocol::TType _etype1328; + xfer += iprot->readListBegin(_etype1328, _size1325); + (*(this->success)).resize(_size1325); + uint32_t _i1329; + for (_i1329 = 0; _i1329 < _size1325; ++_i1329) { - xfer += iprot->readString((*(this->success))[_i1321]); + xfer += iprot->readString((*(this->success))[_i1329]); } 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 _size1322; - ::apache::thrift::protocol::TType _etype1325; - xfer += iprot->readListBegin(_etype1325, _size1322); - this->success.resize(_size1322); - uint32_t _i1326; - for (_i1326 = 0; _i1326 < _size1322; ++_i1326) + uint32_t _size1330; + ::apache::thrift::protocol::TType _etype1333; + xfer += iprot->readListBegin(_etype1333, _size1330); + this->success.resize(_size1330); + uint32_t _i1334; + for (_i1334 = 0; _i1334 < _size1330; ++_i1334) { - xfer += iprot->readString(this->success[_i1326]); + xfer += iprot->readString(this->success[_i1334]); } 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 _iter1327; - for (_iter1327 = this->success.begin(); _iter1327 != this->success.end(); ++_iter1327) + std::vector ::const_iterator _iter1335; + for (_iter1335 = this->success.begin(); _iter1335 != this->success.end(); ++_iter1335) { - xfer += oprot->writeString((*_iter1327)); + xfer += oprot->writeString((*_iter1335)); } 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 _size1328; - ::apache::thrift::protocol::TType _etype1331; - xfer += iprot->readListBegin(_etype1331, _size1328); - (*(this->success)).resize(_size1328); - uint32_t _i1332; - for (_i1332 = 0; _i1332 < _size1328; ++_i1332) + uint32_t _size1336; + ::apache::thrift::protocol::TType _etype1339; + xfer += iprot->readListBegin(_etype1339, _size1336); + (*(this->success)).resize(_size1336); + uint32_t _i1340; + for (_i1340 = 0; _i1340 < _size1336; ++_i1340) { - xfer += iprot->readString((*(this->success))[_i1332]); + xfer += iprot->readString((*(this->success))[_i1340]); } 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 _size1333; - ::apache::thrift::protocol::TType _etype1336; - xfer += iprot->readListBegin(_etype1336, _size1333); - this->success.resize(_size1333); - uint32_t _i1337; - for (_i1337 = 0; _i1337 < _size1333; ++_i1337) + uint32_t _size1341; + ::apache::thrift::protocol::TType _etype1344; + xfer += iprot->readListBegin(_etype1344, _size1341); + this->success.resize(_size1341); + uint32_t _i1345; + for (_i1345 = 0; _i1345 < _size1341; ++_i1345) { - xfer += iprot->readString(this->success[_i1337]); + xfer += iprot->readString(this->success[_i1345]); } 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 _iter1338; - for (_iter1338 = this->success.begin(); _iter1338 != this->success.end(); ++_iter1338) + std::vector ::const_iterator _iter1346; + for (_iter1346 = this->success.begin(); _iter1346 != this->success.end(); ++_iter1346) { - xfer += oprot->writeString((*_iter1338)); + xfer += oprot->writeString((*_iter1346)); } 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 _size1339; - ::apache::thrift::protocol::TType _etype1342; - xfer += iprot->readListBegin(_etype1342, _size1339); - (*(this->success)).resize(_size1339); - uint32_t _i1343; - for (_i1343 = 0; _i1343 < _size1339; ++_i1343) + uint32_t _size1347; + ::apache::thrift::protocol::TType _etype1350; + xfer += iprot->readListBegin(_etype1350, _size1347); + (*(this->success)).resize(_size1347); + uint32_t _i1351; + for (_i1351 = 0; _i1351 < _size1347; ++_i1351) { - xfer += iprot->readString((*(this->success))[_i1343]); + xfer += iprot->readString((*(this->success))[_i1351]); } 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 _size1344; - ::apache::thrift::protocol::TType _etype1347; - xfer += iprot->readListBegin(_etype1347, _size1344); - this->tbl_types.resize(_size1344); - uint32_t _i1348; - for (_i1348 = 0; _i1348 < _size1344; ++_i1348) + uint32_t _size1352; + ::apache::thrift::protocol::TType _etype1355; + xfer += iprot->readListBegin(_etype1355, _size1352); + this->tbl_types.resize(_size1352); + uint32_t _i1356; + for (_i1356 = 0; _i1356 < _size1352; ++_i1356) { - xfer += iprot->readString(this->tbl_types[_i1348]); + xfer += iprot->readString(this->tbl_types[_i1356]); } 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 _iter1349; - for (_iter1349 = this->tbl_types.begin(); _iter1349 != this->tbl_types.end(); ++_iter1349) + std::vector ::const_iterator _iter1357; + for (_iter1357 = this->tbl_types.begin(); _iter1357 != this->tbl_types.end(); ++_iter1357) { - xfer += oprot->writeString((*_iter1349)); + xfer += oprot->writeString((*_iter1357)); } 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 _iter1350; - for (_iter1350 = (*(this->tbl_types)).begin(); _iter1350 != (*(this->tbl_types)).end(); ++_iter1350) + std::vector ::const_iterator _iter1358; + for (_iter1358 = (*(this->tbl_types)).begin(); _iter1358 != (*(this->tbl_types)).end(); ++_iter1358) { - xfer += oprot->writeString((*_iter1350)); + xfer += oprot->writeString((*_iter1358)); } 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 _size1351; - ::apache::thrift::protocol::TType _etype1354; - xfer += iprot->readListBegin(_etype1354, _size1351); - this->success.resize(_size1351); - uint32_t _i1355; - for (_i1355 = 0; _i1355 < _size1351; ++_i1355) + uint32_t _size1359; + ::apache::thrift::protocol::TType _etype1362; + xfer += iprot->readListBegin(_etype1362, _size1359); + this->success.resize(_size1359); + uint32_t _i1363; + for (_i1363 = 0; _i1363 < _size1359; ++_i1363) { - xfer += this->success[_i1355].read(iprot); + xfer += this->success[_i1363].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 _iter1356; - for (_iter1356 = this->success.begin(); _iter1356 != this->success.end(); ++_iter1356) + std::vector ::const_iterator _iter1364; + for (_iter1364 = this->success.begin(); _iter1364 != this->success.end(); ++_iter1364) { - xfer += (*_iter1356).write(oprot); + xfer += (*_iter1364).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 _size1357; - ::apache::thrift::protocol::TType _etype1360; - xfer += iprot->readListBegin(_etype1360, _size1357); - (*(this->success)).resize(_size1357); - uint32_t _i1361; - for (_i1361 = 0; _i1361 < _size1357; ++_i1361) + uint32_t _size1365; + ::apache::thrift::protocol::TType _etype1368; + xfer += iprot->readListBegin(_etype1368, _size1365); + (*(this->success)).resize(_size1365); + uint32_t _i1369; + for (_i1369 = 0; _i1369 < _size1365; ++_i1369) { - xfer += (*(this->success))[_i1361].read(iprot); + xfer += (*(this->success))[_i1369].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 _size1362; - ::apache::thrift::protocol::TType _etype1365; - xfer += iprot->readListBegin(_etype1365, _size1362); - this->success.resize(_size1362); - uint32_t _i1366; - for (_i1366 = 0; _i1366 < _size1362; ++_i1366) + uint32_t _size1370; + ::apache::thrift::protocol::TType _etype1373; + xfer += iprot->readListBegin(_etype1373, _size1370); + this->success.resize(_size1370); + uint32_t _i1374; + for (_i1374 = 0; _i1374 < _size1370; ++_i1374) { - xfer += iprot->readString(this->success[_i1366]); + xfer += iprot->readString(this->success[_i1374]); } 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 _iter1367; - for (_iter1367 = this->success.begin(); _iter1367 != this->success.end(); ++_iter1367) + std::vector ::const_iterator _iter1375; + for (_iter1375 = this->success.begin(); _iter1375 != this->success.end(); ++_iter1375) { - xfer += oprot->writeString((*_iter1367)); + xfer += oprot->writeString((*_iter1375)); } 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 _size1368; - ::apache::thrift::protocol::TType _etype1371; - xfer += iprot->readListBegin(_etype1371, _size1368); - (*(this->success)).resize(_size1368); - uint32_t _i1372; - for (_i1372 = 0; _i1372 < _size1368; ++_i1372) + uint32_t _size1376; + ::apache::thrift::protocol::TType _etype1379; + xfer += iprot->readListBegin(_etype1379, _size1376); + (*(this->success)).resize(_size1376); + uint32_t _i1380; + for (_i1380 = 0; _i1380 < _size1376; ++_i1380) { - xfer += iprot->readString((*(this->success))[_i1372]); + xfer += iprot->readString((*(this->success))[_i1380]); } 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 _size1373; - ::apache::thrift::protocol::TType _etype1376; - xfer += iprot->readListBegin(_etype1376, _size1373); - this->tbl_names.resize(_size1373); - uint32_t _i1377; - for (_i1377 = 0; _i1377 < _size1373; ++_i1377) + uint32_t _size1381; + ::apache::thrift::protocol::TType _etype1384; + xfer += iprot->readListBegin(_etype1384, _size1381); + this->tbl_names.resize(_size1381); + uint32_t _i1385; + for (_i1385 = 0; _i1385 < _size1381; ++_i1385) { - xfer += iprot->readString(this->tbl_names[_i1377]); + xfer += iprot->readString(this->tbl_names[_i1385]); } 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 _iter1378; - for (_iter1378 = this->tbl_names.begin(); _iter1378 != this->tbl_names.end(); ++_iter1378) + std::vector ::const_iterator _iter1386; + for (_iter1386 = this->tbl_names.begin(); _iter1386 != this->tbl_names.end(); ++_iter1386) { - xfer += oprot->writeString((*_iter1378)); + xfer += oprot->writeString((*_iter1386)); } 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 _iter1379; - for (_iter1379 = (*(this->tbl_names)).begin(); _iter1379 != (*(this->tbl_names)).end(); ++_iter1379) + std::vector ::const_iterator _iter1387; + for (_iter1387 = (*(this->tbl_names)).begin(); _iter1387 != (*(this->tbl_names)).end(); ++_iter1387) { - xfer += oprot->writeString((*_iter1379)); + xfer += oprot->writeString((*_iter1387)); } 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 _size1380; - ::apache::thrift::protocol::TType _etype1383; - xfer += iprot->readListBegin(_etype1383, _size1380); - this->success.resize(_size1380); - uint32_t _i1384; - for (_i1384 = 0; _i1384 < _size1380; ++_i1384) + uint32_t _size1388; + ::apache::thrift::protocol::TType _etype1391; + xfer += iprot->readListBegin(_etype1391, _size1388); + this->success.resize(_size1388); + uint32_t _i1392; + for (_i1392 = 0; _i1392 < _size1388; ++_i1392) { - xfer += this->success[_i1384].read(iprot); + xfer += this->success[_i1392].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 _iter1385; - for (_iter1385 = this->success.begin(); _iter1385 != this->success.end(); ++_iter1385) + std::vector
::const_iterator _iter1393; + for (_iter1393 = this->success.begin(); _iter1393 != this->success.end(); ++_iter1393) { - xfer += (*_iter1385).write(oprot); + xfer += (*_iter1393).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 _size1386; - ::apache::thrift::protocol::TType _etype1389; - xfer += iprot->readListBegin(_etype1389, _size1386); - (*(this->success)).resize(_size1386); - uint32_t _i1390; - for (_i1390 = 0; _i1390 < _size1386; ++_i1390) + uint32_t _size1394; + ::apache::thrift::protocol::TType _etype1397; + xfer += iprot->readListBegin(_etype1397, _size1394); + (*(this->success)).resize(_size1394); + uint32_t _i1398; + for (_i1398 = 0; _i1398 < _size1394; ++_i1398) { - xfer += (*(this->success))[_i1390].read(iprot); + xfer += (*(this->success))[_i1398].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 _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) + uint32_t _size1399; + ::apache::thrift::protocol::TType _etype1402; + xfer += iprot->readListBegin(_etype1402, _size1399); + this->tbl_names.resize(_size1399); + uint32_t _i1403; + for (_i1403 = 0; _i1403 < _size1399; ++_i1403) { - xfer += iprot->readString(this->tbl_names[_i1395]); + xfer += iprot->readString(this->tbl_names[_i1403]); } 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 _iter1396; - for (_iter1396 = this->tbl_names.begin(); _iter1396 != this->tbl_names.end(); ++_iter1396) + std::vector ::const_iterator _iter1404; + for (_iter1404 = this->tbl_names.begin(); _iter1404 != this->tbl_names.end(); ++_iter1404) { - xfer += oprot->writeString((*_iter1396)); + xfer += oprot->writeString((*_iter1404)); } 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 _iter1397; - for (_iter1397 = (*(this->tbl_names)).begin(); _iter1397 != (*(this->tbl_names)).end(); ++_iter1397) + std::vector ::const_iterator _iter1405; + for (_iter1405 = (*(this->tbl_names)).begin(); _iter1405 != (*(this->tbl_names)).end(); ++_iter1405) { - xfer += oprot->writeString((*_iter1397)); + xfer += oprot->writeString((*_iter1405)); } 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 _size1398; - ::apache::thrift::protocol::TType _ktype1399; - ::apache::thrift::protocol::TType _vtype1400; - xfer += iprot->readMapBegin(_ktype1399, _vtype1400, _size1398); - uint32_t _i1402; - for (_i1402 = 0; _i1402 < _size1398; ++_i1402) + uint32_t _size1406; + ::apache::thrift::protocol::TType _ktype1407; + ::apache::thrift::protocol::TType _vtype1408; + xfer += iprot->readMapBegin(_ktype1407, _vtype1408, _size1406); + uint32_t _i1410; + for (_i1410 = 0; _i1410 < _size1406; ++_i1410) { - std::string _key1403; - xfer += iprot->readString(_key1403); - Materialization& _val1404 = this->success[_key1403]; - xfer += _val1404.read(iprot); + std::string _key1411; + xfer += iprot->readString(_key1411); + Materialization& _val1412 = this->success[_key1411]; + xfer += _val1412.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 _iter1405; - for (_iter1405 = this->success.begin(); _iter1405 != this->success.end(); ++_iter1405) + std::map ::const_iterator _iter1413; + for (_iter1413 = this->success.begin(); _iter1413 != this->success.end(); ++_iter1413) { - xfer += oprot->writeString(_iter1405->first); - xfer += _iter1405->second.write(oprot); + xfer += oprot->writeString(_iter1413->first); + xfer += _iter1413->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 _size1406; - ::apache::thrift::protocol::TType _ktype1407; - ::apache::thrift::protocol::TType _vtype1408; - xfer += iprot->readMapBegin(_ktype1407, _vtype1408, _size1406); - uint32_t _i1410; - for (_i1410 = 0; _i1410 < _size1406; ++_i1410) + uint32_t _size1414; + ::apache::thrift::protocol::TType _ktype1415; + ::apache::thrift::protocol::TType _vtype1416; + xfer += iprot->readMapBegin(_ktype1415, _vtype1416, _size1414); + uint32_t _i1418; + for (_i1418 = 0; _i1418 < _size1414; ++_i1418) { - std::string _key1411; - xfer += iprot->readString(_key1411); - Materialization& _val1412 = (*(this->success))[_key1411]; - xfer += _val1412.read(iprot); + std::string _key1419; + xfer += iprot->readString(_key1419); + Materialization& _val1420 = (*(this->success))[_key1419]; + xfer += _val1420.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 _size1413; - ::apache::thrift::protocol::TType _etype1416; - xfer += iprot->readListBegin(_etype1416, _size1413); - this->success.resize(_size1413); - uint32_t _i1417; - for (_i1417 = 0; _i1417 < _size1413; ++_i1417) + uint32_t _size1421; + ::apache::thrift::protocol::TType _etype1424; + xfer += iprot->readListBegin(_etype1424, _size1421); + this->success.resize(_size1421); + uint32_t _i1425; + for (_i1425 = 0; _i1425 < _size1421; ++_i1425) { - xfer += iprot->readString(this->success[_i1417]); + xfer += iprot->readString(this->success[_i1425]); } 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 _iter1418; - for (_iter1418 = this->success.begin(); _iter1418 != this->success.end(); ++_iter1418) + std::vector ::const_iterator _iter1426; + for (_iter1426 = this->success.begin(); _iter1426 != this->success.end(); ++_iter1426) { - xfer += oprot->writeString((*_iter1418)); + xfer += oprot->writeString((*_iter1426)); } 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 _size1419; - ::apache::thrift::protocol::TType _etype1422; - xfer += iprot->readListBegin(_etype1422, _size1419); - (*(this->success)).resize(_size1419); - uint32_t _i1423; - for (_i1423 = 0; _i1423 < _size1419; ++_i1423) + uint32_t _size1427; + ::apache::thrift::protocol::TType _etype1430; + xfer += iprot->readListBegin(_etype1430, _size1427); + (*(this->success)).resize(_size1427); + uint32_t _i1431; + for (_i1431 = 0; _i1431 < _size1427; ++_i1431) { - xfer += iprot->readString((*(this->success))[_i1423]); + xfer += iprot->readString((*(this->success))[_i1431]); } 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 _size1424; - ::apache::thrift::protocol::TType _etype1427; - xfer += iprot->readListBegin(_etype1427, _size1424); - this->new_parts.resize(_size1424); - uint32_t _i1428; - for (_i1428 = 0; _i1428 < _size1424; ++_i1428) + uint32_t _size1432; + ::apache::thrift::protocol::TType _etype1435; + xfer += iprot->readListBegin(_etype1435, _size1432); + this->new_parts.resize(_size1432); + uint32_t _i1436; + for (_i1436 = 0; _i1436 < _size1432; ++_i1436) { - xfer += this->new_parts[_i1428].read(iprot); + xfer += this->new_parts[_i1436].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 _iter1429; - for (_iter1429 = this->new_parts.begin(); _iter1429 != this->new_parts.end(); ++_iter1429) + std::vector ::const_iterator _iter1437; + for (_iter1437 = this->new_parts.begin(); _iter1437 != this->new_parts.end(); ++_iter1437) { - xfer += (*_iter1429).write(oprot); + xfer += (*_iter1437).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 _iter1430; - for (_iter1430 = (*(this->new_parts)).begin(); _iter1430 != (*(this->new_parts)).end(); ++_iter1430) + std::vector ::const_iterator _iter1438; + for (_iter1438 = (*(this->new_parts)).begin(); _iter1438 != (*(this->new_parts)).end(); ++_iter1438) { - xfer += (*_iter1430).write(oprot); + xfer += (*_iter1438).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 _size1431; - ::apache::thrift::protocol::TType _etype1434; - xfer += iprot->readListBegin(_etype1434, _size1431); - this->new_parts.resize(_size1431); - uint32_t _i1435; - for (_i1435 = 0; _i1435 < _size1431; ++_i1435) + uint32_t _size1439; + ::apache::thrift::protocol::TType _etype1442; + xfer += iprot->readListBegin(_etype1442, _size1439); + this->new_parts.resize(_size1439); + uint32_t _i1443; + for (_i1443 = 0; _i1443 < _size1439; ++_i1443) { - xfer += this->new_parts[_i1435].read(iprot); + xfer += this->new_parts[_i1443].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 _iter1436; - for (_iter1436 = this->new_parts.begin(); _iter1436 != this->new_parts.end(); ++_iter1436) + std::vector ::const_iterator _iter1444; + for (_iter1444 = this->new_parts.begin(); _iter1444 != this->new_parts.end(); ++_iter1444) { - xfer += (*_iter1436).write(oprot); + xfer += (*_iter1444).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 _iter1437; - for (_iter1437 = (*(this->new_parts)).begin(); _iter1437 != (*(this->new_parts)).end(); ++_iter1437) + std::vector ::const_iterator _iter1445; + for (_iter1445 = (*(this->new_parts)).begin(); _iter1445 != (*(this->new_parts)).end(); ++_iter1445) { - xfer += (*_iter1437).write(oprot); + xfer += (*_iter1445).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 _size1438; - ::apache::thrift::protocol::TType _etype1441; - xfer += iprot->readListBegin(_etype1441, _size1438); - this->part_vals.resize(_size1438); - uint32_t _i1442; - for (_i1442 = 0; _i1442 < _size1438; ++_i1442) + uint32_t _size1446; + ::apache::thrift::protocol::TType _etype1449; + xfer += iprot->readListBegin(_etype1449, _size1446); + this->part_vals.resize(_size1446); + uint32_t _i1450; + for (_i1450 = 0; _i1450 < _size1446; ++_i1450) { - xfer += iprot->readString(this->part_vals[_i1442]); + xfer += iprot->readString(this->part_vals[_i1450]); } 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 _iter1443; - for (_iter1443 = this->part_vals.begin(); _iter1443 != this->part_vals.end(); ++_iter1443) + std::vector ::const_iterator _iter1451; + for (_iter1451 = this->part_vals.begin(); _iter1451 != this->part_vals.end(); ++_iter1451) { - xfer += oprot->writeString((*_iter1443)); + xfer += oprot->writeString((*_iter1451)); } 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 _iter1444; - for (_iter1444 = (*(this->part_vals)).begin(); _iter1444 != (*(this->part_vals)).end(); ++_iter1444) + std::vector ::const_iterator _iter1452; + for (_iter1452 = (*(this->part_vals)).begin(); _iter1452 != (*(this->part_vals)).end(); ++_iter1452) { - xfer += oprot->writeString((*_iter1444)); + xfer += oprot->writeString((*_iter1452)); } 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 _size1445; - ::apache::thrift::protocol::TType _etype1448; - xfer += iprot->readListBegin(_etype1448, _size1445); - this->part_vals.resize(_size1445); - uint32_t _i1449; - for (_i1449 = 0; _i1449 < _size1445; ++_i1449) + uint32_t _size1453; + ::apache::thrift::protocol::TType _etype1456; + xfer += iprot->readListBegin(_etype1456, _size1453); + this->part_vals.resize(_size1453); + uint32_t _i1457; + for (_i1457 = 0; _i1457 < _size1453; ++_i1457) { - xfer += iprot->readString(this->part_vals[_i1449]); + xfer += iprot->readString(this->part_vals[_i1457]); } 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 _iter1450; - for (_iter1450 = this->part_vals.begin(); _iter1450 != this->part_vals.end(); ++_iter1450) + std::vector ::const_iterator _iter1458; + for (_iter1458 = this->part_vals.begin(); _iter1458 != this->part_vals.end(); ++_iter1458) { - xfer += oprot->writeString((*_iter1450)); + xfer += oprot->writeString((*_iter1458)); } 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 _iter1451; - for (_iter1451 = (*(this->part_vals)).begin(); _iter1451 != (*(this->part_vals)).end(); ++_iter1451) + std::vector ::const_iterator _iter1459; + for (_iter1459 = (*(this->part_vals)).begin(); _iter1459 != (*(this->part_vals)).end(); ++_iter1459) { - xfer += oprot->writeString((*_iter1451)); + xfer += oprot->writeString((*_iter1459)); } 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 _size1452; - ::apache::thrift::protocol::TType _etype1455; - xfer += iprot->readListBegin(_etype1455, _size1452); - this->part_vals.resize(_size1452); - uint32_t _i1456; - for (_i1456 = 0; _i1456 < _size1452; ++_i1456) + uint32_t _size1460; + ::apache::thrift::protocol::TType _etype1463; + xfer += iprot->readListBegin(_etype1463, _size1460); + this->part_vals.resize(_size1460); + uint32_t _i1464; + for (_i1464 = 0; _i1464 < _size1460; ++_i1464) { - xfer += iprot->readString(this->part_vals[_i1456]); + xfer += iprot->readString(this->part_vals[_i1464]); } 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 _iter1457; - for (_iter1457 = this->part_vals.begin(); _iter1457 != this->part_vals.end(); ++_iter1457) + std::vector ::const_iterator _iter1465; + for (_iter1465 = this->part_vals.begin(); _iter1465 != this->part_vals.end(); ++_iter1465) { - xfer += oprot->writeString((*_iter1457)); + xfer += oprot->writeString((*_iter1465)); } 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 _iter1458; - for (_iter1458 = (*(this->part_vals)).begin(); _iter1458 != (*(this->part_vals)).end(); ++_iter1458) + std::vector ::const_iterator _iter1466; + for (_iter1466 = (*(this->part_vals)).begin(); _iter1466 != (*(this->part_vals)).end(); ++_iter1466) { - xfer += oprot->writeString((*_iter1458)); + xfer += oprot->writeString((*_iter1466)); } 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 _size1459; - ::apache::thrift::protocol::TType _etype1462; - xfer += iprot->readListBegin(_etype1462, _size1459); - this->part_vals.resize(_size1459); - uint32_t _i1463; - for (_i1463 = 0; _i1463 < _size1459; ++_i1463) + uint32_t _size1467; + ::apache::thrift::protocol::TType _etype1470; + xfer += iprot->readListBegin(_etype1470, _size1467); + this->part_vals.resize(_size1467); + uint32_t _i1471; + for (_i1471 = 0; _i1471 < _size1467; ++_i1471) { - xfer += iprot->readString(this->part_vals[_i1463]); + xfer += iprot->readString(this->part_vals[_i1471]); } 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 _iter1464; - for (_iter1464 = this->part_vals.begin(); _iter1464 != this->part_vals.end(); ++_iter1464) + std::vector ::const_iterator _iter1472; + for (_iter1472 = this->part_vals.begin(); _iter1472 != this->part_vals.end(); ++_iter1472) { - xfer += oprot->writeString((*_iter1464)); + xfer += oprot->writeString((*_iter1472)); } 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 _iter1465; - for (_iter1465 = (*(this->part_vals)).begin(); _iter1465 != (*(this->part_vals)).end(); ++_iter1465) + std::vector ::const_iterator _iter1473; + for (_iter1473 = (*(this->part_vals)).begin(); _iter1473 != (*(this->part_vals)).end(); ++_iter1473) { - xfer += oprot->writeString((*_iter1465)); + xfer += oprot->writeString((*_iter1473)); } 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 _size1466; - ::apache::thrift::protocol::TType _etype1469; - xfer += iprot->readListBegin(_etype1469, _size1466); - this->part_vals.resize(_size1466); - uint32_t _i1470; - for (_i1470 = 0; _i1470 < _size1466; ++_i1470) + uint32_t _size1474; + ::apache::thrift::protocol::TType _etype1477; + xfer += iprot->readListBegin(_etype1477, _size1474); + this->part_vals.resize(_size1474); + uint32_t _i1478; + for (_i1478 = 0; _i1478 < _size1474; ++_i1478) { - xfer += iprot->readString(this->part_vals[_i1470]); + xfer += iprot->readString(this->part_vals[_i1478]); } 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 _iter1471; - for (_iter1471 = this->part_vals.begin(); _iter1471 != this->part_vals.end(); ++_iter1471) + std::vector ::const_iterator _iter1479; + for (_iter1479 = this->part_vals.begin(); _iter1479 != this->part_vals.end(); ++_iter1479) { - xfer += oprot->writeString((*_iter1471)); + xfer += oprot->writeString((*_iter1479)); } 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 _iter1472; - for (_iter1472 = (*(this->part_vals)).begin(); _iter1472 != (*(this->part_vals)).end(); ++_iter1472) + std::vector ::const_iterator _iter1480; + for (_iter1480 = (*(this->part_vals)).begin(); _iter1480 != (*(this->part_vals)).end(); ++_iter1480) { - xfer += oprot->writeString((*_iter1472)); + xfer += oprot->writeString((*_iter1480)); } 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 _size1473; - ::apache::thrift::protocol::TType _ktype1474; - ::apache::thrift::protocol::TType _vtype1475; - xfer += iprot->readMapBegin(_ktype1474, _vtype1475, _size1473); - uint32_t _i1477; - for (_i1477 = 0; _i1477 < _size1473; ++_i1477) + uint32_t _size1481; + ::apache::thrift::protocol::TType _ktype1482; + ::apache::thrift::protocol::TType _vtype1483; + xfer += iprot->readMapBegin(_ktype1482, _vtype1483, _size1481); + uint32_t _i1485; + for (_i1485 = 0; _i1485 < _size1481; ++_i1485) { - std::string _key1478; - xfer += iprot->readString(_key1478); - std::string& _val1479 = this->partitionSpecs[_key1478]; - xfer += iprot->readString(_val1479); + std::string _key1486; + xfer += iprot->readString(_key1486); + std::string& _val1487 = this->partitionSpecs[_key1486]; + xfer += iprot->readString(_val1487); } 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 _iter1480; - for (_iter1480 = this->partitionSpecs.begin(); _iter1480 != this->partitionSpecs.end(); ++_iter1480) + std::map ::const_iterator _iter1488; + for (_iter1488 = this->partitionSpecs.begin(); _iter1488 != this->partitionSpecs.end(); ++_iter1488) { - xfer += oprot->writeString(_iter1480->first); - xfer += oprot->writeString(_iter1480->second); + xfer += oprot->writeString(_iter1488->first); + xfer += oprot->writeString(_iter1488->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 _iter1481; - for (_iter1481 = (*(this->partitionSpecs)).begin(); _iter1481 != (*(this->partitionSpecs)).end(); ++_iter1481) + std::map ::const_iterator _iter1489; + for (_iter1489 = (*(this->partitionSpecs)).begin(); _iter1489 != (*(this->partitionSpecs)).end(); ++_iter1489) { - xfer += oprot->writeString(_iter1481->first); - xfer += oprot->writeString(_iter1481->second); + xfer += oprot->writeString(_iter1489->first); + xfer += oprot->writeString(_iter1489->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 _size1482; - ::apache::thrift::protocol::TType _ktype1483; - ::apache::thrift::protocol::TType _vtype1484; - xfer += iprot->readMapBegin(_ktype1483, _vtype1484, _size1482); - uint32_t _i1486; - for (_i1486 = 0; _i1486 < _size1482; ++_i1486) + uint32_t _size1490; + ::apache::thrift::protocol::TType _ktype1491; + ::apache::thrift::protocol::TType _vtype1492; + xfer += iprot->readMapBegin(_ktype1491, _vtype1492, _size1490); + uint32_t _i1494; + for (_i1494 = 0; _i1494 < _size1490; ++_i1494) { - std::string _key1487; - xfer += iprot->readString(_key1487); - std::string& _val1488 = this->partitionSpecs[_key1487]; - xfer += iprot->readString(_val1488); + std::string _key1495; + xfer += iprot->readString(_key1495); + std::string& _val1496 = this->partitionSpecs[_key1495]; + xfer += iprot->readString(_val1496); } 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 _iter1489; - for (_iter1489 = this->partitionSpecs.begin(); _iter1489 != this->partitionSpecs.end(); ++_iter1489) + std::map ::const_iterator _iter1497; + for (_iter1497 = this->partitionSpecs.begin(); _iter1497 != this->partitionSpecs.end(); ++_iter1497) { - xfer += oprot->writeString(_iter1489->first); - xfer += oprot->writeString(_iter1489->second); + xfer += oprot->writeString(_iter1497->first); + xfer += oprot->writeString(_iter1497->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 _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(); } @@ -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 _size1491; - ::apache::thrift::protocol::TType _etype1494; - xfer += iprot->readListBegin(_etype1494, _size1491); - this->success.resize(_size1491); - uint32_t _i1495; - for (_i1495 = 0; _i1495 < _size1491; ++_i1495) + uint32_t _size1499; + ::apache::thrift::protocol::TType _etype1502; + xfer += iprot->readListBegin(_etype1502, _size1499); + this->success.resize(_size1499); + uint32_t _i1503; + for (_i1503 = 0; _i1503 < _size1499; ++_i1503) { - xfer += this->success[_i1495].read(iprot); + xfer += this->success[_i1503].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 _iter1496; - for (_iter1496 = this->success.begin(); _iter1496 != this->success.end(); ++_iter1496) + std::vector ::const_iterator _iter1504; + for (_iter1504 = this->success.begin(); _iter1504 != this->success.end(); ++_iter1504) { - xfer += (*_iter1496).write(oprot); + xfer += (*_iter1504).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 _size1497; - ::apache::thrift::protocol::TType _etype1500; - xfer += iprot->readListBegin(_etype1500, _size1497); - (*(this->success)).resize(_size1497); - uint32_t _i1501; - for (_i1501 = 0; _i1501 < _size1497; ++_i1501) + uint32_t _size1505; + ::apache::thrift::protocol::TType _etype1508; + xfer += iprot->readListBegin(_etype1508, _size1505); + (*(this->success)).resize(_size1505); + uint32_t _i1509; + for (_i1509 = 0; _i1509 < _size1505; ++_i1509) { - xfer += (*(this->success))[_i1501].read(iprot); + xfer += (*(this->success))[_i1509].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 _size1502; - ::apache::thrift::protocol::TType _etype1505; - xfer += iprot->readListBegin(_etype1505, _size1502); - this->part_vals.resize(_size1502); - uint32_t _i1506; - for (_i1506 = 0; _i1506 < _size1502; ++_i1506) + uint32_t _size1510; + ::apache::thrift::protocol::TType _etype1513; + xfer += iprot->readListBegin(_etype1513, _size1510); + this->part_vals.resize(_size1510); + uint32_t _i1514; + for (_i1514 = 0; _i1514 < _size1510; ++_i1514) { - xfer += iprot->readString(this->part_vals[_i1506]); + xfer += iprot->readString(this->part_vals[_i1514]); } 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 _size1507; - ::apache::thrift::protocol::TType _etype1510; - xfer += iprot->readListBegin(_etype1510, _size1507); - this->group_names.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->group_names.resize(_size1515); + uint32_t _i1519; + for (_i1519 = 0; _i1519 < _size1515; ++_i1519) { - xfer += iprot->readString(this->group_names[_i1511]); + xfer += iprot->readString(this->group_names[_i1519]); } 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 _iter1512; - for (_iter1512 = this->part_vals.begin(); _iter1512 != this->part_vals.end(); ++_iter1512) + std::vector ::const_iterator _iter1520; + for (_iter1520 = this->part_vals.begin(); _iter1520 != this->part_vals.end(); ++_iter1520) { - xfer += oprot->writeString((*_iter1512)); + xfer += oprot->writeString((*_iter1520)); } 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 _iter1513; - for (_iter1513 = this->group_names.begin(); _iter1513 != this->group_names.end(); ++_iter1513) + std::vector ::const_iterator _iter1521; + for (_iter1521 = this->group_names.begin(); _iter1521 != this->group_names.end(); ++_iter1521) { - xfer += oprot->writeString((*_iter1513)); + xfer += oprot->writeString((*_iter1521)); } 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 _iter1514; - for (_iter1514 = (*(this->part_vals)).begin(); _iter1514 != (*(this->part_vals)).end(); ++_iter1514) + std::vector ::const_iterator _iter1522; + for (_iter1522 = (*(this->part_vals)).begin(); _iter1522 != (*(this->part_vals)).end(); ++_iter1522) { - xfer += oprot->writeString((*_iter1514)); + xfer += oprot->writeString((*_iter1522)); } 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 _iter1515; - for (_iter1515 = (*(this->group_names)).begin(); _iter1515 != (*(this->group_names)).end(); ++_iter1515) + std::vector ::const_iterator _iter1523; + for (_iter1523 = (*(this->group_names)).begin(); _iter1523 != (*(this->group_names)).end(); ++_iter1523) { - xfer += oprot->writeString((*_iter1515)); + xfer += oprot->writeString((*_iter1523)); } 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 _size1516; - ::apache::thrift::protocol::TType _etype1519; - xfer += iprot->readListBegin(_etype1519, _size1516); - this->success.resize(_size1516); - uint32_t _i1520; - for (_i1520 = 0; _i1520 < _size1516; ++_i1520) + uint32_t _size1524; + ::apache::thrift::protocol::TType _etype1527; + xfer += iprot->readListBegin(_etype1527, _size1524); + this->success.resize(_size1524); + uint32_t _i1528; + for (_i1528 = 0; _i1528 < _size1524; ++_i1528) { - xfer += this->success[_i1520].read(iprot); + xfer += this->success[_i1528].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 _iter1521; - for (_iter1521 = this->success.begin(); _iter1521 != this->success.end(); ++_iter1521) + std::vector ::const_iterator _iter1529; + for (_iter1529 = this->success.begin(); _iter1529 != this->success.end(); ++_iter1529) { - xfer += (*_iter1521).write(oprot); + xfer += (*_iter1529).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 _size1522; - ::apache::thrift::protocol::TType _etype1525; - xfer += iprot->readListBegin(_etype1525, _size1522); - (*(this->success)).resize(_size1522); - uint32_t _i1526; - for (_i1526 = 0; _i1526 < _size1522; ++_i1526) + uint32_t _size1530; + ::apache::thrift::protocol::TType _etype1533; + xfer += iprot->readListBegin(_etype1533, _size1530); + (*(this->success)).resize(_size1530); + uint32_t _i1534; + for (_i1534 = 0; _i1534 < _size1530; ++_i1534) { - xfer += (*(this->success))[_i1526].read(iprot); + xfer += (*(this->success))[_i1534].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 _size1527; - ::apache::thrift::protocol::TType _etype1530; - xfer += iprot->readListBegin(_etype1530, _size1527); - this->group_names.resize(_size1527); - uint32_t _i1531; - for (_i1531 = 0; _i1531 < _size1527; ++_i1531) + uint32_t _size1535; + ::apache::thrift::protocol::TType _etype1538; + xfer += iprot->readListBegin(_etype1538, _size1535); + this->group_names.resize(_size1535); + uint32_t _i1539; + for (_i1539 = 0; _i1539 < _size1535; ++_i1539) { - xfer += iprot->readString(this->group_names[_i1531]); + xfer += iprot->readString(this->group_names[_i1539]); } 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 _iter1532; - for (_iter1532 = this->group_names.begin(); _iter1532 != this->group_names.end(); ++_iter1532) + std::vector ::const_iterator _iter1540; + for (_iter1540 = this->group_names.begin(); _iter1540 != this->group_names.end(); ++_iter1540) { - xfer += oprot->writeString((*_iter1532)); + xfer += oprot->writeString((*_iter1540)); } 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 _iter1533; - for (_iter1533 = (*(this->group_names)).begin(); _iter1533 != (*(this->group_names)).end(); ++_iter1533) + std::vector ::const_iterator _iter1541; + for (_iter1541 = (*(this->group_names)).begin(); _iter1541 != (*(this->group_names)).end(); ++_iter1541) { - xfer += oprot->writeString((*_iter1533)); + xfer += oprot->writeString((*_iter1541)); } 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 _size1534; - ::apache::thrift::protocol::TType _etype1537; - xfer += iprot->readListBegin(_etype1537, _size1534); - this->success.resize(_size1534); - uint32_t _i1538; - for (_i1538 = 0; _i1538 < _size1534; ++_i1538) + uint32_t _size1542; + ::apache::thrift::protocol::TType _etype1545; + xfer += iprot->readListBegin(_etype1545, _size1542); + this->success.resize(_size1542); + uint32_t _i1546; + for (_i1546 = 0; _i1546 < _size1542; ++_i1546) { - xfer += this->success[_i1538].read(iprot); + xfer += this->success[_i1546].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 _iter1539; - for (_iter1539 = this->success.begin(); _iter1539 != this->success.end(); ++_iter1539) + std::vector ::const_iterator _iter1547; + for (_iter1547 = this->success.begin(); _iter1547 != this->success.end(); ++_iter1547) { - xfer += (*_iter1539).write(oprot); + xfer += (*_iter1547).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 _size1540; - ::apache::thrift::protocol::TType _etype1543; - xfer += iprot->readListBegin(_etype1543, _size1540); - (*(this->success)).resize(_size1540); - uint32_t _i1544; - for (_i1544 = 0; _i1544 < _size1540; ++_i1544) + uint32_t _size1548; + ::apache::thrift::protocol::TType _etype1551; + xfer += iprot->readListBegin(_etype1551, _size1548); + (*(this->success)).resize(_size1548); + uint32_t _i1552; + for (_i1552 = 0; _i1552 < _size1548; ++_i1552) { - xfer += (*(this->success))[_i1544].read(iprot); + xfer += (*(this->success))[_i1552].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 _size1545; - ::apache::thrift::protocol::TType _etype1548; - xfer += iprot->readListBegin(_etype1548, _size1545); - this->success.resize(_size1545); - uint32_t _i1549; - for (_i1549 = 0; _i1549 < _size1545; ++_i1549) + uint32_t _size1553; + ::apache::thrift::protocol::TType _etype1556; + xfer += iprot->readListBegin(_etype1556, _size1553); + this->success.resize(_size1553); + uint32_t _i1557; + for (_i1557 = 0; _i1557 < _size1553; ++_i1557) { - xfer += this->success[_i1549].read(iprot); + xfer += this->success[_i1557].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 _iter1550; - for (_iter1550 = this->success.begin(); _iter1550 != this->success.end(); ++_iter1550) + std::vector ::const_iterator _iter1558; + for (_iter1558 = this->success.begin(); _iter1558 != this->success.end(); ++_iter1558) { - xfer += (*_iter1550).write(oprot); + xfer += (*_iter1558).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 _size1551; - ::apache::thrift::protocol::TType _etype1554; - xfer += iprot->readListBegin(_etype1554, _size1551); - (*(this->success)).resize(_size1551); - uint32_t _i1555; - for (_i1555 = 0; _i1555 < _size1551; ++_i1555) + uint32_t _size1559; + ::apache::thrift::protocol::TType _etype1562; + xfer += iprot->readListBegin(_etype1562, _size1559); + (*(this->success)).resize(_size1559); + uint32_t _i1563; + for (_i1563 = 0; _i1563 < _size1559; ++_i1563) { - xfer += (*(this->success))[_i1555].read(iprot); + xfer += (*(this->success))[_i1563].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 _size1556; - ::apache::thrift::protocol::TType _etype1559; - xfer += iprot->readListBegin(_etype1559, _size1556); - this->success.resize(_size1556); - uint32_t _i1560; - for (_i1560 = 0; _i1560 < _size1556; ++_i1560) + uint32_t _size1564; + ::apache::thrift::protocol::TType _etype1567; + xfer += iprot->readListBegin(_etype1567, _size1564); + this->success.resize(_size1564); + uint32_t _i1568; + for (_i1568 = 0; _i1568 < _size1564; ++_i1568) { - xfer += iprot->readString(this->success[_i1560]); + xfer += iprot->readString(this->success[_i1568]); } 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 _iter1561; - for (_iter1561 = this->success.begin(); _iter1561 != this->success.end(); ++_iter1561) + std::vector ::const_iterator _iter1569; + for (_iter1569 = this->success.begin(); _iter1569 != this->success.end(); ++_iter1569) { - xfer += oprot->writeString((*_iter1561)); + xfer += oprot->writeString((*_iter1569)); } 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 _size1562; - ::apache::thrift::protocol::TType _etype1565; - xfer += iprot->readListBegin(_etype1565, _size1562); - (*(this->success)).resize(_size1562); - uint32_t _i1566; - for (_i1566 = 0; _i1566 < _size1562; ++_i1566) + uint32_t _size1570; + ::apache::thrift::protocol::TType _etype1573; + xfer += iprot->readListBegin(_etype1573, _size1570); + (*(this->success)).resize(_size1570); + uint32_t _i1574; + for (_i1574 = 0; _i1574 < _size1570; ++_i1574) { - xfer += iprot->readString((*(this->success))[_i1566]); + xfer += iprot->readString((*(this->success))[_i1574]); } 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 _size1567; - ::apache::thrift::protocol::TType _etype1570; - xfer += iprot->readListBegin(_etype1570, _size1567); - this->part_vals.resize(_size1567); - uint32_t _i1571; - for (_i1571 = 0; _i1571 < _size1567; ++_i1571) + uint32_t _size1575; + ::apache::thrift::protocol::TType _etype1578; + xfer += iprot->readListBegin(_etype1578, _size1575); + this->part_vals.resize(_size1575); + uint32_t _i1579; + for (_i1579 = 0; _i1579 < _size1575; ++_i1579) { - xfer += iprot->readString(this->part_vals[_i1571]); + xfer += iprot->readString(this->part_vals[_i1579]); } 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 _iter1572; - for (_iter1572 = this->part_vals.begin(); _iter1572 != this->part_vals.end(); ++_iter1572) + std::vector ::const_iterator _iter1580; + for (_iter1580 = this->part_vals.begin(); _iter1580 != this->part_vals.end(); ++_iter1580) { - xfer += oprot->writeString((*_iter1572)); + xfer += oprot->writeString((*_iter1580)); } 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 _iter1573; - for (_iter1573 = (*(this->part_vals)).begin(); _iter1573 != (*(this->part_vals)).end(); ++_iter1573) + std::vector ::const_iterator _iter1581; + for (_iter1581 = (*(this->part_vals)).begin(); _iter1581 != (*(this->part_vals)).end(); ++_iter1581) { - xfer += oprot->writeString((*_iter1573)); + xfer += oprot->writeString((*_iter1581)); } 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 _size1574; - ::apache::thrift::protocol::TType _etype1577; - xfer += iprot->readListBegin(_etype1577, _size1574); - this->success.resize(_size1574); - uint32_t _i1578; - for (_i1578 = 0; _i1578 < _size1574; ++_i1578) + uint32_t _size1582; + ::apache::thrift::protocol::TType _etype1585; + xfer += iprot->readListBegin(_etype1585, _size1582); + this->success.resize(_size1582); + uint32_t _i1586; + for (_i1586 = 0; _i1586 < _size1582; ++_i1586) { - xfer += this->success[_i1578].read(iprot); + xfer += this->success[_i1586].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 _iter1579; - for (_iter1579 = this->success.begin(); _iter1579 != this->success.end(); ++_iter1579) + std::vector ::const_iterator _iter1587; + for (_iter1587 = this->success.begin(); _iter1587 != this->success.end(); ++_iter1587) { - xfer += (*_iter1579).write(oprot); + xfer += (*_iter1587).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 _size1580; - ::apache::thrift::protocol::TType _etype1583; - xfer += iprot->readListBegin(_etype1583, _size1580); - (*(this->success)).resize(_size1580); - uint32_t _i1584; - for (_i1584 = 0; _i1584 < _size1580; ++_i1584) + uint32_t _size1588; + ::apache::thrift::protocol::TType _etype1591; + xfer += iprot->readListBegin(_etype1591, _size1588); + (*(this->success)).resize(_size1588); + uint32_t _i1592; + for (_i1592 = 0; _i1592 < _size1588; ++_i1592) { - xfer += (*(this->success))[_i1584].read(iprot); + xfer += (*(this->success))[_i1592].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 _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) + uint32_t _size1593; + ::apache::thrift::protocol::TType _etype1596; + xfer += iprot->readListBegin(_etype1596, _size1593); + this->part_vals.resize(_size1593); + uint32_t _i1597; + for (_i1597 = 0; _i1597 < _size1593; ++_i1597) { - xfer += iprot->readString(this->part_vals[_i1589]); + xfer += iprot->readString(this->part_vals[_i1597]); } 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 _size1590; - ::apache::thrift::protocol::TType _etype1593; - xfer += iprot->readListBegin(_etype1593, _size1590); - this->group_names.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->group_names.resize(_size1598); + uint32_t _i1602; + for (_i1602 = 0; _i1602 < _size1598; ++_i1602) { - xfer += iprot->readString(this->group_names[_i1594]); + xfer += iprot->readString(this->group_names[_i1602]); } 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 _iter1595; - for (_iter1595 = this->part_vals.begin(); _iter1595 != this->part_vals.end(); ++_iter1595) + std::vector ::const_iterator _iter1603; + for (_iter1603 = this->part_vals.begin(); _iter1603 != this->part_vals.end(); ++_iter1603) { - xfer += oprot->writeString((*_iter1595)); + xfer += oprot->writeString((*_iter1603)); } 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 _iter1596; - for (_iter1596 = this->group_names.begin(); _iter1596 != this->group_names.end(); ++_iter1596) + std::vector ::const_iterator _iter1604; + for (_iter1604 = this->group_names.begin(); _iter1604 != this->group_names.end(); ++_iter1604) { - xfer += oprot->writeString((*_iter1596)); + xfer += oprot->writeString((*_iter1604)); } 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 _iter1597; - for (_iter1597 = (*(this->part_vals)).begin(); _iter1597 != (*(this->part_vals)).end(); ++_iter1597) + std::vector ::const_iterator _iter1605; + for (_iter1605 = (*(this->part_vals)).begin(); _iter1605 != (*(this->part_vals)).end(); ++_iter1605) { - xfer += oprot->writeString((*_iter1597)); + xfer += oprot->writeString((*_iter1605)); } 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 _iter1598; - for (_iter1598 = (*(this->group_names)).begin(); _iter1598 != (*(this->group_names)).end(); ++_iter1598) + std::vector ::const_iterator _iter1606; + for (_iter1606 = (*(this->group_names)).begin(); _iter1606 != (*(this->group_names)).end(); ++_iter1606) { - xfer += oprot->writeString((*_iter1598)); + xfer += oprot->writeString((*_iter1606)); } 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 _size1599; - ::apache::thrift::protocol::TType _etype1602; - xfer += iprot->readListBegin(_etype1602, _size1599); - this->success.resize(_size1599); - uint32_t _i1603; - for (_i1603 = 0; _i1603 < _size1599; ++_i1603) + uint32_t _size1607; + ::apache::thrift::protocol::TType _etype1610; + xfer += iprot->readListBegin(_etype1610, _size1607); + this->success.resize(_size1607); + uint32_t _i1611; + for (_i1611 = 0; _i1611 < _size1607; ++_i1611) { - xfer += this->success[_i1603].read(iprot); + xfer += this->success[_i1611].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 _iter1604; - for (_iter1604 = this->success.begin(); _iter1604 != this->success.end(); ++_iter1604) + std::vector ::const_iterator _iter1612; + for (_iter1612 = this->success.begin(); _iter1612 != this->success.end(); ++_iter1612) { - xfer += (*_iter1604).write(oprot); + xfer += (*_iter1612).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 _size1605; - ::apache::thrift::protocol::TType _etype1608; - xfer += iprot->readListBegin(_etype1608, _size1605); - (*(this->success)).resize(_size1605); - uint32_t _i1609; - for (_i1609 = 0; _i1609 < _size1605; ++_i1609) + uint32_t _size1613; + ::apache::thrift::protocol::TType _etype1616; + xfer += iprot->readListBegin(_etype1616, _size1613); + (*(this->success)).resize(_size1613); + uint32_t _i1617; + for (_i1617 = 0; _i1617 < _size1613; ++_i1617) { - xfer += (*(this->success))[_i1609].read(iprot); + xfer += (*(this->success))[_i1617].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 _size1610; - ::apache::thrift::protocol::TType _etype1613; - xfer += iprot->readListBegin(_etype1613, _size1610); - this->part_vals.resize(_size1610); - uint32_t _i1614; - for (_i1614 = 0; _i1614 < _size1610; ++_i1614) + uint32_t _size1618; + ::apache::thrift::protocol::TType _etype1621; + xfer += iprot->readListBegin(_etype1621, _size1618); + this->part_vals.resize(_size1618); + uint32_t _i1622; + for (_i1622 = 0; _i1622 < _size1618; ++_i1622) { - xfer += iprot->readString(this->part_vals[_i1614]); + xfer += iprot->readString(this->part_vals[_i1622]); } 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 _iter1615; - for (_iter1615 = this->part_vals.begin(); _iter1615 != this->part_vals.end(); ++_iter1615) + std::vector ::const_iterator _iter1623; + for (_iter1623 = this->part_vals.begin(); _iter1623 != this->part_vals.end(); ++_iter1623) { - xfer += oprot->writeString((*_iter1615)); + xfer += oprot->writeString((*_iter1623)); } 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 _iter1616; - for (_iter1616 = (*(this->part_vals)).begin(); _iter1616 != (*(this->part_vals)).end(); ++_iter1616) + std::vector ::const_iterator _iter1624; + for (_iter1624 = (*(this->part_vals)).begin(); _iter1624 != (*(this->part_vals)).end(); ++_iter1624) { - xfer += oprot->writeString((*_iter1616)); + xfer += oprot->writeString((*_iter1624)); } 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 _size1617; - ::apache::thrift::protocol::TType _etype1620; - xfer += iprot->readListBegin(_etype1620, _size1617); - this->success.resize(_size1617); - uint32_t _i1621; - for (_i1621 = 0; _i1621 < _size1617; ++_i1621) + uint32_t _size1625; + ::apache::thrift::protocol::TType _etype1628; + xfer += iprot->readListBegin(_etype1628, _size1625); + this->success.resize(_size1625); + uint32_t _i1629; + for (_i1629 = 0; _i1629 < _size1625; ++_i1629) { - xfer += iprot->readString(this->success[_i1621]); + xfer += iprot->readString(this->success[_i1629]); } 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 _iter1622; - for (_iter1622 = this->success.begin(); _iter1622 != this->success.end(); ++_iter1622) + std::vector ::const_iterator _iter1630; + for (_iter1630 = this->success.begin(); _iter1630 != this->success.end(); ++_iter1630) { - xfer += oprot->writeString((*_iter1622)); + xfer += oprot->writeString((*_iter1630)); } 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 _size1623; - ::apache::thrift::protocol::TType _etype1626; - xfer += iprot->readListBegin(_etype1626, _size1623); - (*(this->success)).resize(_size1623); - uint32_t _i1627; - for (_i1627 = 0; _i1627 < _size1623; ++_i1627) + uint32_t _size1631; + ::apache::thrift::protocol::TType _etype1634; + xfer += iprot->readListBegin(_etype1634, _size1631); + (*(this->success)).resize(_size1631); + uint32_t _i1635; + for (_i1635 = 0; _i1635 < _size1631; ++_i1635) { - xfer += iprot->readString((*(this->success))[_i1627]); + xfer += iprot->readString((*(this->success))[_i1635]); } 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 _size1628; - ::apache::thrift::protocol::TType _etype1631; - xfer += iprot->readListBegin(_etype1631, _size1628); - this->success.resize(_size1628); - uint32_t _i1632; - for (_i1632 = 0; _i1632 < _size1628; ++_i1632) + uint32_t _size1636; + ::apache::thrift::protocol::TType _etype1639; + xfer += iprot->readListBegin(_etype1639, _size1636); + this->success.resize(_size1636); + uint32_t _i1640; + for (_i1640 = 0; _i1640 < _size1636; ++_i1640) { - xfer += this->success[_i1632].read(iprot); + xfer += this->success[_i1640].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 _iter1633; - for (_iter1633 = this->success.begin(); _iter1633 != this->success.end(); ++_iter1633) + std::vector ::const_iterator _iter1641; + for (_iter1641 = this->success.begin(); _iter1641 != this->success.end(); ++_iter1641) { - xfer += (*_iter1633).write(oprot); + xfer += (*_iter1641).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 _size1634; - ::apache::thrift::protocol::TType _etype1637; - xfer += iprot->readListBegin(_etype1637, _size1634); - (*(this->success)).resize(_size1634); - uint32_t _i1638; - for (_i1638 = 0; _i1638 < _size1634; ++_i1638) + uint32_t _size1642; + ::apache::thrift::protocol::TType _etype1645; + xfer += iprot->readListBegin(_etype1645, _size1642); + (*(this->success)).resize(_size1642); + uint32_t _i1646; + for (_i1646 = 0; _i1646 < _size1642; ++_i1646) { - xfer += (*(this->success))[_i1638].read(iprot); + xfer += (*(this->success))[_i1646].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 _size1639; - ::apache::thrift::protocol::TType _etype1642; - xfer += iprot->readListBegin(_etype1642, _size1639); - this->success.resize(_size1639); - uint32_t _i1643; - for (_i1643 = 0; _i1643 < _size1639; ++_i1643) + uint32_t _size1647; + ::apache::thrift::protocol::TType _etype1650; + xfer += iprot->readListBegin(_etype1650, _size1647); + this->success.resize(_size1647); + uint32_t _i1651; + for (_i1651 = 0; _i1651 < _size1647; ++_i1651) { - xfer += this->success[_i1643].read(iprot); + xfer += this->success[_i1651].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 _iter1644; - for (_iter1644 = this->success.begin(); _iter1644 != this->success.end(); ++_iter1644) + std::vector ::const_iterator _iter1652; + for (_iter1652 = this->success.begin(); _iter1652 != this->success.end(); ++_iter1652) { - xfer += (*_iter1644).write(oprot); + xfer += (*_iter1652).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 _size1645; - ::apache::thrift::protocol::TType _etype1648; - xfer += iprot->readListBegin(_etype1648, _size1645); - (*(this->success)).resize(_size1645); - uint32_t _i1649; - for (_i1649 = 0; _i1649 < _size1645; ++_i1649) + uint32_t _size1653; + ::apache::thrift::protocol::TType _etype1656; + xfer += iprot->readListBegin(_etype1656, _size1653); + (*(this->success)).resize(_size1653); + uint32_t _i1657; + for (_i1657 = 0; _i1657 < _size1653; ++_i1657) { - xfer += (*(this->success))[_i1649].read(iprot); + xfer += (*(this->success))[_i1657].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 _size1650; - ::apache::thrift::protocol::TType _etype1653; - xfer += iprot->readListBegin(_etype1653, _size1650); - this->names.resize(_size1650); - uint32_t _i1654; - for (_i1654 = 0; _i1654 < _size1650; ++_i1654) + uint32_t _size1658; + ::apache::thrift::protocol::TType _etype1661; + xfer += iprot->readListBegin(_etype1661, _size1658); + this->names.resize(_size1658); + uint32_t _i1662; + for (_i1662 = 0; _i1662 < _size1658; ++_i1662) { - xfer += iprot->readString(this->names[_i1654]); + xfer += iprot->readString(this->names[_i1662]); } 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 _iter1655; - for (_iter1655 = this->names.begin(); _iter1655 != this->names.end(); ++_iter1655) + std::vector ::const_iterator _iter1663; + for (_iter1663 = this->names.begin(); _iter1663 != this->names.end(); ++_iter1663) { - xfer += oprot->writeString((*_iter1655)); + xfer += oprot->writeString((*_iter1663)); } 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 _iter1656; - for (_iter1656 = (*(this->names)).begin(); _iter1656 != (*(this->names)).end(); ++_iter1656) + std::vector ::const_iterator _iter1664; + for (_iter1664 = (*(this->names)).begin(); _iter1664 != (*(this->names)).end(); ++_iter1664) { - xfer += oprot->writeString((*_iter1656)); + xfer += oprot->writeString((*_iter1664)); } 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 _size1657; - ::apache::thrift::protocol::TType _etype1660; - xfer += iprot->readListBegin(_etype1660, _size1657); - this->success.resize(_size1657); - uint32_t _i1661; - for (_i1661 = 0; _i1661 < _size1657; ++_i1661) + uint32_t _size1665; + ::apache::thrift::protocol::TType _etype1668; + xfer += iprot->readListBegin(_etype1668, _size1665); + this->success.resize(_size1665); + uint32_t _i1669; + for (_i1669 = 0; _i1669 < _size1665; ++_i1669) { - xfer += this->success[_i1661].read(iprot); + xfer += this->success[_i1669].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 _iter1662; - for (_iter1662 = this->success.begin(); _iter1662 != this->success.end(); ++_iter1662) + std::vector ::const_iterator _iter1670; + for (_iter1670 = this->success.begin(); _iter1670 != this->success.end(); ++_iter1670) { - xfer += (*_iter1662).write(oprot); + xfer += (*_iter1670).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 _size1663; - ::apache::thrift::protocol::TType _etype1666; - xfer += iprot->readListBegin(_etype1666, _size1663); - (*(this->success)).resize(_size1663); - uint32_t _i1667; - for (_i1667 = 0; _i1667 < _size1663; ++_i1667) + uint32_t _size1671; + ::apache::thrift::protocol::TType _etype1674; + xfer += iprot->readListBegin(_etype1674, _size1671); + (*(this->success)).resize(_size1671); + uint32_t _i1675; + for (_i1675 = 0; _i1675 < _size1671; ++_i1675) { - xfer += (*(this->success))[_i1667].read(iprot); + xfer += (*(this->success))[_i1675].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 _size1668; - ::apache::thrift::protocol::TType _etype1671; - xfer += iprot->readListBegin(_etype1671, _size1668); - this->new_parts.resize(_size1668); - uint32_t _i1672; - for (_i1672 = 0; _i1672 < _size1668; ++_i1672) + uint32_t _size1676; + ::apache::thrift::protocol::TType _etype1679; + xfer += iprot->readListBegin(_etype1679, _size1676); + this->new_parts.resize(_size1676); + uint32_t _i1680; + for (_i1680 = 0; _i1680 < _size1676; ++_i1680) { - xfer += this->new_parts[_i1672].read(iprot); + xfer += this->new_parts[_i1680].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 _iter1673; - for (_iter1673 = this->new_parts.begin(); _iter1673 != this->new_parts.end(); ++_iter1673) + std::vector ::const_iterator _iter1681; + for (_iter1681 = this->new_parts.begin(); _iter1681 != this->new_parts.end(); ++_iter1681) { - xfer += (*_iter1673).write(oprot); + xfer += (*_iter1681).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 _iter1674; - for (_iter1674 = (*(this->new_parts)).begin(); _iter1674 != (*(this->new_parts)).end(); ++_iter1674) + std::vector ::const_iterator _iter1682; + for (_iter1682 = (*(this->new_parts)).begin(); _iter1682 != (*(this->new_parts)).end(); ++_iter1682) { - xfer += (*_iter1674).write(oprot); + xfer += (*_iter1682).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 _size1675; - ::apache::thrift::protocol::TType _etype1678; - xfer += iprot->readListBegin(_etype1678, _size1675); - this->new_parts.resize(_size1675); - uint32_t _i1679; - for (_i1679 = 0; _i1679 < _size1675; ++_i1679) + uint32_t _size1683; + ::apache::thrift::protocol::TType _etype1686; + xfer += iprot->readListBegin(_etype1686, _size1683); + this->new_parts.resize(_size1683); + uint32_t _i1687; + for (_i1687 = 0; _i1687 < _size1683; ++_i1687) { - xfer += this->new_parts[_i1679].read(iprot); + xfer += this->new_parts[_i1687].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 _iter1680; - for (_iter1680 = this->new_parts.begin(); _iter1680 != this->new_parts.end(); ++_iter1680) + std::vector ::const_iterator _iter1688; + for (_iter1688 = this->new_parts.begin(); _iter1688 != this->new_parts.end(); ++_iter1688) { - xfer += (*_iter1680).write(oprot); + xfer += (*_iter1688).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 _iter1681; - for (_iter1681 = (*(this->new_parts)).begin(); _iter1681 != (*(this->new_parts)).end(); ++_iter1681) + std::vector ::const_iterator _iter1689; + for (_iter1689 = (*(this->new_parts)).begin(); _iter1689 != (*(this->new_parts)).end(); ++_iter1689) { - xfer += (*_iter1681).write(oprot); + xfer += (*_iter1689).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 _size1682; - ::apache::thrift::protocol::TType _etype1685; - xfer += iprot->readListBegin(_etype1685, _size1682); - this->part_vals.resize(_size1682); - uint32_t _i1686; - for (_i1686 = 0; _i1686 < _size1682; ++_i1686) + uint32_t _size1690; + ::apache::thrift::protocol::TType _etype1693; + xfer += iprot->readListBegin(_etype1693, _size1690); + this->part_vals.resize(_size1690); + uint32_t _i1694; + for (_i1694 = 0; _i1694 < _size1690; ++_i1694) { - xfer += iprot->readString(this->part_vals[_i1686]); + xfer += iprot->readString(this->part_vals[_i1694]); } 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 _iter1687; - for (_iter1687 = this->part_vals.begin(); _iter1687 != this->part_vals.end(); ++_iter1687) + std::vector ::const_iterator _iter1695; + for (_iter1695 = this->part_vals.begin(); _iter1695 != this->part_vals.end(); ++_iter1695) { - xfer += oprot->writeString((*_iter1687)); + xfer += oprot->writeString((*_iter1695)); } 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 _iter1688; - for (_iter1688 = (*(this->part_vals)).begin(); _iter1688 != (*(this->part_vals)).end(); ++_iter1688) + std::vector ::const_iterator _iter1696; + for (_iter1696 = (*(this->part_vals)).begin(); _iter1696 != (*(this->part_vals)).end(); ++_iter1696) { - xfer += oprot->writeString((*_iter1688)); + xfer += oprot->writeString((*_iter1696)); } 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 _size1689; - ::apache::thrift::protocol::TType _etype1692; - xfer += iprot->readListBegin(_etype1692, _size1689); - this->part_vals.resize(_size1689); - uint32_t _i1693; - for (_i1693 = 0; _i1693 < _size1689; ++_i1693) + uint32_t _size1697; + ::apache::thrift::protocol::TType _etype1700; + xfer += iprot->readListBegin(_etype1700, _size1697); + this->part_vals.resize(_size1697); + uint32_t _i1701; + for (_i1701 = 0; _i1701 < _size1697; ++_i1701) { - xfer += iprot->readString(this->part_vals[_i1693]); + xfer += iprot->readString(this->part_vals[_i1701]); } 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 _iter1694; - for (_iter1694 = this->part_vals.begin(); _iter1694 != this->part_vals.end(); ++_iter1694) + std::vector ::const_iterator _iter1702; + for (_iter1702 = this->part_vals.begin(); _iter1702 != this->part_vals.end(); ++_iter1702) { - xfer += oprot->writeString((*_iter1694)); + xfer += oprot->writeString((*_iter1702)); } 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 _iter1695; - for (_iter1695 = (*(this->part_vals)).begin(); _iter1695 != (*(this->part_vals)).end(); ++_iter1695) + std::vector ::const_iterator _iter1703; + for (_iter1703 = (*(this->part_vals)).begin(); _iter1703 != (*(this->part_vals)).end(); ++_iter1703) { - xfer += oprot->writeString((*_iter1695)); + xfer += oprot->writeString((*_iter1703)); } 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 _size1696; - ::apache::thrift::protocol::TType _etype1699; - xfer += iprot->readListBegin(_etype1699, _size1696); - this->success.resize(_size1696); - uint32_t _i1700; - for (_i1700 = 0; _i1700 < _size1696; ++_i1700) + uint32_t _size1704; + ::apache::thrift::protocol::TType _etype1707; + xfer += iprot->readListBegin(_etype1707, _size1704); + this->success.resize(_size1704); + uint32_t _i1708; + for (_i1708 = 0; _i1708 < _size1704; ++_i1708) { - xfer += iprot->readString(this->success[_i1700]); + xfer += iprot->readString(this->success[_i1708]); } 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 _iter1701; - for (_iter1701 = this->success.begin(); _iter1701 != this->success.end(); ++_iter1701) + std::vector ::const_iterator _iter1709; + for (_iter1709 = this->success.begin(); _iter1709 != this->success.end(); ++_iter1709) { - xfer += oprot->writeString((*_iter1701)); + xfer += oprot->writeString((*_iter1709)); } 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 _size1702; - ::apache::thrift::protocol::TType _etype1705; - xfer += iprot->readListBegin(_etype1705, _size1702); - (*(this->success)).resize(_size1702); - uint32_t _i1706; - for (_i1706 = 0; _i1706 < _size1702; ++_i1706) + uint32_t _size1710; + ::apache::thrift::protocol::TType _etype1713; + xfer += iprot->readListBegin(_etype1713, _size1710); + (*(this->success)).resize(_size1710); + uint32_t _i1714; + for (_i1714 = 0; _i1714 < _size1710; ++_i1714) { - xfer += iprot->readString((*(this->success))[_i1706]); + xfer += iprot->readString((*(this->success))[_i1714]); } 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 _size1707; - ::apache::thrift::protocol::TType _ktype1708; - ::apache::thrift::protocol::TType _vtype1709; - xfer += iprot->readMapBegin(_ktype1708, _vtype1709, _size1707); - uint32_t _i1711; - for (_i1711 = 0; _i1711 < _size1707; ++_i1711) + uint32_t _size1715; + ::apache::thrift::protocol::TType _ktype1716; + ::apache::thrift::protocol::TType _vtype1717; + xfer += iprot->readMapBegin(_ktype1716, _vtype1717, _size1715); + uint32_t _i1719; + for (_i1719 = 0; _i1719 < _size1715; ++_i1719) { - std::string _key1712; - xfer += iprot->readString(_key1712); - std::string& _val1713 = this->success[_key1712]; - xfer += iprot->readString(_val1713); + std::string _key1720; + xfer += iprot->readString(_key1720); + std::string& _val1721 = this->success[_key1720]; + xfer += iprot->readString(_val1721); } 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 _iter1714; - for (_iter1714 = this->success.begin(); _iter1714 != this->success.end(); ++_iter1714) + std::map ::const_iterator _iter1722; + for (_iter1722 = this->success.begin(); _iter1722 != this->success.end(); ++_iter1722) { - xfer += oprot->writeString(_iter1714->first); - xfer += oprot->writeString(_iter1714->second); + xfer += oprot->writeString(_iter1722->first); + xfer += oprot->writeString(_iter1722->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 _size1715; - ::apache::thrift::protocol::TType _ktype1716; - ::apache::thrift::protocol::TType _vtype1717; - xfer += iprot->readMapBegin(_ktype1716, _vtype1717, _size1715); - uint32_t _i1719; - for (_i1719 = 0; _i1719 < _size1715; ++_i1719) + uint32_t _size1723; + ::apache::thrift::protocol::TType _ktype1724; + ::apache::thrift::protocol::TType _vtype1725; + xfer += iprot->readMapBegin(_ktype1724, _vtype1725, _size1723); + uint32_t _i1727; + for (_i1727 = 0; _i1727 < _size1723; ++_i1727) { - std::string _key1720; - xfer += iprot->readString(_key1720); - std::string& _val1721 = (*(this->success))[_key1720]; - xfer += iprot->readString(_val1721); + std::string _key1728; + xfer += iprot->readString(_key1728); + std::string& _val1729 = (*(this->success))[_key1728]; + xfer += iprot->readString(_val1729); } 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 _size1722; - ::apache::thrift::protocol::TType _ktype1723; - ::apache::thrift::protocol::TType _vtype1724; - xfer += iprot->readMapBegin(_ktype1723, _vtype1724, _size1722); - uint32_t _i1726; - for (_i1726 = 0; _i1726 < _size1722; ++_i1726) + uint32_t _size1730; + ::apache::thrift::protocol::TType _ktype1731; + ::apache::thrift::protocol::TType _vtype1732; + xfer += iprot->readMapBegin(_ktype1731, _vtype1732, _size1730); + uint32_t _i1734; + for (_i1734 = 0; _i1734 < _size1730; ++_i1734) { - std::string _key1727; - xfer += iprot->readString(_key1727); - std::string& _val1728 = this->part_vals[_key1727]; - xfer += iprot->readString(_val1728); + std::string _key1735; + xfer += iprot->readString(_key1735); + std::string& _val1736 = this->part_vals[_key1735]; + xfer += iprot->readString(_val1736); } 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 ecast1729; - xfer += iprot->readI32(ecast1729); - this->eventType = (PartitionEventType::type)ecast1729; + int32_t ecast1737; + xfer += iprot->readI32(ecast1737); + this->eventType = (PartitionEventType::type)ecast1737; 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 _iter1730; - for (_iter1730 = this->part_vals.begin(); _iter1730 != this->part_vals.end(); ++_iter1730) + std::map ::const_iterator _iter1738; + for (_iter1738 = this->part_vals.begin(); _iter1738 != this->part_vals.end(); ++_iter1738) { - xfer += oprot->writeString(_iter1730->first); - xfer += oprot->writeString(_iter1730->second); + xfer += oprot->writeString(_iter1738->first); + xfer += oprot->writeString(_iter1738->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 _iter1731; - for (_iter1731 = (*(this->part_vals)).begin(); _iter1731 != (*(this->part_vals)).end(); ++_iter1731) + std::map ::const_iterator _iter1739; + for (_iter1739 = (*(this->part_vals)).begin(); _iter1739 != (*(this->part_vals)).end(); ++_iter1739) { - xfer += oprot->writeString(_iter1731->first); - xfer += oprot->writeString(_iter1731->second); + xfer += oprot->writeString(_iter1739->first); + xfer += oprot->writeString(_iter1739->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 _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(); } @@ -24233,9 +24233,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri 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); @@ -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 _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(); } @@ -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 _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(); } @@ -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 _size1742; - ::apache::thrift::protocol::TType _etype1745; - xfer += iprot->readListBegin(_etype1745, _size1742); - this->success.resize(_size1742); - uint32_t _i1746; - for (_i1746 = 0; _i1746 < _size1742; ++_i1746) + uint32_t _size1750; + ::apache::thrift::protocol::TType _etype1753; + xfer += iprot->readListBegin(_etype1753, _size1750); + this->success.resize(_size1750); + uint32_t _i1754; + for (_i1754 = 0; _i1754 < _size1750; ++_i1754) { - xfer += iprot->readString(this->success[_i1746]); + xfer += iprot->readString(this->success[_i1754]); } 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 _iter1747; - for (_iter1747 = this->success.begin(); _iter1747 != this->success.end(); ++_iter1747) + std::vector ::const_iterator _iter1755; + for (_iter1755 = this->success.begin(); _iter1755 != this->success.end(); ++_iter1755) { - xfer += oprot->writeString((*_iter1747)); + xfer += oprot->writeString((*_iter1755)); } 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 _size1748; - ::apache::thrift::protocol::TType _etype1751; - xfer += iprot->readListBegin(_etype1751, _size1748); - (*(this->success)).resize(_size1748); - uint32_t _i1752; - for (_i1752 = 0; _i1752 < _size1748; ++_i1752) + uint32_t _size1756; + ::apache::thrift::protocol::TType _etype1759; + xfer += iprot->readListBegin(_etype1759, _size1756); + (*(this->success)).resize(_size1756); + uint32_t _i1760; + for (_i1760 = 0; _i1760 < _size1756; ++_i1760) { - xfer += iprot->readString((*(this->success))[_i1752]); + xfer += iprot->readString((*(this->success))[_i1760]); } 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 _size1753; - ::apache::thrift::protocol::TType _etype1756; - xfer += iprot->readListBegin(_etype1756, _size1753); - this->success.resize(_size1753); - uint32_t _i1757; - for (_i1757 = 0; _i1757 < _size1753; ++_i1757) + uint32_t _size1761; + ::apache::thrift::protocol::TType _etype1764; + xfer += iprot->readListBegin(_etype1764, _size1761); + this->success.resize(_size1761); + uint32_t _i1765; + for (_i1765 = 0; _i1765 < _size1761; ++_i1765) { - xfer += iprot->readString(this->success[_i1757]); + xfer += iprot->readString(this->success[_i1765]); } 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 _iter1758; - for (_iter1758 = this->success.begin(); _iter1758 != this->success.end(); ++_iter1758) + std::vector ::const_iterator _iter1766; + for (_iter1766 = this->success.begin(); _iter1766 != this->success.end(); ++_iter1766) { - xfer += oprot->writeString((*_iter1758)); + xfer += oprot->writeString((*_iter1766)); } 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 _size1759; - ::apache::thrift::protocol::TType _etype1762; - xfer += iprot->readListBegin(_etype1762, _size1759); - (*(this->success)).resize(_size1759); - uint32_t _i1763; - for (_i1763 = 0; _i1763 < _size1759; ++_i1763) + uint32_t _size1767; + ::apache::thrift::protocol::TType _etype1770; + xfer += iprot->readListBegin(_etype1770, _size1767); + (*(this->success)).resize(_size1767); + uint32_t _i1771; + for (_i1771 = 0; _i1771 < _size1767; ++_i1771) { - xfer += iprot->readString((*(this->success))[_i1763]); + xfer += iprot->readString((*(this->success))[_i1771]); } 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 ecast1764; - xfer += iprot->readI32(ecast1764); - this->principal_type = (PrincipalType::type)ecast1764; + int32_t ecast1772; + xfer += iprot->readI32(ecast1772); + this->principal_type = (PrincipalType::type)ecast1772; 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 ecast1765; - xfer += iprot->readI32(ecast1765); - this->grantorType = (PrincipalType::type)ecast1765; + int32_t ecast1773; + xfer += iprot->readI32(ecast1773); + this->grantorType = (PrincipalType::type)ecast1773; 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 ecast1766; - xfer += iprot->readI32(ecast1766); - this->principal_type = (PrincipalType::type)ecast1766; + int32_t ecast1774; + xfer += iprot->readI32(ecast1774); + this->principal_type = (PrincipalType::type)ecast1774; 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 ecast1767; - xfer += iprot->readI32(ecast1767); - this->principal_type = (PrincipalType::type)ecast1767; + int32_t ecast1775; + xfer += iprot->readI32(ecast1775); + this->principal_type = (PrincipalType::type)ecast1775; 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 _size1768; - ::apache::thrift::protocol::TType _etype1771; - xfer += iprot->readListBegin(_etype1771, _size1768); - this->success.resize(_size1768); - uint32_t _i1772; - for (_i1772 = 0; _i1772 < _size1768; ++_i1772) + uint32_t _size1776; + ::apache::thrift::protocol::TType _etype1779; + xfer += iprot->readListBegin(_etype1779, _size1776); + this->success.resize(_size1776); + uint32_t _i1780; + for (_i1780 = 0; _i1780 < _size1776; ++_i1780) { - xfer += this->success[_i1772].read(iprot); + xfer += this->success[_i1780].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 _iter1773; - for (_iter1773 = this->success.begin(); _iter1773 != this->success.end(); ++_iter1773) + std::vector ::const_iterator _iter1781; + for (_iter1781 = this->success.begin(); _iter1781 != this->success.end(); ++_iter1781) { - xfer += (*_iter1773).write(oprot); + xfer += (*_iter1781).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 _size1774; - ::apache::thrift::protocol::TType _etype1777; - xfer += iprot->readListBegin(_etype1777, _size1774); - (*(this->success)).resize(_size1774); - uint32_t _i1778; - for (_i1778 = 0; _i1778 < _size1774; ++_i1778) + uint32_t _size1782; + ::apache::thrift::protocol::TType _etype1785; + xfer += iprot->readListBegin(_etype1785, _size1782); + (*(this->success)).resize(_size1782); + uint32_t _i1786; + for (_i1786 = 0; _i1786 < _size1782; ++_i1786) { - xfer += (*(this->success))[_i1778].read(iprot); + xfer += (*(this->success))[_i1786].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 _size1779; - ::apache::thrift::protocol::TType _etype1782; - xfer += iprot->readListBegin(_etype1782, _size1779); - this->group_names.resize(_size1779); - uint32_t _i1783; - for (_i1783 = 0; _i1783 < _size1779; ++_i1783) + uint32_t _size1787; + ::apache::thrift::protocol::TType _etype1790; + xfer += iprot->readListBegin(_etype1790, _size1787); + this->group_names.resize(_size1787); + uint32_t _i1791; + for (_i1791 = 0; _i1791 < _size1787; ++_i1791) { - xfer += iprot->readString(this->group_names[_i1783]); + xfer += iprot->readString(this->group_names[_i1791]); } 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 _iter1784; - for (_iter1784 = this->group_names.begin(); _iter1784 != this->group_names.end(); ++_iter1784) + std::vector ::const_iterator _iter1792; + for (_iter1792 = this->group_names.begin(); _iter1792 != this->group_names.end(); ++_iter1792) { - xfer += oprot->writeString((*_iter1784)); + xfer += oprot->writeString((*_iter1792)); } 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 _iter1785; - for (_iter1785 = (*(this->group_names)).begin(); _iter1785 != (*(this->group_names)).end(); ++_iter1785) + std::vector ::const_iterator _iter1793; + for (_iter1793 = (*(this->group_names)).begin(); _iter1793 != (*(this->group_names)).end(); ++_iter1793) { - xfer += oprot->writeString((*_iter1785)); + xfer += oprot->writeString((*_iter1793)); } 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 ecast1786; - xfer += iprot->readI32(ecast1786); - this->principal_type = (PrincipalType::type)ecast1786; + int32_t ecast1794; + xfer += iprot->readI32(ecast1794); + this->principal_type = (PrincipalType::type)ecast1794; 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 _size1787; - ::apache::thrift::protocol::TType _etype1790; - xfer += iprot->readListBegin(_etype1790, _size1787); - this->success.resize(_size1787); - uint32_t _i1791; - for (_i1791 = 0; _i1791 < _size1787; ++_i1791) + uint32_t _size1795; + ::apache::thrift::protocol::TType _etype1798; + xfer += iprot->readListBegin(_etype1798, _size1795); + this->success.resize(_size1795); + uint32_t _i1799; + for (_i1799 = 0; _i1799 < _size1795; ++_i1799) { - xfer += this->success[_i1791].read(iprot); + xfer += this->success[_i1799].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 _iter1792; - for (_iter1792 = this->success.begin(); _iter1792 != this->success.end(); ++_iter1792) + std::vector ::const_iterator _iter1800; + for (_iter1800 = this->success.begin(); _iter1800 != this->success.end(); ++_iter1800) { - xfer += (*_iter1792).write(oprot); + xfer += (*_iter1800).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 _size1793; - ::apache::thrift::protocol::TType _etype1796; - xfer += iprot->readListBegin(_etype1796, _size1793); - (*(this->success)).resize(_size1793); - uint32_t _i1797; - for (_i1797 = 0; _i1797 < _size1793; ++_i1797) + uint32_t _size1801; + ::apache::thrift::protocol::TType _etype1804; + xfer += iprot->readListBegin(_etype1804, _size1801); + (*(this->success)).resize(_size1801); + uint32_t _i1805; + for (_i1805 = 0; _i1805 < _size1801; ++_i1805) { - xfer += (*(this->success))[_i1797].read(iprot); + xfer += (*(this->success))[_i1805].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 _size1798; - ::apache::thrift::protocol::TType _etype1801; - xfer += iprot->readListBegin(_etype1801, _size1798); - this->group_names.resize(_size1798); - uint32_t _i1802; - for (_i1802 = 0; _i1802 < _size1798; ++_i1802) + uint32_t _size1806; + ::apache::thrift::protocol::TType _etype1809; + xfer += iprot->readListBegin(_etype1809, _size1806); + this->group_names.resize(_size1806); + uint32_t _i1810; + for (_i1810 = 0; _i1810 < _size1806; ++_i1810) { - xfer += iprot->readString(this->group_names[_i1802]); + xfer += iprot->readString(this->group_names[_i1810]); } 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 _iter1803; - for (_iter1803 = this->group_names.begin(); _iter1803 != this->group_names.end(); ++_iter1803) + std::vector ::const_iterator _iter1811; + for (_iter1811 = this->group_names.begin(); _iter1811 != this->group_names.end(); ++_iter1811) { - xfer += oprot->writeString((*_iter1803)); + xfer += oprot->writeString((*_iter1811)); } 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 _iter1804; - for (_iter1804 = (*(this->group_names)).begin(); _iter1804 != (*(this->group_names)).end(); ++_iter1804) + std::vector ::const_iterator _iter1812; + for (_iter1812 = (*(this->group_names)).begin(); _iter1812 != (*(this->group_names)).end(); ++_iter1812) { - xfer += oprot->writeString((*_iter1804)); + xfer += oprot->writeString((*_iter1812)); } 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 _size1805; - ::apache::thrift::protocol::TType _etype1808; - xfer += iprot->readListBegin(_etype1808, _size1805); - this->success.resize(_size1805); - uint32_t _i1809; - for (_i1809 = 0; _i1809 < _size1805; ++_i1809) + uint32_t _size1813; + ::apache::thrift::protocol::TType _etype1816; + xfer += iprot->readListBegin(_etype1816, _size1813); + this->success.resize(_size1813); + uint32_t _i1817; + for (_i1817 = 0; _i1817 < _size1813; ++_i1817) { - xfer += iprot->readString(this->success[_i1809]); + xfer += iprot->readString(this->success[_i1817]); } 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 _iter1810; - for (_iter1810 = this->success.begin(); _iter1810 != this->success.end(); ++_iter1810) + std::vector ::const_iterator _iter1818; + for (_iter1818 = this->success.begin(); _iter1818 != this->success.end(); ++_iter1818) { - xfer += oprot->writeString((*_iter1810)); + xfer += oprot->writeString((*_iter1818)); } 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 _size1811; - ::apache::thrift::protocol::TType _etype1814; - xfer += iprot->readListBegin(_etype1814, _size1811); - (*(this->success)).resize(_size1811); - uint32_t _i1815; - for (_i1815 = 0; _i1815 < _size1811; ++_i1815) + uint32_t _size1819; + ::apache::thrift::protocol::TType _etype1822; + xfer += iprot->readListBegin(_etype1822, _size1819); + (*(this->success)).resize(_size1819); + uint32_t _i1823; + for (_i1823 = 0; _i1823 < _size1819; ++_i1823) { - xfer += iprot->readString((*(this->success))[_i1815]); + xfer += iprot->readString((*(this->success))[_i1823]); } 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 _size1816; - ::apache::thrift::protocol::TType _etype1819; - xfer += iprot->readListBegin(_etype1819, _size1816); - this->success.resize(_size1816); - uint32_t _i1820; - for (_i1820 = 0; _i1820 < _size1816; ++_i1820) + uint32_t _size1824; + ::apache::thrift::protocol::TType _etype1827; + xfer += iprot->readListBegin(_etype1827, _size1824); + this->success.resize(_size1824); + uint32_t _i1828; + for (_i1828 = 0; _i1828 < _size1824; ++_i1828) { - xfer += iprot->readString(this->success[_i1820]); + xfer += iprot->readString(this->success[_i1828]); } 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 _iter1821; - for (_iter1821 = this->success.begin(); _iter1821 != this->success.end(); ++_iter1821) + std::vector ::const_iterator _iter1829; + for (_iter1829 = this->success.begin(); _iter1829 != this->success.end(); ++_iter1829) { - xfer += oprot->writeString((*_iter1821)); + xfer += oprot->writeString((*_iter1829)); } 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 _size1822; - ::apache::thrift::protocol::TType _etype1825; - xfer += iprot->readListBegin(_etype1825, _size1822); - (*(this->success)).resize(_size1822); - uint32_t _i1826; - for (_i1826 = 0; _i1826 < _size1822; ++_i1826) + uint32_t _size1830; + ::apache::thrift::protocol::TType _etype1833; + xfer += iprot->readListBegin(_etype1833, _size1830); + (*(this->success)).resize(_size1830); + uint32_t _i1834; + for (_i1834 = 0; _i1834 < _size1830; ++_i1834) { - xfer += iprot->readString((*(this->success))[_i1826]); + xfer += iprot->readString((*(this->success))[_i1834]); } 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 _size1827; - ::apache::thrift::protocol::TType _etype1830; - xfer += iprot->readListBegin(_etype1830, _size1827); - this->success.resize(_size1827); - uint32_t _i1831; - for (_i1831 = 0; _i1831 < _size1827; ++_i1831) + uint32_t _size1835; + ::apache::thrift::protocol::TType _etype1838; + xfer += iprot->readListBegin(_etype1838, _size1835); + this->success.resize(_size1835); + uint32_t _i1839; + for (_i1839 = 0; _i1839 < _size1835; ++_i1839) { - xfer += iprot->readString(this->success[_i1831]); + xfer += iprot->readString(this->success[_i1839]); } 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 _iter1832; - for (_iter1832 = this->success.begin(); _iter1832 != this->success.end(); ++_iter1832) + std::vector ::const_iterator _iter1840; + for (_iter1840 = this->success.begin(); _iter1840 != this->success.end(); ++_iter1840) { - xfer += oprot->writeString((*_iter1832)); + xfer += oprot->writeString((*_iter1840)); } 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 _size1833; - ::apache::thrift::protocol::TType _etype1836; - xfer += iprot->readListBegin(_etype1836, _size1833); - (*(this->success)).resize(_size1833); - uint32_t _i1837; - for (_i1837 = 0; _i1837 < _size1833; ++_i1837) + uint32_t _size1841; + ::apache::thrift::protocol::TType _etype1844; + xfer += iprot->readListBegin(_etype1844, _size1841); + (*(this->success)).resize(_size1841); + uint32_t _i1845; + for (_i1845 = 0; _i1845 < _size1841; ++_i1845) { - xfer += iprot->readString((*(this->success))[_i1837]); + xfer += iprot->readString((*(this->success))[_i1845]); } 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 _size1838; - ::apache::thrift::protocol::TType _etype1841; - xfer += iprot->readListBegin(_etype1841, _size1838); - this->success.resize(_size1838); - uint32_t _i1842; - for (_i1842 = 0; _i1842 < _size1838; ++_i1842) + uint32_t _size1846; + ::apache::thrift::protocol::TType _etype1849; + xfer += iprot->readListBegin(_etype1849, _size1846); + this->success.resize(_size1846); + uint32_t _i1850; + for (_i1850 = 0; _i1850 < _size1846; ++_i1850) { - xfer += this->success[_i1842].read(iprot); + xfer += this->success[_i1850].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 _iter1843; - for (_iter1843 = this->success.begin(); _iter1843 != this->success.end(); ++_iter1843) + std::vector ::const_iterator _iter1851; + for (_iter1851 = this->success.begin(); _iter1851 != this->success.end(); ++_iter1851) { - xfer += (*_iter1843).write(oprot); + xfer += (*_iter1851).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 _size1844; - ::apache::thrift::protocol::TType _etype1847; - xfer += iprot->readListBegin(_etype1847, _size1844); - (*(this->success)).resize(_size1844); - uint32_t _i1848; - for (_i1848 = 0; _i1848 < _size1844; ++_i1848) + uint32_t _size1852; + ::apache::thrift::protocol::TType _etype1855; + xfer += iprot->readListBegin(_etype1855, _size1852); + (*(this->success)).resize(_size1852); + uint32_t _i1856; + for (_i1856 = 0; _i1856 < _size1852; ++_i1856) { - xfer += (*(this->success))[_i1848].read(iprot); + xfer += (*(this->success))[_i1856].read(iprot); } xfer += iprot->readListEnd(); } @@ -58451,6 +58607,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); @@ -70654,6 +70863,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; @@ -87290,6 +87552,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 802d8e3..c4e2c35 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; @@ -715,6 +716,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; } @@ -19056,6 +19060,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; @@ -26090,6 +26180,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); @@ -26416,6 +26509,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); @@ -26622,6 +26716,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; @@ -28098,6 +28193,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; @@ -29105,6 +29209,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 c0a39f8..e7f1ecc 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 1904047..8f2cfa4 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,183 @@ void CommitTxnRequest::printTo(std::ostream& out) const { } +ReplTblWriteIdStateRequest::~ReplTblWriteIdStateRequest() throw() { +} + + +void ReplTblWriteIdStateRequest::__set_validWriteIdlist(const std::string& val) { + this->validWriteIdlist = 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_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->dbName); + isset_dbName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 3: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->tableName); + isset_tableName = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 4: + 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_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("dbName", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->dbName); + xfer += oprot->writeFieldEnd(); + + xfer += oprot->writeFieldBegin("tableName", ::apache::thrift::protocol::T_STRING, 3); + xfer += oprot->writeString(this->tableName); + xfer += oprot->writeFieldEnd(); + + if (this->__isset.partNames) { + xfer += oprot->writeFieldBegin("partNames", ::apache::thrift::protocol::T_LIST, 4); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->partNames.size())); + std::vector ::const_iterator _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.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; + dbName = other678.dbName; + tableName = other678.tableName; + partNames = other678.partNames; + __isset = other678.__isset; +} +ReplTblWriteIdStateRequest& ReplTblWriteIdStateRequest::operator=(const ReplTblWriteIdStateRequest& other679) { + validWriteIdlist = other679.validWriteIdlist; + 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 << ", " << "dbName=" << to_string(dbName); + out << ", " << "tableName=" << to_string(tableName); + out << ", " << "partNames="; (__isset.partNames ? (out << to_string(partNames)) : (out << "")); + out << ")"; +} + + GetValidWriteIdsRequest::~GetValidWriteIdsRequest() throw() { } @@ -16579,14 +16756,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 +16804,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 +16828,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 +16916,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 +16984,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 +17017,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 +17080,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 +17118,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 +17137,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 { @@ -17019,14 +17196,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(); } @@ -17077,10 +17254,10 @@ uint32_t AllocateTableWriteIdsRequest::write(::apache::thrift::protocol::TProtoc xfer += oprot->writeFieldBegin("txnIds", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txnIds.size())); - std::vector ::const_iterator _iter701; - for (_iter701 = this->txnIds.begin(); _iter701 != this->txnIds.end(); ++_iter701) + std::vector ::const_iterator _iter709; + for (_iter709 = this->txnIds.begin(); _iter709 != this->txnIds.end(); ++_iter709) { - xfer += oprot->writeI64((*_iter701)); + xfer += oprot->writeI64((*_iter709)); } xfer += oprot->writeListEnd(); } @@ -17106,15 +17283,15 @@ void swap(AllocateTableWriteIdsRequest &a, AllocateTableWriteIdsRequest &b) { swap(a.tableName, b.tableName); } -AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other702) { - txnIds = other702.txnIds; - dbName = other702.dbName; - tableName = other702.tableName; +AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other710) { + txnIds = other710.txnIds; + dbName = other710.dbName; + tableName = other710.tableName; } -AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other703) { - txnIds = other703.txnIds; - dbName = other703.dbName; - tableName = other703.tableName; +AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other711) { + txnIds = other711.txnIds; + dbName = other711.dbName; + tableName = other711.tableName; return *this; } void AllocateTableWriteIdsRequest::printTo(std::ostream& out) const { @@ -17218,13 +17395,13 @@ void swap(TxnToWriteId &a, TxnToWriteId &b) { swap(a.writeId, b.writeId); } -TxnToWriteId::TxnToWriteId(const TxnToWriteId& other704) { - txnId = other704.txnId; - writeId = other704.writeId; +TxnToWriteId::TxnToWriteId(const TxnToWriteId& other712) { + txnId = other712.txnId; + writeId = other712.writeId; } -TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other705) { - txnId = other705.txnId; - writeId = other705.writeId; +TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other713) { + txnId = other713.txnId; + writeId = other713.writeId; return *this; } void TxnToWriteId::printTo(std::ostream& out) const { @@ -17270,14 +17447,14 @@ uint32_t AllocateTableWriteIdsResponse::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnToWriteIds.clear(); - uint32_t _size706; - ::apache::thrift::protocol::TType _etype709; - xfer += iprot->readListBegin(_etype709, _size706); - this->txnToWriteIds.resize(_size706); - uint32_t _i710; - for (_i710 = 0; _i710 < _size706; ++_i710) + uint32_t _size714; + ::apache::thrift::protocol::TType _etype717; + xfer += iprot->readListBegin(_etype717, _size714); + this->txnToWriteIds.resize(_size714); + uint32_t _i718; + for (_i718 = 0; _i718 < _size714; ++_i718) { - xfer += this->txnToWriteIds[_i710].read(iprot); + xfer += this->txnToWriteIds[_i718].read(iprot); } xfer += iprot->readListEnd(); } @@ -17308,10 +17485,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 _iter711; - for (_iter711 = this->txnToWriteIds.begin(); _iter711 != this->txnToWriteIds.end(); ++_iter711) + std::vector ::const_iterator _iter719; + for (_iter719 = this->txnToWriteIds.begin(); _iter719 != this->txnToWriteIds.end(); ++_iter719) { - xfer += (*_iter711).write(oprot); + xfer += (*_iter719).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17327,11 +17504,11 @@ void swap(AllocateTableWriteIdsResponse &a, AllocateTableWriteIdsResponse &b) { swap(a.txnToWriteIds, b.txnToWriteIds); } -AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other712) { - txnToWriteIds = other712.txnToWriteIds; +AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other720) { + txnToWriteIds = other720.txnToWriteIds; } -AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other713) { - txnToWriteIds = other713.txnToWriteIds; +AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other721) { + txnToWriteIds = other721.txnToWriteIds; return *this; } void AllocateTableWriteIdsResponse::printTo(std::ostream& out) const { @@ -17409,9 +17586,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast714; - xfer += iprot->readI32(ecast714); - this->type = (LockType::type)ecast714; + int32_t ecast722; + xfer += iprot->readI32(ecast722); + this->type = (LockType::type)ecast722; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -17419,9 +17596,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast715; - xfer += iprot->readI32(ecast715); - this->level = (LockLevel::type)ecast715; + int32_t ecast723; + xfer += iprot->readI32(ecast723); + this->level = (LockLevel::type)ecast723; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -17453,9 +17630,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast716; - xfer += iprot->readI32(ecast716); - this->operationType = (DataOperationType::type)ecast716; + int32_t ecast724; + xfer += iprot->readI32(ecast724); + this->operationType = (DataOperationType::type)ecast724; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -17555,27 +17732,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other717) { - type = other717.type; - level = other717.level; - dbname = other717.dbname; - tablename = other717.tablename; - partitionname = other717.partitionname; - operationType = other717.operationType; - isTransactional = other717.isTransactional; - isDynamicPartitionWrite = other717.isDynamicPartitionWrite; - __isset = other717.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other718) { - type = other718.type; - level = other718.level; - dbname = other718.dbname; - tablename = other718.tablename; - partitionname = other718.partitionname; - operationType = other718.operationType; - isTransactional = other718.isTransactional; - isDynamicPartitionWrite = other718.isDynamicPartitionWrite; - __isset = other718.__isset; +LockComponent::LockComponent(const LockComponent& other725) { + type = other725.type; + level = other725.level; + dbname = other725.dbname; + tablename = other725.tablename; + partitionname = other725.partitionname; + operationType = other725.operationType; + isTransactional = other725.isTransactional; + isDynamicPartitionWrite = other725.isDynamicPartitionWrite; + __isset = other725.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other726) { + type = other726.type; + level = other726.level; + dbname = other726.dbname; + tablename = other726.tablename; + partitionname = other726.partitionname; + operationType = other726.operationType; + isTransactional = other726.isTransactional; + isDynamicPartitionWrite = other726.isDynamicPartitionWrite; + __isset = other726.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -17647,14 +17824,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size719; - ::apache::thrift::protocol::TType _etype722; - xfer += iprot->readListBegin(_etype722, _size719); - this->component.resize(_size719); - uint32_t _i723; - for (_i723 = 0; _i723 < _size719; ++_i723) + uint32_t _size727; + ::apache::thrift::protocol::TType _etype730; + xfer += iprot->readListBegin(_etype730, _size727); + this->component.resize(_size727); + uint32_t _i731; + for (_i731 = 0; _i731 < _size727; ++_i731) { - xfer += this->component[_i723].read(iprot); + xfer += this->component[_i731].read(iprot); } xfer += iprot->readListEnd(); } @@ -17721,10 +17898,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 _iter724; - for (_iter724 = this->component.begin(); _iter724 != this->component.end(); ++_iter724) + std::vector ::const_iterator _iter732; + for (_iter732 = this->component.begin(); _iter732 != this->component.end(); ++_iter732) { - xfer += (*_iter724).write(oprot); + xfer += (*_iter732).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17763,21 +17940,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other725) { - component = other725.component; - txnid = other725.txnid; - user = other725.user; - hostname = other725.hostname; - agentInfo = other725.agentInfo; - __isset = other725.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other726) { - component = other726.component; - txnid = other726.txnid; - user = other726.user; - hostname = other726.hostname; - agentInfo = other726.agentInfo; - __isset = other726.__isset; +LockRequest::LockRequest(const LockRequest& other733) { + component = other733.component; + txnid = other733.txnid; + user = other733.user; + hostname = other733.hostname; + agentInfo = other733.agentInfo; + __isset = other733.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other734) { + component = other734.component; + txnid = other734.txnid; + user = other734.user; + hostname = other734.hostname; + agentInfo = other734.agentInfo; + __isset = other734.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -17837,9 +18014,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast727; - xfer += iprot->readI32(ecast727); - this->state = (LockState::type)ecast727; + int32_t ecast735; + xfer += iprot->readI32(ecast735); + this->state = (LockState::type)ecast735; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -17885,13 +18062,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other728) { - lockid = other728.lockid; - state = other728.state; +LockResponse::LockResponse(const LockResponse& other736) { + lockid = other736.lockid; + state = other736.state; } -LockResponse& LockResponse::operator=(const LockResponse& other729) { - lockid = other729.lockid; - state = other729.state; +LockResponse& LockResponse::operator=(const LockResponse& other737) { + lockid = other737.lockid; + state = other737.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -18013,17 +18190,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other730) { - lockid = other730.lockid; - txnid = other730.txnid; - elapsed_ms = other730.elapsed_ms; - __isset = other730.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other738) { + lockid = other738.lockid; + txnid = other738.txnid; + elapsed_ms = other738.elapsed_ms; + __isset = other738.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other731) { - lockid = other731.lockid; - txnid = other731.txnid; - elapsed_ms = other731.elapsed_ms; - __isset = other731.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other739) { + lockid = other739.lockid; + txnid = other739.txnid; + elapsed_ms = other739.elapsed_ms; + __isset = other739.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -18107,11 +18284,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other732) { - lockid = other732.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other740) { + lockid = other740.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other733) { - lockid = other733.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other741) { + lockid = other741.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -18250,19 +18427,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other734) { - dbname = other734.dbname; - tablename = other734.tablename; - partname = other734.partname; - isExtended = other734.isExtended; - __isset = other734.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other742) { + dbname = other742.dbname; + tablename = other742.tablename; + partname = other742.partname; + isExtended = other742.isExtended; + __isset = other742.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other735) { - dbname = other735.dbname; - tablename = other735.tablename; - partname = other735.partname; - isExtended = other735.isExtended; - __isset = other735.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other743) { + dbname = other743.dbname; + tablename = other743.tablename; + partname = other743.partname; + isExtended = other743.isExtended; + __isset = other743.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -18415,9 +18592,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast736; - xfer += iprot->readI32(ecast736); - this->state = (LockState::type)ecast736; + int32_t ecast744; + xfer += iprot->readI32(ecast744); + this->state = (LockState::type)ecast744; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -18425,9 +18602,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast737; - xfer += iprot->readI32(ecast737); - this->type = (LockType::type)ecast737; + int32_t ecast745; + xfer += iprot->readI32(ecast745); + this->type = (LockType::type)ecast745; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -18643,43 +18820,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other738) { - lockid = other738.lockid; - dbname = other738.dbname; - tablename = other738.tablename; - partname = other738.partname; - state = other738.state; - type = other738.type; - txnid = other738.txnid; - lastheartbeat = other738.lastheartbeat; - acquiredat = other738.acquiredat; - user = other738.user; - hostname = other738.hostname; - heartbeatCount = other738.heartbeatCount; - agentInfo = other738.agentInfo; - blockedByExtId = other738.blockedByExtId; - blockedByIntId = other738.blockedByIntId; - lockIdInternal = other738.lockIdInternal; - __isset = other738.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other746) { + lockid = other746.lockid; + dbname = other746.dbname; + tablename = other746.tablename; + partname = other746.partname; + state = other746.state; + type = other746.type; + txnid = other746.txnid; + lastheartbeat = other746.lastheartbeat; + acquiredat = other746.acquiredat; + user = other746.user; + hostname = other746.hostname; + heartbeatCount = other746.heartbeatCount; + agentInfo = other746.agentInfo; + blockedByExtId = other746.blockedByExtId; + blockedByIntId = other746.blockedByIntId; + lockIdInternal = other746.lockIdInternal; + __isset = other746.__isset; } -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other739) { - lockid = other739.lockid; - dbname = other739.dbname; - tablename = other739.tablename; - partname = other739.partname; - state = other739.state; - type = other739.type; - txnid = other739.txnid; - lastheartbeat = other739.lastheartbeat; - acquiredat = other739.acquiredat; - user = other739.user; - hostname = other739.hostname; - heartbeatCount = other739.heartbeatCount; - agentInfo = other739.agentInfo; - blockedByExtId = other739.blockedByExtId; - blockedByIntId = other739.blockedByIntId; - lockIdInternal = other739.lockIdInternal; - __isset = other739.__isset; +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other747) { + lockid = other747.lockid; + dbname = other747.dbname; + tablename = other747.tablename; + partname = other747.partname; + state = other747.state; + type = other747.type; + txnid = other747.txnid; + lastheartbeat = other747.lastheartbeat; + acquiredat = other747.acquiredat; + user = other747.user; + hostname = other747.hostname; + heartbeatCount = other747.heartbeatCount; + agentInfo = other747.agentInfo; + blockedByExtId = other747.blockedByExtId; + blockedByIntId = other747.blockedByIntId; + lockIdInternal = other747.lockIdInternal; + __isset = other747.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -18738,14 +18915,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size740; - ::apache::thrift::protocol::TType _etype743; - xfer += iprot->readListBegin(_etype743, _size740); - this->locks.resize(_size740); - uint32_t _i744; - for (_i744 = 0; _i744 < _size740; ++_i744) + uint32_t _size748; + ::apache::thrift::protocol::TType _etype751; + xfer += iprot->readListBegin(_etype751, _size748); + this->locks.resize(_size748); + uint32_t _i752; + for (_i752 = 0; _i752 < _size748; ++_i752) { - xfer += this->locks[_i744].read(iprot); + xfer += this->locks[_i752].read(iprot); } xfer += iprot->readListEnd(); } @@ -18774,10 +18951,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 _iter745; - for (_iter745 = this->locks.begin(); _iter745 != this->locks.end(); ++_iter745) + std::vector ::const_iterator _iter753; + for (_iter753 = this->locks.begin(); _iter753 != this->locks.end(); ++_iter753) { - xfer += (*_iter745).write(oprot); + xfer += (*_iter753).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18794,13 +18971,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other746) { - locks = other746.locks; - __isset = other746.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other754) { + locks = other754.locks; + __isset = other754.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other747) { - locks = other747.locks; - __isset = other747.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other755) { + locks = other755.locks; + __isset = other755.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -18901,15 +19078,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other748) { - lockid = other748.lockid; - txnid = other748.txnid; - __isset = other748.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other756) { + lockid = other756.lockid; + txnid = other756.txnid; + __isset = other756.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other749) { - lockid = other749.lockid; - txnid = other749.txnid; - __isset = other749.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other757) { + lockid = other757.lockid; + txnid = other757.txnid; + __isset = other757.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -19012,13 +19189,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other750) { - min = other750.min; - max = other750.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other758) { + min = other758.min; + max = other758.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other751) { - min = other751.min; - max = other751.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other759) { + min = other759.min; + max = other759.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -19069,15 +19246,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size752; - ::apache::thrift::protocol::TType _etype755; - xfer += iprot->readSetBegin(_etype755, _size752); - uint32_t _i756; - for (_i756 = 0; _i756 < _size752; ++_i756) + uint32_t _size760; + ::apache::thrift::protocol::TType _etype763; + xfer += iprot->readSetBegin(_etype763, _size760); + uint32_t _i764; + for (_i764 = 0; _i764 < _size760; ++_i764) { - int64_t _elem757; - xfer += iprot->readI64(_elem757); - this->aborted.insert(_elem757); + int64_t _elem765; + xfer += iprot->readI64(_elem765); + this->aborted.insert(_elem765); } xfer += iprot->readSetEnd(); } @@ -19090,15 +19267,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.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->nosuch.insert(_elem763); + int64_t _elem771; + xfer += iprot->readI64(_elem771); + this->nosuch.insert(_elem771); } xfer += iprot->readSetEnd(); } @@ -19131,10 +19308,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 _iter764; - for (_iter764 = this->aborted.begin(); _iter764 != this->aborted.end(); ++_iter764) + std::set ::const_iterator _iter772; + for (_iter772 = this->aborted.begin(); _iter772 != this->aborted.end(); ++_iter772) { - xfer += oprot->writeI64((*_iter764)); + xfer += oprot->writeI64((*_iter772)); } xfer += oprot->writeSetEnd(); } @@ -19143,10 +19320,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 _iter765; - for (_iter765 = this->nosuch.begin(); _iter765 != this->nosuch.end(); ++_iter765) + std::set ::const_iterator _iter773; + for (_iter773 = this->nosuch.begin(); _iter773 != this->nosuch.end(); ++_iter773) { - xfer += oprot->writeI64((*_iter765)); + xfer += oprot->writeI64((*_iter773)); } xfer += oprot->writeSetEnd(); } @@ -19163,13 +19340,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other766) { - aborted = other766.aborted; - nosuch = other766.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other774) { + aborted = other774.aborted; + nosuch = other774.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other767) { - aborted = other767.aborted; - nosuch = other767.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other775) { + aborted = other775.aborted; + nosuch = other775.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -19262,9 +19439,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast768; - xfer += iprot->readI32(ecast768); - this->type = (CompactionType::type)ecast768; + int32_t ecast776; + xfer += iprot->readI32(ecast776); + this->type = (CompactionType::type)ecast776; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -19282,17 +19459,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size769; - ::apache::thrift::protocol::TType _ktype770; - ::apache::thrift::protocol::TType _vtype771; - xfer += iprot->readMapBegin(_ktype770, _vtype771, _size769); - uint32_t _i773; - for (_i773 = 0; _i773 < _size769; ++_i773) + uint32_t _size777; + ::apache::thrift::protocol::TType _ktype778; + ::apache::thrift::protocol::TType _vtype779; + xfer += iprot->readMapBegin(_ktype778, _vtype779, _size777); + uint32_t _i781; + for (_i781 = 0; _i781 < _size777; ++_i781) { - std::string _key774; - xfer += iprot->readString(_key774); - std::string& _val775 = this->properties[_key774]; - xfer += iprot->readString(_val775); + std::string _key782; + xfer += iprot->readString(_key782); + std::string& _val783 = this->properties[_key782]; + xfer += iprot->readString(_val783); } xfer += iprot->readMapEnd(); } @@ -19350,11 +19527,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 _iter776; - for (_iter776 = this->properties.begin(); _iter776 != this->properties.end(); ++_iter776) + std::map ::const_iterator _iter784; + for (_iter784 = this->properties.begin(); _iter784 != this->properties.end(); ++_iter784) { - xfer += oprot->writeString(_iter776->first); - xfer += oprot->writeString(_iter776->second); + xfer += oprot->writeString(_iter784->first); + xfer += oprot->writeString(_iter784->second); } xfer += oprot->writeMapEnd(); } @@ -19376,23 +19553,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other777) { - dbname = other777.dbname; - tablename = other777.tablename; - partitionname = other777.partitionname; - type = other777.type; - runas = other777.runas; - properties = other777.properties; - __isset = other777.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other778) { - dbname = other778.dbname; - tablename = other778.tablename; - partitionname = other778.partitionname; - type = other778.type; - runas = other778.runas; - properties = other778.properties; - __isset = other778.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other785) { + dbname = other785.dbname; + tablename = other785.tablename; + partitionname = other785.partitionname; + type = other785.type; + runas = other785.runas; + properties = other785.properties; + __isset = other785.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other786) { + dbname = other786.dbname; + tablename = other786.tablename; + partitionname = other786.partitionname; + type = other786.type; + runas = other786.runas; + properties = other786.properties; + __isset = other786.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -19519,15 +19696,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other779) { - id = other779.id; - state = other779.state; - accepted = other779.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other787) { + id = other787.id; + state = other787.state; + accepted = other787.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other780) { - id = other780.id; - state = other780.state; - accepted = other780.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other788) { + id = other788.id; + state = other788.state; + accepted = other788.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -19588,11 +19765,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other781) { - (void) other781; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other789) { + (void) other789; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other782) { - (void) other782; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other790) { + (void) other790; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -19718,9 +19895,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast783; - xfer += iprot->readI32(ecast783); - this->type = (CompactionType::type)ecast783; + int32_t ecast791; + xfer += iprot->readI32(ecast791); + this->type = (CompactionType::type)ecast791; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -19907,37 +20084,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other784) { - dbname = other784.dbname; - tablename = other784.tablename; - partitionname = other784.partitionname; - type = other784.type; - state = other784.state; - workerid = other784.workerid; - start = other784.start; - runAs = other784.runAs; - hightestTxnId = other784.hightestTxnId; - metaInfo = other784.metaInfo; - endTime = other784.endTime; - hadoopJobId = other784.hadoopJobId; - id = other784.id; - __isset = other784.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other785) { - dbname = other785.dbname; - tablename = other785.tablename; - partitionname = other785.partitionname; - type = other785.type; - state = other785.state; - workerid = other785.workerid; - start = other785.start; - runAs = other785.runAs; - hightestTxnId = other785.hightestTxnId; - metaInfo = other785.metaInfo; - endTime = other785.endTime; - hadoopJobId = other785.hadoopJobId; - id = other785.id; - __isset = other785.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other792) { + dbname = other792.dbname; + tablename = other792.tablename; + partitionname = other792.partitionname; + type = other792.type; + state = other792.state; + workerid = other792.workerid; + start = other792.start; + runAs = other792.runAs; + hightestTxnId = other792.hightestTxnId; + metaInfo = other792.metaInfo; + endTime = other792.endTime; + hadoopJobId = other792.hadoopJobId; + id = other792.id; + __isset = other792.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other793) { + dbname = other793.dbname; + tablename = other793.tablename; + partitionname = other793.partitionname; + type = other793.type; + state = other793.state; + workerid = other793.workerid; + start = other793.start; + runAs = other793.runAs; + hightestTxnId = other793.hightestTxnId; + metaInfo = other793.metaInfo; + endTime = other793.endTime; + hadoopJobId = other793.hadoopJobId; + id = other793.id; + __isset = other793.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -19994,14 +20171,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size786; - ::apache::thrift::protocol::TType _etype789; - xfer += iprot->readListBegin(_etype789, _size786); - this->compacts.resize(_size786); - uint32_t _i790; - for (_i790 = 0; _i790 < _size786; ++_i790) + uint32_t _size794; + ::apache::thrift::protocol::TType _etype797; + xfer += iprot->readListBegin(_etype797, _size794); + this->compacts.resize(_size794); + uint32_t _i798; + for (_i798 = 0; _i798 < _size794; ++_i798) { - xfer += this->compacts[_i790].read(iprot); + xfer += this->compacts[_i798].read(iprot); } xfer += iprot->readListEnd(); } @@ -20032,10 +20209,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 _iter791; - for (_iter791 = this->compacts.begin(); _iter791 != this->compacts.end(); ++_iter791) + std::vector ::const_iterator _iter799; + for (_iter799 = this->compacts.begin(); _iter799 != this->compacts.end(); ++_iter799) { - xfer += (*_iter791).write(oprot); + xfer += (*_iter799).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20051,11 +20228,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other792) { - compacts = other792.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other800) { + compacts = other800.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other793) { - compacts = other793.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other801) { + compacts = other801.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -20157,14 +20334,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size794; - ::apache::thrift::protocol::TType _etype797; - xfer += iprot->readListBegin(_etype797, _size794); - this->partitionnames.resize(_size794); - uint32_t _i798; - for (_i798 = 0; _i798 < _size794; ++_i798) + uint32_t _size802; + ::apache::thrift::protocol::TType _etype805; + xfer += iprot->readListBegin(_etype805, _size802); + this->partitionnames.resize(_size802); + uint32_t _i806; + for (_i806 = 0; _i806 < _size802; ++_i806) { - xfer += iprot->readString(this->partitionnames[_i798]); + xfer += iprot->readString(this->partitionnames[_i806]); } xfer += iprot->readListEnd(); } @@ -20175,9 +20352,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast799; - xfer += iprot->readI32(ecast799); - this->operationType = (DataOperationType::type)ecast799; + int32_t ecast807; + xfer += iprot->readI32(ecast807); + this->operationType = (DataOperationType::type)ecast807; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -20229,10 +20406,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 _iter800; - for (_iter800 = this->partitionnames.begin(); _iter800 != this->partitionnames.end(); ++_iter800) + std::vector ::const_iterator _iter808; + for (_iter808 = this->partitionnames.begin(); _iter808 != this->partitionnames.end(); ++_iter808) { - xfer += oprot->writeString((*_iter800)); + xfer += oprot->writeString((*_iter808)); } xfer += oprot->writeListEnd(); } @@ -20259,23 +20436,23 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other801) { - txnid = other801.txnid; - writeid = other801.writeid; - dbname = other801.dbname; - tablename = other801.tablename; - partitionnames = other801.partitionnames; - operationType = other801.operationType; - __isset = other801.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other802) { - txnid = other802.txnid; - writeid = other802.writeid; - dbname = other802.dbname; - tablename = other802.tablename; - partitionnames = other802.partitionnames; - operationType = other802.operationType; - __isset = other802.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other809) { + txnid = other809.txnid; + writeid = other809.writeid; + dbname = other809.dbname; + tablename = other809.tablename; + partitionnames = other809.partitionnames; + operationType = other809.operationType; + __isset = other809.__isset; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other810) { + txnid = other810.txnid; + writeid = other810.writeid; + dbname = other810.dbname; + tablename = other810.tablename; + partitionnames = other810.partitionnames; + operationType = other810.operationType; + __isset = other810.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -20458,23 +20635,23 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other803) { - isnull = other803.isnull; - time = other803.time; - txnid = other803.txnid; - dbname = other803.dbname; - tablename = other803.tablename; - partitionname = other803.partitionname; - __isset = other803.__isset; -} -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other804) { - isnull = other804.isnull; - time = other804.time; - txnid = other804.txnid; - dbname = other804.dbname; - tablename = other804.tablename; - partitionname = other804.partitionname; - __isset = other804.__isset; +BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other811) { + isnull = other811.isnull; + time = other811.time; + txnid = other811.txnid; + dbname = other811.dbname; + tablename = other811.tablename; + partitionname = other811.partitionname; + __isset = other811.__isset; +} +BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other812) { + isnull = other812.isnull; + time = other812.time; + txnid = other812.txnid; + dbname = other812.dbname; + tablename = other812.tablename; + partitionname = other812.partitionname; + __isset = other812.__isset; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { @@ -20568,15 +20745,15 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size805; - ::apache::thrift::protocol::TType _etype808; - xfer += iprot->readSetBegin(_etype808, _size805); - uint32_t _i809; - for (_i809 = 0; _i809 < _size805; ++_i809) + uint32_t _size813; + ::apache::thrift::protocol::TType _etype816; + xfer += iprot->readSetBegin(_etype816, _size813); + uint32_t _i817; + for (_i817 = 0; _i817 < _size813; ++_i817) { - std::string _elem810; - xfer += iprot->readString(_elem810); - this->tablesUsed.insert(_elem810); + std::string _elem818; + xfer += iprot->readString(_elem818); + this->tablesUsed.insert(_elem818); } xfer += iprot->readSetEnd(); } @@ -20633,10 +20810,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 _iter811; - for (_iter811 = this->tablesUsed.begin(); _iter811 != this->tablesUsed.end(); ++_iter811) + std::set ::const_iterator _iter819; + for (_iter819 = this->tablesUsed.begin(); _iter819 != this->tablesUsed.end(); ++_iter819) { - xfer += oprot->writeString((*_iter811)); + xfer += oprot->writeString((*_iter819)); } xfer += oprot->writeSetEnd(); } @@ -20662,21 +20839,21 @@ void swap(CreationMetadata &a, CreationMetadata &b) { swap(a.__isset, b.__isset); } -CreationMetadata::CreationMetadata(const CreationMetadata& other812) { - catName = other812.catName; - dbName = other812.dbName; - tblName = other812.tblName; - tablesUsed = other812.tablesUsed; - validTxnList = other812.validTxnList; - __isset = other812.__isset; -} -CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other813) { - catName = other813.catName; - dbName = other813.dbName; - tblName = other813.tblName; - tablesUsed = other813.tablesUsed; - validTxnList = other813.validTxnList; - __isset = other813.__isset; +CreationMetadata::CreationMetadata(const CreationMetadata& other820) { + catName = other820.catName; + dbName = other820.dbName; + tblName = other820.tblName; + tablesUsed = other820.tablesUsed; + validTxnList = other820.validTxnList; + __isset = other820.__isset; +} +CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other821) { + catName = other821.catName; + dbName = other821.dbName; + tblName = other821.tblName; + tablesUsed = other821.tablesUsed; + validTxnList = other821.validTxnList; + __isset = other821.__isset; return *this; } void CreationMetadata::printTo(std::ostream& out) const { @@ -20782,15 +20959,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other814) { - lastEvent = other814.lastEvent; - maxEvents = other814.maxEvents; - __isset = other814.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other822) { + lastEvent = other822.lastEvent; + maxEvents = other822.maxEvents; + __isset = other822.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other815) { - lastEvent = other815.lastEvent; - maxEvents = other815.maxEvents; - __isset = other815.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other823) { + lastEvent = other823.lastEvent; + maxEvents = other823.maxEvents; + __isset = other823.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -21010,27 +21187,27 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other816) { - eventId = other816.eventId; - eventTime = other816.eventTime; - eventType = other816.eventType; - dbName = other816.dbName; - tableName = other816.tableName; - message = other816.message; - messageFormat = other816.messageFormat; - catName = other816.catName; - __isset = other816.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other817) { - eventId = other817.eventId; - eventTime = other817.eventTime; - eventType = other817.eventType; - dbName = other817.dbName; - tableName = other817.tableName; - message = other817.message; - messageFormat = other817.messageFormat; - catName = other817.catName; - __isset = other817.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other824) { + eventId = other824.eventId; + eventTime = other824.eventTime; + eventType = other824.eventType; + dbName = other824.dbName; + tableName = other824.tableName; + message = other824.message; + messageFormat = other824.messageFormat; + catName = other824.catName; + __isset = other824.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other825) { + eventId = other825.eventId; + eventTime = other825.eventTime; + eventType = other825.eventType; + dbName = other825.dbName; + tableName = other825.tableName; + message = other825.message; + messageFormat = other825.messageFormat; + catName = other825.catName; + __isset = other825.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -21082,14 +21259,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size818; - ::apache::thrift::protocol::TType _etype821; - xfer += iprot->readListBegin(_etype821, _size818); - this->events.resize(_size818); - uint32_t _i822; - for (_i822 = 0; _i822 < _size818; ++_i822) + uint32_t _size826; + ::apache::thrift::protocol::TType _etype829; + xfer += iprot->readListBegin(_etype829, _size826); + this->events.resize(_size826); + uint32_t _i830; + for (_i830 = 0; _i830 < _size826; ++_i830) { - xfer += this->events[_i822].read(iprot); + xfer += this->events[_i830].read(iprot); } xfer += iprot->readListEnd(); } @@ -21120,10 +21297,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 _iter823; - for (_iter823 = this->events.begin(); _iter823 != this->events.end(); ++_iter823) + std::vector ::const_iterator _iter831; + for (_iter831 = this->events.begin(); _iter831 != this->events.end(); ++_iter831) { - xfer += (*_iter823).write(oprot); + xfer += (*_iter831).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21139,11 +21316,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other824) { - events = other824.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other832) { + events = other832.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other825) { - events = other825.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other833) { + events = other833.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -21225,11 +21402,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other826) { - eventId = other826.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other834) { + eventId = other834.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other827) { - eventId = other827.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other835) { + eventId = other835.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -21351,17 +21528,17 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.__isset, b.__isset); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other828) { - fromEventId = other828.fromEventId; - dbName = other828.dbName; - catName = other828.catName; - __isset = other828.__isset; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other836) { + fromEventId = other836.fromEventId; + dbName = other836.dbName; + catName = other836.catName; + __isset = other836.__isset; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other829) { - fromEventId = other829.fromEventId; - dbName = other829.dbName; - catName = other829.catName; - __isset = other829.__isset; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other837) { + fromEventId = other837.fromEventId; + dbName = other837.dbName; + catName = other837.catName; + __isset = other837.__isset; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -21445,11 +21622,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other830) { - eventsCount = other830.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other838) { + eventsCount = other838.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other831) { - eventsCount = other831.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other839) { + eventsCount = other839.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -21512,14 +21689,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size832; - ::apache::thrift::protocol::TType _etype835; - xfer += iprot->readListBegin(_etype835, _size832); - this->filesAdded.resize(_size832); - uint32_t _i836; - for (_i836 = 0; _i836 < _size832; ++_i836) + uint32_t _size840; + ::apache::thrift::protocol::TType _etype843; + xfer += iprot->readListBegin(_etype843, _size840); + this->filesAdded.resize(_size840); + uint32_t _i844; + for (_i844 = 0; _i844 < _size840; ++_i844) { - xfer += iprot->readString(this->filesAdded[_i836]); + xfer += iprot->readString(this->filesAdded[_i844]); } xfer += iprot->readListEnd(); } @@ -21532,14 +21709,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size837; - ::apache::thrift::protocol::TType _etype840; - xfer += iprot->readListBegin(_etype840, _size837); - this->filesAddedChecksum.resize(_size837); - uint32_t _i841; - for (_i841 = 0; _i841 < _size837; ++_i841) + uint32_t _size845; + ::apache::thrift::protocol::TType _etype848; + xfer += iprot->readListBegin(_etype848, _size845); + this->filesAddedChecksum.resize(_size845); + uint32_t _i849; + for (_i849 = 0; _i849 < _size845; ++_i849) { - xfer += iprot->readString(this->filesAddedChecksum[_i841]); + xfer += iprot->readString(this->filesAddedChecksum[_i849]); } xfer += iprot->readListEnd(); } @@ -21575,10 +21752,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 _iter842; - for (_iter842 = this->filesAdded.begin(); _iter842 != this->filesAdded.end(); ++_iter842) + std::vector ::const_iterator _iter850; + for (_iter850 = this->filesAdded.begin(); _iter850 != this->filesAdded.end(); ++_iter850) { - xfer += oprot->writeString((*_iter842)); + xfer += oprot->writeString((*_iter850)); } xfer += oprot->writeListEnd(); } @@ -21588,10 +21765,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 _iter843; - for (_iter843 = this->filesAddedChecksum.begin(); _iter843 != this->filesAddedChecksum.end(); ++_iter843) + std::vector ::const_iterator _iter851; + for (_iter851 = this->filesAddedChecksum.begin(); _iter851 != this->filesAddedChecksum.end(); ++_iter851) { - xfer += oprot->writeString((*_iter843)); + xfer += oprot->writeString((*_iter851)); } xfer += oprot->writeListEnd(); } @@ -21610,17 +21787,17 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other844) { - replace = other844.replace; - filesAdded = other844.filesAdded; - filesAddedChecksum = other844.filesAddedChecksum; - __isset = other844.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other852) { + replace = other852.replace; + filesAdded = other852.filesAdded; + filesAddedChecksum = other852.filesAddedChecksum; + __isset = other852.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other845) { - replace = other845.replace; - filesAdded = other845.filesAdded; - filesAddedChecksum = other845.filesAddedChecksum; - __isset = other845.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other853) { + replace = other853.replace; + filesAdded = other853.filesAdded; + filesAddedChecksum = other853.filesAddedChecksum; + __isset = other853.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -21702,13 +21879,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other846) { - insertData = other846.insertData; - __isset = other846.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other854) { + insertData = other854.insertData; + __isset = other854.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other847) { - insertData = other847.insertData; - __isset = other847.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other855) { + insertData = other855.insertData; + __isset = other855.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -21810,14 +21987,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size848; - ::apache::thrift::protocol::TType _etype851; - xfer += iprot->readListBegin(_etype851, _size848); - this->partitionVals.resize(_size848); - uint32_t _i852; - for (_i852 = 0; _i852 < _size848; ++_i852) + uint32_t _size856; + ::apache::thrift::protocol::TType _etype859; + xfer += iprot->readListBegin(_etype859, _size856); + this->partitionVals.resize(_size856); + uint32_t _i860; + for (_i860 = 0; _i860 < _size856; ++_i860) { - xfer += iprot->readString(this->partitionVals[_i852]); + xfer += iprot->readString(this->partitionVals[_i860]); } xfer += iprot->readListEnd(); } @@ -21877,10 +22054,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 _iter853; - for (_iter853 = this->partitionVals.begin(); _iter853 != this->partitionVals.end(); ++_iter853) + std::vector ::const_iterator _iter861; + for (_iter861 = this->partitionVals.begin(); _iter861 != this->partitionVals.end(); ++_iter861) { - xfer += oprot->writeString((*_iter853)); + xfer += oprot->writeString((*_iter861)); } xfer += oprot->writeListEnd(); } @@ -21907,23 +22084,23 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other854) { - successful = other854.successful; - data = other854.data; - dbName = other854.dbName; - tableName = other854.tableName; - partitionVals = other854.partitionVals; - catName = other854.catName; - __isset = other854.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other855) { - successful = other855.successful; - data = other855.data; - dbName = other855.dbName; - tableName = other855.tableName; - partitionVals = other855.partitionVals; - catName = other855.catName; - __isset = other855.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other862) { + successful = other862.successful; + data = other862.data; + dbName = other862.dbName; + tableName = other862.tableName; + partitionVals = other862.partitionVals; + catName = other862.catName; + __isset = other862.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other863) { + successful = other863.successful; + data = other863.data; + dbName = other863.dbName; + tableName = other863.tableName; + partitionVals = other863.partitionVals; + catName = other863.catName; + __isset = other863.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -21987,11 +22164,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other856) { - (void) other856; +FireEventResponse::FireEventResponse(const FireEventResponse& other864) { + (void) other864; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other857) { - (void) other857; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other865) { + (void) other865; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -22091,15 +22268,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other858) { - metadata = other858.metadata; - includeBitset = other858.includeBitset; - __isset = other858.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other866) { + metadata = other866.metadata; + includeBitset = other866.includeBitset; + __isset = other866.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other859) { - metadata = other859.metadata; - includeBitset = other859.includeBitset; - __isset = other859.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other867) { + metadata = other867.metadata; + includeBitset = other867.includeBitset; + __isset = other867.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -22150,17 +22327,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size860; - ::apache::thrift::protocol::TType _ktype861; - ::apache::thrift::protocol::TType _vtype862; - xfer += iprot->readMapBegin(_ktype861, _vtype862, _size860); - uint32_t _i864; - for (_i864 = 0; _i864 < _size860; ++_i864) + uint32_t _size868; + ::apache::thrift::protocol::TType _ktype869; + ::apache::thrift::protocol::TType _vtype870; + xfer += iprot->readMapBegin(_ktype869, _vtype870, _size868); + uint32_t _i872; + for (_i872 = 0; _i872 < _size868; ++_i872) { - int64_t _key865; - xfer += iprot->readI64(_key865); - MetadataPpdResult& _val866 = this->metadata[_key865]; - xfer += _val866.read(iprot); + int64_t _key873; + xfer += iprot->readI64(_key873); + MetadataPpdResult& _val874 = this->metadata[_key873]; + xfer += _val874.read(iprot); } xfer += iprot->readMapEnd(); } @@ -22201,11 +22378,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 _iter867; - for (_iter867 = this->metadata.begin(); _iter867 != this->metadata.end(); ++_iter867) + std::map ::const_iterator _iter875; + for (_iter875 = this->metadata.begin(); _iter875 != this->metadata.end(); ++_iter875) { - xfer += oprot->writeI64(_iter867->first); - xfer += _iter867->second.write(oprot); + xfer += oprot->writeI64(_iter875->first); + xfer += _iter875->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -22226,13 +22403,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other868) { - metadata = other868.metadata; - isSupported = other868.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other876) { + metadata = other876.metadata; + isSupported = other876.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other869) { - metadata = other869.metadata; - isSupported = other869.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other877) { + metadata = other877.metadata; + isSupported = other877.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -22293,14 +22470,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size870; - ::apache::thrift::protocol::TType _etype873; - xfer += iprot->readListBegin(_etype873, _size870); - this->fileIds.resize(_size870); - uint32_t _i874; - for (_i874 = 0; _i874 < _size870; ++_i874) + uint32_t _size878; + ::apache::thrift::protocol::TType _etype881; + xfer += iprot->readListBegin(_etype881, _size878); + this->fileIds.resize(_size878); + uint32_t _i882; + for (_i882 = 0; _i882 < _size878; ++_i882) { - xfer += iprot->readI64(this->fileIds[_i874]); + xfer += iprot->readI64(this->fileIds[_i882]); } xfer += iprot->readListEnd(); } @@ -22327,9 +22504,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast875; - xfer += iprot->readI32(ecast875); - this->type = (FileMetadataExprType::type)ecast875; + int32_t ecast883; + xfer += iprot->readI32(ecast883); + this->type = (FileMetadataExprType::type)ecast883; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -22359,10 +22536,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 _iter876; - for (_iter876 = this->fileIds.begin(); _iter876 != this->fileIds.end(); ++_iter876) + std::vector ::const_iterator _iter884; + for (_iter884 = this->fileIds.begin(); _iter884 != this->fileIds.end(); ++_iter884) { - xfer += oprot->writeI64((*_iter876)); + xfer += oprot->writeI64((*_iter884)); } xfer += oprot->writeListEnd(); } @@ -22396,19 +22573,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other877) { - fileIds = other877.fileIds; - expr = other877.expr; - doGetFooters = other877.doGetFooters; - type = other877.type; - __isset = other877.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other885) { + fileIds = other885.fileIds; + expr = other885.expr; + doGetFooters = other885.doGetFooters; + type = other885.type; + __isset = other885.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other878) { - fileIds = other878.fileIds; - expr = other878.expr; - doGetFooters = other878.doGetFooters; - type = other878.type; - __isset = other878.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other886) { + fileIds = other886.fileIds; + expr = other886.expr; + doGetFooters = other886.doGetFooters; + type = other886.type; + __isset = other886.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -22461,17 +22638,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size879; - ::apache::thrift::protocol::TType _ktype880; - ::apache::thrift::protocol::TType _vtype881; - xfer += iprot->readMapBegin(_ktype880, _vtype881, _size879); - uint32_t _i883; - for (_i883 = 0; _i883 < _size879; ++_i883) + uint32_t _size887; + ::apache::thrift::protocol::TType _ktype888; + ::apache::thrift::protocol::TType _vtype889; + xfer += iprot->readMapBegin(_ktype888, _vtype889, _size887); + uint32_t _i891; + for (_i891 = 0; _i891 < _size887; ++_i891) { - int64_t _key884; - xfer += iprot->readI64(_key884); - std::string& _val885 = this->metadata[_key884]; - xfer += iprot->readBinary(_val885); + int64_t _key892; + xfer += iprot->readI64(_key892); + std::string& _val893 = this->metadata[_key892]; + xfer += iprot->readBinary(_val893); } xfer += iprot->readMapEnd(); } @@ -22512,11 +22689,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 _iter886; - for (_iter886 = this->metadata.begin(); _iter886 != this->metadata.end(); ++_iter886) + std::map ::const_iterator _iter894; + for (_iter894 = this->metadata.begin(); _iter894 != this->metadata.end(); ++_iter894) { - xfer += oprot->writeI64(_iter886->first); - xfer += oprot->writeBinary(_iter886->second); + xfer += oprot->writeI64(_iter894->first); + xfer += oprot->writeBinary(_iter894->second); } xfer += oprot->writeMapEnd(); } @@ -22537,13 +22714,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other887) { - metadata = other887.metadata; - isSupported = other887.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other895) { + metadata = other895.metadata; + isSupported = other895.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other888) { - metadata = other888.metadata; - isSupported = other888.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other896) { + metadata = other896.metadata; + isSupported = other896.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -22589,14 +22766,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size889; - ::apache::thrift::protocol::TType _etype892; - xfer += iprot->readListBegin(_etype892, _size889); - this->fileIds.resize(_size889); - uint32_t _i893; - for (_i893 = 0; _i893 < _size889; ++_i893) + uint32_t _size897; + ::apache::thrift::protocol::TType _etype900; + xfer += iprot->readListBegin(_etype900, _size897); + this->fileIds.resize(_size897); + uint32_t _i901; + for (_i901 = 0; _i901 < _size897; ++_i901) { - xfer += iprot->readI64(this->fileIds[_i893]); + xfer += iprot->readI64(this->fileIds[_i901]); } xfer += iprot->readListEnd(); } @@ -22627,10 +22804,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 _iter894; - for (_iter894 = this->fileIds.begin(); _iter894 != this->fileIds.end(); ++_iter894) + std::vector ::const_iterator _iter902; + for (_iter902 = this->fileIds.begin(); _iter902 != this->fileIds.end(); ++_iter902) { - xfer += oprot->writeI64((*_iter894)); + xfer += oprot->writeI64((*_iter902)); } xfer += oprot->writeListEnd(); } @@ -22646,11 +22823,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other895) { - fileIds = other895.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other903) { + fileIds = other903.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other896) { - fileIds = other896.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other904) { + fileIds = other904.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -22709,11 +22886,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other897) { - (void) other897; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other905) { + (void) other905; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other898) { - (void) other898; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other906) { + (void) other906; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -22767,14 +22944,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size899; - ::apache::thrift::protocol::TType _etype902; - xfer += iprot->readListBegin(_etype902, _size899); - this->fileIds.resize(_size899); - uint32_t _i903; - for (_i903 = 0; _i903 < _size899; ++_i903) + uint32_t _size907; + ::apache::thrift::protocol::TType _etype910; + xfer += iprot->readListBegin(_etype910, _size907); + this->fileIds.resize(_size907); + uint32_t _i911; + for (_i911 = 0; _i911 < _size907; ++_i911) { - xfer += iprot->readI64(this->fileIds[_i903]); + xfer += iprot->readI64(this->fileIds[_i911]); } xfer += iprot->readListEnd(); } @@ -22787,14 +22964,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size904; - ::apache::thrift::protocol::TType _etype907; - xfer += iprot->readListBegin(_etype907, _size904); - this->metadata.resize(_size904); - uint32_t _i908; - for (_i908 = 0; _i908 < _size904; ++_i908) + uint32_t _size912; + ::apache::thrift::protocol::TType _etype915; + xfer += iprot->readListBegin(_etype915, _size912); + this->metadata.resize(_size912); + uint32_t _i916; + for (_i916 = 0; _i916 < _size912; ++_i916) { - xfer += iprot->readBinary(this->metadata[_i908]); + xfer += iprot->readBinary(this->metadata[_i916]); } xfer += iprot->readListEnd(); } @@ -22805,9 +22982,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast909; - xfer += iprot->readI32(ecast909); - this->type = (FileMetadataExprType::type)ecast909; + int32_t ecast917; + xfer += iprot->readI32(ecast917); + this->type = (FileMetadataExprType::type)ecast917; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -22837,10 +23014,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 _iter910; - for (_iter910 = this->fileIds.begin(); _iter910 != this->fileIds.end(); ++_iter910) + std::vector ::const_iterator _iter918; + for (_iter918 = this->fileIds.begin(); _iter918 != this->fileIds.end(); ++_iter918) { - xfer += oprot->writeI64((*_iter910)); + xfer += oprot->writeI64((*_iter918)); } xfer += oprot->writeListEnd(); } @@ -22849,10 +23026,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 _iter911; - for (_iter911 = this->metadata.begin(); _iter911 != this->metadata.end(); ++_iter911) + std::vector ::const_iterator _iter919; + for (_iter919 = this->metadata.begin(); _iter919 != this->metadata.end(); ++_iter919) { - xfer += oprot->writeBinary((*_iter911)); + xfer += oprot->writeBinary((*_iter919)); } xfer += oprot->writeListEnd(); } @@ -22876,17 +23053,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other912) { - fileIds = other912.fileIds; - metadata = other912.metadata; - type = other912.type; - __isset = other912.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other920) { + fileIds = other920.fileIds; + metadata = other920.metadata; + type = other920.type; + __isset = other920.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other913) { - fileIds = other913.fileIds; - metadata = other913.metadata; - type = other913.type; - __isset = other913.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other921) { + fileIds = other921.fileIds; + metadata = other921.metadata; + type = other921.type; + __isset = other921.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -22947,11 +23124,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other914) { - (void) other914; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other922) { + (void) other922; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other915) { - (void) other915; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other923) { + (void) other923; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -22995,14 +23172,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size916; - ::apache::thrift::protocol::TType _etype919; - xfer += iprot->readListBegin(_etype919, _size916); - this->fileIds.resize(_size916); - uint32_t _i920; - for (_i920 = 0; _i920 < _size916; ++_i920) + uint32_t _size924; + ::apache::thrift::protocol::TType _etype927; + xfer += iprot->readListBegin(_etype927, _size924); + this->fileIds.resize(_size924); + uint32_t _i928; + for (_i928 = 0; _i928 < _size924; ++_i928) { - xfer += iprot->readI64(this->fileIds[_i920]); + xfer += iprot->readI64(this->fileIds[_i928]); } xfer += iprot->readListEnd(); } @@ -23033,10 +23210,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 _iter921; - for (_iter921 = this->fileIds.begin(); _iter921 != this->fileIds.end(); ++_iter921) + std::vector ::const_iterator _iter929; + for (_iter929 = this->fileIds.begin(); _iter929 != this->fileIds.end(); ++_iter929) { - xfer += oprot->writeI64((*_iter921)); + xfer += oprot->writeI64((*_iter929)); } xfer += oprot->writeListEnd(); } @@ -23052,11 +23229,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other922) { - fileIds = other922.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other930) { + fileIds = other930.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other923) { - fileIds = other923.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other931) { + fileIds = other931.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -23138,11 +23315,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other924) { - isSupported = other924.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other932) { + isSupported = other932.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other925) { - isSupported = other925.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other933) { + isSupported = other933.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -23283,19 +23460,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other926) { - dbName = other926.dbName; - tblName = other926.tblName; - partName = other926.partName; - isAllParts = other926.isAllParts; - __isset = other926.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other934) { + dbName = other934.dbName; + tblName = other934.tblName; + partName = other934.partName; + isAllParts = other934.isAllParts; + __isset = other934.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other927) { - dbName = other927.dbName; - tblName = other927.tblName; - partName = other927.partName; - isAllParts = other927.isAllParts; - __isset = other927.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other935) { + dbName = other935.dbName; + tblName = other935.tblName; + partName = other935.partName; + isAllParts = other935.isAllParts; + __isset = other935.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -23343,14 +23520,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size928; - ::apache::thrift::protocol::TType _etype931; - xfer += iprot->readListBegin(_etype931, _size928); - this->functions.resize(_size928); - uint32_t _i932; - for (_i932 = 0; _i932 < _size928; ++_i932) + uint32_t _size936; + ::apache::thrift::protocol::TType _etype939; + xfer += iprot->readListBegin(_etype939, _size936); + this->functions.resize(_size936); + uint32_t _i940; + for (_i940 = 0; _i940 < _size936; ++_i940) { - xfer += this->functions[_i932].read(iprot); + xfer += this->functions[_i940].read(iprot); } xfer += iprot->readListEnd(); } @@ -23380,10 +23557,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 _iter933; - for (_iter933 = this->functions.begin(); _iter933 != this->functions.end(); ++_iter933) + std::vector ::const_iterator _iter941; + for (_iter941 = this->functions.begin(); _iter941 != this->functions.end(); ++_iter941) { - xfer += (*_iter933).write(oprot); + xfer += (*_iter941).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23400,13 +23577,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other934) { - functions = other934.functions; - __isset = other934.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other942) { + functions = other942.functions; + __isset = other942.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other935) { - functions = other935.functions; - __isset = other935.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other943) { + functions = other943.functions; + __isset = other943.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -23451,16 +23628,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size936; - ::apache::thrift::protocol::TType _etype939; - xfer += iprot->readListBegin(_etype939, _size936); - this->values.resize(_size936); - uint32_t _i940; - for (_i940 = 0; _i940 < _size936; ++_i940) + uint32_t _size944; + ::apache::thrift::protocol::TType _etype947; + xfer += iprot->readListBegin(_etype947, _size944); + this->values.resize(_size944); + uint32_t _i948; + for (_i948 = 0; _i948 < _size944; ++_i948) { - int32_t ecast941; - xfer += iprot->readI32(ecast941); - this->values[_i940] = (ClientCapability::type)ecast941; + int32_t ecast949; + xfer += iprot->readI32(ecast949); + this->values[_i948] = (ClientCapability::type)ecast949; } xfer += iprot->readListEnd(); } @@ -23491,10 +23668,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 _iter942; - for (_iter942 = this->values.begin(); _iter942 != this->values.end(); ++_iter942) + std::vector ::const_iterator _iter950; + for (_iter950 = this->values.begin(); _iter950 != this->values.end(); ++_iter950) { - xfer += oprot->writeI32((int32_t)(*_iter942)); + xfer += oprot->writeI32((int32_t)(*_iter950)); } xfer += oprot->writeListEnd(); } @@ -23510,11 +23687,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other943) { - values = other943.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other951) { + values = other951.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other944) { - values = other944.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other952) { + values = other952.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -23655,19 +23832,19 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other945) { - dbName = other945.dbName; - tblName = other945.tblName; - capabilities = other945.capabilities; - catName = other945.catName; - __isset = other945.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other953) { + dbName = other953.dbName; + tblName = other953.tblName; + capabilities = other953.capabilities; + catName = other953.catName; + __isset = other953.__isset; } -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other946) { - dbName = other946.dbName; - tblName = other946.tblName; - capabilities = other946.capabilities; - catName = other946.catName; - __isset = other946.__isset; +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other954) { + dbName = other954.dbName; + tblName = other954.tblName; + capabilities = other954.capabilities; + catName = other954.catName; + __isset = other954.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -23752,11 +23929,11 @@ void swap(GetTableResult &a, GetTableResult &b) { swap(a.table, b.table); } -GetTableResult::GetTableResult(const GetTableResult& other947) { - table = other947.table; +GetTableResult::GetTableResult(const GetTableResult& other955) { + table = other955.table; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other948) { - table = other948.table; +GetTableResult& GetTableResult::operator=(const GetTableResult& other956) { + table = other956.table; return *this; } void GetTableResult::printTo(std::ostream& out) const { @@ -23824,14 +24001,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size949; - ::apache::thrift::protocol::TType _etype952; - xfer += iprot->readListBegin(_etype952, _size949); - this->tblNames.resize(_size949); - uint32_t _i953; - for (_i953 = 0; _i953 < _size949; ++_i953) + uint32_t _size957; + ::apache::thrift::protocol::TType _etype960; + xfer += iprot->readListBegin(_etype960, _size957); + this->tblNames.resize(_size957); + uint32_t _i961; + for (_i961 = 0; _i961 < _size957; ++_i961) { - xfer += iprot->readString(this->tblNames[_i953]); + xfer += iprot->readString(this->tblNames[_i961]); } xfer += iprot->readListEnd(); } @@ -23883,10 +24060,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 _iter954; - for (_iter954 = this->tblNames.begin(); _iter954 != this->tblNames.end(); ++_iter954) + std::vector ::const_iterator _iter962; + for (_iter962 = this->tblNames.begin(); _iter962 != this->tblNames.end(); ++_iter962) { - xfer += oprot->writeString((*_iter954)); + xfer += oprot->writeString((*_iter962)); } xfer += oprot->writeListEnd(); } @@ -23916,19 +24093,19 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other955) { - dbName = other955.dbName; - tblNames = other955.tblNames; - capabilities = other955.capabilities; - catName = other955.catName; - __isset = other955.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other963) { + dbName = other963.dbName; + tblNames = other963.tblNames; + capabilities = other963.capabilities; + catName = other963.catName; + __isset = other963.__isset; } -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other956) { - dbName = other956.dbName; - tblNames = other956.tblNames; - capabilities = other956.capabilities; - catName = other956.catName; - __isset = other956.__isset; +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other964) { + dbName = other964.dbName; + tblNames = other964.tblNames; + capabilities = other964.capabilities; + catName = other964.catName; + __isset = other964.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -23976,14 +24153,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size957; - ::apache::thrift::protocol::TType _etype960; - xfer += iprot->readListBegin(_etype960, _size957); - this->tables.resize(_size957); - uint32_t _i961; - for (_i961 = 0; _i961 < _size957; ++_i961) + uint32_t _size965; + ::apache::thrift::protocol::TType _etype968; + xfer += iprot->readListBegin(_etype968, _size965); + this->tables.resize(_size965); + uint32_t _i969; + for (_i969 = 0; _i969 < _size965; ++_i969) { - xfer += this->tables[_i961].read(iprot); + xfer += this->tables[_i969].read(iprot); } xfer += iprot->readListEnd(); } @@ -24014,10 +24191,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 _iter962; - for (_iter962 = this->tables.begin(); _iter962 != this->tables.end(); ++_iter962) + std::vector
::const_iterator _iter970; + for (_iter970 = this->tables.begin(); _iter970 != this->tables.end(); ++_iter970) { - xfer += (*_iter962).write(oprot); + xfer += (*_iter970).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24033,11 +24210,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other963) { - tables = other963.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other971) { + tables = other971.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other964) { - tables = other964.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other972) { + tables = other972.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -24139,13 +24316,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other965) { - dataPath = other965.dataPath; - purge = other965.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other973) { + dataPath = other973.dataPath; + purge = other973.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other966) { - dataPath = other966.dataPath; - purge = other966.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other974) { + dataPath = other974.dataPath; + purge = other974.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -24205,11 +24382,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other967) { - (void) other967; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other975) { + (void) other975; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other968) { - (void) other968; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other976) { + (void) other976; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -24369,21 +24546,21 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other969) { - dbName = other969.dbName; - tableName = other969.tableName; - tableType = other969.tableType; - comments = other969.comments; - catName = other969.catName; - __isset = other969.__isset; -} -TableMeta& TableMeta::operator=(const TableMeta& other970) { - dbName = other970.dbName; - tableName = other970.tableName; - tableType = other970.tableType; - comments = other970.comments; - catName = other970.catName; - __isset = other970.__isset; +TableMeta::TableMeta(const TableMeta& other977) { + dbName = other977.dbName; + tableName = other977.tableName; + tableType = other977.tableType; + comments = other977.comments; + catName = other977.catName; + __isset = other977.__isset; +} +TableMeta& TableMeta::operator=(const TableMeta& other978) { + dbName = other978.dbName; + tableName = other978.tableName; + tableType = other978.tableType; + comments = other978.comments; + catName = other978.catName; + __isset = other978.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -24447,15 +24624,15 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size971; - ::apache::thrift::protocol::TType _etype974; - xfer += iprot->readSetBegin(_etype974, _size971); - uint32_t _i975; - for (_i975 = 0; _i975 < _size971; ++_i975) + uint32_t _size979; + ::apache::thrift::protocol::TType _etype982; + xfer += iprot->readSetBegin(_etype982, _size979); + uint32_t _i983; + for (_i983 = 0; _i983 < _size979; ++_i983) { - std::string _elem976; - xfer += iprot->readString(_elem976); - this->tablesUsed.insert(_elem976); + std::string _elem984; + xfer += iprot->readString(_elem984); + this->tablesUsed.insert(_elem984); } xfer += iprot->readSetEnd(); } @@ -24510,10 +24687,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 _iter977; - for (_iter977 = this->tablesUsed.begin(); _iter977 != this->tablesUsed.end(); ++_iter977) + std::set ::const_iterator _iter985; + for (_iter985 = this->tablesUsed.begin(); _iter985 != this->tablesUsed.end(); ++_iter985) { - xfer += oprot->writeString((*_iter977)); + xfer += oprot->writeString((*_iter985)); } xfer += oprot->writeSetEnd(); } @@ -24548,19 +24725,19 @@ void swap(Materialization &a, Materialization &b) { swap(a.__isset, b.__isset); } -Materialization::Materialization(const Materialization& other978) { - tablesUsed = other978.tablesUsed; - validTxnList = other978.validTxnList; - invalidationTime = other978.invalidationTime; - sourceTablesUpdateDeleteModified = other978.sourceTablesUpdateDeleteModified; - __isset = other978.__isset; +Materialization::Materialization(const Materialization& other986) { + tablesUsed = other986.tablesUsed; + validTxnList = other986.validTxnList; + invalidationTime = other986.invalidationTime; + sourceTablesUpdateDeleteModified = other986.sourceTablesUpdateDeleteModified; + __isset = other986.__isset; } -Materialization& Materialization::operator=(const Materialization& other979) { - tablesUsed = other979.tablesUsed; - validTxnList = other979.validTxnList; - invalidationTime = other979.invalidationTime; - sourceTablesUpdateDeleteModified = other979.sourceTablesUpdateDeleteModified; - __isset = other979.__isset; +Materialization& Materialization::operator=(const Materialization& other987) { + tablesUsed = other987.tablesUsed; + validTxnList = other987.validTxnList; + invalidationTime = other987.invalidationTime; + sourceTablesUpdateDeleteModified = other987.sourceTablesUpdateDeleteModified; + __isset = other987.__isset; return *this; } void Materialization::printTo(std::ostream& out) const { @@ -24629,9 +24806,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast980; - xfer += iprot->readI32(ecast980); - this->status = (WMResourcePlanStatus::type)ecast980; + int32_t ecast988; + xfer += iprot->readI32(ecast988); + this->status = (WMResourcePlanStatus::type)ecast988; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -24705,19 +24882,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other981) { - name = other981.name; - status = other981.status; - queryParallelism = other981.queryParallelism; - defaultPoolPath = other981.defaultPoolPath; - __isset = other981.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other989) { + name = other989.name; + status = other989.status; + queryParallelism = other989.queryParallelism; + defaultPoolPath = other989.defaultPoolPath; + __isset = other989.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other982) { - name = other982.name; - status = other982.status; - queryParallelism = other982.queryParallelism; - defaultPoolPath = other982.defaultPoolPath; - __isset = other982.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other990) { + name = other990.name; + status = other990.status; + queryParallelism = other990.queryParallelism; + defaultPoolPath = other990.defaultPoolPath; + __isset = other990.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -24796,9 +24973,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast983; - xfer += iprot->readI32(ecast983); - this->status = (WMResourcePlanStatus::type)ecast983; + int32_t ecast991; + xfer += iprot->readI32(ecast991); + this->status = (WMResourcePlanStatus::type)ecast991; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -24899,23 +25076,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other984) { - name = other984.name; - status = other984.status; - queryParallelism = other984.queryParallelism; - isSetQueryParallelism = other984.isSetQueryParallelism; - defaultPoolPath = other984.defaultPoolPath; - isSetDefaultPoolPath = other984.isSetDefaultPoolPath; - __isset = other984.__isset; -} -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other985) { - name = other985.name; - status = other985.status; - queryParallelism = other985.queryParallelism; - isSetQueryParallelism = other985.isSetQueryParallelism; - defaultPoolPath = other985.defaultPoolPath; - isSetDefaultPoolPath = other985.isSetDefaultPoolPath; - __isset = other985.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other992) { + name = other992.name; + status = other992.status; + queryParallelism = other992.queryParallelism; + isSetQueryParallelism = other992.isSetQueryParallelism; + defaultPoolPath = other992.defaultPoolPath; + isSetDefaultPoolPath = other992.isSetDefaultPoolPath; + __isset = other992.__isset; +} +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other993) { + name = other993.name; + status = other993.status; + queryParallelism = other993.queryParallelism; + isSetQueryParallelism = other993.isSetQueryParallelism; + defaultPoolPath = other993.defaultPoolPath; + isSetDefaultPoolPath = other993.isSetDefaultPoolPath; + __isset = other993.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -25080,21 +25257,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other986) { - resourcePlanName = other986.resourcePlanName; - poolPath = other986.poolPath; - allocFraction = other986.allocFraction; - queryParallelism = other986.queryParallelism; - schedulingPolicy = other986.schedulingPolicy; - __isset = other986.__isset; -} -WMPool& WMPool::operator=(const WMPool& other987) { - resourcePlanName = other987.resourcePlanName; - poolPath = other987.poolPath; - allocFraction = other987.allocFraction; - queryParallelism = other987.queryParallelism; - schedulingPolicy = other987.schedulingPolicy; - __isset = other987.__isset; +WMPool::WMPool(const WMPool& other994) { + resourcePlanName = other994.resourcePlanName; + poolPath = other994.poolPath; + allocFraction = other994.allocFraction; + queryParallelism = other994.queryParallelism; + schedulingPolicy = other994.schedulingPolicy; + __isset = other994.__isset; +} +WMPool& WMPool::operator=(const WMPool& other995) { + resourcePlanName = other995.resourcePlanName; + poolPath = other995.poolPath; + allocFraction = other995.allocFraction; + queryParallelism = other995.queryParallelism; + schedulingPolicy = other995.schedulingPolicy; + __isset = other995.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -25277,23 +25454,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other988) { - resourcePlanName = other988.resourcePlanName; - poolPath = other988.poolPath; - allocFraction = other988.allocFraction; - queryParallelism = other988.queryParallelism; - schedulingPolicy = other988.schedulingPolicy; - isSetSchedulingPolicy = other988.isSetSchedulingPolicy; - __isset = other988.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other989) { - resourcePlanName = other989.resourcePlanName; - poolPath = other989.poolPath; - allocFraction = other989.allocFraction; - queryParallelism = other989.queryParallelism; - schedulingPolicy = other989.schedulingPolicy; - isSetSchedulingPolicy = other989.isSetSchedulingPolicy; - __isset = other989.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other996) { + resourcePlanName = other996.resourcePlanName; + poolPath = other996.poolPath; + allocFraction = other996.allocFraction; + queryParallelism = other996.queryParallelism; + schedulingPolicy = other996.schedulingPolicy; + isSetSchedulingPolicy = other996.isSetSchedulingPolicy; + __isset = other996.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other997) { + resourcePlanName = other997.resourcePlanName; + poolPath = other997.poolPath; + allocFraction = other997.allocFraction; + queryParallelism = other997.queryParallelism; + schedulingPolicy = other997.schedulingPolicy; + isSetSchedulingPolicy = other997.isSetSchedulingPolicy; + __isset = other997.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -25458,21 +25635,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other990) { - resourcePlanName = other990.resourcePlanName; - triggerName = other990.triggerName; - triggerExpression = other990.triggerExpression; - actionExpression = other990.actionExpression; - isInUnmanaged = other990.isInUnmanaged; - __isset = other990.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other991) { - resourcePlanName = other991.resourcePlanName; - triggerName = other991.triggerName; - triggerExpression = other991.triggerExpression; - actionExpression = other991.actionExpression; - isInUnmanaged = other991.isInUnmanaged; - __isset = other991.__isset; +WMTrigger::WMTrigger(const WMTrigger& other998) { + resourcePlanName = other998.resourcePlanName; + triggerName = other998.triggerName; + triggerExpression = other998.triggerExpression; + actionExpression = other998.actionExpression; + isInUnmanaged = other998.isInUnmanaged; + __isset = other998.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other999) { + resourcePlanName = other999.resourcePlanName; + triggerName = other999.triggerName; + triggerExpression = other999.triggerExpression; + actionExpression = other999.actionExpression; + isInUnmanaged = other999.isInUnmanaged; + __isset = other999.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -25637,21 +25814,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other992) { - resourcePlanName = other992.resourcePlanName; - entityType = other992.entityType; - entityName = other992.entityName; - poolPath = other992.poolPath; - ordering = other992.ordering; - __isset = other992.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other993) { - resourcePlanName = other993.resourcePlanName; - entityType = other993.entityType; - entityName = other993.entityName; - poolPath = other993.poolPath; - ordering = other993.ordering; - __isset = other993.__isset; +WMMapping::WMMapping(const WMMapping& other1000) { + resourcePlanName = other1000.resourcePlanName; + entityType = other1000.entityType; + entityName = other1000.entityName; + poolPath = other1000.poolPath; + ordering = other1000.ordering; + __isset = other1000.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other1001) { + resourcePlanName = other1001.resourcePlanName; + entityType = other1001.entityType; + entityName = other1001.entityName; + poolPath = other1001.poolPath; + ordering = other1001.ordering; + __isset = other1001.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -25757,13 +25934,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other994) { - pool = other994.pool; - trigger = other994.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other1002) { + pool = other1002.pool; + trigger = other1002.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other995) { - pool = other995.pool; - trigger = other995.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other1003) { + pool = other1003.pool; + trigger = other1003.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -25837,14 +26014,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size996; - ::apache::thrift::protocol::TType _etype999; - xfer += iprot->readListBegin(_etype999, _size996); - this->pools.resize(_size996); - uint32_t _i1000; - for (_i1000 = 0; _i1000 < _size996; ++_i1000) + uint32_t _size1004; + ::apache::thrift::protocol::TType _etype1007; + xfer += iprot->readListBegin(_etype1007, _size1004); + this->pools.resize(_size1004); + uint32_t _i1008; + for (_i1008 = 0; _i1008 < _size1004; ++_i1008) { - xfer += this->pools[_i1000].read(iprot); + xfer += this->pools[_i1008].read(iprot); } xfer += iprot->readListEnd(); } @@ -25857,14 +26034,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size1001; - ::apache::thrift::protocol::TType _etype1004; - xfer += iprot->readListBegin(_etype1004, _size1001); - this->mappings.resize(_size1001); - uint32_t _i1005; - for (_i1005 = 0; _i1005 < _size1001; ++_i1005) + uint32_t _size1009; + ::apache::thrift::protocol::TType _etype1012; + xfer += iprot->readListBegin(_etype1012, _size1009); + this->mappings.resize(_size1009); + uint32_t _i1013; + for (_i1013 = 0; _i1013 < _size1009; ++_i1013) { - xfer += this->mappings[_i1005].read(iprot); + xfer += this->mappings[_i1013].read(iprot); } xfer += iprot->readListEnd(); } @@ -25877,14 +26054,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1006; - ::apache::thrift::protocol::TType _etype1009; - xfer += iprot->readListBegin(_etype1009, _size1006); - this->triggers.resize(_size1006); - uint32_t _i1010; - for (_i1010 = 0; _i1010 < _size1006; ++_i1010) + uint32_t _size1014; + ::apache::thrift::protocol::TType _etype1017; + xfer += iprot->readListBegin(_etype1017, _size1014); + this->triggers.resize(_size1014); + uint32_t _i1018; + for (_i1018 = 0; _i1018 < _size1014; ++_i1018) { - xfer += this->triggers[_i1010].read(iprot); + xfer += this->triggers[_i1018].read(iprot); } xfer += iprot->readListEnd(); } @@ -25897,14 +26074,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size1011; - ::apache::thrift::protocol::TType _etype1014; - xfer += iprot->readListBegin(_etype1014, _size1011); - this->poolTriggers.resize(_size1011); - uint32_t _i1015; - for (_i1015 = 0; _i1015 < _size1011; ++_i1015) + uint32_t _size1019; + ::apache::thrift::protocol::TType _etype1022; + xfer += iprot->readListBegin(_etype1022, _size1019); + this->poolTriggers.resize(_size1019); + uint32_t _i1023; + for (_i1023 = 0; _i1023 < _size1019; ++_i1023) { - xfer += this->poolTriggers[_i1015].read(iprot); + xfer += this->poolTriggers[_i1023].read(iprot); } xfer += iprot->readListEnd(); } @@ -25941,10 +26118,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 _iter1016; - for (_iter1016 = this->pools.begin(); _iter1016 != this->pools.end(); ++_iter1016) + std::vector ::const_iterator _iter1024; + for (_iter1024 = this->pools.begin(); _iter1024 != this->pools.end(); ++_iter1024) { - xfer += (*_iter1016).write(oprot); + xfer += (*_iter1024).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25954,10 +26131,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 _iter1017; - for (_iter1017 = this->mappings.begin(); _iter1017 != this->mappings.end(); ++_iter1017) + std::vector ::const_iterator _iter1025; + for (_iter1025 = this->mappings.begin(); _iter1025 != this->mappings.end(); ++_iter1025) { - xfer += (*_iter1017).write(oprot); + xfer += (*_iter1025).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25967,10 +26144,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 _iter1018; - for (_iter1018 = this->triggers.begin(); _iter1018 != this->triggers.end(); ++_iter1018) + std::vector ::const_iterator _iter1026; + for (_iter1026 = this->triggers.begin(); _iter1026 != this->triggers.end(); ++_iter1026) { - xfer += (*_iter1018).write(oprot); + xfer += (*_iter1026).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25980,10 +26157,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 _iter1019; - for (_iter1019 = this->poolTriggers.begin(); _iter1019 != this->poolTriggers.end(); ++_iter1019) + std::vector ::const_iterator _iter1027; + for (_iter1027 = this->poolTriggers.begin(); _iter1027 != this->poolTriggers.end(); ++_iter1027) { - xfer += (*_iter1019).write(oprot); + xfer += (*_iter1027).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26004,21 +26181,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1020) { - plan = other1020.plan; - pools = other1020.pools; - mappings = other1020.mappings; - triggers = other1020.triggers; - poolTriggers = other1020.poolTriggers; - __isset = other1020.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1021) { - plan = other1021.plan; - pools = other1021.pools; - mappings = other1021.mappings; - triggers = other1021.triggers; - poolTriggers = other1021.poolTriggers; - __isset = other1021.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1028) { + plan = other1028.plan; + pools = other1028.pools; + mappings = other1028.mappings; + triggers = other1028.triggers; + poolTriggers = other1028.poolTriggers; + __isset = other1028.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1029) { + plan = other1029.plan; + pools = other1029.pools; + mappings = other1029.mappings; + triggers = other1029.triggers; + poolTriggers = other1029.poolTriggers; + __isset = other1029.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -26123,15 +26300,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1022) { - resourcePlan = other1022.resourcePlan; - copyFrom = other1022.copyFrom; - __isset = other1022.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1030) { + resourcePlan = other1030.resourcePlan; + copyFrom = other1030.copyFrom; + __isset = other1030.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1023) { - resourcePlan = other1023.resourcePlan; - copyFrom = other1023.copyFrom; - __isset = other1023.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1031) { + resourcePlan = other1031.resourcePlan; + copyFrom = other1031.copyFrom; + __isset = other1031.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -26191,11 +26368,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1024) { - (void) other1024; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1032) { + (void) other1032; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1025) { - (void) other1025; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1033) { + (void) other1033; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -26253,11 +26430,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1026) { - (void) other1026; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1034) { + (void) other1034; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1027) { - (void) other1027; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1035) { + (void) other1035; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -26338,13 +26515,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1028) { - resourcePlan = other1028.resourcePlan; - __isset = other1028.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1036) { + resourcePlan = other1036.resourcePlan; + __isset = other1036.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1029) { - resourcePlan = other1029.resourcePlan; - __isset = other1029.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1037) { + resourcePlan = other1037.resourcePlan; + __isset = other1037.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -26426,13 +26603,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1030) { - resourcePlanName = other1030.resourcePlanName; - __isset = other1030.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1038) { + resourcePlanName = other1038.resourcePlanName; + __isset = other1038.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1031) { - resourcePlanName = other1031.resourcePlanName; - __isset = other1031.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1039) { + resourcePlanName = other1039.resourcePlanName; + __isset = other1039.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -26514,13 +26691,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1032) { - resourcePlan = other1032.resourcePlan; - __isset = other1032.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1040) { + resourcePlan = other1040.resourcePlan; + __isset = other1040.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1033) { - resourcePlan = other1033.resourcePlan; - __isset = other1033.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1041) { + resourcePlan = other1041.resourcePlan; + __isset = other1041.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -26579,11 +26756,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1034) { - (void) other1034; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1042) { + (void) other1042; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1035) { - (void) other1035; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1043) { + (void) other1043; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -26627,14 +26804,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size1036; - ::apache::thrift::protocol::TType _etype1039; - xfer += iprot->readListBegin(_etype1039, _size1036); - this->resourcePlans.resize(_size1036); - uint32_t _i1040; - for (_i1040 = 0; _i1040 < _size1036; ++_i1040) + uint32_t _size1044; + ::apache::thrift::protocol::TType _etype1047; + xfer += iprot->readListBegin(_etype1047, _size1044); + this->resourcePlans.resize(_size1044); + uint32_t _i1048; + for (_i1048 = 0; _i1048 < _size1044; ++_i1048) { - xfer += this->resourcePlans[_i1040].read(iprot); + xfer += this->resourcePlans[_i1048].read(iprot); } xfer += iprot->readListEnd(); } @@ -26664,10 +26841,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 _iter1041; - for (_iter1041 = this->resourcePlans.begin(); _iter1041 != this->resourcePlans.end(); ++_iter1041) + std::vector ::const_iterator _iter1049; + for (_iter1049 = this->resourcePlans.begin(); _iter1049 != this->resourcePlans.end(); ++_iter1049) { - xfer += (*_iter1041).write(oprot); + xfer += (*_iter1049).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26684,13 +26861,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1042) { - resourcePlans = other1042.resourcePlans; - __isset = other1042.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1050) { + resourcePlans = other1050.resourcePlans; + __isset = other1050.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1043) { - resourcePlans = other1043.resourcePlans; - __isset = other1043.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1051) { + resourcePlans = other1051.resourcePlans; + __isset = other1051.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -26848,21 +27025,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1044) { - resourcePlanName = other1044.resourcePlanName; - resourcePlan = other1044.resourcePlan; - isEnableAndActivate = other1044.isEnableAndActivate; - isForceDeactivate = other1044.isForceDeactivate; - isReplace = other1044.isReplace; - __isset = other1044.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1045) { - resourcePlanName = other1045.resourcePlanName; - resourcePlan = other1045.resourcePlan; - isEnableAndActivate = other1045.isEnableAndActivate; - isForceDeactivate = other1045.isForceDeactivate; - isReplace = other1045.isReplace; - __isset = other1045.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1052) { + resourcePlanName = other1052.resourcePlanName; + resourcePlan = other1052.resourcePlan; + isEnableAndActivate = other1052.isEnableAndActivate; + isForceDeactivate = other1052.isForceDeactivate; + isReplace = other1052.isReplace; + __isset = other1052.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1053) { + resourcePlanName = other1053.resourcePlanName; + resourcePlan = other1053.resourcePlan; + isEnableAndActivate = other1053.isEnableAndActivate; + isForceDeactivate = other1053.isForceDeactivate; + isReplace = other1053.isReplace; + __isset = other1053.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -26948,13 +27125,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1046) { - fullResourcePlan = other1046.fullResourcePlan; - __isset = other1046.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1054) { + fullResourcePlan = other1054.fullResourcePlan; + __isset = other1054.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1047) { - fullResourcePlan = other1047.fullResourcePlan; - __isset = other1047.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1055) { + fullResourcePlan = other1055.fullResourcePlan; + __isset = other1055.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -27036,13 +27213,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1048) { - resourcePlanName = other1048.resourcePlanName; - __isset = other1048.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1056) { + resourcePlanName = other1056.resourcePlanName; + __isset = other1056.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1049) { - resourcePlanName = other1049.resourcePlanName; - __isset = other1049.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1057) { + resourcePlanName = other1057.resourcePlanName; + __isset = other1057.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -27092,14 +27269,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1050; - ::apache::thrift::protocol::TType _etype1053; - xfer += iprot->readListBegin(_etype1053, _size1050); - this->errors.resize(_size1050); - uint32_t _i1054; - for (_i1054 = 0; _i1054 < _size1050; ++_i1054) + uint32_t _size1058; + ::apache::thrift::protocol::TType _etype1061; + xfer += iprot->readListBegin(_etype1061, _size1058); + this->errors.resize(_size1058); + uint32_t _i1062; + for (_i1062 = 0; _i1062 < _size1058; ++_i1062) { - xfer += iprot->readString(this->errors[_i1054]); + xfer += iprot->readString(this->errors[_i1062]); } xfer += iprot->readListEnd(); } @@ -27112,14 +27289,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1055; - ::apache::thrift::protocol::TType _etype1058; - xfer += iprot->readListBegin(_etype1058, _size1055); - this->warnings.resize(_size1055); - uint32_t _i1059; - for (_i1059 = 0; _i1059 < _size1055; ++_i1059) + uint32_t _size1063; + ::apache::thrift::protocol::TType _etype1066; + xfer += iprot->readListBegin(_etype1066, _size1063); + this->warnings.resize(_size1063); + uint32_t _i1067; + for (_i1067 = 0; _i1067 < _size1063; ++_i1067) { - xfer += iprot->readString(this->warnings[_i1059]); + xfer += iprot->readString(this->warnings[_i1067]); } xfer += iprot->readListEnd(); } @@ -27149,10 +27326,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 _iter1060; - for (_iter1060 = this->errors.begin(); _iter1060 != this->errors.end(); ++_iter1060) + std::vector ::const_iterator _iter1068; + for (_iter1068 = this->errors.begin(); _iter1068 != this->errors.end(); ++_iter1068) { - xfer += oprot->writeString((*_iter1060)); + xfer += oprot->writeString((*_iter1068)); } xfer += oprot->writeListEnd(); } @@ -27162,10 +27339,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 _iter1061; - for (_iter1061 = this->warnings.begin(); _iter1061 != this->warnings.end(); ++_iter1061) + std::vector ::const_iterator _iter1069; + for (_iter1069 = this->warnings.begin(); _iter1069 != this->warnings.end(); ++_iter1069) { - xfer += oprot->writeString((*_iter1061)); + xfer += oprot->writeString((*_iter1069)); } xfer += oprot->writeListEnd(); } @@ -27183,15 +27360,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1062) { - errors = other1062.errors; - warnings = other1062.warnings; - __isset = other1062.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1070) { + errors = other1070.errors; + warnings = other1070.warnings; + __isset = other1070.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1063) { - errors = other1063.errors; - warnings = other1063.warnings; - __isset = other1063.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1071) { + errors = other1071.errors; + warnings = other1071.warnings; + __isset = other1071.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -27274,13 +27451,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1064) { - resourcePlanName = other1064.resourcePlanName; - __isset = other1064.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1072) { + resourcePlanName = other1072.resourcePlanName; + __isset = other1072.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1065) { - resourcePlanName = other1065.resourcePlanName; - __isset = other1065.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1073) { + resourcePlanName = other1073.resourcePlanName; + __isset = other1073.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -27339,11 +27516,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1066) { - (void) other1066; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1074) { + (void) other1074; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1067) { - (void) other1067; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1075) { + (void) other1075; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -27424,13 +27601,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1068) { - trigger = other1068.trigger; - __isset = other1068.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1076) { + trigger = other1076.trigger; + __isset = other1076.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1069) { - trigger = other1069.trigger; - __isset = other1069.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1077) { + trigger = other1077.trigger; + __isset = other1077.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -27489,11 +27666,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1070) { - (void) other1070; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1078) { + (void) other1078; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1071) { - (void) other1071; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1079) { + (void) other1079; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -27574,13 +27751,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1072) { - trigger = other1072.trigger; - __isset = other1072.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1080) { + trigger = other1080.trigger; + __isset = other1080.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1073) { - trigger = other1073.trigger; - __isset = other1073.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1081) { + trigger = other1081.trigger; + __isset = other1081.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -27639,11 +27816,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1074) { - (void) other1074; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1082) { + (void) other1082; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1075) { - (void) other1075; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1083) { + (void) other1083; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -27743,15 +27920,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1076) { - resourcePlanName = other1076.resourcePlanName; - triggerName = other1076.triggerName; - __isset = other1076.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1084) { + resourcePlanName = other1084.resourcePlanName; + triggerName = other1084.triggerName; + __isset = other1084.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1077) { - resourcePlanName = other1077.resourcePlanName; - triggerName = other1077.triggerName; - __isset = other1077.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1085) { + resourcePlanName = other1085.resourcePlanName; + triggerName = other1085.triggerName; + __isset = other1085.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -27811,11 +27988,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1078) { - (void) other1078; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1086) { + (void) other1086; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1079) { - (void) other1079; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1087) { + (void) other1087; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -27896,13 +28073,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1080) { - resourcePlanName = other1080.resourcePlanName; - __isset = other1080.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1088) { + resourcePlanName = other1088.resourcePlanName; + __isset = other1088.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1081) { - resourcePlanName = other1081.resourcePlanName; - __isset = other1081.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1089) { + resourcePlanName = other1089.resourcePlanName; + __isset = other1089.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -27947,14 +28124,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1082; - ::apache::thrift::protocol::TType _etype1085; - xfer += iprot->readListBegin(_etype1085, _size1082); - this->triggers.resize(_size1082); - uint32_t _i1086; - for (_i1086 = 0; _i1086 < _size1082; ++_i1086) + uint32_t _size1090; + ::apache::thrift::protocol::TType _etype1093; + xfer += iprot->readListBegin(_etype1093, _size1090); + this->triggers.resize(_size1090); + uint32_t _i1094; + for (_i1094 = 0; _i1094 < _size1090; ++_i1094) { - xfer += this->triggers[_i1086].read(iprot); + xfer += this->triggers[_i1094].read(iprot); } xfer += iprot->readListEnd(); } @@ -27984,10 +28161,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 _iter1087; - for (_iter1087 = this->triggers.begin(); _iter1087 != this->triggers.end(); ++_iter1087) + std::vector ::const_iterator _iter1095; + for (_iter1095 = this->triggers.begin(); _iter1095 != this->triggers.end(); ++_iter1095) { - xfer += (*_iter1087).write(oprot); + xfer += (*_iter1095).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28004,13 +28181,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1088) { - triggers = other1088.triggers; - __isset = other1088.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1096) { + triggers = other1096.triggers; + __isset = other1096.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1089) { - triggers = other1089.triggers; - __isset = other1089.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1097) { + triggers = other1097.triggers; + __isset = other1097.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -28092,13 +28269,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1090) { - pool = other1090.pool; - __isset = other1090.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1098) { + pool = other1098.pool; + __isset = other1098.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1091) { - pool = other1091.pool; - __isset = other1091.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1099) { + pool = other1099.pool; + __isset = other1099.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -28157,11 +28334,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1092) { - (void) other1092; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1100) { + (void) other1100; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1093) { - (void) other1093; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1101) { + (void) other1101; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -28261,15 +28438,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1094) { - pool = other1094.pool; - poolPath = other1094.poolPath; - __isset = other1094.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1102) { + pool = other1102.pool; + poolPath = other1102.poolPath; + __isset = other1102.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1095) { - pool = other1095.pool; - poolPath = other1095.poolPath; - __isset = other1095.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1103) { + pool = other1103.pool; + poolPath = other1103.poolPath; + __isset = other1103.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -28329,11 +28506,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1096) { - (void) other1096; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1104) { + (void) other1104; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1097) { - (void) other1097; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1105) { + (void) other1105; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -28433,15 +28610,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1098) { - resourcePlanName = other1098.resourcePlanName; - poolPath = other1098.poolPath; - __isset = other1098.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1106) { + resourcePlanName = other1106.resourcePlanName; + poolPath = other1106.poolPath; + __isset = other1106.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1099) { - resourcePlanName = other1099.resourcePlanName; - poolPath = other1099.poolPath; - __isset = other1099.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1107) { + resourcePlanName = other1107.resourcePlanName; + poolPath = other1107.poolPath; + __isset = other1107.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -28501,11 +28678,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1100) { - (void) other1100; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1108) { + (void) other1108; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1101) { - (void) other1101; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1109) { + (void) other1109; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -28605,15 +28782,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1102) { - mapping = other1102.mapping; - update = other1102.update; - __isset = other1102.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1110) { + mapping = other1110.mapping; + update = other1110.update; + __isset = other1110.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1103) { - mapping = other1103.mapping; - update = other1103.update; - __isset = other1103.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1111) { + mapping = other1111.mapping; + update = other1111.update; + __isset = other1111.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -28673,11 +28850,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1104) { - (void) other1104; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1112) { + (void) other1112; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1105) { - (void) other1105; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1113) { + (void) other1113; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -28758,13 +28935,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1106) { - mapping = other1106.mapping; - __isset = other1106.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1114) { + mapping = other1114.mapping; + __isset = other1114.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1107) { - mapping = other1107.mapping; - __isset = other1107.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1115) { + mapping = other1115.mapping; + __isset = other1115.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -28823,11 +29000,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1108) { - (void) other1108; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1116) { + (void) other1116; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1109) { - (void) other1109; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1117) { + (void) other1117; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -28965,19 +29142,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1110) { - resourcePlanName = other1110.resourcePlanName; - triggerName = other1110.triggerName; - poolPath = other1110.poolPath; - drop = other1110.drop; - __isset = other1110.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1118) { + resourcePlanName = other1118.resourcePlanName; + triggerName = other1118.triggerName; + poolPath = other1118.poolPath; + drop = other1118.drop; + __isset = other1118.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1111) { - resourcePlanName = other1111.resourcePlanName; - triggerName = other1111.triggerName; - poolPath = other1111.poolPath; - drop = other1111.drop; - __isset = other1111.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1119) { + resourcePlanName = other1119.resourcePlanName; + triggerName = other1119.triggerName; + poolPath = other1119.poolPath; + drop = other1119.drop; + __isset = other1119.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -29039,11 +29216,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1112) { - (void) other1112; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1120) { + (void) other1120; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1113) { - (void) other1113; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1121) { + (void) other1121; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -29118,9 +29295,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1114; - xfer += iprot->readI32(ecast1114); - this->schemaType = (SchemaType::type)ecast1114; + int32_t ecast1122; + xfer += iprot->readI32(ecast1122); + this->schemaType = (SchemaType::type)ecast1122; this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -29152,9 +29329,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1115; - xfer += iprot->readI32(ecast1115); - this->compatibility = (SchemaCompatibility::type)ecast1115; + int32_t ecast1123; + xfer += iprot->readI32(ecast1123); + this->compatibility = (SchemaCompatibility::type)ecast1123; this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -29162,9 +29339,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1116; - xfer += iprot->readI32(ecast1116); - this->validationLevel = (SchemaValidation::type)ecast1116; + int32_t ecast1124; + xfer += iprot->readI32(ecast1124); + this->validationLevel = (SchemaValidation::type)ecast1124; this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -29268,29 +29445,29 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1117) { - schemaType = other1117.schemaType; - name = other1117.name; - catName = other1117.catName; - dbName = other1117.dbName; - compatibility = other1117.compatibility; - validationLevel = other1117.validationLevel; - canEvolve = other1117.canEvolve; - schemaGroup = other1117.schemaGroup; - description = other1117.description; - __isset = other1117.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1118) { - schemaType = other1118.schemaType; - name = other1118.name; - catName = other1118.catName; - dbName = other1118.dbName; - compatibility = other1118.compatibility; - validationLevel = other1118.validationLevel; - canEvolve = other1118.canEvolve; - schemaGroup = other1118.schemaGroup; - description = other1118.description; - __isset = other1118.__isset; +ISchema::ISchema(const ISchema& other1125) { + schemaType = other1125.schemaType; + name = other1125.name; + catName = other1125.catName; + dbName = other1125.dbName; + compatibility = other1125.compatibility; + validationLevel = other1125.validationLevel; + canEvolve = other1125.canEvolve; + schemaGroup = other1125.schemaGroup; + description = other1125.description; + __isset = other1125.__isset; +} +ISchema& ISchema::operator=(const ISchema& other1126) { + schemaType = other1126.schemaType; + name = other1126.name; + catName = other1126.catName; + dbName = other1126.dbName; + compatibility = other1126.compatibility; + validationLevel = other1126.validationLevel; + canEvolve = other1126.canEvolve; + schemaGroup = other1126.schemaGroup; + description = other1126.description; + __isset = other1126.__isset; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -29412,17 +29589,17 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1119) { - catName = other1119.catName; - dbName = other1119.dbName; - schemaName = other1119.schemaName; - __isset = other1119.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1127) { + catName = other1127.catName; + dbName = other1127.dbName; + schemaName = other1127.schemaName; + __isset = other1127.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1120) { - catName = other1120.catName; - dbName = other1120.dbName; - schemaName = other1120.schemaName; - __isset = other1120.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1128) { + catName = other1128.catName; + dbName = other1128.dbName; + schemaName = other1128.schemaName; + __isset = other1128.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -29521,15 +29698,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1121) { - name = other1121.name; - newSchema = other1121.newSchema; - __isset = other1121.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1129) { + name = other1129.name; + newSchema = other1129.newSchema; + __isset = other1129.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1122) { - name = other1122.name; - newSchema = other1122.newSchema; - __isset = other1122.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1130) { + name = other1130.name; + newSchema = other1130.newSchema; + __isset = other1130.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -29640,14 +29817,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1123; - ::apache::thrift::protocol::TType _etype1126; - xfer += iprot->readListBegin(_etype1126, _size1123); - this->cols.resize(_size1123); - uint32_t _i1127; - for (_i1127 = 0; _i1127 < _size1123; ++_i1127) + uint32_t _size1131; + ::apache::thrift::protocol::TType _etype1134; + xfer += iprot->readListBegin(_etype1134, _size1131); + this->cols.resize(_size1131); + uint32_t _i1135; + for (_i1135 = 0; _i1135 < _size1131; ++_i1135) { - xfer += this->cols[_i1127].read(iprot); + xfer += this->cols[_i1135].read(iprot); } xfer += iprot->readListEnd(); } @@ -29658,9 +29835,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1128; - xfer += iprot->readI32(ecast1128); - this->state = (SchemaVersionState::type)ecast1128; + int32_t ecast1136; + xfer += iprot->readI32(ecast1136); + this->state = (SchemaVersionState::type)ecast1136; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -29738,10 +29915,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 _iter1129; - for (_iter1129 = this->cols.begin(); _iter1129 != this->cols.end(); ++_iter1129) + std::vector ::const_iterator _iter1137; + for (_iter1137 = this->cols.begin(); _iter1137 != this->cols.end(); ++_iter1137) { - xfer += (*_iter1129).write(oprot); + xfer += (*_iter1137).write(oprot); } xfer += oprot->writeListEnd(); } @@ -29797,31 +29974,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1130) { - schema = other1130.schema; - version = other1130.version; - createdAt = other1130.createdAt; - cols = other1130.cols; - state = other1130.state; - description = other1130.description; - schemaText = other1130.schemaText; - fingerprint = other1130.fingerprint; - name = other1130.name; - serDe = other1130.serDe; - __isset = other1130.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1131) { - schema = other1131.schema; - version = other1131.version; - createdAt = other1131.createdAt; - cols = other1131.cols; - state = other1131.state; - description = other1131.description; - schemaText = other1131.schemaText; - fingerprint = other1131.fingerprint; - name = other1131.name; - serDe = other1131.serDe; - __isset = other1131.__isset; +SchemaVersion::SchemaVersion(const SchemaVersion& other1138) { + schema = other1138.schema; + version = other1138.version; + createdAt = other1138.createdAt; + cols = other1138.cols; + state = other1138.state; + description = other1138.description; + schemaText = other1138.schemaText; + fingerprint = other1138.fingerprint; + name = other1138.name; + serDe = other1138.serDe; + __isset = other1138.__isset; +} +SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1139) { + schema = other1139.schema; + version = other1139.version; + createdAt = other1139.createdAt; + cols = other1139.cols; + state = other1139.state; + description = other1139.description; + schemaText = other1139.schemaText; + fingerprint = other1139.fingerprint; + name = other1139.name; + serDe = other1139.serDe; + __isset = other1139.__isset; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -29927,15 +30104,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1132) { - schema = other1132.schema; - version = other1132.version; - __isset = other1132.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1140) { + schema = other1140.schema; + version = other1140.version; + __isset = other1140.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1133) { - schema = other1133.schema; - version = other1133.version; - __isset = other1133.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1141) { + schema = other1141.schema; + version = other1141.version; + __isset = other1141.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -30056,17 +30233,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1134) { - colName = other1134.colName; - colNamespace = other1134.colNamespace; - type = other1134.type; - __isset = other1134.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1142) { + colName = other1142.colName; + colNamespace = other1142.colNamespace; + type = other1142.type; + __isset = other1142.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1135) { - colName = other1135.colName; - colNamespace = other1135.colNamespace; - type = other1135.type; - __isset = other1135.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1143) { + colName = other1143.colName; + colNamespace = other1143.colNamespace; + type = other1143.type; + __isset = other1143.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -30112,14 +30289,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1136; - ::apache::thrift::protocol::TType _etype1139; - xfer += iprot->readListBegin(_etype1139, _size1136); - this->schemaVersions.resize(_size1136); - uint32_t _i1140; - for (_i1140 = 0; _i1140 < _size1136; ++_i1140) + uint32_t _size1144; + ::apache::thrift::protocol::TType _etype1147; + xfer += iprot->readListBegin(_etype1147, _size1144); + this->schemaVersions.resize(_size1144); + uint32_t _i1148; + for (_i1148 = 0; _i1148 < _size1144; ++_i1148) { - xfer += this->schemaVersions[_i1140].read(iprot); + xfer += this->schemaVersions[_i1148].read(iprot); } xfer += iprot->readListEnd(); } @@ -30148,10 +30325,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 _iter1141; - for (_iter1141 = this->schemaVersions.begin(); _iter1141 != this->schemaVersions.end(); ++_iter1141) + std::vector ::const_iterator _iter1149; + for (_iter1149 = this->schemaVersions.begin(); _iter1149 != this->schemaVersions.end(); ++_iter1149) { - xfer += (*_iter1141).write(oprot); + xfer += (*_iter1149).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30168,13 +30345,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1142) { - schemaVersions = other1142.schemaVersions; - __isset = other1142.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1150) { + schemaVersions = other1150.schemaVersions; + __isset = other1150.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1143) { - schemaVersions = other1143.schemaVersions; - __isset = other1143.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1151) { + schemaVersions = other1151.schemaVersions; + __isset = other1151.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -30271,15 +30448,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1144) { - schemaVersion = other1144.schemaVersion; - serdeName = other1144.serdeName; - __isset = other1144.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1152) { + schemaVersion = other1152.schemaVersion; + serdeName = other1152.serdeName; + __isset = other1152.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1145) { - schemaVersion = other1145.schemaVersion; - serdeName = other1145.serdeName; - __isset = other1145.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1153) { + schemaVersion = other1153.schemaVersion; + serdeName = other1153.serdeName; + __isset = other1153.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -30334,9 +30511,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1146; - xfer += iprot->readI32(ecast1146); - this->state = (SchemaVersionState::type)ecast1146; + int32_t ecast1154; + xfer += iprot->readI32(ecast1154); + this->state = (SchemaVersionState::type)ecast1154; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -30379,15 +30556,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1147) { - schemaVersion = other1147.schemaVersion; - state = other1147.state; - __isset = other1147.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1155) { + schemaVersion = other1155.schemaVersion; + state = other1155.state; + __isset = other1155.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1148) { - schemaVersion = other1148.schemaVersion; - state = other1148.state; - __isset = other1148.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1156) { + schemaVersion = other1156.schemaVersion; + state = other1156.state; + __isset = other1156.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -30468,13 +30645,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1149) { - serdeName = other1149.serdeName; - __isset = other1149.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1157) { + serdeName = other1157.serdeName; + __isset = other1157.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1150) { - serdeName = other1150.serdeName; - __isset = other1150.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1158) { + serdeName = other1158.serdeName; + __isset = other1158.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -30554,13 +30731,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1151) : TException() { - message = other1151.message; - __isset = other1151.__isset; +MetaException::MetaException(const MetaException& other1159) : TException() { + message = other1159.message; + __isset = other1159.__isset; } -MetaException& MetaException::operator=(const MetaException& other1152) { - message = other1152.message; - __isset = other1152.__isset; +MetaException& MetaException::operator=(const MetaException& other1160) { + message = other1160.message; + __isset = other1160.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -30651,13 +30828,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1153) : TException() { - message = other1153.message; - __isset = other1153.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1161) : TException() { + message = other1161.message; + __isset = other1161.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1154) { - message = other1154.message; - __isset = other1154.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1162) { + message = other1162.message; + __isset = other1162.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -30748,13 +30925,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1155) : TException() { - message = other1155.message; - __isset = other1155.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1163) : TException() { + message = other1163.message; + __isset = other1163.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1156) { - message = other1156.message; - __isset = other1156.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1164) { + message = other1164.message; + __isset = other1164.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -30845,13 +31022,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1157) : TException() { - message = other1157.message; - __isset = other1157.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1165) : TException() { + message = other1165.message; + __isset = other1165.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1158) { - message = other1158.message; - __isset = other1158.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1166) { + message = other1166.message; + __isset = other1166.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -30942,13 +31119,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1159) : TException() { - message = other1159.message; - __isset = other1159.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1167) : TException() { + message = other1167.message; + __isset = other1167.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1160) { - message = other1160.message; - __isset = other1160.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1168) { + message = other1168.message; + __isset = other1168.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -31039,13 +31216,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1161) : TException() { - message = other1161.message; - __isset = other1161.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1169) : TException() { + message = other1169.message; + __isset = other1169.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1162) { - message = other1162.message; - __isset = other1162.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1170) { + message = other1170.message; + __isset = other1170.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -31136,13 +31313,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1163) : TException() { - message = other1163.message; - __isset = other1163.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1171) : TException() { + message = other1171.message; + __isset = other1171.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1164) { - message = other1164.message; - __isset = other1164.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1172) { + message = other1172.message; + __isset = other1172.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -31233,13 +31410,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1165) : TException() { - message = other1165.message; - __isset = other1165.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1173) : TException() { + message = other1173.message; + __isset = other1173.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1166) { - message = other1166.message; - __isset = other1166.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1174) { + message = other1174.message; + __isset = other1174.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -31330,13 +31507,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1167) : TException() { - message = other1167.message; - __isset = other1167.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1175) : TException() { + message = other1175.message; + __isset = other1175.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1168) { - message = other1168.message; - __isset = other1168.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1176) { + message = other1176.message; + __isset = other1176.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -31427,13 +31604,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1169) : TException() { - message = other1169.message; - __isset = other1169.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1177) : TException() { + message = other1177.message; + __isset = other1177.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1170) { - message = other1170.message; - __isset = other1170.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1178) { + message = other1178.message; + __isset = other1178.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -31524,13 +31701,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1171) : TException() { - message = other1171.message; - __isset = other1171.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1179) : TException() { + message = other1179.message; + __isset = other1179.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1172) { - message = other1172.message; - __isset = other1172.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1180) { + message = other1180.message; + __isset = other1180.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -31621,13 +31798,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1173) : TException() { - message = other1173.message; - __isset = other1173.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1181) : TException() { + message = other1181.message; + __isset = other1181.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1174) { - message = other1174.message; - __isset = other1174.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1182) { + message = other1182.message; + __isset = other1182.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -31718,13 +31895,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1175) : TException() { - message = other1175.message; - __isset = other1175.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1183) : TException() { + message = other1183.message; + __isset = other1183.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1176) { - message = other1176.message; - __isset = other1176.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1184) { + message = other1184.message; + __isset = other1184.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -31815,13 +31992,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1177) : TException() { - message = other1177.message; - __isset = other1177.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1185) : TException() { + message = other1185.message; + __isset = other1185.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1178) { - message = other1178.message; - __isset = other1178.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1186) { + message = other1186.message; + __isset = other1186.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -31912,13 +32089,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1179) : TException() { - message = other1179.message; - __isset = other1179.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1187) : TException() { + message = other1187.message; + __isset = other1187.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1180) { - message = other1180.message; - __isset = other1180.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1188) { + message = other1188.message; + __isset = other1188.__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 55a97de..1edc287 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; @@ -6961,6 +6963,69 @@ 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(), dbName(), tableName() { + } + + virtual ~ReplTblWriteIdStateRequest() throw(); + std::string validWriteIdlist; + std::string dbName; + std::string tableName; + std::vector partNames; + + _ReplTblWriteIdStateRequest__isset __isset; + + void __set_validWriteIdlist(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 (!(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 3acdec5..6411129 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 _list684 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list684.size); - String _elem685; - for (int _i686 = 0; _i686 < _list684.size; ++_i686) + org.apache.thrift.protocol.TList _list692 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list692.size); + String _elem693; + for (int _i694 = 0; _i694 < _list692.size; ++_i694) { - _elem685 = iprot.readString(); - struct.partitionnames.add(_elem685); + _elem693 = iprot.readString(); + struct.partitionnames.add(_elem693); } 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 _iter687 : struct.partitionnames) + for (String _iter695 : struct.partitionnames) { - oprot.writeString(_iter687); + oprot.writeString(_iter695); } 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 _iter688 : struct.partitionnames) + for (String _iter696 : struct.partitionnames) { - oprot.writeString(_iter688); + oprot.writeString(_iter696); } } 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 _list689 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list689.size); - String _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.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list697.size); + String _elem698; + for (int _i699 = 0; _i699 < _list697.size; ++_i699) { - _elem690 = iprot.readString(); - struct.partitionnames.add(_elem690); + _elem698 = iprot.readString(); + struct.partitionnames.add(_elem698); } } 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 35ccef7..be751fe 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 @@ -521,13 +521,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AllocateTableWriteI case 1: // 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(); } @@ -569,9 +569,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 _iter621 : struct.txnIds) + for (long _iter629 : struct.txnIds) { - oprot.writeI64(_iter621); + oprot.writeI64(_iter629); } oprot.writeListEnd(); } @@ -606,9 +606,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txnIds.size()); - for (long _iter622 : struct.txnIds) + for (long _iter630 : struct.txnIds) { - oprot.writeI64(_iter622); + oprot.writeI64(_iter630); } } oprot.writeString(struct.dbName); @@ -619,13 +619,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteI public void read(org.apache.thrift.protocol.TProtocol prot, AllocateTableWriteIdsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txnIds = new ArrayList(_list623.size); - long _elem624; - for (int _i625 = 0; _i625 < _list623.size; ++_i625) + org.apache.thrift.protocol.TList _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txnIds = new ArrayList(_list631.size); + long _elem632; + for (int _i633 = 0; _i633 < _list631.size; ++_i633) { - _elem624 = iprot.readI64(); - struct.txnIds.add(_elem624); + _elem632 = iprot.readI64(); + struct.txnIds.add(_elem632); } } struct.setTxnIdsIsSet(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 35cbca3..7bba38c 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 _list626 = iprot.readListBegin(); - struct.txnToWriteIds = new ArrayList(_list626.size); - TxnToWriteId _elem627; - for (int _i628 = 0; _i628 < _list626.size; ++_i628) + org.apache.thrift.protocol.TList _list634 = iprot.readListBegin(); + struct.txnToWriteIds = new ArrayList(_list634.size); + TxnToWriteId _elem635; + for (int _i636 = 0; _i636 < _list634.size; ++_i636) { - _elem627 = new TxnToWriteId(); - _elem627.read(iprot); - struct.txnToWriteIds.add(_elem627); + _elem635 = new TxnToWriteId(); + _elem635.read(iprot); + struct.txnToWriteIds.add(_elem635); } 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 _iter629 : struct.txnToWriteIds) + for (TxnToWriteId _iter637 : struct.txnToWriteIds) { - _iter629.write(oprot); + _iter637.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 _iter630 : struct.txnToWriteIds) + for (TxnToWriteId _iter638 : struct.txnToWriteIds) { - _iter630.write(oprot); + _iter638.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 _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.txnToWriteIds = 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.txnToWriteIds = new ArrayList(_list639.size); + TxnToWriteId _elem640; + for (int _i641 = 0; _i641 < _list639.size; ++_i641) { - _elem632 = new TxnToWriteId(); - _elem632.read(iprot); - struct.txnToWriteIds.add(_elem632); + _elem640 = new TxnToWriteId(); + _elem640.read(iprot); + struct.txnToWriteIds.add(_elem640); } } 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 2162163..7db0801 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 _list784 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list784.size); - long _elem785; - for (int _i786 = 0; _i786 < _list784.size; ++_i786) + org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list792.size); + long _elem793; + for (int _i794 = 0; _i794 < _list792.size; ++_i794) { - _elem785 = iprot.readI64(); - struct.fileIds.add(_elem785); + _elem793 = iprot.readI64(); + struct.fileIds.add(_elem793); } 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 _iter787 : struct.fileIds) + for (long _iter795 : struct.fileIds) { - oprot.writeI64(_iter787); + oprot.writeI64(_iter795); } 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 _iter788 : struct.fileIds) + for (long _iter796 : struct.fileIds) { - oprot.writeI64(_iter788); + oprot.writeI64(_iter796); } } } @@ -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 _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list789.size); - long _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.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list797.size); + long _elem798; + for (int _i799 = 0; _i799 < _list797.size; ++_i799) { - _elem790 = iprot.readI64(); - struct.fileIds.add(_elem790); + _elem798 = iprot.readI64(); + struct.fileIds.add(_elem798); } } 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 65e9e4c..a83c0bb 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 _list800 = iprot.readListBegin(); - struct.values = new ArrayList(_list800.size); - ClientCapability _elem801; - for (int _i802 = 0; _i802 < _list800.size; ++_i802) + org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); + struct.values = new ArrayList(_list808.size); + ClientCapability _elem809; + for (int _i810 = 0; _i810 < _list808.size; ++_i810) { - _elem801 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem801); + _elem809 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem809); } 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 _iter803 : struct.values) + for (ClientCapability _iter811 : struct.values) { - oprot.writeI32(_iter803.getValue()); + oprot.writeI32(_iter811.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 _iter804 : struct.values) + for (ClientCapability _iter812 : struct.values) { - oprot.writeI32(_iter804.getValue()); + oprot.writeI32(_iter812.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 _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list805.size); - ClientCapability _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.I32, iprot.readI32()); + struct.values = new ArrayList(_list813.size); + ClientCapability _elem814; + for (int _i815 = 0; _i815 < _list813.size; ++_i815) { - _elem806 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem806); + _elem814 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem814); } } 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 e499e80..524a48e 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 _map666 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map666.size); - String _key667; - String _val668; - for (int _i669 = 0; _i669 < _map666.size; ++_i669) + 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) { - _key667 = iprot.readString(); - _val668 = iprot.readString(); - struct.properties.put(_key667, _val668); + _key675 = iprot.readString(); + _val676 = iprot.readString(); + struct.properties.put(_key675, _val676); } 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 _iter670 : struct.properties.entrySet()) + for (Map.Entry _iter678 : struct.properties.entrySet()) { - oprot.writeString(_iter670.getKey()); - oprot.writeString(_iter670.getValue()); + oprot.writeString(_iter678.getKey()); + oprot.writeString(_iter678.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 _iter671 : struct.properties.entrySet()) + for (Map.Entry _iter679 : struct.properties.entrySet()) { - oprot.writeString(_iter671.getKey()); - oprot.writeString(_iter671.getValue()); + oprot.writeString(_iter679.getKey()); + oprot.writeString(_iter679.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 _map672 = 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*_map672.size); - String _key673; - String _val674; - for (int _i675 = 0; _i675 < _map672.size; ++_i675) + 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) { - _key673 = iprot.readString(); - _val674 = iprot.readString(); - struct.properties.put(_key673, _val674); + _key681 = iprot.readString(); + _val682 = iprot.readString(); + struct.properties.put(_key681, _val682); } } 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 1a16fac..8e4144e 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 _set692 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set692.size); - String _elem693; - for (int _i694 = 0; _i694 < _set692.size; ++_i694) + 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) { - _elem693 = iprot.readString(); - struct.tablesUsed.add(_elem693); + _elem701 = iprot.readString(); + struct.tablesUsed.add(_elem701); } 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 _iter695 : struct.tablesUsed) + for (String _iter703 : struct.tablesUsed) { - oprot.writeString(_iter695); + oprot.writeString(_iter703); } 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 _iter696 : struct.tablesUsed) + for (String _iter704 : struct.tablesUsed) { - oprot.writeString(_iter696); + oprot.writeString(_iter704); } } 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 _set697 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set697.size); - String _elem698; - for (int _i699 = 0; _i699 < _set697.size; ++_i699) + 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) { - _elem698 = iprot.readString(); - struct.tablesUsed.add(_elem698); + _elem706 = iprot.readString(); + struct.tablesUsed.add(_elem706); } } 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 c06b95c..bb64086 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 _list904 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list904.size); - SchemaVersionDescriptor _elem905; - for (int _i906 = 0; _i906 < _list904.size; ++_i906) + org.apache.thrift.protocol.TList _list912 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list912.size); + SchemaVersionDescriptor _elem913; + for (int _i914 = 0; _i914 < _list912.size; ++_i914) { - _elem905 = new SchemaVersionDescriptor(); - _elem905.read(iprot); - struct.schemaVersions.add(_elem905); + _elem913 = new SchemaVersionDescriptor(); + _elem913.read(iprot); + struct.schemaVersions.add(_elem913); } 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 _iter907 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter915 : struct.schemaVersions) { - _iter907.write(oprot); + _iter915.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 _iter908 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter916 : struct.schemaVersions) { - _iter908.write(oprot); + _iter916.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 _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list909.size); - SchemaVersionDescriptor _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.schemaVersions = new ArrayList(_list917.size); + SchemaVersionDescriptor _elem918; + for (int _i919 = 0; _i919 < _list917.size; ++_i919) { - _elem910 = new SchemaVersionDescriptor(); - _elem910.read(iprot); - struct.schemaVersions.add(_elem910); + _elem918 = new SchemaVersionDescriptor(); + _elem918.read(iprot); + struct.schemaVersions.add(_elem918); } } 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 14e6abe..42c9b53 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 _list724 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list724.size); - String _elem725; - for (int _i726 = 0; _i726 < _list724.size; ++_i726) + org.apache.thrift.protocol.TList _list732 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list732.size); + String _elem733; + for (int _i734 = 0; _i734 < _list732.size; ++_i734) { - _elem725 = iprot.readString(); - struct.partitionVals.add(_elem725); + _elem733 = iprot.readString(); + struct.partitionVals.add(_elem733); } 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 _iter727 : struct.partitionVals) + for (String _iter735 : struct.partitionVals) { - oprot.writeString(_iter727); + oprot.writeString(_iter735); } 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 _iter728 : struct.partitionVals) + for (String _iter736 : struct.partitionVals) { - oprot.writeString(_iter728); + oprot.writeString(_iter736); } } } @@ -945,13 +945,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list729 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = 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.partitionVals = new ArrayList(_list737.size); + String _elem738; + for (int _i739 = 0; _i739 < _list737.size; ++_i739) { - _elem730 = iprot.readString(); - struct.partitionVals.add(_elem730); + _elem738 = iprot.readString(); + struct.partitionVals.add(_elem738); } } 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 dfdc357..32e6543 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 _list792 = iprot.readListBegin(); - struct.functions = new ArrayList(_list792.size); - Function _elem793; - for (int _i794 = 0; _i794 < _list792.size; ++_i794) + org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); + struct.functions = new ArrayList(_list800.size); + Function _elem801; + for (int _i802 = 0; _i802 < _list800.size; ++_i802) { - _elem793 = new Function(); - _elem793.read(iprot); - struct.functions.add(_elem793); + _elem801 = new Function(); + _elem801.read(iprot); + struct.functions.add(_elem801); } 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 _iter795 : struct.functions) + for (Function _iter803 : struct.functions) { - _iter795.write(oprot); + _iter803.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 _iter796 : struct.functions) + for (Function _iter804 : struct.functions) { - _iter796.write(oprot); + _iter804.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 _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list797.size); - Function _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.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list805.size); + Function _elem806; + for (int _i807 = 0; _i807 < _list805.size; ++_i807) { - _elem798 = new Function(); - _elem798.read(iprot); - struct.functions.add(_elem798); + _elem806 = new Function(); + _elem806.read(iprot); + struct.functions.add(_elem806); } } 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 0adb11d..8dab985 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 _list742 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list742.size); - long _elem743; - for (int _i744 = 0; _i744 < _list742.size; ++_i744) + org.apache.thrift.protocol.TList _list750 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list750.size); + long _elem751; + for (int _i752 = 0; _i752 < _list750.size; ++_i752) { - _elem743 = iprot.readI64(); - struct.fileIds.add(_elem743); + _elem751 = iprot.readI64(); + struct.fileIds.add(_elem751); } 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 _iter745 : struct.fileIds) + for (long _iter753 : struct.fileIds) { - oprot.writeI64(_iter745); + oprot.writeI64(_iter753); } 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 _iter746 : struct.fileIds) + for (long _iter754 : struct.fileIds) { - oprot.writeI64(_iter746); + oprot.writeI64(_iter754); } } 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 _list747 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list747.size); - long _elem748; - for (int _i749 = 0; _i749 < _list747.size; ++_i749) + 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) { - _elem748 = iprot.readI64(); - struct.fileIds.add(_elem748); + _elem756 = iprot.readI64(); + struct.fileIds.add(_elem756); } } 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 f86d9ea..d94ea73 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 _map732 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map732.size); - long _key733; - MetadataPpdResult _val734; - for (int _i735 = 0; _i735 < _map732.size; ++_i735) + 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) { - _key733 = iprot.readI64(); - _val734 = new MetadataPpdResult(); - _val734.read(iprot); - struct.metadata.put(_key733, _val734); + _key741 = iprot.readI64(); + _val742 = new MetadataPpdResult(); + _val742.read(iprot); + struct.metadata.put(_key741, _val742); } 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 _iter736 : struct.metadata.entrySet()) + for (Map.Entry _iter744 : struct.metadata.entrySet()) { - oprot.writeI64(_iter736.getKey()); - _iter736.getValue().write(oprot); + oprot.writeI64(_iter744.getKey()); + _iter744.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 _iter737 : struct.metadata.entrySet()) + for (Map.Entry _iter745 : struct.metadata.entrySet()) { - oprot.writeI64(_iter737.getKey()); - _iter737.getValue().write(oprot); + oprot.writeI64(_iter745.getKey()); + _iter745.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 _map738 = 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*_map738.size); - long _key739; - MetadataPpdResult _val740; - for (int _i741 = 0; _i741 < _map738.size; ++_i741) + 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) { - _key739 = iprot.readI64(); - _val740 = new MetadataPpdResult(); - _val740.read(iprot); - struct.metadata.put(_key739, _val740); + _key747 = iprot.readI64(); + _val748 = new MetadataPpdResult(); + _val748.read(iprot); + struct.metadata.put(_key747, _val748); } } 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 b98375c..9dfc484 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 _list760 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list760.size); - long _elem761; - for (int _i762 = 0; _i762 < _list760.size; ++_i762) + org.apache.thrift.protocol.TList _list768 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list768.size); + long _elem769; + for (int _i770 = 0; _i770 < _list768.size; ++_i770) { - _elem761 = iprot.readI64(); - struct.fileIds.add(_elem761); + _elem769 = iprot.readI64(); + struct.fileIds.add(_elem769); } 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 _iter763 : struct.fileIds) + for (long _iter771 : struct.fileIds) { - oprot.writeI64(_iter763); + oprot.writeI64(_iter771); } 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 _iter764 : struct.fileIds) + for (long _iter772 : struct.fileIds) { - oprot.writeI64(_iter764); + oprot.writeI64(_iter772); } } } @@ -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 _list765 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list765.size); - long _elem766; - for (int _i767 = 0; _i767 < _list765.size; ++_i767) + 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) { - _elem766 = iprot.readI64(); - struct.fileIds.add(_elem766); + _elem774 = iprot.readI64(); + struct.fileIds.add(_elem774); } } 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 d8d903e..d454340 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 _map750 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map750.size); - long _key751; - ByteBuffer _val752; - for (int _i753 = 0; _i753 < _map750.size; ++_i753) + 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) { - _key751 = iprot.readI64(); - _val752 = iprot.readBinary(); - struct.metadata.put(_key751, _val752); + _key759 = iprot.readI64(); + _val760 = iprot.readBinary(); + struct.metadata.put(_key759, _val760); } 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 _iter754 : struct.metadata.entrySet()) + for (Map.Entry _iter762 : struct.metadata.entrySet()) { - oprot.writeI64(_iter754.getKey()); - oprot.writeBinary(_iter754.getValue()); + oprot.writeI64(_iter762.getKey()); + oprot.writeBinary(_iter762.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 _iter755 : struct.metadata.entrySet()) + for (Map.Entry _iter763 : struct.metadata.entrySet()) { - oprot.writeI64(_iter755.getKey()); - oprot.writeBinary(_iter755.getValue()); + oprot.writeI64(_iter763.getKey()); + oprot.writeBinary(_iter763.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 _map756 = 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*_map756.size); - long _key757; - ByteBuffer _val758; - for (int _i759 = 0; _i759 < _map756.size; ++_i759) + 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) { - _key757 = iprot.readI64(); - _val758 = iprot.readBinary(); - struct.metadata.put(_key757, _val758); + _key765 = iprot.readI64(); + _val766 = iprot.readBinary(); + struct.metadata.put(_key765, _val766); } } 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 a264cdd..f2be7ec 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 _list808 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list808.size); - String _elem809; - for (int _i810 = 0; _i810 < _list808.size; ++_i810) + org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list816.size); + String _elem817; + for (int _i818 = 0; _i818 < _list816.size; ++_i818) { - _elem809 = iprot.readString(); - struct.tblNames.add(_elem809); + _elem817 = iprot.readString(); + struct.tblNames.add(_elem817); } 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 _iter811 : struct.tblNames) + for (String _iter819 : struct.tblNames) { - oprot.writeString(_iter811); + oprot.writeString(_iter819); } 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 _iter812 : struct.tblNames) + for (String _iter820 : struct.tblNames) { - oprot.writeString(_iter812); + oprot.writeString(_iter820); } } } @@ -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 _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list813.size); - String _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.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list821.size); + String _elem822; + for (int _i823 = 0; _i823 < _list821.size; ++_i823) { - _elem814 = iprot.readString(); - struct.tblNames.add(_elem814); + _elem822 = iprot.readString(); + struct.tblNames.add(_elem822); } } 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 f4ccc8b..371757a 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 _list816 = iprot.readListBegin(); - struct.tables = new ArrayList
(_list816.size); - Table _elem817; - for (int _i818 = 0; _i818 < _list816.size; ++_i818) + org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list824.size); + Table _elem825; + for (int _i826 = 0; _i826 < _list824.size; ++_i826) { - _elem817 = new Table(); - _elem817.read(iprot); - struct.tables.add(_elem817); + _elem825 = new Table(); + _elem825.read(iprot); + struct.tables.add(_elem825); } 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 _iter819 : struct.tables) + for (Table _iter827 : struct.tables) { - _iter819.write(oprot); + _iter827.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 _iter820 : struct.tables) + for (Table _iter828 : struct.tables) { - _iter820.write(oprot); + _iter828.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 _list821 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list821.size); - Table _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.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list829.size); + Table _elem830; + for (int _i831 = 0; _i831 < _list829.size; ++_i831) { - _elem822 = new Table(); - _elem822.read(iprot); - struct.tables.add(_elem822); + _elem830 = new Table(); + _elem830.read(iprot); + struct.tables.add(_elem830); } } 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 b270439..75ddaf6 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 _set650 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set650.size); - long _elem651; - for (int _i652 = 0; _i652 < _set650.size; ++_i652) + 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) { - _elem651 = iprot.readI64(); - struct.aborted.add(_elem651); + _elem659 = iprot.readI64(); + struct.aborted.add(_elem659); } 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 _set653 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set653.size); - long _elem654; - for (int _i655 = 0; _i655 < _set653.size; ++_i655) + 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) { - _elem654 = iprot.readI64(); - struct.nosuch.add(_elem654); + _elem662 = iprot.readI64(); + struct.nosuch.add(_elem662); } 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 _iter656 : struct.aborted) + for (long _iter664 : struct.aborted) { - oprot.writeI64(_iter656); + oprot.writeI64(_iter664); } 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 _iter657 : struct.nosuch) + for (long _iter665 : struct.nosuch) { - oprot.writeI64(_iter657); + oprot.writeI64(_iter665); } 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 _iter658 : struct.aborted) + for (long _iter666 : struct.aborted) { - oprot.writeI64(_iter658); + oprot.writeI64(_iter666); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter659 : struct.nosuch) + for (long _iter667 : struct.nosuch) { - oprot.writeI64(_iter659); + oprot.writeI64(_iter667); } } } @@ -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 _set660 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set660.size); - long _elem661; - for (int _i662 = 0; _i662 < _set660.size; ++_i662) + 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) { - _elem661 = iprot.readI64(); - struct.aborted.add(_elem661); + _elem669 = iprot.readI64(); + struct.aborted.add(_elem669); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set663 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set663.size); - long _elem664; - for (int _i665 = 0; _i665 < _set663.size; ++_i665) + 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) { - _elem664 = iprot.readI64(); - struct.nosuch.add(_elem664); + _elem672 = iprot.readI64(); + struct.nosuch.add(_elem672); } } 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 79570a5..c7100a7 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 _list708 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list708.size); - String _elem709; - for (int _i710 = 0; _i710 < _list708.size; ++_i710) + org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list716.size); + String _elem717; + for (int _i718 = 0; _i718 < _list716.size; ++_i718) { - _elem709 = iprot.readString(); - struct.filesAdded.add(_elem709); + _elem717 = iprot.readString(); + struct.filesAdded.add(_elem717); } 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 _list711 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list711.size); - String _elem712; - for (int _i713 = 0; _i713 < _list711.size; ++_i713) + org.apache.thrift.protocol.TList _list719 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list719.size); + String _elem720; + for (int _i721 = 0; _i721 < _list719.size; ++_i721) { - _elem712 = iprot.readString(); - struct.filesAddedChecksum.add(_elem712); + _elem720 = iprot.readString(); + struct.filesAddedChecksum.add(_elem720); } 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 _iter714 : struct.filesAdded) + for (String _iter722 : struct.filesAdded) { - oprot.writeString(_iter714); + oprot.writeString(_iter722); } 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 _iter715 : struct.filesAddedChecksum) + for (String _iter723 : struct.filesAddedChecksum) { - oprot.writeString(_iter715); + oprot.writeString(_iter723); } 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 _iter716 : struct.filesAdded) + for (String _iter724 : struct.filesAdded) { - oprot.writeString(_iter716); + oprot.writeString(_iter724); } } 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 _iter717 : struct.filesAddedChecksum) + for (String _iter725 : struct.filesAddedChecksum) { - oprot.writeString(_iter717); + oprot.writeString(_iter725); } } } @@ -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 _list718 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list718.size); - String _elem719; - for (int _i720 = 0; _i720 < _list718.size; ++_i720) + 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) { - _elem719 = iprot.readString(); - struct.filesAdded.add(_elem719); + _elem727 = iprot.readString(); + struct.filesAdded.add(_elem727); } } 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 _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list721.size); - String _elem722; - for (int _i723 = 0; _i723 < _list721.size; ++_i723) + 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) { - _elem722 = iprot.readString(); - struct.filesAddedChecksum.add(_elem722); + _elem730 = iprot.readString(); + struct.filesAddedChecksum.add(_elem730); } } 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 62f0dd6..d1134b5 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 _list634 = iprot.readListBegin(); - struct.component = new ArrayList(_list634.size); - LockComponent _elem635; - for (int _i636 = 0; _i636 < _list634.size; ++_i636) + org.apache.thrift.protocol.TList _list642 = iprot.readListBegin(); + struct.component = new ArrayList(_list642.size); + LockComponent _elem643; + for (int _i644 = 0; _i644 < _list642.size; ++_i644) { - _elem635 = new LockComponent(); - _elem635.read(iprot); - struct.component.add(_elem635); + _elem643 = new LockComponent(); + _elem643.read(iprot); + struct.component.add(_elem643); } 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 _iter637 : struct.component) + for (LockComponent _iter645 : struct.component) { - _iter637.write(oprot); + _iter645.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 _iter638 : struct.component) + for (LockComponent _iter646 : struct.component) { - _iter638.write(oprot); + _iter646.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 _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list639.size); - LockComponent _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.component = new ArrayList(_list647.size); + LockComponent _elem648; + for (int _i649 = 0; _i649 < _list647.size; ++_i649) { - _elem640 = new LockComponent(); - _elem640.read(iprot); - struct.component.add(_elem640); + _elem648 = new LockComponent(); + _elem648.read(iprot); + struct.component.add(_elem648); } } 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 556207e..403c7aa 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 _set824 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set824.size); - String _elem825; - for (int _i826 = 0; _i826 < _set824.size; ++_i826) + 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) { - _elem825 = iprot.readString(); - struct.tablesUsed.add(_elem825); + _elem833 = iprot.readString(); + struct.tablesUsed.add(_elem833); } 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 _iter827 : struct.tablesUsed) + for (String _iter835 : struct.tablesUsed) { - oprot.writeString(_iter827); + oprot.writeString(_iter835); } 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 _iter828 : struct.tablesUsed) + for (String _iter836 : struct.tablesUsed) { - oprot.writeString(_iter828); + oprot.writeString(_iter836); } } 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 _set829 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set829.size); - String _elem830; - for (int _i831 = 0; _i831 < _set829.size; ++_i831) + 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) { - _elem830 = iprot.readString(); - struct.tablesUsed.add(_elem830); + _elem838 = iprot.readString(); + struct.tablesUsed.add(_elem838); } } 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 3c35a0e..baa4224 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 _list700 = iprot.readListBegin(); - struct.events = new ArrayList(_list700.size); - NotificationEvent _elem701; - for (int _i702 = 0; _i702 < _list700.size; ++_i702) + org.apache.thrift.protocol.TList _list708 = iprot.readListBegin(); + struct.events = new ArrayList(_list708.size); + NotificationEvent _elem709; + for (int _i710 = 0; _i710 < _list708.size; ++_i710) { - _elem701 = new NotificationEvent(); - _elem701.read(iprot); - struct.events.add(_elem701); + _elem709 = new NotificationEvent(); + _elem709.read(iprot); + struct.events.add(_elem709); } 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 _iter703 : struct.events) + for (NotificationEvent _iter711 : struct.events) { - _iter703.write(oprot); + _iter711.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 _iter704 : struct.events) + for (NotificationEvent _iter712 : struct.events) { - _iter704.write(oprot); + _iter712.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 _list705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list705.size); - NotificationEvent _elem706; - for (int _i707 = 0; _i707 < _list705.size; ++_i707) + 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) { - _elem706 = new NotificationEvent(); - _elem706.read(iprot); - struct.events.add(_elem706); + _elem714 = new NotificationEvent(); + _elem714.read(iprot); + struct.events.add(_elem714); } } 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 474555f..ad42dbe 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 _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(); } @@ -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 _list771 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list771.size); - ByteBuffer _elem772; - for (int _i773 = 0; _i773 < _list771.size; ++_i773) + org.apache.thrift.protocol.TList _list779 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list779.size); + ByteBuffer _elem780; + for (int _i781 = 0; _i781 < _list779.size; ++_i781) { - _elem772 = iprot.readBinary(); - struct.metadata.add(_elem772); + _elem780 = iprot.readBinary(); + struct.metadata.add(_elem780); } 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 _iter774 : struct.fileIds) + for (long _iter782 : struct.fileIds) { - oprot.writeI64(_iter774); + oprot.writeI64(_iter782); } 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 _iter775 : struct.metadata) + for (ByteBuffer _iter783 : struct.metadata) { - oprot.writeBinary(_iter775); + oprot.writeBinary(_iter783); } 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 _iter776 : struct.fileIds) + for (long _iter784 : struct.fileIds) { - oprot.writeI64(_iter776); + oprot.writeI64(_iter784); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter777 : struct.metadata) + for (ByteBuffer _iter785 : struct.metadata) { - oprot.writeBinary(_iter777); + oprot.writeBinary(_iter785); } } 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 _list778 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list778.size); - long _elem779; - for (int _i780 = 0; _i780 < _list778.size; ++_i780) + 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) { - _elem779 = iprot.readI64(); - struct.fileIds.add(_elem779); + _elem787 = iprot.readI64(); + struct.fileIds.add(_elem787); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list781.size); - ByteBuffer _elem782; - for (int _i783 = 0; _i783 < _list781.size; ++_i783) + 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) { - _elem782 = iprot.readBinary(); - struct.metadata.add(_elem782); + _elem790 = iprot.readBinary(); + struct.metadata.add(_elem790); } } 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..ac96abc --- /dev/null +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ReplTblWriteIdStateRequest.java @@ -0,0 +1,750 @@ +/** + * Autogenerated by Thrift Compiler (0.9.3) + * + * DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING + * @generated + */ +package org.apache.hadoop.hive.metastore.api; + +import org.apache.thrift.scheme.IScheme; +import org.apache.thrift.scheme.SchemeFactory; +import org.apache.thrift.scheme.StandardScheme; + +import org.apache.thrift.scheme.TupleScheme; +import org.apache.thrift.protocol.TTupleProtocol; +import org.apache.thrift.protocol.TProtocolException; +import org.apache.thrift.EncodingUtils; +import org.apache.thrift.TException; +import org.apache.thrift.async.AsyncMethodCallback; +import org.apache.thrift.server.AbstractNonblockingServer.*; +import java.util.List; +import java.util.ArrayList; +import java.util.Map; +import java.util.HashMap; +import java.util.EnumMap; +import java.util.Set; +import java.util.HashSet; +import java.util.EnumSet; +import java.util.Collections; +import java.util.BitSet; +import java.nio.ByteBuffer; +import java.util.Arrays; +import javax.annotation.Generated; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"}) +@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)") +@org.apache.hadoop.classification.InterfaceAudience.Public @org.apache.hadoop.classification.InterfaceStability.Stable public class 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 DB_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("dbName", org.apache.thrift.protocol.TType.STRING, (short)2); + 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)3); + 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)4); + + 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 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"), + DB_NAME((short)2, "dbName"), + TABLE_NAME((short)3, "tableName"), + PART_NAMES((short)4, "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: // DB_NAME + return DB_NAME; + case 3: // TABLE_NAME + return TABLE_NAME; + case 4: // 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.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 dbName, + String tableName) + { + this(); + this.validWriteIdlist = validWriteIdlist; + 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.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.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 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 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 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 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_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_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(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("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 (!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: // 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 3: // 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 4: // 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.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.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.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 12a8d1b..62bc3b4 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 _list896 = iprot.readListBegin(); - struct.cols = new ArrayList(_list896.size); - FieldSchema _elem897; - for (int _i898 = 0; _i898 < _list896.size; ++_i898) + org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); + struct.cols = new ArrayList(_list904.size); + FieldSchema _elem905; + for (int _i906 = 0; _i906 < _list904.size; ++_i906) { - _elem897 = new FieldSchema(); - _elem897.read(iprot); - struct.cols.add(_elem897); + _elem905 = new FieldSchema(); + _elem905.read(iprot); + struct.cols.add(_elem905); } 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 _iter899 : struct.cols) + for (FieldSchema _iter907 : struct.cols) { - _iter899.write(oprot); + _iter907.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 _iter900 : struct.cols) + for (FieldSchema _iter908 : struct.cols) { - _iter900.write(oprot); + _iter908.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 _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list901.size); - FieldSchema _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.cols = new ArrayList(_list909.size); + FieldSchema _elem910; + for (int _i911 = 0; _i911 < _list909.size; ++_i911) { - _elem902 = new FieldSchema(); - _elem902.read(iprot); - struct.cols.add(_elem902); + _elem910 = new FieldSchema(); + _elem910.read(iprot); + struct.cols.add(_elem910); } } 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 6c418f5..4e465ac 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 _list676 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list676.size); - ShowCompactResponseElement _elem677; - for (int _i678 = 0; _i678 < _list676.size; ++_i678) + org.apache.thrift.protocol.TList _list684 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list684.size); + ShowCompactResponseElement _elem685; + for (int _i686 = 0; _i686 < _list684.size; ++_i686) { - _elem677 = new ShowCompactResponseElement(); - _elem677.read(iprot); - struct.compacts.add(_elem677); + _elem685 = new ShowCompactResponseElement(); + _elem685.read(iprot); + struct.compacts.add(_elem685); } 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 _iter679 : struct.compacts) + for (ShowCompactResponseElement _iter687 : struct.compacts) { - _iter679.write(oprot); + _iter687.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 _iter680 : struct.compacts) + for (ShowCompactResponseElement _iter688 : struct.compacts) { - _iter680.write(oprot); + _iter688.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 _list681 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list681.size); - ShowCompactResponseElement _elem682; - for (int _i683 = 0; _i683 < _list681.size; ++_i683) + 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) { - _elem682 = new ShowCompactResponseElement(); - _elem682.read(iprot); - struct.compacts.add(_elem682); + _elem690 = new ShowCompactResponseElement(); + _elem690.read(iprot); + struct.compacts.add(_elem690); } } 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 857dc7a..cfc7f9c 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 _list642 = iprot.readListBegin(); - struct.locks = new ArrayList(_list642.size); - ShowLocksResponseElement _elem643; - for (int _i644 = 0; _i644 < _list642.size; ++_i644) + org.apache.thrift.protocol.TList _list650 = iprot.readListBegin(); + struct.locks = new ArrayList(_list650.size); + ShowLocksResponseElement _elem651; + for (int _i652 = 0; _i652 < _list650.size; ++_i652) { - _elem643 = new ShowLocksResponseElement(); - _elem643.read(iprot); - struct.locks.add(_elem643); + _elem651 = new ShowLocksResponseElement(); + _elem651.read(iprot); + struct.locks.add(_elem651); } 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 _iter645 : struct.locks) + for (ShowLocksResponseElement _iter653 : struct.locks) { - _iter645.write(oprot); + _iter653.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 _iter646 : struct.locks) + for (ShowLocksResponseElement _iter654 : struct.locks) { - _iter646.write(oprot); + _iter654.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 _list647 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list647.size); - ShowLocksResponseElement _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.locks = new ArrayList(_list655.size); + ShowLocksResponseElement _elem656; + for (int _i657 = 0; _i657 < _list655.size; ++_i657) { - _elem648 = new ShowLocksResponseElement(); - _elem648.read(iprot); - struct.locks.add(_elem648); + _elem656 = new ShowLocksResponseElement(); + _elem656.read(iprot); + struct.locks.add(_elem656); } } 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 afe82e3..d339565 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; @@ -740,6 +742,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; @@ -5122,6 +5126,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); @@ -11833,6 +11857,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); @@ -13818,6 +13874,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"); @@ -19226,6 +19303,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"); @@ -40589,13 +40717,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 _list912 = iprot.readListBegin(); - struct.success = new ArrayList(_list912.size); - String _elem913; - for (int _i914 = 0; _i914 < _list912.size; ++_i914) + org.apache.thrift.protocol.TList _list920 = iprot.readListBegin(); + struct.success = new ArrayList(_list920.size); + String _elem921; + for (int _i922 = 0; _i922 < _list920.size; ++_i922) { - _elem913 = iprot.readString(); - struct.success.add(_elem913); + _elem921 = iprot.readString(); + struct.success.add(_elem921); } iprot.readListEnd(); } @@ -40630,9 +40758,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 _iter915 : struct.success) + for (String _iter923 : struct.success) { - oprot.writeString(_iter915); + oprot.writeString(_iter923); } oprot.writeListEnd(); } @@ -40671,9 +40799,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter916 : struct.success) + for (String _iter924 : struct.success) { - oprot.writeString(_iter916); + oprot.writeString(_iter924); } } } @@ -40688,13 +40816,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 _list917 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list917.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list925.size); + String _elem926; + for (int _i927 = 0; _i927 < _list925.size; ++_i927) { - _elem918 = iprot.readString(); - struct.success.add(_elem918); + _elem926 = iprot.readString(); + struct.success.add(_elem926); } } struct.setSuccessIsSet(true); @@ -41348,13 +41476,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 _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(); } @@ -41389,9 +41517,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 _iter923 : struct.success) + for (String _iter931 : struct.success) { - oprot.writeString(_iter923); + oprot.writeString(_iter931); } oprot.writeListEnd(); } @@ -41430,9 +41558,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter924 : struct.success) + for (String _iter932 : struct.success) { - oprot.writeString(_iter924); + oprot.writeString(_iter932); } } } @@ -41447,13 +41575,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 _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); @@ -46060,16 +46188,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 _map928 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map928.size); - String _key929; - Type _val930; - for (int _i931 = 0; _i931 < _map928.size; ++_i931) + 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) { - _key929 = iprot.readString(); - _val930 = new Type(); - _val930.read(iprot); - struct.success.put(_key929, _val930); + _key937 = iprot.readString(); + _val938 = new Type(); + _val938.read(iprot); + struct.success.put(_key937, _val938); } iprot.readMapEnd(); } @@ -46104,10 +46232,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 _iter932 : struct.success.entrySet()) + for (Map.Entry _iter940 : struct.success.entrySet()) { - oprot.writeString(_iter932.getKey()); - _iter932.getValue().write(oprot); + oprot.writeString(_iter940.getKey()); + _iter940.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -46146,10 +46274,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 _iter933 : struct.success.entrySet()) + for (Map.Entry _iter941 : struct.success.entrySet()) { - oprot.writeString(_iter933.getKey()); - _iter933.getValue().write(oprot); + oprot.writeString(_iter941.getKey()); + _iter941.getValue().write(oprot); } } } @@ -46164,16 +46292,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 _map934 = 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*_map934.size); - String _key935; - Type _val936; - for (int _i937 = 0; _i937 < _map934.size; ++_i937) + 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) { - _key935 = iprot.readString(); - _val936 = new Type(); - _val936.read(iprot); - struct.success.put(_key935, _val936); + _key943 = iprot.readString(); + _val944 = new Type(); + _val944.read(iprot); + struct.success.put(_key943, _val944); } } struct.setSuccessIsSet(true); @@ -47208,14 +47336,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 _list938 = iprot.readListBegin(); - struct.success = new ArrayList(_list938.size); - FieldSchema _elem939; - for (int _i940 = 0; _i940 < _list938.size; ++_i940) + org.apache.thrift.protocol.TList _list946 = iprot.readListBegin(); + struct.success = new ArrayList(_list946.size); + FieldSchema _elem947; + for (int _i948 = 0; _i948 < _list946.size; ++_i948) { - _elem939 = new FieldSchema(); - _elem939.read(iprot); - struct.success.add(_elem939); + _elem947 = new FieldSchema(); + _elem947.read(iprot); + struct.success.add(_elem947); } iprot.readListEnd(); } @@ -47268,9 +47396,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 _iter941 : struct.success) + for (FieldSchema _iter949 : struct.success) { - _iter941.write(oprot); + _iter949.write(oprot); } oprot.writeListEnd(); } @@ -47325,9 +47453,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter942 : struct.success) + for (FieldSchema _iter950 : struct.success) { - _iter942.write(oprot); + _iter950.write(oprot); } } } @@ -47348,14 +47476,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 _list943 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list943.size); - FieldSchema _elem944; - for (int _i945 = 0; _i945 < _list943.size; ++_i945) + 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) { - _elem944 = new FieldSchema(); - _elem944.read(iprot); - struct.success.add(_elem944); + _elem952 = new FieldSchema(); + _elem952.read(iprot); + struct.success.add(_elem952); } } struct.setSuccessIsSet(true); @@ -48509,14 +48637,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 _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(); } @@ -48569,9 +48697,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 _iter949 : struct.success) + for (FieldSchema _iter957 : struct.success) { - _iter949.write(oprot); + _iter957.write(oprot); } oprot.writeListEnd(); } @@ -48626,9 +48754,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter950 : struct.success) + for (FieldSchema _iter958 : struct.success) { - _iter950.write(oprot); + _iter958.write(oprot); } } } @@ -48649,14 +48777,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 _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); @@ -49701,14 +49829,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 _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(); } @@ -49761,9 +49889,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 _iter957 : struct.success) + for (FieldSchema _iter965 : struct.success) { - _iter957.write(oprot); + _iter965.write(oprot); } oprot.writeListEnd(); } @@ -49818,9 +49946,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter958 : struct.success) + for (FieldSchema _iter966 : struct.success) { - _iter958.write(oprot); + _iter966.write(oprot); } } } @@ -49841,14 +49969,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 _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); @@ -51002,14 +51130,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 _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(); } @@ -51062,9 +51190,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 _iter965 : struct.success) + for (FieldSchema _iter973 : struct.success) { - _iter965.write(oprot); + _iter973.write(oprot); } oprot.writeListEnd(); } @@ -51119,9 +51247,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter966 : struct.success) + for (FieldSchema _iter974 : struct.success) { - _iter966.write(oprot); + _iter974.write(oprot); } } } @@ -51142,14 +51270,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 _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); @@ -54278,14 +54406,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 _list970 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list970.size); - SQLPrimaryKey _elem971; - for (int _i972 = 0; _i972 < _list970.size; ++_i972) + org.apache.thrift.protocol.TList _list978 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list978.size); + SQLPrimaryKey _elem979; + for (int _i980 = 0; _i980 < _list978.size; ++_i980) { - _elem971 = new SQLPrimaryKey(); - _elem971.read(iprot); - struct.primaryKeys.add(_elem971); + _elem979 = new SQLPrimaryKey(); + _elem979.read(iprot); + struct.primaryKeys.add(_elem979); } iprot.readListEnd(); } @@ -54297,14 +54425,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 _list973 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list973.size); - SQLForeignKey _elem974; - for (int _i975 = 0; _i975 < _list973.size; ++_i975) + org.apache.thrift.protocol.TList _list981 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list981.size); + SQLForeignKey _elem982; + for (int _i983 = 0; _i983 < _list981.size; ++_i983) { - _elem974 = new SQLForeignKey(); - _elem974.read(iprot); - struct.foreignKeys.add(_elem974); + _elem982 = new SQLForeignKey(); + _elem982.read(iprot); + struct.foreignKeys.add(_elem982); } iprot.readListEnd(); } @@ -54316,14 +54444,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 _list976 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list976.size); - SQLUniqueConstraint _elem977; - for (int _i978 = 0; _i978 < _list976.size; ++_i978) + org.apache.thrift.protocol.TList _list984 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list984.size); + SQLUniqueConstraint _elem985; + for (int _i986 = 0; _i986 < _list984.size; ++_i986) { - _elem977 = new SQLUniqueConstraint(); - _elem977.read(iprot); - struct.uniqueConstraints.add(_elem977); + _elem985 = new SQLUniqueConstraint(); + _elem985.read(iprot); + struct.uniqueConstraints.add(_elem985); } iprot.readListEnd(); } @@ -54335,14 +54463,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 _list979 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list979.size); - SQLNotNullConstraint _elem980; - for (int _i981 = 0; _i981 < _list979.size; ++_i981) + org.apache.thrift.protocol.TList _list987 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list987.size); + SQLNotNullConstraint _elem988; + for (int _i989 = 0; _i989 < _list987.size; ++_i989) { - _elem980 = new SQLNotNullConstraint(); - _elem980.read(iprot); - struct.notNullConstraints.add(_elem980); + _elem988 = new SQLNotNullConstraint(); + _elem988.read(iprot); + struct.notNullConstraints.add(_elem988); } iprot.readListEnd(); } @@ -54354,14 +54482,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 _list982 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list982.size); - SQLDefaultConstraint _elem983; - for (int _i984 = 0; _i984 < _list982.size; ++_i984) + org.apache.thrift.protocol.TList _list990 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list990.size); + SQLDefaultConstraint _elem991; + for (int _i992 = 0; _i992 < _list990.size; ++_i992) { - _elem983 = new SQLDefaultConstraint(); - _elem983.read(iprot); - struct.defaultConstraints.add(_elem983); + _elem991 = new SQLDefaultConstraint(); + _elem991.read(iprot); + struct.defaultConstraints.add(_elem991); } iprot.readListEnd(); } @@ -54373,14 +54501,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 _list985 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list985.size); - SQLCheckConstraint _elem986; - for (int _i987 = 0; _i987 < _list985.size; ++_i987) + org.apache.thrift.protocol.TList _list993 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list993.size); + SQLCheckConstraint _elem994; + for (int _i995 = 0; _i995 < _list993.size; ++_i995) { - _elem986 = new SQLCheckConstraint(); - _elem986.read(iprot); - struct.checkConstraints.add(_elem986); + _elem994 = new SQLCheckConstraint(); + _elem994.read(iprot); + struct.checkConstraints.add(_elem994); } iprot.readListEnd(); } @@ -54411,9 +54539,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 _iter988 : struct.primaryKeys) + for (SQLPrimaryKey _iter996 : struct.primaryKeys) { - _iter988.write(oprot); + _iter996.write(oprot); } oprot.writeListEnd(); } @@ -54423,9 +54551,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 _iter989 : struct.foreignKeys) + for (SQLForeignKey _iter997 : struct.foreignKeys) { - _iter989.write(oprot); + _iter997.write(oprot); } oprot.writeListEnd(); } @@ -54435,9 +54563,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 _iter990 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter998 : struct.uniqueConstraints) { - _iter990.write(oprot); + _iter998.write(oprot); } oprot.writeListEnd(); } @@ -54447,9 +54575,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 _iter991 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter999 : struct.notNullConstraints) { - _iter991.write(oprot); + _iter999.write(oprot); } oprot.writeListEnd(); } @@ -54459,9 +54587,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 _iter992 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1000 : struct.defaultConstraints) { - _iter992.write(oprot); + _iter1000.write(oprot); } oprot.writeListEnd(); } @@ -54471,9 +54599,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 _iter993 : struct.checkConstraints) + for (SQLCheckConstraint _iter1001 : struct.checkConstraints) { - _iter993.write(oprot); + _iter1001.write(oprot); } oprot.writeListEnd(); } @@ -54525,54 +54653,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter994 : struct.primaryKeys) + for (SQLPrimaryKey _iter1002 : struct.primaryKeys) { - _iter994.write(oprot); + _iter1002.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter995 : struct.foreignKeys) + for (SQLForeignKey _iter1003 : struct.foreignKeys) { - _iter995.write(oprot); + _iter1003.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter996 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter1004 : struct.uniqueConstraints) { - _iter996.write(oprot); + _iter1004.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter997 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter1005 : struct.notNullConstraints) { - _iter997.write(oprot); + _iter1005.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter998 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter1006 : struct.defaultConstraints) { - _iter998.write(oprot); + _iter1006.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter999 : struct.checkConstraints) + for (SQLCheckConstraint _iter1007 : struct.checkConstraints) { - _iter999.write(oprot); + _iter1007.write(oprot); } } } @@ -54589,84 +54717,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1000 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list1000.size); - SQLPrimaryKey _elem1001; - for (int _i1002 = 0; _i1002 < _list1000.size; ++_i1002) + 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) { - _elem1001 = new SQLPrimaryKey(); - _elem1001.read(iprot); - struct.primaryKeys.add(_elem1001); + _elem1009 = new SQLPrimaryKey(); + _elem1009.read(iprot); + struct.primaryKeys.add(_elem1009); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1003 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list1003.size); - SQLForeignKey _elem1004; - for (int _i1005 = 0; _i1005 < _list1003.size; ++_i1005) + 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) { - _elem1004 = new SQLForeignKey(); - _elem1004.read(iprot); - struct.foreignKeys.add(_elem1004); + _elem1012 = new SQLForeignKey(); + _elem1012.read(iprot); + struct.foreignKeys.add(_elem1012); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list1006 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list1006.size); - SQLUniqueConstraint _elem1007; - for (int _i1008 = 0; _i1008 < _list1006.size; ++_i1008) + 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) { - _elem1007 = new SQLUniqueConstraint(); - _elem1007.read(iprot); - struct.uniqueConstraints.add(_elem1007); + _elem1015 = new SQLUniqueConstraint(); + _elem1015.read(iprot); + struct.uniqueConstraints.add(_elem1015); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1009 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list1009.size); - SQLNotNullConstraint _elem1010; - for (int _i1011 = 0; _i1011 < _list1009.size; ++_i1011) + 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) { - _elem1010 = new SQLNotNullConstraint(); - _elem1010.read(iprot); - struct.notNullConstraints.add(_elem1010); + _elem1018 = new SQLNotNullConstraint(); + _elem1018.read(iprot); + struct.notNullConstraints.add(_elem1018); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1012 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list1012.size); - SQLDefaultConstraint _elem1013; - for (int _i1014 = 0; _i1014 < _list1012.size; ++_i1014) + 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) { - _elem1013 = new SQLDefaultConstraint(); - _elem1013.read(iprot); - struct.defaultConstraints.add(_elem1013); + _elem1021 = new SQLDefaultConstraint(); + _elem1021.read(iprot); + struct.defaultConstraints.add(_elem1021); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list1015.size); - SQLCheckConstraint _elem1016; - for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) + 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) { - _elem1016 = new SQLCheckConstraint(); - _elem1016.read(iprot); - struct.checkConstraints.add(_elem1016); + _elem1024 = new SQLCheckConstraint(); + _elem1024.read(iprot); + struct.checkConstraints.add(_elem1024); } } struct.setCheckConstraintsIsSet(true); @@ -63816,13 +63944,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 _list1018 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list1018.size); - String _elem1019; - for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) + org.apache.thrift.protocol.TList _list1026 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list1026.size); + String _elem1027; + for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) { - _elem1019 = iprot.readString(); - struct.partNames.add(_elem1019); + _elem1027 = iprot.readString(); + struct.partNames.add(_elem1027); } iprot.readListEnd(); } @@ -63858,9 +63986,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 _iter1021 : struct.partNames) + for (String _iter1029 : struct.partNames) { - oprot.writeString(_iter1021); + oprot.writeString(_iter1029); } oprot.writeListEnd(); } @@ -63903,9 +64031,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter1022 : struct.partNames) + for (String _iter1030 : struct.partNames) { - oprot.writeString(_iter1022); + oprot.writeString(_iter1030); } } } @@ -63925,13 +64053,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list1023.size); - String _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.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list1031.size); + String _elem1032; + for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) { - _elem1024 = iprot.readString(); - struct.partNames.add(_elem1024); + _elem1032 = iprot.readString(); + struct.partNames.add(_elem1032); } } struct.setPartNamesIsSet(true); @@ -65156,13 +65284,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 _list1026 = iprot.readListBegin(); - struct.success = new ArrayList(_list1026.size); - String _elem1027; - for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) + org.apache.thrift.protocol.TList _list1034 = iprot.readListBegin(); + struct.success = new ArrayList(_list1034.size); + String _elem1035; + for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) { - _elem1027 = iprot.readString(); - struct.success.add(_elem1027); + _elem1035 = iprot.readString(); + struct.success.add(_elem1035); } iprot.readListEnd(); } @@ -65197,9 +65325,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 _iter1029 : struct.success) + for (String _iter1037 : struct.success) { - oprot.writeString(_iter1029); + oprot.writeString(_iter1037); } oprot.writeListEnd(); } @@ -65238,9 +65366,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1030 : struct.success) + for (String _iter1038 : struct.success) { - oprot.writeString(_iter1030); + oprot.writeString(_iter1038); } } } @@ -65255,13 +65383,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 _list1031 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1031.size); - String _elem1032; - for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) + org.apache.thrift.protocol.TList _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) { - _elem1032 = iprot.readString(); - struct.success.add(_elem1032); + _elem1040 = iprot.readString(); + struct.success.add(_elem1040); } } struct.setSuccessIsSet(true); @@ -66235,13 +66363,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 _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(); } @@ -66276,9 +66404,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 _iter1037 : struct.success) + for (String _iter1045 : struct.success) { - oprot.writeString(_iter1037); + oprot.writeString(_iter1045); } oprot.writeListEnd(); } @@ -66317,9 +66445,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1038 : struct.success) + for (String _iter1046 : struct.success) { - oprot.writeString(_iter1038); + oprot.writeString(_iter1046); } } } @@ -66334,13 +66462,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 _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); @@ -67106,13 +67234,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 _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(); } @@ -67147,9 +67275,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 _iter1045 : struct.success) + for (String _iter1053 : struct.success) { - oprot.writeString(_iter1045); + oprot.writeString(_iter1053); } oprot.writeListEnd(); } @@ -67188,9 +67316,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1046 : struct.success) + for (String _iter1054 : struct.success) { - oprot.writeString(_iter1046); + oprot.writeString(_iter1054); } } } @@ -67205,13 +67333,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 _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); @@ -67716,13 +67844,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 _list1050 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1050.size); - String _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + 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) { - _elem1051 = iprot.readString(); - struct.tbl_types.add(_elem1051); + _elem1059 = iprot.readString(); + struct.tbl_types.add(_elem1059); } iprot.readListEnd(); } @@ -67758,9 +67886,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 _iter1053 : struct.tbl_types) + for (String _iter1061 : struct.tbl_types) { - oprot.writeString(_iter1053); + oprot.writeString(_iter1061); } oprot.writeListEnd(); } @@ -67803,9 +67931,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 _iter1054 : struct.tbl_types) + for (String _iter1062 : struct.tbl_types) { - oprot.writeString(_iter1054); + oprot.writeString(_iter1062); } } } @@ -67825,13 +67953,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = 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.tbl_types = new ArrayList(_list1063.size); + String _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1056 = iprot.readString(); - struct.tbl_types.add(_elem1056); + _elem1064 = iprot.readString(); + struct.tbl_types.add(_elem1064); } } struct.setTbl_typesIsSet(true); @@ -68237,14 +68365,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 _list1058 = iprot.readListBegin(); - struct.success = new ArrayList(_list1058.size); - TableMeta _elem1059; - for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) + org.apache.thrift.protocol.TList _list1066 = iprot.readListBegin(); + struct.success = new ArrayList(_list1066.size); + TableMeta _elem1067; + for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) { - _elem1059 = new TableMeta(); - _elem1059.read(iprot); - struct.success.add(_elem1059); + _elem1067 = new TableMeta(); + _elem1067.read(iprot); + struct.success.add(_elem1067); } iprot.readListEnd(); } @@ -68279,9 +68407,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 _iter1061 : struct.success) + for (TableMeta _iter1069 : struct.success) { - _iter1061.write(oprot); + _iter1069.write(oprot); } oprot.writeListEnd(); } @@ -68320,9 +68448,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1062 : struct.success) + for (TableMeta _iter1070 : struct.success) { - _iter1062.write(oprot); + _iter1070.write(oprot); } } } @@ -68337,14 +68465,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 _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1063.size); - TableMeta _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1071.size); + TableMeta _elem1072; + for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) { - _elem1064 = new TableMeta(); - _elem1064.read(iprot); - struct.success.add(_elem1064); + _elem1072 = new TableMeta(); + _elem1072.read(iprot); + struct.success.add(_elem1072); } } struct.setSuccessIsSet(true); @@ -69110,13 +69238,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 _list1066 = iprot.readListBegin(); - struct.success = new ArrayList(_list1066.size); - String _elem1067; - for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) + org.apache.thrift.protocol.TList _list1074 = iprot.readListBegin(); + struct.success = new ArrayList(_list1074.size); + String _elem1075; + for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) { - _elem1067 = iprot.readString(); - struct.success.add(_elem1067); + _elem1075 = iprot.readString(); + struct.success.add(_elem1075); } iprot.readListEnd(); } @@ -69151,9 +69279,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 _iter1069 : struct.success) + for (String _iter1077 : struct.success) { - oprot.writeString(_iter1069); + oprot.writeString(_iter1077); } oprot.writeListEnd(); } @@ -69192,9 +69320,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1070 : struct.success) + for (String _iter1078 : struct.success) { - oprot.writeString(_iter1070); + oprot.writeString(_iter1078); } } } @@ -69209,13 +69337,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 _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1071.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1079.size); + String _elem1080; + for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) { - _elem1072 = iprot.readString(); - struct.success.add(_elem1072); + _elem1080 = iprot.readString(); + struct.success.add(_elem1080); } } struct.setSuccessIsSet(true); @@ -70668,13 +70796,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 _list1074 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1074.size); - String _elem1075; - for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) + 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) { - _elem1075 = iprot.readString(); - struct.tbl_names.add(_elem1075); + _elem1083 = iprot.readString(); + struct.tbl_names.add(_elem1083); } iprot.readListEnd(); } @@ -70705,9 +70833,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 _iter1077 : struct.tbl_names) + for (String _iter1085 : struct.tbl_names) { - oprot.writeString(_iter1077); + oprot.writeString(_iter1085); } oprot.writeListEnd(); } @@ -70744,9 +70872,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 _iter1078 : struct.tbl_names) + for (String _iter1086 : struct.tbl_names) { - oprot.writeString(_iter1078); + oprot.writeString(_iter1086); } } } @@ -70762,13 +70890,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = 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.tbl_names = new ArrayList(_list1087.size); + String _elem1088; + for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) { - _elem1080 = iprot.readString(); - struct.tbl_names.add(_elem1080); + _elem1088 = iprot.readString(); + struct.tbl_names.add(_elem1088); } } struct.setTbl_namesIsSet(true); @@ -71093,14 +71221,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 _list1082 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1082.size); - Table _elem1083; - for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) + org.apache.thrift.protocol.TList _list1090 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1090.size); + Table _elem1091; + for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) { - _elem1083 = new Table(); - _elem1083.read(iprot); - struct.success.add(_elem1083); + _elem1091 = new Table(); + _elem1091.read(iprot); + struct.success.add(_elem1091); } iprot.readListEnd(); } @@ -71126,9 +71254,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 _iter1085 : struct.success) + for (Table _iter1093 : struct.success) { - _iter1085.write(oprot); + _iter1093.write(oprot); } oprot.writeListEnd(); } @@ -71159,9 +71287,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1086 : struct.success) + for (Table _iter1094 : struct.success) { - _iter1086.write(oprot); + _iter1094.write(oprot); } } } @@ -71173,14 +71301,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 _list1087 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1087.size); - Table _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1095.size); + Table _elem1096; + for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) { - _elem1088 = new Table(); - _elem1088.read(iprot); - struct.success.add(_elem1088); + _elem1096 = new Table(); + _elem1096.read(iprot); + struct.success.add(_elem1096); } } struct.setSuccessIsSet(true); @@ -73573,13 +73701,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 _list1090 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1090.size); - String _elem1091; - for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) + 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) { - _elem1091 = iprot.readString(); - struct.tbl_names.add(_elem1091); + _elem1099 = iprot.readString(); + struct.tbl_names.add(_elem1099); } iprot.readListEnd(); } @@ -73610,9 +73738,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 _iter1093 : struct.tbl_names) + for (String _iter1101 : struct.tbl_names) { - oprot.writeString(_iter1093); + oprot.writeString(_iter1101); } oprot.writeListEnd(); } @@ -73649,9 +73777,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1094 : struct.tbl_names) + for (String _iter1102 : struct.tbl_names) { - oprot.writeString(_iter1094); + oprot.writeString(_iter1102); } } } @@ -73667,13 +73795,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ } if (incoming.get(1)) { { - 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) + 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) { - _elem1096 = iprot.readString(); - struct.tbl_names.add(_elem1096); + _elem1104 = iprot.readString(); + struct.tbl_names.add(_elem1104); } } struct.setTbl_namesIsSet(true); @@ -74246,16 +74374,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 _map1098 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1098.size); - String _key1099; - Materialization _val1100; - for (int _i1101 = 0; _i1101 < _map1098.size; ++_i1101) + 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) { - _key1099 = iprot.readString(); - _val1100 = new Materialization(); - _val1100.read(iprot); - struct.success.put(_key1099, _val1100); + _key1107 = iprot.readString(); + _val1108 = new Materialization(); + _val1108.read(iprot); + struct.success.put(_key1107, _val1108); } iprot.readMapEnd(); } @@ -74308,10 +74436,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 _iter1102 : struct.success.entrySet()) + for (Map.Entry _iter1110 : struct.success.entrySet()) { - oprot.writeString(_iter1102.getKey()); - _iter1102.getValue().write(oprot); + oprot.writeString(_iter1110.getKey()); + _iter1110.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -74366,10 +74494,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1103 : struct.success.entrySet()) + for (Map.Entry _iter1111 : struct.success.entrySet()) { - oprot.writeString(_iter1103.getKey()); - _iter1103.getValue().write(oprot); + oprot.writeString(_iter1111.getKey()); + _iter1111.getValue().write(oprot); } } } @@ -74390,16 +74518,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 _map1104 = 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*_map1104.size); - String _key1105; - Materialization _val1106; - for (int _i1107 = 0; _i1107 < _map1104.size; ++_i1107) + 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) { - _key1105 = iprot.readString(); - _val1106 = new Materialization(); - _val1106.read(iprot); - struct.success.put(_key1105, _val1106); + _key1113 = iprot.readString(); + _val1114 = new Materialization(); + _val1114.read(iprot); + struct.success.put(_key1113, _val1114); } } struct.setSuccessIsSet(true); @@ -76792,13 +76920,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 _list1108 = iprot.readListBegin(); - struct.success = new ArrayList(_list1108.size); - String _elem1109; - for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) + org.apache.thrift.protocol.TList _list1116 = iprot.readListBegin(); + struct.success = new ArrayList(_list1116.size); + String _elem1117; + for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) { - _elem1109 = iprot.readString(); - struct.success.add(_elem1109); + _elem1117 = iprot.readString(); + struct.success.add(_elem1117); } iprot.readListEnd(); } @@ -76851,9 +76979,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 _iter1111 : struct.success) + for (String _iter1119 : struct.success) { - oprot.writeString(_iter1111); + oprot.writeString(_iter1119); } oprot.writeListEnd(); } @@ -76908,9 +77036,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1112 : struct.success) + for (String _iter1120 : struct.success) { - oprot.writeString(_iter1112); + oprot.writeString(_iter1120); } } } @@ -76931,13 +77059,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 _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1113.size); - String _elem1114; - for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) + 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) { - _elem1114 = iprot.readString(); - struct.success.add(_elem1114); + _elem1122 = iprot.readString(); + struct.success.add(_elem1122); } } struct.setSuccessIsSet(true); @@ -82796,14 +82924,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 _list1116 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1116.size); - Partition _elem1117; - for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) + 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) { - _elem1117 = new Partition(); - _elem1117.read(iprot); - struct.new_parts.add(_elem1117); + _elem1125 = new Partition(); + _elem1125.read(iprot); + struct.new_parts.add(_elem1125); } iprot.readListEnd(); } @@ -82829,9 +82957,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 _iter1119 : struct.new_parts) + for (Partition _iter1127 : struct.new_parts) { - _iter1119.write(oprot); + _iter1127.write(oprot); } oprot.writeListEnd(); } @@ -82862,9 +82990,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 _iter1120 : struct.new_parts) + for (Partition _iter1128 : struct.new_parts) { - _iter1120.write(oprot); + _iter1128.write(oprot); } } } @@ -82876,14 +83004,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 _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1121.size); - Partition _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.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1129.size); + Partition _elem1130; + for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) { - _elem1122 = new Partition(); - _elem1122.read(iprot); - struct.new_parts.add(_elem1122); + _elem1130 = new Partition(); + _elem1130.read(iprot); + struct.new_parts.add(_elem1130); } } struct.setNew_partsIsSet(true); @@ -83884,14 +84012,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 _list1124 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1124.size); - PartitionSpec _elem1125; - for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) + 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) { - _elem1125 = new PartitionSpec(); - _elem1125.read(iprot); - struct.new_parts.add(_elem1125); + _elem1133 = new PartitionSpec(); + _elem1133.read(iprot); + struct.new_parts.add(_elem1133); } iprot.readListEnd(); } @@ -83917,9 +84045,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 _iter1127 : struct.new_parts) + for (PartitionSpec _iter1135 : struct.new_parts) { - _iter1127.write(oprot); + _iter1135.write(oprot); } oprot.writeListEnd(); } @@ -83950,9 +84078,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 _iter1128 : struct.new_parts) + for (PartitionSpec _iter1136 : struct.new_parts) { - _iter1128.write(oprot); + _iter1136.write(oprot); } } } @@ -83964,14 +84092,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 _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1129.size); - PartitionSpec _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); + PartitionSpec _elem1138; + for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) { - _elem1130 = new PartitionSpec(); - _elem1130.read(iprot); - struct.new_parts.add(_elem1130); + _elem1138 = new PartitionSpec(); + _elem1138.read(iprot); + struct.new_parts.add(_elem1138); } } struct.setNew_partsIsSet(true); @@ -85147,13 +85275,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 _list1132 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1132.size); - String _elem1133; - for (int _i1134 = 0; _i1134 < _list1132.size; ++_i1134) + 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) { - _elem1133 = iprot.readString(); - struct.part_vals.add(_elem1133); + _elem1141 = iprot.readString(); + struct.part_vals.add(_elem1141); } iprot.readListEnd(); } @@ -85189,9 +85317,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 _iter1135 : struct.part_vals) + for (String _iter1143 : struct.part_vals) { - oprot.writeString(_iter1135); + oprot.writeString(_iter1143); } oprot.writeListEnd(); } @@ -85234,9 +85362,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 _iter1136 : struct.part_vals) + for (String _iter1144 : struct.part_vals) { - oprot.writeString(_iter1136); + oprot.writeString(_iter1144); } } } @@ -85256,13 +85384,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1137 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1137.size); - String _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.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1145.size); + String _elem1146; + for (int _i1147 = 0; _i1147 < _list1145.size; ++_i1147) { - _elem1138 = iprot.readString(); - struct.part_vals.add(_elem1138); + _elem1146 = iprot.readString(); + struct.part_vals.add(_elem1146); } } struct.setPart_valsIsSet(true); @@ -87571,13 +87699,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 _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(); } @@ -87622,9 +87750,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 _iter1143 : struct.part_vals) + for (String _iter1151 : struct.part_vals) { - oprot.writeString(_iter1143); + oprot.writeString(_iter1151); } oprot.writeListEnd(); } @@ -87675,9 +87803,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 _iter1144 : struct.part_vals) + for (String _iter1152 : struct.part_vals) { - oprot.writeString(_iter1144); + oprot.writeString(_iter1152); } } } @@ -87700,13 +87828,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } 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); @@ -91576,13 +91704,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 _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(); } @@ -91626,9 +91754,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 _iter1151 : struct.part_vals) + for (String _iter1159 : struct.part_vals) { - oprot.writeString(_iter1151); + oprot.writeString(_iter1159); } oprot.writeListEnd(); } @@ -91677,9 +91805,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 _iter1152 : struct.part_vals) + for (String _iter1160 : struct.part_vals) { - oprot.writeString(_iter1152); + oprot.writeString(_iter1160); } } } @@ -91702,13 +91830,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } 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); @@ -92947,13 +93075,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 _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(); } @@ -93006,9 +93134,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 _iter1159 : struct.part_vals) + for (String _iter1167 : struct.part_vals) { - oprot.writeString(_iter1159); + oprot.writeString(_iter1167); } oprot.writeListEnd(); } @@ -93065,9 +93193,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 _iter1160 : struct.part_vals) + for (String _iter1168 : struct.part_vals) { - oprot.writeString(_iter1160); + oprot.writeString(_iter1168); } } } @@ -93093,13 +93221,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } 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); @@ -97701,13 +97829,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 _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(); } @@ -97743,9 +97871,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 _iter1167 : struct.part_vals) + for (String _iter1175 : struct.part_vals) { - oprot.writeString(_iter1167); + oprot.writeString(_iter1175); } oprot.writeListEnd(); } @@ -97788,9 +97916,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 _iter1168 : struct.part_vals) + for (String _iter1176 : struct.part_vals) { - oprot.writeString(_iter1168); + oprot.writeString(_iter1176); } } } @@ -97810,13 +97938,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } 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); @@ -99034,15 +99162,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 _map1172 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1172.size); - String _key1173; - String _val1174; - for (int _i1175 = 0; _i1175 < _map1172.size; ++_i1175) + 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) { - _key1173 = iprot.readString(); - _val1174 = iprot.readString(); - struct.partitionSpecs.put(_key1173, _val1174); + _key1181 = iprot.readString(); + _val1182 = iprot.readString(); + struct.partitionSpecs.put(_key1181, _val1182); } iprot.readMapEnd(); } @@ -99100,10 +99228,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 _iter1176 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1184 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1176.getKey()); - oprot.writeString(_iter1176.getValue()); + oprot.writeString(_iter1184.getKey()); + oprot.writeString(_iter1184.getValue()); } oprot.writeMapEnd(); } @@ -99166,10 +99294,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1177 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1185 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1177.getKey()); - oprot.writeString(_iter1177.getValue()); + oprot.writeString(_iter1185.getKey()); + oprot.writeString(_iter1185.getValue()); } } } @@ -99193,15 +99321,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 _map1178 = 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*_map1178.size); - String _key1179; - String _val1180; - for (int _i1181 = 0; _i1181 < _map1178.size; ++_i1181) + 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) { - _key1179 = iprot.readString(); - _val1180 = iprot.readString(); - struct.partitionSpecs.put(_key1179, _val1180); + _key1187 = iprot.readString(); + _val1188 = iprot.readString(); + struct.partitionSpecs.put(_key1187, _val1188); } } struct.setPartitionSpecsIsSet(true); @@ -100647,15 +100775,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 _map1182 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1182.size); - String _key1183; - String _val1184; - for (int _i1185 = 0; _i1185 < _map1182.size; ++_i1185) + 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) { - _key1183 = iprot.readString(); - _val1184 = iprot.readString(); - struct.partitionSpecs.put(_key1183, _val1184); + _key1191 = iprot.readString(); + _val1192 = iprot.readString(); + struct.partitionSpecs.put(_key1191, _val1192); } iprot.readMapEnd(); } @@ -100713,10 +100841,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 _iter1186 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1194 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1186.getKey()); - oprot.writeString(_iter1186.getValue()); + oprot.writeString(_iter1194.getKey()); + oprot.writeString(_iter1194.getValue()); } oprot.writeMapEnd(); } @@ -100779,10 +100907,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1187 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1195 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1187.getKey()); - oprot.writeString(_iter1187.getValue()); + oprot.writeString(_iter1195.getKey()); + oprot.writeString(_iter1195.getValue()); } } } @@ -100806,15 +100934,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 _map1188 = 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*_map1188.size); - String _key1189; - String _val1190; - for (int _i1191 = 0; _i1191 < _map1188.size; ++_i1191) + 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) { - _key1189 = iprot.readString(); - _val1190 = iprot.readString(); - struct.partitionSpecs.put(_key1189, _val1190); + _key1197 = iprot.readString(); + _val1198 = iprot.readString(); + struct.partitionSpecs.put(_key1197, _val1198); } } struct.setPartitionSpecsIsSet(true); @@ -101479,14 +101607,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 _list1192 = iprot.readListBegin(); - struct.success = new ArrayList(_list1192.size); - Partition _elem1193; - for (int _i1194 = 0; _i1194 < _list1192.size; ++_i1194) + org.apache.thrift.protocol.TList _list1200 = iprot.readListBegin(); + struct.success = new ArrayList(_list1200.size); + Partition _elem1201; + for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) { - _elem1193 = new Partition(); - _elem1193.read(iprot); - struct.success.add(_elem1193); + _elem1201 = new Partition(); + _elem1201.read(iprot); + struct.success.add(_elem1201); } iprot.readListEnd(); } @@ -101548,9 +101676,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 _iter1195 : struct.success) + for (Partition _iter1203 : struct.success) { - _iter1195.write(oprot); + _iter1203.write(oprot); } oprot.writeListEnd(); } @@ -101613,9 +101741,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1196 : struct.success) + for (Partition _iter1204 : struct.success) { - _iter1196.write(oprot); + _iter1204.write(oprot); } } } @@ -101639,14 +101767,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 _list1197 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1197.size); - Partition _elem1198; - for (int _i1199 = 0; _i1199 < _list1197.size; ++_i1199) + 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) { - _elem1198 = new Partition(); - _elem1198.read(iprot); - struct.success.add(_elem1198); + _elem1206 = new Partition(); + _elem1206.read(iprot); + struct.success.add(_elem1206); } } struct.setSuccessIsSet(true); @@ -102345,13 +102473,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 _list1200 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1200.size); - String _elem1201; - for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) + 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) { - _elem1201 = iprot.readString(); - struct.part_vals.add(_elem1201); + _elem1209 = iprot.readString(); + struct.part_vals.add(_elem1209); } iprot.readListEnd(); } @@ -102371,13 +102499,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 _list1203 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1203.size); - String _elem1204; - for (int _i1205 = 0; _i1205 < _list1203.size; ++_i1205) + 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) { - _elem1204 = iprot.readString(); - struct.group_names.add(_elem1204); + _elem1212 = iprot.readString(); + struct.group_names.add(_elem1212); } iprot.readListEnd(); } @@ -102413,9 +102541,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 _iter1206 : struct.part_vals) + for (String _iter1214 : struct.part_vals) { - oprot.writeString(_iter1206); + oprot.writeString(_iter1214); } oprot.writeListEnd(); } @@ -102430,9 +102558,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 _iter1207 : struct.group_names) + for (String _iter1215 : struct.group_names) { - oprot.writeString(_iter1207); + oprot.writeString(_iter1215); } oprot.writeListEnd(); } @@ -102481,9 +102609,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 _iter1208 : struct.part_vals) + for (String _iter1216 : struct.part_vals) { - oprot.writeString(_iter1208); + oprot.writeString(_iter1216); } } } @@ -102493,9 +102621,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 _iter1209 : struct.group_names) + for (String _iter1217 : struct.group_names) { - oprot.writeString(_iter1209); + oprot.writeString(_iter1217); } } } @@ -102515,13 +102643,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1210 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1210.size); - String _elem1211; - for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) + 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) { - _elem1211 = iprot.readString(); - struct.part_vals.add(_elem1211); + _elem1219 = iprot.readString(); + struct.part_vals.add(_elem1219); } } struct.setPart_valsIsSet(true); @@ -102532,13 +102660,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1213.size); - String _elem1214; - for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) + 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) { - _elem1214 = iprot.readString(); - struct.group_names.add(_elem1214); + _elem1222 = iprot.readString(); + struct.group_names.add(_elem1222); } } struct.setGroup_namesIsSet(true); @@ -105307,14 +105435,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 _list1216 = iprot.readListBegin(); - struct.success = new ArrayList(_list1216.size); - Partition _elem1217; - for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) + org.apache.thrift.protocol.TList _list1224 = iprot.readListBegin(); + struct.success = new ArrayList(_list1224.size); + Partition _elem1225; + for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) { - _elem1217 = new Partition(); - _elem1217.read(iprot); - struct.success.add(_elem1217); + _elem1225 = new Partition(); + _elem1225.read(iprot); + struct.success.add(_elem1225); } iprot.readListEnd(); } @@ -105358,9 +105486,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 _iter1219 : struct.success) + for (Partition _iter1227 : struct.success) { - _iter1219.write(oprot); + _iter1227.write(oprot); } oprot.writeListEnd(); } @@ -105407,9 +105535,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1220 : struct.success) + for (Partition _iter1228 : struct.success) { - _iter1220.write(oprot); + _iter1228.write(oprot); } } } @@ -105427,14 +105555,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 _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1221.size); - Partition _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1229.size); + Partition _elem1230; + for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) { - _elem1222 = new Partition(); - _elem1222.read(iprot); - struct.success.add(_elem1222); + _elem1230 = new Partition(); + _elem1230.read(iprot); + struct.success.add(_elem1230); } } struct.setSuccessIsSet(true); @@ -106124,13 +106252,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 _list1224 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1224.size); - String _elem1225; - for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) + 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) { - _elem1225 = iprot.readString(); - struct.group_names.add(_elem1225); + _elem1233 = iprot.readString(); + struct.group_names.add(_elem1233); } iprot.readListEnd(); } @@ -106174,9 +106302,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 _iter1227 : struct.group_names) + for (String _iter1235 : struct.group_names) { - oprot.writeString(_iter1227); + oprot.writeString(_iter1235); } oprot.writeListEnd(); } @@ -106231,9 +106359,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 _iter1228 : struct.group_names) + for (String _iter1236 : struct.group_names) { - oprot.writeString(_iter1228); + oprot.writeString(_iter1236); } } } @@ -106261,13 +106389,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - 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) + 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) { - _elem1230 = iprot.readString(); - struct.group_names.add(_elem1230); + _elem1238 = iprot.readString(); + struct.group_names.add(_elem1238); } } struct.setGroup_namesIsSet(true); @@ -106754,14 +106882,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 _list1232 = iprot.readListBegin(); - struct.success = new ArrayList(_list1232.size); - Partition _elem1233; - for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) + org.apache.thrift.protocol.TList _list1240 = iprot.readListBegin(); + struct.success = new ArrayList(_list1240.size); + Partition _elem1241; + for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) { - _elem1233 = new Partition(); - _elem1233.read(iprot); - struct.success.add(_elem1233); + _elem1241 = new Partition(); + _elem1241.read(iprot); + struct.success.add(_elem1241); } iprot.readListEnd(); } @@ -106805,9 +106933,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 _iter1235 : struct.success) + for (Partition _iter1243 : struct.success) { - _iter1235.write(oprot); + _iter1243.write(oprot); } oprot.writeListEnd(); } @@ -106854,9 +106982,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1236 : struct.success) + for (Partition _iter1244 : struct.success) { - _iter1236.write(oprot); + _iter1244.write(oprot); } } } @@ -106874,14 +107002,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 _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) + 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) { - _elem1238 = new Partition(); - _elem1238.read(iprot); - struct.success.add(_elem1238); + _elem1246 = new Partition(); + _elem1246.read(iprot); + struct.success.add(_elem1246); } } struct.setSuccessIsSet(true); @@ -107944,14 +108072,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 _list1240 = iprot.readListBegin(); - struct.success = new ArrayList(_list1240.size); - PartitionSpec _elem1241; - for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) + org.apache.thrift.protocol.TList _list1248 = iprot.readListBegin(); + struct.success = new ArrayList(_list1248.size); + PartitionSpec _elem1249; + for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) { - _elem1241 = new PartitionSpec(); - _elem1241.read(iprot); - struct.success.add(_elem1241); + _elem1249 = new PartitionSpec(); + _elem1249.read(iprot); + struct.success.add(_elem1249); } iprot.readListEnd(); } @@ -107995,9 +108123,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 _iter1243 : struct.success) + for (PartitionSpec _iter1251 : struct.success) { - _iter1243.write(oprot); + _iter1251.write(oprot); } oprot.writeListEnd(); } @@ -108044,9 +108172,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1244 : struct.success) + for (PartitionSpec _iter1252 : struct.success) { - _iter1244.write(oprot); + _iter1252.write(oprot); } } } @@ -108064,14 +108192,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 _list1245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1245.size); - PartitionSpec _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); + PartitionSpec _elem1254; + for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) { - _elem1246 = new PartitionSpec(); - _elem1246.read(iprot); - struct.success.add(_elem1246); + _elem1254 = new PartitionSpec(); + _elem1254.read(iprot); + struct.success.add(_elem1254); } } struct.setSuccessIsSet(true); @@ -109131,13 +109259,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 _list1248 = iprot.readListBegin(); - struct.success = new ArrayList(_list1248.size); - String _elem1249; - for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) + org.apache.thrift.protocol.TList _list1256 = iprot.readListBegin(); + struct.success = new ArrayList(_list1256.size); + String _elem1257; + for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) { - _elem1249 = iprot.readString(); - struct.success.add(_elem1249); + _elem1257 = iprot.readString(); + struct.success.add(_elem1257); } iprot.readListEnd(); } @@ -109181,9 +109309,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 _iter1251 : struct.success) + for (String _iter1259 : struct.success) { - oprot.writeString(_iter1251); + oprot.writeString(_iter1259); } oprot.writeListEnd(); } @@ -109230,9 +109358,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1252 : struct.success) + for (String _iter1260 : struct.success) { - oprot.writeString(_iter1252); + oprot.writeString(_iter1260); } } } @@ -109250,13 +109378,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 _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1253.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1261.size); + String _elem1262; + for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) { - _elem1254 = iprot.readString(); - struct.success.add(_elem1254); + _elem1262 = iprot.readString(); + struct.success.add(_elem1262); } } struct.setSuccessIsSet(true); @@ -110787,13 +110915,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 _list1256 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1256.size); - String _elem1257; - for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) + 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) { - _elem1257 = iprot.readString(); - struct.part_vals.add(_elem1257); + _elem1265 = iprot.readString(); + struct.part_vals.add(_elem1265); } iprot.readListEnd(); } @@ -110837,9 +110965,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 _iter1259 : struct.part_vals) + for (String _iter1267 : struct.part_vals) { - oprot.writeString(_iter1259); + oprot.writeString(_iter1267); } oprot.writeListEnd(); } @@ -110888,9 +111016,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 _iter1260 : struct.part_vals) + for (String _iter1268 : struct.part_vals) { - oprot.writeString(_iter1260); + oprot.writeString(_iter1268); } } } @@ -110913,13 +111041,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = 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.part_vals = new ArrayList(_list1269.size); + String _elem1270; + for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) { - _elem1262 = iprot.readString(); - struct.part_vals.add(_elem1262); + _elem1270 = iprot.readString(); + struct.part_vals.add(_elem1270); } } struct.setPart_valsIsSet(true); @@ -111410,14 +111538,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 _list1264 = iprot.readListBegin(); - struct.success = new ArrayList(_list1264.size); - Partition _elem1265; - for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) + org.apache.thrift.protocol.TList _list1272 = iprot.readListBegin(); + struct.success = new ArrayList(_list1272.size); + Partition _elem1273; + for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) { - _elem1265 = new Partition(); - _elem1265.read(iprot); - struct.success.add(_elem1265); + _elem1273 = new Partition(); + _elem1273.read(iprot); + struct.success.add(_elem1273); } iprot.readListEnd(); } @@ -111461,9 +111589,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 _iter1267 : struct.success) + for (Partition _iter1275 : struct.success) { - _iter1267.write(oprot); + _iter1275.write(oprot); } oprot.writeListEnd(); } @@ -111510,9 +111638,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1268 : struct.success) + for (Partition _iter1276 : struct.success) { - _iter1268.write(oprot); + _iter1276.write(oprot); } } } @@ -111530,14 +111658,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 _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1269.size); - Partition _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1277.size); + Partition _elem1278; + for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) { - _elem1270 = new Partition(); - _elem1270.read(iprot); - struct.success.add(_elem1270); + _elem1278 = new Partition(); + _elem1278.read(iprot); + struct.success.add(_elem1278); } } struct.setSuccessIsSet(true); @@ -112309,13 +112437,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 _list1272 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1272.size); - String _elem1273; - for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) + 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) { - _elem1273 = iprot.readString(); - struct.part_vals.add(_elem1273); + _elem1281 = iprot.readString(); + struct.part_vals.add(_elem1281); } iprot.readListEnd(); } @@ -112343,13 +112471,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 _list1275 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1275.size); - String _elem1276; - for (int _i1277 = 0; _i1277 < _list1275.size; ++_i1277) + 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) { - _elem1276 = iprot.readString(); - struct.group_names.add(_elem1276); + _elem1284 = iprot.readString(); + struct.group_names.add(_elem1284); } iprot.readListEnd(); } @@ -112385,9 +112513,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 _iter1278 : struct.part_vals) + for (String _iter1286 : struct.part_vals) { - oprot.writeString(_iter1278); + oprot.writeString(_iter1286); } oprot.writeListEnd(); } @@ -112405,9 +112533,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 _iter1279 : struct.group_names) + for (String _iter1287 : struct.group_names) { - oprot.writeString(_iter1279); + oprot.writeString(_iter1287); } oprot.writeListEnd(); } @@ -112459,9 +112587,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 _iter1280 : struct.part_vals) + for (String _iter1288 : struct.part_vals) { - oprot.writeString(_iter1280); + oprot.writeString(_iter1288); } } } @@ -112474,9 +112602,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 _iter1281 : struct.group_names) + for (String _iter1289 : struct.group_names) { - oprot.writeString(_iter1281); + oprot.writeString(_iter1289); } } } @@ -112496,13 +112624,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1282 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1282.size); - String _elem1283; - for (int _i1284 = 0; _i1284 < _list1282.size; ++_i1284) + 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) { - _elem1283 = iprot.readString(); - struct.part_vals.add(_elem1283); + _elem1291 = iprot.readString(); + struct.part_vals.add(_elem1291); } } struct.setPart_valsIsSet(true); @@ -112517,13 +112645,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1285.size); - String _elem1286; - for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) + 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) { - _elem1286 = iprot.readString(); - struct.group_names.add(_elem1286); + _elem1294 = iprot.readString(); + struct.group_names.add(_elem1294); } } struct.setGroup_namesIsSet(true); @@ -113010,14 +113138,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 _list1288 = iprot.readListBegin(); - struct.success = new ArrayList(_list1288.size); - Partition _elem1289; - for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) + org.apache.thrift.protocol.TList _list1296 = iprot.readListBegin(); + struct.success = new ArrayList(_list1296.size); + Partition _elem1297; + for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) { - _elem1289 = new Partition(); - _elem1289.read(iprot); - struct.success.add(_elem1289); + _elem1297 = new Partition(); + _elem1297.read(iprot); + struct.success.add(_elem1297); } iprot.readListEnd(); } @@ -113061,9 +113189,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 _iter1291 : struct.success) + for (Partition _iter1299 : struct.success) { - _iter1291.write(oprot); + _iter1299.write(oprot); } oprot.writeListEnd(); } @@ -113110,9 +113238,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1292 : struct.success) + for (Partition _iter1300 : struct.success) { - _iter1292.write(oprot); + _iter1300.write(oprot); } } } @@ -113130,14 +113258,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 _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1293.size); - Partition _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1301.size); + Partition _elem1302; + for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) { - _elem1294 = new Partition(); - _elem1294.read(iprot); - struct.success.add(_elem1294); + _elem1302 = new Partition(); + _elem1302.read(iprot); + struct.success.add(_elem1302); } } struct.setSuccessIsSet(true); @@ -113730,13 +113858,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 _list1296 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1296.size); - String _elem1297; - for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) + 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) { - _elem1297 = iprot.readString(); - struct.part_vals.add(_elem1297); + _elem1305 = iprot.readString(); + struct.part_vals.add(_elem1305); } iprot.readListEnd(); } @@ -113780,9 +113908,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 _iter1299 : struct.part_vals) + for (String _iter1307 : struct.part_vals) { - oprot.writeString(_iter1299); + oprot.writeString(_iter1307); } oprot.writeListEnd(); } @@ -113831,9 +113959,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 _iter1300 : struct.part_vals) + for (String _iter1308 : struct.part_vals) { - oprot.writeString(_iter1300); + oprot.writeString(_iter1308); } } } @@ -113856,13 +113984,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1301.size); - String _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.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1309.size); + String _elem1310; + for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) { - _elem1302 = iprot.readString(); - struct.part_vals.add(_elem1302); + _elem1310 = iprot.readString(); + struct.part_vals.add(_elem1310); } } struct.setPart_valsIsSet(true); @@ -114350,13 +114478,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 _list1304 = iprot.readListBegin(); - struct.success = new ArrayList(_list1304.size); - String _elem1305; - for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) + org.apache.thrift.protocol.TList _list1312 = iprot.readListBegin(); + struct.success = new ArrayList(_list1312.size); + String _elem1313; + for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) { - _elem1305 = iprot.readString(); - struct.success.add(_elem1305); + _elem1313 = iprot.readString(); + struct.success.add(_elem1313); } iprot.readListEnd(); } @@ -114400,9 +114528,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 _iter1307 : struct.success) + for (String _iter1315 : struct.success) { - oprot.writeString(_iter1307); + oprot.writeString(_iter1315); } oprot.writeListEnd(); } @@ -114449,9 +114577,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1308 : struct.success) + for (String _iter1316 : struct.success) { - oprot.writeString(_iter1308); + oprot.writeString(_iter1316); } } } @@ -114469,13 +114597,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 _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1317.size); + String _elem1318; + for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) { - _elem1310 = iprot.readString(); - struct.success.add(_elem1310); + _elem1318 = iprot.readString(); + struct.success.add(_elem1318); } } struct.setSuccessIsSet(true); @@ -115642,14 +115770,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 _list1312 = iprot.readListBegin(); - struct.success = new ArrayList(_list1312.size); - Partition _elem1313; - for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) + org.apache.thrift.protocol.TList _list1320 = iprot.readListBegin(); + struct.success = new ArrayList(_list1320.size); + Partition _elem1321; + for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) { - _elem1313 = new Partition(); - _elem1313.read(iprot); - struct.success.add(_elem1313); + _elem1321 = new Partition(); + _elem1321.read(iprot); + struct.success.add(_elem1321); } iprot.readListEnd(); } @@ -115693,9 +115821,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 _iter1315 : struct.success) + for (Partition _iter1323 : struct.success) { - _iter1315.write(oprot); + _iter1323.write(oprot); } oprot.writeListEnd(); } @@ -115742,9 +115870,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1316 : struct.success) + for (Partition _iter1324 : struct.success) { - _iter1316.write(oprot); + _iter1324.write(oprot); } } } @@ -115762,14 +115890,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 _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1317.size); - Partition _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1325.size); + Partition _elem1326; + for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) { - _elem1318 = new Partition(); - _elem1318.read(iprot); - struct.success.add(_elem1318); + _elem1326 = new Partition(); + _elem1326.read(iprot); + struct.success.add(_elem1326); } } struct.setSuccessIsSet(true); @@ -116936,14 +117064,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 _list1320 = iprot.readListBegin(); - struct.success = new ArrayList(_list1320.size); - PartitionSpec _elem1321; - for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) + org.apache.thrift.protocol.TList _list1328 = iprot.readListBegin(); + struct.success = new ArrayList(_list1328.size); + PartitionSpec _elem1329; + for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) { - _elem1321 = new PartitionSpec(); - _elem1321.read(iprot); - struct.success.add(_elem1321); + _elem1329 = new PartitionSpec(); + _elem1329.read(iprot); + struct.success.add(_elem1329); } iprot.readListEnd(); } @@ -116987,9 +117115,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 _iter1323 : struct.success) + for (PartitionSpec _iter1331 : struct.success) { - _iter1323.write(oprot); + _iter1331.write(oprot); } oprot.writeListEnd(); } @@ -117036,9 +117164,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 _iter1324 : struct.success) + for (PartitionSpec _iter1332 : struct.success) { - _iter1324.write(oprot); + _iter1332.write(oprot); } } } @@ -117056,14 +117184,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 _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1325.size); - PartitionSpec _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); + PartitionSpec _elem1334; + for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) { - _elem1326 = new PartitionSpec(); - _elem1326.read(iprot); - struct.success.add(_elem1326); + _elem1334 = new PartitionSpec(); + _elem1334.read(iprot); + struct.success.add(_elem1334); } } struct.setSuccessIsSet(true); @@ -119647,13 +119775,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 _list1328 = iprot.readListBegin(); - struct.names = new ArrayList(_list1328.size); - String _elem1329; - for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) + org.apache.thrift.protocol.TList _list1336 = iprot.readListBegin(); + struct.names = new ArrayList(_list1336.size); + String _elem1337; + for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) { - _elem1329 = iprot.readString(); - struct.names.add(_elem1329); + _elem1337 = iprot.readString(); + struct.names.add(_elem1337); } iprot.readListEnd(); } @@ -119689,9 +119817,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 _iter1331 : struct.names) + for (String _iter1339 : struct.names) { - oprot.writeString(_iter1331); + oprot.writeString(_iter1339); } oprot.writeListEnd(); } @@ -119734,9 +119862,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1332 : struct.names) + for (String _iter1340 : struct.names) { - oprot.writeString(_iter1332); + oprot.writeString(_iter1340); } } } @@ -119756,13 +119884,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1333.size); - String _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.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1341.size); + String _elem1342; + for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) { - _elem1334 = iprot.readString(); - struct.names.add(_elem1334); + _elem1342 = iprot.readString(); + struct.names.add(_elem1342); } } struct.setNamesIsSet(true); @@ -120249,14 +120377,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 _list1336 = iprot.readListBegin(); - struct.success = new ArrayList(_list1336.size); - Partition _elem1337; - for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) + org.apache.thrift.protocol.TList _list1344 = iprot.readListBegin(); + struct.success = new ArrayList(_list1344.size); + Partition _elem1345; + for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) { - _elem1337 = new Partition(); - _elem1337.read(iprot); - struct.success.add(_elem1337); + _elem1345 = new Partition(); + _elem1345.read(iprot); + struct.success.add(_elem1345); } iprot.readListEnd(); } @@ -120300,9 +120428,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 _iter1339 : struct.success) + for (Partition _iter1347 : struct.success) { - _iter1339.write(oprot); + _iter1347.write(oprot); } oprot.writeListEnd(); } @@ -120349,9 +120477,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1340 : struct.success) + for (Partition _iter1348 : struct.success) { - _iter1340.write(oprot); + _iter1348.write(oprot); } } } @@ -120369,14 +120497,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 _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1341.size); - Partition _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1349.size); + Partition _elem1350; + for (int _i1351 = 0; _i1351 < _list1349.size; ++_i1351) { - _elem1342 = new Partition(); - _elem1342.read(iprot); - struct.success.add(_elem1342); + _elem1350 = new Partition(); + _elem1350.read(iprot); + struct.success.add(_elem1350); } } struct.setSuccessIsSet(true); @@ -121926,14 +122054,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 _list1344 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1344.size); - Partition _elem1345; - for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) + 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) { - _elem1345 = new Partition(); - _elem1345.read(iprot); - struct.new_parts.add(_elem1345); + _elem1353 = new Partition(); + _elem1353.read(iprot); + struct.new_parts.add(_elem1353); } iprot.readListEnd(); } @@ -121969,9 +122097,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 _iter1347 : struct.new_parts) + for (Partition _iter1355 : struct.new_parts) { - _iter1347.write(oprot); + _iter1355.write(oprot); } oprot.writeListEnd(); } @@ -122014,9 +122142,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 _iter1348 : struct.new_parts) + for (Partition _iter1356 : struct.new_parts) { - _iter1348.write(oprot); + _iter1356.write(oprot); } } } @@ -122036,14 +122164,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = 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.new_parts = new ArrayList(_list1357.size); + Partition _elem1358; + for (int _i1359 = 0; _i1359 < _list1357.size; ++_i1359) { - _elem1350 = new Partition(); - _elem1350.read(iprot); - struct.new_parts.add(_elem1350); + _elem1358 = new Partition(); + _elem1358.read(iprot); + struct.new_parts.add(_elem1358); } } struct.setNew_partsIsSet(true); @@ -123096,14 +123224,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 _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(); } @@ -123148,9 +123276,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 _iter1355 : struct.new_parts) + for (Partition _iter1363 : struct.new_parts) { - _iter1355.write(oprot); + _iter1363.write(oprot); } oprot.writeListEnd(); } @@ -123201,9 +123329,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 _iter1356 : struct.new_parts) + for (Partition _iter1364 : struct.new_parts) { - _iter1356.write(oprot); + _iter1364.write(oprot); } } } @@ -123226,14 +123354,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } 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); @@ -125434,13 +125562,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 _list1360 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1360.size); - String _elem1361; - for (int _i1362 = 0; _i1362 < _list1360.size; ++_i1362) + 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) { - _elem1361 = iprot.readString(); - struct.part_vals.add(_elem1361); + _elem1369 = iprot.readString(); + struct.part_vals.add(_elem1369); } iprot.readListEnd(); } @@ -125485,9 +125613,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 _iter1363 : struct.part_vals) + for (String _iter1371 : struct.part_vals) { - oprot.writeString(_iter1363); + oprot.writeString(_iter1371); } oprot.writeListEnd(); } @@ -125538,9 +125666,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 _iter1364 : struct.part_vals) + for (String _iter1372 : struct.part_vals) { - oprot.writeString(_iter1364); + oprot.writeString(_iter1372); } } } @@ -125563,13 +125691,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1365.size); - String _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.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1373.size); + String _elem1374; + for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) { - _elem1366 = iprot.readString(); - struct.part_vals.add(_elem1366); + _elem1374 = iprot.readString(); + struct.part_vals.add(_elem1374); } } struct.setPart_valsIsSet(true); @@ -126443,13 +126571,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 _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(); } @@ -126483,9 +126611,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 _iter1371 : struct.part_vals) + for (String _iter1379 : struct.part_vals) { - oprot.writeString(_iter1371); + oprot.writeString(_iter1379); } oprot.writeListEnd(); } @@ -126522,9 +126650,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 _iter1372 : struct.part_vals) + for (String _iter1380 : struct.part_vals) { - oprot.writeString(_iter1372); + oprot.writeString(_iter1380); } } } @@ -126539,13 +126667,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 _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); @@ -128700,13 +128828,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 _list1376 = iprot.readListBegin(); - struct.success = new ArrayList(_list1376.size); - String _elem1377; - for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) + org.apache.thrift.protocol.TList _list1384 = iprot.readListBegin(); + struct.success = new ArrayList(_list1384.size); + String _elem1385; + for (int _i1386 = 0; _i1386 < _list1384.size; ++_i1386) { - _elem1377 = iprot.readString(); - struct.success.add(_elem1377); + _elem1385 = iprot.readString(); + struct.success.add(_elem1385); } iprot.readListEnd(); } @@ -128741,9 +128869,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 _iter1379 : struct.success) + for (String _iter1387 : struct.success) { - oprot.writeString(_iter1379); + oprot.writeString(_iter1387); } oprot.writeListEnd(); } @@ -128782,9 +128910,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1380 : struct.success) + for (String _iter1388 : struct.success) { - oprot.writeString(_iter1380); + oprot.writeString(_iter1388); } } } @@ -128799,13 +128927,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 _list1381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1381.size); - String _elem1382; - for (int _i1383 = 0; _i1383 < _list1381.size; ++_i1383) + 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) { - _elem1382 = iprot.readString(); - struct.success.add(_elem1382); + _elem1390 = iprot.readString(); + struct.success.add(_elem1390); } } struct.setSuccessIsSet(true); @@ -129568,15 +129696,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 _map1384 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1384.size); - String _key1385; - String _val1386; - for (int _i1387 = 0; _i1387 < _map1384.size; ++_i1387) + 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) { - _key1385 = iprot.readString(); - _val1386 = iprot.readString(); - struct.success.put(_key1385, _val1386); + _key1393 = iprot.readString(); + _val1394 = iprot.readString(); + struct.success.put(_key1393, _val1394); } iprot.readMapEnd(); } @@ -129611,10 +129739,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 _iter1388 : struct.success.entrySet()) + for (Map.Entry _iter1396 : struct.success.entrySet()) { - oprot.writeString(_iter1388.getKey()); - oprot.writeString(_iter1388.getValue()); + oprot.writeString(_iter1396.getKey()); + oprot.writeString(_iter1396.getValue()); } oprot.writeMapEnd(); } @@ -129653,10 +129781,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 _iter1389 : struct.success.entrySet()) + for (Map.Entry _iter1397 : struct.success.entrySet()) { - oprot.writeString(_iter1389.getKey()); - oprot.writeString(_iter1389.getValue()); + oprot.writeString(_iter1397.getKey()); + oprot.writeString(_iter1397.getValue()); } } } @@ -129671,15 +129799,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 _map1390 = 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*_map1390.size); - String _key1391; - String _val1392; - for (int _i1393 = 0; _i1393 < _map1390.size; ++_i1393) + 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) { - _key1391 = iprot.readString(); - _val1392 = iprot.readString(); - struct.success.put(_key1391, _val1392); + _key1399 = iprot.readString(); + _val1400 = iprot.readString(); + struct.success.put(_key1399, _val1400); } } struct.setSuccessIsSet(true); @@ -130274,15 +130402,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 _map1394 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1394.size); - String _key1395; - String _val1396; - for (int _i1397 = 0; _i1397 < _map1394.size; ++_i1397) + 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) { - _key1395 = iprot.readString(); - _val1396 = iprot.readString(); - struct.part_vals.put(_key1395, _val1396); + _key1403 = iprot.readString(); + _val1404 = iprot.readString(); + struct.part_vals.put(_key1403, _val1404); } iprot.readMapEnd(); } @@ -130326,10 +130454,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 _iter1398 : struct.part_vals.entrySet()) + for (Map.Entry _iter1406 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1398.getKey()); - oprot.writeString(_iter1398.getValue()); + oprot.writeString(_iter1406.getKey()); + oprot.writeString(_iter1406.getValue()); } oprot.writeMapEnd(); } @@ -130380,10 +130508,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1399 : struct.part_vals.entrySet()) + for (Map.Entry _iter1407 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1399.getKey()); - oprot.writeString(_iter1399.getValue()); + oprot.writeString(_iter1407.getKey()); + oprot.writeString(_iter1407.getValue()); } } } @@ -130406,15 +130534,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1400 = 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*_map1400.size); - String _key1401; - String _val1402; - for (int _i1403 = 0; _i1403 < _map1400.size; ++_i1403) + 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) { - _key1401 = iprot.readString(); - _val1402 = iprot.readString(); - struct.part_vals.put(_key1401, _val1402); + _key1409 = iprot.readString(); + _val1410 = iprot.readString(); + struct.part_vals.put(_key1409, _val1410); } } struct.setPart_valsIsSet(true); @@ -131898,15 +132026,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 _map1404 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1404.size); - String _key1405; - String _val1406; - for (int _i1407 = 0; _i1407 < _map1404.size; ++_i1407) + 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) { - _key1405 = iprot.readString(); - _val1406 = iprot.readString(); - struct.part_vals.put(_key1405, _val1406); + _key1413 = iprot.readString(); + _val1414 = iprot.readString(); + struct.part_vals.put(_key1413, _val1414); } iprot.readMapEnd(); } @@ -131950,10 +132078,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 _iter1408 : struct.part_vals.entrySet()) + for (Map.Entry _iter1416 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1408.getKey()); - oprot.writeString(_iter1408.getValue()); + oprot.writeString(_iter1416.getKey()); + oprot.writeString(_iter1416.getValue()); } oprot.writeMapEnd(); } @@ -132004,10 +132132,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1409 : struct.part_vals.entrySet()) + for (Map.Entry _iter1417 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1409.getKey()); - oprot.writeString(_iter1409.getValue()); + oprot.writeString(_iter1417.getKey()); + oprot.writeString(_iter1417.getValue()); } } } @@ -132030,15 +132158,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1410 = 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*_map1410.size); - String _key1411; - String _val1412; - for (int _i1413 = 0; _i1413 < _map1410.size; ++_i1413) + 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) { - _key1411 = iprot.readString(); - _val1412 = iprot.readString(); - struct.part_vals.put(_key1411, _val1412); + _key1419 = iprot.readString(); + _val1420 = iprot.readString(); + struct.part_vals.put(_key1419, _val1420); } } struct.setPart_valsIsSet(true); @@ -154394,13 +154522,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 _list1414 = iprot.readListBegin(); - struct.success = new ArrayList(_list1414.size); - String _elem1415; - for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) + org.apache.thrift.protocol.TList _list1422 = iprot.readListBegin(); + struct.success = new ArrayList(_list1422.size); + String _elem1423; + for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) { - _elem1415 = iprot.readString(); - struct.success.add(_elem1415); + _elem1423 = iprot.readString(); + struct.success.add(_elem1423); } iprot.readListEnd(); } @@ -154435,9 +154563,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 _iter1417 : struct.success) + for (String _iter1425 : struct.success) { - oprot.writeString(_iter1417); + oprot.writeString(_iter1425); } oprot.writeListEnd(); } @@ -154476,9 +154604,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1418 : struct.success) + for (String _iter1426 : struct.success) { - oprot.writeString(_iter1418); + oprot.writeString(_iter1426); } } } @@ -154493,13 +154621,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 _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1419.size); - String _elem1420; - for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) + org.apache.thrift.protocol.TList _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1427.size); + String _elem1428; + for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) { - _elem1420 = iprot.readString(); - struct.success.add(_elem1420); + _elem1428 = iprot.readString(); + struct.success.add(_elem1428); } } struct.setSuccessIsSet(true); @@ -158554,13 +158682,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 _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(); } @@ -158595,9 +158723,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 _iter1425 : struct.success) + for (String _iter1433 : struct.success) { - oprot.writeString(_iter1425); + oprot.writeString(_iter1433); } oprot.writeListEnd(); } @@ -158636,9 +158764,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1426 : struct.success) + for (String _iter1434 : struct.success) { - oprot.writeString(_iter1426); + oprot.writeString(_iter1434); } } } @@ -158653,13 +158781,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 _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); @@ -161950,14 +162078,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 _list1430 = iprot.readListBegin(); - struct.success = new ArrayList(_list1430.size); - Role _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); + struct.success = new ArrayList(_list1438.size); + Role _elem1439; + for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) { - _elem1431 = new Role(); - _elem1431.read(iprot); - struct.success.add(_elem1431); + _elem1439 = new Role(); + _elem1439.read(iprot); + struct.success.add(_elem1439); } iprot.readListEnd(); } @@ -161992,9 +162120,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 _iter1433 : struct.success) + for (Role _iter1441 : struct.success) { - _iter1433.write(oprot); + _iter1441.write(oprot); } oprot.writeListEnd(); } @@ -162033,9 +162161,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1434 : struct.success) + for (Role _iter1442 : struct.success) { - _iter1434.write(oprot); + _iter1442.write(oprot); } } } @@ -162050,14 +162178,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 _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1435.size); - Role _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1443.size); + Role _elem1444; + for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) { - _elem1436 = new Role(); - _elem1436.read(iprot); - struct.success.add(_elem1436); + _elem1444 = new Role(); + _elem1444.read(iprot); + struct.success.add(_elem1444); } } struct.setSuccessIsSet(true); @@ -165062,13 +165190,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 _list1438 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1438.size); - String _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + 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) { - _elem1439 = iprot.readString(); - struct.group_names.add(_elem1439); + _elem1447 = iprot.readString(); + struct.group_names.add(_elem1447); } iprot.readListEnd(); } @@ -165104,9 +165232,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 _iter1441 : struct.group_names) + for (String _iter1449 : struct.group_names) { - oprot.writeString(_iter1441); + oprot.writeString(_iter1449); } oprot.writeListEnd(); } @@ -165149,9 +165277,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 _iter1442 : struct.group_names) + for (String _iter1450 : struct.group_names) { - oprot.writeString(_iter1442); + oprot.writeString(_iter1450); } } } @@ -165172,13 +165300,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1443.size); - String _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1451.size); + String _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) { - _elem1444 = iprot.readString(); - struct.group_names.add(_elem1444); + _elem1452 = iprot.readString(); + struct.group_names.add(_elem1452); } } struct.setGroup_namesIsSet(true); @@ -166636,14 +166764,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 _list1446 = iprot.readListBegin(); - struct.success = new ArrayList(_list1446.size); - HiveObjectPrivilege _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); + struct.success = new ArrayList(_list1454.size); + HiveObjectPrivilege _elem1455; + for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) { - _elem1447 = new HiveObjectPrivilege(); - _elem1447.read(iprot); - struct.success.add(_elem1447); + _elem1455 = new HiveObjectPrivilege(); + _elem1455.read(iprot); + struct.success.add(_elem1455); } iprot.readListEnd(); } @@ -166678,9 +166806,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 _iter1449 : struct.success) + for (HiveObjectPrivilege _iter1457 : struct.success) { - _iter1449.write(oprot); + _iter1457.write(oprot); } oprot.writeListEnd(); } @@ -166719,9 +166847,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1450 : struct.success) + for (HiveObjectPrivilege _iter1458 : struct.success) { - _iter1450.write(oprot); + _iter1458.write(oprot); } } } @@ -166736,14 +166864,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 _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1451.size); - HiveObjectPrivilege _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1459.size); + HiveObjectPrivilege _elem1460; + for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) { - _elem1452 = new HiveObjectPrivilege(); - _elem1452.read(iprot); - struct.success.add(_elem1452); + _elem1460 = new HiveObjectPrivilege(); + _elem1460.read(iprot); + struct.success.add(_elem1460); } } struct.setSuccessIsSet(true); @@ -169645,13 +169773,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 _list1454 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1454.size); - String _elem1455; - for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) + 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) { - _elem1455 = iprot.readString(); - struct.group_names.add(_elem1455); + _elem1463 = iprot.readString(); + struct.group_names.add(_elem1463); } iprot.readListEnd(); } @@ -169682,9 +169810,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 _iter1457 : struct.group_names) + for (String _iter1465 : struct.group_names) { - oprot.writeString(_iter1457); + oprot.writeString(_iter1465); } oprot.writeListEnd(); } @@ -169721,9 +169849,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 _iter1458 : struct.group_names) + for (String _iter1466 : struct.group_names) { - oprot.writeString(_iter1458); + oprot.writeString(_iter1466); } } } @@ -169739,13 +169867,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - 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) + 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) { - _elem1460 = iprot.readString(); - struct.group_names.add(_elem1460); + _elem1468 = iprot.readString(); + struct.group_names.add(_elem1468); } } struct.setGroup_namesIsSet(true); @@ -170148,13 +170276,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 _list1462 = iprot.readListBegin(); - struct.success = new ArrayList(_list1462.size); - String _elem1463; - for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) + org.apache.thrift.protocol.TList _list1470 = iprot.readListBegin(); + struct.success = new ArrayList(_list1470.size); + String _elem1471; + for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) { - _elem1463 = iprot.readString(); - struct.success.add(_elem1463); + _elem1471 = iprot.readString(); + struct.success.add(_elem1471); } iprot.readListEnd(); } @@ -170189,9 +170317,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 _iter1465 : struct.success) + for (String _iter1473 : struct.success) { - oprot.writeString(_iter1465); + oprot.writeString(_iter1473); } oprot.writeListEnd(); } @@ -170230,9 +170358,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1466 : struct.success) + for (String _iter1474 : struct.success) { - oprot.writeString(_iter1466); + oprot.writeString(_iter1474); } } } @@ -170247,13 +170375,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 _list1467 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1475.size); + String _elem1476; + for (int _i1477 = 0; _i1477 < _list1475.size; ++_i1477) { - _elem1468 = iprot.readString(); - struct.success.add(_elem1468); + _elem1476 = iprot.readString(); + struct.success.add(_elem1476); } } struct.setSuccessIsSet(true); @@ -175544,13 +175672,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 _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(); } @@ -175576,9 +175704,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 _iter1473 : struct.success) + for (String _iter1481 : struct.success) { - oprot.writeString(_iter1473); + oprot.writeString(_iter1481); } oprot.writeListEnd(); } @@ -175609,9 +175737,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1474 : struct.success) + for (String _iter1482 : struct.success) { - oprot.writeString(_iter1474); + oprot.writeString(_iter1482); } } } @@ -175623,13 +175751,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 _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); @@ -177457,88 +177585,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(); } @@ -177550,8 +178337,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case KEY_SEQ: - return isSetKey_seq(); } throw new IllegalStateException(); } @@ -177560,24 +178345,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; } @@ -177585,32 +178361,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; } @@ -177628,12 +178389,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(); } @@ -177653,23 +178411,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) @@ -177679,14 +178435,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); } @@ -177696,65 +178444,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 { @@ -177815,66 +178547,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) { @@ -177883,7 +178630,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((Boolean)value); + setSuccess((List)value); } break; @@ -177893,7 +178640,7 @@ public void setFieldValue(_Fields field, Object value) { public Object getFieldValue(_Fields field) { switch (field) { case SUCCESS: - return isSuccess(); + return getSuccess(); } throw new IllegalStateException(); @@ -177916,21 +178663,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; } @@ -177941,7 +178688,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); @@ -177950,7 +178697,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()); } @@ -177984,11 +178731,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(); @@ -178009,23 +178760,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) @@ -178036,8 +178785,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 _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(); + } struct.setSuccessIsSet(true); } else { org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); @@ -178052,13 +178811,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 _iter1489 : struct.success) + { + oprot.writeString(_iter1489); + } + oprot.writeListEnd(); + } oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -178067,16 +178833,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()) { @@ -178084,16 +178850,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 _iter1490 : struct.success) + { + oprot.writeString(_iter1490); + } + } } } @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 _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.setSuccessIsSet(true); } } @@ -178101,14 +178882,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()); } @@ -178171,20 +178952,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 @@ -178217,12 +178998,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; @@ -178237,7 +179018,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()); } @@ -178261,7 +179042,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(")"); @@ -178289,15 +179070,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) @@ -178316,7 +179097,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); @@ -178326,39 +179107,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 { @@ -178423,17 +179204,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; @@ -178442,15 +179222,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 @@ -178458,26 +179237,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; } @@ -178502,7 +179266,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((List)value); + setSuccess((GetOpenTxnsResponse)value); } break; @@ -178535,12 +179299,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; @@ -178569,7 +179333,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()); } @@ -178603,7 +179367,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:"); @@ -178620,6 +179384,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 { @@ -178638,15 +179405,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) @@ -178657,18 +179424,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 _list1478 = iprot.readListBegin(); - struct.success = new ArrayList(_list1478.size); - String _elem1479; - for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) - { - _elem1479 = iprot.readString(); - struct.success.add(_elem1479); - } - 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); @@ -178683,20 +179441,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 _iter1481 : struct.success) - { - oprot.writeString(_iter1481); - } - oprot.writeListEnd(); - } + struct.success.write(oprot); oprot.writeFieldEnd(); } oprot.writeFieldStop(); @@ -178705,16 +179456,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()) { @@ -178722,31 +179473,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 _iter1482 : struct.success) - { - oprot.writeString(_iter1482); - } - } + 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 _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) - { - _elem1484 = iprot.readString(); - struct.success.add(_elem1484); - } - } + struct.success = new GetOpenTxnsResponse(); + struct.success.read(iprot); struct.setSuccessIsSet(true); } } @@ -178754,14 +179491,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()); } @@ -178824,20 +179561,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 @@ -178870,12 +179607,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; @@ -178890,7 +179627,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()); } @@ -178914,7 +179651,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(")"); @@ -178942,15 +179679,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) @@ -178969,7 +179706,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); @@ -178979,39 +179716,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 { @@ -179076,16 +179813,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; @@ -179094,14 +179831,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 @@ -179109,11 +179846,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; } @@ -179138,7 +179875,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsResponse)value); + setSuccess((GetOpenTxnsInfoResponse)value); } break; @@ -179171,12 +179908,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; @@ -179205,7 +179942,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()); } @@ -179239,7 +179976,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:"); @@ -179277,15 +180014,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) @@ -179297,7 +180034,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 { @@ -179313,7 +180050,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); @@ -179328,16 +180065,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()) { @@ -179350,11 +180087,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); } @@ -179363,20 +180100,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(); @@ -179391,6 +180130,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; } @@ -179429,37 +180170,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(); } @@ -179471,6 +180261,8 @@ public boolean isSet(_Fields field) { } switch (field) { + case RQST: + return isSetRqst(); } throw new IllegalStateException(); } @@ -179479,15 +180271,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; } @@ -179495,17 +180296,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; } @@ -179523,9 +180339,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(); } @@ -179533,6 +180356,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 { @@ -179551,15 +180377,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) @@ -179569,6 +180395,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); } @@ -179578,49 +180413,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 { @@ -179685,16 +180539,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; @@ -179703,14 +180557,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 @@ -179718,11 +180572,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; } @@ -179747,7 +180601,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetSuccess(); } else { - setSuccess((GetOpenTxnsInfoResponse)value); + setSuccess((OpenTxnsResponse)value); } break; @@ -179780,12 +180634,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; @@ -179814,7 +180668,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()); } @@ -179848,7 +180702,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:"); @@ -179886,15 +180740,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) @@ -179906,7 +180760,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 { @@ -179922,7 +180776,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); @@ -179937,16 +180791,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()) { @@ -179959,11 +180813,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); } @@ -179972,18 +180826,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 { @@ -180048,16 +180902,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; @@ -180066,14 +180920,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 @@ -180081,11 +180935,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; } @@ -180110,7 +180964,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((OpenTxnRequest)value); + setRqst((AbortTxnRequest)value); } break; @@ -180143,12 +180997,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; @@ -180177,7 +181031,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()); } @@ -180211,7 +181065,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:"); @@ -180249,15 +181103,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) @@ -180269,7 +181123,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 { @@ -180285,7 +181139,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); @@ -180300,16 +181154,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()) { @@ -180322,11 +181176,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); } @@ -180335,22 +181189,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(); @@ -180365,8 +181219,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; } @@ -180410,70 +181264,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; @@ -180482,8 +181336,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(); @@ -180496,8 +181350,8 @@ public boolean isSet(_Fields field) { } switch (field) { - case SUCCESS: - return isSetSuccess(); + case O1: + return isSetO1(); } throw new IllegalStateException(); } @@ -180506,21 +181360,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; } @@ -180531,28 +181385,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; } @@ -180574,14 +181428,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(")"); @@ -180591,9 +181445,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 { @@ -180612,15 +181463,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) @@ -180630,11 +181481,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); } @@ -180648,13 +181499,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(); @@ -180663,53 +181514,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 { @@ -180774,16 +181625,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; @@ -180792,14 +181643,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 @@ -180807,11 +181658,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; } @@ -180836,7 +181687,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AbortTxnRequest)value); + setRqst((AbortTxnsRequest)value); } break; @@ -180869,12 +181720,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; @@ -180903,7 +181754,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()); } @@ -180937,7 +181788,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:"); @@ -180975,15 +181826,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) @@ -180995,7 +181846,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 { @@ -181011,7 +181862,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); @@ -181026,16 +181877,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()) { @@ -181048,11 +181899,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); } @@ -181061,15 +181912,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 @@ -181139,13 +181990,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(); @@ -181155,14 +182006,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 @@ -181232,12 +182083,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; @@ -181266,7 +182117,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()); } @@ -181300,7 +182151,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:"); @@ -181335,15 +182186,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) @@ -181371,7 +182222,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); @@ -181386,16 +182237,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()) { @@ -181408,7 +182259,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)) { @@ -181421,18 +182272,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 { @@ -181497,16 +182348,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; @@ -181515,14 +182366,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 @@ -181530,11 +182381,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; } @@ -181559,7 +182410,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((AbortTxnsRequest)value); + setRqst((CommitTxnRequest)value); } break; @@ -181592,12 +182443,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; @@ -181626,7 +182477,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()); } @@ -181660,7 +182511,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:"); @@ -181698,15 +182549,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) @@ -181718,7 +182569,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 { @@ -181734,7 +182585,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); @@ -181749,16 +182600,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()) { @@ -181771,11 +182622,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); } @@ -181784,22 +182635,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(); @@ -181816,6 +182670,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // O1 return O1; + case 2: // O2 + return O2; default: return null; } @@ -181861,36 +182717,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() { @@ -181916,6 +182780,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: @@ -181926,6 +182813,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case O2: + if (value == null) { + unsetO2(); + } else { + setO2((TxnAbortedException)value); + } + break; + } } @@ -181934,6 +182829,9 @@ public Object getFieldValue(_Fields field) { case O1: return getO1(); + case O2: + return getO2(); + } throw new IllegalStateException(); } @@ -181947,6 +182845,8 @@ public boolean isSet(_Fields field) { switch (field) { case O1: return isSetO1(); + case O2: + return isSetO2(); } throw new IllegalStateException(); } @@ -181955,12 +182855,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; @@ -181973,6 +182873,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; } @@ -181985,11 +182894,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()); } @@ -182006,6 +182920,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; } @@ -182023,7 +182947,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:"); @@ -182033,6 +182957,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(); } @@ -182058,15 +182990,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) @@ -182085,6 +183017,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); } @@ -182094,7 +183035,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); @@ -182103,59 +183044,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 { @@ -182220,16 +183177,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; @@ -182238,14 +183195,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 @@ -182253,11 +183210,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; } @@ -182282,7 +183239,7 @@ public void setFieldValue(_Fields field, Object value) { if (value == null) { unsetRqst(); } else { - setRqst((CommitTxnRequest)value); + setRqst((ReplTblWriteIdStateRequest)value); } break; @@ -182315,12 +183272,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; @@ -182349,7 +183306,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()); } @@ -182383,7 +183340,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:"); @@ -182421,15 +183378,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) @@ -182441,7 +183398,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 { @@ -182457,7 +183414,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); @@ -182472,16 +183429,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()) { @@ -182494,11 +183451,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); } @@ -182507,25 +183464,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(); @@ -182540,10 +183492,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; } @@ -182582,128 +183530,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(); } @@ -182715,10 +183572,6 @@ public boolean isSet(_Fields field) { } switch (field) { - case O1: - return isSetO1(); - case O2: - return isSetO2(); } throw new IllegalStateException(); } @@ -182727,33 +183580,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; } @@ -182761,47 +183596,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; } @@ -182819,24 +183624,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(); } @@ -182862,15 +183652,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) @@ -182880,24 +183670,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); } @@ -182907,67 +183679,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); - } } } @@ -226318,14 +227055,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 _list1486 = iprot.readListBegin(); - struct.success = new ArrayList(_list1486.size); - SchemaVersion _elem1487; - for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) + org.apache.thrift.protocol.TList _list1494 = iprot.readListBegin(); + struct.success = new ArrayList(_list1494.size); + SchemaVersion _elem1495; + for (int _i1496 = 0; _i1496 < _list1494.size; ++_i1496) { - _elem1487 = new SchemaVersion(); - _elem1487.read(iprot); - struct.success.add(_elem1487); + _elem1495 = new SchemaVersion(); + _elem1495.read(iprot); + struct.success.add(_elem1495); } iprot.readListEnd(); } @@ -226369,9 +227106,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 _iter1489 : struct.success) + for (SchemaVersion _iter1497 : struct.success) { - _iter1489.write(oprot); + _iter1497.write(oprot); } oprot.writeListEnd(); } @@ -226418,9 +227155,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1490 : struct.success) + for (SchemaVersion _iter1498 : struct.success) { - _iter1490.write(oprot); + _iter1498.write(oprot); } } } @@ -226438,14 +227175,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 _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1491.size); - SchemaVersion _elem1492; - for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) + 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) { - _elem1492 = new SchemaVersion(); - _elem1492.read(iprot); - struct.success.add(_elem1492); + _elem1500 = new SchemaVersion(); + _elem1500.read(iprot); + struct.success.add(_elem1500); } } 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 ad2c0b6..f4e30f0 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 _list832 = iprot.readListBegin(); - struct.pools = new ArrayList(_list832.size); - WMPool _elem833; - for (int _i834 = 0; _i834 < _list832.size; ++_i834) + org.apache.thrift.protocol.TList _list840 = iprot.readListBegin(); + struct.pools = new ArrayList(_list840.size); + WMPool _elem841; + for (int _i842 = 0; _i842 < _list840.size; ++_i842) { - _elem833 = new WMPool(); - _elem833.read(iprot); - struct.pools.add(_elem833); + _elem841 = new WMPool(); + _elem841.read(iprot); + struct.pools.add(_elem841); } 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 _list835 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list835.size); - WMMapping _elem836; - for (int _i837 = 0; _i837 < _list835.size; ++_i837) + org.apache.thrift.protocol.TList _list843 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list843.size); + WMMapping _elem844; + for (int _i845 = 0; _i845 < _list843.size; ++_i845) { - _elem836 = new WMMapping(); - _elem836.read(iprot); - struct.mappings.add(_elem836); + _elem844 = new WMMapping(); + _elem844.read(iprot); + struct.mappings.add(_elem844); } 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 _list838 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list838.size); - WMTrigger _elem839; - for (int _i840 = 0; _i840 < _list838.size; ++_i840) + org.apache.thrift.protocol.TList _list846 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list846.size); + WMTrigger _elem847; + for (int _i848 = 0; _i848 < _list846.size; ++_i848) { - _elem839 = new WMTrigger(); - _elem839.read(iprot); - struct.triggers.add(_elem839); + _elem847 = new WMTrigger(); + _elem847.read(iprot); + struct.triggers.add(_elem847); } 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 _list841 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list841.size); - WMPoolTrigger _elem842; - for (int _i843 = 0; _i843 < _list841.size; ++_i843) + org.apache.thrift.protocol.TList _list849 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list849.size); + WMPoolTrigger _elem850; + for (int _i851 = 0; _i851 < _list849.size; ++_i851) { - _elem842 = new WMPoolTrigger(); - _elem842.read(iprot); - struct.poolTriggers.add(_elem842); + _elem850 = new WMPoolTrigger(); + _elem850.read(iprot); + struct.poolTriggers.add(_elem850); } 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 _iter844 : struct.pools) + for (WMPool _iter852 : struct.pools) { - _iter844.write(oprot); + _iter852.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 _iter845 : struct.mappings) + for (WMMapping _iter853 : struct.mappings) { - _iter845.write(oprot); + _iter853.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 _iter846 : struct.triggers) + for (WMTrigger _iter854 : struct.triggers) { - _iter846.write(oprot); + _iter854.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 _iter847 : struct.poolTriggers) + for (WMPoolTrigger _iter855 : struct.poolTriggers) { - _iter847.write(oprot); + _iter855.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 _iter848 : struct.pools) + for (WMPool _iter856 : struct.pools) { - _iter848.write(oprot); + _iter856.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 _iter849 : struct.mappings) + for (WMMapping _iter857 : struct.mappings) { - _iter849.write(oprot); + _iter857.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter850 : struct.triggers) + for (WMTrigger _iter858 : struct.triggers) { - _iter850.write(oprot); + _iter858.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter851 : struct.poolTriggers) + for (WMPoolTrigger _iter859 : struct.poolTriggers) { - _iter851.write(oprot); + _iter859.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 _list852 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list852.size); - WMPool _elem853; - for (int _i854 = 0; _i854 < _list852.size; ++_i854) + 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) { - _elem853 = new WMPool(); - _elem853.read(iprot); - struct.pools.add(_elem853); + _elem861 = new WMPool(); + _elem861.read(iprot); + struct.pools.add(_elem861); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list855 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list855.size); - WMMapping _elem856; - for (int _i857 = 0; _i857 < _list855.size; ++_i857) + 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) { - _elem856 = new WMMapping(); - _elem856.read(iprot); - struct.mappings.add(_elem856); + _elem864 = new WMMapping(); + _elem864.read(iprot); + struct.mappings.add(_elem864); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list858 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list858.size); - WMTrigger _elem859; - for (int _i860 = 0; _i860 < _list858.size; ++_i860) + 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) { - _elem859 = new WMTrigger(); - _elem859.read(iprot); - struct.triggers.add(_elem859); + _elem867 = new WMTrigger(); + _elem867.read(iprot); + struct.triggers.add(_elem867); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list861.size); - WMPoolTrigger _elem862; - for (int _i863 = 0; _i863 < _list861.size; ++_i863) + org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list869.size); + WMPoolTrigger _elem870; + for (int _i871 = 0; _i871 < _list869.size; ++_i871) { - _elem862 = new WMPoolTrigger(); - _elem862.read(iprot); - struct.poolTriggers.add(_elem862); + _elem870 = new WMPoolTrigger(); + _elem870.read(iprot); + struct.poolTriggers.add(_elem870); } } 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 cf50206..ba81ce9 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 _list864 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list864.size); - WMResourcePlan _elem865; - for (int _i866 = 0; _i866 < _list864.size; ++_i866) + org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list872.size); + WMResourcePlan _elem873; + for (int _i874 = 0; _i874 < _list872.size; ++_i874) { - _elem865 = new WMResourcePlan(); - _elem865.read(iprot); - struct.resourcePlans.add(_elem865); + _elem873 = new WMResourcePlan(); + _elem873.read(iprot); + struct.resourcePlans.add(_elem873); } 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 _iter867 : struct.resourcePlans) + for (WMResourcePlan _iter875 : struct.resourcePlans) { - _iter867.write(oprot); + _iter875.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 _iter868 : struct.resourcePlans) + for (WMResourcePlan _iter876 : struct.resourcePlans) { - _iter868.write(oprot); + _iter876.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 _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list869.size); - WMResourcePlan _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.resourcePlans = new ArrayList(_list877.size); + WMResourcePlan _elem878; + for (int _i879 = 0; _i879 < _list877.size; ++_i879) { - _elem870 = new WMResourcePlan(); - _elem870.read(iprot); - struct.resourcePlans.add(_elem870); + _elem878 = new WMResourcePlan(); + _elem878.read(iprot); + struct.resourcePlans.add(_elem878); } } 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 b23a7f8..10ed67c 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 _list888 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list888.size); - WMTrigger _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list896.size); + WMTrigger _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem889 = new WMTrigger(); - _elem889.read(iprot); - struct.triggers.add(_elem889); + _elem897 = new WMTrigger(); + _elem897.read(iprot); + struct.triggers.add(_elem897); } 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 _iter891 : struct.triggers) + for (WMTrigger _iter899 : struct.triggers) { - _iter891.write(oprot); + _iter899.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 _iter892 : struct.triggers) + for (WMTrigger _iter900 : struct.triggers) { - _iter892.write(oprot); + _iter900.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 _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list893.size); - WMTrigger _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.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list901.size); + WMTrigger _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem894 = new WMTrigger(); - _elem894.read(iprot); - struct.triggers.add(_elem894); + _elem902 = new WMTrigger(); + _elem902.read(iprot); + struct.triggers.add(_elem902); } } 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 53a0443..86d7d5c 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 _list872 = iprot.readListBegin(); - struct.errors = new ArrayList(_list872.size); - String _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); + struct.errors = new ArrayList(_list880.size); + String _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem873 = iprot.readString(); - struct.errors.add(_elem873); + _elem881 = iprot.readString(); + struct.errors.add(_elem881); } 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 _list875 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list875.size); - String _elem876; - for (int _i877 = 0; _i877 < _list875.size; ++_i877) + org.apache.thrift.protocol.TList _list883 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list883.size); + String _elem884; + for (int _i885 = 0; _i885 < _list883.size; ++_i885) { - _elem876 = iprot.readString(); - struct.warnings.add(_elem876); + _elem884 = iprot.readString(); + struct.warnings.add(_elem884); } 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 _iter878 : struct.errors) + for (String _iter886 : struct.errors) { - oprot.writeString(_iter878); + oprot.writeString(_iter886); } 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 _iter879 : struct.warnings) + for (String _iter887 : struct.warnings) { - oprot.writeString(_iter879); + oprot.writeString(_iter887); } 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 _iter880 : struct.errors) + for (String _iter888 : struct.errors) { - oprot.writeString(_iter880); + oprot.writeString(_iter888); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter881 : struct.warnings) + for (String _iter889 : struct.warnings) { - oprot.writeString(_iter881); + oprot.writeString(_iter889); } } } @@ -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 _list882 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list882.size); - String _elem883; - for (int _i884 = 0; _i884 < _list882.size; ++_i884) + 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) { - _elem883 = iprot.readString(); - struct.errors.add(_elem883); + _elem891 = iprot.readString(); + struct.errors.add(_elem891); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list885.size); - String _elem886; - for (int _i887 = 0; _i887 < _list885.size; ++_i887) + 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) { - _elem886 = iprot.readString(); - struct.warnings.add(_elem886); + _elem894 = iprot.readString(); + struct.warnings.add(_elem894); } } 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 7a8a42a..886d6d8 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 @@ -9841,6 +9845,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); @@ -14937,14 +14989,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $xfer += $input->readString($elem811); - $this->success []= $elem811; + $elem818 = null; + $xfer += $input->readString($elem818); + $this->success []= $elem818; } $xfer += $input->readListEnd(); } else { @@ -14980,9 +15032,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter812) + foreach ($this->success as $iter819) { - $xfer += $output->writeString($iter812); + $xfer += $output->writeString($iter819); } } $output->writeListEnd(); @@ -15113,14 +15165,14 @@ class ThriftHiveMetastore_get_all_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 { @@ -15156,9 +15208,9 @@ class ThriftHiveMetastore_get_all_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(); @@ -16159,18 +16211,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size820 = 0; - $_ktype821 = 0; - $_vtype822 = 0; - $xfer += $input->readMapBegin($_ktype821, $_vtype822, $_size820); - for ($_i824 = 0; $_i824 < $_size820; ++$_i824) + $_size827 = 0; + $_ktype828 = 0; + $_vtype829 = 0; + $xfer += $input->readMapBegin($_ktype828, $_vtype829, $_size827); + for ($_i831 = 0; $_i831 < $_size827; ++$_i831) { - $key825 = ''; - $val826 = new \metastore\Type(); - $xfer += $input->readString($key825); - $val826 = new \metastore\Type(); - $xfer += $val826->read($input); - $this->success[$key825] = $val826; + $key832 = ''; + $val833 = new \metastore\Type(); + $xfer += $input->readString($key832); + $val833 = new \metastore\Type(); + $xfer += $val833->read($input); + $this->success[$key832] = $val833; } $xfer += $input->readMapEnd(); } else { @@ -16206,10 +16258,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter827 => $viter828) + foreach ($this->success as $kiter834 => $viter835) { - $xfer += $output->writeString($kiter827); - $xfer += $viter828->write($output); + $xfer += $output->writeString($kiter834); + $xfer += $viter835->write($output); } } $output->writeMapEnd(); @@ -16413,15 +16465,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size829 = 0; - $_etype832 = 0; - $xfer += $input->readListBegin($_etype832, $_size829); - for ($_i833 = 0; $_i833 < $_size829; ++$_i833) + $_size836 = 0; + $_etype839 = 0; + $xfer += $input->readListBegin($_etype839, $_size836); + for ($_i840 = 0; $_i840 < $_size836; ++$_i840) { - $elem834 = null; - $elem834 = new \metastore\FieldSchema(); - $xfer += $elem834->read($input); - $this->success []= $elem834; + $elem841 = null; + $elem841 = new \metastore\FieldSchema(); + $xfer += $elem841->read($input); + $this->success []= $elem841; } $xfer += $input->readListEnd(); } else { @@ -16473,9 +16525,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter835) + foreach ($this->success as $iter842) { - $xfer += $iter835->write($output); + $xfer += $iter842->write($output); } } $output->writeListEnd(); @@ -16717,15 +16769,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_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 { @@ -16777,9 +16829,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_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(); @@ -16993,15 +17045,15 @@ class ThriftHiveMetastore_get_schema_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 { @@ -17053,9 +17105,9 @@ class ThriftHiveMetastore_get_schema_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(); @@ -17297,15 +17349,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_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 { @@ -17357,9 +17409,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_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(); @@ -18031,15 +18083,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = 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\SQLPrimaryKey(); - $xfer += $elem862->read($input); - $this->primaryKeys []= $elem862; + $elem869 = null; + $elem869 = new \metastore\SQLPrimaryKey(); + $xfer += $elem869->read($input); + $this->primaryKeys []= $elem869; } $xfer += $input->readListEnd(); } else { @@ -18049,15 +18101,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size863 = 0; - $_etype866 = 0; - $xfer += $input->readListBegin($_etype866, $_size863); - for ($_i867 = 0; $_i867 < $_size863; ++$_i867) + $_size870 = 0; + $_etype873 = 0; + $xfer += $input->readListBegin($_etype873, $_size870); + for ($_i874 = 0; $_i874 < $_size870; ++$_i874) { - $elem868 = null; - $elem868 = new \metastore\SQLForeignKey(); - $xfer += $elem868->read($input); - $this->foreignKeys []= $elem868; + $elem875 = null; + $elem875 = new \metastore\SQLForeignKey(); + $xfer += $elem875->read($input); + $this->foreignKeys []= $elem875; } $xfer += $input->readListEnd(); } else { @@ -18067,15 +18119,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size869 = 0; - $_etype872 = 0; - $xfer += $input->readListBegin($_etype872, $_size869); - for ($_i873 = 0; $_i873 < $_size869; ++$_i873) + $_size876 = 0; + $_etype879 = 0; + $xfer += $input->readListBegin($_etype879, $_size876); + for ($_i880 = 0; $_i880 < $_size876; ++$_i880) { - $elem874 = null; - $elem874 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem874->read($input); - $this->uniqueConstraints []= $elem874; + $elem881 = null; + $elem881 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem881->read($input); + $this->uniqueConstraints []= $elem881; } $xfer += $input->readListEnd(); } else { @@ -18085,15 +18137,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size875 = 0; - $_etype878 = 0; - $xfer += $input->readListBegin($_etype878, $_size875); - for ($_i879 = 0; $_i879 < $_size875; ++$_i879) + $_size882 = 0; + $_etype885 = 0; + $xfer += $input->readListBegin($_etype885, $_size882); + for ($_i886 = 0; $_i886 < $_size882; ++$_i886) { - $elem880 = null; - $elem880 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem880->read($input); - $this->notNullConstraints []= $elem880; + $elem887 = null; + $elem887 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem887->read($input); + $this->notNullConstraints []= $elem887; } $xfer += $input->readListEnd(); } else { @@ -18103,15 +18155,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size881 = 0; - $_etype884 = 0; - $xfer += $input->readListBegin($_etype884, $_size881); - for ($_i885 = 0; $_i885 < $_size881; ++$_i885) + $_size888 = 0; + $_etype891 = 0; + $xfer += $input->readListBegin($_etype891, $_size888); + for ($_i892 = 0; $_i892 < $_size888; ++$_i892) { - $elem886 = null; - $elem886 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem886->read($input); - $this->defaultConstraints []= $elem886; + $elem893 = null; + $elem893 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem893->read($input); + $this->defaultConstraints []= $elem893; } $xfer += $input->readListEnd(); } else { @@ -18121,15 +18173,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size887 = 0; - $_etype890 = 0; - $xfer += $input->readListBegin($_etype890, $_size887); - for ($_i891 = 0; $_i891 < $_size887; ++$_i891) + $_size894 = 0; + $_etype897 = 0; + $xfer += $input->readListBegin($_etype897, $_size894); + for ($_i898 = 0; $_i898 < $_size894; ++$_i898) { - $elem892 = null; - $elem892 = new \metastore\SQLCheckConstraint(); - $xfer += $elem892->read($input); - $this->checkConstraints []= $elem892; + $elem899 = null; + $elem899 = new \metastore\SQLCheckConstraint(); + $xfer += $elem899->read($input); + $this->checkConstraints []= $elem899; } $xfer += $input->readListEnd(); } else { @@ -18165,9 +18217,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter893) + foreach ($this->primaryKeys as $iter900) { - $xfer += $iter893->write($output); + $xfer += $iter900->write($output); } } $output->writeListEnd(); @@ -18182,9 +18234,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter894) + foreach ($this->foreignKeys as $iter901) { - $xfer += $iter894->write($output); + $xfer += $iter901->write($output); } } $output->writeListEnd(); @@ -18199,9 +18251,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter895) + foreach ($this->uniqueConstraints as $iter902) { - $xfer += $iter895->write($output); + $xfer += $iter902->write($output); } } $output->writeListEnd(); @@ -18216,9 +18268,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter896) + foreach ($this->notNullConstraints as $iter903) { - $xfer += $iter896->write($output); + $xfer += $iter903->write($output); } } $output->writeListEnd(); @@ -18233,9 +18285,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter897) + foreach ($this->defaultConstraints as $iter904) { - $xfer += $iter897->write($output); + $xfer += $iter904->write($output); } } $output->writeListEnd(); @@ -18250,9 +18302,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter898) + foreach ($this->checkConstraints as $iter905) { - $xfer += $iter898->write($output); + $xfer += $iter905->write($output); } } $output->writeListEnd(); @@ -20252,14 +20304,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size899 = 0; - $_etype902 = 0; - $xfer += $input->readListBegin($_etype902, $_size899); - for ($_i903 = 0; $_i903 < $_size899; ++$_i903) + $_size906 = 0; + $_etype909 = 0; + $xfer += $input->readListBegin($_etype909, $_size906); + for ($_i910 = 0; $_i910 < $_size906; ++$_i910) { - $elem904 = null; - $xfer += $input->readString($elem904); - $this->partNames []= $elem904; + $elem911 = null; + $xfer += $input->readString($elem911); + $this->partNames []= $elem911; } $xfer += $input->readListEnd(); } else { @@ -20297,9 +20349,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter905) + foreach ($this->partNames as $iter912) { - $xfer += $output->writeString($iter905); + $xfer += $output->writeString($iter912); } } $output->writeListEnd(); @@ -20550,14 +20602,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size906 = 0; - $_etype909 = 0; - $xfer += $input->readListBegin($_etype909, $_size906); - for ($_i910 = 0; $_i910 < $_size906; ++$_i910) + $_size913 = 0; + $_etype916 = 0; + $xfer += $input->readListBegin($_etype916, $_size913); + for ($_i917 = 0; $_i917 < $_size913; ++$_i917) { - $elem911 = null; - $xfer += $input->readString($elem911); - $this->success []= $elem911; + $elem918 = null; + $xfer += $input->readString($elem918); + $this->success []= $elem918; } $xfer += $input->readListEnd(); } else { @@ -20593,9 +20645,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter912) + foreach ($this->success as $iter919) { - $xfer += $output->writeString($iter912); + $xfer += $output->writeString($iter919); } } $output->writeListEnd(); @@ -20797,14 +20849,14 @@ class ThriftHiveMetastore_get_tables_by_type_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 { @@ -20840,9 +20892,9 @@ class ThriftHiveMetastore_get_tables_by_type_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(); @@ -20998,14 +21050,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_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 { @@ -21041,9 +21093,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_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(); @@ -21148,14 +21200,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = 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->tbl_types []= $elem932; + $elem939 = null; + $xfer += $input->readString($elem939); + $this->tbl_types []= $elem939; } $xfer += $input->readListEnd(); } else { @@ -21193,9 +21245,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter933) + foreach ($this->tbl_types as $iter940) { - $xfer += $output->writeString($iter933); + $xfer += $output->writeString($iter940); } } $output->writeListEnd(); @@ -21272,15 +21324,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem939 = new \metastore\TableMeta(); - $xfer += $elem939->read($input); - $this->success []= $elem939; + $elem946 = null; + $elem946 = new \metastore\TableMeta(); + $xfer += $elem946->read($input); + $this->success []= $elem946; } $xfer += $input->readListEnd(); } else { @@ -21316,9 +21368,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter940) + foreach ($this->success as $iter947) { - $xfer += $iter940->write($output); + $xfer += $iter947->write($output); } } $output->writeListEnd(); @@ -21474,14 +21526,14 @@ class ThriftHiveMetastore_get_all_tables_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; - $xfer += $input->readString($elem946); - $this->success []= $elem946; + $elem953 = null; + $xfer += $input->readString($elem953); + $this->success []= $elem953; } $xfer += $input->readListEnd(); } else { @@ -21517,9 +21569,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter947) + foreach ($this->success as $iter954) { - $xfer += $output->writeString($iter947); + $xfer += $output->writeString($iter954); } } $output->writeListEnd(); @@ -21834,14 +21886,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = 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->tbl_names []= $elem953; + $elem960 = null; + $xfer += $input->readString($elem960); + $this->tbl_names []= $elem960; } $xfer += $input->readListEnd(); } else { @@ -21874,9 +21926,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter954) + foreach ($this->tbl_names as $iter961) { - $xfer += $output->writeString($iter954); + $xfer += $output->writeString($iter961); } } $output->writeListEnd(); @@ -21941,15 +21993,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem960 = new \metastore\Table(); - $xfer += $elem960->read($input); - $this->success []= $elem960; + $elem967 = null; + $elem967 = new \metastore\Table(); + $xfer += $elem967->read($input); + $this->success []= $elem967; } $xfer += $input->readListEnd(); } else { @@ -21977,9 +22029,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter961) + foreach ($this->success as $iter968) { - $xfer += $iter961->write($output); + $xfer += $iter968->write($output); } } $output->writeListEnd(); @@ -22506,14 +22558,14 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = 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; - $xfer += $input->readString($elem967); - $this->tbl_names []= $elem967; + $elem974 = null; + $xfer += $input->readString($elem974); + $this->tbl_names []= $elem974; } $xfer += $input->readListEnd(); } else { @@ -22546,9 +22598,9 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter968) + foreach ($this->tbl_names as $iter975) { - $xfer += $output->writeString($iter968); + $xfer += $output->writeString($iter975); } } $output->writeListEnd(); @@ -22653,18 +22705,18 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size969 = 0; - $_ktype970 = 0; - $_vtype971 = 0; - $xfer += $input->readMapBegin($_ktype970, $_vtype971, $_size969); - for ($_i973 = 0; $_i973 < $_size969; ++$_i973) + $_size976 = 0; + $_ktype977 = 0; + $_vtype978 = 0; + $xfer += $input->readMapBegin($_ktype977, $_vtype978, $_size976); + for ($_i980 = 0; $_i980 < $_size976; ++$_i980) { - $key974 = ''; - $val975 = new \metastore\Materialization(); - $xfer += $input->readString($key974); - $val975 = new \metastore\Materialization(); - $xfer += $val975->read($input); - $this->success[$key974] = $val975; + $key981 = ''; + $val982 = new \metastore\Materialization(); + $xfer += $input->readString($key981); + $val982 = new \metastore\Materialization(); + $xfer += $val982->read($input); + $this->success[$key981] = $val982; } $xfer += $input->readMapEnd(); } else { @@ -22716,10 +22768,10 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter976 => $viter977) + foreach ($this->success as $kiter983 => $viter984) { - $xfer += $output->writeString($kiter976); - $xfer += $viter977->write($output); + $xfer += $output->writeString($kiter983); + $xfer += $viter984->write($output); } } $output->writeMapEnd(); @@ -23231,14 +23283,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size978 = 0; - $_etype981 = 0; - $xfer += $input->readListBegin($_etype981, $_size978); - for ($_i982 = 0; $_i982 < $_size978; ++$_i982) + $_size985 = 0; + $_etype988 = 0; + $xfer += $input->readListBegin($_etype988, $_size985); + for ($_i989 = 0; $_i989 < $_size985; ++$_i989) { - $elem983 = null; - $xfer += $input->readString($elem983); - $this->success []= $elem983; + $elem990 = null; + $xfer += $input->readString($elem990); + $this->success []= $elem990; } $xfer += $input->readListEnd(); } else { @@ -23290,9 +23342,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter984) + foreach ($this->success as $iter991) { - $xfer += $output->writeString($iter984); + $xfer += $output->writeString($iter991); } } $output->writeListEnd(); @@ -24605,266 +24657,13 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size985 = 0; - $_etype988 = 0; - $xfer += $input->readListBegin($_etype988, $_size985); - for ($_i989 = 0; $_i989 < $_size985; ++$_i989) - { - $elem990 = null; - $elem990 = new \metastore\Partition(); - $xfer += $elem990->read($input); - $this->new_parts []= $elem990; - } - $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 $iter991) - { - $xfer += $iter991->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(); $_size992 = 0; $_etype995 = 0; $xfer += $input->readListBegin($_etype995, $_size992); for ($_i996 = 0; $_i996 < $_size992; ++$_i996) { $elem997 = null; - $elem997 = new \metastore\PartitionSpec(); + $elem997 = new \metastore\Partition(); $xfer += $elem997->read($input); $this->new_parts []= $elem997; } @@ -24885,7 +24684,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); @@ -24910,6 +24709,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(); + $_size999 = 0; + $_etype1002 = 0; + $xfer += $input->readListBegin($_etype1002, $_size999); + for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) + { + $elem1004 = null; + $elem1004 = new \metastore\PartitionSpec(); + $xfer += $elem1004->read($input); + $this->new_parts []= $elem1004; + } + $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 $iter1005) + { + $xfer += $iter1005->write($output); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } + $xfer += $output->writeFieldStop(); + $xfer += $output->writeStructEnd(); + return $xfer; + } + +} + class ThriftHiveMetastore_add_partitions_pspec_result { static $_TSPEC; @@ -25146,14 +25198,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size999 = 0; - $_etype1002 = 0; - $xfer += $input->readListBegin($_etype1002, $_size999); - for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) + $_size1006 = 0; + $_etype1009 = 0; + $xfer += $input->readListBegin($_etype1009, $_size1006); + for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) { - $elem1004 = null; - $xfer += $input->readString($elem1004); - $this->part_vals []= $elem1004; + $elem1011 = null; + $xfer += $input->readString($elem1011); + $this->part_vals []= $elem1011; } $xfer += $input->readListEnd(); } else { @@ -25191,9 +25243,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1005) + foreach ($this->part_vals as $iter1012) { - $xfer += $output->writeString($iter1005); + $xfer += $output->writeString($iter1012); } } $output->writeListEnd(); @@ -25695,14 +25747,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_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 { @@ -25748,9 +25800,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_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(); @@ -26604,14 +26656,14 @@ class ThriftHiveMetastore_drop_partition_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 { @@ -26656,9 +26708,9 @@ class ThriftHiveMetastore_drop_partition_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(); @@ -26911,14 +26963,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_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 { @@ -26971,9 +27023,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_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(); @@ -27987,14 +28039,14 @@ class ThriftHiveMetastore_get_partition_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 { @@ -28032,9 +28084,9 @@ class ThriftHiveMetastore_get_partition_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(); @@ -28276,17 +28328,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1034 = 0; - $_ktype1035 = 0; - $_vtype1036 = 0; - $xfer += $input->readMapBegin($_ktype1035, $_vtype1036, $_size1034); - for ($_i1038 = 0; $_i1038 < $_size1034; ++$_i1038) + $_size1041 = 0; + $_ktype1042 = 0; + $_vtype1043 = 0; + $xfer += $input->readMapBegin($_ktype1042, $_vtype1043, $_size1041); + for ($_i1045 = 0; $_i1045 < $_size1041; ++$_i1045) { - $key1039 = ''; - $val1040 = ''; - $xfer += $input->readString($key1039); - $xfer += $input->readString($val1040); - $this->partitionSpecs[$key1039] = $val1040; + $key1046 = ''; + $val1047 = ''; + $xfer += $input->readString($key1046); + $xfer += $input->readString($val1047); + $this->partitionSpecs[$key1046] = $val1047; } $xfer += $input->readMapEnd(); } else { @@ -28342,10 +28394,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1041 => $viter1042) + foreach ($this->partitionSpecs as $kiter1048 => $viter1049) { - $xfer += $output->writeString($kiter1041); - $xfer += $output->writeString($viter1042); + $xfer += $output->writeString($kiter1048); + $xfer += $output->writeString($viter1049); } } $output->writeMapEnd(); @@ -28657,17 +28709,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1043 = 0; - $_ktype1044 = 0; - $_vtype1045 = 0; - $xfer += $input->readMapBegin($_ktype1044, $_vtype1045, $_size1043); - for ($_i1047 = 0; $_i1047 < $_size1043; ++$_i1047) + $_size1050 = 0; + $_ktype1051 = 0; + $_vtype1052 = 0; + $xfer += $input->readMapBegin($_ktype1051, $_vtype1052, $_size1050); + for ($_i1054 = 0; $_i1054 < $_size1050; ++$_i1054) { - $key1048 = ''; - $val1049 = ''; - $xfer += $input->readString($key1048); - $xfer += $input->readString($val1049); - $this->partitionSpecs[$key1048] = $val1049; + $key1055 = ''; + $val1056 = ''; + $xfer += $input->readString($key1055); + $xfer += $input->readString($val1056); + $this->partitionSpecs[$key1055] = $val1056; } $xfer += $input->readMapEnd(); } else { @@ -28723,10 +28775,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1050 => $viter1051) + foreach ($this->partitionSpecs as $kiter1057 => $viter1058) { - $xfer += $output->writeString($kiter1050); - $xfer += $output->writeString($viter1051); + $xfer += $output->writeString($kiter1057); + $xfer += $output->writeString($viter1058); } } $output->writeMapEnd(); @@ -28859,15 +28911,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1052 = 0; - $_etype1055 = 0; - $xfer += $input->readListBegin($_etype1055, $_size1052); - for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) + $_size1059 = 0; + $_etype1062 = 0; + $xfer += $input->readListBegin($_etype1062, $_size1059); + for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) { - $elem1057 = null; - $elem1057 = new \metastore\Partition(); - $xfer += $elem1057->read($input); - $this->success []= $elem1057; + $elem1064 = null; + $elem1064 = new \metastore\Partition(); + $xfer += $elem1064->read($input); + $this->success []= $elem1064; } $xfer += $input->readListEnd(); } else { @@ -28927,9 +28979,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1058) + foreach ($this->success as $iter1065) { - $xfer += $iter1058->write($output); + $xfer += $iter1065->write($output); } } $output->writeListEnd(); @@ -29075,14 +29127,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1059 = 0; - $_etype1062 = 0; - $xfer += $input->readListBegin($_etype1062, $_size1059); - for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) + $_size1066 = 0; + $_etype1069 = 0; + $xfer += $input->readListBegin($_etype1069, $_size1066); + for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) { - $elem1064 = null; - $xfer += $input->readString($elem1064); - $this->part_vals []= $elem1064; + $elem1071 = null; + $xfer += $input->readString($elem1071); + $this->part_vals []= $elem1071; } $xfer += $input->readListEnd(); } else { @@ -29099,14 +29151,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1065 = 0; - $_etype1068 = 0; - $xfer += $input->readListBegin($_etype1068, $_size1065); - for ($_i1069 = 0; $_i1069 < $_size1065; ++$_i1069) + $_size1072 = 0; + $_etype1075 = 0; + $xfer += $input->readListBegin($_etype1075, $_size1072); + for ($_i1076 = 0; $_i1076 < $_size1072; ++$_i1076) { - $elem1070 = null; - $xfer += $input->readString($elem1070); - $this->group_names []= $elem1070; + $elem1077 = null; + $xfer += $input->readString($elem1077); + $this->group_names []= $elem1077; } $xfer += $input->readListEnd(); } else { @@ -29144,9 +29196,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1071) + foreach ($this->part_vals as $iter1078) { - $xfer += $output->writeString($iter1071); + $xfer += $output->writeString($iter1078); } } $output->writeListEnd(); @@ -29166,9 +29218,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1072) + foreach ($this->group_names as $iter1079) { - $xfer += $output->writeString($iter1072); + $xfer += $output->writeString($iter1079); } } $output->writeListEnd(); @@ -29759,15 +29811,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1080 = 0; + $_etype1083 = 0; + $xfer += $input->readListBegin($_etype1083, $_size1080); + for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) { - $elem1078 = null; - $elem1078 = new \metastore\Partition(); - $xfer += $elem1078->read($input); - $this->success []= $elem1078; + $elem1085 = null; + $elem1085 = new \metastore\Partition(); + $xfer += $elem1085->read($input); + $this->success []= $elem1085; } $xfer += $input->readListEnd(); } else { @@ -29811,9 +29863,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1079) + foreach ($this->success as $iter1086) { - $xfer += $iter1079->write($output); + $xfer += $iter1086->write($output); } } $output->writeListEnd(); @@ -29959,14 +30011,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1080 = 0; - $_etype1083 = 0; - $xfer += $input->readListBegin($_etype1083, $_size1080); - for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) + $_size1087 = 0; + $_etype1090 = 0; + $xfer += $input->readListBegin($_etype1090, $_size1087); + for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) { - $elem1085 = null; - $xfer += $input->readString($elem1085); - $this->group_names []= $elem1085; + $elem1092 = null; + $xfer += $input->readString($elem1092); + $this->group_names []= $elem1092; } $xfer += $input->readListEnd(); } else { @@ -30014,9 +30066,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1086) + foreach ($this->group_names as $iter1093) { - $xfer += $output->writeString($iter1086); + $xfer += $output->writeString($iter1093); } } $output->writeListEnd(); @@ -30105,15 +30157,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem1092 = new \metastore\Partition(); - $xfer += $elem1092->read($input); - $this->success []= $elem1092; + $elem1099 = null; + $elem1099 = new \metastore\Partition(); + $xfer += $elem1099->read($input); + $this->success []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -30157,9 +30209,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1093) + foreach ($this->success as $iter1100) { - $xfer += $iter1093->write($output); + $xfer += $iter1100->write($output); } } $output->writeListEnd(); @@ -30379,15 +30431,15 @@ class ThriftHiveMetastore_get_partitions_pspec_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\PartitionSpec(); - $xfer += $elem1099->read($input); - $this->success []= $elem1099; + $elem1106 = null; + $elem1106 = new \metastore\PartitionSpec(); + $xfer += $elem1106->read($input); + $this->success []= $elem1106; } $xfer += $input->readListEnd(); } else { @@ -30431,9 +30483,9 @@ class ThriftHiveMetastore_get_partitions_pspec_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(); @@ -30652,14 +30704,14 @@ class ThriftHiveMetastore_get_partition_names_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; - $xfer += $input->readString($elem1106); - $this->success []= $elem1106; + $elem1113 = null; + $xfer += $input->readString($elem1113); + $this->success []= $elem1113; } $xfer += $input->readListEnd(); } else { @@ -30703,9 +30755,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1107) + foreach ($this->success as $iter1114) { - $xfer += $output->writeString($iter1107); + $xfer += $output->writeString($iter1114); } } $output->writeListEnd(); @@ -31036,14 +31088,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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->part_vals []= $elem1113; + $elem1120 = null; + $xfer += $input->readString($elem1120); + $this->part_vals []= $elem1120; } $xfer += $input->readListEnd(); } else { @@ -31088,9 +31140,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1114) + foreach ($this->part_vals as $iter1121) { - $xfer += $output->writeString($iter1114); + $xfer += $output->writeString($iter1121); } } $output->writeListEnd(); @@ -31184,15 +31236,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem1120 = new \metastore\Partition(); - $xfer += $elem1120->read($input); - $this->success []= $elem1120; + $elem1127 = null; + $elem1127 = new \metastore\Partition(); + $xfer += $elem1127->read($input); + $this->success []= $elem1127; } $xfer += $input->readListEnd(); } else { @@ -31236,9 +31288,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1121) + foreach ($this->success as $iter1128) { - $xfer += $iter1121->write($output); + $xfer += $iter1128->write($output); } } $output->writeListEnd(); @@ -31385,14 +31437,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem1127); - $this->part_vals []= $elem1127; + $elem1134 = null; + $xfer += $input->readString($elem1134); + $this->part_vals []= $elem1134; } $xfer += $input->readListEnd(); } else { @@ -31416,14 +31468,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1128 = 0; - $_etype1131 = 0; - $xfer += $input->readListBegin($_etype1131, $_size1128); - for ($_i1132 = 0; $_i1132 < $_size1128; ++$_i1132) + $_size1135 = 0; + $_etype1138 = 0; + $xfer += $input->readListBegin($_etype1138, $_size1135); + for ($_i1139 = 0; $_i1139 < $_size1135; ++$_i1139) { - $elem1133 = null; - $xfer += $input->readString($elem1133); - $this->group_names []= $elem1133; + $elem1140 = null; + $xfer += $input->readString($elem1140); + $this->group_names []= $elem1140; } $xfer += $input->readListEnd(); } else { @@ -31461,9 +31513,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1134) + foreach ($this->part_vals as $iter1141) { - $xfer += $output->writeString($iter1134); + $xfer += $output->writeString($iter1141); } } $output->writeListEnd(); @@ -31488,9 +31540,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1135) + foreach ($this->group_names as $iter1142) { - $xfer += $output->writeString($iter1135); + $xfer += $output->writeString($iter1142); } } $output->writeListEnd(); @@ -31579,15 +31631,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1136 = 0; - $_etype1139 = 0; - $xfer += $input->readListBegin($_etype1139, $_size1136); - for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) + $_size1143 = 0; + $_etype1146 = 0; + $xfer += $input->readListBegin($_etype1146, $_size1143); + for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) { - $elem1141 = null; - $elem1141 = new \metastore\Partition(); - $xfer += $elem1141->read($input); - $this->success []= $elem1141; + $elem1148 = null; + $elem1148 = new \metastore\Partition(); + $xfer += $elem1148->read($input); + $this->success []= $elem1148; } $xfer += $input->readListEnd(); } else { @@ -31631,9 +31683,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1142) + foreach ($this->success as $iter1149) { - $xfer += $iter1142->write($output); + $xfer += $iter1149->write($output); } } $output->writeListEnd(); @@ -31754,14 +31806,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem1148); - $this->part_vals []= $elem1148; + $elem1155 = null; + $xfer += $input->readString($elem1155); + $this->part_vals []= $elem1155; } $xfer += $input->readListEnd(); } else { @@ -31806,9 +31858,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1149) + foreach ($this->part_vals as $iter1156) { - $xfer += $output->writeString($iter1149); + $xfer += $output->writeString($iter1156); } } $output->writeListEnd(); @@ -31901,14 +31953,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem1155; + $elem1162 = null; + $xfer += $input->readString($elem1162); + $this->success []= $elem1162; } $xfer += $input->readListEnd(); } else { @@ -31952,9 +32004,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1156) + foreach ($this->success as $iter1163) { - $xfer += $output->writeString($iter1156); + $xfer += $output->writeString($iter1163); } } $output->writeListEnd(); @@ -32197,15 +32249,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_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; - $elem1162 = new \metastore\Partition(); - $xfer += $elem1162->read($input); - $this->success []= $elem1162; + $elem1169 = null; + $elem1169 = new \metastore\Partition(); + $xfer += $elem1169->read($input); + $this->success []= $elem1169; } $xfer += $input->readListEnd(); } else { @@ -32249,9 +32301,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1163) + foreach ($this->success as $iter1170) { - $xfer += $iter1163->write($output); + $xfer += $iter1170->write($output); } } $output->writeListEnd(); @@ -32494,15 +32546,15 @@ class ThriftHiveMetastore_get_part_specs_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\PartitionSpec(); - $xfer += $elem1169->read($input); - $this->success []= $elem1169; + $elem1176 = null; + $elem1176 = new \metastore\PartitionSpec(); + $xfer += $elem1176->read($input); + $this->success []= $elem1176; } $xfer += $input->readListEnd(); } else { @@ -32546,9 +32598,9 @@ class ThriftHiveMetastore_get_part_specs_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(); @@ -33114,14 +33166,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = 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; - $xfer += $input->readString($elem1176); - $this->names []= $elem1176; + $elem1183 = null; + $xfer += $input->readString($elem1183); + $this->names []= $elem1183; } $xfer += $input->readListEnd(); } else { @@ -33159,9 +33211,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1177) + foreach ($this->names as $iter1184) { - $xfer += $output->writeString($iter1177); + $xfer += $output->writeString($iter1184); } } $output->writeListEnd(); @@ -33250,15 +33302,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem1183 = new \metastore\Partition(); - $xfer += $elem1183->read($input); - $this->success []= $elem1183; + $elem1190 = null; + $elem1190 = new \metastore\Partition(); + $xfer += $elem1190->read($input); + $this->success []= $elem1190; } $xfer += $input->readListEnd(); } else { @@ -33302,9 +33354,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1184) + foreach ($this->success as $iter1191) { - $xfer += $iter1184->write($output); + $xfer += $iter1191->write($output); } } $output->writeListEnd(); @@ -33643,15 +33695,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = 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->new_parts []= $elem1190; + $elem1197 = null; + $elem1197 = new \metastore\Partition(); + $xfer += $elem1197->read($input); + $this->new_parts []= $elem1197; } $xfer += $input->readListEnd(); } else { @@ -33689,9 +33741,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1191) + foreach ($this->new_parts as $iter1198) { - $xfer += $iter1191->write($output); + $xfer += $iter1198->write($output); } } $output->writeListEnd(); @@ -33906,15 +33958,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_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 { @@ -33960,9 +34012,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_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(); @@ -34440,14 +34492,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem1204); - $this->part_vals []= $elem1204; + $elem1211 = null; + $xfer += $input->readString($elem1211); + $this->part_vals []= $elem1211; } $xfer += $input->readListEnd(); } else { @@ -34493,9 +34545,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1205) + foreach ($this->part_vals as $iter1212) { - $xfer += $output->writeString($iter1205); + $xfer += $output->writeString($iter1212); } } $output->writeListEnd(); @@ -34680,14 +34732,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: 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 { @@ -34722,9 +34774,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_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(); @@ -35178,14 +35230,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem1218; + $elem1225 = null; + $xfer += $input->readString($elem1225); + $this->success []= $elem1225; } $xfer += $input->readListEnd(); } else { @@ -35221,9 +35273,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1219) + foreach ($this->success as $iter1226) { - $xfer += $output->writeString($iter1219); + $xfer += $output->writeString($iter1226); } } $output->writeListEnd(); @@ -35383,17 +35435,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1220 = 0; - $_ktype1221 = 0; - $_vtype1222 = 0; - $xfer += $input->readMapBegin($_ktype1221, $_vtype1222, $_size1220); - for ($_i1224 = 0; $_i1224 < $_size1220; ++$_i1224) + $_size1227 = 0; + $_ktype1228 = 0; + $_vtype1229 = 0; + $xfer += $input->readMapBegin($_ktype1228, $_vtype1229, $_size1227); + for ($_i1231 = 0; $_i1231 < $_size1227; ++$_i1231) { - $key1225 = ''; - $val1226 = ''; - $xfer += $input->readString($key1225); - $xfer += $input->readString($val1226); - $this->success[$key1225] = $val1226; + $key1232 = ''; + $val1233 = ''; + $xfer += $input->readString($key1232); + $xfer += $input->readString($val1233); + $this->success[$key1232] = $val1233; } $xfer += $input->readMapEnd(); } else { @@ -35429,10 +35481,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1227 => $viter1228) + foreach ($this->success as $kiter1234 => $viter1235) { - $xfer += $output->writeString($kiter1227); - $xfer += $output->writeString($viter1228); + $xfer += $output->writeString($kiter1234); + $xfer += $output->writeString($viter1235); } } $output->writeMapEnd(); @@ -35552,17 +35604,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1229 = 0; - $_ktype1230 = 0; - $_vtype1231 = 0; - $xfer += $input->readMapBegin($_ktype1230, $_vtype1231, $_size1229); - for ($_i1233 = 0; $_i1233 < $_size1229; ++$_i1233) + $_size1236 = 0; + $_ktype1237 = 0; + $_vtype1238 = 0; + $xfer += $input->readMapBegin($_ktype1237, $_vtype1238, $_size1236); + for ($_i1240 = 0; $_i1240 < $_size1236; ++$_i1240) { - $key1234 = ''; - $val1235 = ''; - $xfer += $input->readString($key1234); - $xfer += $input->readString($val1235); - $this->part_vals[$key1234] = $val1235; + $key1241 = ''; + $val1242 = ''; + $xfer += $input->readString($key1241); + $xfer += $input->readString($val1242); + $this->part_vals[$key1241] = $val1242; } $xfer += $input->readMapEnd(); } else { @@ -35607,10 +35659,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1236 => $viter1237) + foreach ($this->part_vals as $kiter1243 => $viter1244) { - $xfer += $output->writeString($kiter1236); - $xfer += $output->writeString($viter1237); + $xfer += $output->writeString($kiter1243); + $xfer += $output->writeString($viter1244); } } $output->writeMapEnd(); @@ -35932,17 +35984,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1238 = 0; - $_ktype1239 = 0; - $_vtype1240 = 0; - $xfer += $input->readMapBegin($_ktype1239, $_vtype1240, $_size1238); - for ($_i1242 = 0; $_i1242 < $_size1238; ++$_i1242) + $_size1245 = 0; + $_ktype1246 = 0; + $_vtype1247 = 0; + $xfer += $input->readMapBegin($_ktype1246, $_vtype1247, $_size1245); + for ($_i1249 = 0; $_i1249 < $_size1245; ++$_i1249) { - $key1243 = ''; - $val1244 = ''; - $xfer += $input->readString($key1243); - $xfer += $input->readString($val1244); - $this->part_vals[$key1243] = $val1244; + $key1250 = ''; + $val1251 = ''; + $xfer += $input->readString($key1250); + $xfer += $input->readString($val1251); + $this->part_vals[$key1250] = $val1251; } $xfer += $input->readMapEnd(); } else { @@ -35987,10 +36039,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1245 => $viter1246) + foreach ($this->part_vals as $kiter1252 => $viter1253) { - $xfer += $output->writeString($kiter1245); - $xfer += $output->writeString($viter1246); + $xfer += $output->writeString($kiter1252); + $xfer += $output->writeString($viter1253); } } $output->writeMapEnd(); @@ -40949,14 +41001,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1247 = 0; - $_etype1250 = 0; - $xfer += $input->readListBegin($_etype1250, $_size1247); - for ($_i1251 = 0; $_i1251 < $_size1247; ++$_i1251) + $_size1254 = 0; + $_etype1257 = 0; + $xfer += $input->readListBegin($_etype1257, $_size1254); + for ($_i1258 = 0; $_i1258 < $_size1254; ++$_i1258) { - $elem1252 = null; - $xfer += $input->readString($elem1252); - $this->success []= $elem1252; + $elem1259 = null; + $xfer += $input->readString($elem1259); + $this->success []= $elem1259; } $xfer += $input->readListEnd(); } else { @@ -40992,9 +41044,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1253) + foreach ($this->success as $iter1260) { - $xfer += $output->writeString($iter1253); + $xfer += $output->writeString($iter1260); } } $output->writeListEnd(); @@ -41863,14 +41915,14 @@ class ThriftHiveMetastore_get_role_names_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 { @@ -41906,9 +41958,9 @@ class ThriftHiveMetastore_get_role_names_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(); @@ -42599,15 +42651,15 @@ class ThriftHiveMetastore_list_roles_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; - $elem1266 = new \metastore\Role(); - $xfer += $elem1266->read($input); - $this->success []= $elem1266; + $elem1273 = null; + $elem1273 = new \metastore\Role(); + $xfer += $elem1273->read($input); + $this->success []= $elem1273; } $xfer += $input->readListEnd(); } else { @@ -42643,9 +42695,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1267) + foreach ($this->success as $iter1274) { - $xfer += $iter1267->write($output); + $xfer += $iter1274->write($output); } } $output->writeListEnd(); @@ -43307,14 +43359,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = 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; - $xfer += $input->readString($elem1273); - $this->group_names []= $elem1273; + $elem1280 = null; + $xfer += $input->readString($elem1280); + $this->group_names []= $elem1280; } $xfer += $input->readListEnd(); } else { @@ -43355,9 +43407,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1274) + foreach ($this->group_names as $iter1281) { - $xfer += $output->writeString($iter1274); + $xfer += $output->writeString($iter1281); } } $output->writeListEnd(); @@ -43665,15 +43717,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $elem1280 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1280->read($input); - $this->success []= $elem1280; + $elem1287 = null; + $elem1287 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1287->read($input); + $this->success []= $elem1287; } $xfer += $input->readListEnd(); } else { @@ -43709,9 +43761,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1281) + foreach ($this->success as $iter1288) { - $xfer += $iter1281->write($output); + $xfer += $iter1288->write($output); } } $output->writeListEnd(); @@ -44343,14 +44395,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = 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; - $xfer += $input->readString($elem1287); - $this->group_names []= $elem1287; + $elem1294 = null; + $xfer += $input->readString($elem1294); + $this->group_names []= $elem1294; } $xfer += $input->readListEnd(); } else { @@ -44383,9 +44435,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1288) + foreach ($this->group_names as $iter1295) { - $xfer += $output->writeString($iter1288); + $xfer += $output->writeString($iter1295); } } $output->writeListEnd(); @@ -44461,14 +44513,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem1294; + $elem1301 = null; + $xfer += $input->readString($elem1301); + $this->success []= $elem1301; } $xfer += $input->readListEnd(); } else { @@ -44504,9 +44556,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1295) + foreach ($this->success as $iter1302) { - $xfer += $output->writeString($iter1295); + $xfer += $output->writeString($iter1302); } } $output->writeListEnd(); @@ -45623,14 +45675,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_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 { @@ -45658,9 +45710,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_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(); @@ -46299,14 +46351,14 @@ class ThriftHiveMetastore_get_master_keys_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 { @@ -46334,9 +46386,9 @@ class ThriftHiveMetastore_get_master_keys_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(); @@ -47266,6 +47318,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; @@ -56875,15 +57057,15 @@ class ThriftHiveMetastore_get_schema_all_versions_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; - $elem1315 = new \metastore\SchemaVersion(); - $xfer += $elem1315->read($input); - $this->success []= $elem1315; + $elem1322 = null; + $elem1322 = new \metastore\SchemaVersion(); + $xfer += $elem1322->read($input); + $this->success []= $elem1322; } $xfer += $input->readListEnd(); } else { @@ -56927,9 +57109,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1316) + foreach ($this->success as $iter1323) { - $xfer += $iter1316->write($output); + $xfer += $iter1323->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 14416b4..5704fe0 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,176 @@ class CommitTxnRequest { } +class ReplTblWriteIdStateRequest { + static $_TSPEC; + + /** + * @var string + */ + public $validWriteIdlist = 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' => 'dbName', + 'type' => TType::STRING, + ), + 3 => array( + 'var' => 'tableName', + 'type' => TType::STRING, + ), + 4 => 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['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->dbName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 3: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->tableName); + } else { + $xfer += $input->skip($ftype); + } + break; + case 4: + 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->dbName !== null) { + $xfer += $output->writeFieldBegin('dbName', TType::STRING, 2); + $xfer += $output->writeString($this->dbName); + $xfer += $output->writeFieldEnd(); + } + if ($this->tableName !== null) { + $xfer += $output->writeFieldBegin('tableName', TType::STRING, 3); + $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, 4); + { + $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 +16727,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 +16769,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 +16898,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 +16957,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 +17034,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 +17070,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(); @@ -16988,14 +17158,14 @@ class AllocateTableWriteIdsRequest { case 1: 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 { @@ -17037,9 +17207,9 @@ class AllocateTableWriteIdsRequest { { $output->writeListBegin(TType::I64, count($this->txnIds)); { - foreach ($this->txnIds as $iter550) + foreach ($this->txnIds as $iter557) { - $xfer += $output->writeI64($iter550); + $xfer += $output->writeI64($iter557); } } $output->writeListEnd(); @@ -17212,15 +17382,15 @@ class AllocateTableWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->txnToWriteIds = array(); - $_size551 = 0; - $_etype554 = 0; - $xfer += $input->readListBegin($_etype554, $_size551); - for ($_i555 = 0; $_i555 < $_size551; ++$_i555) + $_size558 = 0; + $_etype561 = 0; + $xfer += $input->readListBegin($_etype561, $_size558); + for ($_i562 = 0; $_i562 < $_size558; ++$_i562) { - $elem556 = null; - $elem556 = new \metastore\TxnToWriteId(); - $xfer += $elem556->read($input); - $this->txnToWriteIds []= $elem556; + $elem563 = null; + $elem563 = new \metastore\TxnToWriteId(); + $xfer += $elem563->read($input); + $this->txnToWriteIds []= $elem563; } $xfer += $input->readListEnd(); } else { @@ -17248,9 +17418,9 @@ class AllocateTableWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->txnToWriteIds)); { - foreach ($this->txnToWriteIds as $iter557) + foreach ($this->txnToWriteIds as $iter564) { - $xfer += $iter557->write($output); + $xfer += $iter564->write($output); } } $output->writeListEnd(); @@ -17595,15 +17765,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = 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\LockComponent(); - $xfer += $elem563->read($input); - $this->component []= $elem563; + $elem570 = null; + $elem570 = new \metastore\LockComponent(); + $xfer += $elem570->read($input); + $this->component []= $elem570; } $xfer += $input->readListEnd(); } else { @@ -17659,9 +17829,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter564) + foreach ($this->component as $iter571) { - $xfer += $iter564->write($output); + $xfer += $iter571->write($output); } } $output->writeListEnd(); @@ -18604,15 +18774,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = 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\ShowLocksResponseElement(); - $xfer += $elem570->read($input); - $this->locks []= $elem570; + $elem577 = null; + $elem577 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem577->read($input); + $this->locks []= $elem577; } $xfer += $input->readListEnd(); } else { @@ -18640,9 +18810,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter571) + foreach ($this->locks as $iter578) { - $xfer += $iter571->write($output); + $xfer += $iter578->write($output); } } $output->writeListEnd(); @@ -18917,17 +19087,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size572 = 0; - $_etype575 = 0; - $xfer += $input->readSetBegin($_etype575, $_size572); - for ($_i576 = 0; $_i576 < $_size572; ++$_i576) + $_size579 = 0; + $_etype582 = 0; + $xfer += $input->readSetBegin($_etype582, $_size579); + for ($_i583 = 0; $_i583 < $_size579; ++$_i583) { - $elem577 = null; - $xfer += $input->readI64($elem577); - if (is_scalar($elem577)) { - $this->aborted[$elem577] = true; + $elem584 = null; + $xfer += $input->readI64($elem584); + if (is_scalar($elem584)) { + $this->aborted[$elem584] = true; } else { - $this->aborted []= $elem577; + $this->aborted []= $elem584; } } $xfer += $input->readSetEnd(); @@ -18938,17 +19108,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size578 = 0; - $_etype581 = 0; - $xfer += $input->readSetBegin($_etype581, $_size578); - for ($_i582 = 0; $_i582 < $_size578; ++$_i582) + $_size585 = 0; + $_etype588 = 0; + $xfer += $input->readSetBegin($_etype588, $_size585); + for ($_i589 = 0; $_i589 < $_size585; ++$_i589) { - $elem583 = null; - $xfer += $input->readI64($elem583); - if (is_scalar($elem583)) { - $this->nosuch[$elem583] = true; + $elem590 = null; + $xfer += $input->readI64($elem590); + if (is_scalar($elem590)) { + $this->nosuch[$elem590] = true; } else { - $this->nosuch []= $elem583; + $this->nosuch []= $elem590; } } $xfer += $input->readSetEnd(); @@ -18977,12 +19147,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter584 => $iter585) + foreach ($this->aborted as $iter591 => $iter592) { - if (is_scalar($iter585)) { - $xfer += $output->writeI64($iter584); + if (is_scalar($iter592)) { + $xfer += $output->writeI64($iter591); } else { - $xfer += $output->writeI64($iter585); + $xfer += $output->writeI64($iter592); } } } @@ -18998,12 +19168,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter586 => $iter587) + foreach ($this->nosuch as $iter593 => $iter594) { - if (is_scalar($iter587)) { - $xfer += $output->writeI64($iter586); + if (is_scalar($iter594)) { + $xfer += $output->writeI64($iter593); } else { - $xfer += $output->writeI64($iter587); + $xfer += $output->writeI64($iter594); } } } @@ -19162,17 +19332,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size588 = 0; - $_ktype589 = 0; - $_vtype590 = 0; - $xfer += $input->readMapBegin($_ktype589, $_vtype590, $_size588); - for ($_i592 = 0; $_i592 < $_size588; ++$_i592) + $_size595 = 0; + $_ktype596 = 0; + $_vtype597 = 0; + $xfer += $input->readMapBegin($_ktype596, $_vtype597, $_size595); + for ($_i599 = 0; $_i599 < $_size595; ++$_i599) { - $key593 = ''; - $val594 = ''; - $xfer += $input->readString($key593); - $xfer += $input->readString($val594); - $this->properties[$key593] = $val594; + $key600 = ''; + $val601 = ''; + $xfer += $input->readString($key600); + $xfer += $input->readString($val601); + $this->properties[$key600] = $val601; } $xfer += $input->readMapEnd(); } else { @@ -19225,10 +19395,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter595 => $viter596) + foreach ($this->properties as $kiter602 => $viter603) { - $xfer += $output->writeString($kiter595); - $xfer += $output->writeString($viter596); + $xfer += $output->writeString($kiter602); + $xfer += $output->writeString($viter603); } } $output->writeMapEnd(); @@ -19815,15 +19985,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size597 = 0; - $_etype600 = 0; - $xfer += $input->readListBegin($_etype600, $_size597); - for ($_i601 = 0; $_i601 < $_size597; ++$_i601) + $_size604 = 0; + $_etype607 = 0; + $xfer += $input->readListBegin($_etype607, $_size604); + for ($_i608 = 0; $_i608 < $_size604; ++$_i608) { - $elem602 = null; - $elem602 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem602->read($input); - $this->compacts []= $elem602; + $elem609 = null; + $elem609 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem609->read($input); + $this->compacts []= $elem609; } $xfer += $input->readListEnd(); } else { @@ -19851,9 +20021,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter603) + foreach ($this->compacts as $iter610) { - $xfer += $iter603->write($output); + $xfer += $iter610->write($output); } } $output->writeListEnd(); @@ -20000,14 +20170,14 @@ class AddDynamicPartitions { case 5: if ($ftype == TType::LST) { $this->partitionnames = 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; - $xfer += $input->readString($elem609); - $this->partitionnames []= $elem609; + $elem616 = null; + $xfer += $input->readString($elem616); + $this->partitionnames []= $elem616; } $xfer += $input->readListEnd(); } else { @@ -20062,9 +20232,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter610) + foreach ($this->partitionnames as $iter617) { - $xfer += $output->writeString($iter610); + $xfer += $output->writeString($iter617); } } $output->writeListEnd(); @@ -20388,17 +20558,17 @@ class CreationMetadata { case 4: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size611 = 0; - $_etype614 = 0; - $xfer += $input->readSetBegin($_etype614, $_size611); - for ($_i615 = 0; $_i615 < $_size611; ++$_i615) + $_size618 = 0; + $_etype621 = 0; + $xfer += $input->readSetBegin($_etype621, $_size618); + for ($_i622 = 0; $_i622 < $_size618; ++$_i622) { - $elem616 = null; - $xfer += $input->readString($elem616); - if (is_scalar($elem616)) { - $this->tablesUsed[$elem616] = true; + $elem623 = null; + $xfer += $input->readString($elem623); + if (is_scalar($elem623)) { + $this->tablesUsed[$elem623] = true; } else { - $this->tablesUsed []= $elem616; + $this->tablesUsed []= $elem623; } } $xfer += $input->readSetEnd(); @@ -20449,12 +20619,12 @@ class CreationMetadata { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter617 => $iter618) + foreach ($this->tablesUsed as $iter624 => $iter625) { - if (is_scalar($iter618)) { - $xfer += $output->writeString($iter617); + if (is_scalar($iter625)) { + $xfer += $output->writeString($iter624); } else { - $xfer += $output->writeString($iter618); + $xfer += $output->writeString($iter625); } } } @@ -20859,15 +21029,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size619 = 0; - $_etype622 = 0; - $xfer += $input->readListBegin($_etype622, $_size619); - for ($_i623 = 0; $_i623 < $_size619; ++$_i623) + $_size626 = 0; + $_etype629 = 0; + $xfer += $input->readListBegin($_etype629, $_size626); + for ($_i630 = 0; $_i630 < $_size626; ++$_i630) { - $elem624 = null; - $elem624 = new \metastore\NotificationEvent(); - $xfer += $elem624->read($input); - $this->events []= $elem624; + $elem631 = null; + $elem631 = new \metastore\NotificationEvent(); + $xfer += $elem631->read($input); + $this->events []= $elem631; } $xfer += $input->readListEnd(); } else { @@ -20895,9 +21065,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter625) + foreach ($this->events as $iter632) { - $xfer += $iter625->write($output); + $xfer += $iter632->write($output); } } $output->writeListEnd(); @@ -21265,14 +21435,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = 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; - $xfer += $input->readString($elem631); - $this->filesAdded []= $elem631; + $elem638 = null; + $xfer += $input->readString($elem638); + $this->filesAdded []= $elem638; } $xfer += $input->readListEnd(); } else { @@ -21282,14 +21452,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size632 = 0; - $_etype635 = 0; - $xfer += $input->readListBegin($_etype635, $_size632); - for ($_i636 = 0; $_i636 < $_size632; ++$_i636) + $_size639 = 0; + $_etype642 = 0; + $xfer += $input->readListBegin($_etype642, $_size639); + for ($_i643 = 0; $_i643 < $_size639; ++$_i643) { - $elem637 = null; - $xfer += $input->readString($elem637); - $this->filesAddedChecksum []= $elem637; + $elem644 = null; + $xfer += $input->readString($elem644); + $this->filesAddedChecksum []= $elem644; } $xfer += $input->readListEnd(); } else { @@ -21322,9 +21492,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter638) + foreach ($this->filesAdded as $iter645) { - $xfer += $output->writeString($iter638); + $xfer += $output->writeString($iter645); } } $output->writeListEnd(); @@ -21339,9 +21509,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter639) + foreach ($this->filesAddedChecksum as $iter646) { - $xfer += $output->writeString($iter639); + $xfer += $output->writeString($iter646); } } $output->writeListEnd(); @@ -21570,14 +21740,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size640 = 0; - $_etype643 = 0; - $xfer += $input->readListBegin($_etype643, $_size640); - for ($_i644 = 0; $_i644 < $_size640; ++$_i644) + $_size647 = 0; + $_etype650 = 0; + $xfer += $input->readListBegin($_etype650, $_size647); + for ($_i651 = 0; $_i651 < $_size647; ++$_i651) { - $elem645 = null; - $xfer += $input->readString($elem645); - $this->partitionVals []= $elem645; + $elem652 = null; + $xfer += $input->readString($elem652); + $this->partitionVals []= $elem652; } $xfer += $input->readListEnd(); } else { @@ -21635,9 +21805,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter646) + foreach ($this->partitionVals as $iter653) { - $xfer += $output->writeString($iter646); + $xfer += $output->writeString($iter653); } } $output->writeListEnd(); @@ -21870,18 +22040,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size647 = 0; - $_ktype648 = 0; - $_vtype649 = 0; - $xfer += $input->readMapBegin($_ktype648, $_vtype649, $_size647); - for ($_i651 = 0; $_i651 < $_size647; ++$_i651) + $_size654 = 0; + $_ktype655 = 0; + $_vtype656 = 0; + $xfer += $input->readMapBegin($_ktype655, $_vtype656, $_size654); + for ($_i658 = 0; $_i658 < $_size654; ++$_i658) { - $key652 = 0; - $val653 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key652); - $val653 = new \metastore\MetadataPpdResult(); - $xfer += $val653->read($input); - $this->metadata[$key652] = $val653; + $key659 = 0; + $val660 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key659); + $val660 = new \metastore\MetadataPpdResult(); + $xfer += $val660->read($input); + $this->metadata[$key659] = $val660; } $xfer += $input->readMapEnd(); } else { @@ -21916,10 +22086,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter654 => $viter655) + foreach ($this->metadata as $kiter661 => $viter662) { - $xfer += $output->writeI64($kiter654); - $xfer += $viter655->write($output); + $xfer += $output->writeI64($kiter661); + $xfer += $viter662->write($output); } } $output->writeMapEnd(); @@ -22021,14 +22191,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size656 = 0; - $_etype659 = 0; - $xfer += $input->readListBegin($_etype659, $_size656); - for ($_i660 = 0; $_i660 < $_size656; ++$_i660) + $_size663 = 0; + $_etype666 = 0; + $xfer += $input->readListBegin($_etype666, $_size663); + for ($_i667 = 0; $_i667 < $_size663; ++$_i667) { - $elem661 = null; - $xfer += $input->readI64($elem661); - $this->fileIds []= $elem661; + $elem668 = null; + $xfer += $input->readI64($elem668); + $this->fileIds []= $elem668; } $xfer += $input->readListEnd(); } else { @@ -22077,9 +22247,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter662) + foreach ($this->fileIds as $iter669) { - $xfer += $output->writeI64($iter662); + $xfer += $output->writeI64($iter669); } } $output->writeListEnd(); @@ -22173,17 +22343,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size663 = 0; - $_ktype664 = 0; - $_vtype665 = 0; - $xfer += $input->readMapBegin($_ktype664, $_vtype665, $_size663); - for ($_i667 = 0; $_i667 < $_size663; ++$_i667) + $_size670 = 0; + $_ktype671 = 0; + $_vtype672 = 0; + $xfer += $input->readMapBegin($_ktype671, $_vtype672, $_size670); + for ($_i674 = 0; $_i674 < $_size670; ++$_i674) { - $key668 = 0; - $val669 = ''; - $xfer += $input->readI64($key668); - $xfer += $input->readString($val669); - $this->metadata[$key668] = $val669; + $key675 = 0; + $val676 = ''; + $xfer += $input->readI64($key675); + $xfer += $input->readString($val676); + $this->metadata[$key675] = $val676; } $xfer += $input->readMapEnd(); } else { @@ -22218,10 +22388,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter670 => $viter671) + foreach ($this->metadata as $kiter677 => $viter678) { - $xfer += $output->writeI64($kiter670); - $xfer += $output->writeString($viter671); + $xfer += $output->writeI64($kiter677); + $xfer += $output->writeString($viter678); } } $output->writeMapEnd(); @@ -22290,14 +22460,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size672 = 0; - $_etype675 = 0; - $xfer += $input->readListBegin($_etype675, $_size672); - for ($_i676 = 0; $_i676 < $_size672; ++$_i676) + $_size679 = 0; + $_etype682 = 0; + $xfer += $input->readListBegin($_etype682, $_size679); + for ($_i683 = 0; $_i683 < $_size679; ++$_i683) { - $elem677 = null; - $xfer += $input->readI64($elem677); - $this->fileIds []= $elem677; + $elem684 = null; + $xfer += $input->readI64($elem684); + $this->fileIds []= $elem684; } $xfer += $input->readListEnd(); } else { @@ -22325,9 +22495,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter678) + foreach ($this->fileIds as $iter685) { - $xfer += $output->writeI64($iter678); + $xfer += $output->writeI64($iter685); } } $output->writeListEnd(); @@ -22467,14 +22637,14 @@ class PutFileMetadataRequest { 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 { @@ -22484,14 +22654,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size685 = 0; - $_etype688 = 0; - $xfer += $input->readListBegin($_etype688, $_size685); - for ($_i689 = 0; $_i689 < $_size685; ++$_i689) + $_size692 = 0; + $_etype695 = 0; + $xfer += $input->readListBegin($_etype695, $_size692); + for ($_i696 = 0; $_i696 < $_size692; ++$_i696) { - $elem690 = null; - $xfer += $input->readString($elem690); - $this->metadata []= $elem690; + $elem697 = null; + $xfer += $input->readString($elem697); + $this->metadata []= $elem697; } $xfer += $input->readListEnd(); } else { @@ -22526,9 +22696,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter691) + foreach ($this->fileIds as $iter698) { - $xfer += $output->writeI64($iter691); + $xfer += $output->writeI64($iter698); } } $output->writeListEnd(); @@ -22543,9 +22713,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter692) + foreach ($this->metadata as $iter699) { - $xfer += $output->writeString($iter692); + $xfer += $output->writeString($iter699); } } $output->writeListEnd(); @@ -22664,14 +22834,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size693 = 0; - $_etype696 = 0; - $xfer += $input->readListBegin($_etype696, $_size693); - for ($_i697 = 0; $_i697 < $_size693; ++$_i697) + $_size700 = 0; + $_etype703 = 0; + $xfer += $input->readListBegin($_etype703, $_size700); + for ($_i704 = 0; $_i704 < $_size700; ++$_i704) { - $elem698 = null; - $xfer += $input->readI64($elem698); - $this->fileIds []= $elem698; + $elem705 = null; + $xfer += $input->readI64($elem705); + $this->fileIds []= $elem705; } $xfer += $input->readListEnd(); } else { @@ -22699,9 +22869,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter699) + foreach ($this->fileIds as $iter706) { - $xfer += $output->writeI64($iter699); + $xfer += $output->writeI64($iter706); } } $output->writeListEnd(); @@ -22985,15 +23155,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = 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; - $elem705 = new \metastore\Function(); - $xfer += $elem705->read($input); - $this->functions []= $elem705; + $elem712 = null; + $elem712 = new \metastore\Function(); + $xfer += $elem712->read($input); + $this->functions []= $elem712; } $xfer += $input->readListEnd(); } else { @@ -23021,9 +23191,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter706) + foreach ($this->functions as $iter713) { - $xfer += $iter706->write($output); + $xfer += $iter713->write($output); } } $output->writeListEnd(); @@ -23087,14 +23257,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = 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; - $xfer += $input->readI32($elem712); - $this->values []= $elem712; + $elem719 = null; + $xfer += $input->readI32($elem719); + $this->values []= $elem719; } $xfer += $input->readListEnd(); } else { @@ -23122,9 +23292,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter713) + foreach ($this->values as $iter720) { - $xfer += $output->writeI32($iter713); + $xfer += $output->writeI32($iter720); } } $output->writeListEnd(); @@ -23458,14 +23628,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = 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->readString($elem719); - $this->tblNames []= $elem719; + $elem726 = null; + $xfer += $input->readString($elem726); + $this->tblNames []= $elem726; } $xfer += $input->readListEnd(); } else { @@ -23513,9 +23683,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter720) + foreach ($this->tblNames as $iter727) { - $xfer += $output->writeString($iter720); + $xfer += $output->writeString($iter727); } } $output->writeListEnd(); @@ -23593,15 +23763,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = 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; - $elem726 = new \metastore\Table(); - $xfer += $elem726->read($input); - $this->tables []= $elem726; + $elem733 = null; + $elem733 = new \metastore\Table(); + $xfer += $elem733->read($input); + $this->tables []= $elem733; } $xfer += $input->readListEnd(); } else { @@ -23629,9 +23799,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter727) + foreach ($this->tables as $iter734) { - $xfer += $iter727->write($output); + $xfer += $iter734->write($output); } } $output->writeListEnd(); @@ -24043,17 +24213,17 @@ class Materialization { case 1: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size728 = 0; - $_etype731 = 0; - $xfer += $input->readSetBegin($_etype731, $_size728); - for ($_i732 = 0; $_i732 < $_size728; ++$_i732) + $_size735 = 0; + $_etype738 = 0; + $xfer += $input->readSetBegin($_etype738, $_size735); + for ($_i739 = 0; $_i739 < $_size735; ++$_i739) { - $elem733 = null; - $xfer += $input->readString($elem733); - if (is_scalar($elem733)) { - $this->tablesUsed[$elem733] = true; + $elem740 = null; + $xfer += $input->readString($elem740); + if (is_scalar($elem740)) { + $this->tablesUsed[$elem740] = true; } else { - $this->tablesUsed []= $elem733; + $this->tablesUsed []= $elem740; } } $xfer += $input->readSetEnd(); @@ -24103,12 +24273,12 @@ class Materialization { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter734 => $iter735) + foreach ($this->tablesUsed as $iter741 => $iter742) { - if (is_scalar($iter735)) { - $xfer += $output->writeString($iter734); + if (is_scalar($iter742)) { + $xfer += $output->writeString($iter741); } else { - $xfer += $output->writeString($iter735); + $xfer += $output->writeString($iter742); } } } @@ -25380,15 +25550,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size736 = 0; - $_etype739 = 0; - $xfer += $input->readListBegin($_etype739, $_size736); - for ($_i740 = 0; $_i740 < $_size736; ++$_i740) + $_size743 = 0; + $_etype746 = 0; + $xfer += $input->readListBegin($_etype746, $_size743); + for ($_i747 = 0; $_i747 < $_size743; ++$_i747) { - $elem741 = null; - $elem741 = new \metastore\WMPool(); - $xfer += $elem741->read($input); - $this->pools []= $elem741; + $elem748 = null; + $elem748 = new \metastore\WMPool(); + $xfer += $elem748->read($input); + $this->pools []= $elem748; } $xfer += $input->readListEnd(); } else { @@ -25398,15 +25568,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size742 = 0; - $_etype745 = 0; - $xfer += $input->readListBegin($_etype745, $_size742); - for ($_i746 = 0; $_i746 < $_size742; ++$_i746) + $_size749 = 0; + $_etype752 = 0; + $xfer += $input->readListBegin($_etype752, $_size749); + for ($_i753 = 0; $_i753 < $_size749; ++$_i753) { - $elem747 = null; - $elem747 = new \metastore\WMMapping(); - $xfer += $elem747->read($input); - $this->mappings []= $elem747; + $elem754 = null; + $elem754 = new \metastore\WMMapping(); + $xfer += $elem754->read($input); + $this->mappings []= $elem754; } $xfer += $input->readListEnd(); } else { @@ -25416,15 +25586,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size748 = 0; - $_etype751 = 0; - $xfer += $input->readListBegin($_etype751, $_size748); - for ($_i752 = 0; $_i752 < $_size748; ++$_i752) + $_size755 = 0; + $_etype758 = 0; + $xfer += $input->readListBegin($_etype758, $_size755); + for ($_i759 = 0; $_i759 < $_size755; ++$_i759) { - $elem753 = null; - $elem753 = new \metastore\WMTrigger(); - $xfer += $elem753->read($input); - $this->triggers []= $elem753; + $elem760 = null; + $elem760 = new \metastore\WMTrigger(); + $xfer += $elem760->read($input); + $this->triggers []= $elem760; } $xfer += $input->readListEnd(); } else { @@ -25434,15 +25604,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size754 = 0; - $_etype757 = 0; - $xfer += $input->readListBegin($_etype757, $_size754); - for ($_i758 = 0; $_i758 < $_size754; ++$_i758) + $_size761 = 0; + $_etype764 = 0; + $xfer += $input->readListBegin($_etype764, $_size761); + for ($_i765 = 0; $_i765 < $_size761; ++$_i765) { - $elem759 = null; - $elem759 = new \metastore\WMPoolTrigger(); - $xfer += $elem759->read($input); - $this->poolTriggers []= $elem759; + $elem766 = null; + $elem766 = new \metastore\WMPoolTrigger(); + $xfer += $elem766->read($input); + $this->poolTriggers []= $elem766; } $xfer += $input->readListEnd(); } else { @@ -25478,9 +25648,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter760) + foreach ($this->pools as $iter767) { - $xfer += $iter760->write($output); + $xfer += $iter767->write($output); } } $output->writeListEnd(); @@ -25495,9 +25665,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter761) + foreach ($this->mappings as $iter768) { - $xfer += $iter761->write($output); + $xfer += $iter768->write($output); } } $output->writeListEnd(); @@ -25512,9 +25682,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter762) + foreach ($this->triggers as $iter769) { - $xfer += $iter762->write($output); + $xfer += $iter769->write($output); } } $output->writeListEnd(); @@ -25529,9 +25699,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter763) + foreach ($this->poolTriggers as $iter770) { - $xfer += $iter763->write($output); + $xfer += $iter770->write($output); } } $output->writeListEnd(); @@ -26084,15 +26254,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size764 = 0; - $_etype767 = 0; - $xfer += $input->readListBegin($_etype767, $_size764); - for ($_i768 = 0; $_i768 < $_size764; ++$_i768) + $_size771 = 0; + $_etype774 = 0; + $xfer += $input->readListBegin($_etype774, $_size771); + for ($_i775 = 0; $_i775 < $_size771; ++$_i775) { - $elem769 = null; - $elem769 = new \metastore\WMResourcePlan(); - $xfer += $elem769->read($input); - $this->resourcePlans []= $elem769; + $elem776 = null; + $elem776 = new \metastore\WMResourcePlan(); + $xfer += $elem776->read($input); + $this->resourcePlans []= $elem776; } $xfer += $input->readListEnd(); } else { @@ -26120,9 +26290,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter770) + foreach ($this->resourcePlans as $iter777) { - $xfer += $iter770->write($output); + $xfer += $iter777->write($output); } } $output->writeListEnd(); @@ -26528,14 +26698,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = 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; - $xfer += $input->readString($elem776); - $this->errors []= $elem776; + $elem783 = null; + $xfer += $input->readString($elem783); + $this->errors []= $elem783; } $xfer += $input->readListEnd(); } else { @@ -26545,14 +26715,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size777 = 0; - $_etype780 = 0; - $xfer += $input->readListBegin($_etype780, $_size777); - for ($_i781 = 0; $_i781 < $_size777; ++$_i781) + $_size784 = 0; + $_etype787 = 0; + $xfer += $input->readListBegin($_etype787, $_size784); + for ($_i788 = 0; $_i788 < $_size784; ++$_i788) { - $elem782 = null; - $xfer += $input->readString($elem782); - $this->warnings []= $elem782; + $elem789 = null; + $xfer += $input->readString($elem789); + $this->warnings []= $elem789; } $xfer += $input->readListEnd(); } else { @@ -26580,9 +26750,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter783) + foreach ($this->errors as $iter790) { - $xfer += $output->writeString($iter783); + $xfer += $output->writeString($iter790); } } $output->writeListEnd(); @@ -26597,9 +26767,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter784) + foreach ($this->warnings as $iter791) { - $xfer += $output->writeString($iter784); + $xfer += $output->writeString($iter791); } } $output->writeListEnd(); @@ -27272,15 +27442,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size785 = 0; - $_etype788 = 0; - $xfer += $input->readListBegin($_etype788, $_size785); - for ($_i789 = 0; $_i789 < $_size785; ++$_i789) + $_size792 = 0; + $_etype795 = 0; + $xfer += $input->readListBegin($_etype795, $_size792); + for ($_i796 = 0; $_i796 < $_size792; ++$_i796) { - $elem790 = null; - $elem790 = new \metastore\WMTrigger(); - $xfer += $elem790->read($input); - $this->triggers []= $elem790; + $elem797 = null; + $elem797 = new \metastore\WMTrigger(); + $xfer += $elem797->read($input); + $this->triggers []= $elem797; } $xfer += $input->readListEnd(); } else { @@ -27308,9 +27478,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter791) + foreach ($this->triggers as $iter798) { - $xfer += $iter791->write($output); + $xfer += $iter798->write($output); } } $output->writeListEnd(); @@ -28894,15 +29064,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = 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\FieldSchema(); - $xfer += $elem797->read($input); - $this->cols []= $elem797; + $elem804 = null; + $elem804 = new \metastore\FieldSchema(); + $xfer += $elem804->read($input); + $this->cols []= $elem804; } $xfer += $input->readListEnd(); } else { @@ -28991,9 +29161,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter798) + foreach ($this->cols as $iter805) { - $xfer += $iter798->write($output); + $xfer += $iter805->write($output); } } $output->writeListEnd(); @@ -29315,15 +29485,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = 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\SchemaVersionDescriptor(); - $xfer += $elem804->read($input); - $this->schemaVersions []= $elem804; + $elem811 = null; + $elem811 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem811->read($input); + $this->schemaVersions []= $elem811; } $xfer += $input->readListEnd(); } else { @@ -29351,9 +29521,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter805) + foreach ($this->schemaVersions as $iter812) { - $xfer += $iter805->write($output); + $xfer += $iter812->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 079c7fc..63da80d 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)') @@ -1165,6 +1166,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 b0e64d8..4645942 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: @@ -6867,6 +6874,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: @@ -8948,6 +8984,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 @@ -12637,6 +12674,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) @@ -15507,10 +15563,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype805, _size802) = iprot.readListBegin() - for _i806 in xrange(_size802): - _elem807 = iprot.readString() - self.success.append(_elem807) + (_etype812, _size809) = iprot.readListBegin() + for _i813 in xrange(_size809): + _elem814 = iprot.readString() + self.success.append(_elem814) iprot.readListEnd() else: iprot.skip(ftype) @@ -15533,8 +15589,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 iter808 in self.success: - oprot.writeString(iter808) + for iter815 in self.success: + oprot.writeString(iter815) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15639,10 +15695,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) @@ -15665,8 +15721,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: @@ -16436,12 +16492,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype817, _vtype818, _size816 ) = iprot.readMapBegin() - for _i820 in xrange(_size816): - _key821 = iprot.readString() - _val822 = Type() - _val822.read(iprot) - self.success[_key821] = _val822 + (_ktype824, _vtype825, _size823 ) = iprot.readMapBegin() + for _i827 in xrange(_size823): + _key828 = iprot.readString() + _val829 = Type() + _val829.read(iprot) + self.success[_key828] = _val829 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16464,9 +16520,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 kiter823,viter824 in self.success.items(): - oprot.writeString(kiter823) - viter824.write(oprot) + for kiter830,viter831 in self.success.items(): + oprot.writeString(kiter830) + viter831.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -16609,11 +16665,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype828, _size825) = iprot.readListBegin() - for _i829 in xrange(_size825): - _elem830 = FieldSchema() - _elem830.read(iprot) - self.success.append(_elem830) + (_etype835, _size832) = iprot.readListBegin() + for _i836 in xrange(_size832): + _elem837 = FieldSchema() + _elem837.read(iprot) + self.success.append(_elem837) iprot.readListEnd() else: iprot.skip(ftype) @@ -16648,8 +16704,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 iter831 in self.success: - iter831.write(oprot) + for iter838 in self.success: + iter838.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16816,199 +16872,6 @@ 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) - 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 iter838 in self.success: - iter838.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 = [] (_etype842, _size839) = iprot.readListBegin() for _i843 in xrange(_size839): _elem844 = FieldSchema() @@ -17044,7 +16907,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)) @@ -17090,25 +16953,22 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class get_schema_with_environment_context_args: +class get_schema_args: """ Attributes: - db_name - table_name - - environment_context """ thrift_spec = ( None, # 0 (1, TType.STRING, 'db_name', None, None, ), # 1 (2, TType.STRING, 'table_name', None, None, ), # 2 - (3, TType.STRUCT, 'environment_context', (EnvironmentContext, EnvironmentContext.thrift_spec), None, ), # 3 ) - def __init__(self, db_name=None, table_name=None, environment_context=None,): + def __init__(self, db_name=None, table_name=None,): self.db_name = db_name self.table_name = table_name - self.environment_context = environment_context 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: @@ -17129,12 +16989,6 @@ def read(self, iprot): self.table_name = iprot.readString() else: iprot.skip(ftype) - elif fid == 3: - if ftype == TType.STRUCT: - self.environment_context = EnvironmentContext() - self.environment_context.read(iprot) - else: - iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -17144,7 +16998,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_with_environment_context_args') + oprot.writeStructBegin('get_schema_args') if self.db_name is not None: oprot.writeFieldBegin('db_name', TType.STRING, 1) oprot.writeString(self.db_name) @@ -17153,10 +17007,6 @@ def write(self, oprot): oprot.writeFieldBegin('table_name', TType.STRING, 2) oprot.writeString(self.table_name) oprot.writeFieldEnd() - if self.environment_context is not None: - oprot.writeFieldBegin('environment_context', TType.STRUCT, 3) - self.environment_context.write(oprot) - oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -17168,7 +17018,6 @@ def __hash__(self): value = 17 value = (value * 31) ^ hash(self.db_name) value = (value * 31) ^ hash(self.table_name) - value = (value * 31) ^ hash(self.environment_context) return value def __repr__(self): @@ -17182,7 +17031,7 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class get_schema_with_environment_context_result: +class get_schema_result: """ Attributes: - success @@ -17251,7 +17100,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_with_environment_context_result') + oprot.writeStructBegin('get_schema_result') if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) @@ -17297,19 +17146,25 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class create_table_args: +class get_schema_with_environment_context_args: """ Attributes: - - tbl + - db_name + - table_name + - environment_context """ thrift_spec = ( None, # 0 - (1, TType.STRUCT, 'tbl', (Table, Table.thrift_spec), None, ), # 1 + (1, TType.STRING, 'db_name', None, None, ), # 1 + (2, TType.STRING, 'table_name', None, None, ), # 2 + (3, TType.STRUCT, 'environment_context', (EnvironmentContext, EnvironmentContext.thrift_spec), None, ), # 3 ) - def __init__(self, tbl=None,): - self.tbl = tbl + def __init__(self, db_name=None, table_name=None, environment_context=None,): + self.db_name = db_name + self.table_name = table_name + self.environment_context = environment_context 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: @@ -17321,9 +17176,19 @@ def read(self, iprot): if ftype == TType.STOP: break if fid == 1: + if ftype == TType.STRING: + self.db_name = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.table_name = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: if ftype == TType.STRUCT: - self.tbl = Table() - self.tbl.read(iprot) + self.environment_context = EnvironmentContext() + self.environment_context.read(iprot) else: iprot.skip(ftype) else: @@ -17335,10 +17200,18 @@ 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('create_table_args') - if self.tbl is not None: - oprot.writeFieldBegin('tbl', TType.STRUCT, 1) - self.tbl.write(oprot) + oprot.writeStructBegin('get_schema_with_environment_context_args') + if self.db_name is not None: + oprot.writeFieldBegin('db_name', TType.STRING, 1) + oprot.writeString(self.db_name) + oprot.writeFieldEnd() + if self.table_name is not None: + oprot.writeFieldBegin('table_name', TType.STRING, 2) + oprot.writeString(self.table_name) + oprot.writeFieldEnd() + if self.environment_context is not None: + oprot.writeFieldBegin('environment_context', TType.STRUCT, 3) + self.environment_context.write(oprot) oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -17349,7 +17222,9 @@ def validate(self): def __hash__(self): value = 17 - value = (value * 31) ^ hash(self.tbl) + value = (value * 31) ^ hash(self.db_name) + value = (value * 31) ^ hash(self.table_name) + value = (value * 31) ^ hash(self.environment_context) return value def __repr__(self): @@ -17363,28 +17238,27 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class create_table_result: +class get_schema_with_environment_context_result: """ Attributes: + - success - o1 - o2 - o3 - - o4 """ thrift_spec = ( - None, # 0 - (1, TType.STRUCT, 'o1', (AlreadyExistsException, AlreadyExistsException.thrift_spec), None, ), # 1 - (2, TType.STRUCT, 'o2', (InvalidObjectException, InvalidObjectException.thrift_spec), None, ), # 2 - (3, TType.STRUCT, 'o3', (MetaException, MetaException.thrift_spec), None, ), # 3 - (4, TType.STRUCT, 'o4', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 4 + (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, o1=None, o2=None, o3=None, o4=None,): + def __init__(self, success=None, o1=None, o2=None, o3=None,): + self.success = success self.o1 = o1 self.o2 = o2 self.o3 = o3 - self.o4 = o4 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: @@ -17395,30 +17269,35 @@ def read(self, iprot): (fname, ftype, fid) = iprot.readFieldBegin() if ftype == TType.STOP: break - if fid == 1: + 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 = AlreadyExistsException() + self.o1 = MetaException() self.o1.read(iprot) else: iprot.skip(ftype) elif fid == 2: if ftype == TType.STRUCT: - self.o2 = InvalidObjectException() + self.o2 = UnknownTableException() self.o2.read(iprot) else: iprot.skip(ftype) elif fid == 3: if ftype == TType.STRUCT: - self.o3 = MetaException() + self.o3 = UnknownDBException() self.o3.read(iprot) else: iprot.skip(ftype) - elif fid == 4: - if ftype == TType.STRUCT: - self.o4 = NoSuchObjectException() - self.o4.read(iprot) - else: - iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -17428,7 +17307,14 @@ 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('create_table_result') + oprot.writeStructBegin('get_schema_with_environment_context_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) @@ -17441,10 +17327,6 @@ def write(self, oprot): oprot.writeFieldBegin('o3', TType.STRUCT, 3) self.o3.write(oprot) oprot.writeFieldEnd() - if self.o4 is not None: - oprot.writeFieldBegin('o4', TType.STRUCT, 4) - self.o4.write(oprot) - oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -17454,10 +17336,10 @@ def validate(self): 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) - value = (value * 31) ^ hash(self.o4) return value def __repr__(self): @@ -17471,22 +17353,19 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class create_table_with_environment_context_args: +class create_table_args: """ Attributes: - tbl - - environment_context """ thrift_spec = ( None, # 0 (1, TType.STRUCT, 'tbl', (Table, Table.thrift_spec), None, ), # 1 - (2, TType.STRUCT, 'environment_context', (EnvironmentContext, EnvironmentContext.thrift_spec), None, ), # 2 ) - def __init__(self, tbl=None, environment_context=None,): + def __init__(self, tbl=None,): self.tbl = tbl - self.environment_context = environment_context 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: @@ -17503,12 +17382,6 @@ def read(self, iprot): self.tbl.read(iprot) else: iprot.skip(ftype) - elif fid == 2: - if ftype == TType.STRUCT: - self.environment_context = EnvironmentContext() - self.environment_context.read(iprot) - else: - iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -17518,15 +17391,11 @@ 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('create_table_with_environment_context_args') + oprot.writeStructBegin('create_table_args') if self.tbl is not None: oprot.writeFieldBegin('tbl', TType.STRUCT, 1) self.tbl.write(oprot) oprot.writeFieldEnd() - if self.environment_context is not None: - oprot.writeFieldBegin('environment_context', TType.STRUCT, 2) - self.environment_context.write(oprot) - oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -17537,7 +17406,6 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.tbl) - value = (value * 31) ^ hash(self.environment_context) return value def __repr__(self): @@ -17551,7 +17419,7 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class create_table_with_environment_context_result: +class create_table_result: """ Attributes: - o1 @@ -17616,7 +17484,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('create_table_with_environment_context_result') + oprot.writeStructBegin('create_table_result') if self.o1 is not None: oprot.writeFieldBegin('o1', TType.STRUCT, 1) self.o1.write(oprot) @@ -17659,37 +17527,22 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class create_table_with_constraints_args: +class create_table_with_environment_context_args: """ Attributes: - tbl - - primaryKeys - - foreignKeys - - uniqueConstraints - - notNullConstraints - - defaultConstraints - - checkConstraints + - environment_context """ thrift_spec = ( None, # 0 (1, TType.STRUCT, 'tbl', (Table, Table.thrift_spec), None, ), # 1 - (2, TType.LIST, 'primaryKeys', (TType.STRUCT,(SQLPrimaryKey, SQLPrimaryKey.thrift_spec)), None, ), # 2 - (3, TType.LIST, 'foreignKeys', (TType.STRUCT,(SQLForeignKey, SQLForeignKey.thrift_spec)), None, ), # 3 - (4, TType.LIST, 'uniqueConstraints', (TType.STRUCT,(SQLUniqueConstraint, SQLUniqueConstraint.thrift_spec)), None, ), # 4 - (5, TType.LIST, 'notNullConstraints', (TType.STRUCT,(SQLNotNullConstraint, SQLNotNullConstraint.thrift_spec)), None, ), # 5 - (6, TType.LIST, 'defaultConstraints', (TType.STRUCT,(SQLDefaultConstraint, SQLDefaultConstraint.thrift_spec)), None, ), # 6 - (7, TType.LIST, 'checkConstraints', (TType.STRUCT,(SQLCheckConstraint, SQLCheckConstraint.thrift_spec)), None, ), # 7 + (2, TType.STRUCT, 'environment_context', (EnvironmentContext, EnvironmentContext.thrift_spec), None, ), # 2 ) - def __init__(self, tbl=None, primaryKeys=None, foreignKeys=None, uniqueConstraints=None, notNullConstraints=None, defaultConstraints=None, checkConstraints=None,): + def __init__(self, tbl=None, environment_context=None,): self.tbl = tbl - self.primaryKeys = primaryKeys - self.foreignKeys = foreignKeys - self.uniqueConstraints = uniqueConstraints - self.notNullConstraints = notNullConstraints - self.defaultConstraints = defaultConstraints - self.checkConstraints = checkConstraints + self.environment_context = environment_context 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: @@ -17707,69 +17560,9 @@ def read(self, iprot): else: iprot.skip(ftype) elif fid == 2: - if ftype == TType.LIST: - self.primaryKeys = [] - (_etype856, _size853) = iprot.readListBegin() - for _i857 in xrange(_size853): - _elem858 = SQLPrimaryKey() - _elem858.read(iprot) - self.primaryKeys.append(_elem858) - iprot.readListEnd() - else: - iprot.skip(ftype) - elif fid == 3: - if ftype == TType.LIST: - self.foreignKeys = [] - (_etype862, _size859) = iprot.readListBegin() - for _i863 in xrange(_size859): - _elem864 = SQLForeignKey() - _elem864.read(iprot) - self.foreignKeys.append(_elem864) - iprot.readListEnd() - else: - iprot.skip(ftype) - elif fid == 4: - if ftype == TType.LIST: - self.uniqueConstraints = [] - (_etype868, _size865) = iprot.readListBegin() - for _i869 in xrange(_size865): - _elem870 = SQLUniqueConstraint() - _elem870.read(iprot) - self.uniqueConstraints.append(_elem870) - iprot.readListEnd() - else: - iprot.skip(ftype) - elif fid == 5: - if ftype == TType.LIST: - self.notNullConstraints = [] - (_etype874, _size871) = iprot.readListBegin() - for _i875 in xrange(_size871): - _elem876 = SQLNotNullConstraint() - _elem876.read(iprot) - self.notNullConstraints.append(_elem876) - iprot.readListEnd() - else: - iprot.skip(ftype) - elif fid == 6: - if ftype == TType.LIST: - self.defaultConstraints = [] - (_etype880, _size877) = iprot.readListBegin() - for _i881 in xrange(_size877): - _elem882 = SQLDefaultConstraint() - _elem882.read(iprot) - self.defaultConstraints.append(_elem882) - iprot.readListEnd() - else: - iprot.skip(ftype) - elif fid == 7: - if ftype == TType.LIST: - self.checkConstraints = [] - (_etype886, _size883) = iprot.readListBegin() - for _i887 in xrange(_size883): - _elem888 = SQLCheckConstraint() - _elem888.read(iprot) - self.checkConstraints.append(_elem888) - iprot.readListEnd() + if ftype == TType.STRUCT: + self.environment_context = EnvironmentContext() + self.environment_context.read(iprot) else: iprot.skip(ftype) else: @@ -17781,52 +17574,14 @@ 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('create_table_with_constraints_args') + oprot.writeStructBegin('create_table_with_environment_context_args') if self.tbl is not None: oprot.writeFieldBegin('tbl', TType.STRUCT, 1) self.tbl.write(oprot) oprot.writeFieldEnd() - if self.primaryKeys is not None: - oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) - oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter889 in self.primaryKeys: - iter889.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 iter890 in self.foreignKeys: - iter890.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 iter891 in self.uniqueConstraints: - iter891.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 iter892 in self.notNullConstraints: - iter892.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 iter893 in self.defaultConstraints: - iter893.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 iter894 in self.checkConstraints: - iter894.write(oprot) - oprot.writeListEnd() + if self.environment_context is not None: + oprot.writeFieldBegin('environment_context', TType.STRUCT, 2) + self.environment_context.write(oprot) oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -17838,12 +17593,7 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.tbl) - value = (value * 31) ^ hash(self.primaryKeys) - value = (value * 31) ^ hash(self.foreignKeys) - value = (value * 31) ^ hash(self.uniqueConstraints) - value = (value * 31) ^ hash(self.notNullConstraints) - value = (value * 31) ^ hash(self.defaultConstraints) - value = (value * 31) ^ hash(self.checkConstraints) + value = (value * 31) ^ hash(self.environment_context) return value def __repr__(self): @@ -17857,7 +17607,313 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) -class create_table_with_constraints_result: +class create_table_with_environment_context_result: + """ + Attributes: + - o1 + - o2 + - o3 + - o4 + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'o1', (AlreadyExistsException, AlreadyExistsException.thrift_spec), None, ), # 1 + (2, TType.STRUCT, 'o2', (InvalidObjectException, InvalidObjectException.thrift_spec), None, ), # 2 + (3, TType.STRUCT, 'o3', (MetaException, MetaException.thrift_spec), None, ), # 3 + (4, TType.STRUCT, 'o4', (NoSuchObjectException, NoSuchObjectException.thrift_spec), None, ), # 4 + ) + + def __init__(self, o1=None, o2=None, o3=None, o4=None,): + self.o1 = o1 + self.o2 = o2 + self.o3 = o3 + self.o4 = o4 + + 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.o1 = AlreadyExistsException() + self.o1.read(iprot) + else: + iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRUCT: + self.o2 = InvalidObjectException() + self.o2.read(iprot) + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRUCT: + self.o3 = MetaException() + self.o3.read(iprot) + else: + iprot.skip(ftype) + elif fid == 4: + if ftype == TType.STRUCT: + self.o4 = NoSuchObjectException() + self.o4.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('create_table_with_environment_context_result') + 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() + if self.o4 is not None: + oprot.writeFieldBegin('o4', TType.STRUCT, 4) + self.o4.write(oprot) + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.o1) + value = (value * 31) ^ hash(self.o2) + value = (value * 31) ^ hash(self.o3) + value = (value * 31) ^ hash(self.o4) + 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 create_table_with_constraints_args: + """ + Attributes: + - tbl + - primaryKeys + - foreignKeys + - uniqueConstraints + - notNullConstraints + - defaultConstraints + - checkConstraints + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRUCT, 'tbl', (Table, Table.thrift_spec), None, ), # 1 + (2, TType.LIST, 'primaryKeys', (TType.STRUCT,(SQLPrimaryKey, SQLPrimaryKey.thrift_spec)), None, ), # 2 + (3, TType.LIST, 'foreignKeys', (TType.STRUCT,(SQLForeignKey, SQLForeignKey.thrift_spec)), None, ), # 3 + (4, TType.LIST, 'uniqueConstraints', (TType.STRUCT,(SQLUniqueConstraint, SQLUniqueConstraint.thrift_spec)), None, ), # 4 + (5, TType.LIST, 'notNullConstraints', (TType.STRUCT,(SQLNotNullConstraint, SQLNotNullConstraint.thrift_spec)), None, ), # 5 + (6, TType.LIST, 'defaultConstraints', (TType.STRUCT,(SQLDefaultConstraint, SQLDefaultConstraint.thrift_spec)), None, ), # 6 + (7, TType.LIST, 'checkConstraints', (TType.STRUCT,(SQLCheckConstraint, SQLCheckConstraint.thrift_spec)), None, ), # 7 + ) + + def __init__(self, tbl=None, primaryKeys=None, foreignKeys=None, uniqueConstraints=None, notNullConstraints=None, defaultConstraints=None, checkConstraints=None,): + self.tbl = tbl + self.primaryKeys = primaryKeys + self.foreignKeys = foreignKeys + self.uniqueConstraints = uniqueConstraints + self.notNullConstraints = notNullConstraints + self.defaultConstraints = defaultConstraints + self.checkConstraints = checkConstraints + + 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.tbl = Table() + self.tbl.read(iprot) + else: + iprot.skip(ftype) + 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) + 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) + 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) + 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) + 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) + 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) + 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('create_table_with_constraints_args') + if self.tbl is not None: + oprot.writeFieldBegin('tbl', TType.STRUCT, 1) + self.tbl.write(oprot) + oprot.writeFieldEnd() + 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) + 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) + 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) + 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) + 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) + 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) + oprot.writeListEnd() + oprot.writeFieldEnd() + oprot.writeFieldStop() + oprot.writeStructEnd() + + def validate(self): + return + + + def __hash__(self): + value = 17 + value = (value * 31) ^ hash(self.tbl) + value = (value * 31) ^ hash(self.primaryKeys) + value = (value * 31) ^ hash(self.foreignKeys) + value = (value * 31) ^ hash(self.uniqueConstraints) + value = (value * 31) ^ hash(self.notNullConstraints) + value = (value * 31) ^ hash(self.defaultConstraints) + value = (value * 31) ^ hash(self.checkConstraints) + 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 create_table_with_constraints_result: """ Attributes: - o1 @@ -19385,10 +19441,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype898, _size895) = iprot.readListBegin() - for _i899 in xrange(_size895): - _elem900 = iprot.readString() - self.partNames.append(_elem900) + (_etype905, _size902) = iprot.readListBegin() + for _i906 in xrange(_size902): + _elem907 = iprot.readString() + self.partNames.append(_elem907) iprot.readListEnd() else: iprot.skip(ftype) @@ -19413,8 +19469,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 iter901 in self.partNames: - oprot.writeString(iter901) + for iter908 in self.partNames: + oprot.writeString(iter908) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19614,10 +19670,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype905, _size902) = iprot.readListBegin() - for _i906 in xrange(_size902): - _elem907 = iprot.readString() - self.success.append(_elem907) + (_etype912, _size909) = iprot.readListBegin() + for _i913 in xrange(_size909): + _elem914 = iprot.readString() + self.success.append(_elem914) iprot.readListEnd() else: iprot.skip(ftype) @@ -19640,8 +19696,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 iter908 in self.success: - oprot.writeString(iter908) + for iter915 in self.success: + oprot.writeString(iter915) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19791,10 +19847,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) @@ -19817,8 +19873,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: @@ -19942,10 +19998,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) @@ -19968,8 +20024,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: @@ -20042,10 +20098,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype926, _size923) = iprot.readListBegin() - for _i927 in xrange(_size923): - _elem928 = iprot.readString() - self.tbl_types.append(_elem928) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = iprot.readString() + self.tbl_types.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -20070,8 +20126,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 iter929 in self.tbl_types: - oprot.writeString(iter929) + for iter936 in self.tbl_types: + oprot.writeString(iter936) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20127,11 +20183,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype933, _size930) = iprot.readListBegin() - for _i934 in xrange(_size930): - _elem935 = TableMeta() - _elem935.read(iprot) - self.success.append(_elem935) + (_etype940, _size937) = iprot.readListBegin() + for _i941 in xrange(_size937): + _elem942 = TableMeta() + _elem942.read(iprot) + self.success.append(_elem942) iprot.readListEnd() else: iprot.skip(ftype) @@ -20154,8 +20210,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 iter936 in self.success: - iter936.write(oprot) + for iter943 in self.success: + iter943.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20279,10 +20335,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype940, _size937) = iprot.readListBegin() - for _i941 in xrange(_size937): - _elem942 = iprot.readString() - self.success.append(_elem942) + (_etype947, _size944) = iprot.readListBegin() + for _i948 in xrange(_size944): + _elem949 = iprot.readString() + self.success.append(_elem949) iprot.readListEnd() else: iprot.skip(ftype) @@ -20305,8 +20361,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 iter943 in self.success: - oprot.writeString(iter943) + for iter950 in self.success: + oprot.writeString(iter950) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20542,10 +20598,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype947, _size944) = iprot.readListBegin() - for _i948 in xrange(_size944): - _elem949 = iprot.readString() - self.tbl_names.append(_elem949) + (_etype954, _size951) = iprot.readListBegin() + for _i955 in xrange(_size951): + _elem956 = iprot.readString() + self.tbl_names.append(_elem956) iprot.readListEnd() else: iprot.skip(ftype) @@ -20566,8 +20622,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 iter950 in self.tbl_names: - oprot.writeString(iter950) + for iter957 in self.tbl_names: + oprot.writeString(iter957) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20619,11 +20675,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype954, _size951) = iprot.readListBegin() - for _i955 in xrange(_size951): - _elem956 = Table() - _elem956.read(iprot) - self.success.append(_elem956) + (_etype961, _size958) = iprot.readListBegin() + for _i962 in xrange(_size958): + _elem963 = Table() + _elem963.read(iprot) + self.success.append(_elem963) iprot.readListEnd() else: iprot.skip(ftype) @@ -20640,8 +20696,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 iter957 in self.success: - iter957.write(oprot) + for iter964 in self.success: + iter964.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21033,10 +21089,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype961, _size958) = iprot.readListBegin() - for _i962 in xrange(_size958): - _elem963 = iprot.readString() - self.tbl_names.append(_elem963) + (_etype968, _size965) = iprot.readListBegin() + for _i969 in xrange(_size965): + _elem970 = iprot.readString() + self.tbl_names.append(_elem970) iprot.readListEnd() else: iprot.skip(ftype) @@ -21057,8 +21113,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 iter964 in self.tbl_names: - oprot.writeString(iter964) + for iter971 in self.tbl_names: + oprot.writeString(iter971) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21119,12 +21175,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype966, _vtype967, _size965 ) = iprot.readMapBegin() - for _i969 in xrange(_size965): - _key970 = iprot.readString() - _val971 = Materialization() - _val971.read(iprot) - self.success[_key970] = _val971 + (_ktype973, _vtype974, _size972 ) = iprot.readMapBegin() + for _i976 in xrange(_size972): + _key977 = iprot.readString() + _val978 = Materialization() + _val978.read(iprot) + self.success[_key977] = _val978 iprot.readMapEnd() else: iprot.skip(ftype) @@ -21159,9 +21215,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 kiter972,viter973 in self.success.items(): - oprot.writeString(kiter972) - viter973.write(oprot) + for kiter979,viter980 in self.success.items(): + oprot.writeString(kiter979) + viter980.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21526,10 +21582,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype977, _size974) = iprot.readListBegin() - for _i978 in xrange(_size974): - _elem979 = iprot.readString() - self.success.append(_elem979) + (_etype984, _size981) = iprot.readListBegin() + for _i985 in xrange(_size981): + _elem986 = iprot.readString() + self.success.append(_elem986) iprot.readListEnd() else: iprot.skip(ftype) @@ -21564,8 +21620,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 iter980 in self.success: - oprot.writeString(iter980) + for iter987 in self.success: + oprot.writeString(iter987) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22535,11 +22591,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype984, _size981) = iprot.readListBegin() - for _i985 in xrange(_size981): - _elem986 = Partition() - _elem986.read(iprot) - self.new_parts.append(_elem986) + (_etype991, _size988) = iprot.readListBegin() + for _i992 in xrange(_size988): + _elem993 = Partition() + _elem993.read(iprot) + self.new_parts.append(_elem993) iprot.readListEnd() else: iprot.skip(ftype) @@ -22556,8 +22612,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 iter987 in self.new_parts: - iter987.write(oprot) + for iter994 in self.new_parts: + iter994.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22715,11 +22771,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 = PartitionSpec() - _elem993.read(iprot) - self.new_parts.append(_elem993) + (_etype998, _size995) = iprot.readListBegin() + for _i999 in xrange(_size995): + _elem1000 = PartitionSpec() + _elem1000.read(iprot) + self.new_parts.append(_elem1000) iprot.readListEnd() else: iprot.skip(ftype) @@ -22736,8 +22792,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() @@ -22911,10 +22967,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype998, _size995) = iprot.readListBegin() - for _i999 in xrange(_size995): - _elem1000 = iprot.readString() - self.part_vals.append(_elem1000) + (_etype1005, _size1002) = iprot.readListBegin() + for _i1006 in xrange(_size1002): + _elem1007 = iprot.readString() + self.part_vals.append(_elem1007) iprot.readListEnd() else: iprot.skip(ftype) @@ -22939,8 +22995,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 iter1001 in self.part_vals: - oprot.writeString(iter1001) + for iter1008 in self.part_vals: + oprot.writeString(iter1008) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23293,10 +23349,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) @@ -23327,8 +23383,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() if self.environment_context is not None: @@ -23923,10 +23979,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) @@ -23956,8 +24012,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.deleteData is not None: @@ -24130,10 +24186,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) @@ -24169,8 +24225,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: @@ -24907,10 +24963,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) @@ -24935,8 +24991,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() oprot.writeFieldStop() @@ -25095,11 +25151,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1031, _vtype1032, _size1030 ) = iprot.readMapBegin() - for _i1034 in xrange(_size1030): - _key1035 = iprot.readString() - _val1036 = iprot.readString() - self.partitionSpecs[_key1035] = _val1036 + (_ktype1038, _vtype1039, _size1037 ) = iprot.readMapBegin() + for _i1041 in xrange(_size1037): + _key1042 = iprot.readString() + _val1043 = iprot.readString() + self.partitionSpecs[_key1042] = _val1043 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25136,9 +25192,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 kiter1037,viter1038 in self.partitionSpecs.items(): - oprot.writeString(kiter1037) - oprot.writeString(viter1038) + for kiter1044,viter1045 in self.partitionSpecs.items(): + oprot.writeString(kiter1044) + oprot.writeString(viter1045) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -25343,11 +25399,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1040, _vtype1041, _size1039 ) = iprot.readMapBegin() - for _i1043 in xrange(_size1039): - _key1044 = iprot.readString() - _val1045 = iprot.readString() - self.partitionSpecs[_key1044] = _val1045 + (_ktype1047, _vtype1048, _size1046 ) = iprot.readMapBegin() + for _i1050 in xrange(_size1046): + _key1051 = iprot.readString() + _val1052 = iprot.readString() + self.partitionSpecs[_key1051] = _val1052 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25384,9 +25440,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 kiter1046,viter1047 in self.partitionSpecs.items(): - oprot.writeString(kiter1046) - oprot.writeString(viter1047) + for kiter1053,viter1054 in self.partitionSpecs.items(): + oprot.writeString(kiter1053) + oprot.writeString(viter1054) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -25469,11 +25525,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1051, _size1048) = iprot.readListBegin() - for _i1052 in xrange(_size1048): - _elem1053 = Partition() - _elem1053.read(iprot) - self.success.append(_elem1053) + (_etype1058, _size1055) = iprot.readListBegin() + for _i1059 in xrange(_size1055): + _elem1060 = Partition() + _elem1060.read(iprot) + self.success.append(_elem1060) iprot.readListEnd() else: iprot.skip(ftype) @@ -25514,8 +25570,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 iter1054 in self.success: - iter1054.write(oprot) + for iter1061 in self.success: + iter1061.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25609,10 +25665,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1058, _size1055) = iprot.readListBegin() - for _i1059 in xrange(_size1055): - _elem1060 = iprot.readString() - self.part_vals.append(_elem1060) + (_etype1065, _size1062) = iprot.readListBegin() + for _i1066 in xrange(_size1062): + _elem1067 = iprot.readString() + self.part_vals.append(_elem1067) iprot.readListEnd() else: iprot.skip(ftype) @@ -25624,10 +25680,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1064, _size1061) = iprot.readListBegin() - for _i1065 in xrange(_size1061): - _elem1066 = iprot.readString() - self.group_names.append(_elem1066) + (_etype1071, _size1068) = iprot.readListBegin() + for _i1072 in xrange(_size1068): + _elem1073 = iprot.readString() + self.group_names.append(_elem1073) iprot.readListEnd() else: iprot.skip(ftype) @@ -25652,8 +25708,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 iter1067 in self.part_vals: - oprot.writeString(iter1067) + for iter1074 in self.part_vals: + oprot.writeString(iter1074) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -25663,8 +25719,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 iter1068 in self.group_names: - oprot.writeString(iter1068) + for iter1075 in self.group_names: + oprot.writeString(iter1075) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26093,11 +26149,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1072, _size1069) = iprot.readListBegin() - for _i1073 in xrange(_size1069): - _elem1074 = Partition() - _elem1074.read(iprot) - self.success.append(_elem1074) + (_etype1079, _size1076) = iprot.readListBegin() + for _i1080 in xrange(_size1076): + _elem1081 = Partition() + _elem1081.read(iprot) + self.success.append(_elem1081) iprot.readListEnd() else: iprot.skip(ftype) @@ -26126,8 +26182,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 iter1075 in self.success: - iter1075.write(oprot) + for iter1082 in self.success: + iter1082.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26221,10 +26277,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1079, _size1076) = iprot.readListBegin() - for _i1080 in xrange(_size1076): - _elem1081 = iprot.readString() - self.group_names.append(_elem1081) + (_etype1086, _size1083) = iprot.readListBegin() + for _i1087 in xrange(_size1083): + _elem1088 = iprot.readString() + self.group_names.append(_elem1088) iprot.readListEnd() else: iprot.skip(ftype) @@ -26257,8 +26313,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 iter1082 in self.group_names: - oprot.writeString(iter1082) + for iter1089 in self.group_names: + oprot.writeString(iter1089) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26319,11 +26375,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1086, _size1083) = iprot.readListBegin() - for _i1087 in xrange(_size1083): - _elem1088 = Partition() - _elem1088.read(iprot) - self.success.append(_elem1088) + (_etype1093, _size1090) = iprot.readListBegin() + for _i1094 in xrange(_size1090): + _elem1095 = Partition() + _elem1095.read(iprot) + self.success.append(_elem1095) iprot.readListEnd() else: iprot.skip(ftype) @@ -26352,8 +26408,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 iter1089 in self.success: - iter1089.write(oprot) + for iter1096 in self.success: + iter1096.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26511,11 +26567,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1093, _size1090) = iprot.readListBegin() - for _i1094 in xrange(_size1090): - _elem1095 = PartitionSpec() - _elem1095.read(iprot) - self.success.append(_elem1095) + (_etype1100, _size1097) = iprot.readListBegin() + for _i1101 in xrange(_size1097): + _elem1102 = PartitionSpec() + _elem1102.read(iprot) + self.success.append(_elem1102) iprot.readListEnd() else: iprot.skip(ftype) @@ -26544,8 +26600,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: @@ -26703,10 +26759,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1100, _size1097) = iprot.readListBegin() - for _i1101 in xrange(_size1097): - _elem1102 = iprot.readString() - self.success.append(_elem1102) + (_etype1107, _size1104) = iprot.readListBegin() + for _i1108 in xrange(_size1104): + _elem1109 = iprot.readString() + self.success.append(_elem1109) iprot.readListEnd() else: iprot.skip(ftype) @@ -26735,8 +26791,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 iter1103 in self.success: - oprot.writeString(iter1103) + for iter1110 in self.success: + oprot.writeString(iter1110) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26976,10 +27032,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1107, _size1104) = iprot.readListBegin() - for _i1108 in xrange(_size1104): - _elem1109 = iprot.readString() - self.part_vals.append(_elem1109) + (_etype1114, _size1111) = iprot.readListBegin() + for _i1115 in xrange(_size1111): + _elem1116 = iprot.readString() + self.part_vals.append(_elem1116) iprot.readListEnd() else: iprot.skip(ftype) @@ -27009,8 +27065,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 iter1110 in self.part_vals: - oprot.writeString(iter1110) + for iter1117 in self.part_vals: + oprot.writeString(iter1117) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27074,11 +27130,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1114, _size1111) = iprot.readListBegin() - for _i1115 in xrange(_size1111): - _elem1116 = Partition() - _elem1116.read(iprot) - self.success.append(_elem1116) + (_etype1121, _size1118) = iprot.readListBegin() + for _i1122 in xrange(_size1118): + _elem1123 = Partition() + _elem1123.read(iprot) + self.success.append(_elem1123) iprot.readListEnd() else: iprot.skip(ftype) @@ -27107,8 +27163,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 iter1117 in self.success: - iter1117.write(oprot) + for iter1124 in self.success: + iter1124.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27195,10 +27251,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1121, _size1118) = iprot.readListBegin() - for _i1122 in xrange(_size1118): - _elem1123 = iprot.readString() - self.part_vals.append(_elem1123) + (_etype1128, _size1125) = iprot.readListBegin() + for _i1129 in xrange(_size1125): + _elem1130 = iprot.readString() + self.part_vals.append(_elem1130) iprot.readListEnd() else: iprot.skip(ftype) @@ -27215,10 +27271,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1127, _size1124) = iprot.readListBegin() - for _i1128 in xrange(_size1124): - _elem1129 = iprot.readString() - self.group_names.append(_elem1129) + (_etype1134, _size1131) = iprot.readListBegin() + for _i1135 in xrange(_size1131): + _elem1136 = iprot.readString() + self.group_names.append(_elem1136) iprot.readListEnd() else: iprot.skip(ftype) @@ -27243,8 +27299,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 iter1130 in self.part_vals: - oprot.writeString(iter1130) + for iter1137 in self.part_vals: + oprot.writeString(iter1137) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27258,8 +27314,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 iter1131 in self.group_names: - oprot.writeString(iter1131) + for iter1138 in self.group_names: + oprot.writeString(iter1138) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27321,11 +27377,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1135, _size1132) = iprot.readListBegin() - for _i1136 in xrange(_size1132): - _elem1137 = Partition() - _elem1137.read(iprot) - self.success.append(_elem1137) + (_etype1142, _size1139) = iprot.readListBegin() + for _i1143 in xrange(_size1139): + _elem1144 = Partition() + _elem1144.read(iprot) + self.success.append(_elem1144) iprot.readListEnd() else: iprot.skip(ftype) @@ -27354,8 +27410,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 iter1138 in self.success: - iter1138.write(oprot) + for iter1145 in self.success: + iter1145.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27436,10 +27492,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1142, _size1139) = iprot.readListBegin() - for _i1143 in xrange(_size1139): - _elem1144 = iprot.readString() - self.part_vals.append(_elem1144) + (_etype1149, _size1146) = iprot.readListBegin() + for _i1150 in xrange(_size1146): + _elem1151 = iprot.readString() + self.part_vals.append(_elem1151) iprot.readListEnd() else: iprot.skip(ftype) @@ -27469,8 +27525,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 iter1145 in self.part_vals: - oprot.writeString(iter1145) + for iter1152 in self.part_vals: + oprot.writeString(iter1152) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27534,10 +27590,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1149, _size1146) = iprot.readListBegin() - for _i1150 in xrange(_size1146): - _elem1151 = iprot.readString() - self.success.append(_elem1151) + (_etype1156, _size1153) = iprot.readListBegin() + for _i1157 in xrange(_size1153): + _elem1158 = iprot.readString() + self.success.append(_elem1158) iprot.readListEnd() else: iprot.skip(ftype) @@ -27566,8 +27622,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 iter1152 in self.success: - oprot.writeString(iter1152) + for iter1159 in self.success: + oprot.writeString(iter1159) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27738,11 +27794,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1156, _size1153) = iprot.readListBegin() - for _i1157 in xrange(_size1153): - _elem1158 = Partition() - _elem1158.read(iprot) - self.success.append(_elem1158) + (_etype1163, _size1160) = iprot.readListBegin() + for _i1164 in xrange(_size1160): + _elem1165 = Partition() + _elem1165.read(iprot) + self.success.append(_elem1165) iprot.readListEnd() else: iprot.skip(ftype) @@ -27771,8 +27827,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 iter1159 in self.success: - iter1159.write(oprot) + for iter1166 in self.success: + iter1166.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27943,11 +27999,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1163, _size1160) = iprot.readListBegin() - for _i1164 in xrange(_size1160): - _elem1165 = PartitionSpec() - _elem1165.read(iprot) - self.success.append(_elem1165) + (_etype1170, _size1167) = iprot.readListBegin() + for _i1171 in xrange(_size1167): + _elem1172 = PartitionSpec() + _elem1172.read(iprot) + self.success.append(_elem1172) iprot.readListEnd() else: iprot.skip(ftype) @@ -27976,8 +28032,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: @@ -28397,10 +28453,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1170, _size1167) = iprot.readListBegin() - for _i1171 in xrange(_size1167): - _elem1172 = iprot.readString() - self.names.append(_elem1172) + (_etype1177, _size1174) = iprot.readListBegin() + for _i1178 in xrange(_size1174): + _elem1179 = iprot.readString() + self.names.append(_elem1179) iprot.readListEnd() else: iprot.skip(ftype) @@ -28425,8 +28481,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 iter1173 in self.names: - oprot.writeString(iter1173) + for iter1180 in self.names: + oprot.writeString(iter1180) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28485,11 +28541,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1177, _size1174) = iprot.readListBegin() - for _i1178 in xrange(_size1174): - _elem1179 = Partition() - _elem1179.read(iprot) - self.success.append(_elem1179) + (_etype1184, _size1181) = iprot.readListBegin() + for _i1185 in xrange(_size1181): + _elem1186 = Partition() + _elem1186.read(iprot) + self.success.append(_elem1186) iprot.readListEnd() else: iprot.skip(ftype) @@ -28518,8 +28574,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 iter1180 in self.success: - iter1180.write(oprot) + for iter1187 in self.success: + iter1187.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28769,11 +28825,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1184, _size1181) = iprot.readListBegin() - for _i1185 in xrange(_size1181): - _elem1186 = Partition() - _elem1186.read(iprot) - self.new_parts.append(_elem1186) + (_etype1191, _size1188) = iprot.readListBegin() + for _i1192 in xrange(_size1188): + _elem1193 = Partition() + _elem1193.read(iprot) + self.new_parts.append(_elem1193) iprot.readListEnd() else: iprot.skip(ftype) @@ -28798,8 +28854,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 iter1187 in self.new_parts: - iter1187.write(oprot) + for iter1194 in self.new_parts: + iter1194.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28952,11 +29008,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) @@ -28987,8 +29043,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() if self.environment_context is not None: @@ -29332,10 +29388,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1198, _size1195) = iprot.readListBegin() - for _i1199 in xrange(_size1195): - _elem1200 = iprot.readString() - self.part_vals.append(_elem1200) + (_etype1205, _size1202) = iprot.readListBegin() + for _i1206 in xrange(_size1202): + _elem1207 = iprot.readString() + self.part_vals.append(_elem1207) iprot.readListEnd() else: iprot.skip(ftype) @@ -29366,8 +29422,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 iter1201 in self.part_vals: - oprot.writeString(iter1201) + for iter1208 in self.part_vals: + oprot.writeString(iter1208) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -29509,10 +29565,10 @@ def read(self, iprot): if fid == 1: 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) @@ -29534,8 +29590,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 iter1208 in self.part_vals: - oprot.writeString(iter1208) + for iter1215 in self.part_vals: + oprot.writeString(iter1215) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -29893,10 +29949,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1212, _size1209) = iprot.readListBegin() - for _i1213 in xrange(_size1209): - _elem1214 = iprot.readString() - self.success.append(_elem1214) + (_etype1219, _size1216) = iprot.readListBegin() + for _i1220 in xrange(_size1216): + _elem1221 = iprot.readString() + self.success.append(_elem1221) iprot.readListEnd() else: iprot.skip(ftype) @@ -29919,8 +29975,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 iter1215 in self.success: - oprot.writeString(iter1215) + for iter1222 in self.success: + oprot.writeString(iter1222) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30044,11 +30100,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1217, _vtype1218, _size1216 ) = iprot.readMapBegin() - for _i1220 in xrange(_size1216): - _key1221 = iprot.readString() - _val1222 = iprot.readString() - self.success[_key1221] = _val1222 + (_ktype1224, _vtype1225, _size1223 ) = iprot.readMapBegin() + for _i1227 in xrange(_size1223): + _key1228 = iprot.readString() + _val1229 = iprot.readString() + self.success[_key1228] = _val1229 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30071,9 +30127,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 kiter1223,viter1224 in self.success.items(): - oprot.writeString(kiter1223) - oprot.writeString(viter1224) + for kiter1230,viter1231 in self.success.items(): + oprot.writeString(kiter1230) + oprot.writeString(viter1231) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30149,11 +30205,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1226, _vtype1227, _size1225 ) = iprot.readMapBegin() - for _i1229 in xrange(_size1225): - _key1230 = iprot.readString() - _val1231 = iprot.readString() - self.part_vals[_key1230] = _val1231 + (_ktype1233, _vtype1234, _size1232 ) = iprot.readMapBegin() + for _i1236 in xrange(_size1232): + _key1237 = iprot.readString() + _val1238 = iprot.readString() + self.part_vals[_key1237] = _val1238 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30183,9 +30239,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 kiter1232,viter1233 in self.part_vals.items(): - oprot.writeString(kiter1232) - oprot.writeString(viter1233) + for kiter1239,viter1240 in self.part_vals.items(): + oprot.writeString(kiter1239) + oprot.writeString(viter1240) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -30399,11 +30455,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1235, _vtype1236, _size1234 ) = iprot.readMapBegin() - for _i1238 in xrange(_size1234): - _key1239 = iprot.readString() - _val1240 = iprot.readString() - self.part_vals[_key1239] = _val1240 + (_ktype1242, _vtype1243, _size1241 ) = iprot.readMapBegin() + for _i1245 in xrange(_size1241): + _key1246 = iprot.readString() + _val1247 = iprot.readString() + self.part_vals[_key1246] = _val1247 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30433,9 +30489,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 kiter1241,viter1242 in self.part_vals.items(): - oprot.writeString(kiter1241) - oprot.writeString(viter1242) + for kiter1248,viter1249 in self.part_vals.items(): + oprot.writeString(kiter1248) + oprot.writeString(viter1249) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -34087,10 +34143,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1246, _size1243) = iprot.readListBegin() - for _i1247 in xrange(_size1243): - _elem1248 = iprot.readString() - self.success.append(_elem1248) + (_etype1253, _size1250) = iprot.readListBegin() + for _i1254 in xrange(_size1250): + _elem1255 = iprot.readString() + self.success.append(_elem1255) iprot.readListEnd() else: iprot.skip(ftype) @@ -34113,8 +34169,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 iter1249 in self.success: - oprot.writeString(iter1249) + for iter1256 in self.success: + oprot.writeString(iter1256) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34802,10 +34858,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) @@ -34828,8 +34884,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: @@ -35343,11 +35399,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1260, _size1257) = iprot.readListBegin() - for _i1261 in xrange(_size1257): - _elem1262 = Role() - _elem1262.read(iprot) - self.success.append(_elem1262) + (_etype1267, _size1264) = iprot.readListBegin() + for _i1268 in xrange(_size1264): + _elem1269 = Role() + _elem1269.read(iprot) + self.success.append(_elem1269) iprot.readListEnd() else: iprot.skip(ftype) @@ -35370,8 +35426,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 iter1263 in self.success: - iter1263.write(oprot) + for iter1270 in self.success: + iter1270.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35880,10 +35936,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1267, _size1264) = iprot.readListBegin() - for _i1268 in xrange(_size1264): - _elem1269 = iprot.readString() - self.group_names.append(_elem1269) + (_etype1274, _size1271) = iprot.readListBegin() + for _i1275 in xrange(_size1271): + _elem1276 = iprot.readString() + self.group_names.append(_elem1276) iprot.readListEnd() else: iprot.skip(ftype) @@ -35908,8 +35964,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 iter1270 in self.group_names: - oprot.writeString(iter1270) + for iter1277 in self.group_names: + oprot.writeString(iter1277) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36136,11 +36192,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1274, _size1271) = iprot.readListBegin() - for _i1275 in xrange(_size1271): - _elem1276 = HiveObjectPrivilege() - _elem1276.read(iprot) - self.success.append(_elem1276) + (_etype1281, _size1278) = iprot.readListBegin() + for _i1282 in xrange(_size1278): + _elem1283 = HiveObjectPrivilege() + _elem1283.read(iprot) + self.success.append(_elem1283) iprot.readListEnd() else: iprot.skip(ftype) @@ -36163,8 +36219,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 iter1277 in self.success: - iter1277.write(oprot) + for iter1284 in self.success: + iter1284.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36662,10 +36718,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1281, _size1278) = iprot.readListBegin() - for _i1282 in xrange(_size1278): - _elem1283 = iprot.readString() - self.group_names.append(_elem1283) + (_etype1288, _size1285) = iprot.readListBegin() + for _i1289 in xrange(_size1285): + _elem1290 = iprot.readString() + self.group_names.append(_elem1290) iprot.readListEnd() else: iprot.skip(ftype) @@ -36686,8 +36742,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 iter1284 in self.group_names: - oprot.writeString(iter1284) + for iter1291 in self.group_names: + oprot.writeString(iter1291) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36742,10 +36798,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1288, _size1285) = iprot.readListBegin() - for _i1289 in xrange(_size1285): - _elem1290 = iprot.readString() - self.success.append(_elem1290) + (_etype1295, _size1292) = iprot.readListBegin() + for _i1296 in xrange(_size1292): + _elem1297 = iprot.readString() + self.success.append(_elem1297) iprot.readListEnd() else: iprot.skip(ftype) @@ -36768,8 +36824,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 iter1291 in self.success: - oprot.writeString(iter1291) + for iter1298 in self.success: + oprot.writeString(iter1298) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37701,10 +37757,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) @@ -37721,8 +37777,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() oprot.writeFieldStop() @@ -38249,10 +38305,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) @@ -38269,8 +38325,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() @@ -39059,6 +39115,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: @@ -46438,11 +46606,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1309, _size1306) = iprot.readListBegin() - for _i1310 in xrange(_size1306): - _elem1311 = SchemaVersion() - _elem1311.read(iprot) - self.success.append(_elem1311) + (_etype1316, _size1313) = iprot.readListBegin() + for _i1317 in xrange(_size1313): + _elem1318 = SchemaVersion() + _elem1318.read(iprot) + self.success.append(_elem1318) iprot.readListEnd() else: iprot.skip(ftype) @@ -46471,8 +46639,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 iter1312 in self.success: - iter1312.write(oprot) + for iter1319 in self.success: + iter1319.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 f2f61e0..183ea40 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,124 @@ def __eq__(self, other): def __ne__(self, other): return not (self == other) +class ReplTblWriteIdStateRequest: + """ + Attributes: + - validWriteIdlist + - dbName + - tableName + - partNames + """ + + thrift_spec = ( + None, # 0 + (1, TType.STRING, 'validWriteIdlist', None, None, ), # 1 + (2, TType.STRING, 'dbName', None, None, ), # 2 + (3, TType.STRING, 'tableName', None, None, ), # 3 + (4, TType.LIST, 'partNames', (TType.STRING,None), None, ), # 4 + ) + + def __init__(self, validWriteIdlist=None, dbName=None, tableName=None, partNames=None,): + self.validWriteIdlist = validWriteIdlist + 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.dbName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 3: + if ftype == TType.STRING: + self.tableName = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 4: + 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.dbName is not None: + oprot.writeFieldBegin('dbName', TType.STRING, 2) + oprot.writeString(self.dbName) + oprot.writeFieldEnd() + if self.tableName is not None: + oprot.writeFieldBegin('tableName', TType.STRING, 3) + oprot.writeString(self.tableName) + oprot.writeFieldEnd() + if self.partNames is not None: + oprot.writeFieldBegin('partNames', TType.LIST, 4) + 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.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.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 +11679,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 +11704,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 +11788,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 +11826,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 +11899,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 +11920,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() @@ -11863,10 +11981,10 @@ def read(self, iprot): if fid == 1: 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) @@ -11893,8 +12011,8 @@ def write(self, oprot): if self.txnIds is not None: oprot.writeFieldBegin('txnIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txnIds)) - for iter550 in self.txnIds: - oprot.writeI64(iter550) + for iter557 in self.txnIds: + oprot.writeI64(iter557) oprot.writeListEnd() oprot.writeFieldEnd() if self.dbName is not None: @@ -12044,11 +12162,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnToWriteIds = [] - (_etype554, _size551) = iprot.readListBegin() - for _i555 in xrange(_size551): - _elem556 = TxnToWriteId() - _elem556.read(iprot) - self.txnToWriteIds.append(_elem556) + (_etype561, _size558) = iprot.readListBegin() + for _i562 in xrange(_size558): + _elem563 = TxnToWriteId() + _elem563.read(iprot) + self.txnToWriteIds.append(_elem563) iprot.readListEnd() else: iprot.skip(ftype) @@ -12065,8 +12183,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 iter557 in self.txnToWriteIds: - iter557.write(oprot) + for iter564 in self.txnToWriteIds: + iter564.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12294,11 +12412,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype561, _size558) = iprot.readListBegin() - for _i562 in xrange(_size558): - _elem563 = LockComponent() - _elem563.read(iprot) - self.component.append(_elem563) + (_etype568, _size565) = iprot.readListBegin() + for _i569 in xrange(_size565): + _elem570 = LockComponent() + _elem570.read(iprot) + self.component.append(_elem570) iprot.readListEnd() else: iprot.skip(ftype) @@ -12335,8 +12453,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 iter564 in self.component: - iter564.write(oprot) + for iter571 in self.component: + iter571.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -13034,11 +13152,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype568, _size565) = iprot.readListBegin() - for _i569 in xrange(_size565): - _elem570 = ShowLocksResponseElement() - _elem570.read(iprot) - self.locks.append(_elem570) + (_etype575, _size572) = iprot.readListBegin() + for _i576 in xrange(_size572): + _elem577 = ShowLocksResponseElement() + _elem577.read(iprot) + self.locks.append(_elem577) iprot.readListEnd() else: iprot.skip(ftype) @@ -13055,8 +13173,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 iter571 in self.locks: - iter571.write(oprot) + for iter578 in self.locks: + iter578.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13271,20 +13389,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype575, _size572) = iprot.readSetBegin() - for _i576 in xrange(_size572): - _elem577 = iprot.readI64() - self.aborted.add(_elem577) + (_etype582, _size579) = iprot.readSetBegin() + for _i583 in xrange(_size579): + _elem584 = iprot.readI64() + self.aborted.add(_elem584) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype581, _size578) = iprot.readSetBegin() - for _i582 in xrange(_size578): - _elem583 = iprot.readI64() - self.nosuch.add(_elem583) + (_etype588, _size585) = iprot.readSetBegin() + for _i589 in xrange(_size585): + _elem590 = iprot.readI64() + self.nosuch.add(_elem590) iprot.readSetEnd() else: iprot.skip(ftype) @@ -13301,15 +13419,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 iter584 in self.aborted: - oprot.writeI64(iter584) + for iter591 in self.aborted: + oprot.writeI64(iter591) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter585 in self.nosuch: - oprot.writeI64(iter585) + for iter592 in self.nosuch: + oprot.writeI64(iter592) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13406,11 +13524,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype587, _vtype588, _size586 ) = iprot.readMapBegin() - for _i590 in xrange(_size586): - _key591 = iprot.readString() - _val592 = iprot.readString() - self.properties[_key591] = _val592 + (_ktype594, _vtype595, _size593 ) = iprot.readMapBegin() + for _i597 in xrange(_size593): + _key598 = iprot.readString() + _val599 = iprot.readString() + self.properties[_key598] = _val599 iprot.readMapEnd() else: iprot.skip(ftype) @@ -13447,9 +13565,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 kiter593,viter594 in self.properties.items(): - oprot.writeString(kiter593) - oprot.writeString(viter594) + for kiter600,viter601 in self.properties.items(): + oprot.writeString(kiter600) + oprot.writeString(viter601) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13884,11 +14002,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype598, _size595) = iprot.readListBegin() - for _i599 in xrange(_size595): - _elem600 = ShowCompactResponseElement() - _elem600.read(iprot) - self.compacts.append(_elem600) + (_etype605, _size602) = iprot.readListBegin() + for _i606 in xrange(_size602): + _elem607 = ShowCompactResponseElement() + _elem607.read(iprot) + self.compacts.append(_elem607) iprot.readListEnd() else: iprot.skip(ftype) @@ -13905,8 +14023,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 iter601 in self.compacts: - iter601.write(oprot) + for iter608 in self.compacts: + iter608.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13995,10 +14113,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype605, _size602) = iprot.readListBegin() - for _i606 in xrange(_size602): - _elem607 = iprot.readString() - self.partitionnames.append(_elem607) + (_etype612, _size609) = iprot.readListBegin() + for _i613 in xrange(_size609): + _elem614 = iprot.readString() + self.partitionnames.append(_elem614) iprot.readListEnd() else: iprot.skip(ftype) @@ -14036,8 +14154,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 iter608 in self.partitionnames: - oprot.writeString(iter608) + for iter615 in self.partitionnames: + oprot.writeString(iter615) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -14267,10 +14385,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.SET: self.tablesUsed = set() - (_etype612, _size609) = iprot.readSetBegin() - for _i613 in xrange(_size609): - _elem614 = iprot.readString() - self.tablesUsed.add(_elem614) + (_etype619, _size616) = iprot.readSetBegin() + for _i620 in xrange(_size616): + _elem621 = iprot.readString() + self.tablesUsed.add(_elem621) iprot.readSetEnd() else: iprot.skip(ftype) @@ -14304,8 +14422,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 iter615 in self.tablesUsed: - oprot.writeString(iter615) + for iter622 in self.tablesUsed: + oprot.writeString(iter622) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -14617,11 +14735,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype619, _size616) = iprot.readListBegin() - for _i620 in xrange(_size616): - _elem621 = NotificationEvent() - _elem621.read(iprot) - self.events.append(_elem621) + (_etype626, _size623) = iprot.readListBegin() + for _i627 in xrange(_size623): + _elem628 = NotificationEvent() + _elem628.read(iprot) + self.events.append(_elem628) iprot.readListEnd() else: iprot.skip(ftype) @@ -14638,8 +14756,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 iter622 in self.events: - iter622.write(oprot) + for iter629 in self.events: + iter629.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14933,20 +15051,20 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype626, _size623) = iprot.readListBegin() - for _i627 in xrange(_size623): - _elem628 = iprot.readString() - self.filesAdded.append(_elem628) + (_etype633, _size630) = iprot.readListBegin() + for _i634 in xrange(_size630): + _elem635 = iprot.readString() + self.filesAdded.append(_elem635) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype632, _size629) = iprot.readListBegin() - for _i633 in xrange(_size629): - _elem634 = iprot.readString() - self.filesAddedChecksum.append(_elem634) + (_etype639, _size636) = iprot.readListBegin() + for _i640 in xrange(_size636): + _elem641 = iprot.readString() + self.filesAddedChecksum.append(_elem641) iprot.readListEnd() else: iprot.skip(ftype) @@ -14967,15 +15085,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 iter635 in self.filesAdded: - oprot.writeString(iter635) + for iter642 in self.filesAdded: + oprot.writeString(iter642) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter636 in self.filesAddedChecksum: - oprot.writeString(iter636) + for iter643 in self.filesAddedChecksum: + oprot.writeString(iter643) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15133,10 +15251,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype640, _size637) = iprot.readListBegin() - for _i641 in xrange(_size637): - _elem642 = iprot.readString() - self.partitionVals.append(_elem642) + (_etype647, _size644) = iprot.readListBegin() + for _i648 in xrange(_size644): + _elem649 = iprot.readString() + self.partitionVals.append(_elem649) iprot.readListEnd() else: iprot.skip(ftype) @@ -15174,8 +15292,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 iter643 in self.partitionVals: - oprot.writeString(iter643) + for iter650 in self.partitionVals: + oprot.writeString(iter650) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -15367,12 +15485,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype645, _vtype646, _size644 ) = iprot.readMapBegin() - for _i648 in xrange(_size644): - _key649 = iprot.readI64() - _val650 = MetadataPpdResult() - _val650.read(iprot) - self.metadata[_key649] = _val650 + (_ktype652, _vtype653, _size651 ) = iprot.readMapBegin() + for _i655 in xrange(_size651): + _key656 = iprot.readI64() + _val657 = MetadataPpdResult() + _val657.read(iprot) + self.metadata[_key656] = _val657 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15394,9 +15512,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 kiter651,viter652 in self.metadata.items(): - oprot.writeI64(kiter651) - viter652.write(oprot) + for kiter658,viter659 in self.metadata.items(): + oprot.writeI64(kiter658) + viter659.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -15466,10 +15584,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype656, _size653) = iprot.readListBegin() - for _i657 in xrange(_size653): - _elem658 = iprot.readI64() - self.fileIds.append(_elem658) + (_etype663, _size660) = iprot.readListBegin() + for _i664 in xrange(_size660): + _elem665 = iprot.readI64() + self.fileIds.append(_elem665) iprot.readListEnd() else: iprot.skip(ftype) @@ -15501,8 +15619,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 iter659 in self.fileIds: - oprot.writeI64(iter659) + for iter666 in self.fileIds: + oprot.writeI64(iter666) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -15576,11 +15694,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype661, _vtype662, _size660 ) = iprot.readMapBegin() - for _i664 in xrange(_size660): - _key665 = iprot.readI64() - _val666 = iprot.readString() - self.metadata[_key665] = _val666 + (_ktype668, _vtype669, _size667 ) = iprot.readMapBegin() + for _i671 in xrange(_size667): + _key672 = iprot.readI64() + _val673 = iprot.readString() + self.metadata[_key672] = _val673 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15602,9 +15720,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 kiter667,viter668 in self.metadata.items(): - oprot.writeI64(kiter667) - oprot.writeString(viter668) + for kiter674,viter675 in self.metadata.items(): + oprot.writeI64(kiter674) + oprot.writeString(viter675) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -15665,10 +15783,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype672, _size669) = iprot.readListBegin() - for _i673 in xrange(_size669): - _elem674 = iprot.readI64() - self.fileIds.append(_elem674) + (_etype679, _size676) = iprot.readListBegin() + for _i680 in xrange(_size676): + _elem681 = iprot.readI64() + self.fileIds.append(_elem681) iprot.readListEnd() else: iprot.skip(ftype) @@ -15685,8 +15803,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 iter675 in self.fileIds: - oprot.writeI64(iter675) + for iter682 in self.fileIds: + oprot.writeI64(iter682) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15792,20 +15910,20 @@ 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) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype685, _size682) = iprot.readListBegin() - for _i686 in xrange(_size682): - _elem687 = iprot.readString() - self.metadata.append(_elem687) + (_etype692, _size689) = iprot.readListBegin() + for _i693 in xrange(_size689): + _elem694 = iprot.readString() + self.metadata.append(_elem694) iprot.readListEnd() else: iprot.skip(ftype) @@ -15827,15 +15945,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 iter688 in self.fileIds: - oprot.writeI64(iter688) + for iter695 in self.fileIds: + oprot.writeI64(iter695) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter689 in self.metadata: - oprot.writeString(iter689) + for iter696 in self.metadata: + oprot.writeString(iter696) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -15943,10 +16061,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype693, _size690) = iprot.readListBegin() - for _i694 in xrange(_size690): - _elem695 = iprot.readI64() - self.fileIds.append(_elem695) + (_etype700, _size697) = iprot.readListBegin() + for _i701 in xrange(_size697): + _elem702 = iprot.readI64() + self.fileIds.append(_elem702) iprot.readListEnd() else: iprot.skip(ftype) @@ -15963,8 +16081,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 iter696 in self.fileIds: - oprot.writeI64(iter696) + for iter703 in self.fileIds: + oprot.writeI64(iter703) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16193,11 +16311,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype700, _size697) = iprot.readListBegin() - for _i701 in xrange(_size697): - _elem702 = Function() - _elem702.read(iprot) - self.functions.append(_elem702) + (_etype707, _size704) = iprot.readListBegin() + for _i708 in xrange(_size704): + _elem709 = Function() + _elem709.read(iprot) + self.functions.append(_elem709) iprot.readListEnd() else: iprot.skip(ftype) @@ -16214,8 +16332,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 iter703 in self.functions: - iter703.write(oprot) + for iter710 in self.functions: + iter710.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16267,10 +16385,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype707, _size704) = iprot.readListBegin() - for _i708 in xrange(_size704): - _elem709 = iprot.readI32() - self.values.append(_elem709) + (_etype714, _size711) = iprot.readListBegin() + for _i715 in xrange(_size711): + _elem716 = iprot.readI32() + self.values.append(_elem716) iprot.readListEnd() else: iprot.skip(ftype) @@ -16287,8 +16405,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 iter710 in self.values: - oprot.writeI32(iter710) + for iter717 in self.values: + oprot.writeI32(iter717) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16533,10 +16651,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype714, _size711) = iprot.readListBegin() - for _i715 in xrange(_size711): - _elem716 = iprot.readString() - self.tblNames.append(_elem716) + (_etype721, _size718) = iprot.readListBegin() + for _i722 in xrange(_size718): + _elem723 = iprot.readString() + self.tblNames.append(_elem723) iprot.readListEnd() else: iprot.skip(ftype) @@ -16568,8 +16686,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 iter717 in self.tblNames: - oprot.writeString(iter717) + for iter724 in self.tblNames: + oprot.writeString(iter724) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -16634,11 +16752,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype721, _size718) = iprot.readListBegin() - for _i722 in xrange(_size718): - _elem723 = Table() - _elem723.read(iprot) - self.tables.append(_elem723) + (_etype728, _size725) = iprot.readListBegin() + for _i729 in xrange(_size725): + _elem730 = Table() + _elem730.read(iprot) + self.tables.append(_elem730) iprot.readListEnd() else: iprot.skip(ftype) @@ -16655,8 +16773,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 iter724 in self.tables: - iter724.write(oprot) + for iter731 in self.tables: + iter731.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16970,10 +17088,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.tablesUsed = set() - (_etype728, _size725) = iprot.readSetBegin() - for _i729 in xrange(_size725): - _elem730 = iprot.readString() - self.tablesUsed.add(_elem730) + (_etype735, _size732) = iprot.readSetBegin() + for _i736 in xrange(_size732): + _elem737 = iprot.readString() + self.tablesUsed.add(_elem737) iprot.readSetEnd() else: iprot.skip(ftype) @@ -17005,8 +17123,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 iter731 in self.tablesUsed: - oprot.writeString(iter731) + for iter738 in self.tablesUsed: + oprot.writeString(iter738) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -17911,44 +18029,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype735, _size732) = iprot.readListBegin() - for _i736 in xrange(_size732): - _elem737 = WMPool() - _elem737.read(iprot) - self.pools.append(_elem737) + (_etype742, _size739) = iprot.readListBegin() + for _i743 in xrange(_size739): + _elem744 = WMPool() + _elem744.read(iprot) + self.pools.append(_elem744) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype741, _size738) = iprot.readListBegin() - for _i742 in xrange(_size738): - _elem743 = WMMapping() - _elem743.read(iprot) - self.mappings.append(_elem743) + (_etype748, _size745) = iprot.readListBegin() + for _i749 in xrange(_size745): + _elem750 = WMMapping() + _elem750.read(iprot) + self.mappings.append(_elem750) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype747, _size744) = iprot.readListBegin() - for _i748 in xrange(_size744): - _elem749 = WMTrigger() - _elem749.read(iprot) - self.triggers.append(_elem749) + (_etype754, _size751) = iprot.readListBegin() + for _i755 in xrange(_size751): + _elem756 = WMTrigger() + _elem756.read(iprot) + self.triggers.append(_elem756) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype753, _size750) = iprot.readListBegin() - for _i754 in xrange(_size750): - _elem755 = WMPoolTrigger() - _elem755.read(iprot) - self.poolTriggers.append(_elem755) + (_etype760, _size757) = iprot.readListBegin() + for _i761 in xrange(_size757): + _elem762 = WMPoolTrigger() + _elem762.read(iprot) + self.poolTriggers.append(_elem762) iprot.readListEnd() else: iprot.skip(ftype) @@ -17969,29 +18087,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 iter756 in self.pools: - iter756.write(oprot) + for iter763 in self.pools: + iter763.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 iter757 in self.mappings: - iter757.write(oprot) + for iter764 in self.mappings: + iter764.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 iter758 in self.triggers: - iter758.write(oprot) + for iter765 in self.triggers: + iter765.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 iter759 in self.poolTriggers: - iter759.write(oprot) + for iter766 in self.poolTriggers: + iter766.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18465,11 +18583,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype763, _size760) = iprot.readListBegin() - for _i764 in xrange(_size760): - _elem765 = WMResourcePlan() - _elem765.read(iprot) - self.resourcePlans.append(_elem765) + (_etype770, _size767) = iprot.readListBegin() + for _i771 in xrange(_size767): + _elem772 = WMResourcePlan() + _elem772.read(iprot) + self.resourcePlans.append(_elem772) iprot.readListEnd() else: iprot.skip(ftype) @@ -18486,8 +18604,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 iter766 in self.resourcePlans: - iter766.write(oprot) + for iter773 in self.resourcePlans: + iter773.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18791,20 +18909,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype770, _size767) = iprot.readListBegin() - for _i771 in xrange(_size767): - _elem772 = iprot.readString() - self.errors.append(_elem772) + (_etype777, _size774) = iprot.readListBegin() + for _i778 in xrange(_size774): + _elem779 = iprot.readString() + self.errors.append(_elem779) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype776, _size773) = iprot.readListBegin() - for _i777 in xrange(_size773): - _elem778 = iprot.readString() - self.warnings.append(_elem778) + (_etype783, _size780) = iprot.readListBegin() + for _i784 in xrange(_size780): + _elem785 = iprot.readString() + self.warnings.append(_elem785) iprot.readListEnd() else: iprot.skip(ftype) @@ -18821,15 +18939,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 iter779 in self.errors: - oprot.writeString(iter779) + for iter786 in self.errors: + oprot.writeString(iter786) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter780 in self.warnings: - oprot.writeString(iter780) + for iter787 in self.warnings: + oprot.writeString(iter787) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19406,11 +19524,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype784, _size781) = iprot.readListBegin() - for _i785 in xrange(_size781): - _elem786 = WMTrigger() - _elem786.read(iprot) - self.triggers.append(_elem786) + (_etype791, _size788) = iprot.readListBegin() + for _i792 in xrange(_size788): + _elem793 = WMTrigger() + _elem793.read(iprot) + self.triggers.append(_elem793) iprot.readListEnd() else: iprot.skip(ftype) @@ -19427,8 +19545,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 iter787 in self.triggers: - iter787.write(oprot) + for iter794 in self.triggers: + iter794.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20612,11 +20730,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype791, _size788) = iprot.readListBegin() - for _i792 in xrange(_size788): - _elem793 = FieldSchema() - _elem793.read(iprot) - self.cols.append(_elem793) + (_etype798, _size795) = iprot.readListBegin() + for _i799 in xrange(_size795): + _elem800 = FieldSchema() + _elem800.read(iprot) + self.cols.append(_elem800) iprot.readListEnd() else: iprot.skip(ftype) @@ -20676,8 +20794,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 iter794 in self.cols: - iter794.write(oprot) + for iter801 in self.cols: + iter801.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -20932,11 +21050,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype798, _size795) = iprot.readListBegin() - for _i799 in xrange(_size795): - _elem800 = SchemaVersionDescriptor() - _elem800.read(iprot) - self.schemaVersions.append(_elem800) + (_etype805, _size802) = iprot.readListBegin() + for _i806 in xrange(_size802): + _elem807 = SchemaVersionDescriptor() + _elem807.read(iprot) + self.schemaVersions.append(_elem807) iprot.readListEnd() else: iprot.skip(ftype) @@ -20953,8 +21071,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 iter801 in self.schemaVersions: - iter801.write(oprot) + for iter808 in self.schemaVersions: + iter808.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 0e70e89..8b6fb32 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,31 @@ class CommitTxnRequest ::Thrift::Struct.generate_accessors self end +class ReplTblWriteIdStateRequest + include ::Thrift::Struct, ::Thrift::Struct_Union + VALIDWRITEIDLIST = 1 + DBNAME = 2 + TABLENAME = 3 + PARTNAMES = 4 + + FIELDS = { + VALIDWRITEIDLIST => {:type => ::Thrift::Types::STRING, :name => 'validWriteIdlist'}, + 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 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 58ebd29..0fa5a15 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() @@ -5242,6 +5256,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() @@ -11414,6 +11435,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 30922ba..866d909 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 @@ -6992,6 +6992,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 95a3767..463d989 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 @@ -2420,6 +2420,16 @@ public void abortTxns(List txnids) throws NoSuchTxnException, TException { } @Override + public void replTableWriteIdState(String validWriteIdList, String dbName, String tableName, List partNames) + throws TException { + ReplTblWriteIdStateRequest rqst = new ReplTblWriteIdStateRequest(validWriteIdList, 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 98674cf..018ce94 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 @@ -2821,14 +2821,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 @@ -2847,7 +2847,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 @@ -2856,7 +2856,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; /** @@ -2875,6 +2875,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..b9a1e0a 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,29 @@ } public static class FileInfo { - FileSystem srcFs; - Path sourcePath; - Path cmPath; - String checkSum; - boolean useSourcePath; - - public FileInfo(FileSystem srcFs, Path sourcePath) { + 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 = srcFs; this.sourcePath = sourcePath; this.cmPath = null; this.checkSum = null; this.useSourcePath = true; + this.subDir = 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 +106,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 +308,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 +330,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)); @@ -338,16 +346,20 @@ public static FileInfo getFileInfo(Path src, String checksumString, Configuratio * Concatenate filename and checksum with "#" * @param fileUriStr Filename string * @param fileChecksum Checksum string + * @param encodedSubDir sub directory path into which this file belongs to * @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 +369,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 9256b7a..83607b9 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; @@ -1089,6 +1091,79 @@ 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 { + // TODO: Right now, just allocating latest write-id (hwm) assuming that all writeids + // in the snapshot are committed. + 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(); + + 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 + String s = 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 <" + s + ">"); + + long nextWriteId = validWriteIdList.getHighWatermark() + 1; + rs = stmt.executeQuery(s); + if (!rs.next()) { + // First allocation of write id should add the table to the next_write_id meta table + // The initial value for write id should be 1 and hence we add 1 with number of write ids allocated here + s = "insert into NEXT_WRITE_ID (nwi_database, nwi_table, nwi_next) values (" + + quoteString(dbName) + "," + quoteString(tblName) + "," + + String.valueOf(nextWriteId) + ")"; + LOG.debug("Going to execute insert <" + s + ">"); + stmt.execute(s); + } else { + // Update the NEXT_WRITE_ID for the given table after incrementing by number of write ids allocated + s = "update NEXT_WRITE_ID set nwi_next = " + (nextWriteId) + + " where nwi_database = " + quoteString(dbName) + + " and nwi_table = " + quoteString(tblName); + LOG.debug("Going to execute update <" + s + ">"); + stmt.executeUpdate(s); + } + + 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); + } + } + @Override @RetrySemantics.ReadOnly public GetValidWriteIdsResponse getValidWriteIds(GetValidWriteIdsRequest rqst) 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..8d25ab3 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 @@ -117,13 +117,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/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index 612afe1..4d44dc6 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -862,6 +862,13 @@ struct CommitTxnRequest { 2: optional string replPolicy, } +struct ReplTblWriteIdStateRequest { + 1: required string validWriteIdlist, + 2: required string dbName, + 3: required string tableName, + 4: 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 . @@ -2046,6 +2053,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 ecddc7b..4f82ddb 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,16 @@ public void abortTxns(List txnids) throws NoSuchTxnException, TException { } @Override + public void replTableWriteIdState(String validWriteIdList, String dbName, String tableName, List partNames) + throws TException { + ReplTblWriteIdStateRequest rqst = new ReplTblWriteIdStateRequest(validWriteIdList, 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(); }