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 8523428013..94801454b0 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 @@ -18,6 +18,10 @@ package org.apache.hive.hcatalog.listener; import java.io.IOException; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; +import java.util.ArrayList; import java.util.Iterator; import java.util.List; import java.util.concurrent.TimeUnit; @@ -65,16 +69,21 @@ import org.apache.hadoop.hive.metastore.events.DropTableEvent; import org.apache.hadoop.hive.metastore.events.InsertEvent; import org.apache.hadoop.hive.metastore.events.LoadPartitionDoneEvent; +import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; +import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; +import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; import org.apache.hadoop.hive.metastore.events.ListenerEvent; import org.apache.hadoop.hive.metastore.messaging.EventMessage.EventType; import org.apache.hadoop.hive.metastore.messaging.MessageFactory; +import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; import org.apache.hadoop.hive.metastore.messaging.PartitionFiles; +import org.apache.hadoop.hive.metastore.tools.SQLGenerator; +import org.apache.hadoop.util.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; - import com.google.common.collect.Lists; - import static org.apache.hadoop.hive.metastore.Warehouse.DEFAULT_CATALOG_NAME; +import static org.apache.hadoop.hive.metastore.DatabaseProduct.MYSQL; /** * An implementation of {@link org.apache.hadoop.hive.metastore.MetaStoreEventListener} that @@ -438,6 +447,49 @@ public void onInsert(InsertEvent insertEvent) throws MetaException { process(event, insertEvent); } + @Override + public void onOpenTxn(OpenTxnEvent openTxnEvent) throws MetaException { + int lastTxnIdx = openTxnEvent.getTxnIds().size() - 1; + OpenTxnMessage msg = msgFactory.buildOpenTxnMessage(openTxnEvent.getTxnIds().get(0), + openTxnEvent.getTxnIds().get(lastTxnIdx)); + NotificationEvent event = + new NotificationEvent(0, now(), EventType.OPEN_TXN.toString(), msg.toString()); + + try { + addNotificationLog(event, openTxnEvent); + } catch (SQLException e) { + throw new MetaException("Unable to execute direct SQL " + StringUtils.stringifyException(e)); + } + } + + @Override + public void onCommitTxn(CommitTxnEvent commitTxnEvent) throws MetaException { + NotificationEvent event = + new NotificationEvent(0, now(), EventType.COMMIT_TXN.toString(), msgFactory.buildCommitTxnMessage( + commitTxnEvent.getTxnId()) + .toString()); + + try { + addNotificationLog(event, commitTxnEvent); + } catch (SQLException e) { + throw new MetaException("Unable to execute direct SQL " + StringUtils.stringifyException(e)); + } + } + + @Override + public void onAbortTxn(AbortTxnEvent abortTxnEvent) throws MetaException { + NotificationEvent event = + new NotificationEvent(0, now(), EventType.ABORT_TXN.toString(), msgFactory.buildAbortTxnMessage( + abortTxnEvent.getTxnId()) + .toString()); + + try { + addNotificationLog(event, abortTxnEvent); + } catch (SQLException e) { + throw new MetaException("Unable to execute direct SQL " + StringUtils.stringifyException(e)); + } + } + /** * @param partSetDoneEvent * @throws MetaException @@ -549,6 +601,102 @@ private int now() { return (int)millis; } + static String quoteString(String input) { + return "'" + input + "'"; + } + + private void addNotificationLog(NotificationEvent event, ListenerEvent listenerEvent) + throws MetaException, SQLException { + if ((listenerEvent.getConnection() == null) || (listenerEvent.getSqlGenerator() == null)) { + LOG.info("connection or sql generator is not set so executing sql via DN"); + process(event, listenerEvent); + return; + } + Statement stmt = null; + ResultSet rs = null; + try { + stmt = listenerEvent.getConnection().createStatement(); + SQLGenerator sqlGenerator = listenerEvent.getSqlGenerator(); + event.setMessageFormat(msgFactory.getMessageFormat()); + + if (sqlGenerator.getDbProduct() == MYSQL) { + stmt.execute("SET @@session.sql_mode=ANSI_QUOTES"); + } + + String s = sqlGenerator.addForUpdateClause("select \"NEXT_EVENT_ID\" " + + " from \"NOTIFICATION_SEQUENCE\""); + LOG.debug("Going to execute query <" + s + ">"); + rs = stmt.executeQuery(s); + if (!rs.next()) { + throw new MetaException("Transaction database not properly " + + "configured, can't find next event id."); + } + long nextEventId = rs.getLong(1); + long updatedEventid = nextEventId + 1; + s = "update \"NOTIFICATION_SEQUENCE\" set \"NEXT_EVENT_ID\" = " + updatedEventid; + LOG.debug("Going to execute update <" + s + ">"); + stmt.executeUpdate(s); + + s = sqlGenerator.addForUpdateClause("select \"NEXT_VAL\" from " + + "\"SEQUENCE_TABLE\" where \"SEQUENCE_NAME\" = " + + " 'org.apache.hadoop.hive.metastore.model.MNotificationLog'"); + LOG.debug("Going to execute query <" + s + ">"); + rs = stmt.executeQuery(s); + if (!rs.next()) { + throw new MetaException("failed to get next NEXT_VAL from SEQUENCE_TABLE"); + } + + long nextNLId = rs.getLong(1); + long updatedNLId = nextNLId + 1; + s = "update \"SEQUENCE_TABLE\" set \"NEXT_VAL\" = " + updatedNLId + " where \"SEQUENCE_NAME\" = " + + + " 'org.apache.hadoop.hive.metastore.model.MNotificationLog'"; + LOG.debug("Going to execute update <" + s + ">"); + stmt.executeUpdate(s); + + List insert = new ArrayList<>(); + + insert.add(0, nextNLId + "," + nextEventId + "," + now() + "," + + quoteString(event.getEventType()) + "," + quoteString(event.getDbName()) + "," + + quoteString(" ") + "," + quoteString(event.getMessage()) + "," + + quoteString(event.getMessageFormat())); + + List sql = sqlGenerator.createInsertValuesStmt( + "\"NOTIFICATION_LOG\" (\"NL_ID\", \"EVENT_ID\", \"EVENT_TIME\", " + + " \"EVENT_TYPE\", \"DB_NAME\"," + + " \"TBL_NAME\", \"MESSAGE\", \"MESSAGE_FORMAT\")", insert); + for (String q : sql) { + LOG.info("Going to execute insert <" + q + ">"); + stmt.execute(q); + } + + // Set the DB_NOTIFICATION_EVENT_ID for future reference by other listeners. + if (event.isSetEventId()) { + listenerEvent.putParameter( + MetaStoreEventListenerConstants.DB_NOTIFICATION_EVENT_ID_KEY_NAME, + Long.toString(event.getEventId())); + } + } catch (SQLException e) { + LOG.warn("failed to add notification log" + e.getMessage()); + throw e; + } finally { + if (stmt != null && !stmt.isClosed()) { + try { + stmt.close(); + } catch (SQLException e) { + LOG.warn("Failed to close statement " + e.getMessage()); + } + } + if (rs != null && !rs.isClosed()) { + try { + rs.close(); + } catch (SQLException e) { + LOG.warn("Failed to close result set " + e.getMessage()); + } + } + } + } + /** * Process this notification by adding it to metastore DB. * diff --git a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java index e0e29652da..5459554fec 100644 --- a/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java +++ b/itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/TestDbNotificationListener.java @@ -70,6 +70,9 @@ import org.apache.hadoop.hive.metastore.events.DropPartitionEvent; import org.apache.hadoop.hive.metastore.events.DropTableEvent; import org.apache.hadoop.hive.metastore.events.InsertEvent; +import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; +import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; +import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; import org.apache.hadoop.hive.metastore.events.ListenerEvent; import org.apache.hadoop.hive.metastore.messaging.AddPartitionMessage; import org.apache.hadoop.hive.metastore.messaging.AlterPartitionMessage; @@ -218,6 +221,18 @@ public void onDropFunction (DropFunctionEvent fnEvent) throws MetaException { public void onInsert(InsertEvent insertEvent) throws MetaException { pushEventId(EventType.INSERT, insertEvent); } + + public void onOpenTxn(OpenTxnEvent openTxnEvent) throws MetaException { + pushEventId(EventType.OPEN_TXN, openTxnEvent); + } + + public void onCommitTxn(CommitTxnEvent commitTxnEvent) throws MetaException { + pushEventId(EventType.COMMIT_TXN, commitTxnEvent); + } + + public void onAbortTxn(AbortTxnEvent abortTxnEvent) throws MetaException { + pushEventId(EventType.ABORT_TXN, abortTxnEvent); + } } @SuppressWarnings("rawtypes") 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 new file mode 100644 index 0000000000..cac992275e --- /dev/null +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java @@ -0,0 +1,184 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse; + +import org.apache.hadoop.conf.Configuration; +import org.apache.hadoop.hdfs.MiniDFSCluster; +import org.apache.hadoop.hive.shims.Utils; +import org.junit.rules.TestName; +import org.junit.rules.TestRule; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.junit.After; +import org.junit.Before; +import org.junit.Rule; +import org.junit.Test; +import org.junit.BeforeClass; +import org.junit.AfterClass; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; + +/** + * TestReplicationScenariosAcidTables - test replication for ACID tables + */ +public class TestReplicationScenariosAcidTables { + @Rule + public final TestName testName = new TestName(); + + @Rule + public TestRule replV1BackwardCompat; + + protected static final Logger LOG = LoggerFactory.getLogger(TestReplicationScenarios.class); + private static WarehouseInstance primary, replica, replicaNonAcid; + private String primaryDbName, replicatedDbName; + + @BeforeClass + public static void classLevelSetup() throws Exception { + Configuration conf = new Configuration(); + conf.set("dfs.client.use.datanode.hostname", "true"); + conf.set("hadoop.proxyuser." + Utils.getUGI().getShortUserName() + ".hosts", "*"); + MiniDFSCluster miniDFSCluster = + new MiniDFSCluster.Builder(conf).numDataNodes(1).format(true).build(); + HashMap overridesForHiveConf = new HashMap() {{ + put("fs.defaultFS", miniDFSCluster.getFileSystem().getUri().toString()); + put("hive.support.concurrency", "true"); + put("hive.txn.manager", "org.apache.hadoop.hive.ql.lockmgr.DbTxnManager"); + }}; + primary = new WarehouseInstance(LOG, miniDFSCluster, overridesForHiveConf); + replica = new WarehouseInstance(LOG, miniDFSCluster, overridesForHiveConf); + HashMap overridesForHiveConf1 = new HashMap() {{ + put("fs.defaultFS", miniDFSCluster.getFileSystem().getUri().toString()); + put("hive.support.concurrency", "false"); + put("hive.txn.manager", "org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager"); + }}; + replicaNonAcid = new WarehouseInstance(LOG, miniDFSCluster, overridesForHiveConf1); + } + + @AfterClass + public static void classLevelTearDown() throws IOException { + primary.close(); + replica.close(); + } + + @Before + public void setup() throws Throwable { + replV1BackwardCompat = primary.getReplivationV1CompatRule(new ArrayList<>()); + primaryDbName = testName.getMethodName() + "_" + +System.currentTimeMillis(); + replicatedDbName = "replicated_" + primaryDbName; + primary.run("create database " + primaryDbName); + } + + @After + public void tearDown() throws Throwable { + primary.run("drop database if exists " + primaryDbName + " cascade"); + replica.run("drop database if exists " + replicatedDbName + " cascade"); + replicaNonAcid.run("drop database if exists " + replicatedDbName + " cascade"); + } + + @Test + public void testOpenTxnEvent() throws Throwable { + String tableName = testName.getMethodName(); + WarehouseInstance.Tuple bootStrapDump = primary.dump(primaryDbName, null); + replica.load(replicatedDbName, bootStrapDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(bootStrapDump.lastReplicationId); + + // create table will start and coomit the transaction + primary.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 + "'") + .verifyResult(tableName) + .run("INSERT INTO " + tableName + " partition (load_date='2016-03-01') VALUES (1, 1)") + .run("select key from " + tableName) + .verifyResult("1"); + + WarehouseInstance.Tuple incrementalDump = + primary.dump(primaryDbName, bootStrapDump.lastReplicationId); + replica.load(replicatedDbName, incrementalDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(incrementalDump.lastReplicationId) + .run("SHOW TABLES LIKE '" + tableName + "'") + .verifyResult(tableName); + + // Test the idempotent behavior of Open and Commit Txn + replica.load(replicatedDbName, incrementalDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(incrementalDump.lastReplicationId) + .run("SHOW TABLES LIKE '" + tableName + "'") + .verifyResult(tableName); + } + + @Test + public void testAbortTxnEvent() throws Throwable { + String tableName = testName.getMethodName(); + String tableNameFail = testName.getMethodName() + "Fail"; + WarehouseInstance.Tuple bootStrapDump = primary.dump(primaryDbName, null); + replica.load(replicatedDbName, bootStrapDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(bootStrapDump.lastReplicationId); + + // this should fail + primary.runFailure("CREATE TABLE " + tableNameFail + + " (key int, value int) PARTITIONED BY (load_date date) " + + "CLUSTERED BY(key) ('transactional'='true')") + .run("SHOW TABLES LIKE '" + tableNameFail + "'") + .verifyFailure(new String[]{tableNameFail}); + + WarehouseInstance.Tuple incrementalDump = + primary.dump(primaryDbName, bootStrapDump.lastReplicationId); + replica.load(replicatedDbName, incrementalDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(incrementalDump.lastReplicationId) + .run("SHOW TABLES LIKE '" + tableNameFail + "'") + .verifyFailure(new String[]{tableNameFail}); + + // Test the idempotent behavior of Abort Txn + replica.load(replicatedDbName, incrementalDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(incrementalDump.lastReplicationId) + .run("SHOW TABLES LIKE '" + tableNameFail + "'") + .verifyFailure(new String[]{tableNameFail}); + } + + @Test + public void testTxnEventNonAcid() throws Throwable { + String tableName = testName.getMethodName(); + WarehouseInstance.Tuple bootStrapDump = primary.dump(primaryDbName, null); + replicaNonAcid.load(replicatedDbName, bootStrapDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(bootStrapDump.lastReplicationId); + + primary.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 + "'") + .verifyResult(tableName) + .run("INSERT INTO " + tableName + + " partition (load_date='2016-03-01') VALUES (1, 1)") + .run("select key from " + tableName) + .verifyResult("1"); + + WarehouseInstance.Tuple incrementalDump = + primary.dump(primaryDbName, bootStrapDump.lastReplicationId); + replicaNonAcid.loadFailure(replicatedDbName, incrementalDump.dumpLocation) + .run("REPL STATUS " + replicatedDbName) + .verifyResult(bootStrapDump.lastReplicationId); + } +} diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java index 0006ea5ae1..fe4660c365 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/WarehouseInstance.java @@ -30,6 +30,7 @@ import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.HiveMetaStoreClient; import org.apache.hadoop.hive.metastore.MetaStoreTestUtils; +import org.apache.hadoop.hive.metastore.txn.TxnDbUtil; import org.apache.hadoop.hive.ql.DriverFactory; import org.apache.hadoop.hive.ql.IDriver; import org.apache.hadoop.hive.ql.exec.repl.ReplDumpWork; @@ -122,7 +123,6 @@ private void initialize(String cmRoot, String warehouseRoot, hiveConf.setIntVar(HiveConf.ConfVars.METASTORETHRIFTCONNECTIONRETRIES, 3); hiveConf.set(HiveConf.ConfVars.PREEXECHOOKS.varname, ""); hiveConf.set(HiveConf.ConfVars.POSTEXECHOOKS.varname, ""); - hiveConf.set(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY.varname, "false"); System.setProperty(HiveConf.ConfVars.PREEXECHOOKS.varname, " "); System.setProperty(HiveConf.ConfVars.POSTEXECHOOKS.varname, " "); @@ -135,6 +135,10 @@ private void initialize(String cmRoot, String warehouseRoot, driver = DriverFactory.newDriver(hiveConf); SessionState.start(new CliSessionState(hiveConf)); client = new HiveMetaStoreClient(hiveConf); + + TxnDbUtil.cleanDb(hiveConf); + TxnDbUtil.prepDb(hiveConf); + // change the value for the next instance. ++uniqueIdentifier; } @@ -176,6 +180,14 @@ public WarehouseInstance run(String command) throws Throwable { return this; } + WarehouseInstance runFailure(String command) throws Throwable { + CommandProcessorResponse ret = driver.run(command); + if (ret.getException() == null) { + throw new RuntimeException("command execution passed for a invalid command" + command); + } + return this; + } + Tuple dump(String dbName, String lastReplicationId, List withClauseOptions) throws Throwable { String dumpCommand = @@ -224,6 +236,13 @@ WarehouseInstance status(String replicatedDbName, List withClauseOptions return run(replStatusCmd); } + WarehouseInstance loadFailure(String replicatedDbName, String dumpLocation) throws Throwable { + runFailure("EXPLAIN REPL LOAD " + replicatedDbName + " FROM '" + dumpLocation + "'"); + printOutput(); + runFailure("REPL LOAD " + replicatedDbName + " FROM '" + dumpLocation + "'"); + return this; + } + WarehouseInstance verifyResult(String data) throws IOException { verifyResults(data == null ? new String[] {} : new String[] { data }); return this; diff --git a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCleanerWithReplication.java b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCleanerWithReplication.java index c0751a7d5c..597544f021 100644 --- a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCleanerWithReplication.java +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/txn/compactor/TestCleanerWithReplication.java @@ -60,6 +60,7 @@ public void setup() throws Exception { TxnDbUtil.cleanDb(conf); conf.set("fs.defaultFS", fs.getUri().toString()); conf.setBoolVar(HiveConf.ConfVars.REPLCMENABLED, true); + TxnDbUtil.prepDb(conf); ms = new HiveMetaStoreClient(conf); txnHandler = TxnUtils.getTxnStore(conf); cmRootDirectory = new Path(conf.get(HiveConf.ConfVars.REPLCMDIR.varname)); diff --git a/metastore/scripts/upgrade/derby/054-HIVE-18781.derby.sql b/metastore/scripts/upgrade/derby/054-HIVE-18781.derby.sql new file mode 100644 index 0000000000..8a50663864 --- /dev/null +++ b/metastore/scripts/upgrade/derby/054-HIVE-18781.derby.sql @@ -0,0 +1,9 @@ + +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + +INSERT INTO "APP"."SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") SELECT * FROM (VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1)) tmp_table WHERE NOT EXISTS ( SELECT "NEXT_VAL" FROM "APP"."SEQUENCE_TABLE" WHERE "SEQUENCE_NAME" = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); diff --git a/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql index 2b1dd5bf7f..259b10573a 100644 --- a/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql @@ -74,6 +74,8 @@ CREATE TABLE "APP"."SDS" ("SD_ID" BIGINT NOT NULL, "INPUT_FORMAT" VARCHAR(4000), CREATE TABLE "APP"."SEQUENCE_TABLE" ("SEQUENCE_NAME" VARCHAR(256) NOT NULL, "NEXT_VAL" BIGINT NOT NULL); +INSERT INTO "APP"."SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1); + RUN '022-HIVE-11107.derby.sql'; CREATE TABLE "APP"."BUCKETING_COLS" ("SD_ID" BIGINT NOT NULL, "BUCKET_COL_NAME" VARCHAR(256), "INTEGER_IDX" INTEGER NOT NULL); diff --git a/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql index 99838b452a..27d67e64b3 100644 --- a/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql @@ -155,3 +155,10 @@ CREATE TABLE WRITE_SET ( WS_COMMIT_ID bigint NOT NULL, WS_OPERATION_TYPE char(1) NOT NULL ); + +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); diff --git a/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql index 1a3c00a489..ee2fb674b2 100644 --- a/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql +++ b/metastore/scripts/upgrade/derby/upgrade-2.3.0-to-3.0.0.derby.sql @@ -11,5 +11,6 @@ RUN '050-HIVE-18192.derby.sql'; RUN '051-HIVE-18675.derby.sql'; RUN '052-HIVE-18965.derby.sql'; RUN '053-HIVE-18755.derby.sql'; +RUN '054-HIVE-18781.derby.sql'; UPDATE "APP".VERSION SET SCHEMA_VERSION='3.0.0', VERSION_COMMENT='Hive release version 3.0.0' where VER_ID=1; diff --git a/ql/if/queryplan.thrift b/ql/if/queryplan.thrift index aaf644a526..ad778e3245 100644 --- a/ql/if/queryplan.thrift +++ b/ql/if/queryplan.thrift @@ -102,7 +102,8 @@ enum StageType { COLUMNSTATS, REPL_DUMP, REPL_BOOTSTRAP_LOAD, - REPL_STATE_LOG + REPL_STATE_LOG, + REPL_TXN } struct Stage { diff --git a/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp b/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp index 7262017681..b6eb12ab13 100644 --- a/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp +++ b/ql/src/gen/thrift/gen-cpp/queryplan_types.cpp @@ -118,7 +118,8 @@ int _kStageTypeValues[] = { StageType::COLUMNSTATS, StageType::REPL_DUMP, StageType::REPL_BOOTSTRAP_LOAD, - StageType::REPL_STATE_LOG + StageType::REPL_STATE_LOG, + StageType::REPL_TXN }; const char* _kStageTypeNames[] = { "CONDITIONAL", @@ -135,9 +136,10 @@ const char* _kStageTypeNames[] = { "COLUMNSTATS", "REPL_DUMP", "REPL_BOOTSTRAP_LOAD", - "REPL_STATE_LOG" + "REPL_STATE_LOG", + "REPL_TXN" }; -const std::map _StageType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(15, _kStageTypeValues, _kStageTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL)); +const std::map _StageType_VALUES_TO_NAMES(::apache::thrift::TEnumIterator(16, _kStageTypeValues, _kStageTypeNames), ::apache::thrift::TEnumIterator(-1, NULL, NULL)); Adjacency::~Adjacency() throw() { diff --git a/ql/src/gen/thrift/gen-cpp/queryplan_types.h b/ql/src/gen/thrift/gen-cpp/queryplan_types.h index 18dc867112..eb02107e64 100644 --- a/ql/src/gen/thrift/gen-cpp/queryplan_types.h +++ b/ql/src/gen/thrift/gen-cpp/queryplan_types.h @@ -96,7 +96,8 @@ struct StageType { COLUMNSTATS = 11, REPL_DUMP = 12, REPL_BOOTSTRAP_LOAD = 13, - REPL_STATE_LOG = 14 + REPL_STATE_LOG = 14, + REPL_TXN = 15 }; }; diff --git a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java index ed408d2b91..08822b3cc7 100644 --- a/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java +++ b/ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/StageType.java @@ -26,7 +26,8 @@ COLUMNSTATS(11), REPL_DUMP(12), REPL_BOOTSTRAP_LOAD(13), - REPL_STATE_LOG(14); + REPL_STATE_LOG(14), + REPL_TXN(15); private final int value; @@ -77,6 +78,8 @@ public static StageType findByValue(int value) { return REPL_BOOTSTRAP_LOAD; case 14: return REPL_STATE_LOG; + case 15: + return REPL_TXN; default: return null; } diff --git a/ql/src/gen/thrift/gen-php/Types.php b/ql/src/gen/thrift/gen-php/Types.php index bca2eee4b2..df4e41db93 100644 --- a/ql/src/gen/thrift/gen-php/Types.php +++ b/ql/src/gen/thrift/gen-php/Types.php @@ -117,6 +117,7 @@ final class StageType { const REPL_DUMP = 12; const REPL_BOOTSTRAP_LOAD = 13; const REPL_STATE_LOG = 14; + const REPL_TXN = 15; static public $__names = array( 0 => 'CONDITIONAL', 1 => 'COPY', @@ -133,6 +134,7 @@ final class StageType { 12 => 'REPL_DUMP', 13 => 'REPL_BOOTSTRAP_LOAD', 14 => 'REPL_STATE_LOG', + 15 => 'REPL_TXN', ); } diff --git a/ql/src/gen/thrift/gen-py/queryplan/ttypes.py b/ql/src/gen/thrift/gen-py/queryplan/ttypes.py index 1f0d627402..85d39fdbe1 100644 --- a/ql/src/gen/thrift/gen-py/queryplan/ttypes.py +++ b/ql/src/gen/thrift/gen-py/queryplan/ttypes.py @@ -163,6 +163,7 @@ class StageType: REPL_DUMP = 12 REPL_BOOTSTRAP_LOAD = 13 REPL_STATE_LOG = 14 + REPL_TXN = 15 _VALUES_TO_NAMES = { 0: "CONDITIONAL", @@ -180,6 +181,7 @@ class StageType: 12: "REPL_DUMP", 13: "REPL_BOOTSTRAP_LOAD", 14: "REPL_STATE_LOG", + 15: "REPL_TXN", } _NAMES_TO_VALUES = { @@ -198,6 +200,7 @@ class StageType: "REPL_DUMP": 12, "REPL_BOOTSTRAP_LOAD": 13, "REPL_STATE_LOG": 14, + "REPL_TXN": 15, } diff --git a/ql/src/gen/thrift/gen-rb/queryplan_types.rb b/ql/src/gen/thrift/gen-rb/queryplan_types.rb index 88d9c179e9..6010f3d21e 100644 --- a/ql/src/gen/thrift/gen-rb/queryplan_types.rb +++ b/ql/src/gen/thrift/gen-rb/queryplan_types.rb @@ -75,8 +75,9 @@ module StageType REPL_DUMP = 12 REPL_BOOTSTRAP_LOAD = 13 REPL_STATE_LOG = 14 - VALUE_MAP = {0 => "CONDITIONAL", 1 => "COPY", 2 => "DDL", 3 => "MAPRED", 4 => "EXPLAIN", 5 => "FETCH", 6 => "FUNC", 7 => "MAPREDLOCAL", 8 => "MOVE", 9 => "STATS", 10 => "DEPENDENCY_COLLECTION", 11 => "COLUMNSTATS", 12 => "REPL_DUMP", 13 => "REPL_BOOTSTRAP_LOAD", 14 => "REPL_STATE_LOG"} - VALID_VALUES = Set.new([CONDITIONAL, COPY, DDL, MAPRED, EXPLAIN, FETCH, FUNC, MAPREDLOCAL, MOVE, STATS, DEPENDENCY_COLLECTION, COLUMNSTATS, REPL_DUMP, REPL_BOOTSTRAP_LOAD, REPL_STATE_LOG]).freeze + REPL_TXN = 15 + VALUE_MAP = {0 => "CONDITIONAL", 1 => "COPY", 2 => "DDL", 3 => "MAPRED", 4 => "EXPLAIN", 5 => "FETCH", 6 => "FUNC", 7 => "MAPREDLOCAL", 8 => "MOVE", 9 => "STATS", 10 => "DEPENDENCY_COLLECTION", 11 => "COLUMNSTATS", 12 => "REPL_DUMP", 13 => "REPL_BOOTSTRAP_LOAD", 14 => "REPL_STATE_LOG", 15 => "REPL_TXN"} + VALID_VALUES = Set.new([CONDITIONAL, COPY, DDL, MAPRED, EXPLAIN, FETCH, FUNC, MAPREDLOCAL, MOVE, STATS, DEPENDENCY_COLLECTION, COLUMNSTATS, REPL_DUMP, REPL_BOOTSTRAP_LOAD, REPL_STATE_LOG, REPL_TXN]).freeze end class Adjacency 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 new file mode 100644 index 0000000000..1cdeeb6604 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java @@ -0,0 +1,92 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.ql.exec; + +import org.apache.hadoop.hive.ql.DriverContext; +import org.apache.hadoop.hive.ql.lockmgr.HiveTxnManager; +import org.apache.hadoop.hive.ql.plan.api.StageType; +import org.apache.hadoop.security.UserGroupInformation; +import org.apache.hadoop.util.StringUtils; +import java.util.List; + +/** + * ReplTxnTask. + * Used for replaying the transaction related events. + */ +public class ReplTxnTask extends Task { + + private static final long serialVersionUID = 1L; + + public ReplTxnTask() { + super(); + } + + @Override + public int execute(DriverContext driverContext) { + String replPolicy = work.getReplPolicy(); + if (Utilities.FILE_OP_LOGGER.isTraceEnabled()) { + Utilities.FILE_OP_LOGGER.trace("Executing ReplTxnTask " + work.getOperationType().toString() + + " for txn ids : " + work.getTxnIds().toString() + " replPolicy : " + replPolicy); + } + 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); + assert txnIds.size() == work.getTxnIds().size(); + LOG.info("Replayed OpenTxn Event for policy " + replPolicy + " with srcTxn " + + work.getTxnIds().toString() + " and target txn id " + txnIds.toString()); + return 0; + case REPL_ABORT_TXN: + for (long txnId : work.getTxnIds()) { + txnManager.replRollbackTxn(replPolicy, txnId); + LOG.info("Replayed AbortTxn Event for policy " + replPolicy + " with srcTxn " + txnId); + } + return 0; + case REPL_COMMIT_TXN: + for (long txnId : work.getTxnIds()) { + txnManager.replCommitTxn(replPolicy, txnId); + LOG.info("Replayed CommitTxn Event for policy " + replPolicy + " with srcTxn " + txnId); + } + return 0; + default: + LOG.error("Operation Type " + work.getOperationType() + " is not supported "); + return 1; + } + } catch (Exception e) { + console.printError("Failed with exception " + e.getMessage(), "\n" + + StringUtils.stringifyException(e)); + setException(e); + return 1; + } + } + + @Override + public StageType getType() { + return StageType.REPL_TXN; + } + + @Override + public String getName() { + return "REPL_TRANSACTION"; + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java new file mode 100644 index 0000000000..9467415175 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnWork.java @@ -0,0 +1,91 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.exec; + +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; + +/** + * ReplTxnTask. + * Used for replaying the transaction related events. + */ +@Explain(displayName = "Replication Transaction", explainLevels = { Level.USER, Level.DEFAULT, Level.EXTENDED }) +public class ReplTxnWork implements Serializable { + private static final long serialVersionUID = 1L; + private String dbName; + private String tableName; + private List txnIds; + + /** + * OperationType. + * Different kind of events supported for replaying. + */ + public enum OperationType { + REPL_OPEN_TXN, REPL_ABORT_TXN, REPL_COMMIT_TXN + } + + OperationType operation; + + public ReplTxnWork(String dbName, String tableName, List txnIds, OperationType type) { + this.txnIds = txnIds; + this.dbName = dbName; + this.tableName = tableName; + this.operation = type; + } + + public ReplTxnWork(String dbName, String tableName, Long txnId, OperationType type) { + this.txnIds = Lists.newArrayList(txnId); + this.dbName = dbName; + this.tableName = tableName; + this.operation = type; + } + + public List getTxnIds() { + return txnIds; + } + + public Long getTxnId(int idx) { + return txnIds.get(idx); + } + + public String getDbName() { + return dbName; + } + + public String getTableName() { + return tableName; + } + + public String getReplPolicy() { + if ((dbName == null) || (dbName.isEmpty())) { + return null; + } else if ((tableName == null) || (tableName.isEmpty())) { + return dbName.toLowerCase() + ".*"; + } else { + return dbName.toLowerCase() + "." + tableName.toLowerCase(); + } + } + + public OperationType getOperationType() { + return operation; + } +} 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 ccfd4cb04e..10a2ed2663 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 @@ -113,6 +113,7 @@ public TaskTuple(Class workClass, Class> taskClass) { taskvec.add(new TaskTuple<>(ReplLoadWork.class, ReplLoadTask.class)); taskvec.add(new TaskTuple<>(ReplStateLogWork.class, ReplStateLogTask.class)); taskvec.add(new TaskTuple(ExportWork.class, ExportTask.class)); + taskvec.add(new TaskTuple(ReplTxnWork.class, ReplTxnTask.class)); } private static ThreadLocal tid = new ThreadLocal() { 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 a9ebc90b5b..44a7496136 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 @@ -1794,4 +1794,14 @@ public static int getAcidVersionFromMetaFile(Path deltaOrBaseDir, FileSystem fs) } return fileList; } + + public static boolean isAcidEnabled(HiveConf hiveConf) { + String txnMgr = hiveConf.getVar(HiveConf.ConfVars.HIVE_TXN_MANAGER); + boolean concurrency = hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY); + String dbTxnMgr = "org.apache.hadoop.hive.ql.lockmgr.DbTxnManager"; + if (txnMgr.equals(dbTxnMgr) && concurrency) { + return true; + } + return false; + } } 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 89ca1ff5cf..6513e0f203 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 @@ -202,6 +202,15 @@ void setHiveConf(HiveConf conf) { } } + @Override + public List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws LockException { + try { + return getMS().replOpenTxn(replPolicy, srcTxnIds, user); + } catch (TException e) { + throw new LockException(e, ErrorMsg.METASTORE_COMMUNICATION_FAILED); + } + } + @Override public long openTxn(Context ctx, String user) throws LockException { return openTxn(ctx, user, 0); @@ -590,6 +599,22 @@ public void releaseLocks(List hiveLocks) throws LockException { } } + @Override + public void replCommitTxn(String replPolicy, long srcTxnId) throws LockException { + try { + getMS().replCommitTxn(srcTxnId, replPolicy); + } catch (NoSuchTxnException e) { + LOG.error("Metastore could not find " + JavaUtils.txnIdToString(srcTxnId)); + throw new LockException(e, ErrorMsg.TXN_NO_SUCH_TRANSACTION, JavaUtils.txnIdToString(srcTxnId)); + } catch (TxnAbortedException e) { + LockException le = new LockException(e, ErrorMsg.TXN_ABORTED, JavaUtils.txnIdToString(srcTxnId), e.getMessage()); + LOG.error(le.getMessage()); + throw le; + } catch (TException e) { + throw new LockException(ErrorMsg.METASTORE_COMMUNICATION_FAILED.getMsg(), e); + } + } + @Override public void commitTxn() throws LockException { if (!isTxnOpen()) { @@ -617,6 +642,21 @@ public void commitTxn() throws LockException { tableWriteIds.clear(); } } + @Override + public void replRollbackTxn(String replPolicy, long srcTxnId) throws LockException { + try { + getMS().replRollbackTxn(srcTxnId, replPolicy); + } catch (NoSuchTxnException e) { + LOG.error("Metastore could not find " + JavaUtils.txnIdToString(srcTxnId)); + throw new LockException(e, ErrorMsg.TXN_NO_SUCH_TRANSACTION, JavaUtils.txnIdToString(srcTxnId)); + } catch (TxnAbortedException e) { + LockException le = new LockException(e, ErrorMsg.TXN_ABORTED, JavaUtils.txnIdToString(srcTxnId), e.getMessage()); + LOG.error(le.getMessage()); + throw le; + } catch (TException e) { + throw new LockException(ErrorMsg.METASTORE_COMMUNICATION_FAILED.getMsg(), e); + } + } @Override public void rollbackTxn() throws LockException { 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 7413074be1..9057bb94b0 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 @@ -55,6 +55,11 @@ public long openTxn(Context ctx, String user) throws LockException { // No-op return 0L; } + @Override + public List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws LockException { + return null; + } + @Override public boolean isTxnOpen() { return false; @@ -208,11 +213,21 @@ public void commitTxn() throws LockException { // No-op } + @Override + public void replCommitTxn(String replPolicy, long srcTxnId) throws LockException { + // No-op + } + @Override public void rollbackTxn() throws LockException { // No-op } + @Override + public void replRollbackTxn(String replPolicy, long srcTxnId) 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 0db2a2c3ed..490f3b8ffe 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 @@ -28,7 +28,6 @@ import org.apache.hadoop.hive.ql.plan.LockTableDesc; import org.apache.hadoop.hive.ql.plan.UnlockDatabaseDesc; import org.apache.hadoop.hive.ql.plan.UnlockTableDesc; - import java.util.List; /** @@ -47,6 +46,32 @@ */ long openTxn(Context ctx, String user) throws LockException; + /** + * Open a new transaction in target cluster. + * @param replPolicy Replication policy to uniquely identify the source cluster. + * @param srcTxnIds The ids of the transaction at the source cluster + * @param user The user who has fired the repl load command + * @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; + + /** + * Commit the transaction in target cluster. + * @param replPolicy Replication policy to uniquely identify the source cluster. + * @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; + + /** + * Abort the transaction in target cluster. + * @param replPolicy Replication policy to uniquely identify the source cluster. + * @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; + /** * Get the lock manager. This must be used rather than instantiating an * instance of the lock manager directly as the transaction manager will diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java index e8625895b2..8b639f7922 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/ImportSemanticAnalyzer.java @@ -409,10 +409,6 @@ private static ImportTableDesc getBaseCreateTableDescFromTable(String dbName, Task copyTask = null; if (replicationSpec.isInReplicationScope()) { - if (isSourceMm || isAcid(writeId)) { - // Note: this is replication gap, not MM gap... Repl V2 is not ready yet. - throw new RuntimeException("Replicating MM and ACID tables is not supported"); - } copyTask = ReplCopyTask.getLoadCopyTask(replicationSpec, dataPath, destPath, x.getConf()); } else { CopyWork cw = new CopyWork(dataPath, destPath, false); @@ -502,10 +498,6 @@ private static boolean isAcid(Long writeId) { Task copyTask = null; if (replicationSpec.isInReplicationScope()) { - if (isSourceMm || isAcid(writeId)) { - // Note: this is replication gap, not MM gap... Repl V2 is not ready yet. - throw new RuntimeException("Replicating MM and ACID tables is not supported"); - } copyTask = ReplCopyTask.getLoadCopyTask( replicationSpec, new Path(srcLocation), destPath, x.getConf()); } else { 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 9f18efdca9..79b2e48ee2 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 @@ -34,6 +34,7 @@ import org.apache.hadoop.hive.ql.hooks.ReadEntity; import org.apache.hadoop.hive.ql.metadata.HiveException; import org.apache.hadoop.hive.ql.metadata.Table; +import org.apache.hadoop.hive.ql.parse.repl.DumpType; import org.apache.hadoop.hive.ql.parse.repl.ReplLogger; import org.apache.hadoop.hive.ql.parse.repl.dump.Utils; import org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData; @@ -243,6 +244,60 @@ private void initReplLoad(ASTNode ast) throws SemanticException { } } + private boolean shouldReplayEvent(FileStatus dir, DumpType dumpType) throws SemanticException { + // This functions filters out all the events which are already replayed. This can be done only + // for transaction related events as for other kind of events we can not gurantee that the last + // repl id stored in the database/table is valid. + if ((dumpType != DumpType.EVENT_ABORT_TXN) && + (dumpType != DumpType.EVENT_OPEN_TXN) && + (dumpType != DumpType.EVENT_COMMIT_TXN)) { + return true; + } + + // if database itself is null then we can not filter out anything. + if (dbNameOrPattern == null || dbNameOrPattern.isEmpty()) { + return true; + } else if ((tblNameOrPattern == null) || (tblNameOrPattern.isEmpty())) { + Database database; + try { + database = Hive.get().getDatabase(dbNameOrPattern); + } catch (HiveException e) { + LOG.error("failed to get the database " + dbNameOrPattern); + throw new SemanticException(e); + } + String replLastId; + Map params = database.getParameters(); + if (params != null && (params.containsKey(ReplicationSpec.KEY.CURR_STATE_ID.toString()))) { + replLastId = params.get(ReplicationSpec.KEY.CURR_STATE_ID.toString()); + if (Long.parseLong(replLastId) >= Long.parseLong(dir.getPath().getName())) { + LOG.debug("Event " + dumpType + " with replId " + Long.parseLong(dir.getPath().getName()) + + " is already replayed. LastReplId - " + Long.parseLong(replLastId)); + return false; + } + } + } else { + Table tbl; + try { + tbl = Hive.get().getTable(dbNameOrPattern, tblNameOrPattern); + } catch (HiveException e) { + LOG.error("failed to get the table " + dbNameOrPattern + "." + tblNameOrPattern); + throw new SemanticException(e); + } + if (tbl != null) { + Map params = tbl.getParameters(); + if (params != null && (params.containsKey(ReplicationSpec.KEY.CURR_STATE_ID.toString()))) { + String replLastId = params.get(ReplicationSpec.KEY.CURR_STATE_ID.toString()); + if (Long.parseLong(replLastId) >= Long.parseLong(dir.getPath().getName())) { + LOG.debug("Event " + dumpType + " with replId " + Long.parseLong(dir.getPath().getName()) + + " is already replayed. LastReplId - " + Long.parseLong(replLastId)); + return false; + } + } + } + } + return true; + } + /* * Example dump dirs we need to be able to handle : * @@ -380,6 +435,13 @@ private void analyzeReplLoad(ASTNode ast) throws SemanticException { loadPath.toString(), dirsInLoadPath.length); for (FileStatus dir : dirsInLoadPath){ + String locn = dir.getPath().toUri().toString(); + DumpMetaData eventDmd = new DumpMetaData(new Path(locn), conf); + + if (!shouldReplayEvent(dir, eventDmd.getDumpType())) { + continue; + } + LOG.debug("Loading event from {} to {}.{}", dir.getPath().toUri(), dbNameOrPattern, tblNameOrPattern); // event loads will behave similar to table loads, with one crucial difference @@ -401,8 +463,6 @@ private void analyzeReplLoad(ASTNode ast) throws SemanticException { // Once this entire chain is generated, we add evTaskRoot to rootTasks, so as to execute the // entire chain - String locn = dir.getPath().toUri().toString(); - DumpMetaData eventDmd = new DumpMetaData(new Path(locn), conf); MessageHandler.Context context = new MessageHandler.Context(dbNameOrPattern, tblNameOrPattern, locn, taskChainTail, eventDmd, conf, db, ctx, LOG); diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java index c69ecc9405..5fab0d2ebf 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/DumpType.java @@ -37,6 +37,9 @@ import org.apache.hadoop.hive.ql.parse.repl.load.message.TableHandler; import org.apache.hadoop.hive.ql.parse.repl.load.message.TruncatePartitionHandler; import org.apache.hadoop.hive.ql.parse.repl.load.message.TruncateTableHandler; +import org.apache.hadoop.hive.ql.parse.repl.load.message.OpenTxnHandler; +import org.apache.hadoop.hive.ql.parse.repl.load.message.CommitTxnHandler; +import org.apache.hadoop.hive.ql.parse.repl.load.message.AbortTxnHandler; public enum DumpType { @@ -183,6 +186,24 @@ public MessageHandler handler() { public MessageHandler handler() { return new DropDatabaseHandler(); } + }, + EVENT_OPEN_TXN("EVENT_OPEN_TXN") { + @Override + public MessageHandler handler() { + return new OpenTxnHandler(); + } + }, + EVENT_COMMIT_TXN("EVENT_COMMIT_TXN") { + @Override + public MessageHandler handler() { + return new CommitTxnHandler(); + } + }, + EVENT_ABORT_TXN("EVENT_ABORT_TXN") { + @Override + public MessageHandler handler() { + return new AbortTxnHandler(); + } }; String type = null; diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AbortTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AbortTxnHandler.java new file mode 100644 index 0000000000..b9a5d2145c --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/AbortTxnHandler.java @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse.repl.dump.events; + +import org.apache.hadoop.hive.metastore.api.NotificationEvent; +import org.apache.hadoop.hive.ql.parse.repl.DumpType; +import org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData; + +class AbortTxnHandler extends AbstractEventHandler { + + AbortTxnHandler(NotificationEvent event) { + super(event); + } + + @Override + public void handle(Context withinContext) throws Exception { + LOG.info("Processing#{} ABORT_TXN message : {}", fromEventId(), event.getMessage()); + DumpMetaData dmd = withinContext.createDmd(this); + dmd.setPayload(event.getMessage()); + dmd.write(); + } + + @Override + public DumpType dumpType() { + return DumpType.EVENT_ABORT_TXN; + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CommitTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CommitTxnHandler.java new file mode 100644 index 0000000000..db97d7c945 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CommitTxnHandler.java @@ -0,0 +1,43 @@ + +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse.repl.dump.events; + +import org.apache.hadoop.hive.metastore.api.NotificationEvent; +import org.apache.hadoop.hive.ql.parse.repl.DumpType; +import org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData; + +class CommitTxnHandler extends AbstractEventHandler { + + CommitTxnHandler(NotificationEvent event) { + super(event); + } + + @Override + public void handle(Context withinContext) throws Exception { + LOG.info("Processing#{} COMMIT_TXN message : {}", fromEventId(), event.getMessage()); + DumpMetaData dmd = withinContext.createDmd(this); + dmd.setPayload(event.getMessage()); + dmd.write(); + } + + @Override + public DumpType dumpType() { + return DumpType.EVENT_COMMIT_TXN; + } +} diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java index 9955246ff8..10ff21c430 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/EventHandlerFactory.java @@ -50,6 +50,9 @@ private EventHandlerFactory() { register(MessageFactory.DROP_CONSTRAINT_EVENT, DropConstraintHandler.class); register(MessageFactory.CREATE_DATABASE_EVENT, CreateDatabaseHandler.class); register(MessageFactory.DROP_DATABASE_EVENT, DropDatabaseHandler.class); + register(MessageFactory.OPEN_TXN_EVENT, OpenTxnHandler.class); + register(MessageFactory.COMMIT_TXN_EVENT, CommitTxnHandler.class); + register(MessageFactory.ABORT_TXN_EVENT, AbortTxnHandler.class); } static void register(String event, Class handlerClazz) { diff --git a/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/OpenTxnHandler.java b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/OpenTxnHandler.java new file mode 100644 index 0000000000..fe81fe1210 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/OpenTxnHandler.java @@ -0,0 +1,42 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.ql.parse.repl.dump.events; + +import org.apache.hadoop.hive.metastore.api.NotificationEvent; +import org.apache.hadoop.hive.ql.parse.repl.DumpType; +import org.apache.hadoop.hive.ql.parse.repl.load.DumpMetaData; + +class OpenTxnHandler extends AbstractEventHandler { + + OpenTxnHandler(NotificationEvent event) { + super(event); + } + + @Override + public void handle(Context withinContext) throws Exception { + LOG.info("Processing#{} OPEN_TXN message : {}", fromEventId(), event.getMessage()); + DumpMetaData dmd = withinContext.createDmd(this); + dmd.setPayload(event.getMessage()); + dmd.write(); + } + + @Override + public DumpType dumpType() { + return DumpType.EVENT_OPEN_TXN; + } +} 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 new file mode 100644 index 0000000000..5b2c85b29f --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AbortTxnHandler.java @@ -0,0 +1,53 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.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.exec.Task; +import org.apache.hadoop.hive.ql.exec.TaskFactory; +import org.apache.hadoop.hive.ql.io.AcidUtils; +import org.apache.hadoop.hive.ql.parse.SemanticException; +import java.io.Serializable; +import java.util.Collections; +import java.util.List; + +/** + * AbortTxnHandler + * Target(Load) side handler for abort transaction event. + */ +public class AbortTxnHandler extends AbstractMessageHandler { + @Override + public List> handle(Context context) + throws SemanticException { + if (!AcidUtils.isAcidEnabled(context.hiveConf)) { + context.log.error("Cannot load transaction events as acid is not enabled"); + throw new SemanticException("Cannot load transaction events as acid is not enabled"); + } + + AbortTxnMessage msg = deserializer.getAbortTxnMessage(context.dmd.getPayload()); + + Task abortTxnTask = TaskFactory.get( + new ReplTxnWork(context.dbName, context.tableName, msg.getTxnId(), ReplTxnWork.OperationType.REPL_ABORT_TXN), + context.hiveConf + ); + updatedMetadata.set(context.dmd.getEventTo().toString(), context.dbName, context.tableName, null); + context.log.debug("Added Abort txn task : {}", abortTxnTask.getId()); + return Collections.singletonList(abortTxnTask); + } +} 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 new file mode 100644 index 0000000000..461a0f1419 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CommitTxnHandler.java @@ -0,0 +1,53 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.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.exec.Task; +import org.apache.hadoop.hive.ql.exec.TaskFactory; +import org.apache.hadoop.hive.ql.io.AcidUtils; +import org.apache.hadoop.hive.ql.parse.SemanticException; +import java.io.Serializable; +import java.util.Collections; +import java.util.List; + +/** + * CommitTxnHandler + * Target(Load) side handler for commit transaction event. + */ +public class CommitTxnHandler extends AbstractMessageHandler { + @Override + public List> handle(Context context) + throws SemanticException { + if (!AcidUtils.isAcidEnabled(context.hiveConf)) { + context.log.error("Cannot load transaction events as acid is not enabled"); + throw new SemanticException("Cannot load transaction events as acid is not enabled"); + } + + CommitTxnMessage msg = deserializer.getCommitTxnMessage(context.dmd.getPayload()); + + Task commitTxnTask = TaskFactory.get( + new ReplTxnWork(context.dbName, context.tableName, msg.getTxnId(), + ReplTxnWork.OperationType.REPL_COMMIT_TXN), context.hiveConf + ); + updatedMetadata.set(context.dmd.getEventTo().toString(), context.dbName, context.tableName, null); + context.log.debug("Added Commit txn task : {}", commitTxnTask.getId()); + return Collections.singletonList(commitTxnTask); + } +} 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 new file mode 100644 index 0000000000..c6349ea2b0 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/OpenTxnHandler.java @@ -0,0 +1,52 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.hadoop.hive.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.exec.Task; +import org.apache.hadoop.hive.ql.exec.TaskFactory; +import org.apache.hadoop.hive.ql.io.AcidUtils; +import org.apache.hadoop.hive.ql.parse.SemanticException; +import java.io.Serializable; +import java.util.Collections; +import java.util.List; + +/** + * OpenTxnHandler + * Target(Load) side handler for open transaction event. + */ +public class OpenTxnHandler extends AbstractMessageHandler { + @Override + public List> handle(Context context) + throws SemanticException { + if (!AcidUtils.isAcidEnabled(context.hiveConf)) { + context.log.error("Cannot load transaction events as acid is not enabled"); + throw new SemanticException("Cannot load transaction events as acid is not enabled"); + } + OpenTxnMessage msg = deserializer.getOpenTxnMessage(context.dmd.getPayload()); + + Task openTxnTask = TaskFactory.get( + new ReplTxnWork(context.dbName, context.tableName, msg.getTxnIds(), ReplTxnWork.OperationType.REPL_OPEN_TXN), + context.hiveConf + ); + updatedMetadata.set(context.dmd.getEventTo().toString(), context.dbName, context.tableName, null); + context.log.debug("Added Open txn task : {}", openTxnTask.getId()); + return Collections.singletonList(openTxnTask); + } +} diff --git a/ql/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java b/ql/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java index 7b510dd308..f1da15b73e 100644 --- a/ql/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java +++ b/ql/src/test/org/apache/hadoop/hive/metastore/txn/TestTxnHandler.java @@ -20,6 +20,7 @@ import org.apache.hadoop.hive.common.JavaUtils; import org.apache.hadoop.hive.conf.HiveConf; import org.apache.hadoop.hive.metastore.api.AbortTxnRequest; +import org.apache.hadoop.hive.metastore.api.AbortTxnsRequest; import org.apache.hadoop.hive.metastore.api.AddDynamicPartitions; import org.apache.hadoop.hive.metastore.api.AllocateTableWriteIdsRequest; import org.apache.hadoop.hive.metastore.api.AllocateTableWriteIdsResponse; @@ -78,6 +79,8 @@ import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; +import java.util.stream.Collectors; +import java.util.stream.LongStream; import static junit.framework.Assert.assertEquals; import static junit.framework.Assert.assertFalse; @@ -1541,6 +1544,24 @@ public void testRetryableRegex() throws Exception { Assert.assertTrue("regex should be retryable", result); } + @Test + public void testReplOpenTxn() throws Exception { + int numTxn = 50000; + conf.setIntVar(HiveConf.ConfVars.HIVE_TXN_MAX_OPEN_BATCH, numTxn); + OpenTxnRequest rqst = new OpenTxnRequest(numTxn, "me", "localhost"); + rqst.setReplPolicy("default.*"); + rqst.setReplSrcTxnIds(LongStream.rangeClosed(1, numTxn) + .boxed().collect(Collectors.toList())); + OpenTxnsResponse openedTxns = txnHandler.openTxns(rqst); + List txnList = openedTxns.getTxn_ids(); + assertEquals(txnList.size(), numTxn); + for (long i = 0; i < numTxn; i++) { + long txnId = txnList.get((int) i); + assertEquals(i+1, txnId); + } + txnHandler.abortTxns(new AbortTxnsRequest(txnList)); + } + private void updateTxns(Connection conn) throws SQLException { Statement stmt = conn.createStatement(); stmt.executeUpdate("update TXNS set txn_last_heartbeat = txn_last_heartbeat + 1"); diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 5897fae45f..c24055af98 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 _size1175; - ::apache::thrift::protocol::TType _etype1178; - xfer += iprot->readListBegin(_etype1178, _size1175); - this->success.resize(_size1175); - uint32_t _i1179; - for (_i1179 = 0; _i1179 < _size1175; ++_i1179) + 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) { - xfer += iprot->readString(this->success[_i1179]); + xfer += iprot->readString(this->success[_i1185]); } 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 _iter1180; - for (_iter1180 = this->success.begin(); _iter1180 != this->success.end(); ++_iter1180) + std::vector ::const_iterator _iter1186; + for (_iter1186 = this->success.begin(); _iter1186 != this->success.end(); ++_iter1186) { - xfer += oprot->writeString((*_iter1180)); + xfer += oprot->writeString((*_iter1186)); } 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 _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 _size1187; + ::apache::thrift::protocol::TType _etype1190; + xfer += iprot->readListBegin(_etype1190, _size1187); + (*(this->success)).resize(_size1187); + uint32_t _i1191; + for (_i1191 = 0; _i1191 < _size1187; ++_i1191) { - xfer += iprot->readString((*(this->success))[_i1185]); + xfer += iprot->readString((*(this->success))[_i1191]); } 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 _size1186; - ::apache::thrift::protocol::TType _etype1189; - xfer += iprot->readListBegin(_etype1189, _size1186); - this->success.resize(_size1186); - uint32_t _i1190; - for (_i1190 = 0; _i1190 < _size1186; ++_i1190) + 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) { - xfer += iprot->readString(this->success[_i1190]); + xfer += iprot->readString(this->success[_i1196]); } 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 _iter1191; - for (_iter1191 = this->success.begin(); _iter1191 != this->success.end(); ++_iter1191) + std::vector ::const_iterator _iter1197; + for (_iter1197 = this->success.begin(); _iter1197 != this->success.end(); ++_iter1197) { - xfer += oprot->writeString((*_iter1191)); + xfer += oprot->writeString((*_iter1197)); } 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 _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 _size1198; + ::apache::thrift::protocol::TType _etype1201; + xfer += iprot->readListBegin(_etype1201, _size1198); + (*(this->success)).resize(_size1198); + uint32_t _i1202; + for (_i1202 = 0; _i1202 < _size1198; ++_i1202) { - xfer += iprot->readString((*(this->success))[_i1196]); + xfer += iprot->readString((*(this->success))[_i1202]); } 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 _size1197; - ::apache::thrift::protocol::TType _ktype1198; - ::apache::thrift::protocol::TType _vtype1199; - xfer += iprot->readMapBegin(_ktype1198, _vtype1199, _size1197); - uint32_t _i1201; - for (_i1201 = 0; _i1201 < _size1197; ++_i1201) + 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) { - std::string _key1202; - xfer += iprot->readString(_key1202); - Type& _val1203 = this->success[_key1202]; - xfer += _val1203.read(iprot); + std::string _key1208; + xfer += iprot->readString(_key1208); + Type& _val1209 = this->success[_key1208]; + xfer += _val1209.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 _iter1204; - for (_iter1204 = this->success.begin(); _iter1204 != this->success.end(); ++_iter1204) + std::map ::const_iterator _iter1210; + for (_iter1210 = this->success.begin(); _iter1210 != this->success.end(); ++_iter1210) { - xfer += oprot->writeString(_iter1204->first); - xfer += _iter1204->second.write(oprot); + xfer += oprot->writeString(_iter1210->first); + xfer += _iter1210->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 _size1205; - ::apache::thrift::protocol::TType _ktype1206; - ::apache::thrift::protocol::TType _vtype1207; - xfer += iprot->readMapBegin(_ktype1206, _vtype1207, _size1205); - uint32_t _i1209; - for (_i1209 = 0; _i1209 < _size1205; ++_i1209) + 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 _key1210; - xfer += iprot->readString(_key1210); - Type& _val1211 = (*(this->success))[_key1210]; - xfer += _val1211.read(iprot); + std::string _key1216; + xfer += iprot->readString(_key1216); + Type& _val1217 = (*(this->success))[_key1216]; + xfer += _val1217.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 _size1212; - ::apache::thrift::protocol::TType _etype1215; - xfer += iprot->readListBegin(_etype1215, _size1212); - this->success.resize(_size1212); - uint32_t _i1216; - for (_i1216 = 0; _i1216 < _size1212; ++_i1216) + uint32_t _size1218; + ::apache::thrift::protocol::TType _etype1221; + xfer += iprot->readListBegin(_etype1221, _size1218); + this->success.resize(_size1218); + uint32_t _i1222; + for (_i1222 = 0; _i1222 < _size1218; ++_i1222) { - xfer += this->success[_i1216].read(iprot); + xfer += this->success[_i1222].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 _iter1217; - for (_iter1217 = this->success.begin(); _iter1217 != this->success.end(); ++_iter1217) + std::vector ::const_iterator _iter1223; + for (_iter1223 = this->success.begin(); _iter1223 != this->success.end(); ++_iter1223) { - xfer += (*_iter1217).write(oprot); + xfer += (*_iter1223).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 _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 _size1224; + ::apache::thrift::protocol::TType _etype1227; + xfer += iprot->readListBegin(_etype1227, _size1224); + (*(this->success)).resize(_size1224); + uint32_t _i1228; + for (_i1228 = 0; _i1228 < _size1224; ++_i1228) { - xfer += (*(this->success))[_i1222].read(iprot); + xfer += (*(this->success))[_i1228].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 _size1223; - ::apache::thrift::protocol::TType _etype1226; - xfer += iprot->readListBegin(_etype1226, _size1223); - this->success.resize(_size1223); - uint32_t _i1227; - for (_i1227 = 0; _i1227 < _size1223; ++_i1227) + uint32_t _size1229; + ::apache::thrift::protocol::TType _etype1232; + xfer += iprot->readListBegin(_etype1232, _size1229); + this->success.resize(_size1229); + uint32_t _i1233; + for (_i1233 = 0; _i1233 < _size1229; ++_i1233) { - xfer += this->success[_i1227].read(iprot); + xfer += this->success[_i1233].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 _iter1228; - for (_iter1228 = this->success.begin(); _iter1228 != this->success.end(); ++_iter1228) + std::vector ::const_iterator _iter1234; + for (_iter1234 = this->success.begin(); _iter1234 != this->success.end(); ++_iter1234) { - xfer += (*_iter1228).write(oprot); + xfer += (*_iter1234).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 _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 _size1235; + ::apache::thrift::protocol::TType _etype1238; + xfer += iprot->readListBegin(_etype1238, _size1235); + (*(this->success)).resize(_size1235); + uint32_t _i1239; + for (_i1239 = 0; _i1239 < _size1235; ++_i1239) { - xfer += (*(this->success))[_i1233].read(iprot); + xfer += (*(this->success))[_i1239].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 _size1234; - ::apache::thrift::protocol::TType _etype1237; - xfer += iprot->readListBegin(_etype1237, _size1234); - this->success.resize(_size1234); - uint32_t _i1238; - for (_i1238 = 0; _i1238 < _size1234; ++_i1238) + uint32_t _size1240; + ::apache::thrift::protocol::TType _etype1243; + xfer += iprot->readListBegin(_etype1243, _size1240); + this->success.resize(_size1240); + uint32_t _i1244; + for (_i1244 = 0; _i1244 < _size1240; ++_i1244) { - xfer += this->success[_i1238].read(iprot); + xfer += this->success[_i1244].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 _iter1239; - for (_iter1239 = this->success.begin(); _iter1239 != this->success.end(); ++_iter1239) + std::vector ::const_iterator _iter1245; + for (_iter1245 = this->success.begin(); _iter1245 != this->success.end(); ++_iter1245) { - xfer += (*_iter1239).write(oprot); + xfer += (*_iter1245).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 _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 _size1246; + ::apache::thrift::protocol::TType _etype1249; + xfer += iprot->readListBegin(_etype1249, _size1246); + (*(this->success)).resize(_size1246); + uint32_t _i1250; + for (_i1250 = 0; _i1250 < _size1246; ++_i1250) { - xfer += (*(this->success))[_i1244].read(iprot); + xfer += (*(this->success))[_i1250].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 _size1245; - ::apache::thrift::protocol::TType _etype1248; - xfer += iprot->readListBegin(_etype1248, _size1245); - this->success.resize(_size1245); - uint32_t _i1249; - for (_i1249 = 0; _i1249 < _size1245; ++_i1249) + uint32_t _size1251; + ::apache::thrift::protocol::TType _etype1254; + xfer += iprot->readListBegin(_etype1254, _size1251); + this->success.resize(_size1251); + uint32_t _i1255; + for (_i1255 = 0; _i1255 < _size1251; ++_i1255) { - xfer += this->success[_i1249].read(iprot); + xfer += this->success[_i1255].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 _iter1250; - for (_iter1250 = this->success.begin(); _iter1250 != this->success.end(); ++_iter1250) + std::vector ::const_iterator _iter1256; + for (_iter1256 = this->success.begin(); _iter1256 != this->success.end(); ++_iter1256) { - xfer += (*_iter1250).write(oprot); + xfer += (*_iter1256).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 _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 _size1257; + ::apache::thrift::protocol::TType _etype1260; + xfer += iprot->readListBegin(_etype1260, _size1257); + (*(this->success)).resize(_size1257); + uint32_t _i1261; + for (_i1261 = 0; _i1261 < _size1257; ++_i1261) { - xfer += (*(this->success))[_i1255].read(iprot); + xfer += (*(this->success))[_i1261].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 _size1256; - ::apache::thrift::protocol::TType _etype1259; - xfer += iprot->readListBegin(_etype1259, _size1256); - this->primaryKeys.resize(_size1256); - uint32_t _i1260; - for (_i1260 = 0; _i1260 < _size1256; ++_i1260) + 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) { - xfer += this->primaryKeys[_i1260].read(iprot); + xfer += this->primaryKeys[_i1266].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 _size1261; - ::apache::thrift::protocol::TType _etype1264; - xfer += iprot->readListBegin(_etype1264, _size1261); - this->foreignKeys.resize(_size1261); - uint32_t _i1265; - for (_i1265 = 0; _i1265 < _size1261; ++_i1265) + 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) { - xfer += this->foreignKeys[_i1265].read(iprot); + xfer += this->foreignKeys[_i1271].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 _size1266; - ::apache::thrift::protocol::TType _etype1269; - xfer += iprot->readListBegin(_etype1269, _size1266); - this->uniqueConstraints.resize(_size1266); - uint32_t _i1270; - for (_i1270 = 0; _i1270 < _size1266; ++_i1270) + 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) { - xfer += this->uniqueConstraints[_i1270].read(iprot); + xfer += this->uniqueConstraints[_i1276].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 _size1271; - ::apache::thrift::protocol::TType _etype1274; - xfer += iprot->readListBegin(_etype1274, _size1271); - this->notNullConstraints.resize(_size1271); - uint32_t _i1275; - for (_i1275 = 0; _i1275 < _size1271; ++_i1275) + 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) { - xfer += this->notNullConstraints[_i1275].read(iprot); + xfer += this->notNullConstraints[_i1281].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 _size1276; - ::apache::thrift::protocol::TType _etype1279; - xfer += iprot->readListBegin(_etype1279, _size1276); - this->defaultConstraints.resize(_size1276); - uint32_t _i1280; - for (_i1280 = 0; _i1280 < _size1276; ++_i1280) + 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) { - xfer += this->defaultConstraints[_i1280].read(iprot); + xfer += this->defaultConstraints[_i1286].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 _size1281; - ::apache::thrift::protocol::TType _etype1284; - xfer += iprot->readListBegin(_etype1284, _size1281); - this->checkConstraints.resize(_size1281); - uint32_t _i1285; - for (_i1285 = 0; _i1285 < _size1281; ++_i1285) + 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) { - xfer += this->checkConstraints[_i1285].read(iprot); + xfer += this->checkConstraints[_i1291].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 _iter1286; - for (_iter1286 = this->primaryKeys.begin(); _iter1286 != this->primaryKeys.end(); ++_iter1286) + std::vector ::const_iterator _iter1292; + for (_iter1292 = this->primaryKeys.begin(); _iter1292 != this->primaryKeys.end(); ++_iter1292) { - xfer += (*_iter1286).write(oprot); + xfer += (*_iter1292).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 _iter1287; - for (_iter1287 = this->foreignKeys.begin(); _iter1287 != this->foreignKeys.end(); ++_iter1287) + std::vector ::const_iterator _iter1293; + for (_iter1293 = this->foreignKeys.begin(); _iter1293 != this->foreignKeys.end(); ++_iter1293) { - xfer += (*_iter1287).write(oprot); + xfer += (*_iter1293).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 _iter1288; - for (_iter1288 = this->uniqueConstraints.begin(); _iter1288 != this->uniqueConstraints.end(); ++_iter1288) + std::vector ::const_iterator _iter1294; + for (_iter1294 = this->uniqueConstraints.begin(); _iter1294 != this->uniqueConstraints.end(); ++_iter1294) { - xfer += (*_iter1288).write(oprot); + xfer += (*_iter1294).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 _iter1289; - for (_iter1289 = this->notNullConstraints.begin(); _iter1289 != this->notNullConstraints.end(); ++_iter1289) + std::vector ::const_iterator _iter1295; + for (_iter1295 = this->notNullConstraints.begin(); _iter1295 != this->notNullConstraints.end(); ++_iter1295) { - xfer += (*_iter1289).write(oprot); + xfer += (*_iter1295).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 _iter1290; - for (_iter1290 = this->defaultConstraints.begin(); _iter1290 != this->defaultConstraints.end(); ++_iter1290) + std::vector ::const_iterator _iter1296; + for (_iter1296 = this->defaultConstraints.begin(); _iter1296 != this->defaultConstraints.end(); ++_iter1296) { - xfer += (*_iter1290).write(oprot); + xfer += (*_iter1296).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 _iter1291; - for (_iter1291 = this->checkConstraints.begin(); _iter1291 != this->checkConstraints.end(); ++_iter1291) + std::vector ::const_iterator _iter1297; + for (_iter1297 = this->checkConstraints.begin(); _iter1297 != this->checkConstraints.end(); ++_iter1297) { - xfer += (*_iter1291).write(oprot); + xfer += (*_iter1297).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 _iter1292; - for (_iter1292 = (*(this->primaryKeys)).begin(); _iter1292 != (*(this->primaryKeys)).end(); ++_iter1292) + std::vector ::const_iterator _iter1298; + for (_iter1298 = (*(this->primaryKeys)).begin(); _iter1298 != (*(this->primaryKeys)).end(); ++_iter1298) { - xfer += (*_iter1292).write(oprot); + xfer += (*_iter1298).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 _iter1293; - for (_iter1293 = (*(this->foreignKeys)).begin(); _iter1293 != (*(this->foreignKeys)).end(); ++_iter1293) + std::vector ::const_iterator _iter1299; + for (_iter1299 = (*(this->foreignKeys)).begin(); _iter1299 != (*(this->foreignKeys)).end(); ++_iter1299) { - xfer += (*_iter1293).write(oprot); + xfer += (*_iter1299).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 _iter1294; - for (_iter1294 = (*(this->uniqueConstraints)).begin(); _iter1294 != (*(this->uniqueConstraints)).end(); ++_iter1294) + std::vector ::const_iterator _iter1300; + for (_iter1300 = (*(this->uniqueConstraints)).begin(); _iter1300 != (*(this->uniqueConstraints)).end(); ++_iter1300) { - xfer += (*_iter1294).write(oprot); + xfer += (*_iter1300).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 _iter1295; - for (_iter1295 = (*(this->notNullConstraints)).begin(); _iter1295 != (*(this->notNullConstraints)).end(); ++_iter1295) + std::vector ::const_iterator _iter1301; + for (_iter1301 = (*(this->notNullConstraints)).begin(); _iter1301 != (*(this->notNullConstraints)).end(); ++_iter1301) { - xfer += (*_iter1295).write(oprot); + xfer += (*_iter1301).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 _iter1296; - for (_iter1296 = (*(this->defaultConstraints)).begin(); _iter1296 != (*(this->defaultConstraints)).end(); ++_iter1296) + std::vector ::const_iterator _iter1302; + for (_iter1302 = (*(this->defaultConstraints)).begin(); _iter1302 != (*(this->defaultConstraints)).end(); ++_iter1302) { - xfer += (*_iter1296).write(oprot); + xfer += (*_iter1302).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 _iter1297; - for (_iter1297 = (*(this->checkConstraints)).begin(); _iter1297 != (*(this->checkConstraints)).end(); ++_iter1297) + std::vector ::const_iterator _iter1303; + for (_iter1303 = (*(this->checkConstraints)).begin(); _iter1303 != (*(this->checkConstraints)).end(); ++_iter1303) { - xfer += (*_iter1297).write(oprot); + xfer += (*_iter1303).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 _size1298; - ::apache::thrift::protocol::TType _etype1301; - xfer += iprot->readListBegin(_etype1301, _size1298); - this->partNames.resize(_size1298); - uint32_t _i1302; - for (_i1302 = 0; _i1302 < _size1298; ++_i1302) + 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) { - xfer += iprot->readString(this->partNames[_i1302]); + xfer += iprot->readString(this->partNames[_i1308]); } 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 _iter1303; - for (_iter1303 = this->partNames.begin(); _iter1303 != this->partNames.end(); ++_iter1303) + std::vector ::const_iterator _iter1309; + for (_iter1309 = this->partNames.begin(); _iter1309 != this->partNames.end(); ++_iter1309) { - xfer += oprot->writeString((*_iter1303)); + xfer += oprot->writeString((*_iter1309)); } 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 _iter1304; - for (_iter1304 = (*(this->partNames)).begin(); _iter1304 != (*(this->partNames)).end(); ++_iter1304) + std::vector ::const_iterator _iter1310; + for (_iter1310 = (*(this->partNames)).begin(); _iter1310 != (*(this->partNames)).end(); ++_iter1310) { - xfer += oprot->writeString((*_iter1304)); + xfer += oprot->writeString((*_iter1310)); } 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 _size1305; - ::apache::thrift::protocol::TType _etype1308; - xfer += iprot->readListBegin(_etype1308, _size1305); - this->success.resize(_size1305); - uint32_t _i1309; - for (_i1309 = 0; _i1309 < _size1305; ++_i1309) + 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) { - xfer += iprot->readString(this->success[_i1309]); + xfer += iprot->readString(this->success[_i1315]); } 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 _iter1310; - for (_iter1310 = this->success.begin(); _iter1310 != this->success.end(); ++_iter1310) + std::vector ::const_iterator _iter1316; + for (_iter1316 = this->success.begin(); _iter1316 != this->success.end(); ++_iter1316) { - xfer += oprot->writeString((*_iter1310)); + xfer += oprot->writeString((*_iter1316)); } 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 _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 _size1317; + ::apache::thrift::protocol::TType _etype1320; + xfer += iprot->readListBegin(_etype1320, _size1317); + (*(this->success)).resize(_size1317); + uint32_t _i1321; + for (_i1321 = 0; _i1321 < _size1317; ++_i1321) { - xfer += iprot->readString((*(this->success))[_i1315]); + xfer += iprot->readString((*(this->success))[_i1321]); } 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 _size1316; - ::apache::thrift::protocol::TType _etype1319; - xfer += iprot->readListBegin(_etype1319, _size1316); - this->success.resize(_size1316); - uint32_t _i1320; - for (_i1320 = 0; _i1320 < _size1316; ++_i1320) + 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) { - xfer += iprot->readString(this->success[_i1320]); + xfer += iprot->readString(this->success[_i1326]); } 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 _iter1321; - for (_iter1321 = this->success.begin(); _iter1321 != this->success.end(); ++_iter1321) + std::vector ::const_iterator _iter1327; + for (_iter1327 = this->success.begin(); _iter1327 != this->success.end(); ++_iter1327) { - xfer += oprot->writeString((*_iter1321)); + xfer += oprot->writeString((*_iter1327)); } 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 _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 _size1328; + ::apache::thrift::protocol::TType _etype1331; + xfer += iprot->readListBegin(_etype1331, _size1328); + (*(this->success)).resize(_size1328); + uint32_t _i1332; + for (_i1332 = 0; _i1332 < _size1328; ++_i1332) { - xfer += iprot->readString((*(this->success))[_i1326]); + xfer += iprot->readString((*(this->success))[_i1332]); } 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 _size1327; - ::apache::thrift::protocol::TType _etype1330; - xfer += iprot->readListBegin(_etype1330, _size1327); - this->success.resize(_size1327); - uint32_t _i1331; - for (_i1331 = 0; _i1331 < _size1327; ++_i1331) + uint32_t _size1333; + ::apache::thrift::protocol::TType _etype1336; + xfer += iprot->readListBegin(_etype1336, _size1333); + this->success.resize(_size1333); + uint32_t _i1337; + for (_i1337 = 0; _i1337 < _size1333; ++_i1337) { - xfer += iprot->readString(this->success[_i1331]); + xfer += iprot->readString(this->success[_i1337]); } 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 _iter1332; - for (_iter1332 = this->success.begin(); _iter1332 != this->success.end(); ++_iter1332) + std::vector ::const_iterator _iter1338; + for (_iter1338 = this->success.begin(); _iter1338 != this->success.end(); ++_iter1338) { - xfer += oprot->writeString((*_iter1332)); + xfer += oprot->writeString((*_iter1338)); } 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 _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 _size1339; + ::apache::thrift::protocol::TType _etype1342; + xfer += iprot->readListBegin(_etype1342, _size1339); + (*(this->success)).resize(_size1339); + uint32_t _i1343; + for (_i1343 = 0; _i1343 < _size1339; ++_i1343) { - xfer += iprot->readString((*(this->success))[_i1337]); + xfer += iprot->readString((*(this->success))[_i1343]); } 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 _size1338; - ::apache::thrift::protocol::TType _etype1341; - xfer += iprot->readListBegin(_etype1341, _size1338); - this->tbl_types.resize(_size1338); - uint32_t _i1342; - for (_i1342 = 0; _i1342 < _size1338; ++_i1342) + 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) { - xfer += iprot->readString(this->tbl_types[_i1342]); + xfer += iprot->readString(this->tbl_types[_i1348]); } 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 _iter1343; - for (_iter1343 = this->tbl_types.begin(); _iter1343 != this->tbl_types.end(); ++_iter1343) + std::vector ::const_iterator _iter1349; + for (_iter1349 = this->tbl_types.begin(); _iter1349 != this->tbl_types.end(); ++_iter1349) { - xfer += oprot->writeString((*_iter1343)); + xfer += oprot->writeString((*_iter1349)); } 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 _iter1344; - for (_iter1344 = (*(this->tbl_types)).begin(); _iter1344 != (*(this->tbl_types)).end(); ++_iter1344) + std::vector ::const_iterator _iter1350; + for (_iter1350 = (*(this->tbl_types)).begin(); _iter1350 != (*(this->tbl_types)).end(); ++_iter1350) { - xfer += oprot->writeString((*_iter1344)); + xfer += oprot->writeString((*_iter1350)); } 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 _size1345; - ::apache::thrift::protocol::TType _etype1348; - xfer += iprot->readListBegin(_etype1348, _size1345); - this->success.resize(_size1345); - uint32_t _i1349; - for (_i1349 = 0; _i1349 < _size1345; ++_i1349) + uint32_t _size1351; + ::apache::thrift::protocol::TType _etype1354; + xfer += iprot->readListBegin(_etype1354, _size1351); + this->success.resize(_size1351); + uint32_t _i1355; + for (_i1355 = 0; _i1355 < _size1351; ++_i1355) { - xfer += this->success[_i1349].read(iprot); + xfer += this->success[_i1355].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 _iter1350; - for (_iter1350 = this->success.begin(); _iter1350 != this->success.end(); ++_iter1350) + std::vector ::const_iterator _iter1356; + for (_iter1356 = this->success.begin(); _iter1356 != this->success.end(); ++_iter1356) { - xfer += (*_iter1350).write(oprot); + xfer += (*_iter1356).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 _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 _size1357; + ::apache::thrift::protocol::TType _etype1360; + xfer += iprot->readListBegin(_etype1360, _size1357); + (*(this->success)).resize(_size1357); + uint32_t _i1361; + for (_i1361 = 0; _i1361 < _size1357; ++_i1361) { - xfer += (*(this->success))[_i1355].read(iprot); + xfer += (*(this->success))[_i1361].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 _size1356; - ::apache::thrift::protocol::TType _etype1359; - xfer += iprot->readListBegin(_etype1359, _size1356); - this->success.resize(_size1356); - uint32_t _i1360; - for (_i1360 = 0; _i1360 < _size1356; ++_i1360) + 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) { - xfer += iprot->readString(this->success[_i1360]); + xfer += iprot->readString(this->success[_i1366]); } 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 _iter1361; - for (_iter1361 = this->success.begin(); _iter1361 != this->success.end(); ++_iter1361) + std::vector ::const_iterator _iter1367; + for (_iter1367 = this->success.begin(); _iter1367 != this->success.end(); ++_iter1367) { - xfer += oprot->writeString((*_iter1361)); + xfer += oprot->writeString((*_iter1367)); } 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 _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 _size1368; + ::apache::thrift::protocol::TType _etype1371; + xfer += iprot->readListBegin(_etype1371, _size1368); + (*(this->success)).resize(_size1368); + uint32_t _i1372; + for (_i1372 = 0; _i1372 < _size1368; ++_i1372) { - xfer += iprot->readString((*(this->success))[_i1366]); + xfer += iprot->readString((*(this->success))[_i1372]); } 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 _size1367; - ::apache::thrift::protocol::TType _etype1370; - xfer += iprot->readListBegin(_etype1370, _size1367); - this->tbl_names.resize(_size1367); - uint32_t _i1371; - for (_i1371 = 0; _i1371 < _size1367; ++_i1371) + 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) { - xfer += iprot->readString(this->tbl_names[_i1371]); + xfer += iprot->readString(this->tbl_names[_i1377]); } 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 _iter1372; - for (_iter1372 = this->tbl_names.begin(); _iter1372 != this->tbl_names.end(); ++_iter1372) + std::vector ::const_iterator _iter1378; + for (_iter1378 = this->tbl_names.begin(); _iter1378 != this->tbl_names.end(); ++_iter1378) { - xfer += oprot->writeString((*_iter1372)); + xfer += oprot->writeString((*_iter1378)); } 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 _iter1373; - for (_iter1373 = (*(this->tbl_names)).begin(); _iter1373 != (*(this->tbl_names)).end(); ++_iter1373) + std::vector ::const_iterator _iter1379; + for (_iter1379 = (*(this->tbl_names)).begin(); _iter1379 != (*(this->tbl_names)).end(); ++_iter1379) { - xfer += oprot->writeString((*_iter1373)); + xfer += oprot->writeString((*_iter1379)); } 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 _size1374; - ::apache::thrift::protocol::TType _etype1377; - xfer += iprot->readListBegin(_etype1377, _size1374); - this->success.resize(_size1374); - uint32_t _i1378; - for (_i1378 = 0; _i1378 < _size1374; ++_i1378) + uint32_t _size1380; + ::apache::thrift::protocol::TType _etype1383; + xfer += iprot->readListBegin(_etype1383, _size1380); + this->success.resize(_size1380); + uint32_t _i1384; + for (_i1384 = 0; _i1384 < _size1380; ++_i1384) { - xfer += this->success[_i1378].read(iprot); + xfer += this->success[_i1384].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 _iter1379; - for (_iter1379 = this->success.begin(); _iter1379 != this->success.end(); ++_iter1379) + std::vector
::const_iterator _iter1385; + for (_iter1385 = this->success.begin(); _iter1385 != this->success.end(); ++_iter1385) { - xfer += (*_iter1379).write(oprot); + xfer += (*_iter1385).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 _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 _size1386; + ::apache::thrift::protocol::TType _etype1389; + xfer += iprot->readListBegin(_etype1389, _size1386); + (*(this->success)).resize(_size1386); + uint32_t _i1390; + for (_i1390 = 0; _i1390 < _size1386; ++_i1390) { - xfer += (*(this->success))[_i1384].read(iprot); + xfer += (*(this->success))[_i1390].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 _size1385; - ::apache::thrift::protocol::TType _etype1388; - xfer += iprot->readListBegin(_etype1388, _size1385); - this->tbl_names.resize(_size1385); - uint32_t _i1389; - for (_i1389 = 0; _i1389 < _size1385; ++_i1389) + uint32_t _size1391; + ::apache::thrift::protocol::TType _etype1394; + xfer += iprot->readListBegin(_etype1394, _size1391); + this->tbl_names.resize(_size1391); + uint32_t _i1395; + for (_i1395 = 0; _i1395 < _size1391; ++_i1395) { - xfer += iprot->readString(this->tbl_names[_i1389]); + xfer += iprot->readString(this->tbl_names[_i1395]); } 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 _iter1390; - for (_iter1390 = this->tbl_names.begin(); _iter1390 != this->tbl_names.end(); ++_iter1390) + std::vector ::const_iterator _iter1396; + for (_iter1396 = this->tbl_names.begin(); _iter1396 != this->tbl_names.end(); ++_iter1396) { - xfer += oprot->writeString((*_iter1390)); + xfer += oprot->writeString((*_iter1396)); } 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 _iter1391; - for (_iter1391 = (*(this->tbl_names)).begin(); _iter1391 != (*(this->tbl_names)).end(); ++_iter1391) + std::vector ::const_iterator _iter1397; + for (_iter1397 = (*(this->tbl_names)).begin(); _iter1397 != (*(this->tbl_names)).end(); ++_iter1397) { - xfer += oprot->writeString((*_iter1391)); + xfer += oprot->writeString((*_iter1397)); } 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 _size1392; - ::apache::thrift::protocol::TType _ktype1393; - ::apache::thrift::protocol::TType _vtype1394; - xfer += iprot->readMapBegin(_ktype1393, _vtype1394, _size1392); - uint32_t _i1396; - for (_i1396 = 0; _i1396 < _size1392; ++_i1396) + 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) { - std::string _key1397; - xfer += iprot->readString(_key1397); - Materialization& _val1398 = this->success[_key1397]; - xfer += _val1398.read(iprot); + std::string _key1403; + xfer += iprot->readString(_key1403); + Materialization& _val1404 = this->success[_key1403]; + xfer += _val1404.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 _iter1399; - for (_iter1399 = this->success.begin(); _iter1399 != this->success.end(); ++_iter1399) + std::map ::const_iterator _iter1405; + for (_iter1405 = this->success.begin(); _iter1405 != this->success.end(); ++_iter1405) { - xfer += oprot->writeString(_iter1399->first); - xfer += _iter1399->second.write(oprot); + xfer += oprot->writeString(_iter1405->first); + xfer += _iter1405->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 _size1400; - ::apache::thrift::protocol::TType _ktype1401; - ::apache::thrift::protocol::TType _vtype1402; - xfer += iprot->readMapBegin(_ktype1401, _vtype1402, _size1400); - uint32_t _i1404; - for (_i1404 = 0; _i1404 < _size1400; ++_i1404) + 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 _key1405; - xfer += iprot->readString(_key1405); - Materialization& _val1406 = (*(this->success))[_key1405]; - xfer += _val1406.read(iprot); + std::string _key1411; + xfer += iprot->readString(_key1411); + Materialization& _val1412 = (*(this->success))[_key1411]; + xfer += _val1412.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 _size1407; - ::apache::thrift::protocol::TType _etype1410; - xfer += iprot->readListBegin(_etype1410, _size1407); - this->success.resize(_size1407); - uint32_t _i1411; - for (_i1411 = 0; _i1411 < _size1407; ++_i1411) + 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) { - xfer += iprot->readString(this->success[_i1411]); + xfer += iprot->readString(this->success[_i1417]); } 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 _iter1412; - for (_iter1412 = this->success.begin(); _iter1412 != this->success.end(); ++_iter1412) + std::vector ::const_iterator _iter1418; + for (_iter1418 = this->success.begin(); _iter1418 != this->success.end(); ++_iter1418) { - xfer += oprot->writeString((*_iter1412)); + xfer += oprot->writeString((*_iter1418)); } 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 _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 _size1419; + ::apache::thrift::protocol::TType _etype1422; + xfer += iprot->readListBegin(_etype1422, _size1419); + (*(this->success)).resize(_size1419); + uint32_t _i1423; + for (_i1423 = 0; _i1423 < _size1419; ++_i1423) { - xfer += iprot->readString((*(this->success))[_i1417]); + xfer += iprot->readString((*(this->success))[_i1423]); } 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 _size1418; - ::apache::thrift::protocol::TType _etype1421; - xfer += iprot->readListBegin(_etype1421, _size1418); - this->new_parts.resize(_size1418); - uint32_t _i1422; - for (_i1422 = 0; _i1422 < _size1418; ++_i1422) + 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) { - xfer += this->new_parts[_i1422].read(iprot); + xfer += this->new_parts[_i1428].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 _iter1423; - for (_iter1423 = this->new_parts.begin(); _iter1423 != this->new_parts.end(); ++_iter1423) + std::vector ::const_iterator _iter1429; + for (_iter1429 = this->new_parts.begin(); _iter1429 != this->new_parts.end(); ++_iter1429) { - xfer += (*_iter1423).write(oprot); + xfer += (*_iter1429).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 _iter1424; - for (_iter1424 = (*(this->new_parts)).begin(); _iter1424 != (*(this->new_parts)).end(); ++_iter1424) + std::vector ::const_iterator _iter1430; + for (_iter1430 = (*(this->new_parts)).begin(); _iter1430 != (*(this->new_parts)).end(); ++_iter1430) { - xfer += (*_iter1424).write(oprot); + xfer += (*_iter1430).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 _size1425; - ::apache::thrift::protocol::TType _etype1428; - xfer += iprot->readListBegin(_etype1428, _size1425); - this->new_parts.resize(_size1425); - uint32_t _i1429; - for (_i1429 = 0; _i1429 < _size1425; ++_i1429) + 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) { - xfer += this->new_parts[_i1429].read(iprot); + xfer += this->new_parts[_i1435].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 _iter1430; - for (_iter1430 = this->new_parts.begin(); _iter1430 != this->new_parts.end(); ++_iter1430) + std::vector ::const_iterator _iter1436; + for (_iter1436 = this->new_parts.begin(); _iter1436 != this->new_parts.end(); ++_iter1436) { - xfer += (*_iter1430).write(oprot); + xfer += (*_iter1436).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 _iter1431; - for (_iter1431 = (*(this->new_parts)).begin(); _iter1431 != (*(this->new_parts)).end(); ++_iter1431) + std::vector ::const_iterator _iter1437; + for (_iter1437 = (*(this->new_parts)).begin(); _iter1437 != (*(this->new_parts)).end(); ++_iter1437) { - xfer += (*_iter1431).write(oprot); + xfer += (*_iter1437).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 _size1432; - ::apache::thrift::protocol::TType _etype1435; - xfer += iprot->readListBegin(_etype1435, _size1432); - this->part_vals.resize(_size1432); - uint32_t _i1436; - for (_i1436 = 0; _i1436 < _size1432; ++_i1436) + 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) { - xfer += iprot->readString(this->part_vals[_i1436]); + xfer += iprot->readString(this->part_vals[_i1442]); } 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 _iter1437; - for (_iter1437 = this->part_vals.begin(); _iter1437 != this->part_vals.end(); ++_iter1437) + std::vector ::const_iterator _iter1443; + for (_iter1443 = this->part_vals.begin(); _iter1443 != this->part_vals.end(); ++_iter1443) { - xfer += oprot->writeString((*_iter1437)); + xfer += oprot->writeString((*_iter1443)); } 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 _iter1438; - for (_iter1438 = (*(this->part_vals)).begin(); _iter1438 != (*(this->part_vals)).end(); ++_iter1438) + std::vector ::const_iterator _iter1444; + for (_iter1444 = (*(this->part_vals)).begin(); _iter1444 != (*(this->part_vals)).end(); ++_iter1444) { - xfer += oprot->writeString((*_iter1438)); + xfer += oprot->writeString((*_iter1444)); } 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 _size1439; - ::apache::thrift::protocol::TType _etype1442; - xfer += iprot->readListBegin(_etype1442, _size1439); - this->part_vals.resize(_size1439); - uint32_t _i1443; - for (_i1443 = 0; _i1443 < _size1439; ++_i1443) + 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) { - xfer += iprot->readString(this->part_vals[_i1443]); + xfer += iprot->readString(this->part_vals[_i1449]); } 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 _iter1444; - for (_iter1444 = this->part_vals.begin(); _iter1444 != this->part_vals.end(); ++_iter1444) + std::vector ::const_iterator _iter1450; + for (_iter1450 = this->part_vals.begin(); _iter1450 != this->part_vals.end(); ++_iter1450) { - xfer += oprot->writeString((*_iter1444)); + xfer += oprot->writeString((*_iter1450)); } 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 _iter1445; - for (_iter1445 = (*(this->part_vals)).begin(); _iter1445 != (*(this->part_vals)).end(); ++_iter1445) + std::vector ::const_iterator _iter1451; + for (_iter1451 = (*(this->part_vals)).begin(); _iter1451 != (*(this->part_vals)).end(); ++_iter1451) { - xfer += oprot->writeString((*_iter1445)); + xfer += oprot->writeString((*_iter1451)); } 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 _size1446; - ::apache::thrift::protocol::TType _etype1449; - xfer += iprot->readListBegin(_etype1449, _size1446); - this->part_vals.resize(_size1446); - uint32_t _i1450; - for (_i1450 = 0; _i1450 < _size1446; ++_i1450) + uint32_t _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) { - xfer += iprot->readString(this->part_vals[_i1450]); + xfer += iprot->readString(this->part_vals[_i1456]); } 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 _iter1451; - for (_iter1451 = this->part_vals.begin(); _iter1451 != this->part_vals.end(); ++_iter1451) + std::vector ::const_iterator _iter1457; + for (_iter1457 = this->part_vals.begin(); _iter1457 != this->part_vals.end(); ++_iter1457) { - xfer += oprot->writeString((*_iter1451)); + xfer += oprot->writeString((*_iter1457)); } 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 _iter1452; - for (_iter1452 = (*(this->part_vals)).begin(); _iter1452 != (*(this->part_vals)).end(); ++_iter1452) + std::vector ::const_iterator _iter1458; + for (_iter1458 = (*(this->part_vals)).begin(); _iter1458 != (*(this->part_vals)).end(); ++_iter1458) { - xfer += oprot->writeString((*_iter1452)); + xfer += oprot->writeString((*_iter1458)); } 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 _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) + 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) { - xfer += iprot->readString(this->part_vals[_i1457]); + xfer += iprot->readString(this->part_vals[_i1463]); } 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 _iter1458; - for (_iter1458 = this->part_vals.begin(); _iter1458 != this->part_vals.end(); ++_iter1458) + std::vector ::const_iterator _iter1464; + for (_iter1464 = this->part_vals.begin(); _iter1464 != this->part_vals.end(); ++_iter1464) { - xfer += oprot->writeString((*_iter1458)); + xfer += oprot->writeString((*_iter1464)); } 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 _iter1459; - for (_iter1459 = (*(this->part_vals)).begin(); _iter1459 != (*(this->part_vals)).end(); ++_iter1459) + std::vector ::const_iterator _iter1465; + for (_iter1465 = (*(this->part_vals)).begin(); _iter1465 != (*(this->part_vals)).end(); ++_iter1465) { - xfer += oprot->writeString((*_iter1459)); + xfer += oprot->writeString((*_iter1465)); } 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 _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) + 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) { - xfer += iprot->readString(this->part_vals[_i1464]); + xfer += iprot->readString(this->part_vals[_i1470]); } 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 _iter1465; - for (_iter1465 = this->part_vals.begin(); _iter1465 != this->part_vals.end(); ++_iter1465) + std::vector ::const_iterator _iter1471; + for (_iter1471 = this->part_vals.begin(); _iter1471 != this->part_vals.end(); ++_iter1471) { - xfer += oprot->writeString((*_iter1465)); + xfer += oprot->writeString((*_iter1471)); } 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 _iter1466; - for (_iter1466 = (*(this->part_vals)).begin(); _iter1466 != (*(this->part_vals)).end(); ++_iter1466) + std::vector ::const_iterator _iter1472; + for (_iter1472 = (*(this->part_vals)).begin(); _iter1472 != (*(this->part_vals)).end(); ++_iter1472) { - xfer += oprot->writeString((*_iter1466)); + xfer += oprot->writeString((*_iter1472)); } 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 _size1467; - ::apache::thrift::protocol::TType _ktype1468; - ::apache::thrift::protocol::TType _vtype1469; - xfer += iprot->readMapBegin(_ktype1468, _vtype1469, _size1467); - uint32_t _i1471; - for (_i1471 = 0; _i1471 < _size1467; ++_i1471) + 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) { - std::string _key1472; - xfer += iprot->readString(_key1472); - std::string& _val1473 = this->partitionSpecs[_key1472]; - xfer += iprot->readString(_val1473); + std::string _key1478; + xfer += iprot->readString(_key1478); + std::string& _val1479 = this->partitionSpecs[_key1478]; + xfer += iprot->readString(_val1479); } 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 _iter1474; - for (_iter1474 = this->partitionSpecs.begin(); _iter1474 != this->partitionSpecs.end(); ++_iter1474) + std::map ::const_iterator _iter1480; + for (_iter1480 = this->partitionSpecs.begin(); _iter1480 != this->partitionSpecs.end(); ++_iter1480) { - xfer += oprot->writeString(_iter1474->first); - xfer += oprot->writeString(_iter1474->second); + xfer += oprot->writeString(_iter1480->first); + xfer += oprot->writeString(_iter1480->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 _iter1475; - for (_iter1475 = (*(this->partitionSpecs)).begin(); _iter1475 != (*(this->partitionSpecs)).end(); ++_iter1475) + std::map ::const_iterator _iter1481; + for (_iter1481 = (*(this->partitionSpecs)).begin(); _iter1481 != (*(this->partitionSpecs)).end(); ++_iter1481) { - xfer += oprot->writeString(_iter1475->first); - xfer += oprot->writeString(_iter1475->second); + xfer += oprot->writeString(_iter1481->first); + xfer += oprot->writeString(_iter1481->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 _size1476; - ::apache::thrift::protocol::TType _ktype1477; - ::apache::thrift::protocol::TType _vtype1478; - xfer += iprot->readMapBegin(_ktype1477, _vtype1478, _size1476); - uint32_t _i1480; - for (_i1480 = 0; _i1480 < _size1476; ++_i1480) + 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) { - std::string _key1481; - xfer += iprot->readString(_key1481); - std::string& _val1482 = this->partitionSpecs[_key1481]; - xfer += iprot->readString(_val1482); + std::string _key1487; + xfer += iprot->readString(_key1487); + std::string& _val1488 = this->partitionSpecs[_key1487]; + xfer += iprot->readString(_val1488); } 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 _iter1483; - for (_iter1483 = this->partitionSpecs.begin(); _iter1483 != this->partitionSpecs.end(); ++_iter1483) + std::map ::const_iterator _iter1489; + for (_iter1489 = this->partitionSpecs.begin(); _iter1489 != this->partitionSpecs.end(); ++_iter1489) { - xfer += oprot->writeString(_iter1483->first); - xfer += oprot->writeString(_iter1483->second); + xfer += oprot->writeString(_iter1489->first); + xfer += oprot->writeString(_iter1489->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 _iter1484; - for (_iter1484 = (*(this->partitionSpecs)).begin(); _iter1484 != (*(this->partitionSpecs)).end(); ++_iter1484) + std::map ::const_iterator _iter1490; + for (_iter1490 = (*(this->partitionSpecs)).begin(); _iter1490 != (*(this->partitionSpecs)).end(); ++_iter1490) { - xfer += oprot->writeString(_iter1484->first); - xfer += oprot->writeString(_iter1484->second); + xfer += oprot->writeString(_iter1490->first); + xfer += oprot->writeString(_iter1490->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 _size1485; - ::apache::thrift::protocol::TType _etype1488; - xfer += iprot->readListBegin(_etype1488, _size1485); - this->success.resize(_size1485); - uint32_t _i1489; - for (_i1489 = 0; _i1489 < _size1485; ++_i1489) + 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) { - xfer += this->success[_i1489].read(iprot); + xfer += this->success[_i1495].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 _iter1490; - for (_iter1490 = this->success.begin(); _iter1490 != this->success.end(); ++_iter1490) + std::vector ::const_iterator _iter1496; + for (_iter1496 = this->success.begin(); _iter1496 != this->success.end(); ++_iter1496) { - xfer += (*_iter1490).write(oprot); + xfer += (*_iter1496).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 _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 _size1497; + ::apache::thrift::protocol::TType _etype1500; + xfer += iprot->readListBegin(_etype1500, _size1497); + (*(this->success)).resize(_size1497); + uint32_t _i1501; + for (_i1501 = 0; _i1501 < _size1497; ++_i1501) { - xfer += (*(this->success))[_i1495].read(iprot); + xfer += (*(this->success))[_i1501].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 _size1496; - ::apache::thrift::protocol::TType _etype1499; - xfer += iprot->readListBegin(_etype1499, _size1496); - this->part_vals.resize(_size1496); - uint32_t _i1500; - for (_i1500 = 0; _i1500 < _size1496; ++_i1500) + 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) { - xfer += iprot->readString(this->part_vals[_i1500]); + xfer += iprot->readString(this->part_vals[_i1506]); } 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 _size1501; - ::apache::thrift::protocol::TType _etype1504; - xfer += iprot->readListBegin(_etype1504, _size1501); - this->group_names.resize(_size1501); - uint32_t _i1505; - for (_i1505 = 0; _i1505 < _size1501; ++_i1505) + 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) { - xfer += iprot->readString(this->group_names[_i1505]); + xfer += iprot->readString(this->group_names[_i1511]); } 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 _iter1506; - for (_iter1506 = this->part_vals.begin(); _iter1506 != this->part_vals.end(); ++_iter1506) + std::vector ::const_iterator _iter1512; + for (_iter1512 = this->part_vals.begin(); _iter1512 != this->part_vals.end(); ++_iter1512) { - xfer += oprot->writeString((*_iter1506)); + xfer += oprot->writeString((*_iter1512)); } 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 _iter1507; - for (_iter1507 = this->group_names.begin(); _iter1507 != this->group_names.end(); ++_iter1507) + std::vector ::const_iterator _iter1513; + for (_iter1513 = this->group_names.begin(); _iter1513 != this->group_names.end(); ++_iter1513) { - xfer += oprot->writeString((*_iter1507)); + xfer += oprot->writeString((*_iter1513)); } 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 _iter1508; - for (_iter1508 = (*(this->part_vals)).begin(); _iter1508 != (*(this->part_vals)).end(); ++_iter1508) + std::vector ::const_iterator _iter1514; + for (_iter1514 = (*(this->part_vals)).begin(); _iter1514 != (*(this->part_vals)).end(); ++_iter1514) { - xfer += oprot->writeString((*_iter1508)); + xfer += oprot->writeString((*_iter1514)); } 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 _iter1509; - for (_iter1509 = (*(this->group_names)).begin(); _iter1509 != (*(this->group_names)).end(); ++_iter1509) + std::vector ::const_iterator _iter1515; + for (_iter1515 = (*(this->group_names)).begin(); _iter1515 != (*(this->group_names)).end(); ++_iter1515) { - xfer += oprot->writeString((*_iter1509)); + xfer += oprot->writeString((*_iter1515)); } 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 _size1510; - ::apache::thrift::protocol::TType _etype1513; - xfer += iprot->readListBegin(_etype1513, _size1510); - this->success.resize(_size1510); - uint32_t _i1514; - for (_i1514 = 0; _i1514 < _size1510; ++_i1514) + 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) { - xfer += this->success[_i1514].read(iprot); + xfer += this->success[_i1520].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 _iter1515; - for (_iter1515 = this->success.begin(); _iter1515 != this->success.end(); ++_iter1515) + std::vector ::const_iterator _iter1521; + for (_iter1521 = this->success.begin(); _iter1521 != this->success.end(); ++_iter1521) { - xfer += (*_iter1515).write(oprot); + xfer += (*_iter1521).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 _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 _size1522; + ::apache::thrift::protocol::TType _etype1525; + xfer += iprot->readListBegin(_etype1525, _size1522); + (*(this->success)).resize(_size1522); + uint32_t _i1526; + for (_i1526 = 0; _i1526 < _size1522; ++_i1526) { - xfer += (*(this->success))[_i1520].read(iprot); + xfer += (*(this->success))[_i1526].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 _size1521; - ::apache::thrift::protocol::TType _etype1524; - xfer += iprot->readListBegin(_etype1524, _size1521); - this->group_names.resize(_size1521); - uint32_t _i1525; - for (_i1525 = 0; _i1525 < _size1521; ++_i1525) + 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) { - xfer += iprot->readString(this->group_names[_i1525]); + xfer += iprot->readString(this->group_names[_i1531]); } 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 _iter1526; - for (_iter1526 = this->group_names.begin(); _iter1526 != this->group_names.end(); ++_iter1526) + std::vector ::const_iterator _iter1532; + for (_iter1532 = this->group_names.begin(); _iter1532 != this->group_names.end(); ++_iter1532) { - xfer += oprot->writeString((*_iter1526)); + xfer += oprot->writeString((*_iter1532)); } 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 _iter1527; - for (_iter1527 = (*(this->group_names)).begin(); _iter1527 != (*(this->group_names)).end(); ++_iter1527) + std::vector ::const_iterator _iter1533; + for (_iter1533 = (*(this->group_names)).begin(); _iter1533 != (*(this->group_names)).end(); ++_iter1533) { - xfer += oprot->writeString((*_iter1527)); + xfer += oprot->writeString((*_iter1533)); } 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 _size1528; - ::apache::thrift::protocol::TType _etype1531; - xfer += iprot->readListBegin(_etype1531, _size1528); - this->success.resize(_size1528); - uint32_t _i1532; - for (_i1532 = 0; _i1532 < _size1528; ++_i1532) + uint32_t _size1534; + ::apache::thrift::protocol::TType _etype1537; + xfer += iprot->readListBegin(_etype1537, _size1534); + this->success.resize(_size1534); + uint32_t _i1538; + for (_i1538 = 0; _i1538 < _size1534; ++_i1538) { - xfer += this->success[_i1532].read(iprot); + xfer += this->success[_i1538].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 _iter1533; - for (_iter1533 = this->success.begin(); _iter1533 != this->success.end(); ++_iter1533) + std::vector ::const_iterator _iter1539; + for (_iter1539 = this->success.begin(); _iter1539 != this->success.end(); ++_iter1539) { - xfer += (*_iter1533).write(oprot); + xfer += (*_iter1539).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 _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 _size1540; + ::apache::thrift::protocol::TType _etype1543; + xfer += iprot->readListBegin(_etype1543, _size1540); + (*(this->success)).resize(_size1540); + uint32_t _i1544; + for (_i1544 = 0; _i1544 < _size1540; ++_i1544) { - xfer += (*(this->success))[_i1538].read(iprot); + xfer += (*(this->success))[_i1544].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 _size1539; - ::apache::thrift::protocol::TType _etype1542; - xfer += iprot->readListBegin(_etype1542, _size1539); - this->success.resize(_size1539); - uint32_t _i1543; - for (_i1543 = 0; _i1543 < _size1539; ++_i1543) + 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) { - xfer += this->success[_i1543].read(iprot); + xfer += this->success[_i1549].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 _iter1544; - for (_iter1544 = this->success.begin(); _iter1544 != this->success.end(); ++_iter1544) + std::vector ::const_iterator _iter1550; + for (_iter1550 = this->success.begin(); _iter1550 != this->success.end(); ++_iter1550) { - xfer += (*_iter1544).write(oprot); + xfer += (*_iter1550).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 _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 _size1551; + ::apache::thrift::protocol::TType _etype1554; + xfer += iprot->readListBegin(_etype1554, _size1551); + (*(this->success)).resize(_size1551); + uint32_t _i1555; + for (_i1555 = 0; _i1555 < _size1551; ++_i1555) { - xfer += (*(this->success))[_i1549].read(iprot); + xfer += (*(this->success))[_i1555].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 _size1550; - ::apache::thrift::protocol::TType _etype1553; - xfer += iprot->readListBegin(_etype1553, _size1550); - this->success.resize(_size1550); - uint32_t _i1554; - for (_i1554 = 0; _i1554 < _size1550; ++_i1554) + uint32_t _size1556; + ::apache::thrift::protocol::TType _etype1559; + xfer += iprot->readListBegin(_etype1559, _size1556); + this->success.resize(_size1556); + uint32_t _i1560; + for (_i1560 = 0; _i1560 < _size1556; ++_i1560) { - xfer += iprot->readString(this->success[_i1554]); + xfer += iprot->readString(this->success[_i1560]); } 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 _iter1555; - for (_iter1555 = this->success.begin(); _iter1555 != this->success.end(); ++_iter1555) + std::vector ::const_iterator _iter1561; + for (_iter1561 = this->success.begin(); _iter1561 != this->success.end(); ++_iter1561) { - xfer += oprot->writeString((*_iter1555)); + xfer += oprot->writeString((*_iter1561)); } 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 _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 _size1562; + ::apache::thrift::protocol::TType _etype1565; + xfer += iprot->readListBegin(_etype1565, _size1562); + (*(this->success)).resize(_size1562); + uint32_t _i1566; + for (_i1566 = 0; _i1566 < _size1562; ++_i1566) { - xfer += iprot->readString((*(this->success))[_i1560]); + xfer += iprot->readString((*(this->success))[_i1566]); } 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 _size1561; - ::apache::thrift::protocol::TType _etype1564; - xfer += iprot->readListBegin(_etype1564, _size1561); - this->part_vals.resize(_size1561); - uint32_t _i1565; - for (_i1565 = 0; _i1565 < _size1561; ++_i1565) + 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) { - xfer += iprot->readString(this->part_vals[_i1565]); + xfer += iprot->readString(this->part_vals[_i1571]); } 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 _iter1566; - for (_iter1566 = this->part_vals.begin(); _iter1566 != this->part_vals.end(); ++_iter1566) + std::vector ::const_iterator _iter1572; + for (_iter1572 = this->part_vals.begin(); _iter1572 != this->part_vals.end(); ++_iter1572) { - xfer += oprot->writeString((*_iter1566)); + xfer += oprot->writeString((*_iter1572)); } 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 _iter1567; - for (_iter1567 = (*(this->part_vals)).begin(); _iter1567 != (*(this->part_vals)).end(); ++_iter1567) + std::vector ::const_iterator _iter1573; + for (_iter1573 = (*(this->part_vals)).begin(); _iter1573 != (*(this->part_vals)).end(); ++_iter1573) { - xfer += oprot->writeString((*_iter1567)); + xfer += oprot->writeString((*_iter1573)); } 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 _size1568; - ::apache::thrift::protocol::TType _etype1571; - xfer += iprot->readListBegin(_etype1571, _size1568); - this->success.resize(_size1568); - uint32_t _i1572; - for (_i1572 = 0; _i1572 < _size1568; ++_i1572) + uint32_t _size1574; + ::apache::thrift::protocol::TType _etype1577; + xfer += iprot->readListBegin(_etype1577, _size1574); + this->success.resize(_size1574); + uint32_t _i1578; + for (_i1578 = 0; _i1578 < _size1574; ++_i1578) { - xfer += this->success[_i1572].read(iprot); + xfer += this->success[_i1578].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 _iter1573; - for (_iter1573 = this->success.begin(); _iter1573 != this->success.end(); ++_iter1573) + std::vector ::const_iterator _iter1579; + for (_iter1579 = this->success.begin(); _iter1579 != this->success.end(); ++_iter1579) { - xfer += (*_iter1573).write(oprot); + xfer += (*_iter1579).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 _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 _size1580; + ::apache::thrift::protocol::TType _etype1583; + xfer += iprot->readListBegin(_etype1583, _size1580); + (*(this->success)).resize(_size1580); + uint32_t _i1584; + for (_i1584 = 0; _i1584 < _size1580; ++_i1584) { - xfer += (*(this->success))[_i1578].read(iprot); + xfer += (*(this->success))[_i1584].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 _size1579; - ::apache::thrift::protocol::TType _etype1582; - xfer += iprot->readListBegin(_etype1582, _size1579); - this->part_vals.resize(_size1579); - uint32_t _i1583; - for (_i1583 = 0; _i1583 < _size1579; ++_i1583) + uint32_t _size1585; + ::apache::thrift::protocol::TType _etype1588; + xfer += iprot->readListBegin(_etype1588, _size1585); + this->part_vals.resize(_size1585); + uint32_t _i1589; + for (_i1589 = 0; _i1589 < _size1585; ++_i1589) { - xfer += iprot->readString(this->part_vals[_i1583]); + xfer += iprot->readString(this->part_vals[_i1589]); } 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 _size1584; - ::apache::thrift::protocol::TType _etype1587; - xfer += iprot->readListBegin(_etype1587, _size1584); - this->group_names.resize(_size1584); - uint32_t _i1588; - for (_i1588 = 0; _i1588 < _size1584; ++_i1588) + 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) { - xfer += iprot->readString(this->group_names[_i1588]); + xfer += iprot->readString(this->group_names[_i1594]); } 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 _iter1589; - for (_iter1589 = this->part_vals.begin(); _iter1589 != this->part_vals.end(); ++_iter1589) + std::vector ::const_iterator _iter1595; + for (_iter1595 = this->part_vals.begin(); _iter1595 != this->part_vals.end(); ++_iter1595) { - xfer += oprot->writeString((*_iter1589)); + xfer += oprot->writeString((*_iter1595)); } 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 _iter1590; - for (_iter1590 = this->group_names.begin(); _iter1590 != this->group_names.end(); ++_iter1590) + std::vector ::const_iterator _iter1596; + for (_iter1596 = this->group_names.begin(); _iter1596 != this->group_names.end(); ++_iter1596) { - xfer += oprot->writeString((*_iter1590)); + xfer += oprot->writeString((*_iter1596)); } 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 _iter1591; - for (_iter1591 = (*(this->part_vals)).begin(); _iter1591 != (*(this->part_vals)).end(); ++_iter1591) + std::vector ::const_iterator _iter1597; + for (_iter1597 = (*(this->part_vals)).begin(); _iter1597 != (*(this->part_vals)).end(); ++_iter1597) { - xfer += oprot->writeString((*_iter1591)); + xfer += oprot->writeString((*_iter1597)); } 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 _iter1592; - for (_iter1592 = (*(this->group_names)).begin(); _iter1592 != (*(this->group_names)).end(); ++_iter1592) + std::vector ::const_iterator _iter1598; + for (_iter1598 = (*(this->group_names)).begin(); _iter1598 != (*(this->group_names)).end(); ++_iter1598) { - xfer += oprot->writeString((*_iter1592)); + xfer += oprot->writeString((*_iter1598)); } 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 _size1593; - ::apache::thrift::protocol::TType _etype1596; - xfer += iprot->readListBegin(_etype1596, _size1593); - this->success.resize(_size1593); - uint32_t _i1597; - for (_i1597 = 0; _i1597 < _size1593; ++_i1597) + 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) { - xfer += this->success[_i1597].read(iprot); + xfer += this->success[_i1603].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 _iter1598; - for (_iter1598 = this->success.begin(); _iter1598 != this->success.end(); ++_iter1598) + std::vector ::const_iterator _iter1604; + for (_iter1604 = this->success.begin(); _iter1604 != this->success.end(); ++_iter1604) { - xfer += (*_iter1598).write(oprot); + xfer += (*_iter1604).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 _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 _size1605; + ::apache::thrift::protocol::TType _etype1608; + xfer += iprot->readListBegin(_etype1608, _size1605); + (*(this->success)).resize(_size1605); + uint32_t _i1609; + for (_i1609 = 0; _i1609 < _size1605; ++_i1609) { - xfer += (*(this->success))[_i1603].read(iprot); + xfer += (*(this->success))[_i1609].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 _size1604; - ::apache::thrift::protocol::TType _etype1607; - xfer += iprot->readListBegin(_etype1607, _size1604); - this->part_vals.resize(_size1604); - uint32_t _i1608; - for (_i1608 = 0; _i1608 < _size1604; ++_i1608) + 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) { - xfer += iprot->readString(this->part_vals[_i1608]); + xfer += iprot->readString(this->part_vals[_i1614]); } 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 _iter1609; - for (_iter1609 = this->part_vals.begin(); _iter1609 != this->part_vals.end(); ++_iter1609) + std::vector ::const_iterator _iter1615; + for (_iter1615 = this->part_vals.begin(); _iter1615 != this->part_vals.end(); ++_iter1615) { - xfer += oprot->writeString((*_iter1609)); + xfer += oprot->writeString((*_iter1615)); } 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 _iter1610; - for (_iter1610 = (*(this->part_vals)).begin(); _iter1610 != (*(this->part_vals)).end(); ++_iter1610) + std::vector ::const_iterator _iter1616; + for (_iter1616 = (*(this->part_vals)).begin(); _iter1616 != (*(this->part_vals)).end(); ++_iter1616) { - xfer += oprot->writeString((*_iter1610)); + xfer += oprot->writeString((*_iter1616)); } 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 _size1611; - ::apache::thrift::protocol::TType _etype1614; - xfer += iprot->readListBegin(_etype1614, _size1611); - this->success.resize(_size1611); - uint32_t _i1615; - for (_i1615 = 0; _i1615 < _size1611; ++_i1615) + uint32_t _size1617; + ::apache::thrift::protocol::TType _etype1620; + xfer += iprot->readListBegin(_etype1620, _size1617); + this->success.resize(_size1617); + uint32_t _i1621; + for (_i1621 = 0; _i1621 < _size1617; ++_i1621) { - xfer += iprot->readString(this->success[_i1615]); + xfer += iprot->readString(this->success[_i1621]); } 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 _iter1616; - for (_iter1616 = this->success.begin(); _iter1616 != this->success.end(); ++_iter1616) + std::vector ::const_iterator _iter1622; + for (_iter1622 = this->success.begin(); _iter1622 != this->success.end(); ++_iter1622) { - xfer += oprot->writeString((*_iter1616)); + xfer += oprot->writeString((*_iter1622)); } 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 _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 _size1623; + ::apache::thrift::protocol::TType _etype1626; + xfer += iprot->readListBegin(_etype1626, _size1623); + (*(this->success)).resize(_size1623); + uint32_t _i1627; + for (_i1627 = 0; _i1627 < _size1623; ++_i1627) { - xfer += iprot->readString((*(this->success))[_i1621]); + xfer += iprot->readString((*(this->success))[_i1627]); } 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 _size1622; - ::apache::thrift::protocol::TType _etype1625; - xfer += iprot->readListBegin(_etype1625, _size1622); - this->success.resize(_size1622); - uint32_t _i1626; - for (_i1626 = 0; _i1626 < _size1622; ++_i1626) + 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) { - xfer += this->success[_i1626].read(iprot); + xfer += this->success[_i1632].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 _iter1627; - for (_iter1627 = this->success.begin(); _iter1627 != this->success.end(); ++_iter1627) + std::vector ::const_iterator _iter1633; + for (_iter1633 = this->success.begin(); _iter1633 != this->success.end(); ++_iter1633) { - xfer += (*_iter1627).write(oprot); + xfer += (*_iter1633).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 _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 _size1634; + ::apache::thrift::protocol::TType _etype1637; + xfer += iprot->readListBegin(_etype1637, _size1634); + (*(this->success)).resize(_size1634); + uint32_t _i1638; + for (_i1638 = 0; _i1638 < _size1634; ++_i1638) { - xfer += (*(this->success))[_i1632].read(iprot); + xfer += (*(this->success))[_i1638].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 _size1633; - ::apache::thrift::protocol::TType _etype1636; - xfer += iprot->readListBegin(_etype1636, _size1633); - this->success.resize(_size1633); - uint32_t _i1637; - for (_i1637 = 0; _i1637 < _size1633; ++_i1637) + uint32_t _size1639; + ::apache::thrift::protocol::TType _etype1642; + xfer += iprot->readListBegin(_etype1642, _size1639); + this->success.resize(_size1639); + uint32_t _i1643; + for (_i1643 = 0; _i1643 < _size1639; ++_i1643) { - xfer += this->success[_i1637].read(iprot); + xfer += this->success[_i1643].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 _iter1638; - for (_iter1638 = this->success.begin(); _iter1638 != this->success.end(); ++_iter1638) + std::vector ::const_iterator _iter1644; + for (_iter1644 = this->success.begin(); _iter1644 != this->success.end(); ++_iter1644) { - xfer += (*_iter1638).write(oprot); + xfer += (*_iter1644).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 _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 _size1645; + ::apache::thrift::protocol::TType _etype1648; + xfer += iprot->readListBegin(_etype1648, _size1645); + (*(this->success)).resize(_size1645); + uint32_t _i1649; + for (_i1649 = 0; _i1649 < _size1645; ++_i1649) { - xfer += (*(this->success))[_i1643].read(iprot); + xfer += (*(this->success))[_i1649].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 _size1644; - ::apache::thrift::protocol::TType _etype1647; - xfer += iprot->readListBegin(_etype1647, _size1644); - this->names.resize(_size1644); - uint32_t _i1648; - for (_i1648 = 0; _i1648 < _size1644; ++_i1648) + 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) { - xfer += iprot->readString(this->names[_i1648]); + xfer += iprot->readString(this->names[_i1654]); } 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 _iter1649; - for (_iter1649 = this->names.begin(); _iter1649 != this->names.end(); ++_iter1649) + std::vector ::const_iterator _iter1655; + for (_iter1655 = this->names.begin(); _iter1655 != this->names.end(); ++_iter1655) { - xfer += oprot->writeString((*_iter1649)); + xfer += oprot->writeString((*_iter1655)); } 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 _iter1650; - for (_iter1650 = (*(this->names)).begin(); _iter1650 != (*(this->names)).end(); ++_iter1650) + std::vector ::const_iterator _iter1656; + for (_iter1656 = (*(this->names)).begin(); _iter1656 != (*(this->names)).end(); ++_iter1656) { - xfer += oprot->writeString((*_iter1650)); + xfer += oprot->writeString((*_iter1656)); } 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 _size1651; - ::apache::thrift::protocol::TType _etype1654; - xfer += iprot->readListBegin(_etype1654, _size1651); - this->success.resize(_size1651); - uint32_t _i1655; - for (_i1655 = 0; _i1655 < _size1651; ++_i1655) + uint32_t _size1657; + ::apache::thrift::protocol::TType _etype1660; + xfer += iprot->readListBegin(_etype1660, _size1657); + this->success.resize(_size1657); + uint32_t _i1661; + for (_i1661 = 0; _i1661 < _size1657; ++_i1661) { - xfer += this->success[_i1655].read(iprot); + xfer += this->success[_i1661].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 _iter1656; - for (_iter1656 = this->success.begin(); _iter1656 != this->success.end(); ++_iter1656) + std::vector ::const_iterator _iter1662; + for (_iter1662 = this->success.begin(); _iter1662 != this->success.end(); ++_iter1662) { - xfer += (*_iter1656).write(oprot); + xfer += (*_iter1662).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 _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 _size1663; + ::apache::thrift::protocol::TType _etype1666; + xfer += iprot->readListBegin(_etype1666, _size1663); + (*(this->success)).resize(_size1663); + uint32_t _i1667; + for (_i1667 = 0; _i1667 < _size1663; ++_i1667) { - xfer += (*(this->success))[_i1661].read(iprot); + xfer += (*(this->success))[_i1667].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 _size1662; - ::apache::thrift::protocol::TType _etype1665; - xfer += iprot->readListBegin(_etype1665, _size1662); - this->new_parts.resize(_size1662); - uint32_t _i1666; - for (_i1666 = 0; _i1666 < _size1662; ++_i1666) + 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) { - xfer += this->new_parts[_i1666].read(iprot); + xfer += this->new_parts[_i1672].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 _iter1667; - for (_iter1667 = this->new_parts.begin(); _iter1667 != this->new_parts.end(); ++_iter1667) + std::vector ::const_iterator _iter1673; + for (_iter1673 = this->new_parts.begin(); _iter1673 != this->new_parts.end(); ++_iter1673) { - xfer += (*_iter1667).write(oprot); + xfer += (*_iter1673).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 _iter1668; - for (_iter1668 = (*(this->new_parts)).begin(); _iter1668 != (*(this->new_parts)).end(); ++_iter1668) + std::vector ::const_iterator _iter1674; + for (_iter1674 = (*(this->new_parts)).begin(); _iter1674 != (*(this->new_parts)).end(); ++_iter1674) { - xfer += (*_iter1668).write(oprot); + xfer += (*_iter1674).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 _size1669; - ::apache::thrift::protocol::TType _etype1672; - xfer += iprot->readListBegin(_etype1672, _size1669); - this->new_parts.resize(_size1669); - uint32_t _i1673; - for (_i1673 = 0; _i1673 < _size1669; ++_i1673) + 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) { - xfer += this->new_parts[_i1673].read(iprot); + xfer += this->new_parts[_i1679].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 _iter1674; - for (_iter1674 = this->new_parts.begin(); _iter1674 != this->new_parts.end(); ++_iter1674) + std::vector ::const_iterator _iter1680; + for (_iter1680 = this->new_parts.begin(); _iter1680 != this->new_parts.end(); ++_iter1680) { - xfer += (*_iter1674).write(oprot); + xfer += (*_iter1680).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 _iter1675; - for (_iter1675 = (*(this->new_parts)).begin(); _iter1675 != (*(this->new_parts)).end(); ++_iter1675) + std::vector ::const_iterator _iter1681; + for (_iter1681 = (*(this->new_parts)).begin(); _iter1681 != (*(this->new_parts)).end(); ++_iter1681) { - xfer += (*_iter1675).write(oprot); + xfer += (*_iter1681).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 _size1676; - ::apache::thrift::protocol::TType _etype1679; - xfer += iprot->readListBegin(_etype1679, _size1676); - this->part_vals.resize(_size1676); - uint32_t _i1680; - for (_i1680 = 0; _i1680 < _size1676; ++_i1680) + 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) { - xfer += iprot->readString(this->part_vals[_i1680]); + xfer += iprot->readString(this->part_vals[_i1686]); } 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 _iter1681; - for (_iter1681 = this->part_vals.begin(); _iter1681 != this->part_vals.end(); ++_iter1681) + std::vector ::const_iterator _iter1687; + for (_iter1687 = this->part_vals.begin(); _iter1687 != this->part_vals.end(); ++_iter1687) { - xfer += oprot->writeString((*_iter1681)); + xfer += oprot->writeString((*_iter1687)); } 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 _iter1682; - for (_iter1682 = (*(this->part_vals)).begin(); _iter1682 != (*(this->part_vals)).end(); ++_iter1682) + std::vector ::const_iterator _iter1688; + for (_iter1688 = (*(this->part_vals)).begin(); _iter1688 != (*(this->part_vals)).end(); ++_iter1688) { - xfer += oprot->writeString((*_iter1682)); + xfer += oprot->writeString((*_iter1688)); } 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 _size1683; - ::apache::thrift::protocol::TType _etype1686; - xfer += iprot->readListBegin(_etype1686, _size1683); - this->part_vals.resize(_size1683); - uint32_t _i1687; - for (_i1687 = 0; _i1687 < _size1683; ++_i1687) + 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) { - xfer += iprot->readString(this->part_vals[_i1687]); + xfer += iprot->readString(this->part_vals[_i1693]); } 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 _iter1688; - for (_iter1688 = this->part_vals.begin(); _iter1688 != this->part_vals.end(); ++_iter1688) + std::vector ::const_iterator _iter1694; + for (_iter1694 = this->part_vals.begin(); _iter1694 != this->part_vals.end(); ++_iter1694) { - xfer += oprot->writeString((*_iter1688)); + xfer += oprot->writeString((*_iter1694)); } 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 _iter1689; - for (_iter1689 = (*(this->part_vals)).begin(); _iter1689 != (*(this->part_vals)).end(); ++_iter1689) + std::vector ::const_iterator _iter1695; + for (_iter1695 = (*(this->part_vals)).begin(); _iter1695 != (*(this->part_vals)).end(); ++_iter1695) { - xfer += oprot->writeString((*_iter1689)); + xfer += oprot->writeString((*_iter1695)); } 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 _size1690; - ::apache::thrift::protocol::TType _etype1693; - xfer += iprot->readListBegin(_etype1693, _size1690); - this->success.resize(_size1690); - uint32_t _i1694; - for (_i1694 = 0; _i1694 < _size1690; ++_i1694) + 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) { - xfer += iprot->readString(this->success[_i1694]); + xfer += iprot->readString(this->success[_i1700]); } 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 _iter1695; - for (_iter1695 = this->success.begin(); _iter1695 != this->success.end(); ++_iter1695) + std::vector ::const_iterator _iter1701; + for (_iter1701 = this->success.begin(); _iter1701 != this->success.end(); ++_iter1701) { - xfer += oprot->writeString((*_iter1695)); + xfer += oprot->writeString((*_iter1701)); } 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 _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 _size1702; + ::apache::thrift::protocol::TType _etype1705; + xfer += iprot->readListBegin(_etype1705, _size1702); + (*(this->success)).resize(_size1702); + uint32_t _i1706; + for (_i1706 = 0; _i1706 < _size1702; ++_i1706) { - xfer += iprot->readString((*(this->success))[_i1700]); + xfer += iprot->readString((*(this->success))[_i1706]); } 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 _size1701; - ::apache::thrift::protocol::TType _ktype1702; - ::apache::thrift::protocol::TType _vtype1703; - xfer += iprot->readMapBegin(_ktype1702, _vtype1703, _size1701); - uint32_t _i1705; - for (_i1705 = 0; _i1705 < _size1701; ++_i1705) + 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) { - std::string _key1706; - xfer += iprot->readString(_key1706); - std::string& _val1707 = this->success[_key1706]; - xfer += iprot->readString(_val1707); + std::string _key1712; + xfer += iprot->readString(_key1712); + std::string& _val1713 = this->success[_key1712]; + xfer += iprot->readString(_val1713); } 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 _iter1708; - for (_iter1708 = this->success.begin(); _iter1708 != this->success.end(); ++_iter1708) + std::map ::const_iterator _iter1714; + for (_iter1714 = this->success.begin(); _iter1714 != this->success.end(); ++_iter1714) { - xfer += oprot->writeString(_iter1708->first); - xfer += oprot->writeString(_iter1708->second); + xfer += oprot->writeString(_iter1714->first); + xfer += oprot->writeString(_iter1714->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 _size1709; - ::apache::thrift::protocol::TType _ktype1710; - ::apache::thrift::protocol::TType _vtype1711; - xfer += iprot->readMapBegin(_ktype1710, _vtype1711, _size1709); - uint32_t _i1713; - for (_i1713 = 0; _i1713 < _size1709; ++_i1713) + 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 _key1714; - xfer += iprot->readString(_key1714); - std::string& _val1715 = (*(this->success))[_key1714]; - xfer += iprot->readString(_val1715); + std::string _key1720; + xfer += iprot->readString(_key1720); + std::string& _val1721 = (*(this->success))[_key1720]; + xfer += iprot->readString(_val1721); } 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 _size1716; - ::apache::thrift::protocol::TType _ktype1717; - ::apache::thrift::protocol::TType _vtype1718; - xfer += iprot->readMapBegin(_ktype1717, _vtype1718, _size1716); - uint32_t _i1720; - for (_i1720 = 0; _i1720 < _size1716; ++_i1720) + 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) { - std::string _key1721; - xfer += iprot->readString(_key1721); - std::string& _val1722 = this->part_vals[_key1721]; - xfer += iprot->readString(_val1722); + std::string _key1727; + xfer += iprot->readString(_key1727); + std::string& _val1728 = this->part_vals[_key1727]; + xfer += iprot->readString(_val1728); } 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 ecast1723; - xfer += iprot->readI32(ecast1723); - this->eventType = (PartitionEventType::type)ecast1723; + int32_t ecast1729; + xfer += iprot->readI32(ecast1729); + this->eventType = (PartitionEventType::type)ecast1729; 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 _iter1724; - for (_iter1724 = this->part_vals.begin(); _iter1724 != this->part_vals.end(); ++_iter1724) + std::map ::const_iterator _iter1730; + for (_iter1730 = this->part_vals.begin(); _iter1730 != this->part_vals.end(); ++_iter1730) { - xfer += oprot->writeString(_iter1724->first); - xfer += oprot->writeString(_iter1724->second); + xfer += oprot->writeString(_iter1730->first); + xfer += oprot->writeString(_iter1730->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 _iter1725; - for (_iter1725 = (*(this->part_vals)).begin(); _iter1725 != (*(this->part_vals)).end(); ++_iter1725) + std::map ::const_iterator _iter1731; + for (_iter1731 = (*(this->part_vals)).begin(); _iter1731 != (*(this->part_vals)).end(); ++_iter1731) { - xfer += oprot->writeString(_iter1725->first); - xfer += oprot->writeString(_iter1725->second); + xfer += oprot->writeString(_iter1731->first); + xfer += oprot->writeString(_iter1731->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 _size1726; - ::apache::thrift::protocol::TType _ktype1727; - ::apache::thrift::protocol::TType _vtype1728; - xfer += iprot->readMapBegin(_ktype1727, _vtype1728, _size1726); - uint32_t _i1730; - for (_i1730 = 0; _i1730 < _size1726; ++_i1730) + 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) { - std::string _key1731; - xfer += iprot->readString(_key1731); - std::string& _val1732 = this->part_vals[_key1731]; - xfer += iprot->readString(_val1732); + std::string _key1737; + xfer += iprot->readString(_key1737); + std::string& _val1738 = this->part_vals[_key1737]; + xfer += iprot->readString(_val1738); } 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 ecast1733; - xfer += iprot->readI32(ecast1733); - this->eventType = (PartitionEventType::type)ecast1733; + int32_t ecast1739; + xfer += iprot->readI32(ecast1739); + this->eventType = (PartitionEventType::type)ecast1739; 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 _iter1734; - for (_iter1734 = this->part_vals.begin(); _iter1734 != this->part_vals.end(); ++_iter1734) + std::map ::const_iterator _iter1740; + for (_iter1740 = this->part_vals.begin(); _iter1740 != this->part_vals.end(); ++_iter1740) { - xfer += oprot->writeString(_iter1734->first); - xfer += oprot->writeString(_iter1734->second); + xfer += oprot->writeString(_iter1740->first); + xfer += oprot->writeString(_iter1740->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 _iter1735; - for (_iter1735 = (*(this->part_vals)).begin(); _iter1735 != (*(this->part_vals)).end(); ++_iter1735) + std::map ::const_iterator _iter1741; + for (_iter1741 = (*(this->part_vals)).begin(); _iter1741 != (*(this->part_vals)).end(); ++_iter1741) { - xfer += oprot->writeString(_iter1735->first); - xfer += oprot->writeString(_iter1735->second); + xfer += oprot->writeString(_iter1741->first); + xfer += oprot->writeString(_iter1741->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 _size1736; - ::apache::thrift::protocol::TType _etype1739; - xfer += iprot->readListBegin(_etype1739, _size1736); - this->success.resize(_size1736); - uint32_t _i1740; - for (_i1740 = 0; _i1740 < _size1736; ++_i1740) + 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) { - xfer += iprot->readString(this->success[_i1740]); + xfer += iprot->readString(this->success[_i1746]); } 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 _iter1741; - for (_iter1741 = this->success.begin(); _iter1741 != this->success.end(); ++_iter1741) + std::vector ::const_iterator _iter1747; + for (_iter1747 = this->success.begin(); _iter1747 != this->success.end(); ++_iter1747) { - xfer += oprot->writeString((*_iter1741)); + xfer += oprot->writeString((*_iter1747)); } 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 _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 _size1748; + ::apache::thrift::protocol::TType _etype1751; + xfer += iprot->readListBegin(_etype1751, _size1748); + (*(this->success)).resize(_size1748); + uint32_t _i1752; + for (_i1752 = 0; _i1752 < _size1748; ++_i1752) { - xfer += iprot->readString((*(this->success))[_i1746]); + xfer += iprot->readString((*(this->success))[_i1752]); } 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 _size1747; - ::apache::thrift::protocol::TType _etype1750; - xfer += iprot->readListBegin(_etype1750, _size1747); - this->success.resize(_size1747); - uint32_t _i1751; - for (_i1751 = 0; _i1751 < _size1747; ++_i1751) + 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) { - xfer += iprot->readString(this->success[_i1751]); + xfer += iprot->readString(this->success[_i1757]); } 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 _iter1752; - for (_iter1752 = this->success.begin(); _iter1752 != this->success.end(); ++_iter1752) + std::vector ::const_iterator _iter1758; + for (_iter1758 = this->success.begin(); _iter1758 != this->success.end(); ++_iter1758) { - xfer += oprot->writeString((*_iter1752)); + xfer += oprot->writeString((*_iter1758)); } 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 _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 _size1759; + ::apache::thrift::protocol::TType _etype1762; + xfer += iprot->readListBegin(_etype1762, _size1759); + (*(this->success)).resize(_size1759); + uint32_t _i1763; + for (_i1763 = 0; _i1763 < _size1759; ++_i1763) { - xfer += iprot->readString((*(this->success))[_i1757]); + xfer += iprot->readString((*(this->success))[_i1763]); } 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 ecast1758; - xfer += iprot->readI32(ecast1758); - this->principal_type = (PrincipalType::type)ecast1758; + int32_t ecast1764; + xfer += iprot->readI32(ecast1764); + this->principal_type = (PrincipalType::type)ecast1764; 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 ecast1759; - xfer += iprot->readI32(ecast1759); - this->grantorType = (PrincipalType::type)ecast1759; + int32_t ecast1765; + xfer += iprot->readI32(ecast1765); + this->grantorType = (PrincipalType::type)ecast1765; 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 ecast1760; - xfer += iprot->readI32(ecast1760); - this->principal_type = (PrincipalType::type)ecast1760; + int32_t ecast1766; + xfer += iprot->readI32(ecast1766); + this->principal_type = (PrincipalType::type)ecast1766; 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 ecast1761; - xfer += iprot->readI32(ecast1761); - this->principal_type = (PrincipalType::type)ecast1761; + int32_t ecast1767; + xfer += iprot->readI32(ecast1767); + this->principal_type = (PrincipalType::type)ecast1767; 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 _size1762; - ::apache::thrift::protocol::TType _etype1765; - xfer += iprot->readListBegin(_etype1765, _size1762); - this->success.resize(_size1762); - uint32_t _i1766; - for (_i1766 = 0; _i1766 < _size1762; ++_i1766) + 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) { - xfer += this->success[_i1766].read(iprot); + xfer += this->success[_i1772].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 _iter1767; - for (_iter1767 = this->success.begin(); _iter1767 != this->success.end(); ++_iter1767) + std::vector ::const_iterator _iter1773; + for (_iter1773 = this->success.begin(); _iter1773 != this->success.end(); ++_iter1773) { - xfer += (*_iter1767).write(oprot); + xfer += (*_iter1773).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 _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 _size1774; + ::apache::thrift::protocol::TType _etype1777; + xfer += iprot->readListBegin(_etype1777, _size1774); + (*(this->success)).resize(_size1774); + uint32_t _i1778; + for (_i1778 = 0; _i1778 < _size1774; ++_i1778) { - xfer += (*(this->success))[_i1772].read(iprot); + xfer += (*(this->success))[_i1778].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 _size1773; - ::apache::thrift::protocol::TType _etype1776; - xfer += iprot->readListBegin(_etype1776, _size1773); - this->group_names.resize(_size1773); - uint32_t _i1777; - for (_i1777 = 0; _i1777 < _size1773; ++_i1777) + 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) { - xfer += iprot->readString(this->group_names[_i1777]); + xfer += iprot->readString(this->group_names[_i1783]); } 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 _iter1778; - for (_iter1778 = this->group_names.begin(); _iter1778 != this->group_names.end(); ++_iter1778) + std::vector ::const_iterator _iter1784; + for (_iter1784 = this->group_names.begin(); _iter1784 != this->group_names.end(); ++_iter1784) { - xfer += oprot->writeString((*_iter1778)); + xfer += oprot->writeString((*_iter1784)); } 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 _iter1779; - for (_iter1779 = (*(this->group_names)).begin(); _iter1779 != (*(this->group_names)).end(); ++_iter1779) + std::vector ::const_iterator _iter1785; + for (_iter1785 = (*(this->group_names)).begin(); _iter1785 != (*(this->group_names)).end(); ++_iter1785) { - xfer += oprot->writeString((*_iter1779)); + xfer += oprot->writeString((*_iter1785)); } 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 ecast1780; - xfer += iprot->readI32(ecast1780); - this->principal_type = (PrincipalType::type)ecast1780; + int32_t ecast1786; + xfer += iprot->readI32(ecast1786); + this->principal_type = (PrincipalType::type)ecast1786; 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 _size1781; - ::apache::thrift::protocol::TType _etype1784; - xfer += iprot->readListBegin(_etype1784, _size1781); - this->success.resize(_size1781); - uint32_t _i1785; - for (_i1785 = 0; _i1785 < _size1781; ++_i1785) + 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) { - xfer += this->success[_i1785].read(iprot); + xfer += this->success[_i1791].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 _iter1786; - for (_iter1786 = this->success.begin(); _iter1786 != this->success.end(); ++_iter1786) + std::vector ::const_iterator _iter1792; + for (_iter1792 = this->success.begin(); _iter1792 != this->success.end(); ++_iter1792) { - xfer += (*_iter1786).write(oprot); + xfer += (*_iter1792).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 _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 _size1793; + ::apache::thrift::protocol::TType _etype1796; + xfer += iprot->readListBegin(_etype1796, _size1793); + (*(this->success)).resize(_size1793); + uint32_t _i1797; + for (_i1797 = 0; _i1797 < _size1793; ++_i1797) { - xfer += (*(this->success))[_i1791].read(iprot); + xfer += (*(this->success))[_i1797].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 _size1792; - ::apache::thrift::protocol::TType _etype1795; - xfer += iprot->readListBegin(_etype1795, _size1792); - this->group_names.resize(_size1792); - uint32_t _i1796; - for (_i1796 = 0; _i1796 < _size1792; ++_i1796) + 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) { - xfer += iprot->readString(this->group_names[_i1796]); + xfer += iprot->readString(this->group_names[_i1802]); } 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 _iter1797; - for (_iter1797 = this->group_names.begin(); _iter1797 != this->group_names.end(); ++_iter1797) + std::vector ::const_iterator _iter1803; + for (_iter1803 = this->group_names.begin(); _iter1803 != this->group_names.end(); ++_iter1803) { - xfer += oprot->writeString((*_iter1797)); + xfer += oprot->writeString((*_iter1803)); } 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 _iter1798; - for (_iter1798 = (*(this->group_names)).begin(); _iter1798 != (*(this->group_names)).end(); ++_iter1798) + std::vector ::const_iterator _iter1804; + for (_iter1804 = (*(this->group_names)).begin(); _iter1804 != (*(this->group_names)).end(); ++_iter1804) { - xfer += oprot->writeString((*_iter1798)); + xfer += oprot->writeString((*_iter1804)); } 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 _size1799; - ::apache::thrift::protocol::TType _etype1802; - xfer += iprot->readListBegin(_etype1802, _size1799); - this->success.resize(_size1799); - uint32_t _i1803; - for (_i1803 = 0; _i1803 < _size1799; ++_i1803) + uint32_t _size1805; + ::apache::thrift::protocol::TType _etype1808; + xfer += iprot->readListBegin(_etype1808, _size1805); + this->success.resize(_size1805); + uint32_t _i1809; + for (_i1809 = 0; _i1809 < _size1805; ++_i1809) { - xfer += iprot->readString(this->success[_i1803]); + xfer += iprot->readString(this->success[_i1809]); } 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 _iter1804; - for (_iter1804 = this->success.begin(); _iter1804 != this->success.end(); ++_iter1804) + std::vector ::const_iterator _iter1810; + for (_iter1810 = this->success.begin(); _iter1810 != this->success.end(); ++_iter1810) { - xfer += oprot->writeString((*_iter1804)); + xfer += oprot->writeString((*_iter1810)); } 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 _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 _size1811; + ::apache::thrift::protocol::TType _etype1814; + xfer += iprot->readListBegin(_etype1814, _size1811); + (*(this->success)).resize(_size1811); + uint32_t _i1815; + for (_i1815 = 0; _i1815 < _size1811; ++_i1815) { - xfer += iprot->readString((*(this->success))[_i1809]); + xfer += iprot->readString((*(this->success))[_i1815]); } 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 _size1810; - ::apache::thrift::protocol::TType _etype1813; - xfer += iprot->readListBegin(_etype1813, _size1810); - this->success.resize(_size1810); - uint32_t _i1814; - for (_i1814 = 0; _i1814 < _size1810; ++_i1814) + 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) { - xfer += iprot->readString(this->success[_i1814]); + xfer += iprot->readString(this->success[_i1820]); } 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 _iter1815; - for (_iter1815 = this->success.begin(); _iter1815 != this->success.end(); ++_iter1815) + std::vector ::const_iterator _iter1821; + for (_iter1821 = this->success.begin(); _iter1821 != this->success.end(); ++_iter1821) { - xfer += oprot->writeString((*_iter1815)); + xfer += oprot->writeString((*_iter1821)); } 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 _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 _size1822; + ::apache::thrift::protocol::TType _etype1825; + xfer += iprot->readListBegin(_etype1825, _size1822); + (*(this->success)).resize(_size1822); + uint32_t _i1826; + for (_i1826 = 0; _i1826 < _size1822; ++_i1826) { - xfer += iprot->readString((*(this->success))[_i1820]); + xfer += iprot->readString((*(this->success))[_i1826]); } 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 _size1821; - ::apache::thrift::protocol::TType _etype1824; - xfer += iprot->readListBegin(_etype1824, _size1821); - this->success.resize(_size1821); - uint32_t _i1825; - for (_i1825 = 0; _i1825 < _size1821; ++_i1825) + uint32_t _size1827; + ::apache::thrift::protocol::TType _etype1830; + xfer += iprot->readListBegin(_etype1830, _size1827); + this->success.resize(_size1827); + uint32_t _i1831; + for (_i1831 = 0; _i1831 < _size1827; ++_i1831) { - xfer += iprot->readString(this->success[_i1825]); + xfer += iprot->readString(this->success[_i1831]); } 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 _iter1826; - for (_iter1826 = this->success.begin(); _iter1826 != this->success.end(); ++_iter1826) + std::vector ::const_iterator _iter1832; + for (_iter1832 = this->success.begin(); _iter1832 != this->success.end(); ++_iter1832) { - xfer += oprot->writeString((*_iter1826)); + xfer += oprot->writeString((*_iter1832)); } 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 _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 _size1833; + ::apache::thrift::protocol::TType _etype1836; + xfer += iprot->readListBegin(_etype1836, _size1833); + (*(this->success)).resize(_size1833); + uint32_t _i1837; + for (_i1837 = 0; _i1837 < _size1833; ++_i1837) { - xfer += iprot->readString((*(this->success))[_i1831]); + xfer += iprot->readString((*(this->success))[_i1837]); } xfer += iprot->readListEnd(); } @@ -47334,14 +47334,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1832; - ::apache::thrift::protocol::TType _etype1835; - xfer += iprot->readListBegin(_etype1835, _size1832); - this->success.resize(_size1832); - uint32_t _i1836; - for (_i1836 = 0; _i1836 < _size1832; ++_i1836) + uint32_t _size1838; + ::apache::thrift::protocol::TType _etype1841; + xfer += iprot->readListBegin(_etype1841, _size1838); + this->success.resize(_size1838); + uint32_t _i1842; + for (_i1842 = 0; _i1842 < _size1838; ++_i1842) { - xfer += this->success[_i1836].read(iprot); + xfer += this->success[_i1842].read(iprot); } xfer += iprot->readListEnd(); } @@ -47388,10 +47388,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 _iter1837; - for (_iter1837 = this->success.begin(); _iter1837 != this->success.end(); ++_iter1837) + std::vector ::const_iterator _iter1843; + for (_iter1843 = this->success.begin(); _iter1843 != this->success.end(); ++_iter1843) { - xfer += (*_iter1837).write(oprot); + xfer += (*_iter1843).write(oprot); } xfer += oprot->writeListEnd(); } @@ -47440,14 +47440,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr 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 _size1844; + ::apache::thrift::protocol::TType _etype1847; + xfer += iprot->readListBegin(_etype1847, _size1844); + (*(this->success)).resize(_size1844); + uint32_t _i1848; + for (_i1848 = 0; _i1848 < _size1844; ++_i1848) { - xfer += (*(this->success))[_i1842].read(iprot); + xfer += (*(this->success))[_i1848].read(iprot); } xfer += iprot->readListEnd(); } 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 987a4f3ba9..383cb9bc9c 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 @@ -15906,6 +15906,16 @@ void OpenTxnRequest::__set_agentInfo(const std::string& val) { __isset.agentInfo = true; } +void OpenTxnRequest::__set_replPolicy(const std::string& val) { + this->replPolicy = val; +__isset.replPolicy = true; +} + +void OpenTxnRequest::__set_replSrcTxnIds(const std::vector & val) { + this->replSrcTxnIds = val; +__isset.replSrcTxnIds = true; +} + uint32_t OpenTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -15962,6 +15972,34 @@ uint32_t OpenTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 5: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->replPolicy); + this->__isset.replPolicy = true; + } else { + xfer += iprot->skip(ftype); + } + break; + case 6: + if (ftype == ::apache::thrift::protocol::T_LIST) { + { + this->replSrcTxnIds.clear(); + uint32_t _size644; + ::apache::thrift::protocol::TType _etype647; + xfer += iprot->readListBegin(_etype647, _size644); + this->replSrcTxnIds.resize(_size644); + uint32_t _i648; + for (_i648 = 0; _i648 < _size644; ++_i648) + { + xfer += iprot->readI64(this->replSrcTxnIds[_i648]); + } + xfer += iprot->readListEnd(); + } + this->__isset.replSrcTxnIds = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -16002,6 +16040,24 @@ uint32_t OpenTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) con xfer += oprot->writeString(this->agentInfo); xfer += oprot->writeFieldEnd(); } + if (this->__isset.replPolicy) { + xfer += oprot->writeFieldBegin("replPolicy", ::apache::thrift::protocol::T_STRING, 5); + xfer += oprot->writeString(this->replPolicy); + xfer += oprot->writeFieldEnd(); + } + if (this->__isset.replSrcTxnIds) { + xfer += oprot->writeFieldBegin("replSrcTxnIds", ::apache::thrift::protocol::T_LIST, 6); + { + xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->replSrcTxnIds.size())); + std::vector ::const_iterator _iter649; + for (_iter649 = this->replSrcTxnIds.begin(); _iter649 != this->replSrcTxnIds.end(); ++_iter649) + { + xfer += oprot->writeI64((*_iter649)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -16013,22 +16069,28 @@ void swap(OpenTxnRequest &a, OpenTxnRequest &b) { swap(a.user, b.user); swap(a.hostname, b.hostname); swap(a.agentInfo, b.agentInfo); + swap(a.replPolicy, b.replPolicy); + swap(a.replSrcTxnIds, b.replSrcTxnIds); swap(a.__isset, b.__isset); } -OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other644) { - num_txns = other644.num_txns; - user = other644.user; - hostname = other644.hostname; - agentInfo = other644.agentInfo; - __isset = other644.__isset; -} -OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other645) { - num_txns = other645.num_txns; - user = other645.user; - hostname = other645.hostname; - agentInfo = other645.agentInfo; - __isset = other645.__isset; +OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other650) { + num_txns = other650.num_txns; + user = other650.user; + hostname = other650.hostname; + agentInfo = other650.agentInfo; + replPolicy = other650.replPolicy; + replSrcTxnIds = other650.replSrcTxnIds; + __isset = other650.__isset; +} +OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other651) { + num_txns = other651.num_txns; + user = other651.user; + hostname = other651.hostname; + agentInfo = other651.agentInfo; + replPolicy = other651.replPolicy; + replSrcTxnIds = other651.replSrcTxnIds; + __isset = other651.__isset; return *this; } void OpenTxnRequest::printTo(std::ostream& out) const { @@ -16038,6 +16100,8 @@ void OpenTxnRequest::printTo(std::ostream& out) const { out << ", " << "user=" << to_string(user); out << ", " << "hostname=" << to_string(hostname); out << ", " << "agentInfo="; (__isset.agentInfo ? (out << to_string(agentInfo)) : (out << "")); + out << ", " << "replPolicy="; (__isset.replPolicy ? (out << to_string(replPolicy)) : (out << "")); + out << ", " << "replSrcTxnIds="; (__isset.replSrcTxnIds ? (out << to_string(replSrcTxnIds)) : (out << "")); out << ")"; } @@ -16076,14 +16140,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size646; - ::apache::thrift::protocol::TType _etype649; - xfer += iprot->readListBegin(_etype649, _size646); - this->txn_ids.resize(_size646); - uint32_t _i650; - for (_i650 = 0; _i650 < _size646; ++_i650) + uint32_t _size652; + ::apache::thrift::protocol::TType _etype655; + xfer += iprot->readListBegin(_etype655, _size652); + this->txn_ids.resize(_size652); + uint32_t _i656; + for (_i656 = 0; _i656 < _size652; ++_i656) { - xfer += iprot->readI64(this->txn_ids[_i650]); + xfer += iprot->readI64(this->txn_ids[_i656]); } xfer += iprot->readListEnd(); } @@ -16114,10 +16178,10 @@ uint32_t OpenTxnsResponse::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txn_ids.size())); - std::vector ::const_iterator _iter651; - for (_iter651 = this->txn_ids.begin(); _iter651 != this->txn_ids.end(); ++_iter651) + std::vector ::const_iterator _iter657; + for (_iter657 = this->txn_ids.begin(); _iter657 != this->txn_ids.end(); ++_iter657) { - xfer += oprot->writeI64((*_iter651)); + xfer += oprot->writeI64((*_iter657)); } xfer += oprot->writeListEnd(); } @@ -16133,11 +16197,11 @@ void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) { swap(a.txn_ids, b.txn_ids); } -OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other652) { - txn_ids = other652.txn_ids; +OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other658) { + txn_ids = other658.txn_ids; } -OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other653) { - txn_ids = other653.txn_ids; +OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other659) { + txn_ids = other659.txn_ids; return *this; } void OpenTxnsResponse::printTo(std::ostream& out) const { @@ -16156,6 +16220,11 @@ void AbortTxnRequest::__set_txnid(const int64_t val) { this->txnid = val; } +void AbortTxnRequest::__set_replPolicy(const std::string& val) { + this->replPolicy = val; +__isset.replPolicy = true; +} + uint32_t AbortTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -16186,6 +16255,14 @@ uint32_t AbortTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->replPolicy); + this->__isset.replPolicy = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -16209,6 +16286,11 @@ uint32_t AbortTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) co xfer += oprot->writeI64(this->txnid); xfer += oprot->writeFieldEnd(); + if (this->__isset.replPolicy) { + xfer += oprot->writeFieldBegin("replPolicy", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->replPolicy); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -16217,19 +16299,26 @@ uint32_t AbortTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) co void swap(AbortTxnRequest &a, AbortTxnRequest &b) { using ::std::swap; swap(a.txnid, b.txnid); + swap(a.replPolicy, b.replPolicy); + swap(a.__isset, b.__isset); } -AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other654) { - txnid = other654.txnid; +AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other660) { + txnid = other660.txnid; + replPolicy = other660.replPolicy; + __isset = other660.__isset; } -AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other655) { - txnid = other655.txnid; +AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other661) { + txnid = other661.txnid; + replPolicy = other661.replPolicy; + __isset = other661.__isset; return *this; } void AbortTxnRequest::printTo(std::ostream& out) const { using ::apache::thrift::to_string; out << "AbortTxnRequest("; out << "txnid=" << to_string(txnid); + out << ", " << "replPolicy="; (__isset.replPolicy ? (out << to_string(replPolicy)) : (out << "")); out << ")"; } @@ -16268,14 +16357,14 @@ uint32_t AbortTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size656; - ::apache::thrift::protocol::TType _etype659; - xfer += iprot->readListBegin(_etype659, _size656); - this->txn_ids.resize(_size656); - uint32_t _i660; - for (_i660 = 0; _i660 < _size656; ++_i660) + uint32_t _size662; + ::apache::thrift::protocol::TType _etype665; + xfer += iprot->readListBegin(_etype665, _size662); + this->txn_ids.resize(_size662); + uint32_t _i666; + for (_i666 = 0; _i666 < _size662; ++_i666) { - xfer += iprot->readI64(this->txn_ids[_i660]); + xfer += iprot->readI64(this->txn_ids[_i666]); } xfer += iprot->readListEnd(); } @@ -16306,10 +16395,10 @@ uint32_t AbortTxnsRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("txn_ids", ::apache::thrift::protocol::T_LIST, 1); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_I64, static_cast(this->txn_ids.size())); - std::vector ::const_iterator _iter661; - for (_iter661 = this->txn_ids.begin(); _iter661 != this->txn_ids.end(); ++_iter661) + std::vector ::const_iterator _iter667; + for (_iter667 = this->txn_ids.begin(); _iter667 != this->txn_ids.end(); ++_iter667) { - xfer += oprot->writeI64((*_iter661)); + xfer += oprot->writeI64((*_iter667)); } xfer += oprot->writeListEnd(); } @@ -16325,11 +16414,11 @@ void swap(AbortTxnsRequest &a, AbortTxnsRequest &b) { swap(a.txn_ids, b.txn_ids); } -AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other662) { - txn_ids = other662.txn_ids; +AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other668) { + txn_ids = other668.txn_ids; } -AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other663) { - txn_ids = other663.txn_ids; +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other669) { + txn_ids = other669.txn_ids; return *this; } void AbortTxnsRequest::printTo(std::ostream& out) const { @@ -16348,6 +16437,11 @@ void CommitTxnRequest::__set_txnid(const int64_t val) { this->txnid = val; } +void CommitTxnRequest::__set_replPolicy(const std::string& val) { + this->replPolicy = val; +__isset.replPolicy = true; +} + uint32_t CommitTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { apache::thrift::protocol::TInputRecursionTracker tracker(*iprot); @@ -16378,6 +16472,14 @@ uint32_t CommitTxnRequest::read(::apache::thrift::protocol::TProtocol* iprot) { xfer += iprot->skip(ftype); } break; + case 2: + if (ftype == ::apache::thrift::protocol::T_STRING) { + xfer += iprot->readString(this->replPolicy); + this->__isset.replPolicy = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -16401,6 +16503,11 @@ uint32_t CommitTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeI64(this->txnid); xfer += oprot->writeFieldEnd(); + if (this->__isset.replPolicy) { + xfer += oprot->writeFieldBegin("replPolicy", ::apache::thrift::protocol::T_STRING, 2); + xfer += oprot->writeString(this->replPolicy); + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -16409,19 +16516,26 @@ uint32_t CommitTxnRequest::write(::apache::thrift::protocol::TProtocol* oprot) c void swap(CommitTxnRequest &a, CommitTxnRequest &b) { using ::std::swap; swap(a.txnid, b.txnid); + swap(a.replPolicy, b.replPolicy); + swap(a.__isset, b.__isset); } -CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other664) { - txnid = other664.txnid; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other670) { + txnid = other670.txnid; + replPolicy = other670.replPolicy; + __isset = other670.__isset; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other665) { - txnid = other665.txnid; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other671) { + txnid = other671.txnid; + replPolicy = other671.replPolicy; + __isset = other671.__isset; return *this; } void CommitTxnRequest::printTo(std::ostream& out) const { using ::apache::thrift::to_string; out << "CommitTxnRequest("; out << "txnid=" << to_string(txnid); + out << ", " << "replPolicy="; (__isset.replPolicy ? (out << to_string(replPolicy)) : (out << "")); out << ")"; } @@ -16465,14 +16579,14 @@ uint32_t GetValidWriteIdsRequest::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fullTableNames.clear(); - uint32_t _size666; - ::apache::thrift::protocol::TType _etype669; - xfer += iprot->readListBegin(_etype669, _size666); - this->fullTableNames.resize(_size666); - uint32_t _i670; - for (_i670 = 0; _i670 < _size666; ++_i670) + 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) { - xfer += iprot->readString(this->fullTableNames[_i670]); + xfer += iprot->readString(this->fullTableNames[_i676]); } xfer += iprot->readListEnd(); } @@ -16513,10 +16627,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 _iter671; - for (_iter671 = this->fullTableNames.begin(); _iter671 != this->fullTableNames.end(); ++_iter671) + std::vector ::const_iterator _iter677; + for (_iter677 = this->fullTableNames.begin(); _iter677 != this->fullTableNames.end(); ++_iter677) { - xfer += oprot->writeString((*_iter671)); + xfer += oprot->writeString((*_iter677)); } xfer += oprot->writeListEnd(); } @@ -16537,13 +16651,13 @@ void swap(GetValidWriteIdsRequest &a, GetValidWriteIdsRequest &b) { swap(a.validTxnList, b.validTxnList); } -GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other672) { - fullTableNames = other672.fullTableNames; - validTxnList = other672.validTxnList; +GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other678) { + fullTableNames = other678.fullTableNames; + validTxnList = other678.validTxnList; } -GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other673) { - fullTableNames = other673.fullTableNames; - validTxnList = other673.validTxnList; +GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other679) { + fullTableNames = other679.fullTableNames; + validTxnList = other679.validTxnList; return *this; } void GetValidWriteIdsRequest::printTo(std::ostream& out) const { @@ -16625,14 +16739,14 @@ uint32_t TableValidWriteIds::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->invalidWriteIds.clear(); - uint32_t _size674; - ::apache::thrift::protocol::TType _etype677; - xfer += iprot->readListBegin(_etype677, _size674); - this->invalidWriteIds.resize(_size674); - uint32_t _i678; - for (_i678 = 0; _i678 < _size674; ++_i678) + 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) { - xfer += iprot->readI64(this->invalidWriteIds[_i678]); + xfer += iprot->readI64(this->invalidWriteIds[_i684]); } xfer += iprot->readListEnd(); } @@ -16693,10 +16807,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 _iter679; - for (_iter679 = this->invalidWriteIds.begin(); _iter679 != this->invalidWriteIds.end(); ++_iter679) + std::vector ::const_iterator _iter685; + for (_iter685 = this->invalidWriteIds.begin(); _iter685 != this->invalidWriteIds.end(); ++_iter685) { - xfer += oprot->writeI64((*_iter679)); + xfer += oprot->writeI64((*_iter685)); } xfer += oprot->writeListEnd(); } @@ -16726,21 +16840,21 @@ void swap(TableValidWriteIds &a, TableValidWriteIds &b) { swap(a.__isset, b.__isset); } -TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other680) { - fullTableName = other680.fullTableName; - writeIdHighWaterMark = other680.writeIdHighWaterMark; - invalidWriteIds = other680.invalidWriteIds; - minOpenWriteId = other680.minOpenWriteId; - abortedBits = other680.abortedBits; - __isset = other680.__isset; -} -TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other681) { - fullTableName = other681.fullTableName; - writeIdHighWaterMark = other681.writeIdHighWaterMark; - invalidWriteIds = other681.invalidWriteIds; - minOpenWriteId = other681.minOpenWriteId; - abortedBits = other681.abortedBits; - __isset = other681.__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; return *this; } void TableValidWriteIds::printTo(std::ostream& out) const { @@ -16789,14 +16903,14 @@ uint32_t GetValidWriteIdsResponse::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblValidWriteIds.clear(); - uint32_t _size682; - ::apache::thrift::protocol::TType _etype685; - xfer += iprot->readListBegin(_etype685, _size682); - this->tblValidWriteIds.resize(_size682); - uint32_t _i686; - for (_i686 = 0; _i686 < _size682; ++_i686) + 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) { - xfer += this->tblValidWriteIds[_i686].read(iprot); + xfer += this->tblValidWriteIds[_i692].read(iprot); } xfer += iprot->readListEnd(); } @@ -16827,10 +16941,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 _iter687; - for (_iter687 = this->tblValidWriteIds.begin(); _iter687 != this->tblValidWriteIds.end(); ++_iter687) + std::vector ::const_iterator _iter693; + for (_iter693 = this->tblValidWriteIds.begin(); _iter693 != this->tblValidWriteIds.end(); ++_iter693) { - xfer += (*_iter687).write(oprot); + xfer += (*_iter693).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16846,11 +16960,11 @@ void swap(GetValidWriteIdsResponse &a, GetValidWriteIdsResponse &b) { swap(a.tblValidWriteIds, b.tblValidWriteIds); } -GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other688) { - tblValidWriteIds = other688.tblValidWriteIds; +GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other694) { + tblValidWriteIds = other694.tblValidWriteIds; } -GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other689) { - tblValidWriteIds = other689.tblValidWriteIds; +GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other695) { + tblValidWriteIds = other695.tblValidWriteIds; return *this; } void GetValidWriteIdsResponse::printTo(std::ostream& out) const { @@ -16905,14 +17019,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnIds.clear(); - uint32_t _size690; - ::apache::thrift::protocol::TType _etype693; - xfer += iprot->readListBegin(_etype693, _size690); - this->txnIds.resize(_size690); - uint32_t _i694; - for (_i694 = 0; _i694 < _size690; ++_i694) + 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) { - xfer += iprot->readI64(this->txnIds[_i694]); + xfer += iprot->readI64(this->txnIds[_i700]); } xfer += iprot->readListEnd(); } @@ -16963,10 +17077,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 _iter695; - for (_iter695 = this->txnIds.begin(); _iter695 != this->txnIds.end(); ++_iter695) + std::vector ::const_iterator _iter701; + for (_iter701 = this->txnIds.begin(); _iter701 != this->txnIds.end(); ++_iter701) { - xfer += oprot->writeI64((*_iter695)); + xfer += oprot->writeI64((*_iter701)); } xfer += oprot->writeListEnd(); } @@ -16992,15 +17106,15 @@ void swap(AllocateTableWriteIdsRequest &a, AllocateTableWriteIdsRequest &b) { swap(a.tableName, b.tableName); } -AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other696) { - txnIds = other696.txnIds; - dbName = other696.dbName; - tableName = other696.tableName; +AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other702) { + txnIds = other702.txnIds; + dbName = other702.dbName; + tableName = other702.tableName; } -AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other697) { - txnIds = other697.txnIds; - dbName = other697.dbName; - tableName = other697.tableName; +AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other703) { + txnIds = other703.txnIds; + dbName = other703.dbName; + tableName = other703.tableName; return *this; } void AllocateTableWriteIdsRequest::printTo(std::ostream& out) const { @@ -17104,13 +17218,13 @@ void swap(TxnToWriteId &a, TxnToWriteId &b) { swap(a.writeId, b.writeId); } -TxnToWriteId::TxnToWriteId(const TxnToWriteId& other698) { - txnId = other698.txnId; - writeId = other698.writeId; +TxnToWriteId::TxnToWriteId(const TxnToWriteId& other704) { + txnId = other704.txnId; + writeId = other704.writeId; } -TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other699) { - txnId = other699.txnId; - writeId = other699.writeId; +TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other705) { + txnId = other705.txnId; + writeId = other705.writeId; return *this; } void TxnToWriteId::printTo(std::ostream& out) const { @@ -17156,14 +17270,14 @@ uint32_t AllocateTableWriteIdsResponse::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnToWriteIds.clear(); - uint32_t _size700; - ::apache::thrift::protocol::TType _etype703; - xfer += iprot->readListBegin(_etype703, _size700); - this->txnToWriteIds.resize(_size700); - uint32_t _i704; - for (_i704 = 0; _i704 < _size700; ++_i704) + 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) { - xfer += this->txnToWriteIds[_i704].read(iprot); + xfer += this->txnToWriteIds[_i710].read(iprot); } xfer += iprot->readListEnd(); } @@ -17194,10 +17308,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 _iter705; - for (_iter705 = this->txnToWriteIds.begin(); _iter705 != this->txnToWriteIds.end(); ++_iter705) + std::vector ::const_iterator _iter711; + for (_iter711 = this->txnToWriteIds.begin(); _iter711 != this->txnToWriteIds.end(); ++_iter711) { - xfer += (*_iter705).write(oprot); + xfer += (*_iter711).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17213,11 +17327,11 @@ void swap(AllocateTableWriteIdsResponse &a, AllocateTableWriteIdsResponse &b) { swap(a.txnToWriteIds, b.txnToWriteIds); } -AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other706) { - txnToWriteIds = other706.txnToWriteIds; +AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other712) { + txnToWriteIds = other712.txnToWriteIds; } -AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other707) { - txnToWriteIds = other707.txnToWriteIds; +AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other713) { + txnToWriteIds = other713.txnToWriteIds; return *this; } void AllocateTableWriteIdsResponse::printTo(std::ostream& out) const { @@ -17295,9 +17409,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast708; - xfer += iprot->readI32(ecast708); - this->type = (LockType::type)ecast708; + int32_t ecast714; + xfer += iprot->readI32(ecast714); + this->type = (LockType::type)ecast714; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -17305,9 +17419,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast709; - xfer += iprot->readI32(ecast709); - this->level = (LockLevel::type)ecast709; + int32_t ecast715; + xfer += iprot->readI32(ecast715); + this->level = (LockLevel::type)ecast715; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -17339,9 +17453,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast710; - xfer += iprot->readI32(ecast710); - this->operationType = (DataOperationType::type)ecast710; + int32_t ecast716; + xfer += iprot->readI32(ecast716); + this->operationType = (DataOperationType::type)ecast716; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -17441,27 +17555,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other711) { - type = other711.type; - level = other711.level; - dbname = other711.dbname; - tablename = other711.tablename; - partitionname = other711.partitionname; - operationType = other711.operationType; - isTransactional = other711.isTransactional; - isDynamicPartitionWrite = other711.isDynamicPartitionWrite; - __isset = other711.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other712) { - type = other712.type; - level = other712.level; - dbname = other712.dbname; - tablename = other712.tablename; - partitionname = other712.partitionname; - operationType = other712.operationType; - isTransactional = other712.isTransactional; - isDynamicPartitionWrite = other712.isDynamicPartitionWrite; - __isset = other712.__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; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -17533,14 +17647,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size713; - ::apache::thrift::protocol::TType _etype716; - xfer += iprot->readListBegin(_etype716, _size713); - this->component.resize(_size713); - uint32_t _i717; - for (_i717 = 0; _i717 < _size713; ++_i717) + 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) { - xfer += this->component[_i717].read(iprot); + xfer += this->component[_i723].read(iprot); } xfer += iprot->readListEnd(); } @@ -17607,10 +17721,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 _iter718; - for (_iter718 = this->component.begin(); _iter718 != this->component.end(); ++_iter718) + std::vector ::const_iterator _iter724; + for (_iter724 = this->component.begin(); _iter724 != this->component.end(); ++_iter724) { - xfer += (*_iter718).write(oprot); + xfer += (*_iter724).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17649,21 +17763,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other719) { - component = other719.component; - txnid = other719.txnid; - user = other719.user; - hostname = other719.hostname; - agentInfo = other719.agentInfo; - __isset = other719.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other720) { - component = other720.component; - txnid = other720.txnid; - user = other720.user; - hostname = other720.hostname; - agentInfo = other720.agentInfo; - __isset = other720.__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; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -17723,9 +17837,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast721; - xfer += iprot->readI32(ecast721); - this->state = (LockState::type)ecast721; + int32_t ecast727; + xfer += iprot->readI32(ecast727); + this->state = (LockState::type)ecast727; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -17771,13 +17885,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other722) { - lockid = other722.lockid; - state = other722.state; +LockResponse::LockResponse(const LockResponse& other728) { + lockid = other728.lockid; + state = other728.state; } -LockResponse& LockResponse::operator=(const LockResponse& other723) { - lockid = other723.lockid; - state = other723.state; +LockResponse& LockResponse::operator=(const LockResponse& other729) { + lockid = other729.lockid; + state = other729.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -17899,17 +18013,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other724) { - lockid = other724.lockid; - txnid = other724.txnid; - elapsed_ms = other724.elapsed_ms; - __isset = other724.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other730) { + lockid = other730.lockid; + txnid = other730.txnid; + elapsed_ms = other730.elapsed_ms; + __isset = other730.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other725) { - lockid = other725.lockid; - txnid = other725.txnid; - elapsed_ms = other725.elapsed_ms; - __isset = other725.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other731) { + lockid = other731.lockid; + txnid = other731.txnid; + elapsed_ms = other731.elapsed_ms; + __isset = other731.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -17993,11 +18107,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other726) { - lockid = other726.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other732) { + lockid = other732.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other727) { - lockid = other727.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other733) { + lockid = other733.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -18136,19 +18250,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other728) { - dbname = other728.dbname; - tablename = other728.tablename; - partname = other728.partname; - isExtended = other728.isExtended; - __isset = other728.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other734) { + dbname = other734.dbname; + tablename = other734.tablename; + partname = other734.partname; + isExtended = other734.isExtended; + __isset = other734.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other729) { - dbname = other729.dbname; - tablename = other729.tablename; - partname = other729.partname; - isExtended = other729.isExtended; - __isset = other729.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other735) { + dbname = other735.dbname; + tablename = other735.tablename; + partname = other735.partname; + isExtended = other735.isExtended; + __isset = other735.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -18301,9 +18415,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast730; - xfer += iprot->readI32(ecast730); - this->state = (LockState::type)ecast730; + int32_t ecast736; + xfer += iprot->readI32(ecast736); + this->state = (LockState::type)ecast736; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -18311,9 +18425,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast731; - xfer += iprot->readI32(ecast731); - this->type = (LockType::type)ecast731; + int32_t ecast737; + xfer += iprot->readI32(ecast737); + this->type = (LockType::type)ecast737; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -18529,43 +18643,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other732) { - lockid = other732.lockid; - dbname = other732.dbname; - tablename = other732.tablename; - partname = other732.partname; - state = other732.state; - type = other732.type; - txnid = other732.txnid; - lastheartbeat = other732.lastheartbeat; - acquiredat = other732.acquiredat; - user = other732.user; - hostname = other732.hostname; - heartbeatCount = other732.heartbeatCount; - agentInfo = other732.agentInfo; - blockedByExtId = other732.blockedByExtId; - blockedByIntId = other732.blockedByIntId; - lockIdInternal = other732.lockIdInternal; - __isset = other732.__isset; -} -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other733) { - lockid = other733.lockid; - dbname = other733.dbname; - tablename = other733.tablename; - partname = other733.partname; - state = other733.state; - type = other733.type; - txnid = other733.txnid; - lastheartbeat = other733.lastheartbeat; - acquiredat = other733.acquiredat; - user = other733.user; - hostname = other733.hostname; - heartbeatCount = other733.heartbeatCount; - agentInfo = other733.agentInfo; - blockedByExtId = other733.blockedByExtId; - blockedByIntId = other733.blockedByIntId; - lockIdInternal = other733.lockIdInternal; - __isset = other733.__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::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; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -18624,14 +18738,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size734; - ::apache::thrift::protocol::TType _etype737; - xfer += iprot->readListBegin(_etype737, _size734); - this->locks.resize(_size734); - uint32_t _i738; - for (_i738 = 0; _i738 < _size734; ++_i738) + 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) { - xfer += this->locks[_i738].read(iprot); + xfer += this->locks[_i744].read(iprot); } xfer += iprot->readListEnd(); } @@ -18660,10 +18774,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 _iter739; - for (_iter739 = this->locks.begin(); _iter739 != this->locks.end(); ++_iter739) + std::vector ::const_iterator _iter745; + for (_iter745 = this->locks.begin(); _iter745 != this->locks.end(); ++_iter745) { - xfer += (*_iter739).write(oprot); + xfer += (*_iter745).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18680,13 +18794,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other740) { - locks = other740.locks; - __isset = other740.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other746) { + locks = other746.locks; + __isset = other746.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other741) { - locks = other741.locks; - __isset = other741.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other747) { + locks = other747.locks; + __isset = other747.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -18787,15 +18901,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other742) { - lockid = other742.lockid; - txnid = other742.txnid; - __isset = other742.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other748) { + lockid = other748.lockid; + txnid = other748.txnid; + __isset = other748.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other743) { - lockid = other743.lockid; - txnid = other743.txnid; - __isset = other743.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other749) { + lockid = other749.lockid; + txnid = other749.txnid; + __isset = other749.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -18898,13 +19012,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other744) { - min = other744.min; - max = other744.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other750) { + min = other750.min; + max = other750.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other745) { - min = other745.min; - max = other745.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other751) { + min = other751.min; + max = other751.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -18955,15 +19069,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size746; - ::apache::thrift::protocol::TType _etype749; - xfer += iprot->readSetBegin(_etype749, _size746); - uint32_t _i750; - for (_i750 = 0; _i750 < _size746; ++_i750) + uint32_t _size752; + ::apache::thrift::protocol::TType _etype755; + xfer += iprot->readSetBegin(_etype755, _size752); + uint32_t _i756; + for (_i756 = 0; _i756 < _size752; ++_i756) { - int64_t _elem751; - xfer += iprot->readI64(_elem751); - this->aborted.insert(_elem751); + int64_t _elem757; + xfer += iprot->readI64(_elem757); + this->aborted.insert(_elem757); } xfer += iprot->readSetEnd(); } @@ -18976,15 +19090,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.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 _size758; + ::apache::thrift::protocol::TType _etype761; + xfer += iprot->readSetBegin(_etype761, _size758); + uint32_t _i762; + for (_i762 = 0; _i762 < _size758; ++_i762) { - int64_t _elem757; - xfer += iprot->readI64(_elem757); - this->nosuch.insert(_elem757); + int64_t _elem763; + xfer += iprot->readI64(_elem763); + this->nosuch.insert(_elem763); } xfer += iprot->readSetEnd(); } @@ -19017,10 +19131,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 _iter758; - for (_iter758 = this->aborted.begin(); _iter758 != this->aborted.end(); ++_iter758) + std::set ::const_iterator _iter764; + for (_iter764 = this->aborted.begin(); _iter764 != this->aborted.end(); ++_iter764) { - xfer += oprot->writeI64((*_iter758)); + xfer += oprot->writeI64((*_iter764)); } xfer += oprot->writeSetEnd(); } @@ -19029,10 +19143,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 _iter759; - for (_iter759 = this->nosuch.begin(); _iter759 != this->nosuch.end(); ++_iter759) + std::set ::const_iterator _iter765; + for (_iter765 = this->nosuch.begin(); _iter765 != this->nosuch.end(); ++_iter765) { - xfer += oprot->writeI64((*_iter759)); + xfer += oprot->writeI64((*_iter765)); } xfer += oprot->writeSetEnd(); } @@ -19049,13 +19163,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other760) { - aborted = other760.aborted; - nosuch = other760.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other766) { + aborted = other766.aborted; + nosuch = other766.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other761) { - aborted = other761.aborted; - nosuch = other761.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other767) { + aborted = other767.aborted; + nosuch = other767.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -19148,9 +19262,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast762; - xfer += iprot->readI32(ecast762); - this->type = (CompactionType::type)ecast762; + int32_t ecast768; + xfer += iprot->readI32(ecast768); + this->type = (CompactionType::type)ecast768; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -19168,17 +19282,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size763; - ::apache::thrift::protocol::TType _ktype764; - ::apache::thrift::protocol::TType _vtype765; - xfer += iprot->readMapBegin(_ktype764, _vtype765, _size763); - uint32_t _i767; - for (_i767 = 0; _i767 < _size763; ++_i767) + 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) { - std::string _key768; - xfer += iprot->readString(_key768); - std::string& _val769 = this->properties[_key768]; - xfer += iprot->readString(_val769); + std::string _key774; + xfer += iprot->readString(_key774); + std::string& _val775 = this->properties[_key774]; + xfer += iprot->readString(_val775); } xfer += iprot->readMapEnd(); } @@ -19236,11 +19350,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 _iter770; - for (_iter770 = this->properties.begin(); _iter770 != this->properties.end(); ++_iter770) + std::map ::const_iterator _iter776; + for (_iter776 = this->properties.begin(); _iter776 != this->properties.end(); ++_iter776) { - xfer += oprot->writeString(_iter770->first); - xfer += oprot->writeString(_iter770->second); + xfer += oprot->writeString(_iter776->first); + xfer += oprot->writeString(_iter776->second); } xfer += oprot->writeMapEnd(); } @@ -19262,23 +19376,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other771) { - dbname = other771.dbname; - tablename = other771.tablename; - partitionname = other771.partitionname; - type = other771.type; - runas = other771.runas; - properties = other771.properties; - __isset = other771.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other772) { - dbname = other772.dbname; - tablename = other772.tablename; - partitionname = other772.partitionname; - type = other772.type; - runas = other772.runas; - properties = other772.properties; - __isset = other772.__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; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -19405,15 +19519,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other773) { - id = other773.id; - state = other773.state; - accepted = other773.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other779) { + id = other779.id; + state = other779.state; + accepted = other779.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other774) { - id = other774.id; - state = other774.state; - accepted = other774.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other780) { + id = other780.id; + state = other780.state; + accepted = other780.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -19474,11 +19588,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other775) { - (void) other775; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other781) { + (void) other781; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other776) { - (void) other776; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other782) { + (void) other782; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -19604,9 +19718,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast777; - xfer += iprot->readI32(ecast777); - this->type = (CompactionType::type)ecast777; + int32_t ecast783; + xfer += iprot->readI32(ecast783); + this->type = (CompactionType::type)ecast783; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -19793,37 +19907,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other778) { - dbname = other778.dbname; - tablename = other778.tablename; - partitionname = other778.partitionname; - type = other778.type; - state = other778.state; - workerid = other778.workerid; - start = other778.start; - runAs = other778.runAs; - hightestTxnId = other778.hightestTxnId; - metaInfo = other778.metaInfo; - endTime = other778.endTime; - hadoopJobId = other778.hadoopJobId; - id = other778.id; - __isset = other778.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other779) { - dbname = other779.dbname; - tablename = other779.tablename; - partitionname = other779.partitionname; - type = other779.type; - state = other779.state; - workerid = other779.workerid; - start = other779.start; - runAs = other779.runAs; - hightestTxnId = other779.hightestTxnId; - metaInfo = other779.metaInfo; - endTime = other779.endTime; - hadoopJobId = other779.hadoopJobId; - id = other779.id; - __isset = other779.__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; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -19880,14 +19994,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size780; - ::apache::thrift::protocol::TType _etype783; - xfer += iprot->readListBegin(_etype783, _size780); - this->compacts.resize(_size780); - uint32_t _i784; - for (_i784 = 0; _i784 < _size780; ++_i784) + 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) { - xfer += this->compacts[_i784].read(iprot); + xfer += this->compacts[_i790].read(iprot); } xfer += iprot->readListEnd(); } @@ -19918,10 +20032,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 _iter785; - for (_iter785 = this->compacts.begin(); _iter785 != this->compacts.end(); ++_iter785) + std::vector ::const_iterator _iter791; + for (_iter791 = this->compacts.begin(); _iter791 != this->compacts.end(); ++_iter791) { - xfer += (*_iter785).write(oprot); + xfer += (*_iter791).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19937,11 +20051,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other786) { - compacts = other786.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other792) { + compacts = other792.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other787) { - compacts = other787.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other793) { + compacts = other793.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -20043,14 +20157,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size788; - ::apache::thrift::protocol::TType _etype791; - xfer += iprot->readListBegin(_etype791, _size788); - this->partitionnames.resize(_size788); - uint32_t _i792; - for (_i792 = 0; _i792 < _size788; ++_i792) + 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) { - xfer += iprot->readString(this->partitionnames[_i792]); + xfer += iprot->readString(this->partitionnames[_i798]); } xfer += iprot->readListEnd(); } @@ -20061,9 +20175,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast793; - xfer += iprot->readI32(ecast793); - this->operationType = (DataOperationType::type)ecast793; + int32_t ecast799; + xfer += iprot->readI32(ecast799); + this->operationType = (DataOperationType::type)ecast799; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -20115,10 +20229,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 _iter794; - for (_iter794 = this->partitionnames.begin(); _iter794 != this->partitionnames.end(); ++_iter794) + std::vector ::const_iterator _iter800; + for (_iter800 = this->partitionnames.begin(); _iter800 != this->partitionnames.end(); ++_iter800) { - xfer += oprot->writeString((*_iter794)); + xfer += oprot->writeString((*_iter800)); } xfer += oprot->writeListEnd(); } @@ -20145,23 +20259,23 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other795) { - txnid = other795.txnid; - writeid = other795.writeid; - dbname = other795.dbname; - tablename = other795.tablename; - partitionnames = other795.partitionnames; - operationType = other795.operationType; - __isset = other795.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other796) { - txnid = other796.txnid; - writeid = other796.writeid; - dbname = other796.dbname; - tablename = other796.tablename; - partitionnames = other796.partitionnames; - operationType = other796.operationType; - __isset = other796.__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; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -20344,23 +20458,23 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other797) { - isnull = other797.isnull; - time = other797.time; - txnid = other797.txnid; - dbname = other797.dbname; - tablename = other797.tablename; - partitionname = other797.partitionname; - __isset = other797.__isset; -} -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other798) { - isnull = other798.isnull; - time = other798.time; - txnid = other798.txnid; - dbname = other798.dbname; - tablename = other798.tablename; - partitionname = other798.partitionname; - __isset = other798.__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; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { @@ -20454,15 +20568,15 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size799; - ::apache::thrift::protocol::TType _etype802; - xfer += iprot->readSetBegin(_etype802, _size799); - uint32_t _i803; - for (_i803 = 0; _i803 < _size799; ++_i803) + uint32_t _size805; + ::apache::thrift::protocol::TType _etype808; + xfer += iprot->readSetBegin(_etype808, _size805); + uint32_t _i809; + for (_i809 = 0; _i809 < _size805; ++_i809) { - std::string _elem804; - xfer += iprot->readString(_elem804); - this->tablesUsed.insert(_elem804); + std::string _elem810; + xfer += iprot->readString(_elem810); + this->tablesUsed.insert(_elem810); } xfer += iprot->readSetEnd(); } @@ -20519,10 +20633,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 _iter805; - for (_iter805 = this->tablesUsed.begin(); _iter805 != this->tablesUsed.end(); ++_iter805) + std::set ::const_iterator _iter811; + for (_iter811 = this->tablesUsed.begin(); _iter811 != this->tablesUsed.end(); ++_iter811) { - xfer += oprot->writeString((*_iter805)); + xfer += oprot->writeString((*_iter811)); } xfer += oprot->writeSetEnd(); } @@ -20548,21 +20662,21 @@ void swap(CreationMetadata &a, CreationMetadata &b) { swap(a.__isset, b.__isset); } -CreationMetadata::CreationMetadata(const CreationMetadata& other806) { - catName = other806.catName; - dbName = other806.dbName; - tblName = other806.tblName; - tablesUsed = other806.tablesUsed; - validTxnList = other806.validTxnList; - __isset = other806.__isset; -} -CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other807) { - catName = other807.catName; - dbName = other807.dbName; - tblName = other807.tblName; - tablesUsed = other807.tablesUsed; - validTxnList = other807.validTxnList; - __isset = other807.__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; return *this; } void CreationMetadata::printTo(std::ostream& out) const { @@ -20668,15 +20782,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other808) { - lastEvent = other808.lastEvent; - maxEvents = other808.maxEvents; - __isset = other808.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other814) { + lastEvent = other814.lastEvent; + maxEvents = other814.maxEvents; + __isset = other814.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other809) { - lastEvent = other809.lastEvent; - maxEvents = other809.maxEvents; - __isset = other809.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other815) { + lastEvent = other815.lastEvent; + maxEvents = other815.maxEvents; + __isset = other815.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -20896,27 +21010,27 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other810) { - eventId = other810.eventId; - eventTime = other810.eventTime; - eventType = other810.eventType; - dbName = other810.dbName; - tableName = other810.tableName; - message = other810.message; - messageFormat = other810.messageFormat; - catName = other810.catName; - __isset = other810.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other811) { - eventId = other811.eventId; - eventTime = other811.eventTime; - eventType = other811.eventType; - dbName = other811.dbName; - tableName = other811.tableName; - message = other811.message; - messageFormat = other811.messageFormat; - catName = other811.catName; - __isset = other811.__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; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -20968,14 +21082,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size812; - ::apache::thrift::protocol::TType _etype815; - xfer += iprot->readListBegin(_etype815, _size812); - this->events.resize(_size812); - uint32_t _i816; - for (_i816 = 0; _i816 < _size812; ++_i816) + 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) { - xfer += this->events[_i816].read(iprot); + xfer += this->events[_i822].read(iprot); } xfer += iprot->readListEnd(); } @@ -21006,10 +21120,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 _iter817; - for (_iter817 = this->events.begin(); _iter817 != this->events.end(); ++_iter817) + std::vector ::const_iterator _iter823; + for (_iter823 = this->events.begin(); _iter823 != this->events.end(); ++_iter823) { - xfer += (*_iter817).write(oprot); + xfer += (*_iter823).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21025,11 +21139,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other818) { - events = other818.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other824) { + events = other824.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other819) { - events = other819.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other825) { + events = other825.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -21111,11 +21225,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other820) { - eventId = other820.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other826) { + eventId = other826.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other821) { - eventId = other821.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other827) { + eventId = other827.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -21237,17 +21351,17 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.__isset, b.__isset); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other822) { - fromEventId = other822.fromEventId; - dbName = other822.dbName; - catName = other822.catName; - __isset = other822.__isset; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other828) { + fromEventId = other828.fromEventId; + dbName = other828.dbName; + catName = other828.catName; + __isset = other828.__isset; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other823) { - fromEventId = other823.fromEventId; - dbName = other823.dbName; - catName = other823.catName; - __isset = other823.__isset; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other829) { + fromEventId = other829.fromEventId; + dbName = other829.dbName; + catName = other829.catName; + __isset = other829.__isset; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -21331,11 +21445,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other824) { - eventsCount = other824.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other830) { + eventsCount = other830.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other825) { - eventsCount = other825.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other831) { + eventsCount = other831.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -21398,14 +21512,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size826; - ::apache::thrift::protocol::TType _etype829; - xfer += iprot->readListBegin(_etype829, _size826); - this->filesAdded.resize(_size826); - uint32_t _i830; - for (_i830 = 0; _i830 < _size826; ++_i830) + 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) { - xfer += iprot->readString(this->filesAdded[_i830]); + xfer += iprot->readString(this->filesAdded[_i836]); } xfer += iprot->readListEnd(); } @@ -21418,14 +21532,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size831; - ::apache::thrift::protocol::TType _etype834; - xfer += iprot->readListBegin(_etype834, _size831); - this->filesAddedChecksum.resize(_size831); - uint32_t _i835; - for (_i835 = 0; _i835 < _size831; ++_i835) + 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) { - xfer += iprot->readString(this->filesAddedChecksum[_i835]); + xfer += iprot->readString(this->filesAddedChecksum[_i841]); } xfer += iprot->readListEnd(); } @@ -21461,10 +21575,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 _iter836; - for (_iter836 = this->filesAdded.begin(); _iter836 != this->filesAdded.end(); ++_iter836) + std::vector ::const_iterator _iter842; + for (_iter842 = this->filesAdded.begin(); _iter842 != this->filesAdded.end(); ++_iter842) { - xfer += oprot->writeString((*_iter836)); + xfer += oprot->writeString((*_iter842)); } xfer += oprot->writeListEnd(); } @@ -21474,10 +21588,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 _iter837; - for (_iter837 = this->filesAddedChecksum.begin(); _iter837 != this->filesAddedChecksum.end(); ++_iter837) + std::vector ::const_iterator _iter843; + for (_iter843 = this->filesAddedChecksum.begin(); _iter843 != this->filesAddedChecksum.end(); ++_iter843) { - xfer += oprot->writeString((*_iter837)); + xfer += oprot->writeString((*_iter843)); } xfer += oprot->writeListEnd(); } @@ -21496,17 +21610,17 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other838) { - replace = other838.replace; - filesAdded = other838.filesAdded; - filesAddedChecksum = other838.filesAddedChecksum; - __isset = other838.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other844) { + replace = other844.replace; + filesAdded = other844.filesAdded; + filesAddedChecksum = other844.filesAddedChecksum; + __isset = other844.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other839) { - replace = other839.replace; - filesAdded = other839.filesAdded; - filesAddedChecksum = other839.filesAddedChecksum; - __isset = other839.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other845) { + replace = other845.replace; + filesAdded = other845.filesAdded; + filesAddedChecksum = other845.filesAddedChecksum; + __isset = other845.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -21588,13 +21702,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other840) { - insertData = other840.insertData; - __isset = other840.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other846) { + insertData = other846.insertData; + __isset = other846.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other841) { - insertData = other841.insertData; - __isset = other841.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other847) { + insertData = other847.insertData; + __isset = other847.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -21696,14 +21810,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size842; - ::apache::thrift::protocol::TType _etype845; - xfer += iprot->readListBegin(_etype845, _size842); - this->partitionVals.resize(_size842); - uint32_t _i846; - for (_i846 = 0; _i846 < _size842; ++_i846) + 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) { - xfer += iprot->readString(this->partitionVals[_i846]); + xfer += iprot->readString(this->partitionVals[_i852]); } xfer += iprot->readListEnd(); } @@ -21763,10 +21877,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 _iter847; - for (_iter847 = this->partitionVals.begin(); _iter847 != this->partitionVals.end(); ++_iter847) + std::vector ::const_iterator _iter853; + for (_iter853 = this->partitionVals.begin(); _iter853 != this->partitionVals.end(); ++_iter853) { - xfer += oprot->writeString((*_iter847)); + xfer += oprot->writeString((*_iter853)); } xfer += oprot->writeListEnd(); } @@ -21793,23 +21907,23 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other848) { - successful = other848.successful; - data = other848.data; - dbName = other848.dbName; - tableName = other848.tableName; - partitionVals = other848.partitionVals; - catName = other848.catName; - __isset = other848.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other849) { - successful = other849.successful; - data = other849.data; - dbName = other849.dbName; - tableName = other849.tableName; - partitionVals = other849.partitionVals; - catName = other849.catName; - __isset = other849.__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; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -21873,11 +21987,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other850) { - (void) other850; +FireEventResponse::FireEventResponse(const FireEventResponse& other856) { + (void) other856; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other851) { - (void) other851; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other857) { + (void) other857; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -21977,15 +22091,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other852) { - metadata = other852.metadata; - includeBitset = other852.includeBitset; - __isset = other852.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other858) { + metadata = other858.metadata; + includeBitset = other858.includeBitset; + __isset = other858.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other853) { - metadata = other853.metadata; - includeBitset = other853.includeBitset; - __isset = other853.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other859) { + metadata = other859.metadata; + includeBitset = other859.includeBitset; + __isset = other859.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -22036,17 +22150,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size854; - ::apache::thrift::protocol::TType _ktype855; - ::apache::thrift::protocol::TType _vtype856; - xfer += iprot->readMapBegin(_ktype855, _vtype856, _size854); - uint32_t _i858; - for (_i858 = 0; _i858 < _size854; ++_i858) + 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) { - int64_t _key859; - xfer += iprot->readI64(_key859); - MetadataPpdResult& _val860 = this->metadata[_key859]; - xfer += _val860.read(iprot); + int64_t _key865; + xfer += iprot->readI64(_key865); + MetadataPpdResult& _val866 = this->metadata[_key865]; + xfer += _val866.read(iprot); } xfer += iprot->readMapEnd(); } @@ -22087,11 +22201,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 _iter861; - for (_iter861 = this->metadata.begin(); _iter861 != this->metadata.end(); ++_iter861) + std::map ::const_iterator _iter867; + for (_iter867 = this->metadata.begin(); _iter867 != this->metadata.end(); ++_iter867) { - xfer += oprot->writeI64(_iter861->first); - xfer += _iter861->second.write(oprot); + xfer += oprot->writeI64(_iter867->first); + xfer += _iter867->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -22112,13 +22226,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other862) { - metadata = other862.metadata; - isSupported = other862.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other868) { + metadata = other868.metadata; + isSupported = other868.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other863) { - metadata = other863.metadata; - isSupported = other863.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other869) { + metadata = other869.metadata; + isSupported = other869.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -22179,14 +22293,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size864; - ::apache::thrift::protocol::TType _etype867; - xfer += iprot->readListBegin(_etype867, _size864); - this->fileIds.resize(_size864); - uint32_t _i868; - for (_i868 = 0; _i868 < _size864; ++_i868) + 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) { - xfer += iprot->readI64(this->fileIds[_i868]); + xfer += iprot->readI64(this->fileIds[_i874]); } xfer += iprot->readListEnd(); } @@ -22213,9 +22327,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast869; - xfer += iprot->readI32(ecast869); - this->type = (FileMetadataExprType::type)ecast869; + int32_t ecast875; + xfer += iprot->readI32(ecast875); + this->type = (FileMetadataExprType::type)ecast875; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -22245,10 +22359,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 _iter870; - for (_iter870 = this->fileIds.begin(); _iter870 != this->fileIds.end(); ++_iter870) + std::vector ::const_iterator _iter876; + for (_iter876 = this->fileIds.begin(); _iter876 != this->fileIds.end(); ++_iter876) { - xfer += oprot->writeI64((*_iter870)); + xfer += oprot->writeI64((*_iter876)); } xfer += oprot->writeListEnd(); } @@ -22282,19 +22396,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other871) { - fileIds = other871.fileIds; - expr = other871.expr; - doGetFooters = other871.doGetFooters; - type = other871.type; - __isset = other871.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other877) { + fileIds = other877.fileIds; + expr = other877.expr; + doGetFooters = other877.doGetFooters; + type = other877.type; + __isset = other877.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other872) { - fileIds = other872.fileIds; - expr = other872.expr; - doGetFooters = other872.doGetFooters; - type = other872.type; - __isset = other872.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other878) { + fileIds = other878.fileIds; + expr = other878.expr; + doGetFooters = other878.doGetFooters; + type = other878.type; + __isset = other878.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -22347,17 +22461,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size873; - ::apache::thrift::protocol::TType _ktype874; - ::apache::thrift::protocol::TType _vtype875; - xfer += iprot->readMapBegin(_ktype874, _vtype875, _size873); - uint32_t _i877; - for (_i877 = 0; _i877 < _size873; ++_i877) + 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) { - int64_t _key878; - xfer += iprot->readI64(_key878); - std::string& _val879 = this->metadata[_key878]; - xfer += iprot->readBinary(_val879); + int64_t _key884; + xfer += iprot->readI64(_key884); + std::string& _val885 = this->metadata[_key884]; + xfer += iprot->readBinary(_val885); } xfer += iprot->readMapEnd(); } @@ -22398,11 +22512,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 _iter880; - for (_iter880 = this->metadata.begin(); _iter880 != this->metadata.end(); ++_iter880) + std::map ::const_iterator _iter886; + for (_iter886 = this->metadata.begin(); _iter886 != this->metadata.end(); ++_iter886) { - xfer += oprot->writeI64(_iter880->first); - xfer += oprot->writeBinary(_iter880->second); + xfer += oprot->writeI64(_iter886->first); + xfer += oprot->writeBinary(_iter886->second); } xfer += oprot->writeMapEnd(); } @@ -22423,13 +22537,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other881) { - metadata = other881.metadata; - isSupported = other881.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other887) { + metadata = other887.metadata; + isSupported = other887.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other882) { - metadata = other882.metadata; - isSupported = other882.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other888) { + metadata = other888.metadata; + isSupported = other888.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -22475,14 +22589,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size883; - ::apache::thrift::protocol::TType _etype886; - xfer += iprot->readListBegin(_etype886, _size883); - this->fileIds.resize(_size883); - uint32_t _i887; - for (_i887 = 0; _i887 < _size883; ++_i887) + 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) { - xfer += iprot->readI64(this->fileIds[_i887]); + xfer += iprot->readI64(this->fileIds[_i893]); } xfer += iprot->readListEnd(); } @@ -22513,10 +22627,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 _iter888; - for (_iter888 = this->fileIds.begin(); _iter888 != this->fileIds.end(); ++_iter888) + std::vector ::const_iterator _iter894; + for (_iter894 = this->fileIds.begin(); _iter894 != this->fileIds.end(); ++_iter894) { - xfer += oprot->writeI64((*_iter888)); + xfer += oprot->writeI64((*_iter894)); } xfer += oprot->writeListEnd(); } @@ -22532,11 +22646,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other889) { - fileIds = other889.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other895) { + fileIds = other895.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other890) { - fileIds = other890.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other896) { + fileIds = other896.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -22595,11 +22709,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other891) { - (void) other891; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other897) { + (void) other897; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other892) { - (void) other892; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other898) { + (void) other898; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -22653,14 +22767,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size893; - ::apache::thrift::protocol::TType _etype896; - xfer += iprot->readListBegin(_etype896, _size893); - this->fileIds.resize(_size893); - uint32_t _i897; - for (_i897 = 0; _i897 < _size893; ++_i897) + 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) { - xfer += iprot->readI64(this->fileIds[_i897]); + xfer += iprot->readI64(this->fileIds[_i903]); } xfer += iprot->readListEnd(); } @@ -22673,14 +22787,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size898; - ::apache::thrift::protocol::TType _etype901; - xfer += iprot->readListBegin(_etype901, _size898); - this->metadata.resize(_size898); - uint32_t _i902; - for (_i902 = 0; _i902 < _size898; ++_i902) + 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) { - xfer += iprot->readBinary(this->metadata[_i902]); + xfer += iprot->readBinary(this->metadata[_i908]); } xfer += iprot->readListEnd(); } @@ -22691,9 +22805,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast903; - xfer += iprot->readI32(ecast903); - this->type = (FileMetadataExprType::type)ecast903; + int32_t ecast909; + xfer += iprot->readI32(ecast909); + this->type = (FileMetadataExprType::type)ecast909; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -22723,10 +22837,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 _iter904; - for (_iter904 = this->fileIds.begin(); _iter904 != this->fileIds.end(); ++_iter904) + std::vector ::const_iterator _iter910; + for (_iter910 = this->fileIds.begin(); _iter910 != this->fileIds.end(); ++_iter910) { - xfer += oprot->writeI64((*_iter904)); + xfer += oprot->writeI64((*_iter910)); } xfer += oprot->writeListEnd(); } @@ -22735,10 +22849,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 _iter905; - for (_iter905 = this->metadata.begin(); _iter905 != this->metadata.end(); ++_iter905) + std::vector ::const_iterator _iter911; + for (_iter911 = this->metadata.begin(); _iter911 != this->metadata.end(); ++_iter911) { - xfer += oprot->writeBinary((*_iter905)); + xfer += oprot->writeBinary((*_iter911)); } xfer += oprot->writeListEnd(); } @@ -22762,17 +22876,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other906) { - fileIds = other906.fileIds; - metadata = other906.metadata; - type = other906.type; - __isset = other906.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other912) { + fileIds = other912.fileIds; + metadata = other912.metadata; + type = other912.type; + __isset = other912.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other907) { - fileIds = other907.fileIds; - metadata = other907.metadata; - type = other907.type; - __isset = other907.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other913) { + fileIds = other913.fileIds; + metadata = other913.metadata; + type = other913.type; + __isset = other913.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -22833,11 +22947,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other908) { - (void) other908; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other914) { + (void) other914; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other909) { - (void) other909; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other915) { + (void) other915; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -22881,14 +22995,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size910; - ::apache::thrift::protocol::TType _etype913; - xfer += iprot->readListBegin(_etype913, _size910); - this->fileIds.resize(_size910); - uint32_t _i914; - for (_i914 = 0; _i914 < _size910; ++_i914) + 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) { - xfer += iprot->readI64(this->fileIds[_i914]); + xfer += iprot->readI64(this->fileIds[_i920]); } xfer += iprot->readListEnd(); } @@ -22919,10 +23033,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 _iter915; - for (_iter915 = this->fileIds.begin(); _iter915 != this->fileIds.end(); ++_iter915) + std::vector ::const_iterator _iter921; + for (_iter921 = this->fileIds.begin(); _iter921 != this->fileIds.end(); ++_iter921) { - xfer += oprot->writeI64((*_iter915)); + xfer += oprot->writeI64((*_iter921)); } xfer += oprot->writeListEnd(); } @@ -22938,11 +23052,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other916) { - fileIds = other916.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other922) { + fileIds = other922.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other917) { - fileIds = other917.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other923) { + fileIds = other923.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -23024,11 +23138,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other918) { - isSupported = other918.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other924) { + isSupported = other924.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other919) { - isSupported = other919.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other925) { + isSupported = other925.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -23169,19 +23283,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other920) { - dbName = other920.dbName; - tblName = other920.tblName; - partName = other920.partName; - isAllParts = other920.isAllParts; - __isset = other920.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other926) { + dbName = other926.dbName; + tblName = other926.tblName; + partName = other926.partName; + isAllParts = other926.isAllParts; + __isset = other926.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other921) { - dbName = other921.dbName; - tblName = other921.tblName; - partName = other921.partName; - isAllParts = other921.isAllParts; - __isset = other921.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other927) { + dbName = other927.dbName; + tblName = other927.tblName; + partName = other927.partName; + isAllParts = other927.isAllParts; + __isset = other927.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -23229,14 +23343,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size922; - ::apache::thrift::protocol::TType _etype925; - xfer += iprot->readListBegin(_etype925, _size922); - this->functions.resize(_size922); - uint32_t _i926; - for (_i926 = 0; _i926 < _size922; ++_i926) + 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) { - xfer += this->functions[_i926].read(iprot); + xfer += this->functions[_i932].read(iprot); } xfer += iprot->readListEnd(); } @@ -23266,10 +23380,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 _iter927; - for (_iter927 = this->functions.begin(); _iter927 != this->functions.end(); ++_iter927) + std::vector ::const_iterator _iter933; + for (_iter933 = this->functions.begin(); _iter933 != this->functions.end(); ++_iter933) { - xfer += (*_iter927).write(oprot); + xfer += (*_iter933).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23286,13 +23400,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other928) { - functions = other928.functions; - __isset = other928.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other934) { + functions = other934.functions; + __isset = other934.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other929) { - functions = other929.functions; - __isset = other929.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other935) { + functions = other935.functions; + __isset = other935.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -23337,16 +23451,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size930; - ::apache::thrift::protocol::TType _etype933; - xfer += iprot->readListBegin(_etype933, _size930); - this->values.resize(_size930); - uint32_t _i934; - for (_i934 = 0; _i934 < _size930; ++_i934) + 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) { - int32_t ecast935; - xfer += iprot->readI32(ecast935); - this->values[_i934] = (ClientCapability::type)ecast935; + int32_t ecast941; + xfer += iprot->readI32(ecast941); + this->values[_i940] = (ClientCapability::type)ecast941; } xfer += iprot->readListEnd(); } @@ -23377,10 +23491,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 _iter936; - for (_iter936 = this->values.begin(); _iter936 != this->values.end(); ++_iter936) + std::vector ::const_iterator _iter942; + for (_iter942 = this->values.begin(); _iter942 != this->values.end(); ++_iter942) { - xfer += oprot->writeI32((int32_t)(*_iter936)); + xfer += oprot->writeI32((int32_t)(*_iter942)); } xfer += oprot->writeListEnd(); } @@ -23396,11 +23510,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other937) { - values = other937.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other943) { + values = other943.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other938) { - values = other938.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other944) { + values = other944.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -23541,19 +23655,19 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other939) { - dbName = other939.dbName; - tblName = other939.tblName; - capabilities = other939.capabilities; - catName = other939.catName; - __isset = other939.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other945) { + dbName = other945.dbName; + tblName = other945.tblName; + capabilities = other945.capabilities; + catName = other945.catName; + __isset = other945.__isset; } -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other940) { - dbName = other940.dbName; - tblName = other940.tblName; - capabilities = other940.capabilities; - catName = other940.catName; - __isset = other940.__isset; +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other946) { + dbName = other946.dbName; + tblName = other946.tblName; + capabilities = other946.capabilities; + catName = other946.catName; + __isset = other946.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -23638,11 +23752,11 @@ void swap(GetTableResult &a, GetTableResult &b) { swap(a.table, b.table); } -GetTableResult::GetTableResult(const GetTableResult& other941) { - table = other941.table; +GetTableResult::GetTableResult(const GetTableResult& other947) { + table = other947.table; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other942) { - table = other942.table; +GetTableResult& GetTableResult::operator=(const GetTableResult& other948) { + table = other948.table; return *this; } void GetTableResult::printTo(std::ostream& out) const { @@ -23710,14 +23824,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size943; - ::apache::thrift::protocol::TType _etype946; - xfer += iprot->readListBegin(_etype946, _size943); - this->tblNames.resize(_size943); - uint32_t _i947; - for (_i947 = 0; _i947 < _size943; ++_i947) + 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) { - xfer += iprot->readString(this->tblNames[_i947]); + xfer += iprot->readString(this->tblNames[_i953]); } xfer += iprot->readListEnd(); } @@ -23769,10 +23883,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 _iter948; - for (_iter948 = this->tblNames.begin(); _iter948 != this->tblNames.end(); ++_iter948) + std::vector ::const_iterator _iter954; + for (_iter954 = this->tblNames.begin(); _iter954 != this->tblNames.end(); ++_iter954) { - xfer += oprot->writeString((*_iter948)); + xfer += oprot->writeString((*_iter954)); } xfer += oprot->writeListEnd(); } @@ -23802,19 +23916,19 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other949) { - dbName = other949.dbName; - tblNames = other949.tblNames; - capabilities = other949.capabilities; - catName = other949.catName; - __isset = other949.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other955) { + dbName = other955.dbName; + tblNames = other955.tblNames; + capabilities = other955.capabilities; + catName = other955.catName; + __isset = other955.__isset; } -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other950) { - dbName = other950.dbName; - tblNames = other950.tblNames; - capabilities = other950.capabilities; - catName = other950.catName; - __isset = other950.__isset; +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other956) { + dbName = other956.dbName; + tblNames = other956.tblNames; + capabilities = other956.capabilities; + catName = other956.catName; + __isset = other956.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -23862,14 +23976,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size951; - ::apache::thrift::protocol::TType _etype954; - xfer += iprot->readListBegin(_etype954, _size951); - this->tables.resize(_size951); - uint32_t _i955; - for (_i955 = 0; _i955 < _size951; ++_i955) + 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) { - xfer += this->tables[_i955].read(iprot); + xfer += this->tables[_i961].read(iprot); } xfer += iprot->readListEnd(); } @@ -23900,10 +24014,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 _iter956; - for (_iter956 = this->tables.begin(); _iter956 != this->tables.end(); ++_iter956) + std::vector
::const_iterator _iter962; + for (_iter962 = this->tables.begin(); _iter962 != this->tables.end(); ++_iter962) { - xfer += (*_iter956).write(oprot); + xfer += (*_iter962).write(oprot); } xfer += oprot->writeListEnd(); } @@ -23919,11 +24033,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other957) { - tables = other957.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other963) { + tables = other963.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other958) { - tables = other958.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other964) { + tables = other964.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -24025,13 +24139,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other959) { - dataPath = other959.dataPath; - purge = other959.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other965) { + dataPath = other965.dataPath; + purge = other965.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other960) { - dataPath = other960.dataPath; - purge = other960.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other966) { + dataPath = other966.dataPath; + purge = other966.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -24091,11 +24205,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other961) { - (void) other961; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other967) { + (void) other967; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other962) { - (void) other962; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other968) { + (void) other968; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -24255,21 +24369,21 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other963) { - dbName = other963.dbName; - tableName = other963.tableName; - tableType = other963.tableType; - comments = other963.comments; - catName = other963.catName; - __isset = other963.__isset; -} -TableMeta& TableMeta::operator=(const TableMeta& other964) { - dbName = other964.dbName; - tableName = other964.tableName; - tableType = other964.tableType; - comments = other964.comments; - catName = other964.catName; - __isset = other964.__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; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -24328,15 +24442,15 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size965; - ::apache::thrift::protocol::TType _etype968; - xfer += iprot->readSetBegin(_etype968, _size965); - uint32_t _i969; - for (_i969 = 0; _i969 < _size965; ++_i969) + uint32_t _size971; + ::apache::thrift::protocol::TType _etype974; + xfer += iprot->readSetBegin(_etype974, _size971); + uint32_t _i975; + for (_i975 = 0; _i975 < _size971; ++_i975) { - std::string _elem970; - xfer += iprot->readString(_elem970); - this->tablesUsed.insert(_elem970); + std::string _elem976; + xfer += iprot->readString(_elem976); + this->tablesUsed.insert(_elem976); } xfer += iprot->readSetEnd(); } @@ -24385,10 +24499,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 _iter971; - for (_iter971 = this->tablesUsed.begin(); _iter971 != this->tablesUsed.end(); ++_iter971) + std::set ::const_iterator _iter977; + for (_iter977 = this->tablesUsed.begin(); _iter977 != this->tablesUsed.end(); ++_iter977) { - xfer += oprot->writeString((*_iter971)); + xfer += oprot->writeString((*_iter977)); } xfer += oprot->writeSetEnd(); } @@ -24416,17 +24530,17 @@ void swap(Materialization &a, Materialization &b) { swap(a.__isset, b.__isset); } -Materialization::Materialization(const Materialization& other972) { - tablesUsed = other972.tablesUsed; - validTxnList = other972.validTxnList; - invalidationTime = other972.invalidationTime; - __isset = other972.__isset; +Materialization::Materialization(const Materialization& other978) { + tablesUsed = other978.tablesUsed; + validTxnList = other978.validTxnList; + invalidationTime = other978.invalidationTime; + __isset = other978.__isset; } -Materialization& Materialization::operator=(const Materialization& other973) { - tablesUsed = other973.tablesUsed; - validTxnList = other973.validTxnList; - invalidationTime = other973.invalidationTime; - __isset = other973.__isset; +Materialization& Materialization::operator=(const Materialization& other979) { + tablesUsed = other979.tablesUsed; + validTxnList = other979.validTxnList; + invalidationTime = other979.invalidationTime; + __isset = other979.__isset; return *this; } void Materialization::printTo(std::ostream& out) const { @@ -24494,9 +24608,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast974; - xfer += iprot->readI32(ecast974); - this->status = (WMResourcePlanStatus::type)ecast974; + int32_t ecast980; + xfer += iprot->readI32(ecast980); + this->status = (WMResourcePlanStatus::type)ecast980; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -24570,19 +24684,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other975) { - name = other975.name; - status = other975.status; - queryParallelism = other975.queryParallelism; - defaultPoolPath = other975.defaultPoolPath; - __isset = other975.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other981) { + name = other981.name; + status = other981.status; + queryParallelism = other981.queryParallelism; + defaultPoolPath = other981.defaultPoolPath; + __isset = other981.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other976) { - name = other976.name; - status = other976.status; - queryParallelism = other976.queryParallelism; - defaultPoolPath = other976.defaultPoolPath; - __isset = other976.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other982) { + name = other982.name; + status = other982.status; + queryParallelism = other982.queryParallelism; + defaultPoolPath = other982.defaultPoolPath; + __isset = other982.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -24661,9 +24775,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast977; - xfer += iprot->readI32(ecast977); - this->status = (WMResourcePlanStatus::type)ecast977; + int32_t ecast983; + xfer += iprot->readI32(ecast983); + this->status = (WMResourcePlanStatus::type)ecast983; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -24764,23 +24878,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other978) { - name = other978.name; - status = other978.status; - queryParallelism = other978.queryParallelism; - isSetQueryParallelism = other978.isSetQueryParallelism; - defaultPoolPath = other978.defaultPoolPath; - isSetDefaultPoolPath = other978.isSetDefaultPoolPath; - __isset = other978.__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& other979) { - name = other979.name; - status = other979.status; - queryParallelism = other979.queryParallelism; - isSetQueryParallelism = other979.isSetQueryParallelism; - defaultPoolPath = other979.defaultPoolPath; - isSetDefaultPoolPath = other979.isSetDefaultPoolPath; - __isset = other979.__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; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -24945,21 +25059,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other980) { - resourcePlanName = other980.resourcePlanName; - poolPath = other980.poolPath; - allocFraction = other980.allocFraction; - queryParallelism = other980.queryParallelism; - schedulingPolicy = other980.schedulingPolicy; - __isset = other980.__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& other981) { - resourcePlanName = other981.resourcePlanName; - poolPath = other981.poolPath; - allocFraction = other981.allocFraction; - queryParallelism = other981.queryParallelism; - schedulingPolicy = other981.schedulingPolicy; - __isset = other981.__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; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -25142,23 +25256,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other982) { - resourcePlanName = other982.resourcePlanName; - poolPath = other982.poolPath; - allocFraction = other982.allocFraction; - queryParallelism = other982.queryParallelism; - schedulingPolicy = other982.schedulingPolicy; - isSetSchedulingPolicy = other982.isSetSchedulingPolicy; - __isset = other982.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other983) { - resourcePlanName = other983.resourcePlanName; - poolPath = other983.poolPath; - allocFraction = other983.allocFraction; - queryParallelism = other983.queryParallelism; - schedulingPolicy = other983.schedulingPolicy; - isSetSchedulingPolicy = other983.isSetSchedulingPolicy; - __isset = other983.__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; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -25323,21 +25437,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other984) { - resourcePlanName = other984.resourcePlanName; - triggerName = other984.triggerName; - triggerExpression = other984.triggerExpression; - actionExpression = other984.actionExpression; - isInUnmanaged = other984.isInUnmanaged; - __isset = other984.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other985) { - resourcePlanName = other985.resourcePlanName; - triggerName = other985.triggerName; - triggerExpression = other985.triggerExpression; - actionExpression = other985.actionExpression; - isInUnmanaged = other985.isInUnmanaged; - __isset = other985.__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; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -25502,21 +25616,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other986) { - resourcePlanName = other986.resourcePlanName; - entityType = other986.entityType; - entityName = other986.entityName; - poolPath = other986.poolPath; - ordering = other986.ordering; - __isset = other986.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other987) { - resourcePlanName = other987.resourcePlanName; - entityType = other987.entityType; - entityName = other987.entityName; - poolPath = other987.poolPath; - ordering = other987.ordering; - __isset = other987.__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; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -25622,13 +25736,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other988) { - pool = other988.pool; - trigger = other988.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other994) { + pool = other994.pool; + trigger = other994.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other989) { - pool = other989.pool; - trigger = other989.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other995) { + pool = other995.pool; + trigger = other995.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -25702,14 +25816,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size990; - ::apache::thrift::protocol::TType _etype993; - xfer += iprot->readListBegin(_etype993, _size990); - this->pools.resize(_size990); - uint32_t _i994; - for (_i994 = 0; _i994 < _size990; ++_i994) + 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) { - xfer += this->pools[_i994].read(iprot); + xfer += this->pools[_i1000].read(iprot); } xfer += iprot->readListEnd(); } @@ -25722,14 +25836,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size995; - ::apache::thrift::protocol::TType _etype998; - xfer += iprot->readListBegin(_etype998, _size995); - this->mappings.resize(_size995); - uint32_t _i999; - for (_i999 = 0; _i999 < _size995; ++_i999) + 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) { - xfer += this->mappings[_i999].read(iprot); + xfer += this->mappings[_i1005].read(iprot); } xfer += iprot->readListEnd(); } @@ -25742,14 +25856,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1000; - ::apache::thrift::protocol::TType _etype1003; - xfer += iprot->readListBegin(_etype1003, _size1000); - this->triggers.resize(_size1000); - uint32_t _i1004; - for (_i1004 = 0; _i1004 < _size1000; ++_i1004) + 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) { - xfer += this->triggers[_i1004].read(iprot); + xfer += this->triggers[_i1010].read(iprot); } xfer += iprot->readListEnd(); } @@ -25762,14 +25876,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size1005; - ::apache::thrift::protocol::TType _etype1008; - xfer += iprot->readListBegin(_etype1008, _size1005); - this->poolTriggers.resize(_size1005); - uint32_t _i1009; - for (_i1009 = 0; _i1009 < _size1005; ++_i1009) + 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) { - xfer += this->poolTriggers[_i1009].read(iprot); + xfer += this->poolTriggers[_i1015].read(iprot); } xfer += iprot->readListEnd(); } @@ -25806,10 +25920,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 _iter1010; - for (_iter1010 = this->pools.begin(); _iter1010 != this->pools.end(); ++_iter1010) + std::vector ::const_iterator _iter1016; + for (_iter1016 = this->pools.begin(); _iter1016 != this->pools.end(); ++_iter1016) { - xfer += (*_iter1010).write(oprot); + xfer += (*_iter1016).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25819,10 +25933,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 _iter1011; - for (_iter1011 = this->mappings.begin(); _iter1011 != this->mappings.end(); ++_iter1011) + std::vector ::const_iterator _iter1017; + for (_iter1017 = this->mappings.begin(); _iter1017 != this->mappings.end(); ++_iter1017) { - xfer += (*_iter1011).write(oprot); + xfer += (*_iter1017).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25832,10 +25946,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 _iter1012; - for (_iter1012 = this->triggers.begin(); _iter1012 != this->triggers.end(); ++_iter1012) + std::vector ::const_iterator _iter1018; + for (_iter1018 = this->triggers.begin(); _iter1018 != this->triggers.end(); ++_iter1018) { - xfer += (*_iter1012).write(oprot); + xfer += (*_iter1018).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25845,10 +25959,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 _iter1013; - for (_iter1013 = this->poolTriggers.begin(); _iter1013 != this->poolTriggers.end(); ++_iter1013) + std::vector ::const_iterator _iter1019; + for (_iter1019 = this->poolTriggers.begin(); _iter1019 != this->poolTriggers.end(); ++_iter1019) { - xfer += (*_iter1013).write(oprot); + xfer += (*_iter1019).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25869,21 +25983,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1014) { - plan = other1014.plan; - pools = other1014.pools; - mappings = other1014.mappings; - triggers = other1014.triggers; - poolTriggers = other1014.poolTriggers; - __isset = other1014.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1015) { - plan = other1015.plan; - pools = other1015.pools; - mappings = other1015.mappings; - triggers = other1015.triggers; - poolTriggers = other1015.poolTriggers; - __isset = other1015.__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; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -25988,15 +26102,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1016) { - resourcePlan = other1016.resourcePlan; - copyFrom = other1016.copyFrom; - __isset = other1016.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1022) { + resourcePlan = other1022.resourcePlan; + copyFrom = other1022.copyFrom; + __isset = other1022.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1017) { - resourcePlan = other1017.resourcePlan; - copyFrom = other1017.copyFrom; - __isset = other1017.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1023) { + resourcePlan = other1023.resourcePlan; + copyFrom = other1023.copyFrom; + __isset = other1023.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -26056,11 +26170,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1018) { - (void) other1018; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1024) { + (void) other1024; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1019) { - (void) other1019; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1025) { + (void) other1025; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -26118,11 +26232,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1020) { - (void) other1020; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1026) { + (void) other1026; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1021) { - (void) other1021; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1027) { + (void) other1027; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -26203,13 +26317,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1022) { - resourcePlan = other1022.resourcePlan; - __isset = other1022.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1028) { + resourcePlan = other1028.resourcePlan; + __isset = other1028.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1023) { - resourcePlan = other1023.resourcePlan; - __isset = other1023.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1029) { + resourcePlan = other1029.resourcePlan; + __isset = other1029.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -26291,13 +26405,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1024) { - resourcePlanName = other1024.resourcePlanName; - __isset = other1024.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1030) { + resourcePlanName = other1030.resourcePlanName; + __isset = other1030.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1025) { - resourcePlanName = other1025.resourcePlanName; - __isset = other1025.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1031) { + resourcePlanName = other1031.resourcePlanName; + __isset = other1031.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -26379,13 +26493,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1026) { - resourcePlan = other1026.resourcePlan; - __isset = other1026.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1032) { + resourcePlan = other1032.resourcePlan; + __isset = other1032.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1027) { - resourcePlan = other1027.resourcePlan; - __isset = other1027.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1033) { + resourcePlan = other1033.resourcePlan; + __isset = other1033.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -26444,11 +26558,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1028) { - (void) other1028; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1034) { + (void) other1034; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1029) { - (void) other1029; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1035) { + (void) other1035; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -26492,14 +26606,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size1030; - ::apache::thrift::protocol::TType _etype1033; - xfer += iprot->readListBegin(_etype1033, _size1030); - this->resourcePlans.resize(_size1030); - uint32_t _i1034; - for (_i1034 = 0; _i1034 < _size1030; ++_i1034) + 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) { - xfer += this->resourcePlans[_i1034].read(iprot); + xfer += this->resourcePlans[_i1040].read(iprot); } xfer += iprot->readListEnd(); } @@ -26529,10 +26643,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 _iter1035; - for (_iter1035 = this->resourcePlans.begin(); _iter1035 != this->resourcePlans.end(); ++_iter1035) + std::vector ::const_iterator _iter1041; + for (_iter1041 = this->resourcePlans.begin(); _iter1041 != this->resourcePlans.end(); ++_iter1041) { - xfer += (*_iter1035).write(oprot); + xfer += (*_iter1041).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26549,13 +26663,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1036) { - resourcePlans = other1036.resourcePlans; - __isset = other1036.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1042) { + resourcePlans = other1042.resourcePlans; + __isset = other1042.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1037) { - resourcePlans = other1037.resourcePlans; - __isset = other1037.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1043) { + resourcePlans = other1043.resourcePlans; + __isset = other1043.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -26713,21 +26827,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1038) { - resourcePlanName = other1038.resourcePlanName; - resourcePlan = other1038.resourcePlan; - isEnableAndActivate = other1038.isEnableAndActivate; - isForceDeactivate = other1038.isForceDeactivate; - isReplace = other1038.isReplace; - __isset = other1038.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1039) { - resourcePlanName = other1039.resourcePlanName; - resourcePlan = other1039.resourcePlan; - isEnableAndActivate = other1039.isEnableAndActivate; - isForceDeactivate = other1039.isForceDeactivate; - isReplace = other1039.isReplace; - __isset = other1039.__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; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -26813,13 +26927,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1040) { - fullResourcePlan = other1040.fullResourcePlan; - __isset = other1040.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1046) { + fullResourcePlan = other1046.fullResourcePlan; + __isset = other1046.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1041) { - fullResourcePlan = other1041.fullResourcePlan; - __isset = other1041.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1047) { + fullResourcePlan = other1047.fullResourcePlan; + __isset = other1047.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -26901,13 +27015,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1042) { - resourcePlanName = other1042.resourcePlanName; - __isset = other1042.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1048) { + resourcePlanName = other1048.resourcePlanName; + __isset = other1048.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1043) { - resourcePlanName = other1043.resourcePlanName; - __isset = other1043.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1049) { + resourcePlanName = other1049.resourcePlanName; + __isset = other1049.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -26957,14 +27071,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1044; - ::apache::thrift::protocol::TType _etype1047; - xfer += iprot->readListBegin(_etype1047, _size1044); - this->errors.resize(_size1044); - uint32_t _i1048; - for (_i1048 = 0; _i1048 < _size1044; ++_i1048) + 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) { - xfer += iprot->readString(this->errors[_i1048]); + xfer += iprot->readString(this->errors[_i1054]); } xfer += iprot->readListEnd(); } @@ -26977,14 +27091,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1049; - ::apache::thrift::protocol::TType _etype1052; - xfer += iprot->readListBegin(_etype1052, _size1049); - this->warnings.resize(_size1049); - uint32_t _i1053; - for (_i1053 = 0; _i1053 < _size1049; ++_i1053) + 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) { - xfer += iprot->readString(this->warnings[_i1053]); + xfer += iprot->readString(this->warnings[_i1059]); } xfer += iprot->readListEnd(); } @@ -27014,10 +27128,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 _iter1054; - for (_iter1054 = this->errors.begin(); _iter1054 != this->errors.end(); ++_iter1054) + std::vector ::const_iterator _iter1060; + for (_iter1060 = this->errors.begin(); _iter1060 != this->errors.end(); ++_iter1060) { - xfer += oprot->writeString((*_iter1054)); + xfer += oprot->writeString((*_iter1060)); } xfer += oprot->writeListEnd(); } @@ -27027,10 +27141,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 _iter1055; - for (_iter1055 = this->warnings.begin(); _iter1055 != this->warnings.end(); ++_iter1055) + std::vector ::const_iterator _iter1061; + for (_iter1061 = this->warnings.begin(); _iter1061 != this->warnings.end(); ++_iter1061) { - xfer += oprot->writeString((*_iter1055)); + xfer += oprot->writeString((*_iter1061)); } xfer += oprot->writeListEnd(); } @@ -27048,15 +27162,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1056) { - errors = other1056.errors; - warnings = other1056.warnings; - __isset = other1056.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1062) { + errors = other1062.errors; + warnings = other1062.warnings; + __isset = other1062.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1057) { - errors = other1057.errors; - warnings = other1057.warnings; - __isset = other1057.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1063) { + errors = other1063.errors; + warnings = other1063.warnings; + __isset = other1063.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -27139,13 +27253,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1058) { - resourcePlanName = other1058.resourcePlanName; - __isset = other1058.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1064) { + resourcePlanName = other1064.resourcePlanName; + __isset = other1064.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1059) { - resourcePlanName = other1059.resourcePlanName; - __isset = other1059.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1065) { + resourcePlanName = other1065.resourcePlanName; + __isset = other1065.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -27204,11 +27318,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1060) { - (void) other1060; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1066) { + (void) other1066; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1061) { - (void) other1061; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1067) { + (void) other1067; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -27289,13 +27403,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1062) { - trigger = other1062.trigger; - __isset = other1062.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1068) { + trigger = other1068.trigger; + __isset = other1068.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1063) { - trigger = other1063.trigger; - __isset = other1063.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1069) { + trigger = other1069.trigger; + __isset = other1069.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -27354,11 +27468,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1064) { - (void) other1064; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1070) { + (void) other1070; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1065) { - (void) other1065; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1071) { + (void) other1071; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -27439,13 +27553,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1066) { - trigger = other1066.trigger; - __isset = other1066.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1072) { + trigger = other1072.trigger; + __isset = other1072.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1067) { - trigger = other1067.trigger; - __isset = other1067.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1073) { + trigger = other1073.trigger; + __isset = other1073.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -27504,11 +27618,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1068) { - (void) other1068; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1074) { + (void) other1074; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1069) { - (void) other1069; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1075) { + (void) other1075; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -27608,15 +27722,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1070) { - resourcePlanName = other1070.resourcePlanName; - triggerName = other1070.triggerName; - __isset = other1070.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1076) { + resourcePlanName = other1076.resourcePlanName; + triggerName = other1076.triggerName; + __isset = other1076.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1071) { - resourcePlanName = other1071.resourcePlanName; - triggerName = other1071.triggerName; - __isset = other1071.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1077) { + resourcePlanName = other1077.resourcePlanName; + triggerName = other1077.triggerName; + __isset = other1077.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -27676,11 +27790,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1072) { - (void) other1072; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1078) { + (void) other1078; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1073) { - (void) other1073; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1079) { + (void) other1079; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -27761,13 +27875,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1074) { - resourcePlanName = other1074.resourcePlanName; - __isset = other1074.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1080) { + resourcePlanName = other1080.resourcePlanName; + __isset = other1080.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1075) { - resourcePlanName = other1075.resourcePlanName; - __isset = other1075.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1081) { + resourcePlanName = other1081.resourcePlanName; + __isset = other1081.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -27812,14 +27926,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1076; - ::apache::thrift::protocol::TType _etype1079; - xfer += iprot->readListBegin(_etype1079, _size1076); - this->triggers.resize(_size1076); - uint32_t _i1080; - for (_i1080 = 0; _i1080 < _size1076; ++_i1080) + 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) { - xfer += this->triggers[_i1080].read(iprot); + xfer += this->triggers[_i1086].read(iprot); } xfer += iprot->readListEnd(); } @@ -27849,10 +27963,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 _iter1081; - for (_iter1081 = this->triggers.begin(); _iter1081 != this->triggers.end(); ++_iter1081) + std::vector ::const_iterator _iter1087; + for (_iter1087 = this->triggers.begin(); _iter1087 != this->triggers.end(); ++_iter1087) { - xfer += (*_iter1081).write(oprot); + xfer += (*_iter1087).write(oprot); } xfer += oprot->writeListEnd(); } @@ -27869,13 +27983,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1082) { - triggers = other1082.triggers; - __isset = other1082.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1088) { + triggers = other1088.triggers; + __isset = other1088.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1083) { - triggers = other1083.triggers; - __isset = other1083.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1089) { + triggers = other1089.triggers; + __isset = other1089.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -27957,13 +28071,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1084) { - pool = other1084.pool; - __isset = other1084.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1090) { + pool = other1090.pool; + __isset = other1090.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1085) { - pool = other1085.pool; - __isset = other1085.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1091) { + pool = other1091.pool; + __isset = other1091.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -28022,11 +28136,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1086) { - (void) other1086; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1092) { + (void) other1092; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1087) { - (void) other1087; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1093) { + (void) other1093; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -28126,15 +28240,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1088) { - pool = other1088.pool; - poolPath = other1088.poolPath; - __isset = other1088.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1094) { + pool = other1094.pool; + poolPath = other1094.poolPath; + __isset = other1094.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1089) { - pool = other1089.pool; - poolPath = other1089.poolPath; - __isset = other1089.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1095) { + pool = other1095.pool; + poolPath = other1095.poolPath; + __isset = other1095.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -28194,11 +28308,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1090) { - (void) other1090; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1096) { + (void) other1096; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1091) { - (void) other1091; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1097) { + (void) other1097; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -28298,15 +28412,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1092) { - resourcePlanName = other1092.resourcePlanName; - poolPath = other1092.poolPath; - __isset = other1092.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1098) { + resourcePlanName = other1098.resourcePlanName; + poolPath = other1098.poolPath; + __isset = other1098.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1093) { - resourcePlanName = other1093.resourcePlanName; - poolPath = other1093.poolPath; - __isset = other1093.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1099) { + resourcePlanName = other1099.resourcePlanName; + poolPath = other1099.poolPath; + __isset = other1099.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -28366,11 +28480,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1094) { - (void) other1094; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1100) { + (void) other1100; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1095) { - (void) other1095; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1101) { + (void) other1101; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -28470,15 +28584,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1096) { - mapping = other1096.mapping; - update = other1096.update; - __isset = other1096.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1102) { + mapping = other1102.mapping; + update = other1102.update; + __isset = other1102.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1097) { - mapping = other1097.mapping; - update = other1097.update; - __isset = other1097.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1103) { + mapping = other1103.mapping; + update = other1103.update; + __isset = other1103.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -28538,11 +28652,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1098) { - (void) other1098; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1104) { + (void) other1104; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1099) { - (void) other1099; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1105) { + (void) other1105; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -28623,13 +28737,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1100) { - mapping = other1100.mapping; - __isset = other1100.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1106) { + mapping = other1106.mapping; + __isset = other1106.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1101) { - mapping = other1101.mapping; - __isset = other1101.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1107) { + mapping = other1107.mapping; + __isset = other1107.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -28688,11 +28802,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1102) { - (void) other1102; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1108) { + (void) other1108; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1103) { - (void) other1103; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1109) { + (void) other1109; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -28830,19 +28944,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1104) { - resourcePlanName = other1104.resourcePlanName; - triggerName = other1104.triggerName; - poolPath = other1104.poolPath; - drop = other1104.drop; - __isset = other1104.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1110) { + resourcePlanName = other1110.resourcePlanName; + triggerName = other1110.triggerName; + poolPath = other1110.poolPath; + drop = other1110.drop; + __isset = other1110.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1105) { - resourcePlanName = other1105.resourcePlanName; - triggerName = other1105.triggerName; - poolPath = other1105.poolPath; - drop = other1105.drop; - __isset = other1105.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1111) { + resourcePlanName = other1111.resourcePlanName; + triggerName = other1111.triggerName; + poolPath = other1111.poolPath; + drop = other1111.drop; + __isset = other1111.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -28904,11 +29018,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1106) { - (void) other1106; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1112) { + (void) other1112; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1107) { - (void) other1107; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1113) { + (void) other1113; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -28983,9 +29097,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1108; - xfer += iprot->readI32(ecast1108); - this->schemaType = (SchemaType::type)ecast1108; + int32_t ecast1114; + xfer += iprot->readI32(ecast1114); + this->schemaType = (SchemaType::type)ecast1114; this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -29017,9 +29131,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1109; - xfer += iprot->readI32(ecast1109); - this->compatibility = (SchemaCompatibility::type)ecast1109; + int32_t ecast1115; + xfer += iprot->readI32(ecast1115); + this->compatibility = (SchemaCompatibility::type)ecast1115; this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -29027,9 +29141,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1110; - xfer += iprot->readI32(ecast1110); - this->validationLevel = (SchemaValidation::type)ecast1110; + int32_t ecast1116; + xfer += iprot->readI32(ecast1116); + this->validationLevel = (SchemaValidation::type)ecast1116; this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -29133,29 +29247,29 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1111) { - schemaType = other1111.schemaType; - name = other1111.name; - catName = other1111.catName; - dbName = other1111.dbName; - compatibility = other1111.compatibility; - validationLevel = other1111.validationLevel; - canEvolve = other1111.canEvolve; - schemaGroup = other1111.schemaGroup; - description = other1111.description; - __isset = other1111.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1112) { - schemaType = other1112.schemaType; - name = other1112.name; - catName = other1112.catName; - dbName = other1112.dbName; - compatibility = other1112.compatibility; - validationLevel = other1112.validationLevel; - canEvolve = other1112.canEvolve; - schemaGroup = other1112.schemaGroup; - description = other1112.description; - __isset = other1112.__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; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -29277,17 +29391,17 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1113) { - catName = other1113.catName; - dbName = other1113.dbName; - schemaName = other1113.schemaName; - __isset = other1113.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1119) { + catName = other1119.catName; + dbName = other1119.dbName; + schemaName = other1119.schemaName; + __isset = other1119.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1114) { - catName = other1114.catName; - dbName = other1114.dbName; - schemaName = other1114.schemaName; - __isset = other1114.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1120) { + catName = other1120.catName; + dbName = other1120.dbName; + schemaName = other1120.schemaName; + __isset = other1120.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -29386,15 +29500,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1115) { - name = other1115.name; - newSchema = other1115.newSchema; - __isset = other1115.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1121) { + name = other1121.name; + newSchema = other1121.newSchema; + __isset = other1121.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1116) { - name = other1116.name; - newSchema = other1116.newSchema; - __isset = other1116.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1122) { + name = other1122.name; + newSchema = other1122.newSchema; + __isset = other1122.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -29505,14 +29619,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1117; - ::apache::thrift::protocol::TType _etype1120; - xfer += iprot->readListBegin(_etype1120, _size1117); - this->cols.resize(_size1117); - uint32_t _i1121; - for (_i1121 = 0; _i1121 < _size1117; ++_i1121) + 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) { - xfer += this->cols[_i1121].read(iprot); + xfer += this->cols[_i1127].read(iprot); } xfer += iprot->readListEnd(); } @@ -29523,9 +29637,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1122; - xfer += iprot->readI32(ecast1122); - this->state = (SchemaVersionState::type)ecast1122; + int32_t ecast1128; + xfer += iprot->readI32(ecast1128); + this->state = (SchemaVersionState::type)ecast1128; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -29603,10 +29717,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 _iter1123; - for (_iter1123 = this->cols.begin(); _iter1123 != this->cols.end(); ++_iter1123) + std::vector ::const_iterator _iter1129; + for (_iter1129 = this->cols.begin(); _iter1129 != this->cols.end(); ++_iter1129) { - xfer += (*_iter1123).write(oprot); + xfer += (*_iter1129).write(oprot); } xfer += oprot->writeListEnd(); } @@ -29662,31 +29776,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1124) { - schema = other1124.schema; - version = other1124.version; - createdAt = other1124.createdAt; - cols = other1124.cols; - state = other1124.state; - description = other1124.description; - schemaText = other1124.schemaText; - fingerprint = other1124.fingerprint; - name = other1124.name; - serDe = other1124.serDe; - __isset = other1124.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1125) { - schema = other1125.schema; - version = other1125.version; - createdAt = other1125.createdAt; - cols = other1125.cols; - state = other1125.state; - description = other1125.description; - schemaText = other1125.schemaText; - fingerprint = other1125.fingerprint; - name = other1125.name; - serDe = other1125.serDe; - __isset = other1125.__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; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -29792,15 +29906,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1126) { - schema = other1126.schema; - version = other1126.version; - __isset = other1126.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1132) { + schema = other1132.schema; + version = other1132.version; + __isset = other1132.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1127) { - schema = other1127.schema; - version = other1127.version; - __isset = other1127.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1133) { + schema = other1133.schema; + version = other1133.version; + __isset = other1133.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -29921,17 +30035,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1128) { - colName = other1128.colName; - colNamespace = other1128.colNamespace; - type = other1128.type; - __isset = other1128.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1134) { + colName = other1134.colName; + colNamespace = other1134.colNamespace; + type = other1134.type; + __isset = other1134.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1129) { - colName = other1129.colName; - colNamespace = other1129.colNamespace; - type = other1129.type; - __isset = other1129.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1135) { + colName = other1135.colName; + colNamespace = other1135.colNamespace; + type = other1135.type; + __isset = other1135.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -29977,14 +30091,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1130; - ::apache::thrift::protocol::TType _etype1133; - xfer += iprot->readListBegin(_etype1133, _size1130); - this->schemaVersions.resize(_size1130); - uint32_t _i1134; - for (_i1134 = 0; _i1134 < _size1130; ++_i1134) + 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) { - xfer += this->schemaVersions[_i1134].read(iprot); + xfer += this->schemaVersions[_i1140].read(iprot); } xfer += iprot->readListEnd(); } @@ -30013,10 +30127,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 _iter1135; - for (_iter1135 = this->schemaVersions.begin(); _iter1135 != this->schemaVersions.end(); ++_iter1135) + std::vector ::const_iterator _iter1141; + for (_iter1141 = this->schemaVersions.begin(); _iter1141 != this->schemaVersions.end(); ++_iter1141) { - xfer += (*_iter1135).write(oprot); + xfer += (*_iter1141).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30033,13 +30147,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1136) { - schemaVersions = other1136.schemaVersions; - __isset = other1136.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1142) { + schemaVersions = other1142.schemaVersions; + __isset = other1142.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1137) { - schemaVersions = other1137.schemaVersions; - __isset = other1137.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1143) { + schemaVersions = other1143.schemaVersions; + __isset = other1143.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -30136,15 +30250,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1138) { - schemaVersion = other1138.schemaVersion; - serdeName = other1138.serdeName; - __isset = other1138.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1144) { + schemaVersion = other1144.schemaVersion; + serdeName = other1144.serdeName; + __isset = other1144.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1139) { - schemaVersion = other1139.schemaVersion; - serdeName = other1139.serdeName; - __isset = other1139.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1145) { + schemaVersion = other1145.schemaVersion; + serdeName = other1145.serdeName; + __isset = other1145.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -30199,9 +30313,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1140; - xfer += iprot->readI32(ecast1140); - this->state = (SchemaVersionState::type)ecast1140; + int32_t ecast1146; + xfer += iprot->readI32(ecast1146); + this->state = (SchemaVersionState::type)ecast1146; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -30244,15 +30358,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1141) { - schemaVersion = other1141.schemaVersion; - state = other1141.state; - __isset = other1141.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1147) { + schemaVersion = other1147.schemaVersion; + state = other1147.state; + __isset = other1147.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1142) { - schemaVersion = other1142.schemaVersion; - state = other1142.state; - __isset = other1142.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1148) { + schemaVersion = other1148.schemaVersion; + state = other1148.state; + __isset = other1148.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -30333,13 +30447,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1143) { - serdeName = other1143.serdeName; - __isset = other1143.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1149) { + serdeName = other1149.serdeName; + __isset = other1149.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1144) { - serdeName = other1144.serdeName; - __isset = other1144.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1150) { + serdeName = other1150.serdeName; + __isset = other1150.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -30419,13 +30533,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1145) : TException() { - message = other1145.message; - __isset = other1145.__isset; +MetaException::MetaException(const MetaException& other1151) : TException() { + message = other1151.message; + __isset = other1151.__isset; } -MetaException& MetaException::operator=(const MetaException& other1146) { - message = other1146.message; - __isset = other1146.__isset; +MetaException& MetaException::operator=(const MetaException& other1152) { + message = other1152.message; + __isset = other1152.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -30516,13 +30630,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1147) : TException() { - message = other1147.message; - __isset = other1147.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1153) : TException() { + message = other1153.message; + __isset = other1153.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1148) { - message = other1148.message; - __isset = other1148.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1154) { + message = other1154.message; + __isset = other1154.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -30613,13 +30727,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1149) : TException() { - message = other1149.message; - __isset = other1149.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1155) : TException() { + message = other1155.message; + __isset = other1155.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1150) { - message = other1150.message; - __isset = other1150.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1156) { + message = other1156.message; + __isset = other1156.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -30710,13 +30824,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1151) : TException() { - message = other1151.message; - __isset = other1151.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1157) : TException() { + message = other1157.message; + __isset = other1157.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1152) { - message = other1152.message; - __isset = other1152.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1158) { + message = other1158.message; + __isset = other1158.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -30807,13 +30921,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1153) : TException() { - message = other1153.message; - __isset = other1153.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1159) : TException() { + message = other1159.message; + __isset = other1159.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1154) { - message = other1154.message; - __isset = other1154.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1160) { + message = other1160.message; + __isset = other1160.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -30904,13 +31018,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1155) : TException() { - message = other1155.message; - __isset = other1155.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1161) : TException() { + message = other1161.message; + __isset = other1161.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1156) { - message = other1156.message; - __isset = other1156.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1162) { + message = other1162.message; + __isset = other1162.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -31001,13 +31115,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1157) : TException() { - message = other1157.message; - __isset = other1157.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1163) : TException() { + message = other1163.message; + __isset = other1163.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1158) { - message = other1158.message; - __isset = other1158.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1164) { + message = other1164.message; + __isset = other1164.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -31098,13 +31212,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1159) : TException() { - message = other1159.message; - __isset = other1159.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1165) : TException() { + message = other1165.message; + __isset = other1165.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1160) { - message = other1160.message; - __isset = other1160.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1166) { + message = other1166.message; + __isset = other1166.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -31195,13 +31309,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1161) : TException() { - message = other1161.message; - __isset = other1161.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1167) : TException() { + message = other1167.message; + __isset = other1167.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1162) { - message = other1162.message; - __isset = other1162.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1168) { + message = other1168.message; + __isset = other1168.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -31292,13 +31406,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1163) : TException() { - message = other1163.message; - __isset = other1163.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1169) : TException() { + message = other1169.message; + __isset = other1169.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1164) { - message = other1164.message; - __isset = other1164.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1170) { + message = other1170.message; + __isset = other1170.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -31389,13 +31503,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1165) : TException() { - message = other1165.message; - __isset = other1165.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1171) : TException() { + message = other1171.message; + __isset = other1171.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1166) { - message = other1166.message; - __isset = other1166.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1172) { + message = other1172.message; + __isset = other1172.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -31486,13 +31600,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1167) : TException() { - message = other1167.message; - __isset = other1167.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1173) : TException() { + message = other1173.message; + __isset = other1173.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1168) { - message = other1168.message; - __isset = other1168.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1174) { + message = other1174.message; + __isset = other1174.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -31583,13 +31697,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1169) : TException() { - message = other1169.message; - __isset = other1169.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1175) : TException() { + message = other1175.message; + __isset = other1175.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1170) { - message = other1170.message; - __isset = other1170.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1176) { + message = other1176.message; + __isset = other1176.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -31680,13 +31794,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1171) : TException() { - message = other1171.message; - __isset = other1171.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1177) : TException() { + message = other1177.message; + __isset = other1177.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1172) { - message = other1172.message; - __isset = other1172.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1178) { + message = other1178.message; + __isset = other1178.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -31777,13 +31891,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1173) : TException() { - message = other1173.message; - __isset = other1173.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1179) : TException() { + message = other1179.message; + __isset = other1179.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1174) { - message = other1174.message; - __isset = other1174.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1180) { + message = other1180.message; + __isset = other1180.__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 d4ee95bcad..086cfe9db6 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 @@ -6697,8 +6697,10 @@ inline std::ostream& operator<<(std::ostream& out, const GetOpenTxnsResponse& ob } typedef struct _OpenTxnRequest__isset { - _OpenTxnRequest__isset() : agentInfo(true) {} + _OpenTxnRequest__isset() : agentInfo(true), replPolicy(false), replSrcTxnIds(false) {} bool agentInfo :1; + bool replPolicy :1; + bool replSrcTxnIds :1; } _OpenTxnRequest__isset; class OpenTxnRequest { @@ -6706,7 +6708,7 @@ class OpenTxnRequest { OpenTxnRequest(const OpenTxnRequest&); OpenTxnRequest& operator=(const OpenTxnRequest&); - OpenTxnRequest() : num_txns(0), user(), hostname(), agentInfo("Unknown") { + OpenTxnRequest() : num_txns(0), user(), hostname(), agentInfo("Unknown"), replPolicy() { } virtual ~OpenTxnRequest() throw(); @@ -6714,6 +6716,8 @@ class OpenTxnRequest { std::string user; std::string hostname; std::string agentInfo; + std::string replPolicy; + std::vector replSrcTxnIds; _OpenTxnRequest__isset __isset; @@ -6725,6 +6729,10 @@ class OpenTxnRequest { void __set_agentInfo(const std::string& val); + void __set_replPolicy(const std::string& val); + + void __set_replSrcTxnIds(const std::vector & val); + bool operator == (const OpenTxnRequest & rhs) const { if (!(num_txns == rhs.num_txns)) @@ -6737,6 +6745,14 @@ class OpenTxnRequest { return false; else if (__isset.agentInfo && !(agentInfo == rhs.agentInfo)) return false; + if (__isset.replPolicy != rhs.__isset.replPolicy) + return false; + else if (__isset.replPolicy && !(replPolicy == rhs.replPolicy)) + return false; + if (__isset.replSrcTxnIds != rhs.__isset.replSrcTxnIds) + return false; + else if (__isset.replSrcTxnIds && !(replSrcTxnIds == rhs.replSrcTxnIds)) + return false; return true; } bool operator != (const OpenTxnRequest &rhs) const { @@ -6799,24 +6815,37 @@ inline std::ostream& operator<<(std::ostream& out, const OpenTxnsResponse& obj) return out; } +typedef struct _AbortTxnRequest__isset { + _AbortTxnRequest__isset() : replPolicy(false) {} + bool replPolicy :1; +} _AbortTxnRequest__isset; class AbortTxnRequest { public: AbortTxnRequest(const AbortTxnRequest&); AbortTxnRequest& operator=(const AbortTxnRequest&); - AbortTxnRequest() : txnid(0) { + AbortTxnRequest() : txnid(0), replPolicy() { } virtual ~AbortTxnRequest() throw(); int64_t txnid; + std::string replPolicy; + + _AbortTxnRequest__isset __isset; void __set_txnid(const int64_t val); + void __set_replPolicy(const std::string& val); + bool operator == (const AbortTxnRequest & rhs) const { if (!(txnid == rhs.txnid)) return false; + if (__isset.replPolicy != rhs.__isset.replPolicy) + return false; + else if (__isset.replPolicy && !(replPolicy == rhs.replPolicy)) + return false; return true; } bool operator != (const AbortTxnRequest &rhs) const { @@ -6879,24 +6908,37 @@ inline std::ostream& operator<<(std::ostream& out, const AbortTxnsRequest& obj) return out; } +typedef struct _CommitTxnRequest__isset { + _CommitTxnRequest__isset() : replPolicy(false) {} + bool replPolicy :1; +} _CommitTxnRequest__isset; class CommitTxnRequest { public: CommitTxnRequest(const CommitTxnRequest&); CommitTxnRequest& operator=(const CommitTxnRequest&); - CommitTxnRequest() : txnid(0) { + CommitTxnRequest() : txnid(0), replPolicy() { } virtual ~CommitTxnRequest() throw(); int64_t txnid; + std::string replPolicy; + + _CommitTxnRequest__isset __isset; void __set_txnid(const int64_t val); + void __set_replPolicy(const std::string& val); + bool operator == (const CommitTxnRequest & rhs) const { if (!(txnid == rhs.txnid)) return false; + if (__isset.replPolicy != rhs.__isset.replPolicy) + return false; + else if (__isset.replPolicy && !(replPolicy == rhs.replPolicy)) + return false; return true; } bool operator != (const CommitTxnRequest &rhs) const { diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java index d6c68fe67a..3530f2bce1 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnRequest.java @@ -39,6 +39,7 @@ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("AbortTxnRequest"); private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)1); + private static final org.apache.thrift.protocol.TField REPL_POLICY_FIELD_DESC = new org.apache.thrift.protocol.TField("replPolicy", org.apache.thrift.protocol.TType.STRING, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -47,10 +48,12 @@ } private long txnid; // required + private String replPolicy; // 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 { - TXNID((short)1, "txnid"); + TXNID((short)1, "txnid"), + REPL_POLICY((short)2, "replPolicy"); private static final Map byName = new HashMap(); @@ -67,6 +70,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TXNID return TXNID; + case 2: // REPL_POLICY + return REPL_POLICY; default: return null; } @@ -109,11 +114,14 @@ public String getFieldName() { // isset id assignments private static final int __TXNID_ISSET_ID = 0; private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.REPL_POLICY}; 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.TXNID, new org.apache.thrift.meta_data.FieldMetaData("txnid", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.REPL_POLICY, new org.apache.thrift.meta_data.FieldMetaData("replPolicy", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(AbortTxnRequest.class, metaDataMap); } @@ -135,6 +143,9 @@ public AbortTxnRequest( public AbortTxnRequest(AbortTxnRequest other) { __isset_bitfield = other.__isset_bitfield; this.txnid = other.txnid; + if (other.isSetReplPolicy()) { + this.replPolicy = other.replPolicy; + } } public AbortTxnRequest deepCopy() { @@ -145,6 +156,7 @@ public AbortTxnRequest deepCopy() { public void clear() { setTxnidIsSet(false); this.txnid = 0; + this.replPolicy = null; } public long getTxnid() { @@ -169,6 +181,29 @@ public void setTxnidIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); } + public String getReplPolicy() { + return this.replPolicy; + } + + public void setReplPolicy(String replPolicy) { + this.replPolicy = replPolicy; + } + + public void unsetReplPolicy() { + this.replPolicy = null; + } + + /** Returns true if field replPolicy is set (has been assigned a value) and false otherwise */ + public boolean isSetReplPolicy() { + return this.replPolicy != null; + } + + public void setReplPolicyIsSet(boolean value) { + if (!value) { + this.replPolicy = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case TXNID: @@ -179,6 +214,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case REPL_POLICY: + if (value == null) { + unsetReplPolicy(); + } else { + setReplPolicy((String)value); + } + break; + } } @@ -187,6 +230,9 @@ public Object getFieldValue(_Fields field) { case TXNID: return getTxnid(); + case REPL_POLICY: + return getReplPolicy(); + } throw new IllegalStateException(); } @@ -200,6 +246,8 @@ public boolean isSet(_Fields field) { switch (field) { case TXNID: return isSetTxnid(); + case REPL_POLICY: + return isSetReplPolicy(); } throw new IllegalStateException(); } @@ -226,6 +274,15 @@ public boolean equals(AbortTxnRequest that) { return false; } + boolean this_present_replPolicy = true && this.isSetReplPolicy(); + boolean that_present_replPolicy = true && that.isSetReplPolicy(); + if (this_present_replPolicy || that_present_replPolicy) { + if (!(this_present_replPolicy && that_present_replPolicy)) + return false; + if (!this.replPolicy.equals(that.replPolicy)) + return false; + } + return true; } @@ -238,6 +295,11 @@ public int hashCode() { if (present_txnid) list.add(txnid); + boolean present_replPolicy = true && (isSetReplPolicy()); + list.add(present_replPolicy); + if (present_replPolicy) + list.add(replPolicy); + return list.hashCode(); } @@ -259,6 +321,16 @@ public int compareTo(AbortTxnRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetReplPolicy()).compareTo(other.isSetReplPolicy()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetReplPolicy()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.replPolicy, other.replPolicy); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -282,6 +354,16 @@ public String toString() { sb.append("txnid:"); sb.append(this.txnid); first = false; + if (isSetReplPolicy()) { + if (!first) sb.append(", "); + sb.append("replPolicy:"); + if (this.replPolicy == null) { + sb.append("null"); + } else { + sb.append(this.replPolicy); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -339,6 +421,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AbortTxnRequest str org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 2: // REPL_POLICY + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -355,6 +445,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AbortTxnRequest st oprot.writeFieldBegin(TXNID_FIELD_DESC); oprot.writeI64(struct.txnid); oprot.writeFieldEnd(); + if (struct.replPolicy != null) { + if (struct.isSetReplPolicy()) { + oprot.writeFieldBegin(REPL_POLICY_FIELD_DESC); + oprot.writeString(struct.replPolicy); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -373,6 +470,14 @@ public AbortTxnRequestTupleScheme getScheme() { public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnRequest struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI64(struct.txnid); + BitSet optionals = new BitSet(); + if (struct.isSetReplPolicy()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetReplPolicy()) { + oprot.writeString(struct.replPolicy); + } } @Override @@ -380,6 +485,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, AbortTxnRequest stru TTupleProtocol iprot = (TTupleProtocol) prot; struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } } } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java index 24c68d8529..3ee337003d 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AbortTxnsRequest.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, AbortTxnsRequest st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list578 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list578.size); - long _elem579; - for (int _i580 = 0; _i580 < _list578.size; ++_i580) + org.apache.thrift.protocol.TList _list586 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list586.size); + long _elem587; + for (int _i588 = 0; _i588 < _list586.size; ++_i588) { - _elem579 = iprot.readI64(); - struct.txn_ids.add(_elem579); + _elem587 = iprot.readI64(); + struct.txn_ids.add(_elem587); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, AbortTxnsRequest s oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size())); - for (long _iter581 : struct.txn_ids) + for (long _iter589 : struct.txn_ids) { - oprot.writeI64(_iter581); + oprot.writeI64(_iter589); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter582 : struct.txn_ids) + for (long _iter590 : struct.txn_ids) { - oprot.writeI64(_iter582); + oprot.writeI64(_iter590); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest st public void read(org.apache.thrift.protocol.TProtocol prot, AbortTxnsRequest struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list583 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list583.size); - long _elem584; - for (int _i585 = 0; _i585 < _list583.size; ++_i585) + org.apache.thrift.protocol.TList _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list591.size); + long _elem592; + for (int _i593 = 0; _i593 < _list591.size; ++_i593) { - _elem584 = iprot.readI64(); - struct.txn_ids.add(_elem584); + _elem592 = iprot.readI64(); + struct.txn_ids.add(_elem592); } } struct.setTxn_idsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index d6a071ac79..3acdec5a40 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 _list676 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list676.size); - String _elem677; - for (int _i678 = 0; _i678 < _list676.size; ++_i678) + org.apache.thrift.protocol.TList _list684 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list684.size); + String _elem685; + for (int _i686 = 0; _i686 < _list684.size; ++_i686) { - _elem677 = iprot.readString(); - struct.partitionnames.add(_elem677); + _elem685 = iprot.readString(); + struct.partitionnames.add(_elem685); } 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 _iter679 : struct.partitionnames) + for (String _iter687 : struct.partitionnames) { - oprot.writeString(_iter679); + oprot.writeString(_iter687); } 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 _iter680 : struct.partitionnames) + for (String _iter688 : struct.partitionnames) { - oprot.writeString(_iter680); + oprot.writeString(_iter688); } } 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 _list681 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list681.size); - String _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.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list689.size); + String _elem690; + for (int _i691 = 0; _i691 < _list689.size; ++_i691) { - _elem682 = iprot.readString(); - struct.partitionnames.add(_elem682); + _elem690 = iprot.readString(); + struct.partitionnames.add(_elem690); } } 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 fd0d3c9771..35ccef73a2 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 _list610 = iprot.readListBegin(); - struct.txnIds = new ArrayList(_list610.size); - long _elem611; - for (int _i612 = 0; _i612 < _list610.size; ++_i612) + org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); + struct.txnIds = new ArrayList(_list618.size); + long _elem619; + for (int _i620 = 0; _i620 < _list618.size; ++_i620) { - _elem611 = iprot.readI64(); - struct.txnIds.add(_elem611); + _elem619 = iprot.readI64(); + struct.txnIds.add(_elem619); } 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 _iter613 : struct.txnIds) + for (long _iter621 : struct.txnIds) { - oprot.writeI64(_iter613); + oprot.writeI64(_iter621); } 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 _iter614 : struct.txnIds) + for (long _iter622 : struct.txnIds) { - oprot.writeI64(_iter614); + oprot.writeI64(_iter622); } } 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 _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txnIds = new ArrayList(_list615.size); - long _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.I64, iprot.readI32()); + struct.txnIds = new ArrayList(_list623.size); + long _elem624; + for (int _i625 = 0; _i625 < _list623.size; ++_i625) { - _elem616 = iprot.readI64(); - struct.txnIds.add(_elem616); + _elem624 = iprot.readI64(); + struct.txnIds.add(_elem624); } } 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 fb47073ad5..35cbca3118 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 _list618 = iprot.readListBegin(); - struct.txnToWriteIds = new ArrayList(_list618.size); - TxnToWriteId _elem619; - for (int _i620 = 0; _i620 < _list618.size; ++_i620) + org.apache.thrift.protocol.TList _list626 = iprot.readListBegin(); + struct.txnToWriteIds = new ArrayList(_list626.size); + TxnToWriteId _elem627; + for (int _i628 = 0; _i628 < _list626.size; ++_i628) { - _elem619 = new TxnToWriteId(); - _elem619.read(iprot); - struct.txnToWriteIds.add(_elem619); + _elem627 = new TxnToWriteId(); + _elem627.read(iprot); + struct.txnToWriteIds.add(_elem627); } 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 _iter621 : struct.txnToWriteIds) + for (TxnToWriteId _iter629 : struct.txnToWriteIds) { - _iter621.write(oprot); + _iter629.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 _iter622 : struct.txnToWriteIds) + for (TxnToWriteId _iter630 : struct.txnToWriteIds) { - _iter622.write(oprot); + _iter630.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 _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.txnToWriteIds = new ArrayList(_list623.size); - TxnToWriteId _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.STRUCT, iprot.readI32()); + struct.txnToWriteIds = new ArrayList(_list631.size); + TxnToWriteId _elem632; + for (int _i633 = 0; _i633 < _list631.size; ++_i633) { - _elem624 = new TxnToWriteId(); - _elem624.read(iprot); - struct.txnToWriteIds.add(_elem624); + _elem632 = new TxnToWriteId(); + _elem632.read(iprot); + struct.txnToWriteIds.add(_elem632); } } 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 b4bf2ce253..2162163249 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 _list776 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list776.size); - long _elem777; - for (int _i778 = 0; _i778 < _list776.size; ++_i778) + org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list784.size); + long _elem785; + for (int _i786 = 0; _i786 < _list784.size; ++_i786) { - _elem777 = iprot.readI64(); - struct.fileIds.add(_elem777); + _elem785 = iprot.readI64(); + struct.fileIds.add(_elem785); } iprot.readListEnd(); } @@ -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 _iter779 : struct.fileIds) + for (long _iter787 : struct.fileIds) { - oprot.writeI64(_iter779); + oprot.writeI64(_iter787); } 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 _iter780 : struct.fileIds) + for (long _iter788 : struct.fileIds) { - oprot.writeI64(_iter780); + oprot.writeI64(_iter788); } } } @@ -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 _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list781.size); - long _elem782; - for (int _i783 = 0; _i783 < _list781.size; ++_i783) + 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) { - _elem782 = iprot.readI64(); - struct.fileIds.add(_elem782); + _elem790 = iprot.readI64(); + struct.fileIds.add(_elem790); } } 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 a214a870cc..65e9e4c7db 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 _list792 = iprot.readListBegin(); - struct.values = new ArrayList(_list792.size); - ClientCapability _elem793; - for (int _i794 = 0; _i794 < _list792.size; ++_i794) + org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); + struct.values = new ArrayList(_list800.size); + ClientCapability _elem801; + for (int _i802 = 0; _i802 < _list800.size; ++_i802) { - _elem793 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem793); + _elem801 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem801); } 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 _iter795 : struct.values) + for (ClientCapability _iter803 : struct.values) { - oprot.writeI32(_iter795.getValue()); + oprot.writeI32(_iter803.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 _iter796 : struct.values) + for (ClientCapability _iter804 : struct.values) { - oprot.writeI32(_iter796.getValue()); + oprot.writeI32(_iter804.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 _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list797.size); - ClientCapability _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.I32, iprot.readI32()); + struct.values = new ArrayList(_list805.size); + ClientCapability _elem806; + for (int _i807 = 0; _i807 < _list805.size; ++_i807) { - _elem798 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem798); + _elem806 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem806); } } struct.setValuesIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java index 17e6e9ce98..3c15f84942 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/CommitTxnRequest.java @@ -39,6 +39,7 @@ private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("CommitTxnRequest"); private static final org.apache.thrift.protocol.TField TXNID_FIELD_DESC = new org.apache.thrift.protocol.TField("txnid", org.apache.thrift.protocol.TType.I64, (short)1); + private static final org.apache.thrift.protocol.TField REPL_POLICY_FIELD_DESC = new org.apache.thrift.protocol.TField("replPolicy", org.apache.thrift.protocol.TType.STRING, (short)2); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -47,10 +48,12 @@ } private long txnid; // required + private String replPolicy; // 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 { - TXNID((short)1, "txnid"); + TXNID((short)1, "txnid"), + REPL_POLICY((short)2, "replPolicy"); private static final Map byName = new HashMap(); @@ -67,6 +70,8 @@ public static _Fields findByThriftId(int fieldId) { switch(fieldId) { case 1: // TXNID return TXNID; + case 2: // REPL_POLICY + return REPL_POLICY; default: return null; } @@ -109,11 +114,14 @@ public String getFieldName() { // isset id assignments private static final int __TXNID_ISSET_ID = 0; private byte __isset_bitfield = 0; + private static final _Fields optionals[] = {_Fields.REPL_POLICY}; 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.TXNID, new org.apache.thrift.meta_data.FieldMetaData("txnid", org.apache.thrift.TFieldRequirementType.REQUIRED, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))); + tmpMap.put(_Fields.REPL_POLICY, new org.apache.thrift.meta_data.FieldMetaData("replPolicy", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(CommitTxnRequest.class, metaDataMap); } @@ -135,6 +143,9 @@ public CommitTxnRequest( public CommitTxnRequest(CommitTxnRequest other) { __isset_bitfield = other.__isset_bitfield; this.txnid = other.txnid; + if (other.isSetReplPolicy()) { + this.replPolicy = other.replPolicy; + } } public CommitTxnRequest deepCopy() { @@ -145,6 +156,7 @@ public CommitTxnRequest deepCopy() { public void clear() { setTxnidIsSet(false); this.txnid = 0; + this.replPolicy = null; } public long getTxnid() { @@ -169,6 +181,29 @@ public void setTxnidIsSet(boolean value) { __isset_bitfield = EncodingUtils.setBit(__isset_bitfield, __TXNID_ISSET_ID, value); } + public String getReplPolicy() { + return this.replPolicy; + } + + public void setReplPolicy(String replPolicy) { + this.replPolicy = replPolicy; + } + + public void unsetReplPolicy() { + this.replPolicy = null; + } + + /** Returns true if field replPolicy is set (has been assigned a value) and false otherwise */ + public boolean isSetReplPolicy() { + return this.replPolicy != null; + } + + public void setReplPolicyIsSet(boolean value) { + if (!value) { + this.replPolicy = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case TXNID: @@ -179,6 +214,14 @@ public void setFieldValue(_Fields field, Object value) { } break; + case REPL_POLICY: + if (value == null) { + unsetReplPolicy(); + } else { + setReplPolicy((String)value); + } + break; + } } @@ -187,6 +230,9 @@ public Object getFieldValue(_Fields field) { case TXNID: return getTxnid(); + case REPL_POLICY: + return getReplPolicy(); + } throw new IllegalStateException(); } @@ -200,6 +246,8 @@ public boolean isSet(_Fields field) { switch (field) { case TXNID: return isSetTxnid(); + case REPL_POLICY: + return isSetReplPolicy(); } throw new IllegalStateException(); } @@ -226,6 +274,15 @@ public boolean equals(CommitTxnRequest that) { return false; } + boolean this_present_replPolicy = true && this.isSetReplPolicy(); + boolean that_present_replPolicy = true && that.isSetReplPolicy(); + if (this_present_replPolicy || that_present_replPolicy) { + if (!(this_present_replPolicy && that_present_replPolicy)) + return false; + if (!this.replPolicy.equals(that.replPolicy)) + return false; + } + return true; } @@ -238,6 +295,11 @@ public int hashCode() { if (present_txnid) list.add(txnid); + boolean present_replPolicy = true && (isSetReplPolicy()); + list.add(present_replPolicy); + if (present_replPolicy) + list.add(replPolicy); + return list.hashCode(); } @@ -259,6 +321,16 @@ public int compareTo(CommitTxnRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetReplPolicy()).compareTo(other.isSetReplPolicy()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetReplPolicy()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.replPolicy, other.replPolicy); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -282,6 +354,16 @@ public String toString() { sb.append("txnid:"); sb.append(this.txnid); first = false; + if (isSetReplPolicy()) { + if (!first) sb.append(", "); + sb.append("replPolicy:"); + if (this.replPolicy == null) { + sb.append("null"); + } else { + sb.append(this.replPolicy); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -339,6 +421,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CommitTxnRequest st org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 2: // REPL_POLICY + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -355,6 +445,13 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, CommitTxnRequest s oprot.writeFieldBegin(TXNID_FIELD_DESC); oprot.writeI64(struct.txnid); oprot.writeFieldEnd(); + if (struct.replPolicy != null) { + if (struct.isSetReplPolicy()) { + oprot.writeFieldBegin(REPL_POLICY_FIELD_DESC); + oprot.writeString(struct.replPolicy); + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -373,6 +470,14 @@ public CommitTxnRequestTupleScheme getScheme() { public void write(org.apache.thrift.protocol.TProtocol prot, CommitTxnRequest struct) throws org.apache.thrift.TException { TTupleProtocol oprot = (TTupleProtocol) prot; oprot.writeI64(struct.txnid); + BitSet optionals = new BitSet(); + if (struct.isSetReplPolicy()) { + optionals.set(0); + } + oprot.writeBitSet(optionals, 1); + if (struct.isSetReplPolicy()) { + oprot.writeString(struct.replPolicy); + } } @Override @@ -380,6 +485,11 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CommitTxnRequest str TTupleProtocol iprot = (TTupleProtocol) prot; struct.txnid = iprot.readI64(); struct.setTxnidIsSet(true); + BitSet incoming = iprot.readBitSet(1); + if (incoming.get(0)) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(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 a106cd4c37..e499e80e58 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 _map658 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map658.size); - String _key659; - String _val660; - for (int _i661 = 0; _i661 < _map658.size; ++_i661) + 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) { - _key659 = iprot.readString(); - _val660 = iprot.readString(); - struct.properties.put(_key659, _val660); + _key667 = iprot.readString(); + _val668 = iprot.readString(); + struct.properties.put(_key667, _val668); } 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 _iter662 : struct.properties.entrySet()) + for (Map.Entry _iter670 : struct.properties.entrySet()) { - oprot.writeString(_iter662.getKey()); - oprot.writeString(_iter662.getValue()); + oprot.writeString(_iter670.getKey()); + oprot.writeString(_iter670.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 _iter663 : struct.properties.entrySet()) + for (Map.Entry _iter671 : struct.properties.entrySet()) { - oprot.writeString(_iter663.getKey()); - oprot.writeString(_iter663.getValue()); + oprot.writeString(_iter671.getKey()); + oprot.writeString(_iter671.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 _map664 = 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*_map664.size); - String _key665; - String _val666; - for (int _i667 = 0; _i667 < _map664.size; ++_i667) + 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) { - _key665 = iprot.readString(); - _val666 = iprot.readString(); - struct.properties.put(_key665, _val666); + _key673 = iprot.readString(); + _val674 = iprot.readString(); + struct.properties.put(_key673, _val674); } } 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 d28972c734..1a16fac7a2 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 _set684 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set684.size); - String _elem685; - for (int _i686 = 0; _i686 < _set684.size; ++_i686) + 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) { - _elem685 = iprot.readString(); - struct.tablesUsed.add(_elem685); + _elem693 = iprot.readString(); + struct.tablesUsed.add(_elem693); } 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 _iter687 : struct.tablesUsed) + for (String _iter695 : struct.tablesUsed) { - oprot.writeString(_iter687); + oprot.writeString(_iter695); } 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 _iter688 : struct.tablesUsed) + for (String _iter696 : struct.tablesUsed) { - oprot.writeString(_iter688); + oprot.writeString(_iter696); } } 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 _set689 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set689.size); - String _elem690; - for (int _i691 = 0; _i691 < _set689.size; ++_i691) + 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) { - _elem690 = iprot.readString(); - struct.tablesUsed.add(_elem690); + _elem698 = iprot.readString(); + struct.tablesUsed.add(_elem698); } } 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 b95efc7e87..c06b95c1b8 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 _list896 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list896.size); - SchemaVersionDescriptor _elem897; - for (int _i898 = 0; _i898 < _list896.size; ++_i898) + org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list904.size); + SchemaVersionDescriptor _elem905; + for (int _i906 = 0; _i906 < _list904.size; ++_i906) { - _elem897 = new SchemaVersionDescriptor(); - _elem897.read(iprot); - struct.schemaVersions.add(_elem897); + _elem905 = new SchemaVersionDescriptor(); + _elem905.read(iprot); + struct.schemaVersions.add(_elem905); } 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 _iter899 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter907 : struct.schemaVersions) { - _iter899.write(oprot); + _iter907.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 _iter900 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter908 : struct.schemaVersions) { - _iter900.write(oprot); + _iter908.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 _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list901.size); - SchemaVersionDescriptor _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.schemaVersions = new ArrayList(_list909.size); + SchemaVersionDescriptor _elem910; + for (int _i911 = 0; _i911 < _list909.size; ++_i911) { - _elem902 = new SchemaVersionDescriptor(); - _elem902.read(iprot); - struct.schemaVersions.add(_elem902); + _elem910 = new SchemaVersionDescriptor(); + _elem910.read(iprot); + struct.schemaVersions.add(_elem910); } } 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 ddc0a6a2b1..14e6abe053 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 _list716 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list716.size); - String _elem717; - for (int _i718 = 0; _i718 < _list716.size; ++_i718) + org.apache.thrift.protocol.TList _list724 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list724.size); + String _elem725; + for (int _i726 = 0; _i726 < _list724.size; ++_i726) { - _elem717 = iprot.readString(); - struct.partitionVals.add(_elem717); + _elem725 = iprot.readString(); + struct.partitionVals.add(_elem725); } 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 _iter719 : struct.partitionVals) + for (String _iter727 : struct.partitionVals) { - oprot.writeString(_iter719); + oprot.writeString(_iter727); } 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 _iter720 : struct.partitionVals) + for (String _iter728 : struct.partitionVals) { - oprot.writeString(_iter720); + oprot.writeString(_iter728); } } } @@ -945,13 +945,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = 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.partitionVals = new ArrayList(_list729.size); + String _elem730; + for (int _i731 = 0; _i731 < _list729.size; ++_i731) { - _elem722 = iprot.readString(); - struct.partitionVals.add(_elem722); + _elem730 = iprot.readString(); + struct.partitionVals.add(_elem730); } } 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 0c5f62b9e2..dfdc357016 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 _list784 = iprot.readListBegin(); - struct.functions = new ArrayList(_list784.size); - Function _elem785; - for (int _i786 = 0; _i786 < _list784.size; ++_i786) + org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); + struct.functions = new ArrayList(_list792.size); + Function _elem793; + for (int _i794 = 0; _i794 < _list792.size; ++_i794) { - _elem785 = new Function(); - _elem785.read(iprot); - struct.functions.add(_elem785); + _elem793 = new Function(); + _elem793.read(iprot); + struct.functions.add(_elem793); } 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 _iter787 : struct.functions) + for (Function _iter795 : struct.functions) { - _iter787.write(oprot); + _iter795.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 _iter788 : struct.functions) + for (Function _iter796 : struct.functions) { - _iter788.write(oprot); + _iter796.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 _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list789.size); - Function _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.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list797.size); + Function _elem798; + for (int _i799 = 0; _i799 < _list797.size; ++_i799) { - _elem790 = new Function(); - _elem790.read(iprot); - struct.functions.add(_elem790); + _elem798 = new Function(); + _elem798.read(iprot); + struct.functions.add(_elem798); } } 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 b64dea4c3c..0adb11d45a 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 _list734 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list734.size); - long _elem735; - for (int _i736 = 0; _i736 < _list734.size; ++_i736) + org.apache.thrift.protocol.TList _list742 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list742.size); + long _elem743; + for (int _i744 = 0; _i744 < _list742.size; ++_i744) { - _elem735 = iprot.readI64(); - struct.fileIds.add(_elem735); + _elem743 = iprot.readI64(); + struct.fileIds.add(_elem743); } 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 _iter737 : struct.fileIds) + for (long _iter745 : struct.fileIds) { - oprot.writeI64(_iter737); + oprot.writeI64(_iter745); } 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 _iter738 : struct.fileIds) + for (long _iter746 : struct.fileIds) { - oprot.writeI64(_iter738); + oprot.writeI64(_iter746); } } 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 _list739 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list739.size); - long _elem740; - for (int _i741 = 0; _i741 < _list739.size; ++_i741) + 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) { - _elem740 = iprot.readI64(); - struct.fileIds.add(_elem740); + _elem748 = iprot.readI64(); + struct.fileIds.add(_elem748); } } 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 a01a36616f..f86d9eacda 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 _map724 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map724.size); - long _key725; - MetadataPpdResult _val726; - for (int _i727 = 0; _i727 < _map724.size; ++_i727) + 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) { - _key725 = iprot.readI64(); - _val726 = new MetadataPpdResult(); - _val726.read(iprot); - struct.metadata.put(_key725, _val726); + _key733 = iprot.readI64(); + _val734 = new MetadataPpdResult(); + _val734.read(iprot); + struct.metadata.put(_key733, _val734); } 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 _iter728 : struct.metadata.entrySet()) + for (Map.Entry _iter736 : struct.metadata.entrySet()) { - oprot.writeI64(_iter728.getKey()); - _iter728.getValue().write(oprot); + oprot.writeI64(_iter736.getKey()); + _iter736.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 _iter729 : struct.metadata.entrySet()) + for (Map.Entry _iter737 : struct.metadata.entrySet()) { - oprot.writeI64(_iter729.getKey()); - _iter729.getValue().write(oprot); + oprot.writeI64(_iter737.getKey()); + _iter737.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 _map730 = 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*_map730.size); - long _key731; - MetadataPpdResult _val732; - for (int _i733 = 0; _i733 < _map730.size; ++_i733) + 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) { - _key731 = iprot.readI64(); - _val732 = new MetadataPpdResult(); - _val732.read(iprot); - struct.metadata.put(_key731, _val732); + _key739 = iprot.readI64(); + _val740 = new MetadataPpdResult(); + _val740.read(iprot); + struct.metadata.put(_key739, _val740); } } 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 4541cf404b..b98375c333 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 _list752 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list752.size); - long _elem753; - for (int _i754 = 0; _i754 < _list752.size; ++_i754) + org.apache.thrift.protocol.TList _list760 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list760.size); + long _elem761; + for (int _i762 = 0; _i762 < _list760.size; ++_i762) { - _elem753 = iprot.readI64(); - struct.fileIds.add(_elem753); + _elem761 = iprot.readI64(); + struct.fileIds.add(_elem761); } 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 _iter755 : struct.fileIds) + for (long _iter763 : struct.fileIds) { - oprot.writeI64(_iter755); + oprot.writeI64(_iter763); } 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 _iter756 : struct.fileIds) + for (long _iter764 : struct.fileIds) { - oprot.writeI64(_iter756); + oprot.writeI64(_iter764); } } } @@ -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 _list757 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list757.size); - long _elem758; - for (int _i759 = 0; _i759 < _list757.size; ++_i759) + 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) { - _elem758 = iprot.readI64(); - struct.fileIds.add(_elem758); + _elem766 = iprot.readI64(); + struct.fileIds.add(_elem766); } } 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 3efb371223..d8d903ea87 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 _map742 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map742.size); - long _key743; - ByteBuffer _val744; - for (int _i745 = 0; _i745 < _map742.size; ++_i745) + 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) { - _key743 = iprot.readI64(); - _val744 = iprot.readBinary(); - struct.metadata.put(_key743, _val744); + _key751 = iprot.readI64(); + _val752 = iprot.readBinary(); + struct.metadata.put(_key751, _val752); } 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 _iter746 : struct.metadata.entrySet()) + for (Map.Entry _iter754 : struct.metadata.entrySet()) { - oprot.writeI64(_iter746.getKey()); - oprot.writeBinary(_iter746.getValue()); + oprot.writeI64(_iter754.getKey()); + oprot.writeBinary(_iter754.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 _iter747 : struct.metadata.entrySet()) + for (Map.Entry _iter755 : struct.metadata.entrySet()) { - oprot.writeI64(_iter747.getKey()); - oprot.writeBinary(_iter747.getValue()); + oprot.writeI64(_iter755.getKey()); + oprot.writeBinary(_iter755.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 _map748 = 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*_map748.size); - long _key749; - ByteBuffer _val750; - for (int _i751 = 0; _i751 < _map748.size; ++_i751) + 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) { - _key749 = iprot.readI64(); - _val750 = iprot.readBinary(); - struct.metadata.put(_key749, _val750); + _key757 = iprot.readI64(); + _val758 = iprot.readBinary(); + struct.metadata.put(_key757, _val758); } } 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 1c9fba8923..a264cdd8eb 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 _list800 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list800.size); - String _elem801; - for (int _i802 = 0; _i802 < _list800.size; ++_i802) + org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list808.size); + String _elem809; + for (int _i810 = 0; _i810 < _list808.size; ++_i810) { - _elem801 = iprot.readString(); - struct.tblNames.add(_elem801); + _elem809 = iprot.readString(); + struct.tblNames.add(_elem809); } 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 _iter803 : struct.tblNames) + for (String _iter811 : struct.tblNames) { - oprot.writeString(_iter803); + oprot.writeString(_iter811); } 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 _iter804 : struct.tblNames) + for (String _iter812 : struct.tblNames) { - oprot.writeString(_iter804); + oprot.writeString(_iter812); } } } @@ -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 _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list805.size); - String _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.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list813.size); + String _elem814; + for (int _i815 = 0; _i815 < _list813.size; ++_i815) { - _elem806 = iprot.readString(); - struct.tblNames.add(_elem806); + _elem814 = iprot.readString(); + struct.tblNames.add(_elem814); } } 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 c020773fd4..f4ccc8b467 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 _list808 = iprot.readListBegin(); - struct.tables = new ArrayList
(_list808.size); - Table _elem809; - for (int _i810 = 0; _i810 < _list808.size; ++_i810) + org.apache.thrift.protocol.TList _list816 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list816.size); + Table _elem817; + for (int _i818 = 0; _i818 < _list816.size; ++_i818) { - _elem809 = new Table(); - _elem809.read(iprot); - struct.tables.add(_elem809); + _elem817 = new Table(); + _elem817.read(iprot); + struct.tables.add(_elem817); } 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 _iter811 : struct.tables) + for (Table _iter819 : struct.tables) { - _iter811.write(oprot); + _iter819.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 _iter812 : struct.tables) + for (Table _iter820 : struct.tables) { - _iter812.write(oprot); + _iter820.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 _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list813.size); - Table _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.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list821.size); + Table _elem822; + for (int _i823 = 0; _i823 < _list821.size; ++_i823) { - _elem814 = new Table(); - _elem814.read(iprot); - struct.tables.add(_elem814); + _elem822 = new Table(); + _elem822.read(iprot); + struct.tables.add(_elem822); } } 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 68256c7850..58c608aa8c 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 _list586 = iprot.readListBegin(); - struct.fullTableNames = new ArrayList(_list586.size); - String _elem587; - for (int _i588 = 0; _i588 < _list586.size; ++_i588) + org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); + struct.fullTableNames = new ArrayList(_list594.size); + String _elem595; + for (int _i596 = 0; _i596 < _list594.size; ++_i596) { - _elem587 = iprot.readString(); - struct.fullTableNames.add(_elem587); + _elem595 = iprot.readString(); + struct.fullTableNames.add(_elem595); } 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 _iter589 : struct.fullTableNames) + for (String _iter597 : struct.fullTableNames) { - oprot.writeString(_iter589); + oprot.writeString(_iter597); } 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 _iter590 : struct.fullTableNames) + for (String _iter598 : struct.fullTableNames) { - oprot.writeString(_iter590); + oprot.writeString(_iter598); } } 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 _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fullTableNames = new ArrayList(_list591.size); - String _elem592; - for (int _i593 = 0; _i593 < _list591.size; ++_i593) + 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) { - _elem592 = iprot.readString(); - struct.fullTableNames.add(_elem592); + _elem600 = iprot.readString(); + struct.fullTableNames.add(_elem600); } } 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 5512fb4c1e..86bc346d98 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 _list602 = iprot.readListBegin(); - struct.tblValidWriteIds = new ArrayList(_list602.size); - TableValidWriteIds _elem603; - for (int _i604 = 0; _i604 < _list602.size; ++_i604) + org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); + struct.tblValidWriteIds = new ArrayList(_list610.size); + TableValidWriteIds _elem611; + for (int _i612 = 0; _i612 < _list610.size; ++_i612) { - _elem603 = new TableValidWriteIds(); - _elem603.read(iprot); - struct.tblValidWriteIds.add(_elem603); + _elem611 = new TableValidWriteIds(); + _elem611.read(iprot); + struct.tblValidWriteIds.add(_elem611); } 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 _iter605 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter613 : struct.tblValidWriteIds) { - _iter605.write(oprot); + _iter613.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 _iter606 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter614 : struct.tblValidWriteIds) { - _iter606.write(oprot); + _iter614.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 _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tblValidWriteIds = new ArrayList(_list607.size); - TableValidWriteIds _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.STRUCT, iprot.readI32()); + struct.tblValidWriteIds = new ArrayList(_list615.size); + TableValidWriteIds _elem616; + for (int _i617 = 0; _i617 < _list615.size; ++_i617) { - _elem608 = new TableValidWriteIds(); - _elem608.read(iprot); - struct.tblValidWriteIds.add(_elem608); + _elem616 = new TableValidWriteIds(); + _elem616.read(iprot); + struct.tblValidWriteIds.add(_elem616); } } 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 c5bc23e356..b270439737 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 _set642 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set642.size); - long _elem643; - for (int _i644 = 0; _i644 < _set642.size; ++_i644) + 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) { - _elem643 = iprot.readI64(); - struct.aborted.add(_elem643); + _elem651 = iprot.readI64(); + struct.aborted.add(_elem651); } 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 _set645 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set645.size); - long _elem646; - for (int _i647 = 0; _i647 < _set645.size; ++_i647) + 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) { - _elem646 = iprot.readI64(); - struct.nosuch.add(_elem646); + _elem654 = iprot.readI64(); + struct.nosuch.add(_elem654); } 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 _iter648 : struct.aborted) + for (long _iter656 : struct.aborted) { - oprot.writeI64(_iter648); + oprot.writeI64(_iter656); } 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 _iter649 : struct.nosuch) + for (long _iter657 : struct.nosuch) { - oprot.writeI64(_iter649); + oprot.writeI64(_iter657); } 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 _iter650 : struct.aborted) + for (long _iter658 : struct.aborted) { - oprot.writeI64(_iter650); + oprot.writeI64(_iter658); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter651 : struct.nosuch) + for (long _iter659 : struct.nosuch) { - oprot.writeI64(_iter651); + oprot.writeI64(_iter659); } } } @@ -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 _set652 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set652.size); - long _elem653; - for (int _i654 = 0; _i654 < _set652.size; ++_i654) + 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) { - _elem653 = iprot.readI64(); - struct.aborted.add(_elem653); + _elem661 = iprot.readI64(); + struct.aborted.add(_elem661); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set655 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set655.size); - long _elem656; - for (int _i657 = 0; _i657 < _set655.size; ++_i657) + 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) { - _elem656 = iprot.readI64(); - struct.nosuch.add(_elem656); + _elem664 = iprot.readI64(); + struct.nosuch.add(_elem664); } } 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 8a3361181b..79570a516c 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 _list700 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list700.size); - String _elem701; - for (int _i702 = 0; _i702 < _list700.size; ++_i702) + org.apache.thrift.protocol.TList _list708 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list708.size); + String _elem709; + for (int _i710 = 0; _i710 < _list708.size; ++_i710) { - _elem701 = iprot.readString(); - struct.filesAdded.add(_elem701); + _elem709 = iprot.readString(); + struct.filesAdded.add(_elem709); } 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 _list703 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list703.size); - String _elem704; - for (int _i705 = 0; _i705 < _list703.size; ++_i705) + org.apache.thrift.protocol.TList _list711 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list711.size); + String _elem712; + for (int _i713 = 0; _i713 < _list711.size; ++_i713) { - _elem704 = iprot.readString(); - struct.filesAddedChecksum.add(_elem704); + _elem712 = iprot.readString(); + struct.filesAddedChecksum.add(_elem712); } 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 _iter706 : struct.filesAdded) + for (String _iter714 : struct.filesAdded) { - oprot.writeString(_iter706); + oprot.writeString(_iter714); } 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 _iter707 : struct.filesAddedChecksum) + for (String _iter715 : struct.filesAddedChecksum) { - oprot.writeString(_iter707); + oprot.writeString(_iter715); } 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 _iter708 : struct.filesAdded) + for (String _iter716 : struct.filesAdded) { - oprot.writeString(_iter708); + oprot.writeString(_iter716); } } 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 _iter709 : struct.filesAddedChecksum) + for (String _iter717 : struct.filesAddedChecksum) { - oprot.writeString(_iter709); + oprot.writeString(_iter717); } } } @@ -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 _list710 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list710.size); - String _elem711; - for (int _i712 = 0; _i712 < _list710.size; ++_i712) + 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) { - _elem711 = iprot.readString(); - struct.filesAdded.add(_elem711); + _elem719 = iprot.readString(); + struct.filesAdded.add(_elem719); } } 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 _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list713.size); - String _elem714; - for (int _i715 = 0; _i715 < _list713.size; ++_i715) + org.apache.thrift.protocol.TList _list721 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list721.size); + String _elem722; + for (int _i723 = 0; _i723 < _list721.size; ++_i723) { - _elem714 = iprot.readString(); - struct.filesAddedChecksum.add(_elem714); + _elem722 = iprot.readString(); + struct.filesAddedChecksum.add(_elem722); } } 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 6f03ea96c6..62f0dd67c3 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 _list626 = iprot.readListBegin(); - struct.component = new ArrayList(_list626.size); - LockComponent _elem627; - for (int _i628 = 0; _i628 < _list626.size; ++_i628) + org.apache.thrift.protocol.TList _list634 = iprot.readListBegin(); + struct.component = new ArrayList(_list634.size); + LockComponent _elem635; + for (int _i636 = 0; _i636 < _list634.size; ++_i636) { - _elem627 = new LockComponent(); - _elem627.read(iprot); - struct.component.add(_elem627); + _elem635 = new LockComponent(); + _elem635.read(iprot); + struct.component.add(_elem635); } 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 _iter629 : struct.component) + for (LockComponent _iter637 : struct.component) { - _iter629.write(oprot); + _iter637.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 _iter630 : struct.component) + for (LockComponent _iter638 : struct.component) { - _iter630.write(oprot); + _iter638.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 _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list631.size); - LockComponent _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.component = new ArrayList(_list639.size); + LockComponent _elem640; + for (int _i641 = 0; _i641 < _list639.size; ++_i641) { - _elem632 = new LockComponent(); - _elem632.read(iprot); - struct.component.add(_elem632); + _elem640 = new LockComponent(); + _elem640.read(iprot); + struct.component.add(_elem640); } } 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 faee4be82e..69607280bb 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 @@ -518,13 +518,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 _set816 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set816.size); - String _elem817; - for (int _i818 = 0; _i818 < _set816.size; ++_i818) + 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) { - _elem817 = iprot.readString(); - struct.tablesUsed.add(_elem817); + _elem825 = iprot.readString(); + struct.tablesUsed.add(_elem825); } iprot.readSetEnd(); } @@ -566,9 +566,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 _iter819 : struct.tablesUsed) + for (String _iter827 : struct.tablesUsed) { - oprot.writeString(_iter819); + oprot.writeString(_iter827); } oprot.writeSetEnd(); } @@ -603,9 +603,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, Materialization str TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter820 : struct.tablesUsed) + for (String _iter828 : struct.tablesUsed) { - oprot.writeString(_iter820); + oprot.writeString(_iter828); } } oprot.writeI64(struct.invalidationTime); @@ -623,13 +623,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 _set821 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set821.size); - String _elem822; - for (int _i823 = 0; _i823 < _set821.size; ++_i823) + 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) { - _elem822 = iprot.readString(); - struct.tablesUsed.add(_elem822); + _elem830 = iprot.readString(); + struct.tablesUsed.add(_elem830); } } 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 5045bdadda..3c35a0eb0a 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 _list692 = iprot.readListBegin(); - struct.events = new ArrayList(_list692.size); - NotificationEvent _elem693; - for (int _i694 = 0; _i694 < _list692.size; ++_i694) + org.apache.thrift.protocol.TList _list700 = iprot.readListBegin(); + struct.events = new ArrayList(_list700.size); + NotificationEvent _elem701; + for (int _i702 = 0; _i702 < _list700.size; ++_i702) { - _elem693 = new NotificationEvent(); - _elem693.read(iprot); - struct.events.add(_elem693); + _elem701 = new NotificationEvent(); + _elem701.read(iprot); + struct.events.add(_elem701); } 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 _iter695 : struct.events) + for (NotificationEvent _iter703 : struct.events) { - _iter695.write(oprot); + _iter703.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 _iter696 : struct.events) + for (NotificationEvent _iter704 : struct.events) { - _iter696.write(oprot); + _iter704.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 _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list697.size); - NotificationEvent _elem698; - for (int _i699 = 0; _i699 < _list697.size; ++_i699) + org.apache.thrift.protocol.TList _list705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list705.size); + NotificationEvent _elem706; + for (int _i707 = 0; _i707 < _list705.size; ++_i707) { - _elem698 = new NotificationEvent(); - _elem698.read(iprot); - struct.events.add(_elem698); + _elem706 = new NotificationEvent(); + _elem706.read(iprot); + struct.events.add(_elem706); } } struct.setEventsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java index 4dd235a080..2dae2e952b 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnRequest.java @@ -42,6 +42,8 @@ private static final org.apache.thrift.protocol.TField USER_FIELD_DESC = new org.apache.thrift.protocol.TField("user", org.apache.thrift.protocol.TType.STRING, (short)2); private static final org.apache.thrift.protocol.TField HOSTNAME_FIELD_DESC = new org.apache.thrift.protocol.TField("hostname", org.apache.thrift.protocol.TType.STRING, (short)3); private static final org.apache.thrift.protocol.TField AGENT_INFO_FIELD_DESC = new org.apache.thrift.protocol.TField("agentInfo", org.apache.thrift.protocol.TType.STRING, (short)4); + private static final org.apache.thrift.protocol.TField REPL_POLICY_FIELD_DESC = new org.apache.thrift.protocol.TField("replPolicy", org.apache.thrift.protocol.TType.STRING, (short)5); + private static final org.apache.thrift.protocol.TField REPL_SRC_TXN_IDS_FIELD_DESC = new org.apache.thrift.protocol.TField("replSrcTxnIds", org.apache.thrift.protocol.TType.LIST, (short)6); private static final Map, SchemeFactory> schemes = new HashMap, SchemeFactory>(); static { @@ -53,13 +55,17 @@ private String user; // required private String hostname; // required private String agentInfo; // optional + private String replPolicy; // optional + private List replSrcTxnIds; // 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 { NUM_TXNS((short)1, "num_txns"), USER((short)2, "user"), HOSTNAME((short)3, "hostname"), - AGENT_INFO((short)4, "agentInfo"); + AGENT_INFO((short)4, "agentInfo"), + REPL_POLICY((short)5, "replPolicy"), + REPL_SRC_TXN_IDS((short)6, "replSrcTxnIds"); private static final Map byName = new HashMap(); @@ -82,6 +88,10 @@ public static _Fields findByThriftId(int fieldId) { return HOSTNAME; case 4: // AGENT_INFO return AGENT_INFO; + case 5: // REPL_POLICY + return REPL_POLICY; + case 6: // REPL_SRC_TXN_IDS + return REPL_SRC_TXN_IDS; default: return null; } @@ -124,7 +134,7 @@ public String getFieldName() { // isset id assignments private static final int __NUM_TXNS_ISSET_ID = 0; private byte __isset_bitfield = 0; - private static final _Fields optionals[] = {_Fields.AGENT_INFO}; + private static final _Fields optionals[] = {_Fields.AGENT_INFO,_Fields.REPL_POLICY,_Fields.REPL_SRC_TXN_IDS}; 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); @@ -136,6 +146,11 @@ public String getFieldName() { new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); tmpMap.put(_Fields.AGENT_INFO, new org.apache.thrift.meta_data.FieldMetaData("agentInfo", org.apache.thrift.TFieldRequirementType.OPTIONAL, new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.REPL_POLICY, new org.apache.thrift.meta_data.FieldMetaData("replPolicy", org.apache.thrift.TFieldRequirementType.OPTIONAL, + new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))); + tmpMap.put(_Fields.REPL_SRC_TXN_IDS, new org.apache.thrift.meta_data.FieldMetaData("replSrcTxnIds", 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.I64)))); metaDataMap = Collections.unmodifiableMap(tmpMap); org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(OpenTxnRequest.class, metaDataMap); } @@ -172,6 +187,13 @@ public OpenTxnRequest(OpenTxnRequest other) { if (other.isSetAgentInfo()) { this.agentInfo = other.agentInfo; } + if (other.isSetReplPolicy()) { + this.replPolicy = other.replPolicy; + } + if (other.isSetReplSrcTxnIds()) { + List __this__replSrcTxnIds = new ArrayList(other.replSrcTxnIds); + this.replSrcTxnIds = __this__replSrcTxnIds; + } } public OpenTxnRequest deepCopy() { @@ -186,6 +208,8 @@ public void clear() { this.hostname = null; this.agentInfo = "Unknown"; + this.replPolicy = null; + this.replSrcTxnIds = null; } public int getNum_txns() { @@ -279,6 +303,67 @@ public void setAgentInfoIsSet(boolean value) { } } + public String getReplPolicy() { + return this.replPolicy; + } + + public void setReplPolicy(String replPolicy) { + this.replPolicy = replPolicy; + } + + public void unsetReplPolicy() { + this.replPolicy = null; + } + + /** Returns true if field replPolicy is set (has been assigned a value) and false otherwise */ + public boolean isSetReplPolicy() { + return this.replPolicy != null; + } + + public void setReplPolicyIsSet(boolean value) { + if (!value) { + this.replPolicy = null; + } + } + + public int getReplSrcTxnIdsSize() { + return (this.replSrcTxnIds == null) ? 0 : this.replSrcTxnIds.size(); + } + + public java.util.Iterator getReplSrcTxnIdsIterator() { + return (this.replSrcTxnIds == null) ? null : this.replSrcTxnIds.iterator(); + } + + public void addToReplSrcTxnIds(long elem) { + if (this.replSrcTxnIds == null) { + this.replSrcTxnIds = new ArrayList(); + } + this.replSrcTxnIds.add(elem); + } + + public List getReplSrcTxnIds() { + return this.replSrcTxnIds; + } + + public void setReplSrcTxnIds(List replSrcTxnIds) { + this.replSrcTxnIds = replSrcTxnIds; + } + + public void unsetReplSrcTxnIds() { + this.replSrcTxnIds = null; + } + + /** Returns true if field replSrcTxnIds is set (has been assigned a value) and false otherwise */ + public boolean isSetReplSrcTxnIds() { + return this.replSrcTxnIds != null; + } + + public void setReplSrcTxnIdsIsSet(boolean value) { + if (!value) { + this.replSrcTxnIds = null; + } + } + public void setFieldValue(_Fields field, Object value) { switch (field) { case NUM_TXNS: @@ -313,6 +398,22 @@ public void setFieldValue(_Fields field, Object value) { } break; + case REPL_POLICY: + if (value == null) { + unsetReplPolicy(); + } else { + setReplPolicy((String)value); + } + break; + + case REPL_SRC_TXN_IDS: + if (value == null) { + unsetReplSrcTxnIds(); + } else { + setReplSrcTxnIds((List)value); + } + break; + } } @@ -330,6 +431,12 @@ public Object getFieldValue(_Fields field) { case AGENT_INFO: return getAgentInfo(); + case REPL_POLICY: + return getReplPolicy(); + + case REPL_SRC_TXN_IDS: + return getReplSrcTxnIds(); + } throw new IllegalStateException(); } @@ -349,6 +456,10 @@ public boolean isSet(_Fields field) { return isSetHostname(); case AGENT_INFO: return isSetAgentInfo(); + case REPL_POLICY: + return isSetReplPolicy(); + case REPL_SRC_TXN_IDS: + return isSetReplSrcTxnIds(); } throw new IllegalStateException(); } @@ -402,6 +513,24 @@ public boolean equals(OpenTxnRequest that) { return false; } + boolean this_present_replPolicy = true && this.isSetReplPolicy(); + boolean that_present_replPolicy = true && that.isSetReplPolicy(); + if (this_present_replPolicy || that_present_replPolicy) { + if (!(this_present_replPolicy && that_present_replPolicy)) + return false; + if (!this.replPolicy.equals(that.replPolicy)) + return false; + } + + boolean this_present_replSrcTxnIds = true && this.isSetReplSrcTxnIds(); + boolean that_present_replSrcTxnIds = true && that.isSetReplSrcTxnIds(); + if (this_present_replSrcTxnIds || that_present_replSrcTxnIds) { + if (!(this_present_replSrcTxnIds && that_present_replSrcTxnIds)) + return false; + if (!this.replSrcTxnIds.equals(that.replSrcTxnIds)) + return false; + } + return true; } @@ -429,6 +558,16 @@ public int hashCode() { if (present_agentInfo) list.add(agentInfo); + boolean present_replPolicy = true && (isSetReplPolicy()); + list.add(present_replPolicy); + if (present_replPolicy) + list.add(replPolicy); + + boolean present_replSrcTxnIds = true && (isSetReplSrcTxnIds()); + list.add(present_replSrcTxnIds); + if (present_replSrcTxnIds) + list.add(replSrcTxnIds); + return list.hashCode(); } @@ -480,6 +619,26 @@ public int compareTo(OpenTxnRequest other) { return lastComparison; } } + lastComparison = Boolean.valueOf(isSetReplPolicy()).compareTo(other.isSetReplPolicy()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetReplPolicy()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.replPolicy, other.replPolicy); + if (lastComparison != 0) { + return lastComparison; + } + } + lastComparison = Boolean.valueOf(isSetReplSrcTxnIds()).compareTo(other.isSetReplSrcTxnIds()); + if (lastComparison != 0) { + return lastComparison; + } + if (isSetReplSrcTxnIds()) { + lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.replSrcTxnIds, other.replSrcTxnIds); + if (lastComparison != 0) { + return lastComparison; + } + } return 0; } @@ -529,6 +688,26 @@ public String toString() { } first = false; } + if (isSetReplPolicy()) { + if (!first) sb.append(", "); + sb.append("replPolicy:"); + if (this.replPolicy == null) { + sb.append("null"); + } else { + sb.append(this.replPolicy); + } + first = false; + } + if (isSetReplSrcTxnIds()) { + if (!first) sb.append(", "); + sb.append("replSrcTxnIds:"); + if (this.replSrcTxnIds == null) { + sb.append("null"); + } else { + sb.append(this.replSrcTxnIds); + } + first = false; + } sb.append(")"); return sb.toString(); } @@ -618,6 +797,32 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnRequest stru org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } break; + case 5: // REPL_POLICY + if (schemeField.type == org.apache.thrift.protocol.TType.STRING) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; + case 6: // REPL_SRC_TXN_IDS + if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { + { + org.apache.thrift.protocol.TList _list570 = iprot.readListBegin(); + struct.replSrcTxnIds = new ArrayList(_list570.size); + long _elem571; + for (int _i572 = 0; _i572 < _list570.size; ++_i572) + { + _elem571 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem571); + } + iprot.readListEnd(); + } + struct.setReplSrcTxnIdsIsSet(true); + } else { + org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); + } + break; default: org.apache.thrift.protocol.TProtocolUtil.skip(iprot, schemeField.type); } @@ -651,6 +856,27 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, OpenTxnRequest str oprot.writeFieldEnd(); } } + if (struct.replPolicy != null) { + if (struct.isSetReplPolicy()) { + oprot.writeFieldBegin(REPL_POLICY_FIELD_DESC); + oprot.writeString(struct.replPolicy); + oprot.writeFieldEnd(); + } + } + if (struct.replSrcTxnIds != null) { + if (struct.isSetReplSrcTxnIds()) { + oprot.writeFieldBegin(REPL_SRC_TXN_IDS_FIELD_DESC); + { + oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.replSrcTxnIds.size())); + for (long _iter573 : struct.replSrcTxnIds) + { + oprot.writeI64(_iter573); + } + oprot.writeListEnd(); + } + oprot.writeFieldEnd(); + } + } oprot.writeFieldStop(); oprot.writeStructEnd(); } @@ -675,10 +901,28 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnRequest stru if (struct.isSetAgentInfo()) { optionals.set(0); } - oprot.writeBitSet(optionals, 1); + if (struct.isSetReplPolicy()) { + optionals.set(1); + } + if (struct.isSetReplSrcTxnIds()) { + optionals.set(2); + } + oprot.writeBitSet(optionals, 3); if (struct.isSetAgentInfo()) { oprot.writeString(struct.agentInfo); } + if (struct.isSetReplPolicy()) { + oprot.writeString(struct.replPolicy); + } + if (struct.isSetReplSrcTxnIds()) { + { + oprot.writeI32(struct.replSrcTxnIds.size()); + for (long _iter574 : struct.replSrcTxnIds) + { + oprot.writeI64(_iter574); + } + } + } } @Override @@ -690,11 +934,28 @@ public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnRequest struc struct.setUserIsSet(true); struct.hostname = iprot.readString(); struct.setHostnameIsSet(true); - BitSet incoming = iprot.readBitSet(1); + BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { struct.agentInfo = iprot.readString(); struct.setAgentInfoIsSet(true); } + if (incoming.get(1)) { + struct.replPolicy = iprot.readString(); + struct.setReplPolicyIsSet(true); + } + if (incoming.get(2)) { + { + org.apache.thrift.protocol.TList _list575 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.replSrcTxnIds = new ArrayList(_list575.size); + long _elem576; + for (int _i577 = 0; _i577 < _list575.size; ++_i577) + { + _elem576 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem576); + } + } + struct.setReplSrcTxnIdsIsSet(true); + } } } diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java index 7adac3a800..9e38d6cb70 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/OpenTxnsResponse.java @@ -351,13 +351,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, OpenTxnsResponse st case 1: // TXN_IDS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list570 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list570.size); - long _elem571; - for (int _i572 = 0; _i572 < _list570.size; ++_i572) + org.apache.thrift.protocol.TList _list578 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list578.size); + long _elem579; + for (int _i580 = 0; _i580 < _list578.size; ++_i580) { - _elem571 = iprot.readI64(); - struct.txn_ids.add(_elem571); + _elem579 = iprot.readI64(); + struct.txn_ids.add(_elem579); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, OpenTxnsResponse s oprot.writeFieldBegin(TXN_IDS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, struct.txn_ids.size())); - for (long _iter573 : struct.txn_ids) + for (long _iter581 : struct.txn_ids) { - oprot.writeI64(_iter573); + oprot.writeI64(_iter581); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.txn_ids.size()); - for (long _iter574 : struct.txn_ids) + for (long _iter582 : struct.txn_ids) { - oprot.writeI64(_iter574); + oprot.writeI64(_iter582); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse st public void read(org.apache.thrift.protocol.TProtocol prot, OpenTxnsResponse struct) throws org.apache.thrift.TException { TTupleProtocol iprot = (TTupleProtocol) prot; { - org.apache.thrift.protocol.TList _list575 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list575.size); - long _elem576; - for (int _i577 = 0; _i577 < _list575.size; ++_i577) + org.apache.thrift.protocol.TList _list583 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list583.size); + long _elem584; + for (int _i585 = 0; _i585 < _list583.size; ++_i585) { - _elem576 = iprot.readI64(); - struct.txn_ids.add(_elem576); + _elem584 = iprot.readI64(); + struct.txn_ids.add(_elem584); } } struct.setTxn_idsIsSet(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 e8cba59998..474555fb8a 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 _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(); } @@ -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 _list763 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list763.size); - ByteBuffer _elem764; - for (int _i765 = 0; _i765 < _list763.size; ++_i765) + org.apache.thrift.protocol.TList _list771 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list771.size); + ByteBuffer _elem772; + for (int _i773 = 0; _i773 < _list771.size; ++_i773) { - _elem764 = iprot.readBinary(); - struct.metadata.add(_elem764); + _elem772 = iprot.readBinary(); + struct.metadata.add(_elem772); } 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 _iter766 : struct.fileIds) + for (long _iter774 : struct.fileIds) { - oprot.writeI64(_iter766); + oprot.writeI64(_iter774); } 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 _iter767 : struct.metadata) + for (ByteBuffer _iter775 : struct.metadata) { - oprot.writeBinary(_iter767); + oprot.writeBinary(_iter775); } 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 _iter768 : struct.fileIds) + for (long _iter776 : struct.fileIds) { - oprot.writeI64(_iter768); + oprot.writeI64(_iter776); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter769 : struct.metadata) + for (ByteBuffer _iter777 : struct.metadata) { - oprot.writeBinary(_iter769); + oprot.writeBinary(_iter777); } } 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 _list770 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list770.size); - long _elem771; - for (int _i772 = 0; _i772 < _list770.size; ++_i772) + 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) { - _elem771 = iprot.readI64(); - struct.fileIds.add(_elem771); + _elem779 = iprot.readI64(); + struct.fileIds.add(_elem779); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list773.size); - ByteBuffer _elem774; - for (int _i775 = 0; _i775 < _list773.size; ++_i775) + org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list781.size); + ByteBuffer _elem782; + for (int _i783 = 0; _i783 < _list781.size; ++_i783) { - _elem774 = iprot.readBinary(); - struct.metadata.add(_elem774); + _elem782 = iprot.readBinary(); + struct.metadata.add(_elem782); } } struct.setMetadataIsSet(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 da919d7305..12a8d1be65 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 _list888 = iprot.readListBegin(); - struct.cols = new ArrayList(_list888.size); - FieldSchema _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); + struct.cols = new ArrayList(_list896.size); + FieldSchema _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem889 = new FieldSchema(); - _elem889.read(iprot); - struct.cols.add(_elem889); + _elem897 = new FieldSchema(); + _elem897.read(iprot); + struct.cols.add(_elem897); } 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 _iter891 : struct.cols) + for (FieldSchema _iter899 : struct.cols) { - _iter891.write(oprot); + _iter899.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 _iter892 : struct.cols) + for (FieldSchema _iter900 : struct.cols) { - _iter892.write(oprot); + _iter900.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 _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list893.size); - FieldSchema _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.cols = new ArrayList(_list901.size); + FieldSchema _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem894 = new FieldSchema(); - _elem894.read(iprot); - struct.cols.add(_elem894); + _elem902 = new FieldSchema(); + _elem902.read(iprot); + struct.cols.add(_elem902); } } 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 35d6d24c30..6c418f5b43 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 _list668 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list668.size); - ShowCompactResponseElement _elem669; - for (int _i670 = 0; _i670 < _list668.size; ++_i670) + org.apache.thrift.protocol.TList _list676 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list676.size); + ShowCompactResponseElement _elem677; + for (int _i678 = 0; _i678 < _list676.size; ++_i678) { - _elem669 = new ShowCompactResponseElement(); - _elem669.read(iprot); - struct.compacts.add(_elem669); + _elem677 = new ShowCompactResponseElement(); + _elem677.read(iprot); + struct.compacts.add(_elem677); } 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 _iter671 : struct.compacts) + for (ShowCompactResponseElement _iter679 : struct.compacts) { - _iter671.write(oprot); + _iter679.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 _iter672 : struct.compacts) + for (ShowCompactResponseElement _iter680 : struct.compacts) { - _iter672.write(oprot); + _iter680.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 _list673 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list673.size); - ShowCompactResponseElement _elem674; - for (int _i675 = 0; _i675 < _list673.size; ++_i675) + 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) { - _elem674 = new ShowCompactResponseElement(); - _elem674.read(iprot); - struct.compacts.add(_elem674); + _elem682 = new ShowCompactResponseElement(); + _elem682.read(iprot); + struct.compacts.add(_elem682); } } 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 c8fd20eb1c..857dc7a680 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 _list634 = iprot.readListBegin(); - struct.locks = new ArrayList(_list634.size); - ShowLocksResponseElement _elem635; - for (int _i636 = 0; _i636 < _list634.size; ++_i636) + org.apache.thrift.protocol.TList _list642 = iprot.readListBegin(); + struct.locks = new ArrayList(_list642.size); + ShowLocksResponseElement _elem643; + for (int _i644 = 0; _i644 < _list642.size; ++_i644) { - _elem635 = new ShowLocksResponseElement(); - _elem635.read(iprot); - struct.locks.add(_elem635); + _elem643 = new ShowLocksResponseElement(); + _elem643.read(iprot); + struct.locks.add(_elem643); } 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 _iter637 : struct.locks) + for (ShowLocksResponseElement _iter645 : struct.locks) { - _iter637.write(oprot); + _iter645.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 _iter638 : struct.locks) + for (ShowLocksResponseElement _iter646 : struct.locks) { - _iter638.write(oprot); + _iter646.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 _list639 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list639.size); - ShowLocksResponseElement _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.locks = new ArrayList(_list647.size); + ShowLocksResponseElement _elem648; + for (int _i649 = 0; _i649 < _list647.size; ++_i649) { - _elem640 = new ShowLocksResponseElement(); - _elem640.read(iprot); - struct.locks.add(_elem640); + _elem648 = new ShowLocksResponseElement(); + _elem648.read(iprot); + struct.locks.add(_elem648); } } 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 e0defbdeba..40822c61c4 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 _list594 = iprot.readListBegin(); - struct.invalidWriteIds = new ArrayList(_list594.size); - long _elem595; - for (int _i596 = 0; _i596 < _list594.size; ++_i596) + org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); + struct.invalidWriteIds = new ArrayList(_list602.size); + long _elem603; + for (int _i604 = 0; _i604 < _list602.size; ++_i604) { - _elem595 = iprot.readI64(); - struct.invalidWriteIds.add(_elem595); + _elem603 = iprot.readI64(); + struct.invalidWriteIds.add(_elem603); } 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 _iter597 : struct.invalidWriteIds) + for (long _iter605 : struct.invalidWriteIds) { - oprot.writeI64(_iter597); + oprot.writeI64(_iter605); } 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 _iter598 : struct.invalidWriteIds) + for (long _iter606 : struct.invalidWriteIds) { - oprot.writeI64(_iter598); + oprot.writeI64(_iter606); } } 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 _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.invalidWriteIds = new ArrayList(_list599.size); - long _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.I64, iprot.readI32()); + struct.invalidWriteIds = new ArrayList(_list607.size); + long _elem608; + for (int _i609 = 0; _i609 < _list607.size; ++_i609) { - _elem600 = iprot.readI64(); - struct.invalidWriteIds.add(_elem600); + _elem608 = iprot.readI64(); + struct.invalidWriteIds.add(_elem608); } } 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 751eec4e85..0bca4ebafd 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 @@ -40307,13 +40307,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 _list904 = iprot.readListBegin(); - struct.success = new ArrayList(_list904.size); - String _elem905; - for (int _i906 = 0; _i906 < _list904.size; ++_i906) + org.apache.thrift.protocol.TList _list912 = iprot.readListBegin(); + struct.success = new ArrayList(_list912.size); + String _elem913; + for (int _i914 = 0; _i914 < _list912.size; ++_i914) { - _elem905 = iprot.readString(); - struct.success.add(_elem905); + _elem913 = iprot.readString(); + struct.success.add(_elem913); } iprot.readListEnd(); } @@ -40348,9 +40348,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 _iter907 : struct.success) + for (String _iter915 : struct.success) { - oprot.writeString(_iter907); + oprot.writeString(_iter915); } oprot.writeListEnd(); } @@ -40389,9 +40389,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter908 : struct.success) + for (String _iter916 : struct.success) { - oprot.writeString(_iter908); + oprot.writeString(_iter916); } } } @@ -40406,13 +40406,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 _list909 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list909.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list917.size); + String _elem918; + for (int _i919 = 0; _i919 < _list917.size; ++_i919) { - _elem910 = iprot.readString(); - struct.success.add(_elem910); + _elem918 = iprot.readString(); + struct.success.add(_elem918); } } struct.setSuccessIsSet(true); @@ -41066,13 +41066,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 _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(); } @@ -41107,9 +41107,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 _iter915 : struct.success) + for (String _iter923 : struct.success) { - oprot.writeString(_iter915); + oprot.writeString(_iter923); } oprot.writeListEnd(); } @@ -41148,9 +41148,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter916 : struct.success) + for (String _iter924 : struct.success) { - oprot.writeString(_iter916); + oprot.writeString(_iter924); } } } @@ -41165,13 +41165,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 _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); @@ -45778,16 +45778,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 _map920 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map920.size); - String _key921; - Type _val922; - for (int _i923 = 0; _i923 < _map920.size; ++_i923) + 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) { - _key921 = iprot.readString(); - _val922 = new Type(); - _val922.read(iprot); - struct.success.put(_key921, _val922); + _key929 = iprot.readString(); + _val930 = new Type(); + _val930.read(iprot); + struct.success.put(_key929, _val930); } iprot.readMapEnd(); } @@ -45822,10 +45822,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 _iter924 : struct.success.entrySet()) + for (Map.Entry _iter932 : struct.success.entrySet()) { - oprot.writeString(_iter924.getKey()); - _iter924.getValue().write(oprot); + oprot.writeString(_iter932.getKey()); + _iter932.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -45864,10 +45864,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 _iter925 : struct.success.entrySet()) + for (Map.Entry _iter933 : struct.success.entrySet()) { - oprot.writeString(_iter925.getKey()); - _iter925.getValue().write(oprot); + oprot.writeString(_iter933.getKey()); + _iter933.getValue().write(oprot); } } } @@ -45882,16 +45882,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 _map926 = 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*_map926.size); - String _key927; - Type _val928; - for (int _i929 = 0; _i929 < _map926.size; ++_i929) + 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) { - _key927 = iprot.readString(); - _val928 = new Type(); - _val928.read(iprot); - struct.success.put(_key927, _val928); + _key935 = iprot.readString(); + _val936 = new Type(); + _val936.read(iprot); + struct.success.put(_key935, _val936); } } struct.setSuccessIsSet(true); @@ -46926,14 +46926,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 _list930 = iprot.readListBegin(); - struct.success = new ArrayList(_list930.size); - FieldSchema _elem931; - for (int _i932 = 0; _i932 < _list930.size; ++_i932) + org.apache.thrift.protocol.TList _list938 = iprot.readListBegin(); + struct.success = new ArrayList(_list938.size); + FieldSchema _elem939; + for (int _i940 = 0; _i940 < _list938.size; ++_i940) { - _elem931 = new FieldSchema(); - _elem931.read(iprot); - struct.success.add(_elem931); + _elem939 = new FieldSchema(); + _elem939.read(iprot); + struct.success.add(_elem939); } iprot.readListEnd(); } @@ -46986,9 +46986,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 _iter933 : struct.success) + for (FieldSchema _iter941 : struct.success) { - _iter933.write(oprot); + _iter941.write(oprot); } oprot.writeListEnd(); } @@ -47043,9 +47043,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter934 : struct.success) + for (FieldSchema _iter942 : struct.success) { - _iter934.write(oprot); + _iter942.write(oprot); } } } @@ -47066,14 +47066,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 _list935 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list935.size); - FieldSchema _elem936; - for (int _i937 = 0; _i937 < _list935.size; ++_i937) + 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) { - _elem936 = new FieldSchema(); - _elem936.read(iprot); - struct.success.add(_elem936); + _elem944 = new FieldSchema(); + _elem944.read(iprot); + struct.success.add(_elem944); } } struct.setSuccessIsSet(true); @@ -48227,14 +48227,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 _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(); } @@ -48287,9 +48287,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 _iter941 : struct.success) + for (FieldSchema _iter949 : struct.success) { - _iter941.write(oprot); + _iter949.write(oprot); } oprot.writeListEnd(); } @@ -48344,9 +48344,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter942 : struct.success) + for (FieldSchema _iter950 : struct.success) { - _iter942.write(oprot); + _iter950.write(oprot); } } } @@ -48367,14 +48367,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 _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); @@ -49419,14 +49419,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 _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(); } @@ -49479,9 +49479,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 _iter949 : struct.success) + for (FieldSchema _iter957 : struct.success) { - _iter949.write(oprot); + _iter957.write(oprot); } oprot.writeListEnd(); } @@ -49536,9 +49536,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter950 : struct.success) + for (FieldSchema _iter958 : struct.success) { - _iter950.write(oprot); + _iter958.write(oprot); } } } @@ -49559,14 +49559,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 _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); @@ -50720,14 +50720,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 _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(); } @@ -50780,9 +50780,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 _iter957 : struct.success) + for (FieldSchema _iter965 : struct.success) { - _iter957.write(oprot); + _iter965.write(oprot); } oprot.writeListEnd(); } @@ -50837,9 +50837,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter958 : struct.success) + for (FieldSchema _iter966 : struct.success) { - _iter958.write(oprot); + _iter966.write(oprot); } } } @@ -50860,14 +50860,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 _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); @@ -53996,14 +53996,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 _list962 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list962.size); - SQLPrimaryKey _elem963; - for (int _i964 = 0; _i964 < _list962.size; ++_i964) + org.apache.thrift.protocol.TList _list970 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list970.size); + SQLPrimaryKey _elem971; + for (int _i972 = 0; _i972 < _list970.size; ++_i972) { - _elem963 = new SQLPrimaryKey(); - _elem963.read(iprot); - struct.primaryKeys.add(_elem963); + _elem971 = new SQLPrimaryKey(); + _elem971.read(iprot); + struct.primaryKeys.add(_elem971); } iprot.readListEnd(); } @@ -54015,14 +54015,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 _list965 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list965.size); - SQLForeignKey _elem966; - for (int _i967 = 0; _i967 < _list965.size; ++_i967) + org.apache.thrift.protocol.TList _list973 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list973.size); + SQLForeignKey _elem974; + for (int _i975 = 0; _i975 < _list973.size; ++_i975) { - _elem966 = new SQLForeignKey(); - _elem966.read(iprot); - struct.foreignKeys.add(_elem966); + _elem974 = new SQLForeignKey(); + _elem974.read(iprot); + struct.foreignKeys.add(_elem974); } iprot.readListEnd(); } @@ -54034,14 +54034,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 _list968 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list968.size); - SQLUniqueConstraint _elem969; - for (int _i970 = 0; _i970 < _list968.size; ++_i970) + org.apache.thrift.protocol.TList _list976 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list976.size); + SQLUniqueConstraint _elem977; + for (int _i978 = 0; _i978 < _list976.size; ++_i978) { - _elem969 = new SQLUniqueConstraint(); - _elem969.read(iprot); - struct.uniqueConstraints.add(_elem969); + _elem977 = new SQLUniqueConstraint(); + _elem977.read(iprot); + struct.uniqueConstraints.add(_elem977); } iprot.readListEnd(); } @@ -54053,14 +54053,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 _list971 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list971.size); - SQLNotNullConstraint _elem972; - for (int _i973 = 0; _i973 < _list971.size; ++_i973) + org.apache.thrift.protocol.TList _list979 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list979.size); + SQLNotNullConstraint _elem980; + for (int _i981 = 0; _i981 < _list979.size; ++_i981) { - _elem972 = new SQLNotNullConstraint(); - _elem972.read(iprot); - struct.notNullConstraints.add(_elem972); + _elem980 = new SQLNotNullConstraint(); + _elem980.read(iprot); + struct.notNullConstraints.add(_elem980); } iprot.readListEnd(); } @@ -54072,14 +54072,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 _list974 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list974.size); - SQLDefaultConstraint _elem975; - for (int _i976 = 0; _i976 < _list974.size; ++_i976) + org.apache.thrift.protocol.TList _list982 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list982.size); + SQLDefaultConstraint _elem983; + for (int _i984 = 0; _i984 < _list982.size; ++_i984) { - _elem975 = new SQLDefaultConstraint(); - _elem975.read(iprot); - struct.defaultConstraints.add(_elem975); + _elem983 = new SQLDefaultConstraint(); + _elem983.read(iprot); + struct.defaultConstraints.add(_elem983); } iprot.readListEnd(); } @@ -54091,14 +54091,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 _list977 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list977.size); - SQLCheckConstraint _elem978; - for (int _i979 = 0; _i979 < _list977.size; ++_i979) + org.apache.thrift.protocol.TList _list985 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list985.size); + SQLCheckConstraint _elem986; + for (int _i987 = 0; _i987 < _list985.size; ++_i987) { - _elem978 = new SQLCheckConstraint(); - _elem978.read(iprot); - struct.checkConstraints.add(_elem978); + _elem986 = new SQLCheckConstraint(); + _elem986.read(iprot); + struct.checkConstraints.add(_elem986); } iprot.readListEnd(); } @@ -54129,9 +54129,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 _iter980 : struct.primaryKeys) + for (SQLPrimaryKey _iter988 : struct.primaryKeys) { - _iter980.write(oprot); + _iter988.write(oprot); } oprot.writeListEnd(); } @@ -54141,9 +54141,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 _iter981 : struct.foreignKeys) + for (SQLForeignKey _iter989 : struct.foreignKeys) { - _iter981.write(oprot); + _iter989.write(oprot); } oprot.writeListEnd(); } @@ -54153,9 +54153,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 _iter982 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter990 : struct.uniqueConstraints) { - _iter982.write(oprot); + _iter990.write(oprot); } oprot.writeListEnd(); } @@ -54165,9 +54165,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 _iter983 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter991 : struct.notNullConstraints) { - _iter983.write(oprot); + _iter991.write(oprot); } oprot.writeListEnd(); } @@ -54177,9 +54177,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 _iter984 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter992 : struct.defaultConstraints) { - _iter984.write(oprot); + _iter992.write(oprot); } oprot.writeListEnd(); } @@ -54189,9 +54189,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 _iter985 : struct.checkConstraints) + for (SQLCheckConstraint _iter993 : struct.checkConstraints) { - _iter985.write(oprot); + _iter993.write(oprot); } oprot.writeListEnd(); } @@ -54243,54 +54243,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter986 : struct.primaryKeys) + for (SQLPrimaryKey _iter994 : struct.primaryKeys) { - _iter986.write(oprot); + _iter994.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter987 : struct.foreignKeys) + for (SQLForeignKey _iter995 : struct.foreignKeys) { - _iter987.write(oprot); + _iter995.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter988 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter996 : struct.uniqueConstraints) { - _iter988.write(oprot); + _iter996.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter989 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter997 : struct.notNullConstraints) { - _iter989.write(oprot); + _iter997.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter990 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter998 : struct.defaultConstraints) { - _iter990.write(oprot); + _iter998.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter991 : struct.checkConstraints) + for (SQLCheckConstraint _iter999 : struct.checkConstraints) { - _iter991.write(oprot); + _iter999.write(oprot); } } } @@ -54307,84 +54307,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list992 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list992.size); - SQLPrimaryKey _elem993; - for (int _i994 = 0; _i994 < _list992.size; ++_i994) + 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) { - _elem993 = new SQLPrimaryKey(); - _elem993.read(iprot); - struct.primaryKeys.add(_elem993); + _elem1001 = new SQLPrimaryKey(); + _elem1001.read(iprot); + struct.primaryKeys.add(_elem1001); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list995 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list995.size); - SQLForeignKey _elem996; - for (int _i997 = 0; _i997 < _list995.size; ++_i997) + 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) { - _elem996 = new SQLForeignKey(); - _elem996.read(iprot); - struct.foreignKeys.add(_elem996); + _elem1004 = new SQLForeignKey(); + _elem1004.read(iprot); + struct.foreignKeys.add(_elem1004); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list998 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list998.size); - SQLUniqueConstraint _elem999; - for (int _i1000 = 0; _i1000 < _list998.size; ++_i1000) + 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) { - _elem999 = new SQLUniqueConstraint(); - _elem999.read(iprot); - struct.uniqueConstraints.add(_elem999); + _elem1007 = new SQLUniqueConstraint(); + _elem1007.read(iprot); + struct.uniqueConstraints.add(_elem1007); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1001 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list1001.size); - SQLNotNullConstraint _elem1002; - for (int _i1003 = 0; _i1003 < _list1001.size; ++_i1003) + 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) { - _elem1002 = new SQLNotNullConstraint(); - _elem1002.read(iprot); - struct.notNullConstraints.add(_elem1002); + _elem1010 = new SQLNotNullConstraint(); + _elem1010.read(iprot); + struct.notNullConstraints.add(_elem1010); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1004 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list1004.size); - SQLDefaultConstraint _elem1005; - for (int _i1006 = 0; _i1006 < _list1004.size; ++_i1006) + 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) { - _elem1005 = new SQLDefaultConstraint(); - _elem1005.read(iprot); - struct.defaultConstraints.add(_elem1005); + _elem1013 = new SQLDefaultConstraint(); + _elem1013.read(iprot); + struct.defaultConstraints.add(_elem1013); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list1007 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list1007.size); - SQLCheckConstraint _elem1008; - for (int _i1009 = 0; _i1009 < _list1007.size; ++_i1009) + 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) { - _elem1008 = new SQLCheckConstraint(); - _elem1008.read(iprot); - struct.checkConstraints.add(_elem1008); + _elem1016 = new SQLCheckConstraint(); + _elem1016.read(iprot); + struct.checkConstraints.add(_elem1016); } } struct.setCheckConstraintsIsSet(true); @@ -63534,13 +63534,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 _list1010 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list1010.size); - String _elem1011; - for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) + org.apache.thrift.protocol.TList _list1018 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list1018.size); + String _elem1019; + for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) { - _elem1011 = iprot.readString(); - struct.partNames.add(_elem1011); + _elem1019 = iprot.readString(); + struct.partNames.add(_elem1019); } iprot.readListEnd(); } @@ -63576,9 +63576,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 _iter1013 : struct.partNames) + for (String _iter1021 : struct.partNames) { - oprot.writeString(_iter1013); + oprot.writeString(_iter1021); } oprot.writeListEnd(); } @@ -63621,9 +63621,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter1014 : struct.partNames) + for (String _iter1022 : struct.partNames) { - oprot.writeString(_iter1014); + oprot.writeString(_iter1022); } } } @@ -63643,13 +63643,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list1015.size); - String _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.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list1023.size); + String _elem1024; + for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) { - _elem1016 = iprot.readString(); - struct.partNames.add(_elem1016); + _elem1024 = iprot.readString(); + struct.partNames.add(_elem1024); } } struct.setPartNamesIsSet(true); @@ -64874,13 +64874,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 _list1018 = iprot.readListBegin(); - struct.success = new ArrayList(_list1018.size); - String _elem1019; - for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) + org.apache.thrift.protocol.TList _list1026 = iprot.readListBegin(); + struct.success = new ArrayList(_list1026.size); + String _elem1027; + for (int _i1028 = 0; _i1028 < _list1026.size; ++_i1028) { - _elem1019 = iprot.readString(); - struct.success.add(_elem1019); + _elem1027 = iprot.readString(); + struct.success.add(_elem1027); } iprot.readListEnd(); } @@ -64915,9 +64915,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 _iter1021 : struct.success) + for (String _iter1029 : struct.success) { - oprot.writeString(_iter1021); + oprot.writeString(_iter1029); } oprot.writeListEnd(); } @@ -64956,9 +64956,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1022 : struct.success) + for (String _iter1030 : struct.success) { - oprot.writeString(_iter1022); + oprot.writeString(_iter1030); } } } @@ -64973,13 +64973,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 _list1023 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1031.size); + String _elem1032; + for (int _i1033 = 0; _i1033 < _list1031.size; ++_i1033) { - _elem1024 = iprot.readString(); - struct.success.add(_elem1024); + _elem1032 = iprot.readString(); + struct.success.add(_elem1032); } } struct.setSuccessIsSet(true); @@ -65953,13 +65953,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 _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(); } @@ -65994,9 +65994,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 _iter1029 : struct.success) + for (String _iter1037 : struct.success) { - oprot.writeString(_iter1029); + oprot.writeString(_iter1037); } oprot.writeListEnd(); } @@ -66035,9 +66035,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1030 : struct.success) + for (String _iter1038 : struct.success) { - oprot.writeString(_iter1030); + oprot.writeString(_iter1038); } } } @@ -66052,13 +66052,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 _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); @@ -66824,13 +66824,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 _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(); } @@ -66865,9 +66865,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 _iter1037 : struct.success) + for (String _iter1045 : struct.success) { - oprot.writeString(_iter1037); + oprot.writeString(_iter1045); } oprot.writeListEnd(); } @@ -66906,9 +66906,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1038 : struct.success) + for (String _iter1046 : struct.success) { - oprot.writeString(_iter1038); + oprot.writeString(_iter1046); } } } @@ -66923,13 +66923,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 _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); @@ -67434,13 +67434,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 _list1042 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1042.size); - String _elem1043; - for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) + 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) { - _elem1043 = iprot.readString(); - struct.tbl_types.add(_elem1043); + _elem1051 = iprot.readString(); + struct.tbl_types.add(_elem1051); } iprot.readListEnd(); } @@ -67476,9 +67476,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 _iter1045 : struct.tbl_types) + for (String _iter1053 : struct.tbl_types) { - oprot.writeString(_iter1045); + oprot.writeString(_iter1053); } oprot.writeListEnd(); } @@ -67521,9 +67521,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 _iter1046 : struct.tbl_types) + for (String _iter1054 : struct.tbl_types) { - oprot.writeString(_iter1046); + oprot.writeString(_iter1054); } } } @@ -67543,13 +67543,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = 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.tbl_types = new ArrayList(_list1055.size); + String _elem1056; + for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) { - _elem1048 = iprot.readString(); - struct.tbl_types.add(_elem1048); + _elem1056 = iprot.readString(); + struct.tbl_types.add(_elem1056); } } struct.setTbl_typesIsSet(true); @@ -67955,14 +67955,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 _list1050 = iprot.readListBegin(); - struct.success = new ArrayList(_list1050.size); - TableMeta _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); + struct.success = new ArrayList(_list1058.size); + TableMeta _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1051 = new TableMeta(); - _elem1051.read(iprot); - struct.success.add(_elem1051); + _elem1059 = new TableMeta(); + _elem1059.read(iprot); + struct.success.add(_elem1059); } iprot.readListEnd(); } @@ -67997,9 +67997,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 _iter1053 : struct.success) + for (TableMeta _iter1061 : struct.success) { - _iter1053.write(oprot); + _iter1061.write(oprot); } oprot.writeListEnd(); } @@ -68038,9 +68038,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1054 : struct.success) + for (TableMeta _iter1062 : struct.success) { - _iter1054.write(oprot); + _iter1062.write(oprot); } } } @@ -68055,14 +68055,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 _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1055.size); - TableMeta _elem1056; - for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) + org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1063.size); + TableMeta _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1056 = new TableMeta(); - _elem1056.read(iprot); - struct.success.add(_elem1056); + _elem1064 = new TableMeta(); + _elem1064.read(iprot); + struct.success.add(_elem1064); } } struct.setSuccessIsSet(true); @@ -68828,13 +68828,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 _list1058 = iprot.readListBegin(); - struct.success = new ArrayList(_list1058.size); - String _elem1059; - for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) + org.apache.thrift.protocol.TList _list1066 = iprot.readListBegin(); + struct.success = new ArrayList(_list1066.size); + String _elem1067; + for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) { - _elem1059 = iprot.readString(); - struct.success.add(_elem1059); + _elem1067 = iprot.readString(); + struct.success.add(_elem1067); } iprot.readListEnd(); } @@ -68869,9 +68869,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 _iter1061 : struct.success) + for (String _iter1069 : struct.success) { - oprot.writeString(_iter1061); + oprot.writeString(_iter1069); } oprot.writeListEnd(); } @@ -68910,9 +68910,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1062 : struct.success) + for (String _iter1070 : struct.success) { - oprot.writeString(_iter1062); + oprot.writeString(_iter1070); } } } @@ -68927,13 +68927,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 _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1063.size); - String _elem1064; - for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) + 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) { - _elem1064 = iprot.readString(); - struct.success.add(_elem1064); + _elem1072 = iprot.readString(); + struct.success.add(_elem1072); } } struct.setSuccessIsSet(true); @@ -70386,13 +70386,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 _list1066 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1066.size); - String _elem1067; - for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) + 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) { - _elem1067 = iprot.readString(); - struct.tbl_names.add(_elem1067); + _elem1075 = iprot.readString(); + struct.tbl_names.add(_elem1075); } iprot.readListEnd(); } @@ -70423,9 +70423,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 _iter1069 : struct.tbl_names) + for (String _iter1077 : struct.tbl_names) { - oprot.writeString(_iter1069); + oprot.writeString(_iter1077); } oprot.writeListEnd(); } @@ -70462,9 +70462,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 _iter1070 : struct.tbl_names) + for (String _iter1078 : struct.tbl_names) { - oprot.writeString(_iter1070); + oprot.writeString(_iter1078); } } } @@ -70480,13 +70480,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = 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.tbl_names = new ArrayList(_list1079.size); + String _elem1080; + for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) { - _elem1072 = iprot.readString(); - struct.tbl_names.add(_elem1072); + _elem1080 = iprot.readString(); + struct.tbl_names.add(_elem1080); } } struct.setTbl_namesIsSet(true); @@ -70811,14 +70811,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 _list1074 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1074.size); - Table _elem1075; - for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) + org.apache.thrift.protocol.TList _list1082 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1082.size); + Table _elem1083; + for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) { - _elem1075 = new Table(); - _elem1075.read(iprot); - struct.success.add(_elem1075); + _elem1083 = new Table(); + _elem1083.read(iprot); + struct.success.add(_elem1083); } iprot.readListEnd(); } @@ -70844,9 +70844,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 _iter1077 : struct.success) + for (Table _iter1085 : struct.success) { - _iter1077.write(oprot); + _iter1085.write(oprot); } oprot.writeListEnd(); } @@ -70877,9 +70877,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1078 : struct.success) + for (Table _iter1086 : struct.success) { - _iter1078.write(oprot); + _iter1086.write(oprot); } } } @@ -70891,14 +70891,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 _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1079.size); - Table _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1087.size); + Table _elem1088; + for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) { - _elem1080 = new Table(); - _elem1080.read(iprot); - struct.success.add(_elem1080); + _elem1088 = new Table(); + _elem1088.read(iprot); + struct.success.add(_elem1088); } } struct.setSuccessIsSet(true); @@ -73291,13 +73291,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 _list1082 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1082.size); - String _elem1083; - for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) + org.apache.thrift.protocol.TList _list1090 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1090.size); + String _elem1091; + for (int _i1092 = 0; _i1092 < _list1090.size; ++_i1092) { - _elem1083 = iprot.readString(); - struct.tbl_names.add(_elem1083); + _elem1091 = iprot.readString(); + struct.tbl_names.add(_elem1091); } iprot.readListEnd(); } @@ -73328,9 +73328,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 _iter1085 : struct.tbl_names) + for (String _iter1093 : struct.tbl_names) { - oprot.writeString(_iter1085); + oprot.writeString(_iter1093); } oprot.writeListEnd(); } @@ -73367,9 +73367,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1086 : struct.tbl_names) + for (String _iter1094 : struct.tbl_names) { - oprot.writeString(_iter1086); + oprot.writeString(_iter1094); } } } @@ -73385,13 +73385,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1087 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1087.size); - String _elem1088; - for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) + org.apache.thrift.protocol.TList _list1095 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1095.size); + String _elem1096; + for (int _i1097 = 0; _i1097 < _list1095.size; ++_i1097) { - _elem1088 = iprot.readString(); - struct.tbl_names.add(_elem1088); + _elem1096 = iprot.readString(); + struct.tbl_names.add(_elem1096); } } struct.setTbl_namesIsSet(true); @@ -73964,16 +73964,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 _map1090 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1090.size); - String _key1091; - Materialization _val1092; - for (int _i1093 = 0; _i1093 < _map1090.size; ++_i1093) + 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) { - _key1091 = iprot.readString(); - _val1092 = new Materialization(); - _val1092.read(iprot); - struct.success.put(_key1091, _val1092); + _key1099 = iprot.readString(); + _val1100 = new Materialization(); + _val1100.read(iprot); + struct.success.put(_key1099, _val1100); } iprot.readMapEnd(); } @@ -74026,10 +74026,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 _iter1094 : struct.success.entrySet()) + for (Map.Entry _iter1102 : struct.success.entrySet()) { - oprot.writeString(_iter1094.getKey()); - _iter1094.getValue().write(oprot); + oprot.writeString(_iter1102.getKey()); + _iter1102.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -74084,10 +74084,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1095 : struct.success.entrySet()) + for (Map.Entry _iter1103 : struct.success.entrySet()) { - oprot.writeString(_iter1095.getKey()); - _iter1095.getValue().write(oprot); + oprot.writeString(_iter1103.getKey()); + _iter1103.getValue().write(oprot); } } } @@ -74108,16 +74108,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 _map1096 = 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*_map1096.size); - String _key1097; - Materialization _val1098; - for (int _i1099 = 0; _i1099 < _map1096.size; ++_i1099) + 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) { - _key1097 = iprot.readString(); - _val1098 = new Materialization(); - _val1098.read(iprot); - struct.success.put(_key1097, _val1098); + _key1105 = iprot.readString(); + _val1106 = new Materialization(); + _val1106.read(iprot); + struct.success.put(_key1105, _val1106); } } struct.setSuccessIsSet(true); @@ -76510,13 +76510,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 _list1100 = iprot.readListBegin(); - struct.success = new ArrayList(_list1100.size); - String _elem1101; - for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) + org.apache.thrift.protocol.TList _list1108 = iprot.readListBegin(); + struct.success = new ArrayList(_list1108.size); + String _elem1109; + for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) { - _elem1101 = iprot.readString(); - struct.success.add(_elem1101); + _elem1109 = iprot.readString(); + struct.success.add(_elem1109); } iprot.readListEnd(); } @@ -76569,9 +76569,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 _iter1103 : struct.success) + for (String _iter1111 : struct.success) { - oprot.writeString(_iter1103); + oprot.writeString(_iter1111); } oprot.writeListEnd(); } @@ -76626,9 +76626,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1104 : struct.success) + for (String _iter1112 : struct.success) { - oprot.writeString(_iter1104); + oprot.writeString(_iter1112); } } } @@ -76649,13 +76649,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 _list1105 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1105.size); - String _elem1106; - for (int _i1107 = 0; _i1107 < _list1105.size; ++_i1107) + 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) { - _elem1106 = iprot.readString(); - struct.success.add(_elem1106); + _elem1114 = iprot.readString(); + struct.success.add(_elem1114); } } struct.setSuccessIsSet(true); @@ -82514,14 +82514,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 _list1108 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1108.size); - Partition _elem1109; - for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) + 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) { - _elem1109 = new Partition(); - _elem1109.read(iprot); - struct.new_parts.add(_elem1109); + _elem1117 = new Partition(); + _elem1117.read(iprot); + struct.new_parts.add(_elem1117); } iprot.readListEnd(); } @@ -82547,9 +82547,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 _iter1111 : struct.new_parts) + for (Partition _iter1119 : struct.new_parts) { - _iter1111.write(oprot); + _iter1119.write(oprot); } oprot.writeListEnd(); } @@ -82580,9 +82580,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 _iter1112 : struct.new_parts) + for (Partition _iter1120 : struct.new_parts) { - _iter1112.write(oprot); + _iter1120.write(oprot); } } } @@ -82594,14 +82594,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 _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1113.size); - Partition _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.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1121.size); + Partition _elem1122; + for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) { - _elem1114 = new Partition(); - _elem1114.read(iprot); - struct.new_parts.add(_elem1114); + _elem1122 = new Partition(); + _elem1122.read(iprot); + struct.new_parts.add(_elem1122); } } struct.setNew_partsIsSet(true); @@ -83602,14 +83602,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 _list1116 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1116.size); - PartitionSpec _elem1117; - for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) + 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) { - _elem1117 = new PartitionSpec(); - _elem1117.read(iprot); - struct.new_parts.add(_elem1117); + _elem1125 = new PartitionSpec(); + _elem1125.read(iprot); + struct.new_parts.add(_elem1125); } iprot.readListEnd(); } @@ -83635,9 +83635,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 _iter1119 : struct.new_parts) + for (PartitionSpec _iter1127 : struct.new_parts) { - _iter1119.write(oprot); + _iter1127.write(oprot); } oprot.writeListEnd(); } @@ -83668,9 +83668,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 _iter1120 : struct.new_parts) + for (PartitionSpec _iter1128 : struct.new_parts) { - _iter1120.write(oprot); + _iter1128.write(oprot); } } } @@ -83682,14 +83682,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 _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1121.size); - PartitionSpec _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); + PartitionSpec _elem1130; + for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) { - _elem1122 = new PartitionSpec(); - _elem1122.read(iprot); - struct.new_parts.add(_elem1122); + _elem1130 = new PartitionSpec(); + _elem1130.read(iprot); + struct.new_parts.add(_elem1130); } } struct.setNew_partsIsSet(true); @@ -84865,13 +84865,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 _list1124 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1124.size); - String _elem1125; - for (int _i1126 = 0; _i1126 < _list1124.size; ++_i1126) + 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) { - _elem1125 = iprot.readString(); - struct.part_vals.add(_elem1125); + _elem1133 = iprot.readString(); + struct.part_vals.add(_elem1133); } iprot.readListEnd(); } @@ -84907,9 +84907,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 _iter1127 : struct.part_vals) + for (String _iter1135 : struct.part_vals) { - oprot.writeString(_iter1127); + oprot.writeString(_iter1135); } oprot.writeListEnd(); } @@ -84952,9 +84952,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 _iter1128 : struct.part_vals) + for (String _iter1136 : struct.part_vals) { - oprot.writeString(_iter1128); + oprot.writeString(_iter1136); } } } @@ -84974,13 +84974,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1129.size); - String _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.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1137.size); + String _elem1138; + for (int _i1139 = 0; _i1139 < _list1137.size; ++_i1139) { - _elem1130 = iprot.readString(); - struct.part_vals.add(_elem1130); + _elem1138 = iprot.readString(); + struct.part_vals.add(_elem1138); } } struct.setPart_valsIsSet(true); @@ -87289,13 +87289,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 _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(); } @@ -87340,9 +87340,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 _iter1135 : struct.part_vals) + for (String _iter1143 : struct.part_vals) { - oprot.writeString(_iter1135); + oprot.writeString(_iter1143); } oprot.writeListEnd(); } @@ -87393,9 +87393,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 _iter1136 : struct.part_vals) + for (String _iter1144 : struct.part_vals) { - oprot.writeString(_iter1136); + oprot.writeString(_iter1144); } } } @@ -87418,13 +87418,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } 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); @@ -91294,13 +91294,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 _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(); } @@ -91344,9 +91344,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 _iter1143 : struct.part_vals) + for (String _iter1151 : struct.part_vals) { - oprot.writeString(_iter1143); + oprot.writeString(_iter1151); } oprot.writeListEnd(); } @@ -91395,9 +91395,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 _iter1144 : struct.part_vals) + for (String _iter1152 : struct.part_vals) { - oprot.writeString(_iter1144); + oprot.writeString(_iter1152); } } } @@ -91420,13 +91420,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } 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); @@ -92665,13 +92665,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 _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(); } @@ -92724,9 +92724,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 _iter1151 : struct.part_vals) + for (String _iter1159 : struct.part_vals) { - oprot.writeString(_iter1151); + oprot.writeString(_iter1159); } oprot.writeListEnd(); } @@ -92783,9 +92783,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 _iter1152 : struct.part_vals) + for (String _iter1160 : struct.part_vals) { - oprot.writeString(_iter1152); + oprot.writeString(_iter1160); } } } @@ -92811,13 +92811,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } 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); @@ -97419,13 +97419,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 _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(); } @@ -97461,9 +97461,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 _iter1159 : struct.part_vals) + for (String _iter1167 : struct.part_vals) { - oprot.writeString(_iter1159); + oprot.writeString(_iter1167); } oprot.writeListEnd(); } @@ -97506,9 +97506,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 _iter1160 : struct.part_vals) + for (String _iter1168 : struct.part_vals) { - oprot.writeString(_iter1160); + oprot.writeString(_iter1168); } } } @@ -97528,13 +97528,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } 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); @@ -98752,15 +98752,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 _map1164 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1164.size); - String _key1165; - String _val1166; - for (int _i1167 = 0; _i1167 < _map1164.size; ++_i1167) + 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) { - _key1165 = iprot.readString(); - _val1166 = iprot.readString(); - struct.partitionSpecs.put(_key1165, _val1166); + _key1173 = iprot.readString(); + _val1174 = iprot.readString(); + struct.partitionSpecs.put(_key1173, _val1174); } iprot.readMapEnd(); } @@ -98818,10 +98818,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 _iter1168 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1176 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1168.getKey()); - oprot.writeString(_iter1168.getValue()); + oprot.writeString(_iter1176.getKey()); + oprot.writeString(_iter1176.getValue()); } oprot.writeMapEnd(); } @@ -98884,10 +98884,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1169 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1177 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1169.getKey()); - oprot.writeString(_iter1169.getValue()); + oprot.writeString(_iter1177.getKey()); + oprot.writeString(_iter1177.getValue()); } } } @@ -98911,15 +98911,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 _map1170 = 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*_map1170.size); - String _key1171; - String _val1172; - for (int _i1173 = 0; _i1173 < _map1170.size; ++_i1173) + 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) { - _key1171 = iprot.readString(); - _val1172 = iprot.readString(); - struct.partitionSpecs.put(_key1171, _val1172); + _key1179 = iprot.readString(); + _val1180 = iprot.readString(); + struct.partitionSpecs.put(_key1179, _val1180); } } struct.setPartitionSpecsIsSet(true); @@ -100365,15 +100365,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 _map1174 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1174.size); - String _key1175; - String _val1176; - for (int _i1177 = 0; _i1177 < _map1174.size; ++_i1177) + 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) { - _key1175 = iprot.readString(); - _val1176 = iprot.readString(); - struct.partitionSpecs.put(_key1175, _val1176); + _key1183 = iprot.readString(); + _val1184 = iprot.readString(); + struct.partitionSpecs.put(_key1183, _val1184); } iprot.readMapEnd(); } @@ -100431,10 +100431,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 _iter1178 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1186 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1178.getKey()); - oprot.writeString(_iter1178.getValue()); + oprot.writeString(_iter1186.getKey()); + oprot.writeString(_iter1186.getValue()); } oprot.writeMapEnd(); } @@ -100497,10 +100497,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1179 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1187 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1179.getKey()); - oprot.writeString(_iter1179.getValue()); + oprot.writeString(_iter1187.getKey()); + oprot.writeString(_iter1187.getValue()); } } } @@ -100524,15 +100524,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 _map1180 = 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*_map1180.size); - String _key1181; - String _val1182; - for (int _i1183 = 0; _i1183 < _map1180.size; ++_i1183) + 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) { - _key1181 = iprot.readString(); - _val1182 = iprot.readString(); - struct.partitionSpecs.put(_key1181, _val1182); + _key1189 = iprot.readString(); + _val1190 = iprot.readString(); + struct.partitionSpecs.put(_key1189, _val1190); } } struct.setPartitionSpecsIsSet(true); @@ -101197,14 +101197,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 _list1184 = iprot.readListBegin(); - struct.success = new ArrayList(_list1184.size); - Partition _elem1185; - for (int _i1186 = 0; _i1186 < _list1184.size; ++_i1186) + org.apache.thrift.protocol.TList _list1192 = iprot.readListBegin(); + struct.success = new ArrayList(_list1192.size); + Partition _elem1193; + for (int _i1194 = 0; _i1194 < _list1192.size; ++_i1194) { - _elem1185 = new Partition(); - _elem1185.read(iprot); - struct.success.add(_elem1185); + _elem1193 = new Partition(); + _elem1193.read(iprot); + struct.success.add(_elem1193); } iprot.readListEnd(); } @@ -101266,9 +101266,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 _iter1187 : struct.success) + for (Partition _iter1195 : struct.success) { - _iter1187.write(oprot); + _iter1195.write(oprot); } oprot.writeListEnd(); } @@ -101331,9 +101331,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1188 : struct.success) + for (Partition _iter1196 : struct.success) { - _iter1188.write(oprot); + _iter1196.write(oprot); } } } @@ -101357,14 +101357,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 _list1189 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1189.size); - Partition _elem1190; - for (int _i1191 = 0; _i1191 < _list1189.size; ++_i1191) + 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) { - _elem1190 = new Partition(); - _elem1190.read(iprot); - struct.success.add(_elem1190); + _elem1198 = new Partition(); + _elem1198.read(iprot); + struct.success.add(_elem1198); } } struct.setSuccessIsSet(true); @@ -102063,13 +102063,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 _list1192 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1192.size); - String _elem1193; - for (int _i1194 = 0; _i1194 < _list1192.size; ++_i1194) + 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) { - _elem1193 = iprot.readString(); - struct.part_vals.add(_elem1193); + _elem1201 = iprot.readString(); + struct.part_vals.add(_elem1201); } iprot.readListEnd(); } @@ -102089,13 +102089,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 _list1195 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1195.size); - String _elem1196; - for (int _i1197 = 0; _i1197 < _list1195.size; ++_i1197) + 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) { - _elem1196 = iprot.readString(); - struct.group_names.add(_elem1196); + _elem1204 = iprot.readString(); + struct.group_names.add(_elem1204); } iprot.readListEnd(); } @@ -102131,9 +102131,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 _iter1198 : struct.part_vals) + for (String _iter1206 : struct.part_vals) { - oprot.writeString(_iter1198); + oprot.writeString(_iter1206); } oprot.writeListEnd(); } @@ -102148,9 +102148,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 _iter1199 : struct.group_names) + for (String _iter1207 : struct.group_names) { - oprot.writeString(_iter1199); + oprot.writeString(_iter1207); } oprot.writeListEnd(); } @@ -102199,9 +102199,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 _iter1200 : struct.part_vals) + for (String _iter1208 : struct.part_vals) { - oprot.writeString(_iter1200); + oprot.writeString(_iter1208); } } } @@ -102211,9 +102211,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 _iter1201 : struct.group_names) + for (String _iter1209 : struct.group_names) { - oprot.writeString(_iter1201); + oprot.writeString(_iter1209); } } } @@ -102233,13 +102233,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1202 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1202.size); - String _elem1203; - for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) + 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) { - _elem1203 = iprot.readString(); - struct.part_vals.add(_elem1203); + _elem1211 = iprot.readString(); + struct.part_vals.add(_elem1211); } } struct.setPart_valsIsSet(true); @@ -102250,13 +102250,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1205 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1205.size); - String _elem1206; - for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) + org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1213.size); + String _elem1214; + for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) { - _elem1206 = iprot.readString(); - struct.group_names.add(_elem1206); + _elem1214 = iprot.readString(); + struct.group_names.add(_elem1214); } } struct.setGroup_namesIsSet(true); @@ -105025,14 +105025,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 _list1208 = iprot.readListBegin(); - struct.success = new ArrayList(_list1208.size); - Partition _elem1209; - for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) + org.apache.thrift.protocol.TList _list1216 = iprot.readListBegin(); + struct.success = new ArrayList(_list1216.size); + Partition _elem1217; + for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) { - _elem1209 = new Partition(); - _elem1209.read(iprot); - struct.success.add(_elem1209); + _elem1217 = new Partition(); + _elem1217.read(iprot); + struct.success.add(_elem1217); } iprot.readListEnd(); } @@ -105076,9 +105076,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 _iter1211 : struct.success) + for (Partition _iter1219 : struct.success) { - _iter1211.write(oprot); + _iter1219.write(oprot); } oprot.writeListEnd(); } @@ -105125,9 +105125,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1212 : struct.success) + for (Partition _iter1220 : struct.success) { - _iter1212.write(oprot); + _iter1220.write(oprot); } } } @@ -105145,14 +105145,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 _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1213.size); - Partition _elem1214; - for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) + 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) { - _elem1214 = new Partition(); - _elem1214.read(iprot); - struct.success.add(_elem1214); + _elem1222 = new Partition(); + _elem1222.read(iprot); + struct.success.add(_elem1222); } } struct.setSuccessIsSet(true); @@ -105842,13 +105842,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 _list1216 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1216.size); - String _elem1217; - for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) + 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) { - _elem1217 = iprot.readString(); - struct.group_names.add(_elem1217); + _elem1225 = iprot.readString(); + struct.group_names.add(_elem1225); } iprot.readListEnd(); } @@ -105892,9 +105892,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 _iter1219 : struct.group_names) + for (String _iter1227 : struct.group_names) { - oprot.writeString(_iter1219); + oprot.writeString(_iter1227); } oprot.writeListEnd(); } @@ -105949,9 +105949,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 _iter1220 : struct.group_names) + for (String _iter1228 : struct.group_names) { - oprot.writeString(_iter1220); + oprot.writeString(_iter1228); } } } @@ -105979,13 +105979,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1221.size); - String _elem1222; - for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) + org.apache.thrift.protocol.TList _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1229.size); + String _elem1230; + for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) { - _elem1222 = iprot.readString(); - struct.group_names.add(_elem1222); + _elem1230 = iprot.readString(); + struct.group_names.add(_elem1230); } } struct.setGroup_namesIsSet(true); @@ -106472,14 +106472,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 _list1224 = iprot.readListBegin(); - struct.success = new ArrayList(_list1224.size); - Partition _elem1225; - for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) + org.apache.thrift.protocol.TList _list1232 = iprot.readListBegin(); + struct.success = new ArrayList(_list1232.size); + Partition _elem1233; + for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) { - _elem1225 = new Partition(); - _elem1225.read(iprot); - struct.success.add(_elem1225); + _elem1233 = new Partition(); + _elem1233.read(iprot); + struct.success.add(_elem1233); } iprot.readListEnd(); } @@ -106523,9 +106523,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 _iter1227 : struct.success) + for (Partition _iter1235 : struct.success) { - _iter1227.write(oprot); + _iter1235.write(oprot); } oprot.writeListEnd(); } @@ -106572,9 +106572,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1228 : struct.success) + for (Partition _iter1236 : struct.success) { - _iter1228.write(oprot); + _iter1236.write(oprot); } } } @@ -106592,14 +106592,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 _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1229.size); - Partition _elem1230; - for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) + org.apache.thrift.protocol.TList _list1237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1237.size); + Partition _elem1238; + for (int _i1239 = 0; _i1239 < _list1237.size; ++_i1239) { - _elem1230 = new Partition(); - _elem1230.read(iprot); - struct.success.add(_elem1230); + _elem1238 = new Partition(); + _elem1238.read(iprot); + struct.success.add(_elem1238); } } struct.setSuccessIsSet(true); @@ -107662,14 +107662,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 _list1232 = iprot.readListBegin(); - struct.success = new ArrayList(_list1232.size); - PartitionSpec _elem1233; - for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) + org.apache.thrift.protocol.TList _list1240 = iprot.readListBegin(); + struct.success = new ArrayList(_list1240.size); + PartitionSpec _elem1241; + for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) { - _elem1233 = new PartitionSpec(); - _elem1233.read(iprot); - struct.success.add(_elem1233); + _elem1241 = new PartitionSpec(); + _elem1241.read(iprot); + struct.success.add(_elem1241); } iprot.readListEnd(); } @@ -107713,9 +107713,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 _iter1235 : struct.success) + for (PartitionSpec _iter1243 : struct.success) { - _iter1235.write(oprot); + _iter1243.write(oprot); } oprot.writeListEnd(); } @@ -107762,9 +107762,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1236 : struct.success) + for (PartitionSpec _iter1244 : struct.success) { - _iter1236.write(oprot); + _iter1244.write(oprot); } } } @@ -107782,14 +107782,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 _list1237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1237.size); - PartitionSpec _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); + PartitionSpec _elem1246; + for (int _i1247 = 0; _i1247 < _list1245.size; ++_i1247) { - _elem1238 = new PartitionSpec(); - _elem1238.read(iprot); - struct.success.add(_elem1238); + _elem1246 = new PartitionSpec(); + _elem1246.read(iprot); + struct.success.add(_elem1246); } } struct.setSuccessIsSet(true); @@ -108849,13 +108849,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 _list1240 = iprot.readListBegin(); - struct.success = new ArrayList(_list1240.size); - String _elem1241; - for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) + org.apache.thrift.protocol.TList _list1248 = iprot.readListBegin(); + struct.success = new ArrayList(_list1248.size); + String _elem1249; + for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) { - _elem1241 = iprot.readString(); - struct.success.add(_elem1241); + _elem1249 = iprot.readString(); + struct.success.add(_elem1249); } iprot.readListEnd(); } @@ -108899,9 +108899,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 _iter1243 : struct.success) + for (String _iter1251 : struct.success) { - oprot.writeString(_iter1243); + oprot.writeString(_iter1251); } oprot.writeListEnd(); } @@ -108948,9 +108948,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1244 : struct.success) + for (String _iter1252 : struct.success) { - oprot.writeString(_iter1244); + oprot.writeString(_iter1252); } } } @@ -108968,13 +108968,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 _list1245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1245.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1253.size); + String _elem1254; + for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) { - _elem1246 = iprot.readString(); - struct.success.add(_elem1246); + _elem1254 = iprot.readString(); + struct.success.add(_elem1254); } } struct.setSuccessIsSet(true); @@ -110505,13 +110505,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 _list1248 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1248.size); - String _elem1249; - for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) + 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) { - _elem1249 = iprot.readString(); - struct.part_vals.add(_elem1249); + _elem1257 = iprot.readString(); + struct.part_vals.add(_elem1257); } iprot.readListEnd(); } @@ -110555,9 +110555,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 _iter1251 : struct.part_vals) + for (String _iter1259 : struct.part_vals) { - oprot.writeString(_iter1251); + oprot.writeString(_iter1259); } oprot.writeListEnd(); } @@ -110606,9 +110606,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 _iter1252 : struct.part_vals) + for (String _iter1260 : struct.part_vals) { - oprot.writeString(_iter1252); + oprot.writeString(_iter1260); } } } @@ -110631,13 +110631,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = 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.part_vals = new ArrayList(_list1261.size); + String _elem1262; + for (int _i1263 = 0; _i1263 < _list1261.size; ++_i1263) { - _elem1254 = iprot.readString(); - struct.part_vals.add(_elem1254); + _elem1262 = iprot.readString(); + struct.part_vals.add(_elem1262); } } struct.setPart_valsIsSet(true); @@ -111128,14 +111128,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 _list1256 = iprot.readListBegin(); - struct.success = new ArrayList(_list1256.size); - Partition _elem1257; - for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) + org.apache.thrift.protocol.TList _list1264 = iprot.readListBegin(); + struct.success = new ArrayList(_list1264.size); + Partition _elem1265; + for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) { - _elem1257 = new Partition(); - _elem1257.read(iprot); - struct.success.add(_elem1257); + _elem1265 = new Partition(); + _elem1265.read(iprot); + struct.success.add(_elem1265); } iprot.readListEnd(); } @@ -111179,9 +111179,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 _iter1259 : struct.success) + for (Partition _iter1267 : struct.success) { - _iter1259.write(oprot); + _iter1267.write(oprot); } oprot.writeListEnd(); } @@ -111228,9 +111228,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1260 : struct.success) + for (Partition _iter1268 : struct.success) { - _iter1260.write(oprot); + _iter1268.write(oprot); } } } @@ -111248,14 +111248,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 _list1261 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1261.size); - Partition _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1269.size); + Partition _elem1270; + for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) { - _elem1262 = new Partition(); - _elem1262.read(iprot); - struct.success.add(_elem1262); + _elem1270 = new Partition(); + _elem1270.read(iprot); + struct.success.add(_elem1270); } } struct.setSuccessIsSet(true); @@ -112027,13 +112027,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 _list1264 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1264.size); - String _elem1265; - for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) + org.apache.thrift.protocol.TList _list1272 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1272.size); + String _elem1273; + for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) { - _elem1265 = iprot.readString(); - struct.part_vals.add(_elem1265); + _elem1273 = iprot.readString(); + struct.part_vals.add(_elem1273); } iprot.readListEnd(); } @@ -112061,13 +112061,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 _list1267 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1267.size); - String _elem1268; - for (int _i1269 = 0; _i1269 < _list1267.size; ++_i1269) + 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) { - _elem1268 = iprot.readString(); - struct.group_names.add(_elem1268); + _elem1276 = iprot.readString(); + struct.group_names.add(_elem1276); } iprot.readListEnd(); } @@ -112103,9 +112103,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 _iter1270 : struct.part_vals) + for (String _iter1278 : struct.part_vals) { - oprot.writeString(_iter1270); + oprot.writeString(_iter1278); } oprot.writeListEnd(); } @@ -112123,9 +112123,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 _iter1271 : struct.group_names) + for (String _iter1279 : struct.group_names) { - oprot.writeString(_iter1271); + oprot.writeString(_iter1279); } oprot.writeListEnd(); } @@ -112177,9 +112177,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 _iter1272 : struct.part_vals) + for (String _iter1280 : struct.part_vals) { - oprot.writeString(_iter1272); + oprot.writeString(_iter1280); } } } @@ -112192,9 +112192,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 _iter1273 : struct.group_names) + for (String _iter1281 : struct.group_names) { - oprot.writeString(_iter1273); + oprot.writeString(_iter1281); } } } @@ -112214,13 +112214,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1274 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1274.size); - String _elem1275; - for (int _i1276 = 0; _i1276 < _list1274.size; ++_i1276) + 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) { - _elem1275 = iprot.readString(); - struct.part_vals.add(_elem1275); + _elem1283 = iprot.readString(); + struct.part_vals.add(_elem1283); } } struct.setPart_valsIsSet(true); @@ -112235,13 +112235,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1277.size); - String _elem1278; - for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) + org.apache.thrift.protocol.TList _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1285.size); + String _elem1286; + for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) { - _elem1278 = iprot.readString(); - struct.group_names.add(_elem1278); + _elem1286 = iprot.readString(); + struct.group_names.add(_elem1286); } } struct.setGroup_namesIsSet(true); @@ -112728,14 +112728,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 _list1280 = iprot.readListBegin(); - struct.success = new ArrayList(_list1280.size); - Partition _elem1281; - for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) + org.apache.thrift.protocol.TList _list1288 = iprot.readListBegin(); + struct.success = new ArrayList(_list1288.size); + Partition _elem1289; + for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) { - _elem1281 = new Partition(); - _elem1281.read(iprot); - struct.success.add(_elem1281); + _elem1289 = new Partition(); + _elem1289.read(iprot); + struct.success.add(_elem1289); } iprot.readListEnd(); } @@ -112779,9 +112779,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 _iter1283 : struct.success) + for (Partition _iter1291 : struct.success) { - _iter1283.write(oprot); + _iter1291.write(oprot); } oprot.writeListEnd(); } @@ -112828,9 +112828,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1284 : struct.success) + for (Partition _iter1292 : struct.success) { - _iter1284.write(oprot); + _iter1292.write(oprot); } } } @@ -112848,14 +112848,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 _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1285.size); - Partition _elem1286; - for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) + 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) { - _elem1286 = new Partition(); - _elem1286.read(iprot); - struct.success.add(_elem1286); + _elem1294 = new Partition(); + _elem1294.read(iprot); + struct.success.add(_elem1294); } } struct.setSuccessIsSet(true); @@ -113448,13 +113448,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 _list1288 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1288.size); - String _elem1289; - for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) + 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) { - _elem1289 = iprot.readString(); - struct.part_vals.add(_elem1289); + _elem1297 = iprot.readString(); + struct.part_vals.add(_elem1297); } iprot.readListEnd(); } @@ -113498,9 +113498,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 _iter1291 : struct.part_vals) + for (String _iter1299 : struct.part_vals) { - oprot.writeString(_iter1291); + oprot.writeString(_iter1299); } oprot.writeListEnd(); } @@ -113549,9 +113549,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 _iter1292 : struct.part_vals) + for (String _iter1300 : struct.part_vals) { - oprot.writeString(_iter1292); + oprot.writeString(_iter1300); } } } @@ -113574,13 +113574,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1293.size); - String _elem1294; - for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) + org.apache.thrift.protocol.TList _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1301.size); + String _elem1302; + for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) { - _elem1294 = iprot.readString(); - struct.part_vals.add(_elem1294); + _elem1302 = iprot.readString(); + struct.part_vals.add(_elem1302); } } struct.setPart_valsIsSet(true); @@ -114068,13 +114068,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 _list1296 = iprot.readListBegin(); - struct.success = new ArrayList(_list1296.size); - String _elem1297; - for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) + org.apache.thrift.protocol.TList _list1304 = iprot.readListBegin(); + struct.success = new ArrayList(_list1304.size); + String _elem1305; + for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) { - _elem1297 = iprot.readString(); - struct.success.add(_elem1297); + _elem1305 = iprot.readString(); + struct.success.add(_elem1305); } iprot.readListEnd(); } @@ -114118,9 +114118,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 _iter1299 : struct.success) + for (String _iter1307 : struct.success) { - oprot.writeString(_iter1299); + oprot.writeString(_iter1307); } oprot.writeListEnd(); } @@ -114167,9 +114167,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1300 : struct.success) + for (String _iter1308 : struct.success) { - oprot.writeString(_iter1300); + oprot.writeString(_iter1308); } } } @@ -114187,13 +114187,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 _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1309.size); + String _elem1310; + for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) { - _elem1302 = iprot.readString(); - struct.success.add(_elem1302); + _elem1310 = iprot.readString(); + struct.success.add(_elem1310); } } struct.setSuccessIsSet(true); @@ -115360,14 +115360,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 _list1304 = iprot.readListBegin(); - struct.success = new ArrayList(_list1304.size); - Partition _elem1305; - for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) + org.apache.thrift.protocol.TList _list1312 = iprot.readListBegin(); + struct.success = new ArrayList(_list1312.size); + Partition _elem1313; + for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) { - _elem1305 = new Partition(); - _elem1305.read(iprot); - struct.success.add(_elem1305); + _elem1313 = new Partition(); + _elem1313.read(iprot); + struct.success.add(_elem1313); } iprot.readListEnd(); } @@ -115411,9 +115411,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 _iter1307 : struct.success) + for (Partition _iter1315 : struct.success) { - _iter1307.write(oprot); + _iter1315.write(oprot); } oprot.writeListEnd(); } @@ -115460,9 +115460,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1308 : struct.success) + for (Partition _iter1316 : struct.success) { - _iter1308.write(oprot); + _iter1316.write(oprot); } } } @@ -115480,14 +115480,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 _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1309.size); - Partition _elem1310; - for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) + 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) { - _elem1310 = new Partition(); - _elem1310.read(iprot); - struct.success.add(_elem1310); + _elem1318 = new Partition(); + _elem1318.read(iprot); + struct.success.add(_elem1318); } } struct.setSuccessIsSet(true); @@ -116654,14 +116654,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 _list1312 = iprot.readListBegin(); - struct.success = new ArrayList(_list1312.size); - PartitionSpec _elem1313; - for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) + org.apache.thrift.protocol.TList _list1320 = iprot.readListBegin(); + struct.success = new ArrayList(_list1320.size); + PartitionSpec _elem1321; + for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) { - _elem1313 = new PartitionSpec(); - _elem1313.read(iprot); - struct.success.add(_elem1313); + _elem1321 = new PartitionSpec(); + _elem1321.read(iprot); + struct.success.add(_elem1321); } iprot.readListEnd(); } @@ -116705,9 +116705,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 _iter1315 : struct.success) + for (PartitionSpec _iter1323 : struct.success) { - _iter1315.write(oprot); + _iter1323.write(oprot); } oprot.writeListEnd(); } @@ -116754,9 +116754,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 _iter1316 : struct.success) + for (PartitionSpec _iter1324 : struct.success) { - _iter1316.write(oprot); + _iter1324.write(oprot); } } } @@ -116774,14 +116774,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 _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1317.size); - PartitionSpec _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); + PartitionSpec _elem1326; + for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) { - _elem1318 = new PartitionSpec(); - _elem1318.read(iprot); - struct.success.add(_elem1318); + _elem1326 = new PartitionSpec(); + _elem1326.read(iprot); + struct.success.add(_elem1326); } } struct.setSuccessIsSet(true); @@ -119365,13 +119365,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 _list1320 = iprot.readListBegin(); - struct.names = new ArrayList(_list1320.size); - String _elem1321; - for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) + org.apache.thrift.protocol.TList _list1328 = iprot.readListBegin(); + struct.names = new ArrayList(_list1328.size); + String _elem1329; + for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) { - _elem1321 = iprot.readString(); - struct.names.add(_elem1321); + _elem1329 = iprot.readString(); + struct.names.add(_elem1329); } iprot.readListEnd(); } @@ -119407,9 +119407,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 _iter1323 : struct.names) + for (String _iter1331 : struct.names) { - oprot.writeString(_iter1323); + oprot.writeString(_iter1331); } oprot.writeListEnd(); } @@ -119452,9 +119452,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1324 : struct.names) + for (String _iter1332 : struct.names) { - oprot.writeString(_iter1324); + oprot.writeString(_iter1332); } } } @@ -119474,13 +119474,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1325.size); - String _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.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1333.size); + String _elem1334; + for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) { - _elem1326 = iprot.readString(); - struct.names.add(_elem1326); + _elem1334 = iprot.readString(); + struct.names.add(_elem1334); } } struct.setNamesIsSet(true); @@ -119967,14 +119967,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 _list1328 = iprot.readListBegin(); - struct.success = new ArrayList(_list1328.size); - Partition _elem1329; - for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) + org.apache.thrift.protocol.TList _list1336 = iprot.readListBegin(); + struct.success = new ArrayList(_list1336.size); + Partition _elem1337; + for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) { - _elem1329 = new Partition(); - _elem1329.read(iprot); - struct.success.add(_elem1329); + _elem1337 = new Partition(); + _elem1337.read(iprot); + struct.success.add(_elem1337); } iprot.readListEnd(); } @@ -120018,9 +120018,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 _iter1331 : struct.success) + for (Partition _iter1339 : struct.success) { - _iter1331.write(oprot); + _iter1339.write(oprot); } oprot.writeListEnd(); } @@ -120067,9 +120067,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1332 : struct.success) + for (Partition _iter1340 : struct.success) { - _iter1332.write(oprot); + _iter1340.write(oprot); } } } @@ -120087,14 +120087,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 _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1333.size); - Partition _elem1334; - for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) + 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) { - _elem1334 = new Partition(); - _elem1334.read(iprot); - struct.success.add(_elem1334); + _elem1342 = new Partition(); + _elem1342.read(iprot); + struct.success.add(_elem1342); } } struct.setSuccessIsSet(true); @@ -121644,14 +121644,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 _list1336 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1336.size); - Partition _elem1337; - for (int _i1338 = 0; _i1338 < _list1336.size; ++_i1338) + 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) { - _elem1337 = new Partition(); - _elem1337.read(iprot); - struct.new_parts.add(_elem1337); + _elem1345 = new Partition(); + _elem1345.read(iprot); + struct.new_parts.add(_elem1345); } iprot.readListEnd(); } @@ -121687,9 +121687,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 _iter1339 : struct.new_parts) + for (Partition _iter1347 : struct.new_parts) { - _iter1339.write(oprot); + _iter1347.write(oprot); } oprot.writeListEnd(); } @@ -121732,9 +121732,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 _iter1340 : struct.new_parts) + for (Partition _iter1348 : struct.new_parts) { - _iter1340.write(oprot); + _iter1348.write(oprot); } } } @@ -121754,14 +121754,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1341 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = 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.new_parts = new ArrayList(_list1349.size); + Partition _elem1350; + for (int _i1351 = 0; _i1351 < _list1349.size; ++_i1351) { - _elem1342 = new Partition(); - _elem1342.read(iprot); - struct.new_parts.add(_elem1342); + _elem1350 = new Partition(); + _elem1350.read(iprot); + struct.new_parts.add(_elem1350); } } struct.setNew_partsIsSet(true); @@ -122814,14 +122814,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 _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(); } @@ -122866,9 +122866,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 _iter1347 : struct.new_parts) + for (Partition _iter1355 : struct.new_parts) { - _iter1347.write(oprot); + _iter1355.write(oprot); } oprot.writeListEnd(); } @@ -122919,9 +122919,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 _iter1348 : struct.new_parts) + for (Partition _iter1356 : struct.new_parts) { - _iter1348.write(oprot); + _iter1356.write(oprot); } } } @@ -122944,14 +122944,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } 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); @@ -125152,13 +125152,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 _list1352 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1352.size); - String _elem1353; - for (int _i1354 = 0; _i1354 < _list1352.size; ++_i1354) + 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) { - _elem1353 = iprot.readString(); - struct.part_vals.add(_elem1353); + _elem1361 = iprot.readString(); + struct.part_vals.add(_elem1361); } iprot.readListEnd(); } @@ -125203,9 +125203,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 _iter1355 : struct.part_vals) + for (String _iter1363 : struct.part_vals) { - oprot.writeString(_iter1355); + oprot.writeString(_iter1363); } oprot.writeListEnd(); } @@ -125256,9 +125256,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 _iter1356 : struct.part_vals) + for (String _iter1364 : struct.part_vals) { - oprot.writeString(_iter1356); + oprot.writeString(_iter1364); } } } @@ -125281,13 +125281,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1357 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1357.size); - String _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.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1365.size); + String _elem1366; + for (int _i1367 = 0; _i1367 < _list1365.size; ++_i1367) { - _elem1358 = iprot.readString(); - struct.part_vals.add(_elem1358); + _elem1366 = iprot.readString(); + struct.part_vals.add(_elem1366); } } struct.setPart_valsIsSet(true); @@ -126161,13 +126161,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 _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(); } @@ -126201,9 +126201,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 _iter1363 : struct.part_vals) + for (String _iter1371 : struct.part_vals) { - oprot.writeString(_iter1363); + oprot.writeString(_iter1371); } oprot.writeListEnd(); } @@ -126240,9 +126240,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 _iter1364 : struct.part_vals) + for (String _iter1372 : struct.part_vals) { - oprot.writeString(_iter1364); + oprot.writeString(_iter1372); } } } @@ -126257,13 +126257,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 _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); @@ -128418,13 +128418,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 _list1368 = iprot.readListBegin(); - struct.success = new ArrayList(_list1368.size); - String _elem1369; - for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) + org.apache.thrift.protocol.TList _list1376 = iprot.readListBegin(); + struct.success = new ArrayList(_list1376.size); + String _elem1377; + for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) { - _elem1369 = iprot.readString(); - struct.success.add(_elem1369); + _elem1377 = iprot.readString(); + struct.success.add(_elem1377); } iprot.readListEnd(); } @@ -128459,9 +128459,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 _iter1371 : struct.success) + for (String _iter1379 : struct.success) { - oprot.writeString(_iter1371); + oprot.writeString(_iter1379); } oprot.writeListEnd(); } @@ -128500,9 +128500,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1372 : struct.success) + for (String _iter1380 : struct.success) { - oprot.writeString(_iter1372); + oprot.writeString(_iter1380); } } } @@ -128517,13 +128517,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 _list1373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1373.size); - String _elem1374; - for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) + 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) { - _elem1374 = iprot.readString(); - struct.success.add(_elem1374); + _elem1382 = iprot.readString(); + struct.success.add(_elem1382); } } struct.setSuccessIsSet(true); @@ -129286,15 +129286,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 _map1376 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1376.size); - String _key1377; - String _val1378; - for (int _i1379 = 0; _i1379 < _map1376.size; ++_i1379) + 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) { - _key1377 = iprot.readString(); - _val1378 = iprot.readString(); - struct.success.put(_key1377, _val1378); + _key1385 = iprot.readString(); + _val1386 = iprot.readString(); + struct.success.put(_key1385, _val1386); } iprot.readMapEnd(); } @@ -129329,10 +129329,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 _iter1380 : struct.success.entrySet()) + for (Map.Entry _iter1388 : struct.success.entrySet()) { - oprot.writeString(_iter1380.getKey()); - oprot.writeString(_iter1380.getValue()); + oprot.writeString(_iter1388.getKey()); + oprot.writeString(_iter1388.getValue()); } oprot.writeMapEnd(); } @@ -129371,10 +129371,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 _iter1381 : struct.success.entrySet()) + for (Map.Entry _iter1389 : struct.success.entrySet()) { - oprot.writeString(_iter1381.getKey()); - oprot.writeString(_iter1381.getValue()); + oprot.writeString(_iter1389.getKey()); + oprot.writeString(_iter1389.getValue()); } } } @@ -129389,15 +129389,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 _map1382 = 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*_map1382.size); - String _key1383; - String _val1384; - for (int _i1385 = 0; _i1385 < _map1382.size; ++_i1385) + 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) { - _key1383 = iprot.readString(); - _val1384 = iprot.readString(); - struct.success.put(_key1383, _val1384); + _key1391 = iprot.readString(); + _val1392 = iprot.readString(); + struct.success.put(_key1391, _val1392); } } struct.setSuccessIsSet(true); @@ -129992,15 +129992,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 _map1386 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1386.size); - String _key1387; - String _val1388; - for (int _i1389 = 0; _i1389 < _map1386.size; ++_i1389) + 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) { - _key1387 = iprot.readString(); - _val1388 = iprot.readString(); - struct.part_vals.put(_key1387, _val1388); + _key1395 = iprot.readString(); + _val1396 = iprot.readString(); + struct.part_vals.put(_key1395, _val1396); } iprot.readMapEnd(); } @@ -130044,10 +130044,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 _iter1390 : struct.part_vals.entrySet()) + for (Map.Entry _iter1398 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1390.getKey()); - oprot.writeString(_iter1390.getValue()); + oprot.writeString(_iter1398.getKey()); + oprot.writeString(_iter1398.getValue()); } oprot.writeMapEnd(); } @@ -130098,10 +130098,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1391 : struct.part_vals.entrySet()) + for (Map.Entry _iter1399 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1391.getKey()); - oprot.writeString(_iter1391.getValue()); + oprot.writeString(_iter1399.getKey()); + oprot.writeString(_iter1399.getValue()); } } } @@ -130124,15 +130124,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1392 = 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*_map1392.size); - String _key1393; - String _val1394; - for (int _i1395 = 0; _i1395 < _map1392.size; ++_i1395) + 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) { - _key1393 = iprot.readString(); - _val1394 = iprot.readString(); - struct.part_vals.put(_key1393, _val1394); + _key1401 = iprot.readString(); + _val1402 = iprot.readString(); + struct.part_vals.put(_key1401, _val1402); } } struct.setPart_valsIsSet(true); @@ -131616,15 +131616,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 _map1396 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1396.size); - String _key1397; - String _val1398; - for (int _i1399 = 0; _i1399 < _map1396.size; ++_i1399) + 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) { - _key1397 = iprot.readString(); - _val1398 = iprot.readString(); - struct.part_vals.put(_key1397, _val1398); + _key1405 = iprot.readString(); + _val1406 = iprot.readString(); + struct.part_vals.put(_key1405, _val1406); } iprot.readMapEnd(); } @@ -131668,10 +131668,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 _iter1400 : struct.part_vals.entrySet()) + for (Map.Entry _iter1408 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1400.getKey()); - oprot.writeString(_iter1400.getValue()); + oprot.writeString(_iter1408.getKey()); + oprot.writeString(_iter1408.getValue()); } oprot.writeMapEnd(); } @@ -131722,10 +131722,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1401 : struct.part_vals.entrySet()) + for (Map.Entry _iter1409 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1401.getKey()); - oprot.writeString(_iter1401.getValue()); + oprot.writeString(_iter1409.getKey()); + oprot.writeString(_iter1409.getValue()); } } } @@ -131748,15 +131748,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1402 = 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*_map1402.size); - String _key1403; - String _val1404; - for (int _i1405 = 0; _i1405 < _map1402.size; ++_i1405) + 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) { - _key1403 = iprot.readString(); - _val1404 = iprot.readString(); - struct.part_vals.put(_key1403, _val1404); + _key1411 = iprot.readString(); + _val1412 = iprot.readString(); + struct.part_vals.put(_key1411, _val1412); } } struct.setPart_valsIsSet(true); @@ -154112,13 +154112,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 _list1406 = iprot.readListBegin(); - struct.success = new ArrayList(_list1406.size); - String _elem1407; - for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) + org.apache.thrift.protocol.TList _list1414 = iprot.readListBegin(); + struct.success = new ArrayList(_list1414.size); + String _elem1415; + for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) { - _elem1407 = iprot.readString(); - struct.success.add(_elem1407); + _elem1415 = iprot.readString(); + struct.success.add(_elem1415); } iprot.readListEnd(); } @@ -154153,9 +154153,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 _iter1409 : struct.success) + for (String _iter1417 : struct.success) { - oprot.writeString(_iter1409); + oprot.writeString(_iter1417); } oprot.writeListEnd(); } @@ -154194,9 +154194,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1410 : struct.success) + for (String _iter1418 : struct.success) { - oprot.writeString(_iter1410); + oprot.writeString(_iter1418); } } } @@ -154211,13 +154211,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 _list1411 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1411.size); - String _elem1412; - for (int _i1413 = 0; _i1413 < _list1411.size; ++_i1413) + org.apache.thrift.protocol.TList _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1419.size); + String _elem1420; + for (int _i1421 = 0; _i1421 < _list1419.size; ++_i1421) { - _elem1412 = iprot.readString(); - struct.success.add(_elem1412); + _elem1420 = iprot.readString(); + struct.success.add(_elem1420); } } struct.setSuccessIsSet(true); @@ -158272,13 +158272,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 _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(); } @@ -158313,9 +158313,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 _iter1417 : struct.success) + for (String _iter1425 : struct.success) { - oprot.writeString(_iter1417); + oprot.writeString(_iter1425); } oprot.writeListEnd(); } @@ -158354,9 +158354,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1418 : struct.success) + for (String _iter1426 : struct.success) { - oprot.writeString(_iter1418); + oprot.writeString(_iter1426); } } } @@ -158371,13 +158371,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 _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); @@ -161668,14 +161668,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 _list1422 = iprot.readListBegin(); - struct.success = new ArrayList(_list1422.size); - Role _elem1423; - for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) + org.apache.thrift.protocol.TList _list1430 = iprot.readListBegin(); + struct.success = new ArrayList(_list1430.size); + Role _elem1431; + for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) { - _elem1423 = new Role(); - _elem1423.read(iprot); - struct.success.add(_elem1423); + _elem1431 = new Role(); + _elem1431.read(iprot); + struct.success.add(_elem1431); } iprot.readListEnd(); } @@ -161710,9 +161710,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 _iter1425 : struct.success) + for (Role _iter1433 : struct.success) { - _iter1425.write(oprot); + _iter1433.write(oprot); } oprot.writeListEnd(); } @@ -161751,9 +161751,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1426 : struct.success) + for (Role _iter1434 : struct.success) { - _iter1426.write(oprot); + _iter1434.write(oprot); } } } @@ -161768,14 +161768,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 _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1427.size); - Role _elem1428; - for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) + org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1435.size); + Role _elem1436; + for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) { - _elem1428 = new Role(); - _elem1428.read(iprot); - struct.success.add(_elem1428); + _elem1436 = new Role(); + _elem1436.read(iprot); + struct.success.add(_elem1436); } } struct.setSuccessIsSet(true); @@ -164780,13 +164780,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 _list1430 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1430.size); - String _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + 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) { - _elem1431 = iprot.readString(); - struct.group_names.add(_elem1431); + _elem1439 = iprot.readString(); + struct.group_names.add(_elem1439); } iprot.readListEnd(); } @@ -164822,9 +164822,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 _iter1433 : struct.group_names) + for (String _iter1441 : struct.group_names) { - oprot.writeString(_iter1433); + oprot.writeString(_iter1441); } oprot.writeListEnd(); } @@ -164867,9 +164867,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 _iter1434 : struct.group_names) + for (String _iter1442 : struct.group_names) { - oprot.writeString(_iter1434); + oprot.writeString(_iter1442); } } } @@ -164890,13 +164890,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1435.size); - String _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1443.size); + String _elem1444; + for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) { - _elem1436 = iprot.readString(); - struct.group_names.add(_elem1436); + _elem1444 = iprot.readString(); + struct.group_names.add(_elem1444); } } struct.setGroup_namesIsSet(true); @@ -166354,14 +166354,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 _list1438 = iprot.readListBegin(); - struct.success = new ArrayList(_list1438.size); - HiveObjectPrivilege _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); + struct.success = new ArrayList(_list1446.size); + HiveObjectPrivilege _elem1447; + for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) { - _elem1439 = new HiveObjectPrivilege(); - _elem1439.read(iprot); - struct.success.add(_elem1439); + _elem1447 = new HiveObjectPrivilege(); + _elem1447.read(iprot); + struct.success.add(_elem1447); } iprot.readListEnd(); } @@ -166396,9 +166396,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 _iter1441 : struct.success) + for (HiveObjectPrivilege _iter1449 : struct.success) { - _iter1441.write(oprot); + _iter1449.write(oprot); } oprot.writeListEnd(); } @@ -166437,9 +166437,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1442 : struct.success) + for (HiveObjectPrivilege _iter1450 : struct.success) { - _iter1442.write(oprot); + _iter1450.write(oprot); } } } @@ -166454,14 +166454,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 _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1443.size); - HiveObjectPrivilege _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1451.size); + HiveObjectPrivilege _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) { - _elem1444 = new HiveObjectPrivilege(); - _elem1444.read(iprot); - struct.success.add(_elem1444); + _elem1452 = new HiveObjectPrivilege(); + _elem1452.read(iprot); + struct.success.add(_elem1452); } } struct.setSuccessIsSet(true); @@ -169363,13 +169363,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 _list1446 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1446.size); - String _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1454.size); + String _elem1455; + for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) { - _elem1447 = iprot.readString(); - struct.group_names.add(_elem1447); + _elem1455 = iprot.readString(); + struct.group_names.add(_elem1455); } iprot.readListEnd(); } @@ -169400,9 +169400,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 _iter1449 : struct.group_names) + for (String _iter1457 : struct.group_names) { - oprot.writeString(_iter1449); + oprot.writeString(_iter1457); } oprot.writeListEnd(); } @@ -169439,9 +169439,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 _iter1450 : struct.group_names) + for (String _iter1458 : struct.group_names) { - oprot.writeString(_iter1450); + oprot.writeString(_iter1458); } } } @@ -169457,13 +169457,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1451.size); - String _elem1452; - for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) + org.apache.thrift.protocol.TList _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1459.size); + String _elem1460; + for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) { - _elem1452 = iprot.readString(); - struct.group_names.add(_elem1452); + _elem1460 = iprot.readString(); + struct.group_names.add(_elem1460); } } struct.setGroup_namesIsSet(true); @@ -169866,13 +169866,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 _list1454 = iprot.readListBegin(); - struct.success = new ArrayList(_list1454.size); - String _elem1455; - for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) + org.apache.thrift.protocol.TList _list1462 = iprot.readListBegin(); + struct.success = new ArrayList(_list1462.size); + String _elem1463; + for (int _i1464 = 0; _i1464 < _list1462.size; ++_i1464) { - _elem1455 = iprot.readString(); - struct.success.add(_elem1455); + _elem1463 = iprot.readString(); + struct.success.add(_elem1463); } iprot.readListEnd(); } @@ -169907,9 +169907,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 _iter1457 : struct.success) + for (String _iter1465 : struct.success) { - oprot.writeString(_iter1457); + oprot.writeString(_iter1465); } oprot.writeListEnd(); } @@ -169948,9 +169948,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1458 : struct.success) + for (String _iter1466 : struct.success) { - oprot.writeString(_iter1458); + oprot.writeString(_iter1466); } } } @@ -169965,13 +169965,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 _list1459 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1459.size); - String _elem1460; - for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) + 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) { - _elem1460 = iprot.readString(); - struct.success.add(_elem1460); + _elem1468 = iprot.readString(); + struct.success.add(_elem1468); } } struct.setSuccessIsSet(true); @@ -175262,13 +175262,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 _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(); } @@ -175294,9 +175294,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 _iter1465 : struct.success) + for (String _iter1473 : struct.success) { - oprot.writeString(_iter1465); + oprot.writeString(_iter1473); } oprot.writeListEnd(); } @@ -175327,9 +175327,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1466 : struct.success) + for (String _iter1474 : struct.success) { - oprot.writeString(_iter1466); + oprot.writeString(_iter1474); } } } @@ -175341,13 +175341,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 _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); @@ -178377,13 +178377,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_master_keys_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _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(); } @@ -178409,9 +178409,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_master_keys_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1473 : struct.success) + for (String _iter1481 : struct.success) { - oprot.writeString(_iter1473); + oprot.writeString(_iter1481); } oprot.writeListEnd(); } @@ -178442,9 +178442,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1474 : struct.success) + for (String _iter1482 : struct.success) { - oprot.writeString(_iter1474); + oprot.writeString(_iter1482); } } } @@ -178456,13 +178456,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_master_keys_resu BitSet incoming = iprot.readBitSet(1); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _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); @@ -226036,14 +226036,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 _list1478 = iprot.readListBegin(); - struct.success = new ArrayList(_list1478.size); - SchemaVersion _elem1479; - for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) + org.apache.thrift.protocol.TList _list1486 = iprot.readListBegin(); + struct.success = new ArrayList(_list1486.size); + SchemaVersion _elem1487; + for (int _i1488 = 0; _i1488 < _list1486.size; ++_i1488) { - _elem1479 = new SchemaVersion(); - _elem1479.read(iprot); - struct.success.add(_elem1479); + _elem1487 = new SchemaVersion(); + _elem1487.read(iprot); + struct.success.add(_elem1487); } iprot.readListEnd(); } @@ -226087,9 +226087,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 _iter1481 : struct.success) + for (SchemaVersion _iter1489 : struct.success) { - _iter1481.write(oprot); + _iter1489.write(oprot); } oprot.writeListEnd(); } @@ -226136,9 +226136,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1482 : struct.success) + for (SchemaVersion _iter1490 : struct.success) { - _iter1482.write(oprot); + _iter1490.write(oprot); } } } @@ -226156,14 +226156,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 _list1483 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1483.size); - SchemaVersion _elem1484; - for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) + org.apache.thrift.protocol.TList _list1491 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1491.size); + SchemaVersion _elem1492; + for (int _i1493 = 0; _i1493 < _list1491.size; ++_i1493) { - _elem1484 = new SchemaVersion(); - _elem1484.read(iprot); - struct.success.add(_elem1484); + _elem1492 = new SchemaVersion(); + _elem1492.read(iprot); + struct.success.add(_elem1492); } } 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 35605679c2..ad2c0b6481 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 _list824 = iprot.readListBegin(); - struct.pools = new ArrayList(_list824.size); - WMPool _elem825; - for (int _i826 = 0; _i826 < _list824.size; ++_i826) + org.apache.thrift.protocol.TList _list832 = iprot.readListBegin(); + struct.pools = new ArrayList(_list832.size); + WMPool _elem833; + for (int _i834 = 0; _i834 < _list832.size; ++_i834) { - _elem825 = new WMPool(); - _elem825.read(iprot); - struct.pools.add(_elem825); + _elem833 = new WMPool(); + _elem833.read(iprot); + struct.pools.add(_elem833); } 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 _list827 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list827.size); - WMMapping _elem828; - for (int _i829 = 0; _i829 < _list827.size; ++_i829) + org.apache.thrift.protocol.TList _list835 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list835.size); + WMMapping _elem836; + for (int _i837 = 0; _i837 < _list835.size; ++_i837) { - _elem828 = new WMMapping(); - _elem828.read(iprot); - struct.mappings.add(_elem828); + _elem836 = new WMMapping(); + _elem836.read(iprot); + struct.mappings.add(_elem836); } 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 _list830 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list830.size); - WMTrigger _elem831; - for (int _i832 = 0; _i832 < _list830.size; ++_i832) + org.apache.thrift.protocol.TList _list838 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list838.size); + WMTrigger _elem839; + for (int _i840 = 0; _i840 < _list838.size; ++_i840) { - _elem831 = new WMTrigger(); - _elem831.read(iprot); - struct.triggers.add(_elem831); + _elem839 = new WMTrigger(); + _elem839.read(iprot); + struct.triggers.add(_elem839); } 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 _list833 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list833.size); - WMPoolTrigger _elem834; - for (int _i835 = 0; _i835 < _list833.size; ++_i835) + org.apache.thrift.protocol.TList _list841 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list841.size); + WMPoolTrigger _elem842; + for (int _i843 = 0; _i843 < _list841.size; ++_i843) { - _elem834 = new WMPoolTrigger(); - _elem834.read(iprot); - struct.poolTriggers.add(_elem834); + _elem842 = new WMPoolTrigger(); + _elem842.read(iprot); + struct.poolTriggers.add(_elem842); } 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 _iter836 : struct.pools) + for (WMPool _iter844 : struct.pools) { - _iter836.write(oprot); + _iter844.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 _iter837 : struct.mappings) + for (WMMapping _iter845 : struct.mappings) { - _iter837.write(oprot); + _iter845.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 _iter838 : struct.triggers) + for (WMTrigger _iter846 : struct.triggers) { - _iter838.write(oprot); + _iter846.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 _iter839 : struct.poolTriggers) + for (WMPoolTrigger _iter847 : struct.poolTriggers) { - _iter839.write(oprot); + _iter847.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 _iter840 : struct.pools) + for (WMPool _iter848 : struct.pools) { - _iter840.write(oprot); + _iter848.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 _iter841 : struct.mappings) + for (WMMapping _iter849 : struct.mappings) { - _iter841.write(oprot); + _iter849.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter842 : struct.triggers) + for (WMTrigger _iter850 : struct.triggers) { - _iter842.write(oprot); + _iter850.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter843 : struct.poolTriggers) + for (WMPoolTrigger _iter851 : struct.poolTriggers) { - _iter843.write(oprot); + _iter851.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 _list844 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list844.size); - WMPool _elem845; - for (int _i846 = 0; _i846 < _list844.size; ++_i846) + 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) { - _elem845 = new WMPool(); - _elem845.read(iprot); - struct.pools.add(_elem845); + _elem853 = new WMPool(); + _elem853.read(iprot); + struct.pools.add(_elem853); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list847 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list847.size); - WMMapping _elem848; - for (int _i849 = 0; _i849 < _list847.size; ++_i849) + 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) { - _elem848 = new WMMapping(); - _elem848.read(iprot); - struct.mappings.add(_elem848); + _elem856 = new WMMapping(); + _elem856.read(iprot); + struct.mappings.add(_elem856); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list850 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list850.size); - WMTrigger _elem851; - for (int _i852 = 0; _i852 < _list850.size; ++_i852) + 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) { - _elem851 = new WMTrigger(); - _elem851.read(iprot); - struct.triggers.add(_elem851); + _elem859 = new WMTrigger(); + _elem859.read(iprot); + struct.triggers.add(_elem859); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list853.size); - WMPoolTrigger _elem854; - for (int _i855 = 0; _i855 < _list853.size; ++_i855) + org.apache.thrift.protocol.TList _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.poolTriggers = new ArrayList(_list861.size); + WMPoolTrigger _elem862; + for (int _i863 = 0; _i863 < _list861.size; ++_i863) { - _elem854 = new WMPoolTrigger(); - _elem854.read(iprot); - struct.poolTriggers.add(_elem854); + _elem862 = new WMPoolTrigger(); + _elem862.read(iprot); + struct.poolTriggers.add(_elem862); } } 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 ffe8b68c9f..cf502067a0 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 _list856 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list856.size); - WMResourcePlan _elem857; - for (int _i858 = 0; _i858 < _list856.size; ++_i858) + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list864.size); + WMResourcePlan _elem865; + for (int _i866 = 0; _i866 < _list864.size; ++_i866) { - _elem857 = new WMResourcePlan(); - _elem857.read(iprot); - struct.resourcePlans.add(_elem857); + _elem865 = new WMResourcePlan(); + _elem865.read(iprot); + struct.resourcePlans.add(_elem865); } 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 _iter859 : struct.resourcePlans) + for (WMResourcePlan _iter867 : struct.resourcePlans) { - _iter859.write(oprot); + _iter867.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 _iter860 : struct.resourcePlans) + for (WMResourcePlan _iter868 : struct.resourcePlans) { - _iter860.write(oprot); + _iter868.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 _list861 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list861.size); - WMResourcePlan _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.resourcePlans = new ArrayList(_list869.size); + WMResourcePlan _elem870; + for (int _i871 = 0; _i871 < _list869.size; ++_i871) { - _elem862 = new WMResourcePlan(); - _elem862.read(iprot); - struct.resourcePlans.add(_elem862); + _elem870 = new WMResourcePlan(); + _elem870.read(iprot); + struct.resourcePlans.add(_elem870); } } 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 9dfebf09bf..b23a7f89f8 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 _list880 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list880.size); - WMTrigger _elem881; - for (int _i882 = 0; _i882 < _list880.size; ++_i882) + org.apache.thrift.protocol.TList _list888 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list888.size); + WMTrigger _elem889; + for (int _i890 = 0; _i890 < _list888.size; ++_i890) { - _elem881 = new WMTrigger(); - _elem881.read(iprot); - struct.triggers.add(_elem881); + _elem889 = new WMTrigger(); + _elem889.read(iprot); + struct.triggers.add(_elem889); } 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 _iter883 : struct.triggers) + for (WMTrigger _iter891 : struct.triggers) { - _iter883.write(oprot); + _iter891.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 _iter884 : struct.triggers) + for (WMTrigger _iter892 : struct.triggers) { - _iter884.write(oprot); + _iter892.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 _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list885.size); - WMTrigger _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.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list893.size); + WMTrigger _elem894; + for (int _i895 = 0; _i895 < _list893.size; ++_i895) { - _elem886 = new WMTrigger(); - _elem886.read(iprot); - struct.triggers.add(_elem886); + _elem894 = new WMTrigger(); + _elem894.read(iprot); + struct.triggers.add(_elem894); } } 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 8f3b06541f..53a0443c7d 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 _list864 = iprot.readListBegin(); - struct.errors = new ArrayList(_list864.size); - String _elem865; - for (int _i866 = 0; _i866 < _list864.size; ++_i866) + org.apache.thrift.protocol.TList _list872 = iprot.readListBegin(); + struct.errors = new ArrayList(_list872.size); + String _elem873; + for (int _i874 = 0; _i874 < _list872.size; ++_i874) { - _elem865 = iprot.readString(); - struct.errors.add(_elem865); + _elem873 = iprot.readString(); + struct.errors.add(_elem873); } 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 _list867 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list867.size); - String _elem868; - for (int _i869 = 0; _i869 < _list867.size; ++_i869) + org.apache.thrift.protocol.TList _list875 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list875.size); + String _elem876; + for (int _i877 = 0; _i877 < _list875.size; ++_i877) { - _elem868 = iprot.readString(); - struct.warnings.add(_elem868); + _elem876 = iprot.readString(); + struct.warnings.add(_elem876); } 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 _iter870 : struct.errors) + for (String _iter878 : struct.errors) { - oprot.writeString(_iter870); + oprot.writeString(_iter878); } 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 _iter871 : struct.warnings) + for (String _iter879 : struct.warnings) { - oprot.writeString(_iter871); + oprot.writeString(_iter879); } 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 _iter872 : struct.errors) + for (String _iter880 : struct.errors) { - oprot.writeString(_iter872); + oprot.writeString(_iter880); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter873 : struct.warnings) + for (String _iter881 : struct.warnings) { - oprot.writeString(_iter873); + oprot.writeString(_iter881); } } } @@ -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 _list874 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list874.size); - String _elem875; - for (int _i876 = 0; _i876 < _list874.size; ++_i876) + 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) { - _elem875 = iprot.readString(); - struct.errors.add(_elem875); + _elem883 = iprot.readString(); + struct.errors.add(_elem883); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list877.size); - String _elem878; - for (int _i879 = 0; _i879 < _list877.size; ++_i879) + org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list885.size); + String _elem886; + for (int _i887 = 0; _i887 < _list885.size; ++_i887) { - _elem878 = iprot.readString(); - struct.warnings.add(_elem878); + _elem886 = iprot.readString(); + struct.warnings.add(_elem886); } } 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 a15a387495..5e3dff1a12 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -14817,14 +14817,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $xfer += $input->readString($elem804); - $this->success []= $elem804; + $elem811 = null; + $xfer += $input->readString($elem811); + $this->success []= $elem811; } $xfer += $input->readListEnd(); } else { @@ -14860,9 +14860,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter805) + foreach ($this->success as $iter812) { - $xfer += $output->writeString($iter805); + $xfer += $output->writeString($iter812); } } $output->writeListEnd(); @@ -14993,14 +14993,14 @@ class ThriftHiveMetastore_get_all_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 { @@ -15036,9 +15036,9 @@ class ThriftHiveMetastore_get_all_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(); @@ -16039,18 +16039,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size813 = 0; - $_ktype814 = 0; - $_vtype815 = 0; - $xfer += $input->readMapBegin($_ktype814, $_vtype815, $_size813); - for ($_i817 = 0; $_i817 < $_size813; ++$_i817) + $_size820 = 0; + $_ktype821 = 0; + $_vtype822 = 0; + $xfer += $input->readMapBegin($_ktype821, $_vtype822, $_size820); + for ($_i824 = 0; $_i824 < $_size820; ++$_i824) { - $key818 = ''; - $val819 = new \metastore\Type(); - $xfer += $input->readString($key818); - $val819 = new \metastore\Type(); - $xfer += $val819->read($input); - $this->success[$key818] = $val819; + $key825 = ''; + $val826 = new \metastore\Type(); + $xfer += $input->readString($key825); + $val826 = new \metastore\Type(); + $xfer += $val826->read($input); + $this->success[$key825] = $val826; } $xfer += $input->readMapEnd(); } else { @@ -16086,10 +16086,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter820 => $viter821) + foreach ($this->success as $kiter827 => $viter828) { - $xfer += $output->writeString($kiter820); - $xfer += $viter821->write($output); + $xfer += $output->writeString($kiter827); + $xfer += $viter828->write($output); } } $output->writeMapEnd(); @@ -16293,15 +16293,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size822 = 0; - $_etype825 = 0; - $xfer += $input->readListBegin($_etype825, $_size822); - for ($_i826 = 0; $_i826 < $_size822; ++$_i826) + $_size829 = 0; + $_etype832 = 0; + $xfer += $input->readListBegin($_etype832, $_size829); + for ($_i833 = 0; $_i833 < $_size829; ++$_i833) { - $elem827 = null; - $elem827 = new \metastore\FieldSchema(); - $xfer += $elem827->read($input); - $this->success []= $elem827; + $elem834 = null; + $elem834 = new \metastore\FieldSchema(); + $xfer += $elem834->read($input); + $this->success []= $elem834; } $xfer += $input->readListEnd(); } else { @@ -16353,9 +16353,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter828) + foreach ($this->success as $iter835) { - $xfer += $iter828->write($output); + $xfer += $iter835->write($output); } } $output->writeListEnd(); @@ -16597,15 +16597,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_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 { @@ -16657,9 +16657,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_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(); @@ -16873,15 +16873,15 @@ class ThriftHiveMetastore_get_schema_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 { @@ -16933,9 +16933,9 @@ class ThriftHiveMetastore_get_schema_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(); @@ -17177,15 +17177,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size843 = 0; - $_etype846 = 0; - $xfer += $input->readListBegin($_etype846, $_size843); - for ($_i847 = 0; $_i847 < $_size843; ++$_i847) + $_size850 = 0; + $_etype853 = 0; + $xfer += $input->readListBegin($_etype853, $_size850); + for ($_i854 = 0; $_i854 < $_size850; ++$_i854) { - $elem848 = null; - $elem848 = new \metastore\FieldSchema(); - $xfer += $elem848->read($input); - $this->success []= $elem848; + $elem855 = null; + $elem855 = new \metastore\FieldSchema(); + $xfer += $elem855->read($input); + $this->success []= $elem855; } $xfer += $input->readListEnd(); } else { @@ -17237,9 +17237,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter849) + foreach ($this->success as $iter856) { - $xfer += $iter849->write($output); + $xfer += $iter856->write($output); } } $output->writeListEnd(); @@ -17911,15 +17911,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = 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\SQLPrimaryKey(); - $xfer += $elem855->read($input); - $this->primaryKeys []= $elem855; + $elem862 = null; + $elem862 = new \metastore\SQLPrimaryKey(); + $xfer += $elem862->read($input); + $this->primaryKeys []= $elem862; } $xfer += $input->readListEnd(); } else { @@ -17929,15 +17929,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size856 = 0; - $_etype859 = 0; - $xfer += $input->readListBegin($_etype859, $_size856); - for ($_i860 = 0; $_i860 < $_size856; ++$_i860) + $_size863 = 0; + $_etype866 = 0; + $xfer += $input->readListBegin($_etype866, $_size863); + for ($_i867 = 0; $_i867 < $_size863; ++$_i867) { - $elem861 = null; - $elem861 = new \metastore\SQLForeignKey(); - $xfer += $elem861->read($input); - $this->foreignKeys []= $elem861; + $elem868 = null; + $elem868 = new \metastore\SQLForeignKey(); + $xfer += $elem868->read($input); + $this->foreignKeys []= $elem868; } $xfer += $input->readListEnd(); } else { @@ -17947,15 +17947,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size862 = 0; - $_etype865 = 0; - $xfer += $input->readListBegin($_etype865, $_size862); - for ($_i866 = 0; $_i866 < $_size862; ++$_i866) + $_size869 = 0; + $_etype872 = 0; + $xfer += $input->readListBegin($_etype872, $_size869); + for ($_i873 = 0; $_i873 < $_size869; ++$_i873) { - $elem867 = null; - $elem867 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem867->read($input); - $this->uniqueConstraints []= $elem867; + $elem874 = null; + $elem874 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem874->read($input); + $this->uniqueConstraints []= $elem874; } $xfer += $input->readListEnd(); } else { @@ -17965,15 +17965,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size868 = 0; - $_etype871 = 0; - $xfer += $input->readListBegin($_etype871, $_size868); - for ($_i872 = 0; $_i872 < $_size868; ++$_i872) + $_size875 = 0; + $_etype878 = 0; + $xfer += $input->readListBegin($_etype878, $_size875); + for ($_i879 = 0; $_i879 < $_size875; ++$_i879) { - $elem873 = null; - $elem873 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem873->read($input); - $this->notNullConstraints []= $elem873; + $elem880 = null; + $elem880 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem880->read($input); + $this->notNullConstraints []= $elem880; } $xfer += $input->readListEnd(); } else { @@ -17983,15 +17983,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size874 = 0; - $_etype877 = 0; - $xfer += $input->readListBegin($_etype877, $_size874); - for ($_i878 = 0; $_i878 < $_size874; ++$_i878) + $_size881 = 0; + $_etype884 = 0; + $xfer += $input->readListBegin($_etype884, $_size881); + for ($_i885 = 0; $_i885 < $_size881; ++$_i885) { - $elem879 = null; - $elem879 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem879->read($input); - $this->defaultConstraints []= $elem879; + $elem886 = null; + $elem886 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem886->read($input); + $this->defaultConstraints []= $elem886; } $xfer += $input->readListEnd(); } else { @@ -18001,15 +18001,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size880 = 0; - $_etype883 = 0; - $xfer += $input->readListBegin($_etype883, $_size880); - for ($_i884 = 0; $_i884 < $_size880; ++$_i884) + $_size887 = 0; + $_etype890 = 0; + $xfer += $input->readListBegin($_etype890, $_size887); + for ($_i891 = 0; $_i891 < $_size887; ++$_i891) { - $elem885 = null; - $elem885 = new \metastore\SQLCheckConstraint(); - $xfer += $elem885->read($input); - $this->checkConstraints []= $elem885; + $elem892 = null; + $elem892 = new \metastore\SQLCheckConstraint(); + $xfer += $elem892->read($input); + $this->checkConstraints []= $elem892; } $xfer += $input->readListEnd(); } else { @@ -18045,9 +18045,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter886) + foreach ($this->primaryKeys as $iter893) { - $xfer += $iter886->write($output); + $xfer += $iter893->write($output); } } $output->writeListEnd(); @@ -18062,9 +18062,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter887) + foreach ($this->foreignKeys as $iter894) { - $xfer += $iter887->write($output); + $xfer += $iter894->write($output); } } $output->writeListEnd(); @@ -18079,9 +18079,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter888) + foreach ($this->uniqueConstraints as $iter895) { - $xfer += $iter888->write($output); + $xfer += $iter895->write($output); } } $output->writeListEnd(); @@ -18096,9 +18096,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter889) + foreach ($this->notNullConstraints as $iter896) { - $xfer += $iter889->write($output); + $xfer += $iter896->write($output); } } $output->writeListEnd(); @@ -18113,9 +18113,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter890) + foreach ($this->defaultConstraints as $iter897) { - $xfer += $iter890->write($output); + $xfer += $iter897->write($output); } } $output->writeListEnd(); @@ -18130,9 +18130,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter891) + foreach ($this->checkConstraints as $iter898) { - $xfer += $iter891->write($output); + $xfer += $iter898->write($output); } } $output->writeListEnd(); @@ -20132,14 +20132,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size892 = 0; - $_etype895 = 0; - $xfer += $input->readListBegin($_etype895, $_size892); - for ($_i896 = 0; $_i896 < $_size892; ++$_i896) + $_size899 = 0; + $_etype902 = 0; + $xfer += $input->readListBegin($_etype902, $_size899); + for ($_i903 = 0; $_i903 < $_size899; ++$_i903) { - $elem897 = null; - $xfer += $input->readString($elem897); - $this->partNames []= $elem897; + $elem904 = null; + $xfer += $input->readString($elem904); + $this->partNames []= $elem904; } $xfer += $input->readListEnd(); } else { @@ -20177,9 +20177,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter898) + foreach ($this->partNames as $iter905) { - $xfer += $output->writeString($iter898); + $xfer += $output->writeString($iter905); } } $output->writeListEnd(); @@ -20430,14 +20430,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem904; + $elem911 = null; + $xfer += $input->readString($elem911); + $this->success []= $elem911; } $xfer += $input->readListEnd(); } else { @@ -20473,9 +20473,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter905) + foreach ($this->success as $iter912) { - $xfer += $output->writeString($iter905); + $xfer += $output->writeString($iter912); } } $output->writeListEnd(); @@ -20677,14 +20677,14 @@ class ThriftHiveMetastore_get_tables_by_type_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 { @@ -20720,9 +20720,9 @@ class ThriftHiveMetastore_get_tables_by_type_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(); @@ -20878,14 +20878,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_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 { @@ -20921,9 +20921,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_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(); @@ -21028,14 +21028,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = 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->tbl_types []= $elem925; + $elem932 = null; + $xfer += $input->readString($elem932); + $this->tbl_types []= $elem932; } $xfer += $input->readListEnd(); } else { @@ -21073,9 +21073,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter926) + foreach ($this->tbl_types as $iter933) { - $xfer += $output->writeString($iter926); + $xfer += $output->writeString($iter933); } } $output->writeListEnd(); @@ -21152,15 +21152,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size927 = 0; - $_etype930 = 0; - $xfer += $input->readListBegin($_etype930, $_size927); - for ($_i931 = 0; $_i931 < $_size927; ++$_i931) + $_size934 = 0; + $_etype937 = 0; + $xfer += $input->readListBegin($_etype937, $_size934); + for ($_i938 = 0; $_i938 < $_size934; ++$_i938) { - $elem932 = null; - $elem932 = new \metastore\TableMeta(); - $xfer += $elem932->read($input); - $this->success []= $elem932; + $elem939 = null; + $elem939 = new \metastore\TableMeta(); + $xfer += $elem939->read($input); + $this->success []= $elem939; } $xfer += $input->readListEnd(); } else { @@ -21196,9 +21196,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter933) + foreach ($this->success as $iter940) { - $xfer += $iter933->write($output); + $xfer += $iter940->write($output); } } $output->writeListEnd(); @@ -21354,14 +21354,14 @@ class ThriftHiveMetastore_get_all_tables_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; - $xfer += $input->readString($elem939); - $this->success []= $elem939; + $elem946 = null; + $xfer += $input->readString($elem946); + $this->success []= $elem946; } $xfer += $input->readListEnd(); } else { @@ -21397,9 +21397,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter940) + foreach ($this->success as $iter947) { - $xfer += $output->writeString($iter940); + $xfer += $output->writeString($iter947); } } $output->writeListEnd(); @@ -21714,14 +21714,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = 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->tbl_names []= $elem946; + $elem953 = null; + $xfer += $input->readString($elem953); + $this->tbl_names []= $elem953; } $xfer += $input->readListEnd(); } else { @@ -21754,9 +21754,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter947) + foreach ($this->tbl_names as $iter954) { - $xfer += $output->writeString($iter947); + $xfer += $output->writeString($iter954); } } $output->writeListEnd(); @@ -21821,15 +21821,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size948 = 0; - $_etype951 = 0; - $xfer += $input->readListBegin($_etype951, $_size948); - for ($_i952 = 0; $_i952 < $_size948; ++$_i952) + $_size955 = 0; + $_etype958 = 0; + $xfer += $input->readListBegin($_etype958, $_size955); + for ($_i959 = 0; $_i959 < $_size955; ++$_i959) { - $elem953 = null; - $elem953 = new \metastore\Table(); - $xfer += $elem953->read($input); - $this->success []= $elem953; + $elem960 = null; + $elem960 = new \metastore\Table(); + $xfer += $elem960->read($input); + $this->success []= $elem960; } $xfer += $input->readListEnd(); } else { @@ -21857,9 +21857,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter954) + foreach ($this->success as $iter961) { - $xfer += $iter954->write($output); + $xfer += $iter961->write($output); } } $output->writeListEnd(); @@ -22386,14 +22386,14 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size955 = 0; - $_etype958 = 0; - $xfer += $input->readListBegin($_etype958, $_size955); - for ($_i959 = 0; $_i959 < $_size955; ++$_i959) + $_size962 = 0; + $_etype965 = 0; + $xfer += $input->readListBegin($_etype965, $_size962); + for ($_i966 = 0; $_i966 < $_size962; ++$_i966) { - $elem960 = null; - $xfer += $input->readString($elem960); - $this->tbl_names []= $elem960; + $elem967 = null; + $xfer += $input->readString($elem967); + $this->tbl_names []= $elem967; } $xfer += $input->readListEnd(); } else { @@ -22426,9 +22426,9 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter961) + foreach ($this->tbl_names as $iter968) { - $xfer += $output->writeString($iter961); + $xfer += $output->writeString($iter968); } } $output->writeListEnd(); @@ -22533,18 +22533,18 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size962 = 0; - $_ktype963 = 0; - $_vtype964 = 0; - $xfer += $input->readMapBegin($_ktype963, $_vtype964, $_size962); - for ($_i966 = 0; $_i966 < $_size962; ++$_i966) + $_size969 = 0; + $_ktype970 = 0; + $_vtype971 = 0; + $xfer += $input->readMapBegin($_ktype970, $_vtype971, $_size969); + for ($_i973 = 0; $_i973 < $_size969; ++$_i973) { - $key967 = ''; - $val968 = new \metastore\Materialization(); - $xfer += $input->readString($key967); - $val968 = new \metastore\Materialization(); - $xfer += $val968->read($input); - $this->success[$key967] = $val968; + $key974 = ''; + $val975 = new \metastore\Materialization(); + $xfer += $input->readString($key974); + $val975 = new \metastore\Materialization(); + $xfer += $val975->read($input); + $this->success[$key974] = $val975; } $xfer += $input->readMapEnd(); } else { @@ -22596,10 +22596,10 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter969 => $viter970) + foreach ($this->success as $kiter976 => $viter977) { - $xfer += $output->writeString($kiter969); - $xfer += $viter970->write($output); + $xfer += $output->writeString($kiter976); + $xfer += $viter977->write($output); } } $output->writeMapEnd(); @@ -23111,14 +23111,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size971 = 0; - $_etype974 = 0; - $xfer += $input->readListBegin($_etype974, $_size971); - for ($_i975 = 0; $_i975 < $_size971; ++$_i975) + $_size978 = 0; + $_etype981 = 0; + $xfer += $input->readListBegin($_etype981, $_size978); + for ($_i982 = 0; $_i982 < $_size978; ++$_i982) { - $elem976 = null; - $xfer += $input->readString($elem976); - $this->success []= $elem976; + $elem983 = null; + $xfer += $input->readString($elem983); + $this->success []= $elem983; } $xfer += $input->readListEnd(); } else { @@ -23170,9 +23170,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter977) + foreach ($this->success as $iter984) { - $xfer += $output->writeString($iter977); + $xfer += $output->writeString($iter984); } } $output->writeListEnd(); @@ -24485,15 +24485,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = 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; - $elem983 = new \metastore\Partition(); - $xfer += $elem983->read($input); - $this->new_parts []= $elem983; + $elem990 = null; + $elem990 = new \metastore\Partition(); + $xfer += $elem990->read($input); + $this->new_parts []= $elem990; } $xfer += $input->readListEnd(); } else { @@ -24521,9 +24521,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter984) + foreach ($this->new_parts as $iter991) { - $xfer += $iter984->write($output); + $xfer += $iter991->write($output); } } $output->writeListEnd(); @@ -24738,15 +24738,15 @@ class ThriftHiveMetastore_add_partitions_pspec_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) + $_size992 = 0; + $_etype995 = 0; + $xfer += $input->readListBegin($_etype995, $_size992); + for ($_i996 = 0; $_i996 < $_size992; ++$_i996) { - $elem990 = null; - $elem990 = new \metastore\PartitionSpec(); - $xfer += $elem990->read($input); - $this->new_parts []= $elem990; + $elem997 = null; + $elem997 = new \metastore\PartitionSpec(); + $xfer += $elem997->read($input); + $this->new_parts []= $elem997; } $xfer += $input->readListEnd(); } else { @@ -24774,9 +24774,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter991) + foreach ($this->new_parts as $iter998) { - $xfer += $iter991->write($output); + $xfer += $iter998->write($output); } } $output->writeListEnd(); @@ -25026,14 +25026,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size992 = 0; - $_etype995 = 0; - $xfer += $input->readListBegin($_etype995, $_size992); - for ($_i996 = 0; $_i996 < $_size992; ++$_i996) + $_size999 = 0; + $_etype1002 = 0; + $xfer += $input->readListBegin($_etype1002, $_size999); + for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) { - $elem997 = null; - $xfer += $input->readString($elem997); - $this->part_vals []= $elem997; + $elem1004 = null; + $xfer += $input->readString($elem1004); + $this->part_vals []= $elem1004; } $xfer += $input->readListEnd(); } else { @@ -25071,9 +25071,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter998) + foreach ($this->part_vals as $iter1005) { - $xfer += $output->writeString($iter998); + $xfer += $output->writeString($iter1005); } } $output->writeListEnd(); @@ -25575,14 +25575,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_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 { @@ -25628,9 +25628,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_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(); @@ -26484,14 +26484,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1006 = 0; - $_etype1009 = 0; - $xfer += $input->readListBegin($_etype1009, $_size1006); - for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) + $_size1013 = 0; + $_etype1016 = 0; + $xfer += $input->readListBegin($_etype1016, $_size1013); + for ($_i1017 = 0; $_i1017 < $_size1013; ++$_i1017) { - $elem1011 = null; - $xfer += $input->readString($elem1011); - $this->part_vals []= $elem1011; + $elem1018 = null; + $xfer += $input->readString($elem1018); + $this->part_vals []= $elem1018; } $xfer += $input->readListEnd(); } else { @@ -26536,9 +26536,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1012) + foreach ($this->part_vals as $iter1019) { - $xfer += $output->writeString($iter1012); + $xfer += $output->writeString($iter1019); } } $output->writeListEnd(); @@ -26791,14 +26791,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1013 = 0; - $_etype1016 = 0; - $xfer += $input->readListBegin($_etype1016, $_size1013); - for ($_i1017 = 0; $_i1017 < $_size1013; ++$_i1017) + $_size1020 = 0; + $_etype1023 = 0; + $xfer += $input->readListBegin($_etype1023, $_size1020); + for ($_i1024 = 0; $_i1024 < $_size1020; ++$_i1024) { - $elem1018 = null; - $xfer += $input->readString($elem1018); - $this->part_vals []= $elem1018; + $elem1025 = null; + $xfer += $input->readString($elem1025); + $this->part_vals []= $elem1025; } $xfer += $input->readListEnd(); } else { @@ -26851,9 +26851,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1019) + foreach ($this->part_vals as $iter1026) { - $xfer += $output->writeString($iter1019); + $xfer += $output->writeString($iter1026); } } $output->writeListEnd(); @@ -27867,14 +27867,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1020 = 0; - $_etype1023 = 0; - $xfer += $input->readListBegin($_etype1023, $_size1020); - for ($_i1024 = 0; $_i1024 < $_size1020; ++$_i1024) + $_size1027 = 0; + $_etype1030 = 0; + $xfer += $input->readListBegin($_etype1030, $_size1027); + for ($_i1031 = 0; $_i1031 < $_size1027; ++$_i1031) { - $elem1025 = null; - $xfer += $input->readString($elem1025); - $this->part_vals []= $elem1025; + $elem1032 = null; + $xfer += $input->readString($elem1032); + $this->part_vals []= $elem1032; } $xfer += $input->readListEnd(); } else { @@ -27912,9 +27912,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1026) + foreach ($this->part_vals as $iter1033) { - $xfer += $output->writeString($iter1026); + $xfer += $output->writeString($iter1033); } } $output->writeListEnd(); @@ -28156,17 +28156,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1027 = 0; - $_ktype1028 = 0; - $_vtype1029 = 0; - $xfer += $input->readMapBegin($_ktype1028, $_vtype1029, $_size1027); - for ($_i1031 = 0; $_i1031 < $_size1027; ++$_i1031) + $_size1034 = 0; + $_ktype1035 = 0; + $_vtype1036 = 0; + $xfer += $input->readMapBegin($_ktype1035, $_vtype1036, $_size1034); + for ($_i1038 = 0; $_i1038 < $_size1034; ++$_i1038) { - $key1032 = ''; - $val1033 = ''; - $xfer += $input->readString($key1032); - $xfer += $input->readString($val1033); - $this->partitionSpecs[$key1032] = $val1033; + $key1039 = ''; + $val1040 = ''; + $xfer += $input->readString($key1039); + $xfer += $input->readString($val1040); + $this->partitionSpecs[$key1039] = $val1040; } $xfer += $input->readMapEnd(); } else { @@ -28222,10 +28222,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1034 => $viter1035) + foreach ($this->partitionSpecs as $kiter1041 => $viter1042) { - $xfer += $output->writeString($kiter1034); - $xfer += $output->writeString($viter1035); + $xfer += $output->writeString($kiter1041); + $xfer += $output->writeString($viter1042); } } $output->writeMapEnd(); @@ -28537,17 +28537,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1036 = 0; - $_ktype1037 = 0; - $_vtype1038 = 0; - $xfer += $input->readMapBegin($_ktype1037, $_vtype1038, $_size1036); - for ($_i1040 = 0; $_i1040 < $_size1036; ++$_i1040) + $_size1043 = 0; + $_ktype1044 = 0; + $_vtype1045 = 0; + $xfer += $input->readMapBegin($_ktype1044, $_vtype1045, $_size1043); + for ($_i1047 = 0; $_i1047 < $_size1043; ++$_i1047) { - $key1041 = ''; - $val1042 = ''; - $xfer += $input->readString($key1041); - $xfer += $input->readString($val1042); - $this->partitionSpecs[$key1041] = $val1042; + $key1048 = ''; + $val1049 = ''; + $xfer += $input->readString($key1048); + $xfer += $input->readString($val1049); + $this->partitionSpecs[$key1048] = $val1049; } $xfer += $input->readMapEnd(); } else { @@ -28603,10 +28603,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1043 => $viter1044) + foreach ($this->partitionSpecs as $kiter1050 => $viter1051) { - $xfer += $output->writeString($kiter1043); - $xfer += $output->writeString($viter1044); + $xfer += $output->writeString($kiter1050); + $xfer += $output->writeString($viter1051); } } $output->writeMapEnd(); @@ -28739,15 +28739,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1045 = 0; - $_etype1048 = 0; - $xfer += $input->readListBegin($_etype1048, $_size1045); - for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) + $_size1052 = 0; + $_etype1055 = 0; + $xfer += $input->readListBegin($_etype1055, $_size1052); + for ($_i1056 = 0; $_i1056 < $_size1052; ++$_i1056) { - $elem1050 = null; - $elem1050 = new \metastore\Partition(); - $xfer += $elem1050->read($input); - $this->success []= $elem1050; + $elem1057 = null; + $elem1057 = new \metastore\Partition(); + $xfer += $elem1057->read($input); + $this->success []= $elem1057; } $xfer += $input->readListEnd(); } else { @@ -28807,9 +28807,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1051) + foreach ($this->success as $iter1058) { - $xfer += $iter1051->write($output); + $xfer += $iter1058->write($output); } } $output->writeListEnd(); @@ -28955,14 +28955,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem1057); - $this->part_vals []= $elem1057; + $elem1064 = null; + $xfer += $input->readString($elem1064); + $this->part_vals []= $elem1064; } $xfer += $input->readListEnd(); } else { @@ -28979,14 +28979,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1058 = 0; - $_etype1061 = 0; - $xfer += $input->readListBegin($_etype1061, $_size1058); - for ($_i1062 = 0; $_i1062 < $_size1058; ++$_i1062) + $_size1065 = 0; + $_etype1068 = 0; + $xfer += $input->readListBegin($_etype1068, $_size1065); + for ($_i1069 = 0; $_i1069 < $_size1065; ++$_i1069) { - $elem1063 = null; - $xfer += $input->readString($elem1063); - $this->group_names []= $elem1063; + $elem1070 = null; + $xfer += $input->readString($elem1070); + $this->group_names []= $elem1070; } $xfer += $input->readListEnd(); } else { @@ -29024,9 +29024,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1064) + foreach ($this->part_vals as $iter1071) { - $xfer += $output->writeString($iter1064); + $xfer += $output->writeString($iter1071); } } $output->writeListEnd(); @@ -29046,9 +29046,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1065) + foreach ($this->group_names as $iter1072) { - $xfer += $output->writeString($iter1065); + $xfer += $output->writeString($iter1072); } } $output->writeListEnd(); @@ -29639,15 +29639,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1066 = 0; - $_etype1069 = 0; - $xfer += $input->readListBegin($_etype1069, $_size1066); - for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) + $_size1073 = 0; + $_etype1076 = 0; + $xfer += $input->readListBegin($_etype1076, $_size1073); + for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) { - $elem1071 = null; - $elem1071 = new \metastore\Partition(); - $xfer += $elem1071->read($input); - $this->success []= $elem1071; + $elem1078 = null; + $elem1078 = new \metastore\Partition(); + $xfer += $elem1078->read($input); + $this->success []= $elem1078; } $xfer += $input->readListEnd(); } else { @@ -29691,9 +29691,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1072) + foreach ($this->success as $iter1079) { - $xfer += $iter1072->write($output); + $xfer += $iter1079->write($output); } } $output->writeListEnd(); @@ -29839,14 +29839,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1080 = 0; + $_etype1083 = 0; + $xfer += $input->readListBegin($_etype1083, $_size1080); + for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) { - $elem1078 = null; - $xfer += $input->readString($elem1078); - $this->group_names []= $elem1078; + $elem1085 = null; + $xfer += $input->readString($elem1085); + $this->group_names []= $elem1085; } $xfer += $input->readListEnd(); } else { @@ -29894,9 +29894,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1079) + foreach ($this->group_names as $iter1086) { - $xfer += $output->writeString($iter1079); + $xfer += $output->writeString($iter1086); } } $output->writeListEnd(); @@ -29985,15 +29985,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1080 = 0; - $_etype1083 = 0; - $xfer += $input->readListBegin($_etype1083, $_size1080); - for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) + $_size1087 = 0; + $_etype1090 = 0; + $xfer += $input->readListBegin($_etype1090, $_size1087); + for ($_i1091 = 0; $_i1091 < $_size1087; ++$_i1091) { - $elem1085 = null; - $elem1085 = new \metastore\Partition(); - $xfer += $elem1085->read($input); - $this->success []= $elem1085; + $elem1092 = null; + $elem1092 = new \metastore\Partition(); + $xfer += $elem1092->read($input); + $this->success []= $elem1092; } $xfer += $input->readListEnd(); } else { @@ -30037,9 +30037,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1086) + foreach ($this->success as $iter1093) { - $xfer += $iter1086->write($output); + $xfer += $iter1093->write($output); } } $output->writeListEnd(); @@ -30259,15 +30259,15 @@ class ThriftHiveMetastore_get_partitions_pspec_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\PartitionSpec(); - $xfer += $elem1092->read($input); - $this->success []= $elem1092; + $elem1099 = null; + $elem1099 = new \metastore\PartitionSpec(); + $xfer += $elem1099->read($input); + $this->success []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -30311,9 +30311,9 @@ class ThriftHiveMetastore_get_partitions_pspec_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(); @@ -30532,14 +30532,14 @@ class ThriftHiveMetastore_get_partition_names_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; - $xfer += $input->readString($elem1099); - $this->success []= $elem1099; + $elem1106 = null; + $xfer += $input->readString($elem1106); + $this->success []= $elem1106; } $xfer += $input->readListEnd(); } else { @@ -30583,9 +30583,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1100) + foreach ($this->success as $iter1107) { - $xfer += $output->writeString($iter1100); + $xfer += $output->writeString($iter1107); } } $output->writeListEnd(); @@ -30916,14 +30916,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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->part_vals []= $elem1106; + $elem1113 = null; + $xfer += $input->readString($elem1113); + $this->part_vals []= $elem1113; } $xfer += $input->readListEnd(); } else { @@ -30968,9 +30968,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1107) + foreach ($this->part_vals as $iter1114) { - $xfer += $output->writeString($iter1107); + $xfer += $output->writeString($iter1114); } } $output->writeListEnd(); @@ -31064,15 +31064,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1108 = 0; - $_etype1111 = 0; - $xfer += $input->readListBegin($_etype1111, $_size1108); - for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) + $_size1115 = 0; + $_etype1118 = 0; + $xfer += $input->readListBegin($_etype1118, $_size1115); + for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) { - $elem1113 = null; - $elem1113 = new \metastore\Partition(); - $xfer += $elem1113->read($input); - $this->success []= $elem1113; + $elem1120 = null; + $elem1120 = new \metastore\Partition(); + $xfer += $elem1120->read($input); + $this->success []= $elem1120; } $xfer += $input->readListEnd(); } else { @@ -31116,9 +31116,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1114) + foreach ($this->success as $iter1121) { - $xfer += $iter1114->write($output); + $xfer += $iter1121->write($output); } } $output->writeListEnd(); @@ -31265,14 +31265,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1115 = 0; - $_etype1118 = 0; - $xfer += $input->readListBegin($_etype1118, $_size1115); - for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) + $_size1122 = 0; + $_etype1125 = 0; + $xfer += $input->readListBegin($_etype1125, $_size1122); + for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) { - $elem1120 = null; - $xfer += $input->readString($elem1120); - $this->part_vals []= $elem1120; + $elem1127 = null; + $xfer += $input->readString($elem1127); + $this->part_vals []= $elem1127; } $xfer += $input->readListEnd(); } else { @@ -31296,14 +31296,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1121 = 0; - $_etype1124 = 0; - $xfer += $input->readListBegin($_etype1124, $_size1121); - for ($_i1125 = 0; $_i1125 < $_size1121; ++$_i1125) + $_size1128 = 0; + $_etype1131 = 0; + $xfer += $input->readListBegin($_etype1131, $_size1128); + for ($_i1132 = 0; $_i1132 < $_size1128; ++$_i1132) { - $elem1126 = null; - $xfer += $input->readString($elem1126); - $this->group_names []= $elem1126; + $elem1133 = null; + $xfer += $input->readString($elem1133); + $this->group_names []= $elem1133; } $xfer += $input->readListEnd(); } else { @@ -31341,9 +31341,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1127) + foreach ($this->part_vals as $iter1134) { - $xfer += $output->writeString($iter1127); + $xfer += $output->writeString($iter1134); } } $output->writeListEnd(); @@ -31368,9 +31368,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1128) + foreach ($this->group_names as $iter1135) { - $xfer += $output->writeString($iter1128); + $xfer += $output->writeString($iter1135); } } $output->writeListEnd(); @@ -31459,15 +31459,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1129 = 0; - $_etype1132 = 0; - $xfer += $input->readListBegin($_etype1132, $_size1129); - for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) + $_size1136 = 0; + $_etype1139 = 0; + $xfer += $input->readListBegin($_etype1139, $_size1136); + for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) { - $elem1134 = null; - $elem1134 = new \metastore\Partition(); - $xfer += $elem1134->read($input); - $this->success []= $elem1134; + $elem1141 = null; + $elem1141 = new \metastore\Partition(); + $xfer += $elem1141->read($input); + $this->success []= $elem1141; } $xfer += $input->readListEnd(); } else { @@ -31511,9 +31511,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1135) + foreach ($this->success as $iter1142) { - $xfer += $iter1135->write($output); + $xfer += $iter1142->write($output); } } $output->writeListEnd(); @@ -31634,14 +31634,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem1141); - $this->part_vals []= $elem1141; + $elem1148 = null; + $xfer += $input->readString($elem1148); + $this->part_vals []= $elem1148; } $xfer += $input->readListEnd(); } else { @@ -31686,9 +31686,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1142) + foreach ($this->part_vals as $iter1149) { - $xfer += $output->writeString($iter1142); + $xfer += $output->writeString($iter1149); } } $output->writeListEnd(); @@ -31781,14 +31781,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1143 = 0; - $_etype1146 = 0; - $xfer += $input->readListBegin($_etype1146, $_size1143); - for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) + $_size1150 = 0; + $_etype1153 = 0; + $xfer += $input->readListBegin($_etype1153, $_size1150); + for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) { - $elem1148 = null; - $xfer += $input->readString($elem1148); - $this->success []= $elem1148; + $elem1155 = null; + $xfer += $input->readString($elem1155); + $this->success []= $elem1155; } $xfer += $input->readListEnd(); } else { @@ -31832,9 +31832,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1149) + foreach ($this->success as $iter1156) { - $xfer += $output->writeString($iter1149); + $xfer += $output->writeString($iter1156); } } $output->writeListEnd(); @@ -32077,15 +32077,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_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; - $elem1155 = new \metastore\Partition(); - $xfer += $elem1155->read($input); - $this->success []= $elem1155; + $elem1162 = null; + $elem1162 = new \metastore\Partition(); + $xfer += $elem1162->read($input); + $this->success []= $elem1162; } $xfer += $input->readListEnd(); } else { @@ -32129,9 +32129,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1156) + foreach ($this->success as $iter1163) { - $xfer += $iter1156->write($output); + $xfer += $iter1163->write($output); } } $output->writeListEnd(); @@ -32374,15 +32374,15 @@ class ThriftHiveMetastore_get_part_specs_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\PartitionSpec(); - $xfer += $elem1162->read($input); - $this->success []= $elem1162; + $elem1169 = null; + $elem1169 = new \metastore\PartitionSpec(); + $xfer += $elem1169->read($input); + $this->success []= $elem1169; } $xfer += $input->readListEnd(); } else { @@ -32426,9 +32426,9 @@ class ThriftHiveMetastore_get_part_specs_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(); @@ -32994,14 +32994,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = 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; - $xfer += $input->readString($elem1169); - $this->names []= $elem1169; + $elem1176 = null; + $xfer += $input->readString($elem1176); + $this->names []= $elem1176; } $xfer += $input->readListEnd(); } else { @@ -33039,9 +33039,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1170) + foreach ($this->names as $iter1177) { - $xfer += $output->writeString($iter1170); + $xfer += $output->writeString($iter1177); } } $output->writeListEnd(); @@ -33130,15 +33130,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1171 = 0; - $_etype1174 = 0; - $xfer += $input->readListBegin($_etype1174, $_size1171); - for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) + $_size1178 = 0; + $_etype1181 = 0; + $xfer += $input->readListBegin($_etype1181, $_size1178); + for ($_i1182 = 0; $_i1182 < $_size1178; ++$_i1182) { - $elem1176 = null; - $elem1176 = new \metastore\Partition(); - $xfer += $elem1176->read($input); - $this->success []= $elem1176; + $elem1183 = null; + $elem1183 = new \metastore\Partition(); + $xfer += $elem1183->read($input); + $this->success []= $elem1183; } $xfer += $input->readListEnd(); } else { @@ -33182,9 +33182,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1177) + foreach ($this->success as $iter1184) { - $xfer += $iter1177->write($output); + $xfer += $iter1184->write($output); } } $output->writeListEnd(); @@ -33523,15 +33523,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = 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->new_parts []= $elem1183; + $elem1190 = null; + $elem1190 = new \metastore\Partition(); + $xfer += $elem1190->read($input); + $this->new_parts []= $elem1190; } $xfer += $input->readListEnd(); } else { @@ -33569,9 +33569,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1184) + foreach ($this->new_parts as $iter1191) { - $xfer += $iter1184->write($output); + $xfer += $iter1191->write($output); } } $output->writeListEnd(); @@ -33786,15 +33786,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_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 { @@ -33840,9 +33840,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_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(); @@ -34320,14 +34320,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem1197); - $this->part_vals []= $elem1197; + $elem1204 = null; + $xfer += $input->readString($elem1204); + $this->part_vals []= $elem1204; } $xfer += $input->readListEnd(); } else { @@ -34373,9 +34373,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1198) + foreach ($this->part_vals as $iter1205) { - $xfer += $output->writeString($iter1198); + $xfer += $output->writeString($iter1205); } } $output->writeListEnd(); @@ -34560,14 +34560,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: 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 { @@ -34602,9 +34602,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_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(); @@ -35058,14 +35058,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem1211; + $elem1218 = null; + $xfer += $input->readString($elem1218); + $this->success []= $elem1218; } $xfer += $input->readListEnd(); } else { @@ -35101,9 +35101,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1212) + foreach ($this->success as $iter1219) { - $xfer += $output->writeString($iter1212); + $xfer += $output->writeString($iter1219); } } $output->writeListEnd(); @@ -35263,17 +35263,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1213 = 0; - $_ktype1214 = 0; - $_vtype1215 = 0; - $xfer += $input->readMapBegin($_ktype1214, $_vtype1215, $_size1213); - for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) + $_size1220 = 0; + $_ktype1221 = 0; + $_vtype1222 = 0; + $xfer += $input->readMapBegin($_ktype1221, $_vtype1222, $_size1220); + for ($_i1224 = 0; $_i1224 < $_size1220; ++$_i1224) { - $key1218 = ''; - $val1219 = ''; - $xfer += $input->readString($key1218); - $xfer += $input->readString($val1219); - $this->success[$key1218] = $val1219; + $key1225 = ''; + $val1226 = ''; + $xfer += $input->readString($key1225); + $xfer += $input->readString($val1226); + $this->success[$key1225] = $val1226; } $xfer += $input->readMapEnd(); } else { @@ -35309,10 +35309,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1220 => $viter1221) + foreach ($this->success as $kiter1227 => $viter1228) { - $xfer += $output->writeString($kiter1220); - $xfer += $output->writeString($viter1221); + $xfer += $output->writeString($kiter1227); + $xfer += $output->writeString($viter1228); } } $output->writeMapEnd(); @@ -35432,17 +35432,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1222 = 0; - $_ktype1223 = 0; - $_vtype1224 = 0; - $xfer += $input->readMapBegin($_ktype1223, $_vtype1224, $_size1222); - for ($_i1226 = 0; $_i1226 < $_size1222; ++$_i1226) + $_size1229 = 0; + $_ktype1230 = 0; + $_vtype1231 = 0; + $xfer += $input->readMapBegin($_ktype1230, $_vtype1231, $_size1229); + for ($_i1233 = 0; $_i1233 < $_size1229; ++$_i1233) { - $key1227 = ''; - $val1228 = ''; - $xfer += $input->readString($key1227); - $xfer += $input->readString($val1228); - $this->part_vals[$key1227] = $val1228; + $key1234 = ''; + $val1235 = ''; + $xfer += $input->readString($key1234); + $xfer += $input->readString($val1235); + $this->part_vals[$key1234] = $val1235; } $xfer += $input->readMapEnd(); } else { @@ -35487,10 +35487,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1229 => $viter1230) + foreach ($this->part_vals as $kiter1236 => $viter1237) { - $xfer += $output->writeString($kiter1229); - $xfer += $output->writeString($viter1230); + $xfer += $output->writeString($kiter1236); + $xfer += $output->writeString($viter1237); } } $output->writeMapEnd(); @@ -35812,17 +35812,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1231 = 0; - $_ktype1232 = 0; - $_vtype1233 = 0; - $xfer += $input->readMapBegin($_ktype1232, $_vtype1233, $_size1231); - for ($_i1235 = 0; $_i1235 < $_size1231; ++$_i1235) + $_size1238 = 0; + $_ktype1239 = 0; + $_vtype1240 = 0; + $xfer += $input->readMapBegin($_ktype1239, $_vtype1240, $_size1238); + for ($_i1242 = 0; $_i1242 < $_size1238; ++$_i1242) { - $key1236 = ''; - $val1237 = ''; - $xfer += $input->readString($key1236); - $xfer += $input->readString($val1237); - $this->part_vals[$key1236] = $val1237; + $key1243 = ''; + $val1244 = ''; + $xfer += $input->readString($key1243); + $xfer += $input->readString($val1244); + $this->part_vals[$key1243] = $val1244; } $xfer += $input->readMapEnd(); } else { @@ -35867,10 +35867,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1238 => $viter1239) + foreach ($this->part_vals as $kiter1245 => $viter1246) { - $xfer += $output->writeString($kiter1238); - $xfer += $output->writeString($viter1239); + $xfer += $output->writeString($kiter1245); + $xfer += $output->writeString($viter1246); } } $output->writeMapEnd(); @@ -40829,14 +40829,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1240 = 0; - $_etype1243 = 0; - $xfer += $input->readListBegin($_etype1243, $_size1240); - for ($_i1244 = 0; $_i1244 < $_size1240; ++$_i1244) + $_size1247 = 0; + $_etype1250 = 0; + $xfer += $input->readListBegin($_etype1250, $_size1247); + for ($_i1251 = 0; $_i1251 < $_size1247; ++$_i1251) { - $elem1245 = null; - $xfer += $input->readString($elem1245); - $this->success []= $elem1245; + $elem1252 = null; + $xfer += $input->readString($elem1252); + $this->success []= $elem1252; } $xfer += $input->readListEnd(); } else { @@ -40872,9 +40872,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1246) + foreach ($this->success as $iter1253) { - $xfer += $output->writeString($iter1246); + $xfer += $output->writeString($iter1253); } } $output->writeListEnd(); @@ -41743,14 +41743,14 @@ class ThriftHiveMetastore_get_role_names_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 { @@ -41786,9 +41786,9 @@ class ThriftHiveMetastore_get_role_names_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(); @@ -42479,15 +42479,15 @@ class ThriftHiveMetastore_list_roles_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; - $elem1259 = new \metastore\Role(); - $xfer += $elem1259->read($input); - $this->success []= $elem1259; + $elem1266 = null; + $elem1266 = new \metastore\Role(); + $xfer += $elem1266->read($input); + $this->success []= $elem1266; } $xfer += $input->readListEnd(); } else { @@ -42523,9 +42523,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1260) + foreach ($this->success as $iter1267) { - $xfer += $iter1260->write($output); + $xfer += $iter1267->write($output); } } $output->writeListEnd(); @@ -43187,14 +43187,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1261 = 0; - $_etype1264 = 0; - $xfer += $input->readListBegin($_etype1264, $_size1261); - for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) + $_size1268 = 0; + $_etype1271 = 0; + $xfer += $input->readListBegin($_etype1271, $_size1268); + for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) { - $elem1266 = null; - $xfer += $input->readString($elem1266); - $this->group_names []= $elem1266; + $elem1273 = null; + $xfer += $input->readString($elem1273); + $this->group_names []= $elem1273; } $xfer += $input->readListEnd(); } else { @@ -43235,9 +43235,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1267) + foreach ($this->group_names as $iter1274) { - $xfer += $output->writeString($iter1267); + $xfer += $output->writeString($iter1274); } } $output->writeListEnd(); @@ -43545,15 +43545,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1268 = 0; - $_etype1271 = 0; - $xfer += $input->readListBegin($_etype1271, $_size1268); - for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) + $_size1275 = 0; + $_etype1278 = 0; + $xfer += $input->readListBegin($_etype1278, $_size1275); + for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) { - $elem1273 = null; - $elem1273 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1273->read($input); - $this->success []= $elem1273; + $elem1280 = null; + $elem1280 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1280->read($input); + $this->success []= $elem1280; } $xfer += $input->readListEnd(); } else { @@ -43589,9 +43589,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1274) + foreach ($this->success as $iter1281) { - $xfer += $iter1274->write($output); + $xfer += $iter1281->write($output); } } $output->writeListEnd(); @@ -44223,14 +44223,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1275 = 0; - $_etype1278 = 0; - $xfer += $input->readListBegin($_etype1278, $_size1275); - for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) + $_size1282 = 0; + $_etype1285 = 0; + $xfer += $input->readListBegin($_etype1285, $_size1282); + for ($_i1286 = 0; $_i1286 < $_size1282; ++$_i1286) { - $elem1280 = null; - $xfer += $input->readString($elem1280); - $this->group_names []= $elem1280; + $elem1287 = null; + $xfer += $input->readString($elem1287); + $this->group_names []= $elem1287; } $xfer += $input->readListEnd(); } else { @@ -44263,9 +44263,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1281) + foreach ($this->group_names as $iter1288) { - $xfer += $output->writeString($iter1281); + $xfer += $output->writeString($iter1288); } } $output->writeListEnd(); @@ -44341,14 +44341,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1282 = 0; - $_etype1285 = 0; - $xfer += $input->readListBegin($_etype1285, $_size1282); - for ($_i1286 = 0; $_i1286 < $_size1282; ++$_i1286) + $_size1289 = 0; + $_etype1292 = 0; + $xfer += $input->readListBegin($_etype1292, $_size1289); + for ($_i1293 = 0; $_i1293 < $_size1289; ++$_i1293) { - $elem1287 = null; - $xfer += $input->readString($elem1287); - $this->success []= $elem1287; + $elem1294 = null; + $xfer += $input->readString($elem1294); + $this->success []= $elem1294; } $xfer += $input->readListEnd(); } else { @@ -44384,9 +44384,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1288) + foreach ($this->success as $iter1295) { - $xfer += $output->writeString($iter1288); + $xfer += $output->writeString($iter1295); } } $output->writeListEnd(); @@ -45503,14 +45503,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_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 { @@ -45538,9 +45538,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_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(); @@ -46179,14 +46179,14 @@ class ThriftHiveMetastore_get_master_keys_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 { @@ -46214,9 +46214,9 @@ class ThriftHiveMetastore_get_master_keys_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(); @@ -56755,15 +56755,15 @@ class ThriftHiveMetastore_get_schema_all_versions_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; - $elem1308 = new \metastore\SchemaVersion(); - $xfer += $elem1308->read($input); - $this->success []= $elem1308; + $elem1315 = null; + $elem1315 = new \metastore\SchemaVersion(); + $xfer += $elem1315->read($input); + $this->success []= $elem1315; } $xfer += $input->readListEnd(); } else { @@ -56807,9 +56807,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1309) + foreach ($this->success as $iter1316) { - $xfer += $iter1309->write($output); + $xfer += $iter1316->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 49f71b52ed..d4fcc888ed 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -15901,6 +15901,14 @@ class OpenTxnRequest { * @var string */ public $agentInfo = "Unknown"; + /** + * @var string + */ + public $replPolicy = null; + /** + * @var int[] + */ + public $replSrcTxnIds = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -15921,6 +15929,18 @@ class OpenTxnRequest { 'var' => 'agentInfo', 'type' => TType::STRING, ), + 5 => array( + 'var' => 'replPolicy', + 'type' => TType::STRING, + ), + 6 => array( + 'var' => 'replSrcTxnIds', + 'type' => TType::LST, + 'etype' => TType::I64, + 'elem' => array( + 'type' => TType::I64, + ), + ), ); } if (is_array($vals)) { @@ -15936,6 +15956,12 @@ class OpenTxnRequest { if (isset($vals['agentInfo'])) { $this->agentInfo = $vals['agentInfo']; } + if (isset($vals['replPolicy'])) { + $this->replPolicy = $vals['replPolicy']; + } + if (isset($vals['replSrcTxnIds'])) { + $this->replSrcTxnIds = $vals['replSrcTxnIds']; + } } } @@ -15986,6 +16012,30 @@ class OpenTxnRequest { $xfer += $input->skip($ftype); } break; + case 5: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->replPolicy); + } else { + $xfer += $input->skip($ftype); + } + break; + case 6: + if ($ftype == TType::LST) { + $this->replSrcTxnIds = array(); + $_size502 = 0; + $_etype505 = 0; + $xfer += $input->readListBegin($_etype505, $_size502); + for ($_i506 = 0; $_i506 < $_size502; ++$_i506) + { + $elem507 = null; + $xfer += $input->readI64($elem507); + $this->replSrcTxnIds []= $elem507; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -16019,6 +16069,28 @@ class OpenTxnRequest { $xfer += $output->writeString($this->agentInfo); $xfer += $output->writeFieldEnd(); } + if ($this->replPolicy !== null) { + $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 5); + $xfer += $output->writeString($this->replPolicy); + $xfer += $output->writeFieldEnd(); + } + if ($this->replSrcTxnIds !== null) { + if (!is_array($this->replSrcTxnIds)) { + throw new TProtocolException('Bad type in structure.', TProtocolException::INVALID_DATA); + } + $xfer += $output->writeFieldBegin('replSrcTxnIds', TType::LST, 6); + { + $output->writeListBegin(TType::I64, count($this->replSrcTxnIds)); + { + foreach ($this->replSrcTxnIds as $iter508) + { + $xfer += $output->writeI64($iter508); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -16076,14 +16148,14 @@ class OpenTxnsResponse { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size502 = 0; - $_etype505 = 0; - $xfer += $input->readListBegin($_etype505, $_size502); - for ($_i506 = 0; $_i506 < $_size502; ++$_i506) + $_size509 = 0; + $_etype512 = 0; + $xfer += $input->readListBegin($_etype512, $_size509); + for ($_i513 = 0; $_i513 < $_size509; ++$_i513) { - $elem507 = null; - $xfer += $input->readI64($elem507); - $this->txn_ids []= $elem507; + $elem514 = null; + $xfer += $input->readI64($elem514); + $this->txn_ids []= $elem514; } $xfer += $input->readListEnd(); } else { @@ -16111,9 +16183,9 @@ class OpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter508) + foreach ($this->txn_ids as $iter515) { - $xfer += $output->writeI64($iter508); + $xfer += $output->writeI64($iter515); } } $output->writeListEnd(); @@ -16134,6 +16206,10 @@ class AbortTxnRequest { * @var int */ public $txnid = null; + /** + * @var string + */ + public $replPolicy = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -16142,12 +16218,19 @@ class AbortTxnRequest { 'var' => 'txnid', 'type' => TType::I64, ), + 2 => array( + 'var' => 'replPolicy', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { if (isset($vals['txnid'])) { $this->txnid = $vals['txnid']; } + if (isset($vals['replPolicy'])) { + $this->replPolicy = $vals['replPolicy']; + } } } @@ -16177,6 +16260,13 @@ class AbortTxnRequest { $xfer += $input->skip($ftype); } break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->replPolicy); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -16195,6 +16285,11 @@ class AbortTxnRequest { $xfer += $output->writeI64($this->txnid); $xfer += $output->writeFieldEnd(); } + if ($this->replPolicy !== null) { + $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 2); + $xfer += $output->writeString($this->replPolicy); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -16252,14 +16347,14 @@ class AbortTxnsRequest { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size509 = 0; - $_etype512 = 0; - $xfer += $input->readListBegin($_etype512, $_size509); - for ($_i513 = 0; $_i513 < $_size509; ++$_i513) + $_size516 = 0; + $_etype519 = 0; + $xfer += $input->readListBegin($_etype519, $_size516); + for ($_i520 = 0; $_i520 < $_size516; ++$_i520) { - $elem514 = null; - $xfer += $input->readI64($elem514); - $this->txn_ids []= $elem514; + $elem521 = null; + $xfer += $input->readI64($elem521); + $this->txn_ids []= $elem521; } $xfer += $input->readListEnd(); } else { @@ -16287,9 +16382,9 @@ class AbortTxnsRequest { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter515) + foreach ($this->txn_ids as $iter522) { - $xfer += $output->writeI64($iter515); + $xfer += $output->writeI64($iter522); } } $output->writeListEnd(); @@ -16310,6 +16405,10 @@ class CommitTxnRequest { * @var int */ public $txnid = null; + /** + * @var string + */ + public $replPolicy = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -16318,12 +16417,19 @@ class CommitTxnRequest { 'var' => 'txnid', 'type' => TType::I64, ), + 2 => array( + 'var' => 'replPolicy', + 'type' => TType::STRING, + ), ); } if (is_array($vals)) { if (isset($vals['txnid'])) { $this->txnid = $vals['txnid']; } + if (isset($vals['replPolicy'])) { + $this->replPolicy = $vals['replPolicy']; + } } } @@ -16353,6 +16459,13 @@ class CommitTxnRequest { $xfer += $input->skip($ftype); } break; + case 2: + if ($ftype == TType::STRING) { + $xfer += $input->readString($this->replPolicy); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -16371,6 +16484,11 @@ class CommitTxnRequest { $xfer += $output->writeI64($this->txnid); $xfer += $output->writeFieldEnd(); } + if ($this->replPolicy !== null) { + $xfer += $output->writeFieldBegin('replPolicy', TType::STRING, 2); + $xfer += $output->writeString($this->replPolicy); + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -16439,14 +16557,14 @@ class GetValidWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->fullTableNames = array(); - $_size516 = 0; - $_etype519 = 0; - $xfer += $input->readListBegin($_etype519, $_size516); - for ($_i520 = 0; $_i520 < $_size516; ++$_i520) + $_size523 = 0; + $_etype526 = 0; + $xfer += $input->readListBegin($_etype526, $_size523); + for ($_i527 = 0; $_i527 < $_size523; ++$_i527) { - $elem521 = null; - $xfer += $input->readString($elem521); - $this->fullTableNames []= $elem521; + $elem528 = null; + $xfer += $input->readString($elem528); + $this->fullTableNames []= $elem528; } $xfer += $input->readListEnd(); } else { @@ -16481,9 +16599,9 @@ class GetValidWriteIdsRequest { { $output->writeListBegin(TType::STRING, count($this->fullTableNames)); { - foreach ($this->fullTableNames as $iter522) + foreach ($this->fullTableNames as $iter529) { - $xfer += $output->writeString($iter522); + $xfer += $output->writeString($iter529); } } $output->writeListEnd(); @@ -16610,14 +16728,14 @@ class TableValidWriteIds { case 3: if ($ftype == TType::LST) { $this->invalidWriteIds = 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->readI64($elem528); - $this->invalidWriteIds []= $elem528; + $elem535 = null; + $xfer += $input->readI64($elem535); + $this->invalidWriteIds []= $elem535; } $xfer += $input->readListEnd(); } else { @@ -16669,9 +16787,9 @@ class TableValidWriteIds { { $output->writeListBegin(TType::I64, count($this->invalidWriteIds)); { - foreach ($this->invalidWriteIds as $iter529) + foreach ($this->invalidWriteIds as $iter536) { - $xfer += $output->writeI64($iter529); + $xfer += $output->writeI64($iter536); } } $output->writeListEnd(); @@ -16746,15 +16864,15 @@ class GetValidWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->tblValidWriteIds = 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; - $elem535 = new \metastore\TableValidWriteIds(); - $xfer += $elem535->read($input); - $this->tblValidWriteIds []= $elem535; + $elem542 = null; + $elem542 = new \metastore\TableValidWriteIds(); + $xfer += $elem542->read($input); + $this->tblValidWriteIds []= $elem542; } $xfer += $input->readListEnd(); } else { @@ -16782,9 +16900,9 @@ class GetValidWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->tblValidWriteIds)); { - foreach ($this->tblValidWriteIds as $iter536) + foreach ($this->tblValidWriteIds as $iter543) { - $xfer += $iter536->write($output); + $xfer += $iter543->write($output); } } $output->writeListEnd(); @@ -16870,14 +16988,14 @@ class AllocateTableWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->txnIds = 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; - $xfer += $input->readI64($elem542); - $this->txnIds []= $elem542; + $elem549 = null; + $xfer += $input->readI64($elem549); + $this->txnIds []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -16919,9 +17037,9 @@ class AllocateTableWriteIdsRequest { { $output->writeListBegin(TType::I64, count($this->txnIds)); { - foreach ($this->txnIds as $iter543) + foreach ($this->txnIds as $iter550) { - $xfer += $output->writeI64($iter543); + $xfer += $output->writeI64($iter550); } } $output->writeListEnd(); @@ -17094,15 +17212,15 @@ class AllocateTableWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->txnToWriteIds = 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; - $elem549 = new \metastore\TxnToWriteId(); - $xfer += $elem549->read($input); - $this->txnToWriteIds []= $elem549; + $elem556 = null; + $elem556 = new \metastore\TxnToWriteId(); + $xfer += $elem556->read($input); + $this->txnToWriteIds []= $elem556; } $xfer += $input->readListEnd(); } else { @@ -17130,9 +17248,9 @@ class AllocateTableWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->txnToWriteIds)); { - foreach ($this->txnToWriteIds as $iter550) + foreach ($this->txnToWriteIds as $iter557) { - $xfer += $iter550->write($output); + $xfer += $iter557->write($output); } } $output->writeListEnd(); @@ -17477,15 +17595,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = 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\LockComponent(); - $xfer += $elem556->read($input); - $this->component []= $elem556; + $elem563 = null; + $elem563 = new \metastore\LockComponent(); + $xfer += $elem563->read($input); + $this->component []= $elem563; } $xfer += $input->readListEnd(); } else { @@ -17541,9 +17659,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter557) + foreach ($this->component as $iter564) { - $xfer += $iter557->write($output); + $xfer += $iter564->write($output); } } $output->writeListEnd(); @@ -18486,15 +18604,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = 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\ShowLocksResponseElement(); - $xfer += $elem563->read($input); - $this->locks []= $elem563; + $elem570 = null; + $elem570 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem570->read($input); + $this->locks []= $elem570; } $xfer += $input->readListEnd(); } else { @@ -18522,9 +18640,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter564) + foreach ($this->locks as $iter571) { - $xfer += $iter564->write($output); + $xfer += $iter571->write($output); } } $output->writeListEnd(); @@ -18799,17 +18917,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size565 = 0; - $_etype568 = 0; - $xfer += $input->readSetBegin($_etype568, $_size565); - for ($_i569 = 0; $_i569 < $_size565; ++$_i569) + $_size572 = 0; + $_etype575 = 0; + $xfer += $input->readSetBegin($_etype575, $_size572); + for ($_i576 = 0; $_i576 < $_size572; ++$_i576) { - $elem570 = null; - $xfer += $input->readI64($elem570); - if (is_scalar($elem570)) { - $this->aborted[$elem570] = true; + $elem577 = null; + $xfer += $input->readI64($elem577); + if (is_scalar($elem577)) { + $this->aborted[$elem577] = true; } else { - $this->aborted []= $elem570; + $this->aborted []= $elem577; } } $xfer += $input->readSetEnd(); @@ -18820,17 +18938,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size571 = 0; - $_etype574 = 0; - $xfer += $input->readSetBegin($_etype574, $_size571); - for ($_i575 = 0; $_i575 < $_size571; ++$_i575) + $_size578 = 0; + $_etype581 = 0; + $xfer += $input->readSetBegin($_etype581, $_size578); + for ($_i582 = 0; $_i582 < $_size578; ++$_i582) { - $elem576 = null; - $xfer += $input->readI64($elem576); - if (is_scalar($elem576)) { - $this->nosuch[$elem576] = true; + $elem583 = null; + $xfer += $input->readI64($elem583); + if (is_scalar($elem583)) { + $this->nosuch[$elem583] = true; } else { - $this->nosuch []= $elem576; + $this->nosuch []= $elem583; } } $xfer += $input->readSetEnd(); @@ -18859,12 +18977,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter577 => $iter578) + foreach ($this->aborted as $iter584 => $iter585) { - if (is_scalar($iter578)) { - $xfer += $output->writeI64($iter577); + if (is_scalar($iter585)) { + $xfer += $output->writeI64($iter584); } else { - $xfer += $output->writeI64($iter578); + $xfer += $output->writeI64($iter585); } } } @@ -18880,12 +18998,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter579 => $iter580) + foreach ($this->nosuch as $iter586 => $iter587) { - if (is_scalar($iter580)) { - $xfer += $output->writeI64($iter579); + if (is_scalar($iter587)) { + $xfer += $output->writeI64($iter586); } else { - $xfer += $output->writeI64($iter580); + $xfer += $output->writeI64($iter587); } } } @@ -19044,17 +19162,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size581 = 0; - $_ktype582 = 0; - $_vtype583 = 0; - $xfer += $input->readMapBegin($_ktype582, $_vtype583, $_size581); - for ($_i585 = 0; $_i585 < $_size581; ++$_i585) + $_size588 = 0; + $_ktype589 = 0; + $_vtype590 = 0; + $xfer += $input->readMapBegin($_ktype589, $_vtype590, $_size588); + for ($_i592 = 0; $_i592 < $_size588; ++$_i592) { - $key586 = ''; - $val587 = ''; - $xfer += $input->readString($key586); - $xfer += $input->readString($val587); - $this->properties[$key586] = $val587; + $key593 = ''; + $val594 = ''; + $xfer += $input->readString($key593); + $xfer += $input->readString($val594); + $this->properties[$key593] = $val594; } $xfer += $input->readMapEnd(); } else { @@ -19107,10 +19225,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter588 => $viter589) + foreach ($this->properties as $kiter595 => $viter596) { - $xfer += $output->writeString($kiter588); - $xfer += $output->writeString($viter589); + $xfer += $output->writeString($kiter595); + $xfer += $output->writeString($viter596); } } $output->writeMapEnd(); @@ -19697,15 +19815,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size590 = 0; - $_etype593 = 0; - $xfer += $input->readListBegin($_etype593, $_size590); - for ($_i594 = 0; $_i594 < $_size590; ++$_i594) + $_size597 = 0; + $_etype600 = 0; + $xfer += $input->readListBegin($_etype600, $_size597); + for ($_i601 = 0; $_i601 < $_size597; ++$_i601) { - $elem595 = null; - $elem595 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem595->read($input); - $this->compacts []= $elem595; + $elem602 = null; + $elem602 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem602->read($input); + $this->compacts []= $elem602; } $xfer += $input->readListEnd(); } else { @@ -19733,9 +19851,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter596) + foreach ($this->compacts as $iter603) { - $xfer += $iter596->write($output); + $xfer += $iter603->write($output); } } $output->writeListEnd(); @@ -19882,14 +20000,14 @@ class AddDynamicPartitions { case 5: if ($ftype == TType::LST) { $this->partitionnames = 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; - $xfer += $input->readString($elem602); - $this->partitionnames []= $elem602; + $elem609 = null; + $xfer += $input->readString($elem609); + $this->partitionnames []= $elem609; } $xfer += $input->readListEnd(); } else { @@ -19944,9 +20062,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter603) + foreach ($this->partitionnames as $iter610) { - $xfer += $output->writeString($iter603); + $xfer += $output->writeString($iter610); } } $output->writeListEnd(); @@ -20270,17 +20388,17 @@ class CreationMetadata { case 4: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size604 = 0; - $_etype607 = 0; - $xfer += $input->readSetBegin($_etype607, $_size604); - for ($_i608 = 0; $_i608 < $_size604; ++$_i608) + $_size611 = 0; + $_etype614 = 0; + $xfer += $input->readSetBegin($_etype614, $_size611); + for ($_i615 = 0; $_i615 < $_size611; ++$_i615) { - $elem609 = null; - $xfer += $input->readString($elem609); - if (is_scalar($elem609)) { - $this->tablesUsed[$elem609] = true; + $elem616 = null; + $xfer += $input->readString($elem616); + if (is_scalar($elem616)) { + $this->tablesUsed[$elem616] = true; } else { - $this->tablesUsed []= $elem609; + $this->tablesUsed []= $elem616; } } $xfer += $input->readSetEnd(); @@ -20331,12 +20449,12 @@ class CreationMetadata { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter610 => $iter611) + foreach ($this->tablesUsed as $iter617 => $iter618) { - if (is_scalar($iter611)) { - $xfer += $output->writeString($iter610); + if (is_scalar($iter618)) { + $xfer += $output->writeString($iter617); } else { - $xfer += $output->writeString($iter611); + $xfer += $output->writeString($iter618); } } } @@ -20741,15 +20859,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size612 = 0; - $_etype615 = 0; - $xfer += $input->readListBegin($_etype615, $_size612); - for ($_i616 = 0; $_i616 < $_size612; ++$_i616) + $_size619 = 0; + $_etype622 = 0; + $xfer += $input->readListBegin($_etype622, $_size619); + for ($_i623 = 0; $_i623 < $_size619; ++$_i623) { - $elem617 = null; - $elem617 = new \metastore\NotificationEvent(); - $xfer += $elem617->read($input); - $this->events []= $elem617; + $elem624 = null; + $elem624 = new \metastore\NotificationEvent(); + $xfer += $elem624->read($input); + $this->events []= $elem624; } $xfer += $input->readListEnd(); } else { @@ -20777,9 +20895,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter618) + foreach ($this->events as $iter625) { - $xfer += $iter618->write($output); + $xfer += $iter625->write($output); } } $output->writeListEnd(); @@ -21147,14 +21265,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = 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; - $xfer += $input->readString($elem624); - $this->filesAdded []= $elem624; + $elem631 = null; + $xfer += $input->readString($elem631); + $this->filesAdded []= $elem631; } $xfer += $input->readListEnd(); } else { @@ -21164,14 +21282,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size625 = 0; - $_etype628 = 0; - $xfer += $input->readListBegin($_etype628, $_size625); - for ($_i629 = 0; $_i629 < $_size625; ++$_i629) + $_size632 = 0; + $_etype635 = 0; + $xfer += $input->readListBegin($_etype635, $_size632); + for ($_i636 = 0; $_i636 < $_size632; ++$_i636) { - $elem630 = null; - $xfer += $input->readString($elem630); - $this->filesAddedChecksum []= $elem630; + $elem637 = null; + $xfer += $input->readString($elem637); + $this->filesAddedChecksum []= $elem637; } $xfer += $input->readListEnd(); } else { @@ -21204,9 +21322,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter631) + foreach ($this->filesAdded as $iter638) { - $xfer += $output->writeString($iter631); + $xfer += $output->writeString($iter638); } } $output->writeListEnd(); @@ -21221,9 +21339,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter632) + foreach ($this->filesAddedChecksum as $iter639) { - $xfer += $output->writeString($iter632); + $xfer += $output->writeString($iter639); } } $output->writeListEnd(); @@ -21452,14 +21570,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size633 = 0; - $_etype636 = 0; - $xfer += $input->readListBegin($_etype636, $_size633); - for ($_i637 = 0; $_i637 < $_size633; ++$_i637) + $_size640 = 0; + $_etype643 = 0; + $xfer += $input->readListBegin($_etype643, $_size640); + for ($_i644 = 0; $_i644 < $_size640; ++$_i644) { - $elem638 = null; - $xfer += $input->readString($elem638); - $this->partitionVals []= $elem638; + $elem645 = null; + $xfer += $input->readString($elem645); + $this->partitionVals []= $elem645; } $xfer += $input->readListEnd(); } else { @@ -21517,9 +21635,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter639) + foreach ($this->partitionVals as $iter646) { - $xfer += $output->writeString($iter639); + $xfer += $output->writeString($iter646); } } $output->writeListEnd(); @@ -21752,18 +21870,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size640 = 0; - $_ktype641 = 0; - $_vtype642 = 0; - $xfer += $input->readMapBegin($_ktype641, $_vtype642, $_size640); - for ($_i644 = 0; $_i644 < $_size640; ++$_i644) + $_size647 = 0; + $_ktype648 = 0; + $_vtype649 = 0; + $xfer += $input->readMapBegin($_ktype648, $_vtype649, $_size647); + for ($_i651 = 0; $_i651 < $_size647; ++$_i651) { - $key645 = 0; - $val646 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key645); - $val646 = new \metastore\MetadataPpdResult(); - $xfer += $val646->read($input); - $this->metadata[$key645] = $val646; + $key652 = 0; + $val653 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key652); + $val653 = new \metastore\MetadataPpdResult(); + $xfer += $val653->read($input); + $this->metadata[$key652] = $val653; } $xfer += $input->readMapEnd(); } else { @@ -21798,10 +21916,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter647 => $viter648) + foreach ($this->metadata as $kiter654 => $viter655) { - $xfer += $output->writeI64($kiter647); - $xfer += $viter648->write($output); + $xfer += $output->writeI64($kiter654); + $xfer += $viter655->write($output); } } $output->writeMapEnd(); @@ -21903,14 +22021,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size649 = 0; - $_etype652 = 0; - $xfer += $input->readListBegin($_etype652, $_size649); - for ($_i653 = 0; $_i653 < $_size649; ++$_i653) + $_size656 = 0; + $_etype659 = 0; + $xfer += $input->readListBegin($_etype659, $_size656); + for ($_i660 = 0; $_i660 < $_size656; ++$_i660) { - $elem654 = null; - $xfer += $input->readI64($elem654); - $this->fileIds []= $elem654; + $elem661 = null; + $xfer += $input->readI64($elem661); + $this->fileIds []= $elem661; } $xfer += $input->readListEnd(); } else { @@ -21959,9 +22077,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter655) + foreach ($this->fileIds as $iter662) { - $xfer += $output->writeI64($iter655); + $xfer += $output->writeI64($iter662); } } $output->writeListEnd(); @@ -22055,17 +22173,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size656 = 0; - $_ktype657 = 0; - $_vtype658 = 0; - $xfer += $input->readMapBegin($_ktype657, $_vtype658, $_size656); - for ($_i660 = 0; $_i660 < $_size656; ++$_i660) + $_size663 = 0; + $_ktype664 = 0; + $_vtype665 = 0; + $xfer += $input->readMapBegin($_ktype664, $_vtype665, $_size663); + for ($_i667 = 0; $_i667 < $_size663; ++$_i667) { - $key661 = 0; - $val662 = ''; - $xfer += $input->readI64($key661); - $xfer += $input->readString($val662); - $this->metadata[$key661] = $val662; + $key668 = 0; + $val669 = ''; + $xfer += $input->readI64($key668); + $xfer += $input->readString($val669); + $this->metadata[$key668] = $val669; } $xfer += $input->readMapEnd(); } else { @@ -22100,10 +22218,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter663 => $viter664) + foreach ($this->metadata as $kiter670 => $viter671) { - $xfer += $output->writeI64($kiter663); - $xfer += $output->writeString($viter664); + $xfer += $output->writeI64($kiter670); + $xfer += $output->writeString($viter671); } } $output->writeMapEnd(); @@ -22172,14 +22290,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size665 = 0; - $_etype668 = 0; - $xfer += $input->readListBegin($_etype668, $_size665); - for ($_i669 = 0; $_i669 < $_size665; ++$_i669) + $_size672 = 0; + $_etype675 = 0; + $xfer += $input->readListBegin($_etype675, $_size672); + for ($_i676 = 0; $_i676 < $_size672; ++$_i676) { - $elem670 = null; - $xfer += $input->readI64($elem670); - $this->fileIds []= $elem670; + $elem677 = null; + $xfer += $input->readI64($elem677); + $this->fileIds []= $elem677; } $xfer += $input->readListEnd(); } else { @@ -22207,9 +22325,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter671) + foreach ($this->fileIds as $iter678) { - $xfer += $output->writeI64($iter671); + $xfer += $output->writeI64($iter678); } } $output->writeListEnd(); @@ -22349,14 +22467,14 @@ class PutFileMetadataRequest { 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 { @@ -22366,14 +22484,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size678 = 0; - $_etype681 = 0; - $xfer += $input->readListBegin($_etype681, $_size678); - for ($_i682 = 0; $_i682 < $_size678; ++$_i682) + $_size685 = 0; + $_etype688 = 0; + $xfer += $input->readListBegin($_etype688, $_size685); + for ($_i689 = 0; $_i689 < $_size685; ++$_i689) { - $elem683 = null; - $xfer += $input->readString($elem683); - $this->metadata []= $elem683; + $elem690 = null; + $xfer += $input->readString($elem690); + $this->metadata []= $elem690; } $xfer += $input->readListEnd(); } else { @@ -22408,9 +22526,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter684) + foreach ($this->fileIds as $iter691) { - $xfer += $output->writeI64($iter684); + $xfer += $output->writeI64($iter691); } } $output->writeListEnd(); @@ -22425,9 +22543,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter685) + foreach ($this->metadata as $iter692) { - $xfer += $output->writeString($iter685); + $xfer += $output->writeString($iter692); } } $output->writeListEnd(); @@ -22546,14 +22664,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size686 = 0; - $_etype689 = 0; - $xfer += $input->readListBegin($_etype689, $_size686); - for ($_i690 = 0; $_i690 < $_size686; ++$_i690) + $_size693 = 0; + $_etype696 = 0; + $xfer += $input->readListBegin($_etype696, $_size693); + for ($_i697 = 0; $_i697 < $_size693; ++$_i697) { - $elem691 = null; - $xfer += $input->readI64($elem691); - $this->fileIds []= $elem691; + $elem698 = null; + $xfer += $input->readI64($elem698); + $this->fileIds []= $elem698; } $xfer += $input->readListEnd(); } else { @@ -22581,9 +22699,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter692) + foreach ($this->fileIds as $iter699) { - $xfer += $output->writeI64($iter692); + $xfer += $output->writeI64($iter699); } } $output->writeListEnd(); @@ -22867,15 +22985,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = 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; - $elem698 = new \metastore\Function(); - $xfer += $elem698->read($input); - $this->functions []= $elem698; + $elem705 = null; + $elem705 = new \metastore\Function(); + $xfer += $elem705->read($input); + $this->functions []= $elem705; } $xfer += $input->readListEnd(); } else { @@ -22903,9 +23021,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter699) + foreach ($this->functions as $iter706) { - $xfer += $iter699->write($output); + $xfer += $iter706->write($output); } } $output->writeListEnd(); @@ -22969,14 +23087,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size700 = 0; - $_etype703 = 0; - $xfer += $input->readListBegin($_etype703, $_size700); - for ($_i704 = 0; $_i704 < $_size700; ++$_i704) + $_size707 = 0; + $_etype710 = 0; + $xfer += $input->readListBegin($_etype710, $_size707); + for ($_i711 = 0; $_i711 < $_size707; ++$_i711) { - $elem705 = null; - $xfer += $input->readI32($elem705); - $this->values []= $elem705; + $elem712 = null; + $xfer += $input->readI32($elem712); + $this->values []= $elem712; } $xfer += $input->readListEnd(); } else { @@ -23004,9 +23122,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter706) + foreach ($this->values as $iter713) { - $xfer += $output->writeI32($iter706); + $xfer += $output->writeI32($iter713); } } $output->writeListEnd(); @@ -23340,14 +23458,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = 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->readString($elem712); - $this->tblNames []= $elem712; + $elem719 = null; + $xfer += $input->readString($elem719); + $this->tblNames []= $elem719; } $xfer += $input->readListEnd(); } else { @@ -23395,9 +23513,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter713) + foreach ($this->tblNames as $iter720) { - $xfer += $output->writeString($iter713); + $xfer += $output->writeString($iter720); } } $output->writeListEnd(); @@ -23475,15 +23593,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = 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; - $elem719 = new \metastore\Table(); - $xfer += $elem719->read($input); - $this->tables []= $elem719; + $elem726 = null; + $elem726 = new \metastore\Table(); + $xfer += $elem726->read($input); + $this->tables []= $elem726; } $xfer += $input->readListEnd(); } else { @@ -23511,9 +23629,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter720) + foreach ($this->tables as $iter727) { - $xfer += $iter720->write($output); + $xfer += $iter727->write($output); } } $output->writeListEnd(); @@ -23914,17 +24032,17 @@ class Materialization { case 1: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size721 = 0; - $_etype724 = 0; - $xfer += $input->readSetBegin($_etype724, $_size721); - for ($_i725 = 0; $_i725 < $_size721; ++$_i725) + $_size728 = 0; + $_etype731 = 0; + $xfer += $input->readSetBegin($_etype731, $_size728); + for ($_i732 = 0; $_i732 < $_size728; ++$_i732) { - $elem726 = null; - $xfer += $input->readString($elem726); - if (is_scalar($elem726)) { - $this->tablesUsed[$elem726] = true; + $elem733 = null; + $xfer += $input->readString($elem733); + if (is_scalar($elem733)) { + $this->tablesUsed[$elem733] = true; } else { - $this->tablesUsed []= $elem726; + $this->tablesUsed []= $elem733; } } $xfer += $input->readSetEnd(); @@ -23967,12 +24085,12 @@ class Materialization { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter727 => $iter728) + foreach ($this->tablesUsed as $iter734 => $iter735) { - if (is_scalar($iter728)) { - $xfer += $output->writeString($iter727); + if (is_scalar($iter735)) { + $xfer += $output->writeString($iter734); } else { - $xfer += $output->writeString($iter728); + $xfer += $output->writeString($iter735); } } } @@ -25239,15 +25357,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size729 = 0; - $_etype732 = 0; - $xfer += $input->readListBegin($_etype732, $_size729); - for ($_i733 = 0; $_i733 < $_size729; ++$_i733) + $_size736 = 0; + $_etype739 = 0; + $xfer += $input->readListBegin($_etype739, $_size736); + for ($_i740 = 0; $_i740 < $_size736; ++$_i740) { - $elem734 = null; - $elem734 = new \metastore\WMPool(); - $xfer += $elem734->read($input); - $this->pools []= $elem734; + $elem741 = null; + $elem741 = new \metastore\WMPool(); + $xfer += $elem741->read($input); + $this->pools []= $elem741; } $xfer += $input->readListEnd(); } else { @@ -25257,15 +25375,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size735 = 0; - $_etype738 = 0; - $xfer += $input->readListBegin($_etype738, $_size735); - for ($_i739 = 0; $_i739 < $_size735; ++$_i739) + $_size742 = 0; + $_etype745 = 0; + $xfer += $input->readListBegin($_etype745, $_size742); + for ($_i746 = 0; $_i746 < $_size742; ++$_i746) { - $elem740 = null; - $elem740 = new \metastore\WMMapping(); - $xfer += $elem740->read($input); - $this->mappings []= $elem740; + $elem747 = null; + $elem747 = new \metastore\WMMapping(); + $xfer += $elem747->read($input); + $this->mappings []= $elem747; } $xfer += $input->readListEnd(); } else { @@ -25275,15 +25393,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size741 = 0; - $_etype744 = 0; - $xfer += $input->readListBegin($_etype744, $_size741); - for ($_i745 = 0; $_i745 < $_size741; ++$_i745) + $_size748 = 0; + $_etype751 = 0; + $xfer += $input->readListBegin($_etype751, $_size748); + for ($_i752 = 0; $_i752 < $_size748; ++$_i752) { - $elem746 = null; - $elem746 = new \metastore\WMTrigger(); - $xfer += $elem746->read($input); - $this->triggers []= $elem746; + $elem753 = null; + $elem753 = new \metastore\WMTrigger(); + $xfer += $elem753->read($input); + $this->triggers []= $elem753; } $xfer += $input->readListEnd(); } else { @@ -25293,15 +25411,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size747 = 0; - $_etype750 = 0; - $xfer += $input->readListBegin($_etype750, $_size747); - for ($_i751 = 0; $_i751 < $_size747; ++$_i751) + $_size754 = 0; + $_etype757 = 0; + $xfer += $input->readListBegin($_etype757, $_size754); + for ($_i758 = 0; $_i758 < $_size754; ++$_i758) { - $elem752 = null; - $elem752 = new \metastore\WMPoolTrigger(); - $xfer += $elem752->read($input); - $this->poolTriggers []= $elem752; + $elem759 = null; + $elem759 = new \metastore\WMPoolTrigger(); + $xfer += $elem759->read($input); + $this->poolTriggers []= $elem759; } $xfer += $input->readListEnd(); } else { @@ -25337,9 +25455,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter753) + foreach ($this->pools as $iter760) { - $xfer += $iter753->write($output); + $xfer += $iter760->write($output); } } $output->writeListEnd(); @@ -25354,9 +25472,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter754) + foreach ($this->mappings as $iter761) { - $xfer += $iter754->write($output); + $xfer += $iter761->write($output); } } $output->writeListEnd(); @@ -25371,9 +25489,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter755) + foreach ($this->triggers as $iter762) { - $xfer += $iter755->write($output); + $xfer += $iter762->write($output); } } $output->writeListEnd(); @@ -25388,9 +25506,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter756) + foreach ($this->poolTriggers as $iter763) { - $xfer += $iter756->write($output); + $xfer += $iter763->write($output); } } $output->writeListEnd(); @@ -25943,15 +26061,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size757 = 0; - $_etype760 = 0; - $xfer += $input->readListBegin($_etype760, $_size757); - for ($_i761 = 0; $_i761 < $_size757; ++$_i761) + $_size764 = 0; + $_etype767 = 0; + $xfer += $input->readListBegin($_etype767, $_size764); + for ($_i768 = 0; $_i768 < $_size764; ++$_i768) { - $elem762 = null; - $elem762 = new \metastore\WMResourcePlan(); - $xfer += $elem762->read($input); - $this->resourcePlans []= $elem762; + $elem769 = null; + $elem769 = new \metastore\WMResourcePlan(); + $xfer += $elem769->read($input); + $this->resourcePlans []= $elem769; } $xfer += $input->readListEnd(); } else { @@ -25979,9 +26097,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter763) + foreach ($this->resourcePlans as $iter770) { - $xfer += $iter763->write($output); + $xfer += $iter770->write($output); } } $output->writeListEnd(); @@ -26387,14 +26505,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = 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; - $xfer += $input->readString($elem769); - $this->errors []= $elem769; + $elem776 = null; + $xfer += $input->readString($elem776); + $this->errors []= $elem776; } $xfer += $input->readListEnd(); } else { @@ -26404,14 +26522,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size770 = 0; - $_etype773 = 0; - $xfer += $input->readListBegin($_etype773, $_size770); - for ($_i774 = 0; $_i774 < $_size770; ++$_i774) + $_size777 = 0; + $_etype780 = 0; + $xfer += $input->readListBegin($_etype780, $_size777); + for ($_i781 = 0; $_i781 < $_size777; ++$_i781) { - $elem775 = null; - $xfer += $input->readString($elem775); - $this->warnings []= $elem775; + $elem782 = null; + $xfer += $input->readString($elem782); + $this->warnings []= $elem782; } $xfer += $input->readListEnd(); } else { @@ -26439,9 +26557,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter776) + foreach ($this->errors as $iter783) { - $xfer += $output->writeString($iter776); + $xfer += $output->writeString($iter783); } } $output->writeListEnd(); @@ -26456,9 +26574,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter777) + foreach ($this->warnings as $iter784) { - $xfer += $output->writeString($iter777); + $xfer += $output->writeString($iter784); } } $output->writeListEnd(); @@ -27131,15 +27249,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size778 = 0; - $_etype781 = 0; - $xfer += $input->readListBegin($_etype781, $_size778); - for ($_i782 = 0; $_i782 < $_size778; ++$_i782) + $_size785 = 0; + $_etype788 = 0; + $xfer += $input->readListBegin($_etype788, $_size785); + for ($_i789 = 0; $_i789 < $_size785; ++$_i789) { - $elem783 = null; - $elem783 = new \metastore\WMTrigger(); - $xfer += $elem783->read($input); - $this->triggers []= $elem783; + $elem790 = null; + $elem790 = new \metastore\WMTrigger(); + $xfer += $elem790->read($input); + $this->triggers []= $elem790; } $xfer += $input->readListEnd(); } else { @@ -27167,9 +27285,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter784) + foreach ($this->triggers as $iter791) { - $xfer += $iter784->write($output); + $xfer += $iter791->write($output); } } $output->writeListEnd(); @@ -28753,15 +28871,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = 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\FieldSchema(); - $xfer += $elem790->read($input); - $this->cols []= $elem790; + $elem797 = null; + $elem797 = new \metastore\FieldSchema(); + $xfer += $elem797->read($input); + $this->cols []= $elem797; } $xfer += $input->readListEnd(); } else { @@ -28850,9 +28968,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter791) + foreach ($this->cols as $iter798) { - $xfer += $iter791->write($output); + $xfer += $iter798->write($output); } } $output->writeListEnd(); @@ -29174,15 +29292,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = 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\SchemaVersionDescriptor(); - $xfer += $elem797->read($input); - $this->schemaVersions []= $elem797; + $elem804 = null; + $elem804 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem804->read($input); + $this->schemaVersions []= $elem804; } $xfer += $input->readListEnd(); } else { @@ -29210,9 +29328,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter798) + foreach ($this->schemaVersions as $iter805) { - $xfer += $iter798->write($output); + $xfer += $iter805->write($output); } } $output->writeListEnd(); 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 bded16a54e..f8ffeac605 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 @@ -15379,10 +15379,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype798, _size795) = iprot.readListBegin() - for _i799 in xrange(_size795): - _elem800 = iprot.readString() - self.success.append(_elem800) + (_etype805, _size802) = iprot.readListBegin() + for _i806 in xrange(_size802): + _elem807 = iprot.readString() + self.success.append(_elem807) iprot.readListEnd() else: iprot.skip(ftype) @@ -15405,8 +15405,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 iter801 in self.success: - oprot.writeString(iter801) + for iter808 in self.success: + oprot.writeString(iter808) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15511,10 +15511,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) @@ -15537,8 +15537,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: @@ -16308,12 +16308,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype810, _vtype811, _size809 ) = iprot.readMapBegin() - for _i813 in xrange(_size809): - _key814 = iprot.readString() - _val815 = Type() - _val815.read(iprot) - self.success[_key814] = _val815 + (_ktype817, _vtype818, _size816 ) = iprot.readMapBegin() + for _i820 in xrange(_size816): + _key821 = iprot.readString() + _val822 = Type() + _val822.read(iprot) + self.success[_key821] = _val822 iprot.readMapEnd() else: iprot.skip(ftype) @@ -16336,9 +16336,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 kiter816,viter817 in self.success.items(): - oprot.writeString(kiter816) - viter817.write(oprot) + for kiter823,viter824 in self.success.items(): + oprot.writeString(kiter823) + viter824.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -16481,11 +16481,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype821, _size818) = iprot.readListBegin() - for _i822 in xrange(_size818): - _elem823 = FieldSchema() - _elem823.read(iprot) - self.success.append(_elem823) + (_etype828, _size825) = iprot.readListBegin() + for _i829 in xrange(_size825): + _elem830 = FieldSchema() + _elem830.read(iprot) + self.success.append(_elem830) iprot.readListEnd() else: iprot.skip(ftype) @@ -16520,8 +16520,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 iter824 in self.success: - iter824.write(oprot) + for iter831 in self.success: + iter831.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16688,11 +16688,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) @@ -16727,8 +16727,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: @@ -16881,11 +16881,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype835, _size832) = iprot.readListBegin() - for _i836 in xrange(_size832): - _elem837 = FieldSchema() - _elem837.read(iprot) - self.success.append(_elem837) + (_etype842, _size839) = iprot.readListBegin() + for _i843 in xrange(_size839): + _elem844 = FieldSchema() + _elem844.read(iprot) + self.success.append(_elem844) iprot.readListEnd() else: iprot.skip(ftype) @@ -16920,8 +16920,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter838 in self.success: - iter838.write(oprot) + for iter845 in self.success: + iter845.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17088,11 +17088,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype842, _size839) = iprot.readListBegin() - for _i843 in xrange(_size839): - _elem844 = FieldSchema() - _elem844.read(iprot) - self.success.append(_elem844) + (_etype849, _size846) = iprot.readListBegin() + for _i850 in xrange(_size846): + _elem851 = FieldSchema() + _elem851.read(iprot) + self.success.append(_elem851) iprot.readListEnd() else: iprot.skip(ftype) @@ -17127,8 +17127,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 iter845 in self.success: - iter845.write(oprot) + for iter852 in self.success: + iter852.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17581,66 +17581,66 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype849, _size846) = iprot.readListBegin() - for _i850 in xrange(_size846): - _elem851 = SQLPrimaryKey() - _elem851.read(iprot) - self.primaryKeys.append(_elem851) + (_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 = [] - (_etype855, _size852) = iprot.readListBegin() - for _i856 in xrange(_size852): - _elem857 = SQLForeignKey() - _elem857.read(iprot) - self.foreignKeys.append(_elem857) + (_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 = [] - (_etype861, _size858) = iprot.readListBegin() - for _i862 in xrange(_size858): - _elem863 = SQLUniqueConstraint() - _elem863.read(iprot) - self.uniqueConstraints.append(_elem863) + (_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 = [] - (_etype867, _size864) = iprot.readListBegin() - for _i868 in xrange(_size864): - _elem869 = SQLNotNullConstraint() - _elem869.read(iprot) - self.notNullConstraints.append(_elem869) + (_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 = [] - (_etype873, _size870) = iprot.readListBegin() - for _i874 in xrange(_size870): - _elem875 = SQLDefaultConstraint() - _elem875.read(iprot) - self.defaultConstraints.append(_elem875) + (_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 = [] - (_etype879, _size876) = iprot.readListBegin() - for _i880 in xrange(_size876): - _elem881 = SQLCheckConstraint() - _elem881.read(iprot) - self.checkConstraints.append(_elem881) + (_etype886, _size883) = iprot.readListBegin() + for _i887 in xrange(_size883): + _elem888 = SQLCheckConstraint() + _elem888.read(iprot) + self.checkConstraints.append(_elem888) iprot.readListEnd() else: iprot.skip(ftype) @@ -17661,43 +17661,43 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter882 in self.primaryKeys: - iter882.write(oprot) + 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 iter883 in self.foreignKeys: - iter883.write(oprot) + 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 iter884 in self.uniqueConstraints: - iter884.write(oprot) + 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 iter885 in self.notNullConstraints: - iter885.write(oprot) + 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 iter886 in self.defaultConstraints: - iter886.write(oprot) + 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 iter887 in self.checkConstraints: - iter887.write(oprot) + for iter894 in self.checkConstraints: + iter894.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19257,10 +19257,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype891, _size888) = iprot.readListBegin() - for _i892 in xrange(_size888): - _elem893 = iprot.readString() - self.partNames.append(_elem893) + (_etype898, _size895) = iprot.readListBegin() + for _i899 in xrange(_size895): + _elem900 = iprot.readString() + self.partNames.append(_elem900) iprot.readListEnd() else: iprot.skip(ftype) @@ -19285,8 +19285,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 iter894 in self.partNames: - oprot.writeString(iter894) + for iter901 in self.partNames: + oprot.writeString(iter901) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19486,10 +19486,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype898, _size895) = iprot.readListBegin() - for _i899 in xrange(_size895): - _elem900 = iprot.readString() - self.success.append(_elem900) + (_etype905, _size902) = iprot.readListBegin() + for _i906 in xrange(_size902): + _elem907 = iprot.readString() + self.success.append(_elem907) iprot.readListEnd() else: iprot.skip(ftype) @@ -19512,8 +19512,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 iter901 in self.success: - oprot.writeString(iter901) + for iter908 in self.success: + oprot.writeString(iter908) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19663,10 +19663,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) @@ -19689,8 +19689,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: @@ -19814,10 +19814,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) @@ -19840,8 +19840,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: @@ -19914,10 +19914,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype919, _size916) = iprot.readListBegin() - for _i920 in xrange(_size916): - _elem921 = iprot.readString() - self.tbl_types.append(_elem921) + (_etype926, _size923) = iprot.readListBegin() + for _i927 in xrange(_size923): + _elem928 = iprot.readString() + self.tbl_types.append(_elem928) iprot.readListEnd() else: iprot.skip(ftype) @@ -19942,8 +19942,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 iter922 in self.tbl_types: - oprot.writeString(iter922) + for iter929 in self.tbl_types: + oprot.writeString(iter929) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19999,11 +19999,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype926, _size923) = iprot.readListBegin() - for _i927 in xrange(_size923): - _elem928 = TableMeta() - _elem928.read(iprot) - self.success.append(_elem928) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = TableMeta() + _elem935.read(iprot) + self.success.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -20026,8 +20026,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter929 in self.success: - iter929.write(oprot) + for iter936 in self.success: + iter936.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20151,10 +20151,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype933, _size930) = iprot.readListBegin() - for _i934 in xrange(_size930): - _elem935 = iprot.readString() - self.success.append(_elem935) + (_etype940, _size937) = iprot.readListBegin() + for _i941 in xrange(_size937): + _elem942 = iprot.readString() + self.success.append(_elem942) iprot.readListEnd() else: iprot.skip(ftype) @@ -20177,8 +20177,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 iter936 in self.success: - oprot.writeString(iter936) + for iter943 in self.success: + oprot.writeString(iter943) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20414,10 +20414,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype940, _size937) = iprot.readListBegin() - for _i941 in xrange(_size937): - _elem942 = iprot.readString() - self.tbl_names.append(_elem942) + (_etype947, _size944) = iprot.readListBegin() + for _i948 in xrange(_size944): + _elem949 = iprot.readString() + self.tbl_names.append(_elem949) iprot.readListEnd() else: iprot.skip(ftype) @@ -20438,8 +20438,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 iter943 in self.tbl_names: - oprot.writeString(iter943) + for iter950 in self.tbl_names: + oprot.writeString(iter950) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20491,11 +20491,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype947, _size944) = iprot.readListBegin() - for _i948 in xrange(_size944): - _elem949 = Table() - _elem949.read(iprot) - self.success.append(_elem949) + (_etype954, _size951) = iprot.readListBegin() + for _i955 in xrange(_size951): + _elem956 = Table() + _elem956.read(iprot) + self.success.append(_elem956) iprot.readListEnd() else: iprot.skip(ftype) @@ -20512,8 +20512,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 iter950 in self.success: - iter950.write(oprot) + for iter957 in self.success: + iter957.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20905,10 +20905,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype954, _size951) = iprot.readListBegin() - for _i955 in xrange(_size951): - _elem956 = iprot.readString() - self.tbl_names.append(_elem956) + (_etype961, _size958) = iprot.readListBegin() + for _i962 in xrange(_size958): + _elem963 = iprot.readString() + self.tbl_names.append(_elem963) iprot.readListEnd() else: iprot.skip(ftype) @@ -20929,8 +20929,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter957 in self.tbl_names: - oprot.writeString(iter957) + for iter964 in self.tbl_names: + oprot.writeString(iter964) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20991,12 +20991,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype959, _vtype960, _size958 ) = iprot.readMapBegin() - for _i962 in xrange(_size958): - _key963 = iprot.readString() - _val964 = Materialization() - _val964.read(iprot) - self.success[_key963] = _val964 + (_ktype966, _vtype967, _size965 ) = iprot.readMapBegin() + for _i969 in xrange(_size965): + _key970 = iprot.readString() + _val971 = Materialization() + _val971.read(iprot) + self.success[_key970] = _val971 iprot.readMapEnd() else: iprot.skip(ftype) @@ -21031,9 +21031,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 kiter965,viter966 in self.success.items(): - oprot.writeString(kiter965) - viter966.write(oprot) + for kiter972,viter973 in self.success.items(): + oprot.writeString(kiter972) + viter973.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21398,10 +21398,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype970, _size967) = iprot.readListBegin() - for _i971 in xrange(_size967): - _elem972 = iprot.readString() - self.success.append(_elem972) + (_etype977, _size974) = iprot.readListBegin() + for _i978 in xrange(_size974): + _elem979 = iprot.readString() + self.success.append(_elem979) iprot.readListEnd() else: iprot.skip(ftype) @@ -21436,8 +21436,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 iter973 in self.success: - oprot.writeString(iter973) + for iter980 in self.success: + oprot.writeString(iter980) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -22407,11 +22407,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype977, _size974) = iprot.readListBegin() - for _i978 in xrange(_size974): - _elem979 = Partition() - _elem979.read(iprot) - self.new_parts.append(_elem979) + (_etype984, _size981) = iprot.readListBegin() + for _i985 in xrange(_size981): + _elem986 = Partition() + _elem986.read(iprot) + self.new_parts.append(_elem986) iprot.readListEnd() else: iprot.skip(ftype) @@ -22428,8 +22428,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 iter980 in self.new_parts: - iter980.write(oprot) + for iter987 in self.new_parts: + iter987.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22587,11 +22587,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 = PartitionSpec() - _elem986.read(iprot) - self.new_parts.append(_elem986) + (_etype991, _size988) = iprot.readListBegin() + for _i992 in xrange(_size988): + _elem993 = PartitionSpec() + _elem993.read(iprot) + self.new_parts.append(_elem993) iprot.readListEnd() else: iprot.skip(ftype) @@ -22608,8 +22608,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() @@ -22783,10 +22783,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype991, _size988) = iprot.readListBegin() - for _i992 in xrange(_size988): - _elem993 = iprot.readString() - self.part_vals.append(_elem993) + (_etype998, _size995) = iprot.readListBegin() + for _i999 in xrange(_size995): + _elem1000 = iprot.readString() + self.part_vals.append(_elem1000) iprot.readListEnd() else: iprot.skip(ftype) @@ -22811,8 +22811,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 iter994 in self.part_vals: - oprot.writeString(iter994) + for iter1001 in self.part_vals: + oprot.writeString(iter1001) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23165,10 +23165,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) @@ -23199,8 +23199,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() if self.environment_context is not None: @@ -23795,10 +23795,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) @@ -23828,8 +23828,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.deleteData is not None: @@ -24002,10 +24002,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) @@ -24041,8 +24041,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: @@ -24779,10 +24779,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) @@ -24807,8 +24807,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() oprot.writeFieldStop() @@ -24967,11 +24967,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1024, _vtype1025, _size1023 ) = iprot.readMapBegin() - for _i1027 in xrange(_size1023): - _key1028 = iprot.readString() - _val1029 = iprot.readString() - self.partitionSpecs[_key1028] = _val1029 + (_ktype1031, _vtype1032, _size1030 ) = iprot.readMapBegin() + for _i1034 in xrange(_size1030): + _key1035 = iprot.readString() + _val1036 = iprot.readString() + self.partitionSpecs[_key1035] = _val1036 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25008,9 +25008,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 kiter1030,viter1031 in self.partitionSpecs.items(): - oprot.writeString(kiter1030) - oprot.writeString(viter1031) + for kiter1037,viter1038 in self.partitionSpecs.items(): + oprot.writeString(kiter1037) + oprot.writeString(viter1038) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -25215,11 +25215,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1033, _vtype1034, _size1032 ) = iprot.readMapBegin() - for _i1036 in xrange(_size1032): - _key1037 = iprot.readString() - _val1038 = iprot.readString() - self.partitionSpecs[_key1037] = _val1038 + (_ktype1040, _vtype1041, _size1039 ) = iprot.readMapBegin() + for _i1043 in xrange(_size1039): + _key1044 = iprot.readString() + _val1045 = iprot.readString() + self.partitionSpecs[_key1044] = _val1045 iprot.readMapEnd() else: iprot.skip(ftype) @@ -25256,9 +25256,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 kiter1039,viter1040 in self.partitionSpecs.items(): - oprot.writeString(kiter1039) - oprot.writeString(viter1040) + for kiter1046,viter1047 in self.partitionSpecs.items(): + oprot.writeString(kiter1046) + oprot.writeString(viter1047) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -25341,11 +25341,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1044, _size1041) = iprot.readListBegin() - for _i1045 in xrange(_size1041): - _elem1046 = Partition() - _elem1046.read(iprot) - self.success.append(_elem1046) + (_etype1051, _size1048) = iprot.readListBegin() + for _i1052 in xrange(_size1048): + _elem1053 = Partition() + _elem1053.read(iprot) + self.success.append(_elem1053) iprot.readListEnd() else: iprot.skip(ftype) @@ -25386,8 +25386,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 iter1047 in self.success: - iter1047.write(oprot) + for iter1054 in self.success: + iter1054.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25481,10 +25481,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1051, _size1048) = iprot.readListBegin() - for _i1052 in xrange(_size1048): - _elem1053 = iprot.readString() - self.part_vals.append(_elem1053) + (_etype1058, _size1055) = iprot.readListBegin() + for _i1059 in xrange(_size1055): + _elem1060 = iprot.readString() + self.part_vals.append(_elem1060) iprot.readListEnd() else: iprot.skip(ftype) @@ -25496,10 +25496,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1057, _size1054) = iprot.readListBegin() - for _i1058 in xrange(_size1054): - _elem1059 = iprot.readString() - self.group_names.append(_elem1059) + (_etype1064, _size1061) = iprot.readListBegin() + for _i1065 in xrange(_size1061): + _elem1066 = iprot.readString() + self.group_names.append(_elem1066) iprot.readListEnd() else: iprot.skip(ftype) @@ -25524,8 +25524,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 iter1060 in self.part_vals: - oprot.writeString(iter1060) + for iter1067 in self.part_vals: + oprot.writeString(iter1067) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -25535,8 +25535,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 iter1061 in self.group_names: - oprot.writeString(iter1061) + for iter1068 in self.group_names: + oprot.writeString(iter1068) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25965,11 +25965,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1065, _size1062) = iprot.readListBegin() - for _i1066 in xrange(_size1062): - _elem1067 = Partition() - _elem1067.read(iprot) - self.success.append(_elem1067) + (_etype1072, _size1069) = iprot.readListBegin() + for _i1073 in xrange(_size1069): + _elem1074 = Partition() + _elem1074.read(iprot) + self.success.append(_elem1074) iprot.readListEnd() else: iprot.skip(ftype) @@ -25998,8 +25998,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 iter1068 in self.success: - iter1068.write(oprot) + for iter1075 in self.success: + iter1075.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26093,10 +26093,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1072, _size1069) = iprot.readListBegin() - for _i1073 in xrange(_size1069): - _elem1074 = iprot.readString() - self.group_names.append(_elem1074) + (_etype1079, _size1076) = iprot.readListBegin() + for _i1080 in xrange(_size1076): + _elem1081 = iprot.readString() + self.group_names.append(_elem1081) iprot.readListEnd() else: iprot.skip(ftype) @@ -26129,8 +26129,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1075 in self.group_names: - oprot.writeString(iter1075) + for iter1082 in self.group_names: + oprot.writeString(iter1082) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26191,11 +26191,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1079, _size1076) = iprot.readListBegin() - for _i1080 in xrange(_size1076): - _elem1081 = Partition() - _elem1081.read(iprot) - self.success.append(_elem1081) + (_etype1086, _size1083) = iprot.readListBegin() + for _i1087 in xrange(_size1083): + _elem1088 = Partition() + _elem1088.read(iprot) + self.success.append(_elem1088) iprot.readListEnd() else: iprot.skip(ftype) @@ -26224,8 +26224,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1082 in self.success: - iter1082.write(oprot) + for iter1089 in self.success: + iter1089.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26383,11 +26383,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1086, _size1083) = iprot.readListBegin() - for _i1087 in xrange(_size1083): - _elem1088 = PartitionSpec() - _elem1088.read(iprot) - self.success.append(_elem1088) + (_etype1093, _size1090) = iprot.readListBegin() + for _i1094 in xrange(_size1090): + _elem1095 = PartitionSpec() + _elem1095.read(iprot) + self.success.append(_elem1095) iprot.readListEnd() else: iprot.skip(ftype) @@ -26416,8 +26416,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: @@ -26575,10 +26575,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1093, _size1090) = iprot.readListBegin() - for _i1094 in xrange(_size1090): - _elem1095 = iprot.readString() - self.success.append(_elem1095) + (_etype1100, _size1097) = iprot.readListBegin() + for _i1101 in xrange(_size1097): + _elem1102 = iprot.readString() + self.success.append(_elem1102) iprot.readListEnd() else: iprot.skip(ftype) @@ -26607,8 +26607,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 iter1096 in self.success: - oprot.writeString(iter1096) + for iter1103 in self.success: + oprot.writeString(iter1103) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26848,10 +26848,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1100, _size1097) = iprot.readListBegin() - for _i1101 in xrange(_size1097): - _elem1102 = iprot.readString() - self.part_vals.append(_elem1102) + (_etype1107, _size1104) = iprot.readListBegin() + for _i1108 in xrange(_size1104): + _elem1109 = iprot.readString() + self.part_vals.append(_elem1109) iprot.readListEnd() else: iprot.skip(ftype) @@ -26881,8 +26881,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 iter1103 in self.part_vals: - oprot.writeString(iter1103) + for iter1110 in self.part_vals: + oprot.writeString(iter1110) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -26946,11 +26946,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1107, _size1104) = iprot.readListBegin() - for _i1108 in xrange(_size1104): - _elem1109 = Partition() - _elem1109.read(iprot) - self.success.append(_elem1109) + (_etype1114, _size1111) = iprot.readListBegin() + for _i1115 in xrange(_size1111): + _elem1116 = Partition() + _elem1116.read(iprot) + self.success.append(_elem1116) iprot.readListEnd() else: iprot.skip(ftype) @@ -26979,8 +26979,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 iter1110 in self.success: - iter1110.write(oprot) + for iter1117 in self.success: + iter1117.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27067,10 +27067,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1114, _size1111) = iprot.readListBegin() - for _i1115 in xrange(_size1111): - _elem1116 = iprot.readString() - self.part_vals.append(_elem1116) + (_etype1121, _size1118) = iprot.readListBegin() + for _i1122 in xrange(_size1118): + _elem1123 = iprot.readString() + self.part_vals.append(_elem1123) iprot.readListEnd() else: iprot.skip(ftype) @@ -27087,10 +27087,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1120, _size1117) = iprot.readListBegin() - for _i1121 in xrange(_size1117): - _elem1122 = iprot.readString() - self.group_names.append(_elem1122) + (_etype1127, _size1124) = iprot.readListBegin() + for _i1128 in xrange(_size1124): + _elem1129 = iprot.readString() + self.group_names.append(_elem1129) iprot.readListEnd() else: iprot.skip(ftype) @@ -27115,8 +27115,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 iter1123 in self.part_vals: - oprot.writeString(iter1123) + for iter1130 in self.part_vals: + oprot.writeString(iter1130) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27130,8 +27130,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 iter1124 in self.group_names: - oprot.writeString(iter1124) + for iter1131 in self.group_names: + oprot.writeString(iter1131) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27193,11 +27193,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1128, _size1125) = iprot.readListBegin() - for _i1129 in xrange(_size1125): - _elem1130 = Partition() - _elem1130.read(iprot) - self.success.append(_elem1130) + (_etype1135, _size1132) = iprot.readListBegin() + for _i1136 in xrange(_size1132): + _elem1137 = Partition() + _elem1137.read(iprot) + self.success.append(_elem1137) iprot.readListEnd() else: iprot.skip(ftype) @@ -27226,8 +27226,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 iter1131 in self.success: - iter1131.write(oprot) + for iter1138 in self.success: + iter1138.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27308,10 +27308,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1135, _size1132) = iprot.readListBegin() - for _i1136 in xrange(_size1132): - _elem1137 = iprot.readString() - self.part_vals.append(_elem1137) + (_etype1142, _size1139) = iprot.readListBegin() + for _i1143 in xrange(_size1139): + _elem1144 = iprot.readString() + self.part_vals.append(_elem1144) iprot.readListEnd() else: iprot.skip(ftype) @@ -27341,8 +27341,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 iter1138 in self.part_vals: - oprot.writeString(iter1138) + for iter1145 in self.part_vals: + oprot.writeString(iter1145) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -27406,10 +27406,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1142, _size1139) = iprot.readListBegin() - for _i1143 in xrange(_size1139): - _elem1144 = iprot.readString() - self.success.append(_elem1144) + (_etype1149, _size1146) = iprot.readListBegin() + for _i1150 in xrange(_size1146): + _elem1151 = iprot.readString() + self.success.append(_elem1151) iprot.readListEnd() else: iprot.skip(ftype) @@ -27438,8 +27438,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 iter1145 in self.success: - oprot.writeString(iter1145) + for iter1152 in self.success: + oprot.writeString(iter1152) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27610,11 +27610,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1149, _size1146) = iprot.readListBegin() - for _i1150 in xrange(_size1146): - _elem1151 = Partition() - _elem1151.read(iprot) - self.success.append(_elem1151) + (_etype1156, _size1153) = iprot.readListBegin() + for _i1157 in xrange(_size1153): + _elem1158 = Partition() + _elem1158.read(iprot) + self.success.append(_elem1158) iprot.readListEnd() else: iprot.skip(ftype) @@ -27643,8 +27643,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 iter1152 in self.success: - iter1152.write(oprot) + for iter1159 in self.success: + iter1159.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27815,11 +27815,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1156, _size1153) = iprot.readListBegin() - for _i1157 in xrange(_size1153): - _elem1158 = PartitionSpec() - _elem1158.read(iprot) - self.success.append(_elem1158) + (_etype1163, _size1160) = iprot.readListBegin() + for _i1164 in xrange(_size1160): + _elem1165 = PartitionSpec() + _elem1165.read(iprot) + self.success.append(_elem1165) iprot.readListEnd() else: iprot.skip(ftype) @@ -27848,8 +27848,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: @@ -28269,10 +28269,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1163, _size1160) = iprot.readListBegin() - for _i1164 in xrange(_size1160): - _elem1165 = iprot.readString() - self.names.append(_elem1165) + (_etype1170, _size1167) = iprot.readListBegin() + for _i1171 in xrange(_size1167): + _elem1172 = iprot.readString() + self.names.append(_elem1172) iprot.readListEnd() else: iprot.skip(ftype) @@ -28297,8 +28297,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 iter1166 in self.names: - oprot.writeString(iter1166) + for iter1173 in self.names: + oprot.writeString(iter1173) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28357,11 +28357,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1170, _size1167) = iprot.readListBegin() - for _i1171 in xrange(_size1167): - _elem1172 = Partition() - _elem1172.read(iprot) - self.success.append(_elem1172) + (_etype1177, _size1174) = iprot.readListBegin() + for _i1178 in xrange(_size1174): + _elem1179 = Partition() + _elem1179.read(iprot) + self.success.append(_elem1179) iprot.readListEnd() else: iprot.skip(ftype) @@ -28390,8 +28390,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1173 in self.success: - iter1173.write(oprot) + for iter1180 in self.success: + iter1180.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28641,11 +28641,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1177, _size1174) = iprot.readListBegin() - for _i1178 in xrange(_size1174): - _elem1179 = Partition() - _elem1179.read(iprot) - self.new_parts.append(_elem1179) + (_etype1184, _size1181) = iprot.readListBegin() + for _i1185 in xrange(_size1181): + _elem1186 = Partition() + _elem1186.read(iprot) + self.new_parts.append(_elem1186) iprot.readListEnd() else: iprot.skip(ftype) @@ -28670,8 +28670,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 iter1180 in self.new_parts: - iter1180.write(oprot) + for iter1187 in self.new_parts: + iter1187.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -28824,11 +28824,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) @@ -28859,8 +28859,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() if self.environment_context is not None: @@ -29204,10 +29204,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1191, _size1188) = iprot.readListBegin() - for _i1192 in xrange(_size1188): - _elem1193 = iprot.readString() - self.part_vals.append(_elem1193) + (_etype1198, _size1195) = iprot.readListBegin() + for _i1199 in xrange(_size1195): + _elem1200 = iprot.readString() + self.part_vals.append(_elem1200) iprot.readListEnd() else: iprot.skip(ftype) @@ -29238,8 +29238,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 iter1194 in self.part_vals: - oprot.writeString(iter1194) + for iter1201 in self.part_vals: + oprot.writeString(iter1201) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -29381,10 +29381,10 @@ def read(self, iprot): if fid == 1: 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) @@ -29406,8 +29406,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 iter1201 in self.part_vals: - oprot.writeString(iter1201) + for iter1208 in self.part_vals: + oprot.writeString(iter1208) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -29765,10 +29765,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1205, _size1202) = iprot.readListBegin() - for _i1206 in xrange(_size1202): - _elem1207 = iprot.readString() - self.success.append(_elem1207) + (_etype1212, _size1209) = iprot.readListBegin() + for _i1213 in xrange(_size1209): + _elem1214 = iprot.readString() + self.success.append(_elem1214) iprot.readListEnd() else: iprot.skip(ftype) @@ -29791,8 +29791,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 iter1208 in self.success: - oprot.writeString(iter1208) + for iter1215 in self.success: + oprot.writeString(iter1215) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29916,11 +29916,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1210, _vtype1211, _size1209 ) = iprot.readMapBegin() - for _i1213 in xrange(_size1209): - _key1214 = iprot.readString() - _val1215 = iprot.readString() - self.success[_key1214] = _val1215 + (_ktype1217, _vtype1218, _size1216 ) = iprot.readMapBegin() + for _i1220 in xrange(_size1216): + _key1221 = iprot.readString() + _val1222 = iprot.readString() + self.success[_key1221] = _val1222 iprot.readMapEnd() else: iprot.skip(ftype) @@ -29943,9 +29943,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 kiter1216,viter1217 in self.success.items(): - oprot.writeString(kiter1216) - oprot.writeString(viter1217) + for kiter1223,viter1224 in self.success.items(): + oprot.writeString(kiter1223) + oprot.writeString(viter1224) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -30021,11 +30021,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1219, _vtype1220, _size1218 ) = iprot.readMapBegin() - for _i1222 in xrange(_size1218): - _key1223 = iprot.readString() - _val1224 = iprot.readString() - self.part_vals[_key1223] = _val1224 + (_ktype1226, _vtype1227, _size1225 ) = iprot.readMapBegin() + for _i1229 in xrange(_size1225): + _key1230 = iprot.readString() + _val1231 = iprot.readString() + self.part_vals[_key1230] = _val1231 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30055,9 +30055,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 kiter1225,viter1226 in self.part_vals.items(): - oprot.writeString(kiter1225) - oprot.writeString(viter1226) + for kiter1232,viter1233 in self.part_vals.items(): + oprot.writeString(kiter1232) + oprot.writeString(viter1233) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -30271,11 +30271,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1228, _vtype1229, _size1227 ) = iprot.readMapBegin() - for _i1231 in xrange(_size1227): - _key1232 = iprot.readString() - _val1233 = iprot.readString() - self.part_vals[_key1232] = _val1233 + (_ktype1235, _vtype1236, _size1234 ) = iprot.readMapBegin() + for _i1238 in xrange(_size1234): + _key1239 = iprot.readString() + _val1240 = iprot.readString() + self.part_vals[_key1239] = _val1240 iprot.readMapEnd() else: iprot.skip(ftype) @@ -30305,9 +30305,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 kiter1234,viter1235 in self.part_vals.items(): - oprot.writeString(kiter1234) - oprot.writeString(viter1235) + for kiter1241,viter1242 in self.part_vals.items(): + oprot.writeString(kiter1241) + oprot.writeString(viter1242) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -33959,10 +33959,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1239, _size1236) = iprot.readListBegin() - for _i1240 in xrange(_size1236): - _elem1241 = iprot.readString() - self.success.append(_elem1241) + (_etype1246, _size1243) = iprot.readListBegin() + for _i1247 in xrange(_size1243): + _elem1248 = iprot.readString() + self.success.append(_elem1248) iprot.readListEnd() else: iprot.skip(ftype) @@ -33985,8 +33985,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 iter1242 in self.success: - oprot.writeString(iter1242) + for iter1249 in self.success: + oprot.writeString(iter1249) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34674,10 +34674,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) @@ -34700,8 +34700,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: @@ -35215,11 +35215,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1253, _size1250) = iprot.readListBegin() - for _i1254 in xrange(_size1250): - _elem1255 = Role() - _elem1255.read(iprot) - self.success.append(_elem1255) + (_etype1260, _size1257) = iprot.readListBegin() + for _i1261 in xrange(_size1257): + _elem1262 = Role() + _elem1262.read(iprot) + self.success.append(_elem1262) iprot.readListEnd() else: iprot.skip(ftype) @@ -35242,8 +35242,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 iter1256 in self.success: - iter1256.write(oprot) + for iter1263 in self.success: + iter1263.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35752,10 +35752,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1260, _size1257) = iprot.readListBegin() - for _i1261 in xrange(_size1257): - _elem1262 = iprot.readString() - self.group_names.append(_elem1262) + (_etype1267, _size1264) = iprot.readListBegin() + for _i1268 in xrange(_size1264): + _elem1269 = iprot.readString() + self.group_names.append(_elem1269) iprot.readListEnd() else: iprot.skip(ftype) @@ -35780,8 +35780,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 iter1263 in self.group_names: - oprot.writeString(iter1263) + for iter1270 in self.group_names: + oprot.writeString(iter1270) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36008,11 +36008,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1267, _size1264) = iprot.readListBegin() - for _i1268 in xrange(_size1264): - _elem1269 = HiveObjectPrivilege() - _elem1269.read(iprot) - self.success.append(_elem1269) + (_etype1274, _size1271) = iprot.readListBegin() + for _i1275 in xrange(_size1271): + _elem1276 = HiveObjectPrivilege() + _elem1276.read(iprot) + self.success.append(_elem1276) iprot.readListEnd() else: iprot.skip(ftype) @@ -36035,8 +36035,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1270 in self.success: - iter1270.write(oprot) + for iter1277 in self.success: + iter1277.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36534,10 +36534,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1274, _size1271) = iprot.readListBegin() - for _i1275 in xrange(_size1271): - _elem1276 = iprot.readString() - self.group_names.append(_elem1276) + (_etype1281, _size1278) = iprot.readListBegin() + for _i1282 in xrange(_size1278): + _elem1283 = iprot.readString() + self.group_names.append(_elem1283) iprot.readListEnd() else: iprot.skip(ftype) @@ -36558,8 +36558,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 iter1277 in self.group_names: - oprot.writeString(iter1277) + for iter1284 in self.group_names: + oprot.writeString(iter1284) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -36614,10 +36614,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1281, _size1278) = iprot.readListBegin() - for _i1282 in xrange(_size1278): - _elem1283 = iprot.readString() - self.success.append(_elem1283) + (_etype1288, _size1285) = iprot.readListBegin() + for _i1289 in xrange(_size1285): + _elem1290 = iprot.readString() + self.success.append(_elem1290) iprot.readListEnd() else: iprot.skip(ftype) @@ -36640,8 +36640,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 iter1284 in self.success: - oprot.writeString(iter1284) + for iter1291 in self.success: + oprot.writeString(iter1291) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -37573,10 +37573,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) @@ -37593,8 +37593,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() oprot.writeFieldStop() @@ -38121,10 +38121,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) @@ -38141,8 +38141,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() @@ -46310,11 +46310,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1302, _size1299) = iprot.readListBegin() - for _i1303 in xrange(_size1299): - _elem1304 = SchemaVersion() - _elem1304.read(iprot) - self.success.append(_elem1304) + (_etype1309, _size1306) = iprot.readListBegin() + for _i1310 in xrange(_size1306): + _elem1311 = SchemaVersion() + _elem1311.read(iprot) + self.success.append(_elem1311) iprot.readListEnd() else: iprot.skip(ftype) @@ -46343,8 +46343,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 iter1305 in self.success: - iter1305.write(oprot) + for iter1312 in self.success: + iter1312.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 faeeea0351..972db1f0a3 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 @@ -11085,6 +11085,8 @@ class OpenTxnRequest: - user - hostname - agentInfo + - replPolicy + - replSrcTxnIds """ thrift_spec = ( @@ -11093,13 +11095,17 @@ class OpenTxnRequest: (2, TType.STRING, 'user', None, None, ), # 2 (3, TType.STRING, 'hostname', None, None, ), # 3 (4, TType.STRING, 'agentInfo', None, "Unknown", ), # 4 + (5, TType.STRING, 'replPolicy', None, None, ), # 5 + (6, TType.LIST, 'replSrcTxnIds', (TType.I64,None), None, ), # 6 ) - def __init__(self, num_txns=None, user=None, hostname=None, agentInfo=thrift_spec[4][4],): + def __init__(self, num_txns=None, user=None, hostname=None, agentInfo=thrift_spec[4][4], replPolicy=None, replSrcTxnIds=None,): self.num_txns = num_txns self.user = user self.hostname = hostname self.agentInfo = agentInfo + self.replPolicy = replPolicy + self.replSrcTxnIds = replSrcTxnIds 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: @@ -11130,6 +11136,21 @@ def read(self, iprot): self.agentInfo = iprot.readString() else: iprot.skip(ftype) + elif fid == 5: + if ftype == TType.STRING: + self.replPolicy = iprot.readString() + else: + iprot.skip(ftype) + elif fid == 6: + if ftype == TType.LIST: + self.replSrcTxnIds = [] + (_etype505, _size502) = iprot.readListBegin() + for _i506 in xrange(_size502): + _elem507 = iprot.readI64() + self.replSrcTxnIds.append(_elem507) + iprot.readListEnd() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -11156,6 +11177,17 @@ def write(self, oprot): oprot.writeFieldBegin('agentInfo', TType.STRING, 4) oprot.writeString(self.agentInfo) oprot.writeFieldEnd() + if self.replPolicy is not None: + oprot.writeFieldBegin('replPolicy', TType.STRING, 5) + oprot.writeString(self.replPolicy) + oprot.writeFieldEnd() + if self.replSrcTxnIds is not None: + oprot.writeFieldBegin('replSrcTxnIds', TType.LIST, 6) + oprot.writeListBegin(TType.I64, len(self.replSrcTxnIds)) + for iter508 in self.replSrcTxnIds: + oprot.writeI64(iter508) + oprot.writeListEnd() + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -11175,6 +11207,8 @@ def __hash__(self): value = (value * 31) ^ hash(self.user) value = (value * 31) ^ hash(self.hostname) value = (value * 31) ^ hash(self.agentInfo) + value = (value * 31) ^ hash(self.replPolicy) + value = (value * 31) ^ hash(self.replSrcTxnIds) return value def __repr__(self): @@ -11214,10 +11248,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype505, _size502) = iprot.readListBegin() - for _i506 in xrange(_size502): - _elem507 = iprot.readI64() - self.txn_ids.append(_elem507) + (_etype512, _size509) = iprot.readListBegin() + for _i513 in xrange(_size509): + _elem514 = iprot.readI64() + self.txn_ids.append(_elem514) iprot.readListEnd() else: iprot.skip(ftype) @@ -11234,8 +11268,8 @@ def write(self, oprot): if self.txn_ids is not None: oprot.writeFieldBegin('txn_ids', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txn_ids)) - for iter508 in self.txn_ids: - oprot.writeI64(iter508) + for iter515 in self.txn_ids: + oprot.writeI64(iter515) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11267,15 +11301,18 @@ class AbortTxnRequest: """ Attributes: - txnid + - replPolicy """ thrift_spec = ( None, # 0 (1, TType.I64, 'txnid', None, None, ), # 1 + (2, TType.STRING, 'replPolicy', None, None, ), # 2 ) - def __init__(self, txnid=None,): + def __init__(self, txnid=None, replPolicy=None,): self.txnid = txnid + self.replPolicy = replPolicy 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: @@ -11291,6 +11328,11 @@ def read(self, iprot): self.txnid = iprot.readI64() else: iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.replPolicy = iprot.readString() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -11305,6 +11347,10 @@ def write(self, oprot): oprot.writeFieldBegin('txnid', TType.I64, 1) oprot.writeI64(self.txnid) oprot.writeFieldEnd() + if self.replPolicy is not None: + oprot.writeFieldBegin('replPolicy', TType.STRING, 2) + oprot.writeString(self.replPolicy) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -11317,6 +11363,7 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.txnid) + value = (value * 31) ^ hash(self.replPolicy) return value def __repr__(self): @@ -11356,10 +11403,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype512, _size509) = iprot.readListBegin() - for _i513 in xrange(_size509): - _elem514 = iprot.readI64() - self.txn_ids.append(_elem514) + (_etype519, _size516) = iprot.readListBegin() + for _i520 in xrange(_size516): + _elem521 = iprot.readI64() + self.txn_ids.append(_elem521) iprot.readListEnd() else: iprot.skip(ftype) @@ -11376,8 +11423,8 @@ def write(self, oprot): if self.txn_ids is not None: oprot.writeFieldBegin('txn_ids', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.txn_ids)) - for iter515 in self.txn_ids: - oprot.writeI64(iter515) + for iter522 in self.txn_ids: + oprot.writeI64(iter522) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11409,15 +11456,18 @@ class CommitTxnRequest: """ Attributes: - txnid + - replPolicy """ thrift_spec = ( None, # 0 (1, TType.I64, 'txnid', None, None, ), # 1 + (2, TType.STRING, 'replPolicy', None, None, ), # 2 ) - def __init__(self, txnid=None,): + def __init__(self, txnid=None, replPolicy=None,): self.txnid = txnid + self.replPolicy = replPolicy 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: @@ -11433,6 +11483,11 @@ def read(self, iprot): self.txnid = iprot.readI64() else: iprot.skip(ftype) + elif fid == 2: + if ftype == TType.STRING: + self.replPolicy = iprot.readString() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -11447,6 +11502,10 @@ def write(self, oprot): oprot.writeFieldBegin('txnid', TType.I64, 1) oprot.writeI64(self.txnid) oprot.writeFieldEnd() + if self.replPolicy is not None: + oprot.writeFieldBegin('replPolicy', TType.STRING, 2) + oprot.writeString(self.replPolicy) + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -11459,6 +11518,7 @@ def validate(self): def __hash__(self): value = 17 value = (value * 31) ^ hash(self.txnid) + value = (value * 31) ^ hash(self.replPolicy) return value def __repr__(self): @@ -11501,10 +11561,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fullTableNames = [] - (_etype519, _size516) = iprot.readListBegin() - for _i520 in xrange(_size516): - _elem521 = iprot.readString() - self.fullTableNames.append(_elem521) + (_etype526, _size523) = iprot.readListBegin() + for _i527 in xrange(_size523): + _elem528 = iprot.readString() + self.fullTableNames.append(_elem528) iprot.readListEnd() else: iprot.skip(ftype) @@ -11526,8 +11586,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 iter522 in self.fullTableNames: - oprot.writeString(iter522) + for iter529 in self.fullTableNames: + oprot.writeString(iter529) oprot.writeListEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -11610,10 +11670,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.invalidWriteIds = [] - (_etype526, _size523) = iprot.readListBegin() - for _i527 in xrange(_size523): - _elem528 = iprot.readI64() - self.invalidWriteIds.append(_elem528) + (_etype533, _size530) = iprot.readListBegin() + for _i534 in xrange(_size530): + _elem535 = iprot.readI64() + self.invalidWriteIds.append(_elem535) iprot.readListEnd() else: iprot.skip(ftype) @@ -11648,8 +11708,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 iter529 in self.invalidWriteIds: - oprot.writeI64(iter529) + for iter536 in self.invalidWriteIds: + oprot.writeI64(iter536) oprot.writeListEnd() oprot.writeFieldEnd() if self.minOpenWriteId is not None: @@ -11721,11 +11781,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tblValidWriteIds = [] - (_etype533, _size530) = iprot.readListBegin() - for _i534 in xrange(_size530): - _elem535 = TableValidWriteIds() - _elem535.read(iprot) - self.tblValidWriteIds.append(_elem535) + (_etype540, _size537) = iprot.readListBegin() + for _i541 in xrange(_size537): + _elem542 = TableValidWriteIds() + _elem542.read(iprot) + self.tblValidWriteIds.append(_elem542) iprot.readListEnd() else: iprot.skip(ftype) @@ -11742,8 +11802,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 iter536 in self.tblValidWriteIds: - iter536.write(oprot) + for iter543 in self.tblValidWriteIds: + iter543.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11803,10 +11863,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnIds = [] - (_etype540, _size537) = iprot.readListBegin() - for _i541 in xrange(_size537): - _elem542 = iprot.readI64() - self.txnIds.append(_elem542) + (_etype547, _size544) = iprot.readListBegin() + for _i548 in xrange(_size544): + _elem549 = iprot.readI64() + self.txnIds.append(_elem549) iprot.readListEnd() else: iprot.skip(ftype) @@ -11833,8 +11893,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 iter543 in self.txnIds: - oprot.writeI64(iter543) + for iter550 in self.txnIds: + oprot.writeI64(iter550) oprot.writeListEnd() oprot.writeFieldEnd() if self.dbName is not None: @@ -11984,11 +12044,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnToWriteIds = [] - (_etype547, _size544) = iprot.readListBegin() - for _i548 in xrange(_size544): - _elem549 = TxnToWriteId() - _elem549.read(iprot) - self.txnToWriteIds.append(_elem549) + (_etype554, _size551) = iprot.readListBegin() + for _i555 in xrange(_size551): + _elem556 = TxnToWriteId() + _elem556.read(iprot) + self.txnToWriteIds.append(_elem556) iprot.readListEnd() else: iprot.skip(ftype) @@ -12005,8 +12065,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 iter550 in self.txnToWriteIds: - iter550.write(oprot) + for iter557 in self.txnToWriteIds: + iter557.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12234,11 +12294,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype554, _size551) = iprot.readListBegin() - for _i555 in xrange(_size551): - _elem556 = LockComponent() - _elem556.read(iprot) - self.component.append(_elem556) + (_etype561, _size558) = iprot.readListBegin() + for _i562 in xrange(_size558): + _elem563 = LockComponent() + _elem563.read(iprot) + self.component.append(_elem563) iprot.readListEnd() else: iprot.skip(ftype) @@ -12275,8 +12335,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 iter557 in self.component: - iter557.write(oprot) + for iter564 in self.component: + iter564.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -12974,11 +13034,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype561, _size558) = iprot.readListBegin() - for _i562 in xrange(_size558): - _elem563 = ShowLocksResponseElement() - _elem563.read(iprot) - self.locks.append(_elem563) + (_etype568, _size565) = iprot.readListBegin() + for _i569 in xrange(_size565): + _elem570 = ShowLocksResponseElement() + _elem570.read(iprot) + self.locks.append(_elem570) iprot.readListEnd() else: iprot.skip(ftype) @@ -12995,8 +13055,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 iter564 in self.locks: - iter564.write(oprot) + for iter571 in self.locks: + iter571.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13211,20 +13271,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype568, _size565) = iprot.readSetBegin() - for _i569 in xrange(_size565): - _elem570 = iprot.readI64() - self.aborted.add(_elem570) + (_etype575, _size572) = iprot.readSetBegin() + for _i576 in xrange(_size572): + _elem577 = iprot.readI64() + self.aborted.add(_elem577) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype574, _size571) = iprot.readSetBegin() - for _i575 in xrange(_size571): - _elem576 = iprot.readI64() - self.nosuch.add(_elem576) + (_etype581, _size578) = iprot.readSetBegin() + for _i582 in xrange(_size578): + _elem583 = iprot.readI64() + self.nosuch.add(_elem583) iprot.readSetEnd() else: iprot.skip(ftype) @@ -13241,15 +13301,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 iter577 in self.aborted: - oprot.writeI64(iter577) + for iter584 in self.aborted: + oprot.writeI64(iter584) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter578 in self.nosuch: - oprot.writeI64(iter578) + for iter585 in self.nosuch: + oprot.writeI64(iter585) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13346,11 +13406,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype580, _vtype581, _size579 ) = iprot.readMapBegin() - for _i583 in xrange(_size579): - _key584 = iprot.readString() - _val585 = iprot.readString() - self.properties[_key584] = _val585 + (_ktype587, _vtype588, _size586 ) = iprot.readMapBegin() + for _i590 in xrange(_size586): + _key591 = iprot.readString() + _val592 = iprot.readString() + self.properties[_key591] = _val592 iprot.readMapEnd() else: iprot.skip(ftype) @@ -13387,9 +13447,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 kiter586,viter587 in self.properties.items(): - oprot.writeString(kiter586) - oprot.writeString(viter587) + for kiter593,viter594 in self.properties.items(): + oprot.writeString(kiter593) + oprot.writeString(viter594) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13824,11 +13884,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype591, _size588) = iprot.readListBegin() - for _i592 in xrange(_size588): - _elem593 = ShowCompactResponseElement() - _elem593.read(iprot) - self.compacts.append(_elem593) + (_etype598, _size595) = iprot.readListBegin() + for _i599 in xrange(_size595): + _elem600 = ShowCompactResponseElement() + _elem600.read(iprot) + self.compacts.append(_elem600) iprot.readListEnd() else: iprot.skip(ftype) @@ -13845,8 +13905,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 iter594 in self.compacts: - iter594.write(oprot) + for iter601 in self.compacts: + iter601.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13935,10 +13995,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype598, _size595) = iprot.readListBegin() - for _i599 in xrange(_size595): - _elem600 = iprot.readString() - self.partitionnames.append(_elem600) + (_etype605, _size602) = iprot.readListBegin() + for _i606 in xrange(_size602): + _elem607 = iprot.readString() + self.partitionnames.append(_elem607) iprot.readListEnd() else: iprot.skip(ftype) @@ -13976,8 +14036,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 iter601 in self.partitionnames: - oprot.writeString(iter601) + for iter608 in self.partitionnames: + oprot.writeString(iter608) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -14207,10 +14267,10 @@ def read(self, iprot): elif fid == 4: if ftype == TType.SET: self.tablesUsed = set() - (_etype605, _size602) = iprot.readSetBegin() - for _i606 in xrange(_size602): - _elem607 = iprot.readString() - self.tablesUsed.add(_elem607) + (_etype612, _size609) = iprot.readSetBegin() + for _i613 in xrange(_size609): + _elem614 = iprot.readString() + self.tablesUsed.add(_elem614) iprot.readSetEnd() else: iprot.skip(ftype) @@ -14244,8 +14304,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 iter608 in self.tablesUsed: - oprot.writeString(iter608) + for iter615 in self.tablesUsed: + oprot.writeString(iter615) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -14557,11 +14617,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype612, _size609) = iprot.readListBegin() - for _i613 in xrange(_size609): - _elem614 = NotificationEvent() - _elem614.read(iprot) - self.events.append(_elem614) + (_etype619, _size616) = iprot.readListBegin() + for _i620 in xrange(_size616): + _elem621 = NotificationEvent() + _elem621.read(iprot) + self.events.append(_elem621) iprot.readListEnd() else: iprot.skip(ftype) @@ -14578,8 +14638,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 iter615 in self.events: - iter615.write(oprot) + for iter622 in self.events: + iter622.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14873,20 +14933,20 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype619, _size616) = iprot.readListBegin() - for _i620 in xrange(_size616): - _elem621 = iprot.readString() - self.filesAdded.append(_elem621) + (_etype626, _size623) = iprot.readListBegin() + for _i627 in xrange(_size623): + _elem628 = iprot.readString() + self.filesAdded.append(_elem628) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype625, _size622) = iprot.readListBegin() - for _i626 in xrange(_size622): - _elem627 = iprot.readString() - self.filesAddedChecksum.append(_elem627) + (_etype632, _size629) = iprot.readListBegin() + for _i633 in xrange(_size629): + _elem634 = iprot.readString() + self.filesAddedChecksum.append(_elem634) iprot.readListEnd() else: iprot.skip(ftype) @@ -14907,15 +14967,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 iter628 in self.filesAdded: - oprot.writeString(iter628) + for iter635 in self.filesAdded: + oprot.writeString(iter635) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter629 in self.filesAddedChecksum: - oprot.writeString(iter629) + for iter636 in self.filesAddedChecksum: + oprot.writeString(iter636) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15073,10 +15133,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype633, _size630) = iprot.readListBegin() - for _i634 in xrange(_size630): - _elem635 = iprot.readString() - self.partitionVals.append(_elem635) + (_etype640, _size637) = iprot.readListBegin() + for _i641 in xrange(_size637): + _elem642 = iprot.readString() + self.partitionVals.append(_elem642) iprot.readListEnd() else: iprot.skip(ftype) @@ -15114,8 +15174,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 iter636 in self.partitionVals: - oprot.writeString(iter636) + for iter643 in self.partitionVals: + oprot.writeString(iter643) oprot.writeListEnd() oprot.writeFieldEnd() if self.catName is not None: @@ -15307,12 +15367,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype638, _vtype639, _size637 ) = iprot.readMapBegin() - for _i641 in xrange(_size637): - _key642 = iprot.readI64() - _val643 = MetadataPpdResult() - _val643.read(iprot) - self.metadata[_key642] = _val643 + (_ktype645, _vtype646, _size644 ) = iprot.readMapBegin() + for _i648 in xrange(_size644): + _key649 = iprot.readI64() + _val650 = MetadataPpdResult() + _val650.read(iprot) + self.metadata[_key649] = _val650 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15334,9 +15394,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 kiter644,viter645 in self.metadata.items(): - oprot.writeI64(kiter644) - viter645.write(oprot) + for kiter651,viter652 in self.metadata.items(): + oprot.writeI64(kiter651) + viter652.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -15406,10 +15466,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype649, _size646) = iprot.readListBegin() - for _i650 in xrange(_size646): - _elem651 = iprot.readI64() - self.fileIds.append(_elem651) + (_etype656, _size653) = iprot.readListBegin() + for _i657 in xrange(_size653): + _elem658 = iprot.readI64() + self.fileIds.append(_elem658) iprot.readListEnd() else: iprot.skip(ftype) @@ -15441,8 +15501,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 iter652 in self.fileIds: - oprot.writeI64(iter652) + for iter659 in self.fileIds: + oprot.writeI64(iter659) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -15516,11 +15576,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype654, _vtype655, _size653 ) = iprot.readMapBegin() - for _i657 in xrange(_size653): - _key658 = iprot.readI64() - _val659 = iprot.readString() - self.metadata[_key658] = _val659 + (_ktype661, _vtype662, _size660 ) = iprot.readMapBegin() + for _i664 in xrange(_size660): + _key665 = iprot.readI64() + _val666 = iprot.readString() + self.metadata[_key665] = _val666 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15542,9 +15602,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 kiter660,viter661 in self.metadata.items(): - oprot.writeI64(kiter660) - oprot.writeString(viter661) + for kiter667,viter668 in self.metadata.items(): + oprot.writeI64(kiter667) + oprot.writeString(viter668) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -15605,10 +15665,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype665, _size662) = iprot.readListBegin() - for _i666 in xrange(_size662): - _elem667 = iprot.readI64() - self.fileIds.append(_elem667) + (_etype672, _size669) = iprot.readListBegin() + for _i673 in xrange(_size669): + _elem674 = iprot.readI64() + self.fileIds.append(_elem674) iprot.readListEnd() else: iprot.skip(ftype) @@ -15625,8 +15685,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 iter668 in self.fileIds: - oprot.writeI64(iter668) + for iter675 in self.fileIds: + oprot.writeI64(iter675) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15732,20 +15792,20 @@ 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) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype678, _size675) = iprot.readListBegin() - for _i679 in xrange(_size675): - _elem680 = iprot.readString() - self.metadata.append(_elem680) + (_etype685, _size682) = iprot.readListBegin() + for _i686 in xrange(_size682): + _elem687 = iprot.readString() + self.metadata.append(_elem687) iprot.readListEnd() else: iprot.skip(ftype) @@ -15767,15 +15827,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 iter681 in self.fileIds: - oprot.writeI64(iter681) + for iter688 in self.fileIds: + oprot.writeI64(iter688) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter682 in self.metadata: - oprot.writeString(iter682) + for iter689 in self.metadata: + oprot.writeString(iter689) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -15883,10 +15943,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype686, _size683) = iprot.readListBegin() - for _i687 in xrange(_size683): - _elem688 = iprot.readI64() - self.fileIds.append(_elem688) + (_etype693, _size690) = iprot.readListBegin() + for _i694 in xrange(_size690): + _elem695 = iprot.readI64() + self.fileIds.append(_elem695) iprot.readListEnd() else: iprot.skip(ftype) @@ -15903,8 +15963,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 iter689 in self.fileIds: - oprot.writeI64(iter689) + for iter696 in self.fileIds: + oprot.writeI64(iter696) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16133,11 +16193,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype693, _size690) = iprot.readListBegin() - for _i694 in xrange(_size690): - _elem695 = Function() - _elem695.read(iprot) - self.functions.append(_elem695) + (_etype700, _size697) = iprot.readListBegin() + for _i701 in xrange(_size697): + _elem702 = Function() + _elem702.read(iprot) + self.functions.append(_elem702) iprot.readListEnd() else: iprot.skip(ftype) @@ -16154,8 +16214,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 iter696 in self.functions: - iter696.write(oprot) + for iter703 in self.functions: + iter703.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16207,10 +16267,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype700, _size697) = iprot.readListBegin() - for _i701 in xrange(_size697): - _elem702 = iprot.readI32() - self.values.append(_elem702) + (_etype707, _size704) = iprot.readListBegin() + for _i708 in xrange(_size704): + _elem709 = iprot.readI32() + self.values.append(_elem709) iprot.readListEnd() else: iprot.skip(ftype) @@ -16227,8 +16287,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 iter703 in self.values: - oprot.writeI32(iter703) + for iter710 in self.values: + oprot.writeI32(iter710) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16473,10 +16533,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype707, _size704) = iprot.readListBegin() - for _i708 in xrange(_size704): - _elem709 = iprot.readString() - self.tblNames.append(_elem709) + (_etype714, _size711) = iprot.readListBegin() + for _i715 in xrange(_size711): + _elem716 = iprot.readString() + self.tblNames.append(_elem716) iprot.readListEnd() else: iprot.skip(ftype) @@ -16508,8 +16568,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 iter710 in self.tblNames: - oprot.writeString(iter710) + for iter717 in self.tblNames: + oprot.writeString(iter717) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -16574,11 +16634,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype714, _size711) = iprot.readListBegin() - for _i715 in xrange(_size711): - _elem716 = Table() - _elem716.read(iprot) - self.tables.append(_elem716) + (_etype721, _size718) = iprot.readListBegin() + for _i722 in xrange(_size718): + _elem723 = Table() + _elem723.read(iprot) + self.tables.append(_elem723) iprot.readListEnd() else: iprot.skip(ftype) @@ -16595,8 +16655,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 iter717 in self.tables: - iter717.write(oprot) + for iter724 in self.tables: + iter724.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16907,10 +16967,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.tablesUsed = set() - (_etype721, _size718) = iprot.readSetBegin() - for _i722 in xrange(_size718): - _elem723 = iprot.readString() - self.tablesUsed.add(_elem723) + (_etype728, _size725) = iprot.readSetBegin() + for _i729 in xrange(_size725): + _elem730 = iprot.readString() + self.tablesUsed.add(_elem730) iprot.readSetEnd() else: iprot.skip(ftype) @@ -16937,8 +16997,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 iter724 in self.tablesUsed: - oprot.writeString(iter724) + for iter731 in self.tablesUsed: + oprot.writeString(iter731) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -17840,44 +17900,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype728, _size725) = iprot.readListBegin() - for _i729 in xrange(_size725): - _elem730 = WMPool() - _elem730.read(iprot) - self.pools.append(_elem730) + (_etype735, _size732) = iprot.readListBegin() + for _i736 in xrange(_size732): + _elem737 = WMPool() + _elem737.read(iprot) + self.pools.append(_elem737) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype734, _size731) = iprot.readListBegin() - for _i735 in xrange(_size731): - _elem736 = WMMapping() - _elem736.read(iprot) - self.mappings.append(_elem736) + (_etype741, _size738) = iprot.readListBegin() + for _i742 in xrange(_size738): + _elem743 = WMMapping() + _elem743.read(iprot) + self.mappings.append(_elem743) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype740, _size737) = iprot.readListBegin() - for _i741 in xrange(_size737): - _elem742 = WMTrigger() - _elem742.read(iprot) - self.triggers.append(_elem742) + (_etype747, _size744) = iprot.readListBegin() + for _i748 in xrange(_size744): + _elem749 = WMTrigger() + _elem749.read(iprot) + self.triggers.append(_elem749) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype746, _size743) = iprot.readListBegin() - for _i747 in xrange(_size743): - _elem748 = WMPoolTrigger() - _elem748.read(iprot) - self.poolTriggers.append(_elem748) + (_etype753, _size750) = iprot.readListBegin() + for _i754 in xrange(_size750): + _elem755 = WMPoolTrigger() + _elem755.read(iprot) + self.poolTriggers.append(_elem755) iprot.readListEnd() else: iprot.skip(ftype) @@ -17898,29 +17958,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 iter749 in self.pools: - iter749.write(oprot) + for iter756 in self.pools: + iter756.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 iter750 in self.mappings: - iter750.write(oprot) + for iter757 in self.mappings: + iter757.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 iter751 in self.triggers: - iter751.write(oprot) + for iter758 in self.triggers: + iter758.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 iter752 in self.poolTriggers: - iter752.write(oprot) + for iter759 in self.poolTriggers: + iter759.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18394,11 +18454,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype756, _size753) = iprot.readListBegin() - for _i757 in xrange(_size753): - _elem758 = WMResourcePlan() - _elem758.read(iprot) - self.resourcePlans.append(_elem758) + (_etype763, _size760) = iprot.readListBegin() + for _i764 in xrange(_size760): + _elem765 = WMResourcePlan() + _elem765.read(iprot) + self.resourcePlans.append(_elem765) iprot.readListEnd() else: iprot.skip(ftype) @@ -18415,8 +18475,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 iter759 in self.resourcePlans: - iter759.write(oprot) + for iter766 in self.resourcePlans: + iter766.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18720,20 +18780,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype763, _size760) = iprot.readListBegin() - for _i764 in xrange(_size760): - _elem765 = iprot.readString() - self.errors.append(_elem765) + (_etype770, _size767) = iprot.readListBegin() + for _i771 in xrange(_size767): + _elem772 = iprot.readString() + self.errors.append(_elem772) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype769, _size766) = iprot.readListBegin() - for _i770 in xrange(_size766): - _elem771 = iprot.readString() - self.warnings.append(_elem771) + (_etype776, _size773) = iprot.readListBegin() + for _i777 in xrange(_size773): + _elem778 = iprot.readString() + self.warnings.append(_elem778) iprot.readListEnd() else: iprot.skip(ftype) @@ -18750,15 +18810,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 iter772 in self.errors: - oprot.writeString(iter772) + for iter779 in self.errors: + oprot.writeString(iter779) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter773 in self.warnings: - oprot.writeString(iter773) + for iter780 in self.warnings: + oprot.writeString(iter780) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19335,11 +19395,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype777, _size774) = iprot.readListBegin() - for _i778 in xrange(_size774): - _elem779 = WMTrigger() - _elem779.read(iprot) - self.triggers.append(_elem779) + (_etype784, _size781) = iprot.readListBegin() + for _i785 in xrange(_size781): + _elem786 = WMTrigger() + _elem786.read(iprot) + self.triggers.append(_elem786) iprot.readListEnd() else: iprot.skip(ftype) @@ -19356,8 +19416,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 iter780 in self.triggers: - iter780.write(oprot) + for iter787 in self.triggers: + iter787.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20541,11 +20601,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype784, _size781) = iprot.readListBegin() - for _i785 in xrange(_size781): - _elem786 = FieldSchema() - _elem786.read(iprot) - self.cols.append(_elem786) + (_etype791, _size788) = iprot.readListBegin() + for _i792 in xrange(_size788): + _elem793 = FieldSchema() + _elem793.read(iprot) + self.cols.append(_elem793) iprot.readListEnd() else: iprot.skip(ftype) @@ -20605,8 +20665,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 iter787 in self.cols: - iter787.write(oprot) + for iter794 in self.cols: + iter794.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -20861,11 +20921,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype791, _size788) = iprot.readListBegin() - for _i792 in xrange(_size788): - _elem793 = SchemaVersionDescriptor() - _elem793.read(iprot) - self.schemaVersions.append(_elem793) + (_etype798, _size795) = iprot.readListBegin() + for _i799 in xrange(_size795): + _elem800 = SchemaVersionDescriptor() + _elem800.read(iprot) + self.schemaVersions.append(_elem800) iprot.readListEnd() else: iprot.skip(ftype) @@ -20882,8 +20942,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 iter794 in self.schemaVersions: - iter794.write(oprot) + for iter801 in self.schemaVersions: + iter801.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 969f4abcc1..94454a1499 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 @@ -2477,12 +2477,16 @@ class OpenTxnRequest USER = 2 HOSTNAME = 3 AGENTINFO = 4 + REPLPOLICY = 5 + REPLSRCTXNIDS = 6 FIELDS = { NUM_TXNS => {:type => ::Thrift::Types::I32, :name => 'num_txns'}, USER => {:type => ::Thrift::Types::STRING, :name => 'user'}, HOSTNAME => {:type => ::Thrift::Types::STRING, :name => 'hostname'}, - AGENTINFO => {:type => ::Thrift::Types::STRING, :name => 'agentInfo', :default => %q"Unknown", :optional => true} + AGENTINFO => {:type => ::Thrift::Types::STRING, :name => 'agentInfo', :default => %q"Unknown", :optional => true}, + REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy', :optional => true}, + REPLSRCTXNIDS => {:type => ::Thrift::Types::LIST, :name => 'replSrcTxnIds', :element => {:type => ::Thrift::Types::I64}, :optional => true} } def struct_fields; FIELDS; end @@ -2516,9 +2520,11 @@ end class AbortTxnRequest include ::Thrift::Struct, ::Thrift::Struct_Union TXNID = 1 + REPLPOLICY = 2 FIELDS = { - TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid'} + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid'}, + REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy', :optional => true} } def struct_fields; FIELDS; end @@ -2550,9 +2556,11 @@ end class CommitTxnRequest include ::Thrift::Struct, ::Thrift::Struct_Union TXNID = 1 + REPLPOLICY = 2 FIELDS = { - TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid'} + TXNID => {:type => ::Thrift::Types::I64, :name => 'txnid'}, + REPLPOLICY => {:type => ::Thrift::Types::STRING, :name => 'replPolicy', :optional => true} } def struct_fields; FIELDS; end 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 07fdcd7dc6..8539fea42f 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 @@ -83,6 +83,7 @@ import org.apache.hadoop.hive.metastore.events.AddForeignKeyEvent; import org.apache.hadoop.hive.metastore.conf.MetastoreConf; import org.apache.hadoop.hive.metastore.conf.MetastoreConf.ConfVars; +import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; import org.apache.hadoop.hive.metastore.events.AddNotNullConstraintEvent; import org.apache.hadoop.hive.metastore.events.AddPartitionEvent; import org.apache.hadoop.hive.metastore.events.AddPrimaryKeyEvent; @@ -92,6 +93,7 @@ import org.apache.hadoop.hive.metastore.events.AlterPartitionEvent; import org.apache.hadoop.hive.metastore.events.AlterSchemaVersionEvent; import org.apache.hadoop.hive.metastore.events.AlterTableEvent; +import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; import org.apache.hadoop.hive.metastore.events.ConfigChangeEvent; import org.apache.hadoop.hive.metastore.events.CreateCatalogEvent; import org.apache.hadoop.hive.metastore.events.CreateDatabaseEvent; @@ -109,6 +111,7 @@ import org.apache.hadoop.hive.metastore.events.DropTableEvent; import org.apache.hadoop.hive.metastore.events.InsertEvent; import org.apache.hadoop.hive.metastore.events.LoadPartitionDoneEvent; +import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; import org.apache.hadoop.hive.metastore.events.PreAddPartitionEvent; import org.apache.hadoop.hive.metastore.events.PreAlterDatabaseEvent; import org.apache.hadoop.hive.metastore.events.PreAlterISchemaEvent; @@ -178,7 +181,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; - import com.facebook.fb303.FacebookBase; import com.facebook.fb303.fb_status; import com.google.common.annotations.VisibleForTesting; @@ -6947,22 +6949,42 @@ public GetOpenTxnsInfoResponse get_open_txns_info() throws TException { @Override public OpenTxnsResponse open_txns(OpenTxnRequest rqst) throws TException { - return getTxnHandler().openTxns(rqst); + OpenTxnsResponse response = getTxnHandler().openTxns(rqst); + List txnIds = response.getTxn_ids(); + if (txnIds != null && listeners != null && !listeners.isEmpty()) { + MetaStoreListenerNotifier.notifyEvent(listeners, EventType.OPEN_TXN, + new OpenTxnEvent(txnIds, this)); + } + return response; } @Override public void abort_txn(AbortTxnRequest rqst) throws TException { getTxnHandler().abortTxn(rqst); + if (listeners != null && !listeners.isEmpty()) { + MetaStoreListenerNotifier.notifyEvent(listeners, EventType.ABORT_TXN, + new AbortTxnEvent(rqst.getTxnid(), this)); + } } @Override public void abort_txns(AbortTxnsRequest rqst) throws TException { getTxnHandler().abortTxns(rqst); + if (listeners != null && !listeners.isEmpty()) { + for (Long txnId : rqst.getTxn_ids()) { + MetaStoreListenerNotifier.notifyEvent(listeners, EventType.ABORT_TXN, + new AbortTxnEvent(txnId, this)); + } + } } @Override public void commit_txn(CommitTxnRequest rqst) throws TException { getTxnHandler().commitTxn(rqst); + if (listeners != null && !listeners.isEmpty()) { + MetaStoreListenerNotifier.notifyEvent(listeners, EventType.COMMIT_TXN, + new CommitTxnEvent(rqst.getTxnid(), this)); + } } @Override 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 0794cc5d74..ebbf465244 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 @@ -2344,20 +2344,43 @@ public ValidTxnWriteIdList getValidWriteIds(Long currentTxnId, List tabl @Override public long openTxn(String user) throws TException { - OpenTxnsResponse txns = openTxns(user, 1); + OpenTxnsResponse txns = openTxnsIntr(user, 1, null, null); return txns.getTxn_ids().get(0); } + @Override + public List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws TException { + // As this is called from replication task, the user is the user who has fired the repl command. + // This is required for standalone metastore authentication. + OpenTxnsResponse txns = openTxnsIntr(user, srcTxnIds.size(), replPolicy, srcTxnIds); + return txns.getTxn_ids(); + } + @Override public OpenTxnsResponse openTxns(String user, int numTxns) throws TException { - String hostname = null; + return openTxnsIntr(user, numTxns, null, null); + } + + private OpenTxnsResponse openTxnsIntr(String user, int numTxns, String replPolicy, + List srcTxnIds) throws TException { + String hostname; try { hostname = InetAddress.getLocalHost().getHostName(); } catch (UnknownHostException e) { LOG.error("Unable to resolve my host name " + e.getMessage()); throw new RuntimeException(e); } - return client.open_txns(new OpenTxnRequest(numTxns, user, hostname)); + OpenTxnRequest rqst = new OpenTxnRequest(numTxns, user, hostname); + if (replPolicy != null) { + assert srcTxnIds != null; + assert numTxns == srcTxnIds.size(); + // need to set this only for replication tasks + rqst.setReplPolicy(replPolicy); + rqst.setReplSrcTxnIds(srcTxnIds); + } else { + assert srcTxnIds == null; + } + return client.open_txns(rqst); } @Override @@ -2365,12 +2388,27 @@ public void rollbackTxn(long txnid) throws NoSuchTxnException, TException { client.abort_txn(new AbortTxnRequest(txnid)); } + @Override + public void replRollbackTxn(long srcTxnId, String replPolicy) throws NoSuchTxnException, TException { + AbortTxnRequest rqst = new AbortTxnRequest(srcTxnId); + rqst.setReplPolicy(replPolicy); + client.abort_txn(rqst); + } + @Override public void commitTxn(long txnid) - throws NoSuchTxnException, TxnAbortedException, TException { + throws NoSuchTxnException, TxnAbortedException, TException { client.commit_txn(new CommitTxnRequest(txnid)); } + @Override + public void replCommitTxn(long srcTxnId, String replPolicy) + throws NoSuchTxnException, TxnAbortedException, TException { + CommitTxnRequest rqst = new CommitTxnRequest(srcTxnId); + rqst.setReplPolicy(replPolicy); + client.commit_txn(rqst); + } + @Override public GetOpenTxnsInfoResponse showTxns() throws TException { return client.get_open_txns_info(); 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 2e146f3286..b2c40c25f2 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 @@ -2770,6 +2770,16 @@ ValidTxnWriteIdList getValidWriteIds(Long currentTxnId, List tablesList, */ long openTxn(String user) throws TException; + /** + * Initiate a transaction at the target cluster. + * @param replPolicy The replication policy to uniquely identify the source cluster. + * @param srcTxnIds The list of transaction ids at the source cluster + * @param user The user who has fired the repl load command. + * @return transaction identifiers + * @throws TException + */ + List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws TException; + /** * Initiate a batch of transactions. It is not guaranteed that the * requested number of transactions will be instantiated. The system has a @@ -2808,6 +2818,18 @@ ValidTxnWriteIdList getValidWriteIds(Long currentTxnId, List tablesList, */ void rollbackTxn(long txnid) throws NoSuchTxnException, TException; + /** + * Rollback a transaction. This will also unlock any locks associated with + * this transaction. + * @param txnid id of transaction to be rolled back. + * @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; + /** * Commit a transaction. This will also unlock any locks associated with * this transaction. @@ -2822,6 +2844,21 @@ ValidTxnWriteIdList getValidWriteIds(Long currentTxnId, List tablesList, void commitTxn(long txnid) throws NoSuchTxnException, TxnAbortedException, TException; + /** + * Commit a transaction. This will also unlock any locks associated with + * this transaction. + * @param txnid id of transaction to be committed. + * @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 + * the compactor. + * @throws TxnAbortedException if the requested transaction has been + * aborted. This can result from the transaction timing out. + * @throws TException + */ + void replCommitTxn(long txnid, String replPolicy) + throws NoSuchTxnException, TxnAbortedException, TException; + /** * Abort a list of transactions. This is for use by "ABORT TRANSACTIONS" in the grammar. * @throws TException diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java index 569fff0ad5..7b3a80ca4a 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreEventListener.java @@ -50,6 +50,9 @@ import org.apache.hadoop.hive.metastore.events.DropTableEvent; import org.apache.hadoop.hive.metastore.events.InsertEvent; import org.apache.hadoop.hive.metastore.events.LoadPartitionDoneEvent; +import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; +import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; +import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; /** * This abstract class needs to be extended to provide implementation of actions that needs @@ -166,7 +169,6 @@ public void onDropFunction (DropFunctionEvent fnEvent) throws MetaException { * @throws MetaException */ public void onInsert(InsertEvent insertEvent) throws MetaException { - } /** @@ -230,6 +232,30 @@ public void onCreateCatalog(CreateCatalogEvent createCatalogEvent) throws MetaEx public void onDropCatalog(DropCatalogEvent dropCatalogEvent) throws MetaException { } + /** + * This will be called when a new transaction is started. + * @param openTxnEvent + * @throws MetaException + */ + public void onOpenTxn(OpenTxnEvent openTxnEvent) throws MetaException { + } + + /** + * This will be called to commit a transaction. + * @param commitTxnEvent + * @throws MetaException + */ + public void onCommitTxn(CommitTxnEvent commitTxnEvent) throws MetaException { + } + + /** + * This will be called to abort a transaction. + * @param abortTxnEvent + * @throws MetaException + */ + public void onAbortTxn(AbortTxnEvent abortTxnEvent) throws MetaException { + } + @Override public Configuration getConf() { return this.conf; @@ -239,7 +265,4 @@ public Configuration getConf() { public void setConf(Configuration config) { this.conf = config; } - - - } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java index 988fca6a6b..e9bbfdcc0a 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreListenerNotifier.java @@ -49,6 +49,9 @@ import org.apache.hadoop.hive.metastore.events.DropTableEvent; import org.apache.hadoop.hive.metastore.events.InsertEvent; import org.apache.hadoop.hive.metastore.events.ListenerEvent; +import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; +import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; +import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; import java.util.List; import java.util.Map; @@ -206,6 +209,26 @@ public void notify(MetaStoreEventListener listener, ListenerEvent event) throws (listener, event) -> listener.onCreateCatalog((CreateCatalogEvent)event)) .put(EventType.DROP_CATALOG, (listener, event) -> listener.onDropCatalog((DropCatalogEvent)event)) + .put(EventType.OPEN_TXN, new EventNotifier() { + @Override + public void notify(MetaStoreEventListener listener, ListenerEvent event) throws MetaException { + listener.onOpenTxn((OpenTxnEvent)event); + } + }) + .put(EventType.COMMIT_TXN, new EventNotifier() { + @Override + public void notify(MetaStoreEventListener listener, ListenerEvent event) + throws MetaException { + listener.onCommitTxn((CommitTxnEvent) event); + } + }) + .put(EventType.ABORT_TXN, new EventNotifier() { + @Override + public void notify(MetaStoreEventListener listener, ListenerEvent event) + throws MetaException { + listener.onAbortTxn((AbortTxnEvent) event); + } + }) .build() ); diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AbortTxnEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AbortTxnEvent.java new file mode 100644 index 0000000000..062e719f2b --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AbortTxnEvent.java @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.events; + +import org.apache.hadoop.classification.InterfaceAudience; +import org.apache.hadoop.classification.InterfaceStability; +import org.apache.hadoop.hive.metastore.IHMSHandler; +import org.apache.hadoop.hive.metastore.tools.SQLGenerator; +import java.sql.Connection; + +/** + * AbortTxnEvent + * Event generated for roll backing a transaction + */ +@InterfaceAudience.Public +@InterfaceStability.Stable +public class AbortTxnEvent extends ListenerEvent { + + private final Long txnId; + Connection connection; + SQLGenerator sqlGenerator; + + /** + * + * @param transactionId Unique identification for the transaction that got rolledback. + * @param handler handler that is firing the event + */ + public AbortTxnEvent(Long transactionId, IHMSHandler handler) { + super(true, handler); + txnId = transactionId; + connection = null; + sqlGenerator = null; + } + + /** + * @param transactionId Unique identification for the transaction just got aborted. + * @param connection connection to execute direct SQL statement within same transaction + * @param sqlGenerator generates db specific SQL query + */ + public AbortTxnEvent(Long transactionId, Connection connection, SQLGenerator sqlGenerator) { + super(true, null); + this.txnId = transactionId; + this.connection = connection; + this.sqlGenerator = sqlGenerator; + } + + /** + * @return Long txnId + */ + public Long getTxnId() { + return txnId; + } + + /** + * @return Connection connection - used only by DbNotificationListener + */ + public Connection getConnection() { + return connection; + } + + /** + * @return SQLGenerator sqlGenerator - used only by DbNotificationListener + */ + public SQLGenerator getSqlGenerator() { + return sqlGenerator; + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/CommitTxnEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/CommitTxnEvent.java new file mode 100644 index 0000000000..7262e6bc3d --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/CommitTxnEvent.java @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.events; + +import org.apache.hadoop.classification.InterfaceAudience; +import org.apache.hadoop.classification.InterfaceStability; +import org.apache.hadoop.hive.metastore.IHMSHandler; +import org.apache.hadoop.hive.metastore.tools.SQLGenerator; +import java.sql.Connection; + +/** + * CommitTxnEvent + * Event generated for commit transaction operation + */ +@InterfaceAudience.Public +@InterfaceStability.Stable +public class CommitTxnEvent extends ListenerEvent { + + private final Long txnId; + Connection connection; + SQLGenerator sqlGenerator; + + /** + * + * @param transactionId Unique identification for the transaction just got committed. + * @param handler handler that is firing the event + */ + public CommitTxnEvent(Long transactionId, IHMSHandler handler) { + super(true, handler); + this.txnId = transactionId; + this.connection = null; + this.sqlGenerator = null; + } + + /** + * @param transactionId Unique identification for the transaction just got committed. + * @param connection connection to execute direct SQL statement within same transaction + * @param sqlGenerator generates db specific SQL query + */ + public CommitTxnEvent(Long transactionId, Connection connection, SQLGenerator sqlGenerator) { + super(true, null); + this.txnId = transactionId; + this.connection = connection; + this.sqlGenerator = sqlGenerator; + } + + /** + * @return Long txnId + */ + public Long getTxnId() { + return txnId; + } + + /** + * @return Connection connection - used only by DbNotificationListener + */ + public Connection getConnection() { + return connection; + } + + /** + * @return SQLGenerator sqlGenerator - used only by DbNotificationListener + */ + public SQLGenerator getSqlGenerator() { + return sqlGenerator; + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/ListenerEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/ListenerEvent.java index 56eb9ed73a..b542afccae 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/ListenerEvent.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/ListenerEvent.java @@ -23,8 +23,9 @@ import org.apache.hadoop.hive.metastore.HiveMetaStore; import org.apache.hadoop.hive.metastore.IHMSHandler; import org.apache.hadoop.hive.metastore.api.EnvironmentContext; - +import org.apache.hadoop.hive.metastore.tools.SQLGenerator; import javax.annotation.concurrent.NotThreadSafe; +import java.sql.Connection; import java.util.Collections; import java.util.HashMap; import java.util.Map; @@ -161,6 +162,20 @@ public void putParameters(final Map parameters) { } } + /** + * Used by ACID/transaction related events for generating direct SQL in DBNotificationListener. + */ + public Connection getConnection() { + return null; + } + + /** + * Used by ACID/transaction related events for generating direct SQL in DBNotificationListener. + */ + public SQLGenerator getSqlGenerator() { + return null; + } + /** * Put a parameter to the listener event only if the parameter is absent. * diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/OpenTxnEvent.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/OpenTxnEvent.java new file mode 100644 index 0000000000..088a6a1698 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/OpenTxnEvent.java @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.events; + +import org.apache.hadoop.classification.InterfaceAudience; +import org.apache.hadoop.classification.InterfaceStability; +import org.apache.hadoop.hive.metastore.IHMSHandler; +import com.google.common.collect.Lists; +import org.apache.hadoop.hive.metastore.tools.SQLGenerator; +import java.sql.Connection; +import java.util.List; + +/** + * OpenTxnEvent + * Event generated for open transaction event. + */ +@InterfaceAudience.Public +@InterfaceStability.Stable +public class OpenTxnEvent extends ListenerEvent { + private List txnIds; + Connection connection; + SQLGenerator sqlGenerator; + + /** + * @param txnIds List of unique identification for the transaction just opened. + * @param handler handler that is firing the event + */ + public OpenTxnEvent(List txnIds, IHMSHandler handler) { + super(true, handler); + this.txnIds = Lists.newArrayList(txnIds); + this.connection = null; + this.sqlGenerator = null; + } + + /** + * @param txnIds List of unique identification for the transaction just opened. + * @param connection connection to execute direct SQL statement within same transaction + * @param sqlGenerator generates db specific SQL query + */ + public OpenTxnEvent(List txnIds, Connection connection, SQLGenerator sqlGenerator) { + super(true, null); + this.txnIds = Lists.newArrayList(txnIds); + this.connection = connection; + this.sqlGenerator = sqlGenerator; + } + + /** + * @return List txnIds + */ + public List getTxnIds() { + return txnIds; + } + + /** + * @return Connection connection - used only by DbNotificationListener + */ + public Connection getConnection() { + return connection; + } + + /** + * @return SQLGenerator sqlGenerator - used only by DbNotificationListener + */ + public SQLGenerator getSqlGenerator() { + return sqlGenerator; + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/AbortTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/AbortTxnMessage.java new file mode 100644 index 0000000000..1f75585123 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/AbortTxnMessage.java @@ -0,0 +1,36 @@ +/* * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging; + +/** + * HCat message sent when an abort transaction is done. + */ +public abstract class AbortTxnMessage extends EventMessage { + + protected AbortTxnMessage() { + super(EventType.ABORT_TXN); + } + + /** + * Get the transaction id to be aborted. + * + * @return The TxnId + */ + public abstract Long getTxnId(); + +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/CommitTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/CommitTxnMessage.java new file mode 100644 index 0000000000..49004f2260 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/CommitTxnMessage.java @@ -0,0 +1,36 @@ +/* * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging; + +/** + * HCat message sent when an commit transaction is done. + */ +public abstract class CommitTxnMessage extends EventMessage { + + protected CommitTxnMessage() { + super(EventType.COMMIT_TXN); + } + + /** + * Get the transaction id to be committed. + * + * @return The TxnId + */ + public abstract Long getTxnId(); + +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java index 3cbfa553ed..5137c8608c 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/EventMessage.java @@ -55,7 +55,10 @@ ALTER_SCHEMA_VERSION(MessageFactory.ALTER_SCHEMA_VERSION_EVENT), DROP_SCHEMA_VERSION(MessageFactory.DROP_SCHEMA_VERSION_EVENT), CREATE_CATALOG(MessageFactory.CREATE_CATALOG_EVENT), - DROP_CATALOG(MessageFactory.DROP_CATALOG_EVENT); + DROP_CATALOG(MessageFactory.DROP_CATALOG_EVENT), + OPEN_TXN(MessageFactory.OPEN_TXN_EVENT), + COMMIT_TXN(MessageFactory.COMMIT_TXN_EVENT), + ABORT_TXN(MessageFactory.ABORT_TXN_EVENT); private String typeString; diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java index 0fd4601d7d..6583cc7c72 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageDeserializer.java @@ -64,6 +64,12 @@ public EventMessage getEventMessage(String eventTypeString, String messageBody) return getAddNotNullConstraintMessage(messageBody); case DROP_CONSTRAINT: return getDropConstraintMessage(messageBody); + case OPEN_TXN: + return getOpenTxnMessage(messageBody); + case COMMIT_TXN: + return getCommitTxnMessage(messageBody); + case ABORT_TXN: + return getAbortTxnMessage(messageBody); default: throw new IllegalArgumentException("Unsupported event-type: " + eventTypeString); } @@ -160,6 +166,21 @@ public EventMessage getEventMessage(String eventTypeString, String messageBody) */ public abstract DropConstraintMessage getDropConstraintMessage(String messageBody); + /** + * Method to de-serialize OpenTxnMessage instance. + */ + public abstract OpenTxnMessage getOpenTxnMessage(String messageBody); + + /** + * Method to de-serialize CommitTxnMessage instance. + */ + public abstract CommitTxnMessage getCommitTxnMessage(String messageBody); + + /** + * Method to de-serialize AbortTxnMessage instance. + */ + public abstract AbortTxnMessage getAbortTxnMessage(String messageBody); + // Protection against construction. protected MessageDeserializer() {} } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java index ab93f82e1d..dc4420ebdc 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/MessageFactory.java @@ -68,7 +68,9 @@ public static final String DROP_SCHEMA_VERSION_EVENT = "DROP_SCHEMA_VERSION"; public static final String CREATE_CATALOG_EVENT = "CREATE_CATALOG"; public static final String DROP_CATALOG_EVENT = "DROP_CATALOG"; - + public static final String OPEN_TXN_EVENT = "OPEN_TXN"; + public static final String COMMIT_TXN_EVENT = "COMMIT_TXN"; + public static final String ABORT_TXN_EVENT = "ABORT_TXN"; private static MessageFactory instance = null; @@ -238,6 +240,31 @@ public abstract AlterPartitionMessage buildAlterPartitionMessage(Table table, Pa public abstract InsertMessage buildInsertMessage(Table tableObj, Partition ptnObj, boolean replace, Iterator files); + /** + * Factory method for building open txn message using start and end transaction range + * + * @param fromTxnId start transaction id (inclusive) + * @param toTxnId end transaction id (inclusive) + * @return instance of OpenTxnMessage + */ + public abstract OpenTxnMessage buildOpenTxnMessage(Long fromTxnId, Long toTxnId); + + /** + * Factory method for building commit txn message + * + * @param txnId Id of the transaction to be committed + * @return instance of CommitTxnMessage + */ + public abstract CommitTxnMessage buildCommitTxnMessage(Long txnId); + + /** + * Factory method for building abort txn message + * + * @param txnId Id of the transaction to be aborted + * @return instance of AbortTxnMessage + */ + public abstract AbortTxnMessage buildAbortTxnMessage(Long txnId); + /*** * Factory method for building add primary key message * diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/OpenTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/OpenTxnMessage.java new file mode 100644 index 0000000000..491344f366 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/OpenTxnMessage.java @@ -0,0 +1,38 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging; + +import java.util.List; + +/** + * HCat message sent when an open transaction is done. + */ +public abstract class OpenTxnMessage extends EventMessage { + + protected OpenTxnMessage() { + super(EventType.OPEN_TXN); + } + + /** + * Get the list of txns opened + * @return The lists of TxnIds + */ + public abstract List getTxnIds(); +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java index 50420c8d37..09292a32a7 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/event/filters/DatabaseAndTableFilter.java @@ -18,6 +18,7 @@ package org.apache.hadoop.hive.metastore.messaging.event.filters; import org.apache.hadoop.hive.metastore.api.NotificationEvent; +import org.apache.hadoop.hive.metastore.messaging.MessageFactory; import java.util.regex.Pattern; @@ -39,10 +40,17 @@ public DatabaseAndTableFilter(final String databaseNameOrPattern, final String t this.tableName = tableName; } + private boolean isTxnRelatedEvent(final NotificationEvent event) { + return ((event.getEventType().equals(MessageFactory.OPEN_TXN_EVENT)) || + (event.getEventType().equals(MessageFactory.COMMIT_TXN_EVENT)) || + (event.getEventType().equals(MessageFactory.ABORT_TXN_EVENT)) + ); + } + @Override boolean shouldAccept(final NotificationEvent event) { - if (dbPattern == null) { - return true; // if our dbName is null, we're interested in all wh events + if ((dbPattern == null) || isTxnRelatedEvent(event)) { + return true; } if (dbPattern.matcher(event.getDbName()).matches()) { if ((tableName == null) diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONAbortTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONAbortTxnMessage.java new file mode 100644 index 0000000000..f169fc0583 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONAbortTxnMessage.java @@ -0,0 +1,87 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging.json; +import org.apache.hadoop.hive.metastore.messaging.AbortTxnMessage; +import org.codehaus.jackson.annotate.JsonProperty; + +/** + * JSON implementation of AbortTxnMessage + */ +public class JSONAbortTxnMessage extends AbortTxnMessage { + + @JsonProperty + private Long txnid; + + @JsonProperty + private Long timestamp; + + @JsonProperty + private String server; + + @JsonProperty + private String servicePrincipal; + + /** + * Default constructor, needed for Jackson. + */ + public JSONAbortTxnMessage() { + } + + public JSONAbortTxnMessage(String server, String servicePrincipal, Long txnid, Long timestamp) { + this.timestamp = timestamp; + this.txnid = txnid; + this.server = server; + this.servicePrincipal = servicePrincipal; + } + + @Override + public Long getTxnId() { + return txnid; + } + + @Override + public Long getTimestamp() { + return timestamp; + } + + @Override + public String getDB() { + return null; + } + + @Override + public String getServicePrincipal() { + return servicePrincipal; + } + + @Override + public String getServer() { + return server; + } + + @Override + public String toString() { + try { + return JSONMessageDeserializer.mapper.writeValueAsString(this); + } catch (Exception exception) { + throw new IllegalArgumentException("Could not serialize: ", exception); + } + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONCommitTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONCommitTxnMessage.java new file mode 100644 index 0000000000..595a3d1b57 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONCommitTxnMessage.java @@ -0,0 +1,87 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging.json; +import org.apache.hadoop.hive.metastore.messaging.CommitTxnMessage; +import org.codehaus.jackson.annotate.JsonProperty; + +/** + * JSON implementation of CommitTxnMessage + */ +public class JSONCommitTxnMessage extends CommitTxnMessage { + + @JsonProperty + private Long txnid; + + @JsonProperty + private Long timestamp; + + @JsonProperty + private String server; + + @JsonProperty + private String servicePrincipal; + + /** + * Default constructor, needed for Jackson. + */ + public JSONCommitTxnMessage() { + } + + public JSONCommitTxnMessage(String server, String servicePrincipal, Long txnid, Long timestamp) { + this.timestamp = timestamp; + this.txnid = txnid; + this.server = server; + this.servicePrincipal = servicePrincipal; + } + + @Override + public Long getTxnId() { + return txnid; + } + + @Override + public Long getTimestamp() { + return timestamp; + } + + @Override + public String getDB() { + return null; + } + + @Override + public String getServicePrincipal() { + return servicePrincipal; + } + + @Override + public String getServer() { + return server; + } + + @Override + public String toString() { + try { + return JSONMessageDeserializer.mapper.writeValueAsString(this); + } catch (Exception exception) { + throw new IllegalArgumentException("Could not serialize: ", exception); + } + } +} diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java index a8ee6916b0..d019ec1263 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageDeserializer.java @@ -37,6 +37,9 @@ import org.apache.hadoop.hive.metastore.messaging.DropTableMessage; import org.apache.hadoop.hive.metastore.messaging.InsertMessage; import org.apache.hadoop.hive.metastore.messaging.MessageDeserializer; +import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.CommitTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.AbortTxnMessage; import org.codehaus.jackson.map.DeserializationConfig; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.SerializationConfig; @@ -220,4 +223,31 @@ public DropConstraintMessage getDropConstraintMessage(String messageBody) { throw new IllegalArgumentException("Could not construct DropConstraintMessage", e); } } + + @Override + public OpenTxnMessage getOpenTxnMessage(String messageBody) { + try { + return mapper.readValue(messageBody, JSONOpenTxnMessage.class); + } catch (Exception e) { + throw new IllegalArgumentException("Could not construct OpenTxnMessage", e); + } + } + + @Override + public CommitTxnMessage getCommitTxnMessage(String messageBody) { + try { + return mapper.readValue(messageBody, JSONCommitTxnMessage.class); + } catch (Exception e) { + throw new IllegalArgumentException("Could not construct CommitTxnMessage", e); + } + } + + @Override + public AbortTxnMessage getAbortTxnMessage(String messageBody) { + try { + return mapper.readValue(messageBody, JSONAbortTxnMessage.class); + } catch (Exception e) { + throw new IllegalArgumentException("Could not construct AbortTxnMessage", e); + } + } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java index 0fc53870e9..65a6f78978 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONMessageFactory.java @@ -60,6 +60,9 @@ import org.apache.hadoop.hive.metastore.messaging.MessageDeserializer; import org.apache.hadoop.hive.metastore.messaging.MessageFactory; import org.apache.hadoop.hive.metastore.messaging.PartitionFiles; +import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.CommitTxnMessage; +import org.apache.hadoop.hive.metastore.messaging.AbortTxnMessage; import org.apache.thrift.TBase; import org.apache.thrift.TDeserializer; import org.apache.thrift.TException; @@ -203,6 +206,21 @@ public DropCatalogMessage buildDropCatalogMessage(Catalog catalog) { return new JSONDropCatalogMessage(MS_SERVER_URL, MS_SERVICE_PRINCIPAL, catalog.getName(), now()); } + @Override + public OpenTxnMessage buildOpenTxnMessage(Long fromTxnId, Long toTxnId) { + return new JSONOpenTxnMessage(MS_SERVER_URL, MS_SERVICE_PRINCIPAL, fromTxnId, toTxnId, now()); + } + + @Override + public CommitTxnMessage buildCommitTxnMessage(Long txnId) { + return new JSONCommitTxnMessage(MS_SERVER_URL, MS_SERVICE_PRINCIPAL, txnId, now()); + } + + @Override + public AbortTxnMessage buildAbortTxnMessage(Long txnId) { + return new JSONAbortTxnMessage(MS_SERVER_URL, MS_SERVICE_PRINCIPAL, txnId, now()); + } + private long now() { return System.currentTimeMillis() / 1000; } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONOpenTxnMessage.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONOpenTxnMessage.java new file mode 100644 index 0000000000..088892073d --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONOpenTxnMessage.java @@ -0,0 +1,104 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +package org.apache.hadoop.hive.metastore.messaging.json; +import org.apache.hadoop.hive.metastore.messaging.OpenTxnMessage; +import org.codehaus.jackson.annotate.JsonProperty; +import java.util.List; +import java.util.stream.Collectors; +import java.util.stream.LongStream; + +/** + * JSON implementation of OpenTxnMessage + */ +public class JSONOpenTxnMessage extends OpenTxnMessage { + + @JsonProperty + private List txnIds; + + @JsonProperty + private Long timestamp, fromTxnId, toTxnId; + + @JsonProperty + private String server; + + @JsonProperty + private String servicePrincipal; + + /** + * Default constructor, needed for Jackson. + */ + public JSONOpenTxnMessage() { + } + + public JSONOpenTxnMessage(String server, String servicePrincipal, List txnIds, Long timestamp) { + this.timestamp = timestamp; + this.txnIds = txnIds; + this.server = server; + this.servicePrincipal = servicePrincipal; + } + + public JSONOpenTxnMessage(String server, String servicePrincipal, Long fromTxnId, Long toTxnId, Long timestamp) { + this.timestamp = timestamp; + this.txnIds = null; + this.server = server; + this.servicePrincipal = servicePrincipal; + this.fromTxnId = fromTxnId; + this.toTxnId = toTxnId; + } + + @Override + public List getTxnIds() { + if (txnIds != null) { + return txnIds; + } + return LongStream.rangeClosed(fromTxnId, toTxnId) + .boxed().collect(Collectors.toList()); + } + + @Override + public Long getTimestamp() { + return timestamp; + } + + @Override + public String getDB() { + return null; + } + + @Override + public String getServicePrincipal() { + return servicePrincipal; + } + + @Override + public String getServer() { + return server; + } + + @Override + public String toString() { + try { + return JSONMessageDeserializer.mapper.writeValueAsString(this); + } catch (Exception exception) { + throw new IllegalArgumentException("Could not serialize: ", exception); + } + } +} + diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java index 588f3357b4..dccb535834 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnDbUtil.java @@ -180,6 +180,65 @@ public static void prepDb(Configuration conf) throws Exception { " WS_COMMIT_ID bigint NOT NULL," + " WS_OPERATION_TYPE char(1) NOT NULL)" ); + + stmt.execute("CREATE TABLE REPL_TXN_MAP (" + + " RTM_REPL_POLICY varchar(256) NOT NULL, " + + " RTM_SRC_TXN_ID bigint NOT NULL, " + + " RTM_TARGET_TXN_ID bigint NOT NULL, " + + " PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID))" + ); + + try { + stmt.execute("CREATE TABLE \"APP\".\"SEQUENCE_TABLE\" (\"SEQUENCE_NAME\" VARCHAR(256) NOT " + + + "NULL, \"NEXT_VAL\" BIGINT NOT NULL)" + ); + } catch (SQLException e) { + if (e.getMessage() != null && e.getMessage().contains("already exists")) { + LOG.info("SEQUENCE_TABLE table already exist, ignoring"); + } else { + throw e; + } + } + + try { + stmt.execute("CREATE TABLE \"APP\".\"NOTIFICATION_SEQUENCE\" (\"NNI_ID\" BIGINT NOT NULL, " + + + "\"NEXT_EVENT_ID\" BIGINT NOT NULL)" + ); + } catch (SQLException e) { + if (e.getMessage() != null && e.getMessage().contains("already exists")) { + LOG.info("NOTIFICATION_SEQUENCE table already exist, ignoring"); + } else { + throw e; + } + } + + try { + stmt.execute("CREATE TABLE \"APP\".\"NOTIFICATION_LOG\" (\"NL_ID\" BIGINT NOT NULL, " + + "\"DB_NAME\" VARCHAR(128), \"EVENT_ID\" BIGINT NOT NULL, \"EVENT_TIME\" INTEGER NOT" + + + " NULL, \"EVENT_TYPE\" VARCHAR(32) NOT NULL, \"MESSAGE\" CLOB, \"TBL_NAME\" " + + "VARCHAR" + + "(256), \"MESSAGE_FORMAT\" VARCHAR(16))" + ); + } catch (SQLException e) { + if (e.getMessage() != null && e.getMessage().contains("already exists")) { + LOG.info("NOTIFICATION_LOG table already exist, ignoring"); + } else { + throw e; + } + } + + stmt.execute("INSERT INTO \"APP\".\"SEQUENCE_TABLE\" (\"SEQUENCE_NAME\", \"NEXT_VAL\") " + + "SELECT * FROM (VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', " + + "1)) tmp_table WHERE NOT EXISTS ( SELECT \"NEXT_VAL\" FROM \"APP\"" + + ".\"SEQUENCE_TABLE\" WHERE \"SEQUENCE_NAME\" = 'org.apache.hadoop.hive.metastore" + + ".model.MNotificationLog')"); + + stmt.execute("INSERT INTO \"APP\".\"NOTIFICATION_SEQUENCE\" (\"NNI_ID\", \"NEXT_EVENT_ID\")" + + " SELECT * FROM (VALUES (1,1)) tmp_table WHERE NOT EXISTS ( SELECT " + + "\"NEXT_EVENT_ID\" FROM \"APP\".\"NOTIFICATION_SEQUENCE\")"); } catch (SQLException e) { try { conn.rollback(); @@ -241,6 +300,13 @@ public static void cleanDb(Configuration conf) throws Exception { success &= dropTable(stmt, "COMPLETED_COMPACTIONS", retryCount); success &= dropTable(stmt, "AUX_TABLE", retryCount); success &= dropTable(stmt, "WRITE_SET", retryCount); + success &= dropTable(stmt, "REPL_TXN_MAP", retryCount); + /* + * Don't drop NOTIFICATION_LOG, SEQUENCE_TABLE and NOTIFICATION_SEQUENCE as its used by other + * table which are not txn related to generate primary key. So if these tables are dropped + * and other tables are not dropped, then it will create key duplicate error while inserting + * to other table. + */ } finally { closeResources(conn, stmt, null); } 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 e453e5a7d2..b5d9126724 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 @@ -67,6 +67,8 @@ import org.apache.hadoop.hive.metastore.DatabaseProduct; import org.apache.hadoop.hive.metastore.MaterializationsInvalidationCache; import org.apache.hadoop.hive.metastore.Warehouse; +import org.apache.hadoop.hive.metastore.MetaStoreListenerNotifier; +import org.apache.hadoop.hive.metastore.TransactionalMetaStoreEventListener; import org.apache.hadoop.hive.metastore.api.AbortTxnRequest; import org.apache.hadoop.hive.metastore.api.AbortTxnsRequest; import org.apache.hadoop.hive.metastore.api.AddDynamicPartitions; @@ -119,15 +121,19 @@ import org.apache.hadoop.hive.metastore.datasource.BoneCPDataSourceProvider; import org.apache.hadoop.hive.metastore.datasource.DataSourceProvider; import org.apache.hadoop.hive.metastore.datasource.HikariCPDataSourceProvider; +import org.apache.hadoop.hive.metastore.events.AbortTxnEvent; +import org.apache.hadoop.hive.metastore.events.CommitTxnEvent; +import org.apache.hadoop.hive.metastore.events.OpenTxnEvent; +import org.apache.hadoop.hive.metastore.messaging.EventMessage; import org.apache.hadoop.hive.metastore.metrics.Metrics; import org.apache.hadoop.hive.metastore.metrics.MetricsConstants; import org.apache.hadoop.hive.metastore.tools.SQLGenerator; import org.apache.hadoop.hive.metastore.utils.JavaUtils; +import org.apache.hadoop.hive.metastore.utils.MetaStoreUtils; import org.apache.hadoop.hive.metastore.utils.StringableMap; import org.apache.hadoop.util.StringUtils; import org.slf4j.Logger; import org.slf4j.LoggerFactory; - import com.google.common.annotations.VisibleForTesting; /** @@ -219,6 +225,8 @@ static private DataSource connPool; private static DataSource connPoolMutex; static private boolean doRetryOnConnPool = false; + + private List transactionalListeners; private enum OpertaionType { SELECT('s'), INSERT('i'), UPDATE('u'), DELETE('d'); @@ -354,6 +362,16 @@ public void setConf(Configuration conf) { retryLimit = MetastoreConf.getIntVar(conf, ConfVars.HMSHANDLERATTEMPTS); deadlockRetryInterval = retryInterval / 10; maxOpenTxns = MetastoreConf.getIntVar(conf, ConfVars.MAX_OPEN_TXNS); + + try { + transactionalListeners = MetaStoreUtils.getMetaStoreListeners( + TransactionalMetaStoreEventListener.class, + conf, MetastoreConf.getVar(conf, ConfVars.TRANSACTIONAL_EVENT_LISTENERS)); + } catch(MetaException e) { + String msg = "Unable to get transaction listeners, " + e.getMessage(); + LOG.error(msg); + throw new RuntimeException(e); + } } @Override @@ -558,6 +576,29 @@ public OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException { if (numTxns > maxTxns) numTxns = maxTxns; stmt = dbConn.createStatement(); + + if (rqst.isSetReplPolicy()) { + List inQueries = new ArrayList<>(); + StringBuilder prefix = new StringBuilder(); + StringBuilder suffix = new StringBuilder(); + + prefix.append("select RTM_TARGET_TXN_ID from REPL_TXN_MAP where "); + suffix.append(" and RTM_REPL_POLICY = " + quoteString(rqst.getReplPolicy())); + + TxnUtils.buildQueryWithINClause(conf, inQueries, prefix, suffix, rqst.getReplSrcTxnIds(), + "RTM_SRC_TXN_ID", false, false); + + for (String query : inQueries) { + LOG.debug("Going to execute select <" + query + ">"); + rs = stmt.executeQuery(query); + if (rs.next()) { + LOG.info("Transactions " + rqst.getReplSrcTxnIds().toString() + + " are already present for repl policy " + rqst.getReplPolicy()); + return new OpenTxnsResponse(new ArrayList<>()); + } + } + } + String s = sqlGenerator.addForUpdateClause("select ntxn_next from NEXT_TXN_ID"); LOG.debug("Going to execute query <" + s + ">"); rs = stmt.executeQuery(s); @@ -584,6 +625,29 @@ public OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException { LOG.debug("Going to execute update <" + q + ">"); stmt.execute(q); } + + if (rqst.isSetReplPolicy()) { + List rowsRepl = new ArrayList<>(); + + for (int i = 0; i < numTxns; i++) { + rowsRepl.add( + quoteString(rqst.getReplPolicy()) + "," + rqst.getReplSrcTxnIds().get(i) + "," + txnIds.get(i)); + } + + List queriesRepl = sqlGenerator.createInsertValuesStmt( + "REPL_TXN_MAP (RTM_REPL_POLICY, RTM_SRC_TXN_ID, RTM_TARGET_TXN_ID)", rowsRepl); + + for (String query : queriesRepl) { + LOG.info("Going to execute insert <" + query + ">"); + stmt.execute(query); + } + } + + if (transactionalListeners != null) { + MetaStoreListenerNotifier.notifyEvent(transactionalListeners, + EventMessage.EventType.OPEN_TXN, new OpenTxnEvent(txnIds, dbConn, sqlGenerator)); + } + LOG.debug("Going to commit"); dbConn.commit(); return new OpenTxnsResponse(txnIds); @@ -601,20 +665,62 @@ public OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException { return openTxns(rqst); } } + + private Long getTargetTxnId(String replPolicy, long sourceTxnId, Statement stmt) throws SQLException { + ResultSet rs = null; + try { + String s = "select RTM_TARGET_TXN_ID from REPL_TXN_MAP where RTM_SRC_TXN_ID = " + sourceTxnId + + + " and RTM_REPL_POLICY = " + quoteString(replPolicy); + LOG.debug("Going to execute query <" + s + ">"); + rs = stmt.executeQuery(s); + if (!rs.next()) { + LOG.info("Target txn is missing for the input source txn for ReplPolicy: " + + quoteString(replPolicy) + " , srcTxnId: " + sourceTxnId); + return -1L; + } + LOG.debug("targetTxnid for srcTxnId " + sourceTxnId + " is " + rs.getLong(1)); + return rs.getLong(1); + } catch (SQLException e) { + LOG.warn("failed to get target txn ids " + e.getMessage()); + throw e; + } finally { + close(rs); + } + } + @Override @RetrySemantics.Idempotent public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaException, TxnAbortedException { long txnid = rqst.getTxnid(); + long sourceTxnId = -1; try { Connection dbConn = null; Statement stmt = null; try { lockInternal(); dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); + stmt = dbConn.createStatement(); + + if (rqst.isSetReplPolicy()) { + sourceTxnId = rqst.getTxnid(); + txnid = getTargetTxnId(rqst.getReplPolicy(), sourceTxnId, stmt); + if (txnid == -1) { + return; + } + } + if (abortTxns(dbConn, Collections.singletonList(txnid), true) != 1) { - stmt = dbConn.createStatement(); TxnStatus status = findTxnState(txnid,stmt); if(status == TxnStatus.ABORTED) { + if (rqst.isSetReplPolicy()) { + // in case of replication, idempotent is taken care by getTargetTxnId + LOG.warn("Invalid state ABORTED for transactions started using replication replay task"); + String s = "delete from REPL_TXN_MAP where RTM_SRC_TXN_ID = " + sourceTxnId + + " and RTM_REPL_POLICY = " + quoteString(rqst.getReplPolicy()); + LOG.info("Going to execute <" + s + ">"); + stmt.executeUpdate(s); + } LOG.info("abortTxn(" + JavaUtils.txnIdToString(txnid) + ") requested by it is already " + TxnStatus.ABORTED); return; @@ -622,6 +728,18 @@ public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaExcept raiseTxnUnexpectedState(status, txnid); } + if (rqst.isSetReplPolicy()) { + String s = "delete from REPL_TXN_MAP where RTM_SRC_TXN_ID = " + sourceTxnId + + " and RTM_REPL_POLICY = " + quoteString(rqst.getReplPolicy()); + LOG.info("Going to execute <" + s + ">"); + stmt.executeUpdate(s); + } + + if (transactionalListeners != null) { + MetaStoreListenerNotifier.notifyEvent(transactionalListeners, + EventMessage.EventType.ABORT_TXN, new AbortTxnEvent(txnid, dbConn, sqlGenerator)); + } + LOG.debug("Going to commit"); dbConn.commit(); } catch (SQLException e) { @@ -638,6 +756,7 @@ public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaExcept abortTxn(rqst); } } + @Override @RetrySemantics.Idempotent public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaException { @@ -653,6 +772,13 @@ public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaExce (txnids.size() - numAborted) + " transactions have been aborted or committed, or the transaction ids are invalid."); } + + for (Long txnId : txnids) { + if (transactionalListeners != null) { + MetaStoreListenerNotifier.notifyEvent(transactionalListeners, + EventMessage.EventType.ABORT_TXN, new AbortTxnEvent(txnId, dbConn, sqlGenerator)); + } + } LOG.debug("Going to commit"); dbConn.commit(); } catch (SQLException e) { @@ -699,6 +825,7 @@ public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaExce public void commitTxn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException { long txnid = rqst.getTxnid(); + long sourceTxnId = -1; try { Connection dbConn = null; Statement stmt = null; @@ -708,6 +835,15 @@ public void commitTxn(CommitTxnRequest rqst) lockInternal(); dbConn = getDbConn(Connection.TRANSACTION_READ_COMMITTED); stmt = dbConn.createStatement(); + + if (rqst.isSetReplPolicy()) { + sourceTxnId = rqst.getTxnid(); + txnid = getTargetTxnId(rqst.getReplPolicy(), sourceTxnId, stmt); + if (txnid == -1) { + return; + } + } + /** * Runs at READ_COMMITTED with S4U on TXNS row for "txnid". S4U ensures that no other * operation can change this txn (such acquiring locks). While lock() and commitTxn() @@ -719,6 +855,10 @@ public void commitTxn(CommitTxnRequest rqst) //if here, txn was not found (in expected state) TxnStatus actualTxnStatus = findTxnState(txnid, stmt); if(actualTxnStatus == TxnStatus.COMMITTED) { + if (rqst.isSetReplPolicy()) { + // in case of replication, idempotent is taken care by getTargetTxnId + LOG.warn("Invalid state COMMITTED for transactions started using replication replay task"); + } /** * This makes the operation idempotent * (assume that this is most likely due to retry logic) @@ -857,6 +997,19 @@ public void commitTxn(CommitTxnRequest rqst) rs.getString(1), rs.getString(2), txnid, rs.getTimestamp(3, Calendar.getInstance(TimeZone.getTimeZone("UTC"))).getTime()); } + + if (rqst.isSetReplPolicy()) { + s = "delete from REPL_TXN_MAP where RTM_SRC_TXN_ID = " + sourceTxnId + + " and RTM_REPL_POLICY = " + quoteString(rqst.getReplPolicy()); + LOG.info("Repl going to execute <" + s + ">"); + stmt.executeUpdate(s); + } + + if (transactionalListeners != null) { + MetaStoreListenerNotifier.notifyEvent(transactionalListeners, + EventMessage.EventType.COMMIT_TXN, new CommitTxnEvent(txnid, dbConn, sqlGenerator)); + } + close(rs); dbConn.commit(); } catch (SQLException e) { diff --git a/standalone-metastore/src/main/resources/package.jdo b/standalone-metastore/src/main/resources/package.jdo index 8d5ae5d49f..9ddf598d36 100644 --- a/standalone-metastore/src/main/resources/package.jdo +++ b/standalone-metastore/src/main/resources/package.jdo @@ -1114,6 +1114,8 @@ + + diff --git a/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql b/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql index 0003048f79..a368884564 100644 --- a/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql +++ b/standalone-metastore/src/main/sql/derby/hive-schema-3.0.0.derby.sql @@ -217,6 +217,8 @@ CREATE TABLE "APP"."CTLGS" ( INSERT INTO "APP"."NOTIFICATION_SEQUENCE" ("NNI_ID", "NEXT_EVENT_ID") SELECT * FROM (VALUES (1,1)) tmp_table WHERE NOT EXISTS ( SELECT "NEXT_EVENT_ID" FROM "APP"."NOTIFICATION_SEQUENCE"); +INSERT INTO "APP"."SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") SELECT * FROM (VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1)) tmp_table WHERE NOT EXISTS ( SELECT "NEXT_VAL" FROM "APP"."SEQUENCE_TABLE" WHERE "SEQUENCE_NAME" = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); + -- ---------------------------------------------- -- DDL Statements for indexes -- ---------------------------------------------- @@ -660,6 +662,12 @@ CREATE TABLE "APP"."SCHEMA_VERSION" ( CREATE UNIQUE INDEX "APP"."UNIQUE_SCHEMA_VERSION" ON "APP"."SCHEMA_VERSION" ("SCHEMA_ID", "VERSION"); +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql b/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql index 6aa2e82597..cef8cf6257 100644 --- a/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql +++ b/standalone-metastore/src/main/sql/derby/upgrade-2.3.0-to-3.0.0.derby.sql @@ -218,5 +218,15 @@ ALTER TABLE "APP"."PARTITION_EVENTS" ADD COLUMN "CAT_NAME" VARCHAR(256); -- Add column to notification log ALTER TABLE "APP"."NOTIFICATION_LOG" ADD COLUMN "CAT_NAME" VARCHAR(256); +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + +INSERT INTO "APP"."SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") SELECT * FROM (VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1)) tmp_table WHERE NOT EXISTS ( SELECT "NEXT_VAL" FROM "APP"."SEQUENCE_TABLE" WHERE "SEQUENCE_NAME" = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); + -- This needs to be the last thing done. Insert any changes above this line. UPDATE "APP".VERSION SET SCHEMA_VERSION='3.0.0', VERSION_COMMENT='Hive release version 3.0.0' where VER_ID=1; + diff --git a/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql b/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql index 77afd60f96..7bda42690c 100644 --- a/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql +++ b/standalone-metastore/src/main/sql/mssql/hive-schema-3.0.0.mssql.sql @@ -1198,6 +1198,27 @@ CREATE TABLE "SCHEMA_VERSION" ( unique ("SCHEMA_ID", "VERSION") ); +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY nvarchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL +); + +ALTER TABLE REPL_TXN_MAP ADD CONSTRAINT REPL_TXN_MAP_PK PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID); + +-- Table SEQUENCE_TABLE is an internal table required by DataNucleus. +-- NOTE: Some versions of SchemaTool do not automatically generate this table. +-- See http://www.datanucleus.org/servlet/jira/browse/NUCRDBMS-416 +CREATE TABLE SEQUENCE_TABLE +( + SEQUENCE_NAME nvarchar(256) NOT NULL, + NEXT_VAL bigint NOT NULL +); + +CREATE UNIQUE INDEX PART_TABLE_PK ON SEQUENCE_TABLE (SEQUENCE_NAME); + +INSERT INTO SEQUENCE_TABLE (SEQUENCE_NAME, NEXT_VAL) VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1); + -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql b/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql index b7803297ea..73b643b6ad 100644 --- a/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql +++ b/standalone-metastore/src/main/sql/mssql/upgrade-2.3.0-to-3.0.0.mssql.sql @@ -213,6 +213,27 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; ALTER TABLE HIVE_LOCKS ALTER COLUMN HL_TXNID bigint NOT NULL; +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY nvarchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL +); + +ALTER TABLE REPL_TXN_MAP ADD CONSTRAINT REPL_TXN_MAP_PK PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID); + +-- Table SEQUENCE_TABLE is an internal table required by DataNucleus. +-- NOTE: Some versions of SchemaTool do not automatically generate this table. +-- See http://www.datanucleus.org/servlet/jira/browse/NUCRDBMS-416 +CREATE TABLE SEQUENCE_TABLE +( + SEQUENCE_NAME nvarchar(256) NOT NULL, + NEXT_VAL bigint NOT NULL +); + +CREATE UNIQUE INDEX PART_TABLE_PK ON SEQUENCE_TABLE (SEQUENCE_NAME); + +INSERT INTO SEQUENCE_TABLE (SEQUENCE_NAME, NEXT_VAL) VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1); + -- HIVE-18755, add catalogs -- new catalog table CREATE TABLE CTLGS ( @@ -274,3 +295,4 @@ ALTER TABLE NOTIFICATION_LOG ADD CAT_NAME nvarchar(256); -- These lines need to be last. Insert any changes above. UPDATE VERSION SET SCHEMA_VERSION='3.0.0', VERSION_COMMENT='Hive release version 3.0.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 2.3.0 to 3.0.0' AS MESSAGE; + diff --git a/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql b/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql index adbe129beb..f1bc40666d 100644 --- a/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql +++ b/standalone-metastore/src/main/sql/mysql/hive-schema-3.0.0.mysql.sql @@ -438,6 +438,8 @@ CREATE TABLE IF NOT EXISTS `SEQUENCE_TABLE` ( ) ENGINE=InnoDB DEFAULT CHARSET=latin1; /*!40101 SET character_set_client = @saved_cs_client */; +INSERT INTO `SEQUENCE_TABLE` (`SEQUENCE_NAME`, `NEXT_VAL`) VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1); + -- -- Table structure for table `SERDES` -- @@ -1137,6 +1139,13 @@ CREATE TABLE `SCHEMA_VERSION` ( KEY `UNIQUE_VERSION` (`SCHEMA_ID`, `VERSION`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1; +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql b/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql index 20f7c8d9d9..a93cd2f34d 100644 --- a/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql +++ b/standalone-metastore/src/main/sql/mysql/upgrade-2.3.0-to-3.0.0.mysql.sql @@ -203,6 +203,13 @@ ALTER TABLE `KEY_CONSTRAINTS` ADD COLUMN `DEFAULT_VALUE` VARCHAR(400); ALTER TABLE `HIVE_LOCKS` CHANGE COLUMN `HL_TXNID` `HL_TXNID` bigint NOT NULL; +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +) ENGINE=InnoDB DEFAULT CHARSET=latin1; + -- HIVE-18755, add catalogs -- new catalogs table CREATE TABLE `CTLGS` ( @@ -259,6 +266,9 @@ ALTER TABLE `PARTITION_EVENTS` ADD COLUMN `CAT_NAME` varchar(256); -- Add column to notification log ALTER TABLE `NOTIFICATION_LOG` ADD COLUMN `CAT_NAME` varchar(256); +INSERT INTO `SEQUENCE_TABLE` (`SEQUENCE_NAME`, `NEXT_VAL`) SELECT * from (select 'org.apache.hadoop.hive.metastore.model.MNotificationLog' as `SEQUENCE_NAME`, 1 as `NEXT_VAL`) a WHERE (SELECT COUNT(*) FROM `SEQUENCE_TABLE` where SEQUENCE_NAME = 'org.apache.hadoop.hive.metastore.model.MNotificationLog') = 0; + -- These lines need to be last. Insert any changes above. UPDATE VERSION SET SCHEMA_VERSION='3.0.0', VERSION_COMMENT='Hive release version 3.0.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 2.3.0 to 3.0.0' AS ' '; + diff --git a/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql b/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql index 755a8a808d..c5f404555e 100644 --- a/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql +++ b/standalone-metastore/src/main/sql/oracle/hive-schema-3.0.0.oracle.sql @@ -9,6 +9,8 @@ CREATE TABLE SEQUENCE_TABLE ALTER TABLE SEQUENCE_TABLE ADD CONSTRAINT PART_TABLE_PK PRIMARY KEY (SEQUENCE_NAME); +INSERT INTO SEQUENCE_TABLE (SEQUENCE_NAME, NEXT_VAL) VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1); + -- Table NUCLEUS_TABLES is an internal table required by DataNucleus. -- This table is required if datanucleus.autoStartMechanism=SchemaTable -- NOTE: Some versions of SchemaTool do not automatically generate this table. @@ -616,6 +618,8 @@ CREATE TABLE NOTIFICATION_SEQUENCE ALTER TABLE NOTIFICATION_SEQUENCE ADD CONSTRAINT NOTIFICATION_SEQUENCE_PK PRIMARY KEY (NNI_ID); +INSERT INTO NOTIFICATION_SEQUENCE (NNI_ID, NEXT_EVENT_ID) SELECT 1,1 FROM DUAL WHERE NOT EXISTS ( SELECT NEXT_EVENT_ID FROM NOTIFICATION_SEQUENCE); + -- Tables to manage resource plans. CREATE TABLE WM_RESOURCEPLAN @@ -1105,6 +1109,13 @@ CREATE TABLE "SCHEMA_VERSION" ( UNIQUE ("SCHEMA_ID", "VERSION") ); +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID number(19) NOT NULL, + RTM_TARGET_TXN_ID number(19) NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql b/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql index cd94c017e1..1bab9cd770 100644 --- a/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql +++ b/standalone-metastore/src/main/sql/oracle/upgrade-2.3.0-to-3.0.0.oracle.sql @@ -278,6 +278,16 @@ ALTER TABLE PARTITION_EVENTS ADD CAT_NAME VARCHAR2(256); -- Add column to notification log ALTER TABLE NOTIFICATION_LOG ADD CAT_NAME VARCHAR2(256); +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID number(19) NOT NULL, + RTM_TARGET_TXN_ID number(19) NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + +INSERT INTO SEQUENCE_TABLE (SEQUENCE_NAME, NEXT_VAL) SELECT 'org.apache.hadoop.hive.metastore.model.MNotificationLog',1 FROM DUAL WHERE NOT EXISTS ( SELECT NEXT_VAL FROM SEQUENCE_TABLE WHERE SEQUENCE_NAME = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); + -- These lines need to be last. Insert any changes above. UPDATE VERSION SET SCHEMA_VERSION='3.0.0', VERSION_COMMENT='Hive release version 3.0.0' where VER_ID=1; SELECT 'Finished upgrading MetaStore schema from 2.3.0 to 3.0.0' AS Status from dual; + diff --git a/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql b/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql index 72e5966cde..bb8d9843b4 100644 --- a/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql +++ b/standalone-metastore/src/main/sql/postgres/hive-schema-3.0.0.postgres.sql @@ -320,6 +320,7 @@ CREATE TABLE "SEQUENCE_TABLE" ( "NEXT_VAL" bigint NOT NULL ); +INSERT INTO "SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") VALUES ('org.apache.hadoop.hive.metastore.model.MNotificationLog', 1); -- -- Name: SERDES; Type: TABLE; Schema: public; Owner: hiveuser; Tablespace: @@ -1795,6 +1796,13 @@ CREATE TABLE "SCHEMA_VERSION" ( unique ("SCHEMA_ID", "VERSION") ); +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + -- ----------------------------------------------------------------- -- Record schema version. Should be the last step in the init script -- ----------------------------------------------------------------- diff --git a/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql b/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql index 7b4bd68eec..a2d029efac 100644 --- a/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql +++ b/standalone-metastore/src/main/sql/postgres/upgrade-2.3.0-to-3.0.0.postgres.sql @@ -293,6 +293,16 @@ ALTER TABLE "PARTITION_EVENTS" ADD "CAT_NAME" varchar(256); -- Add column to notification log ALTER TABLE "NOTIFICATION_LOG" ADD "CAT_NAME" varchar(256); +CREATE TABLE REPL_TXN_MAP ( + RTM_REPL_POLICY varchar(256) NOT NULL, + RTM_SRC_TXN_ID bigint NOT NULL, + RTM_TARGET_TXN_ID bigint NOT NULL, + PRIMARY KEY (RTM_REPL_POLICY, RTM_SRC_TXN_ID) +); + +INSERT INTO "SEQUENCE_TABLE" ("SEQUENCE_NAME", "NEXT_VAL") SELECT 'org.apache.hadoop.hive.metastore.model.MNotificationLog',1 WHERE NOT EXISTS ( SELECT "NEXT_VAL" FROM "SEQUENCE_TABLE" WHERE "SEQUENCE_NAME" = 'org.apache.hadoop.hive.metastore.model.MNotificationLog'); + -- These lines need to be last. Insert any changes above. UPDATE "VERSION" SET "SCHEMA_VERSION"='3.0.0', "VERSION_COMMENT"='Hive release version 3.0.0' where "VER_ID"=1; SELECT 'Finished upgrading MetaStore schema from 2.3.0 to 3.0.0'; + diff --git a/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index 27917f09df..7450439885 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -840,6 +840,8 @@ struct OpenTxnRequest { 2: required string user, 3: required string hostname, 4: optional string agentInfo = "Unknown", + 5: optional string replPolicy, + 6: optional list replSrcTxnIds, } struct OpenTxnsResponse { @@ -848,6 +850,7 @@ struct OpenTxnsResponse { struct AbortTxnRequest { 1: required i64 txnid, + 2: optional string replPolicy, } struct AbortTxnsRequest { @@ -856,6 +859,7 @@ struct AbortTxnsRequest { struct CommitTxnRequest { 1: required i64 txnid, + 2: optional string replPolicy, } // Request msg to get the valid write ids list for the given list of tables wrt to input validTxnList 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 c1c39bf264..7d372627a4 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 @@ -2154,14 +2154,37 @@ public long openTxn(String user) throws TException { @Override public OpenTxnsResponse openTxns(String user, int numTxns) throws TException { - String hostname = null; + return openTxnsIntr(user, numTxns, null, null); + } + + @Override + public List replOpenTxn(String replPolicy, List srcTxnIds, String user) throws TException { + // As this is called from replication task, the user is the user who has fired the repl command. + // This is required for standalone metastore authentication. + OpenTxnsResponse txns = openTxnsIntr(user, srcTxnIds.size(), replPolicy, srcTxnIds); + return txns.getTxn_ids(); + } + + private OpenTxnsResponse openTxnsIntr(String user, int numTxns, String replPolicy, + List srcTxnIds) throws TException { + String hostname; try { hostname = InetAddress.getLocalHost().getHostName(); } catch (UnknownHostException e) { LOG.error("Unable to resolve my host name " + e.getMessage()); throw new RuntimeException(e); } - return client.open_txns(new OpenTxnRequest(numTxns, user, hostname)); + OpenTxnRequest rqst = new OpenTxnRequest(numTxns, user, hostname); + if (replPolicy != null) { + assert srcTxnIds != null; + assert numTxns == srcTxnIds.size(); + // need to set this only for replication tasks + rqst.setReplPolicy(replPolicy); + rqst.setReplSrcTxnIds(srcTxnIds); + } else { + assert srcTxnIds == null; + } + return client.open_txns(rqst); } @Override @@ -2169,12 +2192,27 @@ public void rollbackTxn(long txnid) throws NoSuchTxnException, TException { client.abort_txn(new AbortTxnRequest(txnid)); } + @Override + public void replRollbackTxn(long srcTxnId, String replPolicy) throws NoSuchTxnException, TException { + AbortTxnRequest rqst = new AbortTxnRequest(srcTxnId); + rqst.setReplPolicy(replPolicy); + client.abort_txn(rqst); + } + @Override public void commitTxn(long txnid) throws NoSuchTxnException, TxnAbortedException, TException { client.commit_txn(new CommitTxnRequest(txnid)); } + @Override + public void replCommitTxn(long srcTxnId, String replPolicy) + throws NoSuchTxnException, TxnAbortedException, TException { + CommitTxnRequest rqst = new CommitTxnRequest(srcTxnId); + rqst.setReplPolicy(replPolicy); + client.commit_txn(rqst); + } + @Override public GetOpenTxnsInfoResponse showTxns() throws TException { return client.get_open_txns_info();