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 d64718159b..766cf6fa6d 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,14 +69,20 @@ 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.DatabaseProduct.MYSQL; /** * An implementation of {@link org.apache.hadoop.hive.metastore.MetaStoreEventListener} that @@ -424,6 +434,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 @@ -530,6 +583,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/053-HIVE-18781.derby.sql b/metastore/scripts/upgrade/derby/053-HIVE-18781.derby.sql new file mode 100644 index 0000000000..8a50663864 --- /dev/null +++ b/metastore/scripts/upgrade/derby/053-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 1e4dd99f1c..54b333b417 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 @@ -10,5 +10,6 @@ RUN '049-HIVE-18489.derby.sql'; RUN '050-HIVE-18192.derby.sql'; RUN '051-HIVE-18675.derby.sql'; RUN '052-HIVE-18965.derby.sql'; +RUN '053-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 1828f0a531..58a9ff8277 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 @@ -1791,4 +1791,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 0f49d93277..43ae689ee9 100644 --- a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp +++ b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp @@ -1240,14 +1240,14 @@ uint32_t ThriftHiveMetastore_get_databases_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1157; - ::apache::thrift::protocol::TType _etype1160; - xfer += iprot->readListBegin(_etype1160, _size1157); - this->success.resize(_size1157); - uint32_t _i1161; - for (_i1161 = 0; _i1161 < _size1157; ++_i1161) + uint32_t _size1163; + ::apache::thrift::protocol::TType _etype1166; + xfer += iprot->readListBegin(_etype1166, _size1163); + this->success.resize(_size1163); + uint32_t _i1167; + for (_i1167 = 0; _i1167 < _size1163; ++_i1167) { - xfer += iprot->readString(this->success[_i1161]); + xfer += iprot->readString(this->success[_i1167]); } xfer += iprot->readListEnd(); } @@ -1286,10 +1286,10 @@ uint32_t ThriftHiveMetastore_get_databases_result::write(::apache::thrift::proto xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1162; - for (_iter1162 = this->success.begin(); _iter1162 != this->success.end(); ++_iter1162) + std::vector ::const_iterator _iter1168; + for (_iter1168 = this->success.begin(); _iter1168 != this->success.end(); ++_iter1168) { - xfer += oprot->writeString((*_iter1162)); + xfer += oprot->writeString((*_iter1168)); } xfer += oprot->writeListEnd(); } @@ -1334,14 +1334,14 @@ uint32_t ThriftHiveMetastore_get_databases_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1163; - ::apache::thrift::protocol::TType _etype1166; - xfer += iprot->readListBegin(_etype1166, _size1163); - (*(this->success)).resize(_size1163); - uint32_t _i1167; - for (_i1167 = 0; _i1167 < _size1163; ++_i1167) + uint32_t _size1169; + ::apache::thrift::protocol::TType _etype1172; + xfer += iprot->readListBegin(_etype1172, _size1169); + (*(this->success)).resize(_size1169); + uint32_t _i1173; + for (_i1173 = 0; _i1173 < _size1169; ++_i1173) { - xfer += iprot->readString((*(this->success))[_i1167]); + xfer += iprot->readString((*(this->success))[_i1173]); } xfer += iprot->readListEnd(); } @@ -1458,14 +1458,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1168; - ::apache::thrift::protocol::TType _etype1171; - xfer += iprot->readListBegin(_etype1171, _size1168); - this->success.resize(_size1168); - uint32_t _i1172; - for (_i1172 = 0; _i1172 < _size1168; ++_i1172) + uint32_t _size1174; + ::apache::thrift::protocol::TType _etype1177; + xfer += iprot->readListBegin(_etype1177, _size1174); + this->success.resize(_size1174); + uint32_t _i1178; + for (_i1178 = 0; _i1178 < _size1174; ++_i1178) { - xfer += iprot->readString(this->success[_i1172]); + xfer += iprot->readString(this->success[_i1178]); } xfer += iprot->readListEnd(); } @@ -1504,10 +1504,10 @@ uint32_t ThriftHiveMetastore_get_all_databases_result::write(::apache::thrift::p xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1173; - for (_iter1173 = this->success.begin(); _iter1173 != this->success.end(); ++_iter1173) + std::vector ::const_iterator _iter1179; + for (_iter1179 = this->success.begin(); _iter1179 != this->success.end(); ++_iter1179) { - xfer += oprot->writeString((*_iter1173)); + xfer += oprot->writeString((*_iter1179)); } xfer += oprot->writeListEnd(); } @@ -1552,14 +1552,14 @@ uint32_t ThriftHiveMetastore_get_all_databases_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1174; - ::apache::thrift::protocol::TType _etype1177; - xfer += iprot->readListBegin(_etype1177, _size1174); - (*(this->success)).resize(_size1174); - uint32_t _i1178; - for (_i1178 = 0; _i1178 < _size1174; ++_i1178) + uint32_t _size1180; + ::apache::thrift::protocol::TType _etype1183; + xfer += iprot->readListBegin(_etype1183, _size1180); + (*(this->success)).resize(_size1180); + uint32_t _i1184; + for (_i1184 = 0; _i1184 < _size1180; ++_i1184) { - xfer += iprot->readString((*(this->success))[_i1178]); + xfer += iprot->readString((*(this->success))[_i1184]); } xfer += iprot->readListEnd(); } @@ -2621,17 +2621,17 @@ uint32_t ThriftHiveMetastore_get_type_all_result::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1179; - ::apache::thrift::protocol::TType _ktype1180; - ::apache::thrift::protocol::TType _vtype1181; - xfer += iprot->readMapBegin(_ktype1180, _vtype1181, _size1179); - uint32_t _i1183; - for (_i1183 = 0; _i1183 < _size1179; ++_i1183) + uint32_t _size1185; + ::apache::thrift::protocol::TType _ktype1186; + ::apache::thrift::protocol::TType _vtype1187; + xfer += iprot->readMapBegin(_ktype1186, _vtype1187, _size1185); + uint32_t _i1189; + for (_i1189 = 0; _i1189 < _size1185; ++_i1189) { - std::string _key1184; - xfer += iprot->readString(_key1184); - Type& _val1185 = this->success[_key1184]; - xfer += _val1185.read(iprot); + std::string _key1190; + xfer += iprot->readString(_key1190); + Type& _val1191 = this->success[_key1190]; + xfer += _val1191.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2670,11 +2670,11 @@ uint32_t ThriftHiveMetastore_get_type_all_result::write(::apache::thrift::protoc xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_MAP, 0); { xfer += oprot->writeMapBegin(::apache::thrift::protocol::T_STRING, ::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::map ::const_iterator _iter1186; - for (_iter1186 = this->success.begin(); _iter1186 != this->success.end(); ++_iter1186) + std::map ::const_iterator _iter1192; + for (_iter1192 = this->success.begin(); _iter1192 != this->success.end(); ++_iter1192) { - xfer += oprot->writeString(_iter1186->first); - xfer += _iter1186->second.write(oprot); + xfer += oprot->writeString(_iter1192->first); + xfer += _iter1192->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -2719,17 +2719,17 @@ uint32_t ThriftHiveMetastore_get_type_all_presult::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1187; - ::apache::thrift::protocol::TType _ktype1188; - ::apache::thrift::protocol::TType _vtype1189; - xfer += iprot->readMapBegin(_ktype1188, _vtype1189, _size1187); - uint32_t _i1191; - for (_i1191 = 0; _i1191 < _size1187; ++_i1191) + uint32_t _size1193; + ::apache::thrift::protocol::TType _ktype1194; + ::apache::thrift::protocol::TType _vtype1195; + xfer += iprot->readMapBegin(_ktype1194, _vtype1195, _size1193); + uint32_t _i1197; + for (_i1197 = 0; _i1197 < _size1193; ++_i1197) { - std::string _key1192; - xfer += iprot->readString(_key1192); - Type& _val1193 = (*(this->success))[_key1192]; - xfer += _val1193.read(iprot); + std::string _key1198; + xfer += iprot->readString(_key1198); + Type& _val1199 = (*(this->success))[_key1198]; + xfer += _val1199.read(iprot); } xfer += iprot->readMapEnd(); } @@ -2883,14 +2883,14 @@ uint32_t ThriftHiveMetastore_get_fields_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1194; - ::apache::thrift::protocol::TType _etype1197; - xfer += iprot->readListBegin(_etype1197, _size1194); - this->success.resize(_size1194); - uint32_t _i1198; - for (_i1198 = 0; _i1198 < _size1194; ++_i1198) + uint32_t _size1200; + ::apache::thrift::protocol::TType _etype1203; + xfer += iprot->readListBegin(_etype1203, _size1200); + this->success.resize(_size1200); + uint32_t _i1204; + for (_i1204 = 0; _i1204 < _size1200; ++_i1204) { - xfer += this->success[_i1198].read(iprot); + xfer += this->success[_i1204].read(iprot); } xfer += iprot->readListEnd(); } @@ -2945,10 +2945,10 @@ uint32_t ThriftHiveMetastore_get_fields_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1199; - for (_iter1199 = this->success.begin(); _iter1199 != this->success.end(); ++_iter1199) + std::vector ::const_iterator _iter1205; + for (_iter1205 = this->success.begin(); _iter1205 != this->success.end(); ++_iter1205) { - xfer += (*_iter1199).write(oprot); + xfer += (*_iter1205).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3001,14 +3001,14 @@ uint32_t ThriftHiveMetastore_get_fields_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1200; - ::apache::thrift::protocol::TType _etype1203; - xfer += iprot->readListBegin(_etype1203, _size1200); - (*(this->success)).resize(_size1200); - uint32_t _i1204; - for (_i1204 = 0; _i1204 < _size1200; ++_i1204) + uint32_t _size1206; + ::apache::thrift::protocol::TType _etype1209; + xfer += iprot->readListBegin(_etype1209, _size1206); + (*(this->success)).resize(_size1206); + uint32_t _i1210; + for (_i1210 = 0; _i1210 < _size1206; ++_i1210) { - xfer += (*(this->success))[_i1204].read(iprot); + xfer += (*(this->success))[_i1210].read(iprot); } xfer += iprot->readListEnd(); } @@ -3194,14 +3194,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1205; - ::apache::thrift::protocol::TType _etype1208; - xfer += iprot->readListBegin(_etype1208, _size1205); - this->success.resize(_size1205); - uint32_t _i1209; - for (_i1209 = 0; _i1209 < _size1205; ++_i1209) + uint32_t _size1211; + ::apache::thrift::protocol::TType _etype1214; + xfer += iprot->readListBegin(_etype1214, _size1211); + this->success.resize(_size1211); + uint32_t _i1215; + for (_i1215 = 0; _i1215 < _size1211; ++_i1215) { - xfer += this->success[_i1209].read(iprot); + xfer += this->success[_i1215].read(iprot); } xfer += iprot->readListEnd(); } @@ -3256,10 +3256,10 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1210; - for (_iter1210 = this->success.begin(); _iter1210 != this->success.end(); ++_iter1210) + std::vector ::const_iterator _iter1216; + for (_iter1216 = this->success.begin(); _iter1216 != this->success.end(); ++_iter1216) { - xfer += (*_iter1210).write(oprot); + xfer += (*_iter1216).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3312,14 +3312,14 @@ uint32_t ThriftHiveMetastore_get_fields_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1211; - ::apache::thrift::protocol::TType _etype1214; - xfer += iprot->readListBegin(_etype1214, _size1211); - (*(this->success)).resize(_size1211); - uint32_t _i1215; - for (_i1215 = 0; _i1215 < _size1211; ++_i1215) + uint32_t _size1217; + ::apache::thrift::protocol::TType _etype1220; + xfer += iprot->readListBegin(_etype1220, _size1217); + (*(this->success)).resize(_size1217); + uint32_t _i1221; + for (_i1221 = 0; _i1221 < _size1217; ++_i1221) { - xfer += (*(this->success))[_i1215].read(iprot); + xfer += (*(this->success))[_i1221].read(iprot); } xfer += iprot->readListEnd(); } @@ -3489,14 +3489,14 @@ uint32_t ThriftHiveMetastore_get_schema_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1216; - ::apache::thrift::protocol::TType _etype1219; - xfer += iprot->readListBegin(_etype1219, _size1216); - this->success.resize(_size1216); - uint32_t _i1220; - for (_i1220 = 0; _i1220 < _size1216; ++_i1220) + uint32_t _size1222; + ::apache::thrift::protocol::TType _etype1225; + xfer += iprot->readListBegin(_etype1225, _size1222); + this->success.resize(_size1222); + uint32_t _i1226; + for (_i1226 = 0; _i1226 < _size1222; ++_i1226) { - xfer += this->success[_i1220].read(iprot); + xfer += this->success[_i1226].read(iprot); } xfer += iprot->readListEnd(); } @@ -3551,10 +3551,10 @@ uint32_t ThriftHiveMetastore_get_schema_result::write(::apache::thrift::protocol xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1221; - for (_iter1221 = this->success.begin(); _iter1221 != this->success.end(); ++_iter1221) + std::vector ::const_iterator _iter1227; + for (_iter1227 = this->success.begin(); _iter1227 != this->success.end(); ++_iter1227) { - xfer += (*_iter1221).write(oprot); + xfer += (*_iter1227).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3607,14 +3607,14 @@ uint32_t ThriftHiveMetastore_get_schema_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1222; - ::apache::thrift::protocol::TType _etype1225; - xfer += iprot->readListBegin(_etype1225, _size1222); - (*(this->success)).resize(_size1222); - uint32_t _i1226; - for (_i1226 = 0; _i1226 < _size1222; ++_i1226) + uint32_t _size1228; + ::apache::thrift::protocol::TType _etype1231; + xfer += iprot->readListBegin(_etype1231, _size1228); + (*(this->success)).resize(_size1228); + uint32_t _i1232; + for (_i1232 = 0; _i1232 < _size1228; ++_i1232) { - xfer += (*(this->success))[_i1226].read(iprot); + xfer += (*(this->success))[_i1232].read(iprot); } xfer += iprot->readListEnd(); } @@ -3800,14 +3800,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1227; - ::apache::thrift::protocol::TType _etype1230; - xfer += iprot->readListBegin(_etype1230, _size1227); - this->success.resize(_size1227); - uint32_t _i1231; - for (_i1231 = 0; _i1231 < _size1227; ++_i1231) + uint32_t _size1233; + ::apache::thrift::protocol::TType _etype1236; + xfer += iprot->readListBegin(_etype1236, _size1233); + this->success.resize(_size1233); + uint32_t _i1237; + for (_i1237 = 0; _i1237 < _size1233; ++_i1237) { - xfer += this->success[_i1231].read(iprot); + xfer += this->success[_i1237].read(iprot); } xfer += iprot->readListEnd(); } @@ -3862,10 +3862,10 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_result::write(: xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1232; - for (_iter1232 = this->success.begin(); _iter1232 != this->success.end(); ++_iter1232) + std::vector ::const_iterator _iter1238; + for (_iter1238 = this->success.begin(); _iter1238 != this->success.end(); ++_iter1238) { - xfer += (*_iter1232).write(oprot); + xfer += (*_iter1238).write(oprot); } xfer += oprot->writeListEnd(); } @@ -3918,14 +3918,14 @@ uint32_t ThriftHiveMetastore_get_schema_with_environment_context_presult::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1233; - ::apache::thrift::protocol::TType _etype1236; - xfer += iprot->readListBegin(_etype1236, _size1233); - (*(this->success)).resize(_size1233); - uint32_t _i1237; - for (_i1237 = 0; _i1237 < _size1233; ++_i1237) + uint32_t _size1239; + ::apache::thrift::protocol::TType _etype1242; + xfer += iprot->readListBegin(_etype1242, _size1239); + (*(this->success)).resize(_size1239); + uint32_t _i1243; + for (_i1243 = 0; _i1243 < _size1239; ++_i1243) { - xfer += (*(this->success))[_i1237].read(iprot); + xfer += (*(this->success))[_i1243].read(iprot); } xfer += iprot->readListEnd(); } @@ -4518,14 +4518,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->primaryKeys.clear(); - uint32_t _size1238; - ::apache::thrift::protocol::TType _etype1241; - xfer += iprot->readListBegin(_etype1241, _size1238); - this->primaryKeys.resize(_size1238); - uint32_t _i1242; - for (_i1242 = 0; _i1242 < _size1238; ++_i1242) + uint32_t _size1244; + ::apache::thrift::protocol::TType _etype1247; + xfer += iprot->readListBegin(_etype1247, _size1244); + this->primaryKeys.resize(_size1244); + uint32_t _i1248; + for (_i1248 = 0; _i1248 < _size1244; ++_i1248) { - xfer += this->primaryKeys[_i1242].read(iprot); + xfer += this->primaryKeys[_i1248].read(iprot); } xfer += iprot->readListEnd(); } @@ -4538,14 +4538,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->foreignKeys.clear(); - uint32_t _size1243; - ::apache::thrift::protocol::TType _etype1246; - xfer += iprot->readListBegin(_etype1246, _size1243); - this->foreignKeys.resize(_size1243); - uint32_t _i1247; - for (_i1247 = 0; _i1247 < _size1243; ++_i1247) + uint32_t _size1249; + ::apache::thrift::protocol::TType _etype1252; + xfer += iprot->readListBegin(_etype1252, _size1249); + this->foreignKeys.resize(_size1249); + uint32_t _i1253; + for (_i1253 = 0; _i1253 < _size1249; ++_i1253) { - xfer += this->foreignKeys[_i1247].read(iprot); + xfer += this->foreignKeys[_i1253].read(iprot); } xfer += iprot->readListEnd(); } @@ -4558,14 +4558,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->uniqueConstraints.clear(); - uint32_t _size1248; - ::apache::thrift::protocol::TType _etype1251; - xfer += iprot->readListBegin(_etype1251, _size1248); - this->uniqueConstraints.resize(_size1248); - uint32_t _i1252; - for (_i1252 = 0; _i1252 < _size1248; ++_i1252) + uint32_t _size1254; + ::apache::thrift::protocol::TType _etype1257; + xfer += iprot->readListBegin(_etype1257, _size1254); + this->uniqueConstraints.resize(_size1254); + uint32_t _i1258; + for (_i1258 = 0; _i1258 < _size1254; ++_i1258) { - xfer += this->uniqueConstraints[_i1252].read(iprot); + xfer += this->uniqueConstraints[_i1258].read(iprot); } xfer += iprot->readListEnd(); } @@ -4578,14 +4578,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->notNullConstraints.clear(); - uint32_t _size1253; - ::apache::thrift::protocol::TType _etype1256; - xfer += iprot->readListBegin(_etype1256, _size1253); - this->notNullConstraints.resize(_size1253); - uint32_t _i1257; - for (_i1257 = 0; _i1257 < _size1253; ++_i1257) + uint32_t _size1259; + ::apache::thrift::protocol::TType _etype1262; + xfer += iprot->readListBegin(_etype1262, _size1259); + this->notNullConstraints.resize(_size1259); + uint32_t _i1263; + for (_i1263 = 0; _i1263 < _size1259; ++_i1263) { - xfer += this->notNullConstraints[_i1257].read(iprot); + xfer += this->notNullConstraints[_i1263].read(iprot); } xfer += iprot->readListEnd(); } @@ -4598,14 +4598,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->defaultConstraints.clear(); - uint32_t _size1258; - ::apache::thrift::protocol::TType _etype1261; - xfer += iprot->readListBegin(_etype1261, _size1258); - this->defaultConstraints.resize(_size1258); - uint32_t _i1262; - for (_i1262 = 0; _i1262 < _size1258; ++_i1262) + uint32_t _size1264; + ::apache::thrift::protocol::TType _etype1267; + xfer += iprot->readListBegin(_etype1267, _size1264); + this->defaultConstraints.resize(_size1264); + uint32_t _i1268; + for (_i1268 = 0; _i1268 < _size1264; ++_i1268) { - xfer += this->defaultConstraints[_i1262].read(iprot); + xfer += this->defaultConstraints[_i1268].read(iprot); } xfer += iprot->readListEnd(); } @@ -4618,14 +4618,14 @@ uint32_t ThriftHiveMetastore_create_table_with_constraints_args::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->checkConstraints.clear(); - uint32_t _size1263; - ::apache::thrift::protocol::TType _etype1266; - xfer += iprot->readListBegin(_etype1266, _size1263); - this->checkConstraints.resize(_size1263); - uint32_t _i1267; - for (_i1267 = 0; _i1267 < _size1263; ++_i1267) + uint32_t _size1269; + ::apache::thrift::protocol::TType _etype1272; + xfer += iprot->readListBegin(_etype1272, _size1269); + this->checkConstraints.resize(_size1269); + uint32_t _i1273; + for (_i1273 = 0; _i1273 < _size1269; ++_i1273) { - xfer += this->checkConstraints[_i1267].read(iprot); + xfer += this->checkConstraints[_i1273].read(iprot); } xfer += iprot->readListEnd(); } @@ -4658,10 +4658,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 _iter1268; - for (_iter1268 = this->primaryKeys.begin(); _iter1268 != this->primaryKeys.end(); ++_iter1268) + std::vector ::const_iterator _iter1274; + for (_iter1274 = this->primaryKeys.begin(); _iter1274 != this->primaryKeys.end(); ++_iter1274) { - xfer += (*_iter1268).write(oprot); + xfer += (*_iter1274).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4670,10 +4670,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 _iter1269; - for (_iter1269 = this->foreignKeys.begin(); _iter1269 != this->foreignKeys.end(); ++_iter1269) + std::vector ::const_iterator _iter1275; + for (_iter1275 = this->foreignKeys.begin(); _iter1275 != this->foreignKeys.end(); ++_iter1275) { - xfer += (*_iter1269).write(oprot); + xfer += (*_iter1275).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4682,10 +4682,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 _iter1270; - for (_iter1270 = this->uniqueConstraints.begin(); _iter1270 != this->uniqueConstraints.end(); ++_iter1270) + std::vector ::const_iterator _iter1276; + for (_iter1276 = this->uniqueConstraints.begin(); _iter1276 != this->uniqueConstraints.end(); ++_iter1276) { - xfer += (*_iter1270).write(oprot); + xfer += (*_iter1276).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4694,10 +4694,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 _iter1271; - for (_iter1271 = this->notNullConstraints.begin(); _iter1271 != this->notNullConstraints.end(); ++_iter1271) + std::vector ::const_iterator _iter1277; + for (_iter1277 = this->notNullConstraints.begin(); _iter1277 != this->notNullConstraints.end(); ++_iter1277) { - xfer += (*_iter1271).write(oprot); + xfer += (*_iter1277).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4706,10 +4706,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 _iter1272; - for (_iter1272 = this->defaultConstraints.begin(); _iter1272 != this->defaultConstraints.end(); ++_iter1272) + std::vector ::const_iterator _iter1278; + for (_iter1278 = this->defaultConstraints.begin(); _iter1278 != this->defaultConstraints.end(); ++_iter1278) { - xfer += (*_iter1272).write(oprot); + xfer += (*_iter1278).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4718,10 +4718,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 _iter1273; - for (_iter1273 = this->checkConstraints.begin(); _iter1273 != this->checkConstraints.end(); ++_iter1273) + std::vector ::const_iterator _iter1279; + for (_iter1279 = this->checkConstraints.begin(); _iter1279 != this->checkConstraints.end(); ++_iter1279) { - xfer += (*_iter1273).write(oprot); + xfer += (*_iter1279).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4749,10 +4749,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 _iter1274; - for (_iter1274 = (*(this->primaryKeys)).begin(); _iter1274 != (*(this->primaryKeys)).end(); ++_iter1274) + std::vector ::const_iterator _iter1280; + for (_iter1280 = (*(this->primaryKeys)).begin(); _iter1280 != (*(this->primaryKeys)).end(); ++_iter1280) { - xfer += (*_iter1274).write(oprot); + xfer += (*_iter1280).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4761,10 +4761,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 _iter1275; - for (_iter1275 = (*(this->foreignKeys)).begin(); _iter1275 != (*(this->foreignKeys)).end(); ++_iter1275) + std::vector ::const_iterator _iter1281; + for (_iter1281 = (*(this->foreignKeys)).begin(); _iter1281 != (*(this->foreignKeys)).end(); ++_iter1281) { - xfer += (*_iter1275).write(oprot); + xfer += (*_iter1281).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4773,10 +4773,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 _iter1276; - for (_iter1276 = (*(this->uniqueConstraints)).begin(); _iter1276 != (*(this->uniqueConstraints)).end(); ++_iter1276) + std::vector ::const_iterator _iter1282; + for (_iter1282 = (*(this->uniqueConstraints)).begin(); _iter1282 != (*(this->uniqueConstraints)).end(); ++_iter1282) { - xfer += (*_iter1276).write(oprot); + xfer += (*_iter1282).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4785,10 +4785,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 _iter1277; - for (_iter1277 = (*(this->notNullConstraints)).begin(); _iter1277 != (*(this->notNullConstraints)).end(); ++_iter1277) + std::vector ::const_iterator _iter1283; + for (_iter1283 = (*(this->notNullConstraints)).begin(); _iter1283 != (*(this->notNullConstraints)).end(); ++_iter1283) { - xfer += (*_iter1277).write(oprot); + xfer += (*_iter1283).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4797,10 +4797,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 _iter1278; - for (_iter1278 = (*(this->defaultConstraints)).begin(); _iter1278 != (*(this->defaultConstraints)).end(); ++_iter1278) + std::vector ::const_iterator _iter1284; + for (_iter1284 = (*(this->defaultConstraints)).begin(); _iter1284 != (*(this->defaultConstraints)).end(); ++_iter1284) { - xfer += (*_iter1278).write(oprot); + xfer += (*_iter1284).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4809,10 +4809,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 _iter1279; - for (_iter1279 = (*(this->checkConstraints)).begin(); _iter1279 != (*(this->checkConstraints)).end(); ++_iter1279) + std::vector ::const_iterator _iter1285; + for (_iter1285 = (*(this->checkConstraints)).begin(); _iter1285 != (*(this->checkConstraints)).end(); ++_iter1285) { - xfer += (*_iter1279).write(oprot); + xfer += (*_iter1285).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6980,14 +6980,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size1280; - ::apache::thrift::protocol::TType _etype1283; - xfer += iprot->readListBegin(_etype1283, _size1280); - this->partNames.resize(_size1280); - uint32_t _i1284; - for (_i1284 = 0; _i1284 < _size1280; ++_i1284) + uint32_t _size1286; + ::apache::thrift::protocol::TType _etype1289; + xfer += iprot->readListBegin(_etype1289, _size1286); + this->partNames.resize(_size1286); + uint32_t _i1290; + for (_i1290 = 0; _i1290 < _size1286; ++_i1290) { - xfer += iprot->readString(this->partNames[_i1284]); + xfer += iprot->readString(this->partNames[_i1290]); } xfer += iprot->readListEnd(); } @@ -7024,10 +7024,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 _iter1285; - for (_iter1285 = this->partNames.begin(); _iter1285 != this->partNames.end(); ++_iter1285) + std::vector ::const_iterator _iter1291; + for (_iter1291 = this->partNames.begin(); _iter1291 != this->partNames.end(); ++_iter1291) { - xfer += oprot->writeString((*_iter1285)); + xfer += oprot->writeString((*_iter1291)); } xfer += oprot->writeListEnd(); } @@ -7059,10 +7059,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 _iter1286; - for (_iter1286 = (*(this->partNames)).begin(); _iter1286 != (*(this->partNames)).end(); ++_iter1286) + std::vector ::const_iterator _iter1292; + for (_iter1292 = (*(this->partNames)).begin(); _iter1292 != (*(this->partNames)).end(); ++_iter1292) { - xfer += oprot->writeString((*_iter1286)); + xfer += oprot->writeString((*_iter1292)); } xfer += oprot->writeListEnd(); } @@ -7306,14 +7306,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1287; - ::apache::thrift::protocol::TType _etype1290; - xfer += iprot->readListBegin(_etype1290, _size1287); - this->success.resize(_size1287); - uint32_t _i1291; - for (_i1291 = 0; _i1291 < _size1287; ++_i1291) + uint32_t _size1293; + ::apache::thrift::protocol::TType _etype1296; + xfer += iprot->readListBegin(_etype1296, _size1293); + this->success.resize(_size1293); + uint32_t _i1297; + for (_i1297 = 0; _i1297 < _size1293; ++_i1297) { - xfer += iprot->readString(this->success[_i1291]); + xfer += iprot->readString(this->success[_i1297]); } xfer += iprot->readListEnd(); } @@ -7352,10 +7352,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 _iter1292; - for (_iter1292 = this->success.begin(); _iter1292 != this->success.end(); ++_iter1292) + std::vector ::const_iterator _iter1298; + for (_iter1298 = this->success.begin(); _iter1298 != this->success.end(); ++_iter1298) { - xfer += oprot->writeString((*_iter1292)); + xfer += oprot->writeString((*_iter1298)); } xfer += oprot->writeListEnd(); } @@ -7400,14 +7400,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1293; - ::apache::thrift::protocol::TType _etype1296; - xfer += iprot->readListBegin(_etype1296, _size1293); - (*(this->success)).resize(_size1293); - uint32_t _i1297; - for (_i1297 = 0; _i1297 < _size1293; ++_i1297) + uint32_t _size1299; + ::apache::thrift::protocol::TType _etype1302; + xfer += iprot->readListBegin(_etype1302, _size1299); + (*(this->success)).resize(_size1299); + uint32_t _i1303; + for (_i1303 = 0; _i1303 < _size1299; ++_i1303) { - xfer += iprot->readString((*(this->success))[_i1297]); + xfer += iprot->readString((*(this->success))[_i1303]); } xfer += iprot->readListEnd(); } @@ -7577,14 +7577,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 _size1298; - ::apache::thrift::protocol::TType _etype1301; - xfer += iprot->readListBegin(_etype1301, _size1298); - this->success.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->success.resize(_size1304); + uint32_t _i1308; + for (_i1308 = 0; _i1308 < _size1304; ++_i1308) { - xfer += iprot->readString(this->success[_i1302]); + xfer += iprot->readString(this->success[_i1308]); } xfer += iprot->readListEnd(); } @@ -7623,10 +7623,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 _iter1303; - for (_iter1303 = this->success.begin(); _iter1303 != this->success.end(); ++_iter1303) + std::vector ::const_iterator _iter1309; + for (_iter1309 = this->success.begin(); _iter1309 != this->success.end(); ++_iter1309) { - xfer += oprot->writeString((*_iter1303)); + xfer += oprot->writeString((*_iter1309)); } xfer += oprot->writeListEnd(); } @@ -7671,14 +7671,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1304; - ::apache::thrift::protocol::TType _etype1307; - xfer += iprot->readListBegin(_etype1307, _size1304); - (*(this->success)).resize(_size1304); - uint32_t _i1308; - for (_i1308 = 0; _i1308 < _size1304; ++_i1308) + uint32_t _size1310; + ::apache::thrift::protocol::TType _etype1313; + xfer += iprot->readListBegin(_etype1313, _size1310); + (*(this->success)).resize(_size1310); + uint32_t _i1314; + for (_i1314 = 0; _i1314 < _size1310; ++_i1314) { - xfer += iprot->readString((*(this->success))[_i1308]); + xfer += iprot->readString((*(this->success))[_i1314]); } xfer += iprot->readListEnd(); } @@ -7816,14 +7816,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1309; - ::apache::thrift::protocol::TType _etype1312; - xfer += iprot->readListBegin(_etype1312, _size1309); - this->success.resize(_size1309); - uint32_t _i1313; - for (_i1313 = 0; _i1313 < _size1309; ++_i1313) + uint32_t _size1315; + ::apache::thrift::protocol::TType _etype1318; + xfer += iprot->readListBegin(_etype1318, _size1315); + this->success.resize(_size1315); + uint32_t _i1319; + for (_i1319 = 0; _i1319 < _size1315; ++_i1319) { - xfer += iprot->readString(this->success[_i1313]); + xfer += iprot->readString(this->success[_i1319]); } xfer += iprot->readListEnd(); } @@ -7862,10 +7862,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 _iter1314; - for (_iter1314 = this->success.begin(); _iter1314 != this->success.end(); ++_iter1314) + std::vector ::const_iterator _iter1320; + for (_iter1320 = this->success.begin(); _iter1320 != this->success.end(); ++_iter1320) { - xfer += oprot->writeString((*_iter1314)); + xfer += oprot->writeString((*_iter1320)); } xfer += oprot->writeListEnd(); } @@ -7910,14 +7910,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_presult::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1315; - ::apache::thrift::protocol::TType _etype1318; - xfer += iprot->readListBegin(_etype1318, _size1315); - (*(this->success)).resize(_size1315); - uint32_t _i1319; - for (_i1319 = 0; _i1319 < _size1315; ++_i1319) + uint32_t _size1321; + ::apache::thrift::protocol::TType _etype1324; + xfer += iprot->readListBegin(_etype1324, _size1321); + (*(this->success)).resize(_size1321); + uint32_t _i1325; + for (_i1325 = 0; _i1325 < _size1321; ++_i1325) { - xfer += iprot->readString((*(this->success))[_i1319]); + xfer += iprot->readString((*(this->success))[_i1325]); } xfer += iprot->readListEnd(); } @@ -7992,14 +7992,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 _size1320; - ::apache::thrift::protocol::TType _etype1323; - xfer += iprot->readListBegin(_etype1323, _size1320); - this->tbl_types.resize(_size1320); - uint32_t _i1324; - for (_i1324 = 0; _i1324 < _size1320; ++_i1324) + uint32_t _size1326; + ::apache::thrift::protocol::TType _etype1329; + xfer += iprot->readListBegin(_etype1329, _size1326); + this->tbl_types.resize(_size1326); + uint32_t _i1330; + for (_i1330 = 0; _i1330 < _size1326; ++_i1330) { - xfer += iprot->readString(this->tbl_types[_i1324]); + xfer += iprot->readString(this->tbl_types[_i1330]); } xfer += iprot->readListEnd(); } @@ -8036,10 +8036,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 _iter1325; - for (_iter1325 = this->tbl_types.begin(); _iter1325 != this->tbl_types.end(); ++_iter1325) + std::vector ::const_iterator _iter1331; + for (_iter1331 = this->tbl_types.begin(); _iter1331 != this->tbl_types.end(); ++_iter1331) { - xfer += oprot->writeString((*_iter1325)); + xfer += oprot->writeString((*_iter1331)); } xfer += oprot->writeListEnd(); } @@ -8071,10 +8071,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 _iter1326; - for (_iter1326 = (*(this->tbl_types)).begin(); _iter1326 != (*(this->tbl_types)).end(); ++_iter1326) + std::vector ::const_iterator _iter1332; + for (_iter1332 = (*(this->tbl_types)).begin(); _iter1332 != (*(this->tbl_types)).end(); ++_iter1332) { - xfer += oprot->writeString((*_iter1326)); + xfer += oprot->writeString((*_iter1332)); } xfer += oprot->writeListEnd(); } @@ -8115,14 +8115,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto 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 += this->success[_i1331].read(iprot); + xfer += this->success[_i1337].read(iprot); } xfer += iprot->readListEnd(); } @@ -8161,10 +8161,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 _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 += (*_iter1332).write(oprot); + xfer += (*_iter1338).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8209,14 +8209,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot 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 += (*(this->success))[_i1337].read(iprot); + xfer += (*(this->success))[_i1343].read(iprot); } xfer += iprot->readListEnd(); } @@ -8354,14 +8354,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1338; - ::apache::thrift::protocol::TType _etype1341; - xfer += iprot->readListBegin(_etype1341, _size1338); - this->success.resize(_size1338); - uint32_t _i1342; - for (_i1342 = 0; _i1342 < _size1338; ++_i1342) + uint32_t _size1344; + ::apache::thrift::protocol::TType _etype1347; + xfer += iprot->readListBegin(_etype1347, _size1344); + this->success.resize(_size1344); + uint32_t _i1348; + for (_i1348 = 0; _i1348 < _size1344; ++_i1348) { - xfer += iprot->readString(this->success[_i1342]); + xfer += iprot->readString(this->success[_i1348]); } xfer += iprot->readListEnd(); } @@ -8400,10 +8400,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 _iter1343; - for (_iter1343 = this->success.begin(); _iter1343 != this->success.end(); ++_iter1343) + std::vector ::const_iterator _iter1349; + for (_iter1349 = this->success.begin(); _iter1349 != this->success.end(); ++_iter1349) { - xfer += oprot->writeString((*_iter1343)); + xfer += oprot->writeString((*_iter1349)); } xfer += oprot->writeListEnd(); } @@ -8448,14 +8448,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1344; - ::apache::thrift::protocol::TType _etype1347; - xfer += iprot->readListBegin(_etype1347, _size1344); - (*(this->success)).resize(_size1344); - uint32_t _i1348; - for (_i1348 = 0; _i1348 < _size1344; ++_i1348) + uint32_t _size1350; + ::apache::thrift::protocol::TType _etype1353; + xfer += iprot->readListBegin(_etype1353, _size1350); + (*(this->success)).resize(_size1350); + uint32_t _i1354; + for (_i1354 = 0; _i1354 < _size1350; ++_i1354) { - xfer += iprot->readString((*(this->success))[_i1348]); + xfer += iprot->readString((*(this->success))[_i1354]); } xfer += iprot->readListEnd(); } @@ -8765,14 +8765,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 _size1349; - ::apache::thrift::protocol::TType _etype1352; - xfer += iprot->readListBegin(_etype1352, _size1349); - this->tbl_names.resize(_size1349); - uint32_t _i1353; - for (_i1353 = 0; _i1353 < _size1349; ++_i1353) + uint32_t _size1355; + ::apache::thrift::protocol::TType _etype1358; + xfer += iprot->readListBegin(_etype1358, _size1355); + this->tbl_names.resize(_size1355); + uint32_t _i1359; + for (_i1359 = 0; _i1359 < _size1355; ++_i1359) { - xfer += iprot->readString(this->tbl_names[_i1353]); + xfer += iprot->readString(this->tbl_names[_i1359]); } xfer += iprot->readListEnd(); } @@ -8805,10 +8805,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 _iter1354; - for (_iter1354 = this->tbl_names.begin(); _iter1354 != this->tbl_names.end(); ++_iter1354) + std::vector ::const_iterator _iter1360; + for (_iter1360 = this->tbl_names.begin(); _iter1360 != this->tbl_names.end(); ++_iter1360) { - xfer += oprot->writeString((*_iter1354)); + xfer += oprot->writeString((*_iter1360)); } xfer += oprot->writeListEnd(); } @@ -8836,10 +8836,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 _iter1355; - for (_iter1355 = (*(this->tbl_names)).begin(); _iter1355 != (*(this->tbl_names)).end(); ++_iter1355) + std::vector ::const_iterator _iter1361; + for (_iter1361 = (*(this->tbl_names)).begin(); _iter1361 != (*(this->tbl_names)).end(); ++_iter1361) { - xfer += oprot->writeString((*_iter1355)); + xfer += oprot->writeString((*_iter1361)); } xfer += oprot->writeListEnd(); } @@ -8880,14 +8880,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 _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 += this->success[_i1360].read(iprot); + xfer += this->success[_i1366].read(iprot); } xfer += iprot->readListEnd(); } @@ -8918,10 +8918,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 _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 += (*_iter1361).write(oprot); + xfer += (*_iter1367).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8962,14 +8962,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 _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 += (*(this->success))[_i1366].read(iprot); + xfer += (*(this->success))[_i1372].read(iprot); } xfer += iprot->readListEnd(); } @@ -9502,14 +9502,14 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::read(:: 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(); } @@ -9542,10 +9542,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 _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(); } @@ -9573,10 +9573,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 _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(); } @@ -9617,17 +9617,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::read( if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1374; - ::apache::thrift::protocol::TType _ktype1375; - ::apache::thrift::protocol::TType _vtype1376; - xfer += iprot->readMapBegin(_ktype1375, _vtype1376, _size1374); - uint32_t _i1378; - for (_i1378 = 0; _i1378 < _size1374; ++_i1378) + uint32_t _size1380; + ::apache::thrift::protocol::TType _ktype1381; + ::apache::thrift::protocol::TType _vtype1382; + xfer += iprot->readMapBegin(_ktype1381, _vtype1382, _size1380); + uint32_t _i1384; + for (_i1384 = 0; _i1384 < _size1380; ++_i1384) { - std::string _key1379; - xfer += iprot->readString(_key1379); - Materialization& _val1380 = this->success[_key1379]; - xfer += _val1380.read(iprot); + std::string _key1385; + xfer += iprot->readString(_key1385); + Materialization& _val1386 = this->success[_key1385]; + xfer += _val1386.read(iprot); } xfer += iprot->readMapEnd(); } @@ -9682,11 +9682,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 _iter1381; - for (_iter1381 = this->success.begin(); _iter1381 != this->success.end(); ++_iter1381) + std::map ::const_iterator _iter1387; + for (_iter1387 = this->success.begin(); _iter1387 != this->success.end(); ++_iter1387) { - xfer += oprot->writeString(_iter1381->first); - xfer += _iter1381->second.write(oprot); + xfer += oprot->writeString(_iter1387->first); + xfer += _iter1387->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -9739,17 +9739,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_presult::read if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1382; - ::apache::thrift::protocol::TType _ktype1383; - ::apache::thrift::protocol::TType _vtype1384; - xfer += iprot->readMapBegin(_ktype1383, _vtype1384, _size1382); - uint32_t _i1386; - for (_i1386 = 0; _i1386 < _size1382; ++_i1386) + uint32_t _size1388; + ::apache::thrift::protocol::TType _ktype1389; + ::apache::thrift::protocol::TType _vtype1390; + xfer += iprot->readMapBegin(_ktype1389, _vtype1390, _size1388); + uint32_t _i1392; + for (_i1392 = 0; _i1392 < _size1388; ++_i1392) { - std::string _key1387; - xfer += iprot->readString(_key1387); - Materialization& _val1388 = (*(this->success))[_key1387]; - xfer += _val1388.read(iprot); + std::string _key1393; + xfer += iprot->readString(_key1393); + Materialization& _val1394 = (*(this->success))[_key1393]; + xfer += _val1394.read(iprot); } xfer += iprot->readMapEnd(); } @@ -10194,14 +10194,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 _size1389; - ::apache::thrift::protocol::TType _etype1392; - xfer += iprot->readListBegin(_etype1392, _size1389); - this->success.resize(_size1389); - uint32_t _i1393; - for (_i1393 = 0; _i1393 < _size1389; ++_i1393) + uint32_t _size1395; + ::apache::thrift::protocol::TType _etype1398; + xfer += iprot->readListBegin(_etype1398, _size1395); + this->success.resize(_size1395); + uint32_t _i1399; + for (_i1399 = 0; _i1399 < _size1395; ++_i1399) { - xfer += iprot->readString(this->success[_i1393]); + xfer += iprot->readString(this->success[_i1399]); } xfer += iprot->readListEnd(); } @@ -10256,10 +10256,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 _iter1394; - for (_iter1394 = this->success.begin(); _iter1394 != this->success.end(); ++_iter1394) + std::vector ::const_iterator _iter1400; + for (_iter1400 = this->success.begin(); _iter1400 != this->success.end(); ++_iter1400) { - xfer += oprot->writeString((*_iter1394)); + xfer += oprot->writeString((*_iter1400)); } xfer += oprot->writeListEnd(); } @@ -10312,14 +10312,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 _size1395; - ::apache::thrift::protocol::TType _etype1398; - xfer += iprot->readListBegin(_etype1398, _size1395); - (*(this->success)).resize(_size1395); - uint32_t _i1399; - for (_i1399 = 0; _i1399 < _size1395; ++_i1399) + uint32_t _size1401; + ::apache::thrift::protocol::TType _etype1404; + xfer += iprot->readListBegin(_etype1404, _size1401); + (*(this->success)).resize(_size1401); + uint32_t _i1405; + for (_i1405 = 0; _i1405 < _size1401; ++_i1405) { - xfer += iprot->readString((*(this->success))[_i1399]); + xfer += iprot->readString((*(this->success))[_i1405]); } xfer += iprot->readListEnd(); } @@ -11653,14 +11653,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1400; - ::apache::thrift::protocol::TType _etype1403; - xfer += iprot->readListBegin(_etype1403, _size1400); - this->new_parts.resize(_size1400); - uint32_t _i1404; - for (_i1404 = 0; _i1404 < _size1400; ++_i1404) + uint32_t _size1406; + ::apache::thrift::protocol::TType _etype1409; + xfer += iprot->readListBegin(_etype1409, _size1406); + this->new_parts.resize(_size1406); + uint32_t _i1410; + for (_i1410 = 0; _i1410 < _size1406; ++_i1410) { - xfer += this->new_parts[_i1404].read(iprot); + xfer += this->new_parts[_i1410].read(iprot); } xfer += iprot->readListEnd(); } @@ -11689,10 +11689,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 _iter1405; - for (_iter1405 = this->new_parts.begin(); _iter1405 != this->new_parts.end(); ++_iter1405) + std::vector ::const_iterator _iter1411; + for (_iter1411 = this->new_parts.begin(); _iter1411 != this->new_parts.end(); ++_iter1411) { - xfer += (*_iter1405).write(oprot); + xfer += (*_iter1411).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11716,10 +11716,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 _iter1406; - for (_iter1406 = (*(this->new_parts)).begin(); _iter1406 != (*(this->new_parts)).end(); ++_iter1406) + std::vector ::const_iterator _iter1412; + for (_iter1412 = (*(this->new_parts)).begin(); _iter1412 != (*(this->new_parts)).end(); ++_iter1412) { - xfer += (*_iter1406).write(oprot); + xfer += (*_iter1412).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11928,14 +11928,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 _size1407; - ::apache::thrift::protocol::TType _etype1410; - xfer += iprot->readListBegin(_etype1410, _size1407); - this->new_parts.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->new_parts.resize(_size1413); + uint32_t _i1417; + for (_i1417 = 0; _i1417 < _size1413; ++_i1417) { - xfer += this->new_parts[_i1411].read(iprot); + xfer += this->new_parts[_i1417].read(iprot); } xfer += iprot->readListEnd(); } @@ -11964,10 +11964,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 _iter1412; - for (_iter1412 = this->new_parts.begin(); _iter1412 != this->new_parts.end(); ++_iter1412) + std::vector ::const_iterator _iter1418; + for (_iter1418 = this->new_parts.begin(); _iter1418 != this->new_parts.end(); ++_iter1418) { - xfer += (*_iter1412).write(oprot); + xfer += (*_iter1418).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11991,10 +11991,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 _iter1413; - for (_iter1413 = (*(this->new_parts)).begin(); _iter1413 != (*(this->new_parts)).end(); ++_iter1413) + std::vector ::const_iterator _iter1419; + for (_iter1419 = (*(this->new_parts)).begin(); _iter1419 != (*(this->new_parts)).end(); ++_iter1419) { - xfer += (*_iter1413).write(oprot); + xfer += (*_iter1419).write(oprot); } xfer += oprot->writeListEnd(); } @@ -12219,14 +12219,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1414; - ::apache::thrift::protocol::TType _etype1417; - xfer += iprot->readListBegin(_etype1417, _size1414); - this->part_vals.resize(_size1414); - uint32_t _i1418; - for (_i1418 = 0; _i1418 < _size1414; ++_i1418) + uint32_t _size1420; + ::apache::thrift::protocol::TType _etype1423; + xfer += iprot->readListBegin(_etype1423, _size1420); + this->part_vals.resize(_size1420); + uint32_t _i1424; + for (_i1424 = 0; _i1424 < _size1420; ++_i1424) { - xfer += iprot->readString(this->part_vals[_i1418]); + xfer += iprot->readString(this->part_vals[_i1424]); } xfer += iprot->readListEnd(); } @@ -12263,10 +12263,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 _iter1419; - for (_iter1419 = this->part_vals.begin(); _iter1419 != this->part_vals.end(); ++_iter1419) + std::vector ::const_iterator _iter1425; + for (_iter1425 = this->part_vals.begin(); _iter1425 != this->part_vals.end(); ++_iter1425) { - xfer += oprot->writeString((*_iter1419)); + xfer += oprot->writeString((*_iter1425)); } xfer += oprot->writeListEnd(); } @@ -12298,10 +12298,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 _iter1420; - for (_iter1420 = (*(this->part_vals)).begin(); _iter1420 != (*(this->part_vals)).end(); ++_iter1420) + std::vector ::const_iterator _iter1426; + for (_iter1426 = (*(this->part_vals)).begin(); _iter1426 != (*(this->part_vals)).end(); ++_iter1426) { - xfer += oprot->writeString((*_iter1420)); + xfer += oprot->writeString((*_iter1426)); } xfer += oprot->writeListEnd(); } @@ -12773,14 +12773,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1421; - ::apache::thrift::protocol::TType _etype1424; - xfer += iprot->readListBegin(_etype1424, _size1421); - this->part_vals.resize(_size1421); - uint32_t _i1425; - for (_i1425 = 0; _i1425 < _size1421; ++_i1425) + uint32_t _size1427; + ::apache::thrift::protocol::TType _etype1430; + xfer += iprot->readListBegin(_etype1430, _size1427); + this->part_vals.resize(_size1427); + uint32_t _i1431; + for (_i1431 = 0; _i1431 < _size1427; ++_i1431) { - xfer += iprot->readString(this->part_vals[_i1425]); + xfer += iprot->readString(this->part_vals[_i1431]); } xfer += iprot->readListEnd(); } @@ -12825,10 +12825,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 _iter1426; - for (_iter1426 = this->part_vals.begin(); _iter1426 != this->part_vals.end(); ++_iter1426) + std::vector ::const_iterator _iter1432; + for (_iter1432 = this->part_vals.begin(); _iter1432 != this->part_vals.end(); ++_iter1432) { - xfer += oprot->writeString((*_iter1426)); + xfer += oprot->writeString((*_iter1432)); } xfer += oprot->writeListEnd(); } @@ -12864,10 +12864,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 _iter1427; - for (_iter1427 = (*(this->part_vals)).begin(); _iter1427 != (*(this->part_vals)).end(); ++_iter1427) + std::vector ::const_iterator _iter1433; + for (_iter1433 = (*(this->part_vals)).begin(); _iter1433 != (*(this->part_vals)).end(); ++_iter1433) { - xfer += oprot->writeString((*_iter1427)); + xfer += oprot->writeString((*_iter1433)); } xfer += oprot->writeListEnd(); } @@ -13670,14 +13670,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1428; - ::apache::thrift::protocol::TType _etype1431; - xfer += iprot->readListBegin(_etype1431, _size1428); - this->part_vals.resize(_size1428); - uint32_t _i1432; - for (_i1432 = 0; _i1432 < _size1428; ++_i1432) + uint32_t _size1434; + ::apache::thrift::protocol::TType _etype1437; + xfer += iprot->readListBegin(_etype1437, _size1434); + this->part_vals.resize(_size1434); + uint32_t _i1438; + for (_i1438 = 0; _i1438 < _size1434; ++_i1438) { - xfer += iprot->readString(this->part_vals[_i1432]); + xfer += iprot->readString(this->part_vals[_i1438]); } xfer += iprot->readListEnd(); } @@ -13722,10 +13722,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 _iter1433; - for (_iter1433 = this->part_vals.begin(); _iter1433 != this->part_vals.end(); ++_iter1433) + std::vector ::const_iterator _iter1439; + for (_iter1439 = this->part_vals.begin(); _iter1439 != this->part_vals.end(); ++_iter1439) { - xfer += oprot->writeString((*_iter1433)); + xfer += oprot->writeString((*_iter1439)); } xfer += oprot->writeListEnd(); } @@ -13761,10 +13761,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 _iter1434; - for (_iter1434 = (*(this->part_vals)).begin(); _iter1434 != (*(this->part_vals)).end(); ++_iter1434) + std::vector ::const_iterator _iter1440; + for (_iter1440 = (*(this->part_vals)).begin(); _iter1440 != (*(this->part_vals)).end(); ++_iter1440) { - xfer += oprot->writeString((*_iter1434)); + xfer += oprot->writeString((*_iter1440)); } xfer += oprot->writeListEnd(); } @@ -13973,14 +13973,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1435; - ::apache::thrift::protocol::TType _etype1438; - xfer += iprot->readListBegin(_etype1438, _size1435); - this->part_vals.resize(_size1435); - uint32_t _i1439; - for (_i1439 = 0; _i1439 < _size1435; ++_i1439) + uint32_t _size1441; + ::apache::thrift::protocol::TType _etype1444; + xfer += iprot->readListBegin(_etype1444, _size1441); + this->part_vals.resize(_size1441); + uint32_t _i1445; + for (_i1445 = 0; _i1445 < _size1441; ++_i1445) { - xfer += iprot->readString(this->part_vals[_i1439]); + xfer += iprot->readString(this->part_vals[_i1445]); } xfer += iprot->readListEnd(); } @@ -14033,10 +14033,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 _iter1440; - for (_iter1440 = this->part_vals.begin(); _iter1440 != this->part_vals.end(); ++_iter1440) + std::vector ::const_iterator _iter1446; + for (_iter1446 = this->part_vals.begin(); _iter1446 != this->part_vals.end(); ++_iter1446) { - xfer += oprot->writeString((*_iter1440)); + xfer += oprot->writeString((*_iter1446)); } xfer += oprot->writeListEnd(); } @@ -14076,10 +14076,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 _iter1441; - for (_iter1441 = (*(this->part_vals)).begin(); _iter1441 != (*(this->part_vals)).end(); ++_iter1441) + std::vector ::const_iterator _iter1447; + for (_iter1447 = (*(this->part_vals)).begin(); _iter1447 != (*(this->part_vals)).end(); ++_iter1447) { - xfer += oprot->writeString((*_iter1441)); + xfer += oprot->writeString((*_iter1447)); } xfer += oprot->writeListEnd(); } @@ -15085,14 +15085,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1442; - ::apache::thrift::protocol::TType _etype1445; - xfer += iprot->readListBegin(_etype1445, _size1442); - this->part_vals.resize(_size1442); - uint32_t _i1446; - for (_i1446 = 0; _i1446 < _size1442; ++_i1446) + uint32_t _size1448; + ::apache::thrift::protocol::TType _etype1451; + xfer += iprot->readListBegin(_etype1451, _size1448); + this->part_vals.resize(_size1448); + uint32_t _i1452; + for (_i1452 = 0; _i1452 < _size1448; ++_i1452) { - xfer += iprot->readString(this->part_vals[_i1446]); + xfer += iprot->readString(this->part_vals[_i1452]); } xfer += iprot->readListEnd(); } @@ -15129,10 +15129,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 _iter1447; - for (_iter1447 = this->part_vals.begin(); _iter1447 != this->part_vals.end(); ++_iter1447) + std::vector ::const_iterator _iter1453; + for (_iter1453 = this->part_vals.begin(); _iter1453 != this->part_vals.end(); ++_iter1453) { - xfer += oprot->writeString((*_iter1447)); + xfer += oprot->writeString((*_iter1453)); } xfer += oprot->writeListEnd(); } @@ -15164,10 +15164,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 _iter1448; - for (_iter1448 = (*(this->part_vals)).begin(); _iter1448 != (*(this->part_vals)).end(); ++_iter1448) + std::vector ::const_iterator _iter1454; + for (_iter1454 = (*(this->part_vals)).begin(); _iter1454 != (*(this->part_vals)).end(); ++_iter1454) { - xfer += oprot->writeString((*_iter1448)); + xfer += oprot->writeString((*_iter1454)); } xfer += oprot->writeListEnd(); } @@ -15356,17 +15356,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1449; - ::apache::thrift::protocol::TType _ktype1450; - ::apache::thrift::protocol::TType _vtype1451; - xfer += iprot->readMapBegin(_ktype1450, _vtype1451, _size1449); - uint32_t _i1453; - for (_i1453 = 0; _i1453 < _size1449; ++_i1453) + uint32_t _size1455; + ::apache::thrift::protocol::TType _ktype1456; + ::apache::thrift::protocol::TType _vtype1457; + xfer += iprot->readMapBegin(_ktype1456, _vtype1457, _size1455); + uint32_t _i1459; + for (_i1459 = 0; _i1459 < _size1455; ++_i1459) { - std::string _key1454; - xfer += iprot->readString(_key1454); - std::string& _val1455 = this->partitionSpecs[_key1454]; - xfer += iprot->readString(_val1455); + std::string _key1460; + xfer += iprot->readString(_key1460); + std::string& _val1461 = this->partitionSpecs[_key1460]; + xfer += iprot->readString(_val1461); } xfer += iprot->readMapEnd(); } @@ -15427,11 +15427,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 _iter1456; - for (_iter1456 = this->partitionSpecs.begin(); _iter1456 != this->partitionSpecs.end(); ++_iter1456) + std::map ::const_iterator _iter1462; + for (_iter1462 = this->partitionSpecs.begin(); _iter1462 != this->partitionSpecs.end(); ++_iter1462) { - xfer += oprot->writeString(_iter1456->first); - xfer += oprot->writeString(_iter1456->second); + xfer += oprot->writeString(_iter1462->first); + xfer += oprot->writeString(_iter1462->second); } xfer += oprot->writeMapEnd(); } @@ -15471,11 +15471,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 _iter1457; - for (_iter1457 = (*(this->partitionSpecs)).begin(); _iter1457 != (*(this->partitionSpecs)).end(); ++_iter1457) + std::map ::const_iterator _iter1463; + for (_iter1463 = (*(this->partitionSpecs)).begin(); _iter1463 != (*(this->partitionSpecs)).end(); ++_iter1463) { - xfer += oprot->writeString(_iter1457->first); - xfer += oprot->writeString(_iter1457->second); + xfer += oprot->writeString(_iter1463->first); + xfer += oprot->writeString(_iter1463->second); } xfer += oprot->writeMapEnd(); } @@ -15720,17 +15720,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1458; - ::apache::thrift::protocol::TType _ktype1459; - ::apache::thrift::protocol::TType _vtype1460; - xfer += iprot->readMapBegin(_ktype1459, _vtype1460, _size1458); - uint32_t _i1462; - for (_i1462 = 0; _i1462 < _size1458; ++_i1462) + uint32_t _size1464; + ::apache::thrift::protocol::TType _ktype1465; + ::apache::thrift::protocol::TType _vtype1466; + xfer += iprot->readMapBegin(_ktype1465, _vtype1466, _size1464); + uint32_t _i1468; + for (_i1468 = 0; _i1468 < _size1464; ++_i1468) { - std::string _key1463; - xfer += iprot->readString(_key1463); - std::string& _val1464 = this->partitionSpecs[_key1463]; - xfer += iprot->readString(_val1464); + std::string _key1469; + xfer += iprot->readString(_key1469); + std::string& _val1470 = this->partitionSpecs[_key1469]; + xfer += iprot->readString(_val1470); } xfer += iprot->readMapEnd(); } @@ -15791,11 +15791,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 _iter1465; - for (_iter1465 = this->partitionSpecs.begin(); _iter1465 != this->partitionSpecs.end(); ++_iter1465) + std::map ::const_iterator _iter1471; + for (_iter1471 = this->partitionSpecs.begin(); _iter1471 != this->partitionSpecs.end(); ++_iter1471) { - xfer += oprot->writeString(_iter1465->first); - xfer += oprot->writeString(_iter1465->second); + xfer += oprot->writeString(_iter1471->first); + xfer += oprot->writeString(_iter1471->second); } xfer += oprot->writeMapEnd(); } @@ -15835,11 +15835,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 _iter1466; - for (_iter1466 = (*(this->partitionSpecs)).begin(); _iter1466 != (*(this->partitionSpecs)).end(); ++_iter1466) + std::map ::const_iterator _iter1472; + for (_iter1472 = (*(this->partitionSpecs)).begin(); _iter1472 != (*(this->partitionSpecs)).end(); ++_iter1472) { - xfer += oprot->writeString(_iter1466->first); - xfer += oprot->writeString(_iter1466->second); + xfer += oprot->writeString(_iter1472->first); + xfer += oprot->writeString(_iter1472->second); } xfer += oprot->writeMapEnd(); } @@ -15896,14 +15896,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1467; - ::apache::thrift::protocol::TType _etype1470; - xfer += iprot->readListBegin(_etype1470, _size1467); - this->success.resize(_size1467); - uint32_t _i1471; - for (_i1471 = 0; _i1471 < _size1467; ++_i1471) + uint32_t _size1473; + ::apache::thrift::protocol::TType _etype1476; + xfer += iprot->readListBegin(_etype1476, _size1473); + this->success.resize(_size1473); + uint32_t _i1477; + for (_i1477 = 0; _i1477 < _size1473; ++_i1477) { - xfer += this->success[_i1471].read(iprot); + xfer += this->success[_i1477].read(iprot); } xfer += iprot->readListEnd(); } @@ -15966,10 +15966,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 _iter1472; - for (_iter1472 = this->success.begin(); _iter1472 != this->success.end(); ++_iter1472) + std::vector ::const_iterator _iter1478; + for (_iter1478 = this->success.begin(); _iter1478 != this->success.end(); ++_iter1478) { - xfer += (*_iter1472).write(oprot); + xfer += (*_iter1478).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16026,14 +16026,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1473; - ::apache::thrift::protocol::TType _etype1476; - xfer += iprot->readListBegin(_etype1476, _size1473); - (*(this->success)).resize(_size1473); - uint32_t _i1477; - for (_i1477 = 0; _i1477 < _size1473; ++_i1477) + uint32_t _size1479; + ::apache::thrift::protocol::TType _etype1482; + xfer += iprot->readListBegin(_etype1482, _size1479); + (*(this->success)).resize(_size1479); + uint32_t _i1483; + for (_i1483 = 0; _i1483 < _size1479; ++_i1483) { - xfer += (*(this->success))[_i1477].read(iprot); + xfer += (*(this->success))[_i1483].read(iprot); } xfer += iprot->readListEnd(); } @@ -16132,14 +16132,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 _size1478; - ::apache::thrift::protocol::TType _etype1481; - xfer += iprot->readListBegin(_etype1481, _size1478); - this->part_vals.resize(_size1478); - uint32_t _i1482; - for (_i1482 = 0; _i1482 < _size1478; ++_i1482) + uint32_t _size1484; + ::apache::thrift::protocol::TType _etype1487; + xfer += iprot->readListBegin(_etype1487, _size1484); + this->part_vals.resize(_size1484); + uint32_t _i1488; + for (_i1488 = 0; _i1488 < _size1484; ++_i1488) { - xfer += iprot->readString(this->part_vals[_i1482]); + xfer += iprot->readString(this->part_vals[_i1488]); } xfer += iprot->readListEnd(); } @@ -16160,14 +16160,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 _size1483; - ::apache::thrift::protocol::TType _etype1486; - xfer += iprot->readListBegin(_etype1486, _size1483); - this->group_names.resize(_size1483); - uint32_t _i1487; - for (_i1487 = 0; _i1487 < _size1483; ++_i1487) + uint32_t _size1489; + ::apache::thrift::protocol::TType _etype1492; + xfer += iprot->readListBegin(_etype1492, _size1489); + this->group_names.resize(_size1489); + uint32_t _i1493; + for (_i1493 = 0; _i1493 < _size1489; ++_i1493) { - xfer += iprot->readString(this->group_names[_i1487]); + xfer += iprot->readString(this->group_names[_i1493]); } xfer += iprot->readListEnd(); } @@ -16204,10 +16204,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 _iter1488; - for (_iter1488 = this->part_vals.begin(); _iter1488 != this->part_vals.end(); ++_iter1488) + std::vector ::const_iterator _iter1494; + for (_iter1494 = this->part_vals.begin(); _iter1494 != this->part_vals.end(); ++_iter1494) { - xfer += oprot->writeString((*_iter1488)); + xfer += oprot->writeString((*_iter1494)); } xfer += oprot->writeListEnd(); } @@ -16220,10 +16220,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 _iter1489; - for (_iter1489 = this->group_names.begin(); _iter1489 != this->group_names.end(); ++_iter1489) + std::vector ::const_iterator _iter1495; + for (_iter1495 = this->group_names.begin(); _iter1495 != this->group_names.end(); ++_iter1495) { - xfer += oprot->writeString((*_iter1489)); + xfer += oprot->writeString((*_iter1495)); } xfer += oprot->writeListEnd(); } @@ -16255,10 +16255,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 _iter1490; - for (_iter1490 = (*(this->part_vals)).begin(); _iter1490 != (*(this->part_vals)).end(); ++_iter1490) + std::vector ::const_iterator _iter1496; + for (_iter1496 = (*(this->part_vals)).begin(); _iter1496 != (*(this->part_vals)).end(); ++_iter1496) { - xfer += oprot->writeString((*_iter1490)); + xfer += oprot->writeString((*_iter1496)); } xfer += oprot->writeListEnd(); } @@ -16271,10 +16271,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 _iter1491; - for (_iter1491 = (*(this->group_names)).begin(); _iter1491 != (*(this->group_names)).end(); ++_iter1491) + std::vector ::const_iterator _iter1497; + for (_iter1497 = (*(this->group_names)).begin(); _iter1497 != (*(this->group_names)).end(); ++_iter1497) { - xfer += oprot->writeString((*_iter1491)); + xfer += oprot->writeString((*_iter1497)); } xfer += oprot->writeListEnd(); } @@ -16833,14 +16833,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1492; - ::apache::thrift::protocol::TType _etype1495; - xfer += iprot->readListBegin(_etype1495, _size1492); - this->success.resize(_size1492); - uint32_t _i1496; - for (_i1496 = 0; _i1496 < _size1492; ++_i1496) + uint32_t _size1498; + ::apache::thrift::protocol::TType _etype1501; + xfer += iprot->readListBegin(_etype1501, _size1498); + this->success.resize(_size1498); + uint32_t _i1502; + for (_i1502 = 0; _i1502 < _size1498; ++_i1502) { - xfer += this->success[_i1496].read(iprot); + xfer += this->success[_i1502].read(iprot); } xfer += iprot->readListEnd(); } @@ -16887,10 +16887,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 _iter1497; - for (_iter1497 = this->success.begin(); _iter1497 != this->success.end(); ++_iter1497) + std::vector ::const_iterator _iter1503; + for (_iter1503 = this->success.begin(); _iter1503 != this->success.end(); ++_iter1503) { - xfer += (*_iter1497).write(oprot); + xfer += (*_iter1503).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16939,14 +16939,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1498; - ::apache::thrift::protocol::TType _etype1501; - xfer += iprot->readListBegin(_etype1501, _size1498); - (*(this->success)).resize(_size1498); - uint32_t _i1502; - for (_i1502 = 0; _i1502 < _size1498; ++_i1502) + uint32_t _size1504; + ::apache::thrift::protocol::TType _etype1507; + xfer += iprot->readListBegin(_etype1507, _size1504); + (*(this->success)).resize(_size1504); + uint32_t _i1508; + for (_i1508 = 0; _i1508 < _size1504; ++_i1508) { - xfer += (*(this->success))[_i1502].read(iprot); + xfer += (*(this->success))[_i1508].read(iprot); } xfer += iprot->readListEnd(); } @@ -17045,14 +17045,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 _size1503; - ::apache::thrift::protocol::TType _etype1506; - xfer += iprot->readListBegin(_etype1506, _size1503); - this->group_names.resize(_size1503); - uint32_t _i1507; - for (_i1507 = 0; _i1507 < _size1503; ++_i1507) + uint32_t _size1509; + ::apache::thrift::protocol::TType _etype1512; + xfer += iprot->readListBegin(_etype1512, _size1509); + this->group_names.resize(_size1509); + uint32_t _i1513; + for (_i1513 = 0; _i1513 < _size1509; ++_i1513) { - xfer += iprot->readString(this->group_names[_i1507]); + xfer += iprot->readString(this->group_names[_i1513]); } xfer += iprot->readListEnd(); } @@ -17097,10 +17097,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 _iter1508; - for (_iter1508 = this->group_names.begin(); _iter1508 != this->group_names.end(); ++_iter1508) + std::vector ::const_iterator _iter1514; + for (_iter1514 = this->group_names.begin(); _iter1514 != this->group_names.end(); ++_iter1514) { - xfer += oprot->writeString((*_iter1508)); + xfer += oprot->writeString((*_iter1514)); } xfer += oprot->writeListEnd(); } @@ -17140,10 +17140,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 _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(); } @@ -17184,14 +17184,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr 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(); } @@ -17238,10 +17238,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 _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(); } @@ -17290,14 +17290,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th 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(); } @@ -17475,14 +17475,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1521; - ::apache::thrift::protocol::TType _etype1524; - xfer += iprot->readListBegin(_etype1524, _size1521); - this->success.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->success.resize(_size1527); + uint32_t _i1531; + for (_i1531 = 0; _i1531 < _size1527; ++_i1531) { - xfer += this->success[_i1525].read(iprot); + xfer += this->success[_i1531].read(iprot); } xfer += iprot->readListEnd(); } @@ -17529,10 +17529,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 _iter1526; - for (_iter1526 = this->success.begin(); _iter1526 != this->success.end(); ++_iter1526) + std::vector ::const_iterator _iter1532; + for (_iter1532 = this->success.begin(); _iter1532 != this->success.end(); ++_iter1532) { - xfer += (*_iter1526).write(oprot); + xfer += (*_iter1532).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17581,14 +17581,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1527; - ::apache::thrift::protocol::TType _etype1530; - xfer += iprot->readListBegin(_etype1530, _size1527); - (*(this->success)).resize(_size1527); - uint32_t _i1531; - for (_i1531 = 0; _i1531 < _size1527; ++_i1531) + uint32_t _size1533; + ::apache::thrift::protocol::TType _etype1536; + xfer += iprot->readListBegin(_etype1536, _size1533); + (*(this->success)).resize(_size1533); + uint32_t _i1537; + for (_i1537 = 0; _i1537 < _size1533; ++_i1537) { - xfer += (*(this->success))[_i1531].read(iprot); + xfer += (*(this->success))[_i1537].read(iprot); } xfer += iprot->readListEnd(); } @@ -17766,14 +17766,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1532; - ::apache::thrift::protocol::TType _etype1535; - xfer += iprot->readListBegin(_etype1535, _size1532); - this->success.resize(_size1532); - uint32_t _i1536; - for (_i1536 = 0; _i1536 < _size1532; ++_i1536) + uint32_t _size1538; + ::apache::thrift::protocol::TType _etype1541; + xfer += iprot->readListBegin(_etype1541, _size1538); + this->success.resize(_size1538); + uint32_t _i1542; + for (_i1542 = 0; _i1542 < _size1538; ++_i1542) { - xfer += iprot->readString(this->success[_i1536]); + xfer += iprot->readString(this->success[_i1542]); } xfer += iprot->readListEnd(); } @@ -17820,10 +17820,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 _iter1537; - for (_iter1537 = this->success.begin(); _iter1537 != this->success.end(); ++_iter1537) + std::vector ::const_iterator _iter1543; + for (_iter1543 = this->success.begin(); _iter1543 != this->success.end(); ++_iter1543) { - xfer += oprot->writeString((*_iter1537)); + xfer += oprot->writeString((*_iter1543)); } xfer += oprot->writeListEnd(); } @@ -17872,14 +17872,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1538; - ::apache::thrift::protocol::TType _etype1541; - xfer += iprot->readListBegin(_etype1541, _size1538); - (*(this->success)).resize(_size1538); - uint32_t _i1542; - for (_i1542 = 0; _i1542 < _size1538; ++_i1542) + uint32_t _size1544; + ::apache::thrift::protocol::TType _etype1547; + xfer += iprot->readListBegin(_etype1547, _size1544); + (*(this->success)).resize(_size1544); + uint32_t _i1548; + for (_i1548 = 0; _i1548 < _size1544; ++_i1548) { - xfer += iprot->readString((*(this->success))[_i1542]); + xfer += iprot->readString((*(this->success))[_i1548]); } xfer += iprot->readListEnd(); } @@ -18189,14 +18189,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 _size1543; - ::apache::thrift::protocol::TType _etype1546; - xfer += iprot->readListBegin(_etype1546, _size1543); - this->part_vals.resize(_size1543); - uint32_t _i1547; - for (_i1547 = 0; _i1547 < _size1543; ++_i1547) + uint32_t _size1549; + ::apache::thrift::protocol::TType _etype1552; + xfer += iprot->readListBegin(_etype1552, _size1549); + this->part_vals.resize(_size1549); + uint32_t _i1553; + for (_i1553 = 0; _i1553 < _size1549; ++_i1553) { - xfer += iprot->readString(this->part_vals[_i1547]); + xfer += iprot->readString(this->part_vals[_i1553]); } xfer += iprot->readListEnd(); } @@ -18241,10 +18241,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 _iter1548; - for (_iter1548 = this->part_vals.begin(); _iter1548 != this->part_vals.end(); ++_iter1548) + std::vector ::const_iterator _iter1554; + for (_iter1554 = this->part_vals.begin(); _iter1554 != this->part_vals.end(); ++_iter1554) { - xfer += oprot->writeString((*_iter1548)); + xfer += oprot->writeString((*_iter1554)); } xfer += oprot->writeListEnd(); } @@ -18280,10 +18280,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 _iter1549; - for (_iter1549 = (*(this->part_vals)).begin(); _iter1549 != (*(this->part_vals)).end(); ++_iter1549) + std::vector ::const_iterator _iter1555; + for (_iter1555 = (*(this->part_vals)).begin(); _iter1555 != (*(this->part_vals)).end(); ++_iter1555) { - xfer += oprot->writeString((*_iter1549)); + xfer += oprot->writeString((*_iter1555)); } xfer += oprot->writeListEnd(); } @@ -18328,14 +18328,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr 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 += this->success[_i1554].read(iprot); + xfer += this->success[_i1560].read(iprot); } xfer += iprot->readListEnd(); } @@ -18382,10 +18382,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 _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 += (*_iter1555).write(oprot); + xfer += (*_iter1561).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18434,14 +18434,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p 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 += (*(this->success))[_i1560].read(iprot); + xfer += (*(this->success))[_i1566].read(iprot); } xfer += iprot->readListEnd(); } @@ -18524,14 +18524,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 _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(); } @@ -18560,14 +18560,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 _size1566; - ::apache::thrift::protocol::TType _etype1569; - xfer += iprot->readListBegin(_etype1569, _size1566); - this->group_names.resize(_size1566); - uint32_t _i1570; - for (_i1570 = 0; _i1570 < _size1566; ++_i1570) + uint32_t _size1572; + ::apache::thrift::protocol::TType _etype1575; + xfer += iprot->readListBegin(_etype1575, _size1572); + this->group_names.resize(_size1572); + uint32_t _i1576; + for (_i1576 = 0; _i1576 < _size1572; ++_i1576) { - xfer += iprot->readString(this->group_names[_i1570]); + xfer += iprot->readString(this->group_names[_i1576]); } xfer += iprot->readListEnd(); } @@ -18604,10 +18604,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 _iter1571; - for (_iter1571 = this->part_vals.begin(); _iter1571 != this->part_vals.end(); ++_iter1571) + std::vector ::const_iterator _iter1577; + for (_iter1577 = this->part_vals.begin(); _iter1577 != this->part_vals.end(); ++_iter1577) { - xfer += oprot->writeString((*_iter1571)); + xfer += oprot->writeString((*_iter1577)); } xfer += oprot->writeListEnd(); } @@ -18624,10 +18624,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 _iter1572; - for (_iter1572 = this->group_names.begin(); _iter1572 != this->group_names.end(); ++_iter1572) + std::vector ::const_iterator _iter1578; + for (_iter1578 = this->group_names.begin(); _iter1578 != this->group_names.end(); ++_iter1578) { - xfer += oprot->writeString((*_iter1572)); + xfer += oprot->writeString((*_iter1578)); } xfer += oprot->writeListEnd(); } @@ -18659,10 +18659,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 _iter1573; - for (_iter1573 = (*(this->part_vals)).begin(); _iter1573 != (*(this->part_vals)).end(); ++_iter1573) + std::vector ::const_iterator _iter1579; + for (_iter1579 = (*(this->part_vals)).begin(); _iter1579 != (*(this->part_vals)).end(); ++_iter1579) { - xfer += oprot->writeString((*_iter1573)); + xfer += oprot->writeString((*_iter1579)); } xfer += oprot->writeListEnd(); } @@ -18679,10 +18679,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 _iter1574; - for (_iter1574 = (*(this->group_names)).begin(); _iter1574 != (*(this->group_names)).end(); ++_iter1574) + std::vector ::const_iterator _iter1580; + for (_iter1580 = (*(this->group_names)).begin(); _iter1580 != (*(this->group_names)).end(); ++_iter1580) { - xfer += oprot->writeString((*_iter1574)); + xfer += oprot->writeString((*_iter1580)); } xfer += oprot->writeListEnd(); } @@ -18723,14 +18723,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1575; - ::apache::thrift::protocol::TType _etype1578; - xfer += iprot->readListBegin(_etype1578, _size1575); - this->success.resize(_size1575); - uint32_t _i1579; - for (_i1579 = 0; _i1579 < _size1575; ++_i1579) + uint32_t _size1581; + ::apache::thrift::protocol::TType _etype1584; + xfer += iprot->readListBegin(_etype1584, _size1581); + this->success.resize(_size1581); + uint32_t _i1585; + for (_i1585 = 0; _i1585 < _size1581; ++_i1585) { - xfer += this->success[_i1579].read(iprot); + xfer += this->success[_i1585].read(iprot); } xfer += iprot->readListEnd(); } @@ -18777,10 +18777,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 _iter1580; - for (_iter1580 = this->success.begin(); _iter1580 != this->success.end(); ++_iter1580) + std::vector ::const_iterator _iter1586; + for (_iter1586 = this->success.begin(); _iter1586 != this->success.end(); ++_iter1586) { - xfer += (*_iter1580).write(oprot); + xfer += (*_iter1586).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18829,14 +18829,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1581; - ::apache::thrift::protocol::TType _etype1584; - xfer += iprot->readListBegin(_etype1584, _size1581); - (*(this->success)).resize(_size1581); - uint32_t _i1585; - for (_i1585 = 0; _i1585 < _size1581; ++_i1585) + uint32_t _size1587; + ::apache::thrift::protocol::TType _etype1590; + xfer += iprot->readListBegin(_etype1590, _size1587); + (*(this->success)).resize(_size1587); + uint32_t _i1591; + for (_i1591 = 0; _i1591 < _size1587; ++_i1591) { - xfer += (*(this->success))[_i1585].read(iprot); + xfer += (*(this->success))[_i1591].read(iprot); } xfer += iprot->readListEnd(); } @@ -18919,14 +18919,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 _size1586; - ::apache::thrift::protocol::TType _etype1589; - xfer += iprot->readListBegin(_etype1589, _size1586); - this->part_vals.resize(_size1586); - uint32_t _i1590; - for (_i1590 = 0; _i1590 < _size1586; ++_i1590) + uint32_t _size1592; + ::apache::thrift::protocol::TType _etype1595; + xfer += iprot->readListBegin(_etype1595, _size1592); + this->part_vals.resize(_size1592); + uint32_t _i1596; + for (_i1596 = 0; _i1596 < _size1592; ++_i1596) { - xfer += iprot->readString(this->part_vals[_i1590]); + xfer += iprot->readString(this->part_vals[_i1596]); } xfer += iprot->readListEnd(); } @@ -18971,10 +18971,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 _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(); } @@ -19010,10 +19010,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 _iter1592; - for (_iter1592 = (*(this->part_vals)).begin(); _iter1592 != (*(this->part_vals)).end(); ++_iter1592) + std::vector ::const_iterator _iter1598; + for (_iter1598 = (*(this->part_vals)).begin(); _iter1598 != (*(this->part_vals)).end(); ++_iter1598) { - xfer += oprot->writeString((*_iter1592)); + xfer += oprot->writeString((*_iter1598)); } xfer += oprot->writeListEnd(); } @@ -19058,14 +19058,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif 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 += iprot->readString(this->success[_i1597]); + xfer += iprot->readString(this->success[_i1603]); } xfer += iprot->readListEnd(); } @@ -19112,10 +19112,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 _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 += oprot->writeString((*_iter1598)); + xfer += oprot->writeString((*_iter1604)); } xfer += oprot->writeListEnd(); } @@ -19164,14 +19164,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri 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 += iprot->readString((*(this->success))[_i1603]); + xfer += iprot->readString((*(this->success))[_i1609]); } xfer += iprot->readListEnd(); } @@ -19365,14 +19365,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1604; - ::apache::thrift::protocol::TType _etype1607; - xfer += iprot->readListBegin(_etype1607, _size1604); - this->success.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->success.resize(_size1610); + uint32_t _i1614; + for (_i1614 = 0; _i1614 < _size1610; ++_i1614) { - xfer += this->success[_i1608].read(iprot); + xfer += this->success[_i1614].read(iprot); } xfer += iprot->readListEnd(); } @@ -19419,10 +19419,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 _iter1609; - for (_iter1609 = this->success.begin(); _iter1609 != this->success.end(); ++_iter1609) + std::vector ::const_iterator _iter1615; + for (_iter1615 = this->success.begin(); _iter1615 != this->success.end(); ++_iter1615) { - xfer += (*_iter1609).write(oprot); + xfer += (*_iter1615).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19471,14 +19471,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1610; - ::apache::thrift::protocol::TType _etype1613; - xfer += iprot->readListBegin(_etype1613, _size1610); - (*(this->success)).resize(_size1610); - uint32_t _i1614; - for (_i1614 = 0; _i1614 < _size1610; ++_i1614) + uint32_t _size1616; + ::apache::thrift::protocol::TType _etype1619; + xfer += iprot->readListBegin(_etype1619, _size1616); + (*(this->success)).resize(_size1616); + uint32_t _i1620; + for (_i1620 = 0; _i1620 < _size1616; ++_i1620) { - xfer += (*(this->success))[_i1614].read(iprot); + xfer += (*(this->success))[_i1620].read(iprot); } xfer += iprot->readListEnd(); } @@ -19672,14 +19672,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 _size1615; - ::apache::thrift::protocol::TType _etype1618; - xfer += iprot->readListBegin(_etype1618, _size1615); - this->success.resize(_size1615); - uint32_t _i1619; - for (_i1619 = 0; _i1619 < _size1615; ++_i1619) + uint32_t _size1621; + ::apache::thrift::protocol::TType _etype1624; + xfer += iprot->readListBegin(_etype1624, _size1621); + this->success.resize(_size1621); + uint32_t _i1625; + for (_i1625 = 0; _i1625 < _size1621; ++_i1625) { - xfer += this->success[_i1619].read(iprot); + xfer += this->success[_i1625].read(iprot); } xfer += iprot->readListEnd(); } @@ -19726,10 +19726,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 _iter1620; - for (_iter1620 = this->success.begin(); _iter1620 != this->success.end(); ++_iter1620) + std::vector ::const_iterator _iter1626; + for (_iter1626 = this->success.begin(); _iter1626 != this->success.end(); ++_iter1626) { - xfer += (*_iter1620).write(oprot); + xfer += (*_iter1626).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19778,14 +19778,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 _size1621; - ::apache::thrift::protocol::TType _etype1624; - xfer += iprot->readListBegin(_etype1624, _size1621); - (*(this->success)).resize(_size1621); - uint32_t _i1625; - for (_i1625 = 0; _i1625 < _size1621; ++_i1625) + uint32_t _size1627; + ::apache::thrift::protocol::TType _etype1630; + xfer += iprot->readListBegin(_etype1630, _size1627); + (*(this->success)).resize(_size1627); + uint32_t _i1631; + for (_i1631 = 0; _i1631 < _size1627; ++_i1631) { - xfer += (*(this->success))[_i1625].read(iprot); + xfer += (*(this->success))[_i1631].read(iprot); } xfer += iprot->readListEnd(); } @@ -20354,14 +20354,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1626; - ::apache::thrift::protocol::TType _etype1629; - xfer += iprot->readListBegin(_etype1629, _size1626); - this->names.resize(_size1626); - uint32_t _i1630; - for (_i1630 = 0; _i1630 < _size1626; ++_i1630) + uint32_t _size1632; + ::apache::thrift::protocol::TType _etype1635; + xfer += iprot->readListBegin(_etype1635, _size1632); + this->names.resize(_size1632); + uint32_t _i1636; + for (_i1636 = 0; _i1636 < _size1632; ++_i1636) { - xfer += iprot->readString(this->names[_i1630]); + xfer += iprot->readString(this->names[_i1636]); } xfer += iprot->readListEnd(); } @@ -20398,10 +20398,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 _iter1631; - for (_iter1631 = this->names.begin(); _iter1631 != this->names.end(); ++_iter1631) + std::vector ::const_iterator _iter1637; + for (_iter1637 = this->names.begin(); _iter1637 != this->names.end(); ++_iter1637) { - xfer += oprot->writeString((*_iter1631)); + xfer += oprot->writeString((*_iter1637)); } xfer += oprot->writeListEnd(); } @@ -20433,10 +20433,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 _iter1632; - for (_iter1632 = (*(this->names)).begin(); _iter1632 != (*(this->names)).end(); ++_iter1632) + std::vector ::const_iterator _iter1638; + for (_iter1638 = (*(this->names)).begin(); _iter1638 != (*(this->names)).end(); ++_iter1638) { - xfer += oprot->writeString((*_iter1632)); + xfer += oprot->writeString((*_iter1638)); } xfer += oprot->writeListEnd(); } @@ -20477,14 +20477,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1633; - ::apache::thrift::protocol::TType _etype1636; - xfer += iprot->readListBegin(_etype1636, _size1633); - this->success.resize(_size1633); - uint32_t _i1637; - for (_i1637 = 0; _i1637 < _size1633; ++_i1637) + uint32_t _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(); } @@ -20531,10 +20531,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 _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(); } @@ -20583,14 +20583,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1639; - ::apache::thrift::protocol::TType _etype1642; - xfer += iprot->readListBegin(_etype1642, _size1639); - (*(this->success)).resize(_size1639); - uint32_t _i1643; - for (_i1643 = 0; _i1643 < _size1639; ++_i1643) + uint32_t _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(); } @@ -20912,14 +20912,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1644; - ::apache::thrift::protocol::TType _etype1647; - xfer += iprot->readListBegin(_etype1647, _size1644); - this->new_parts.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->new_parts.resize(_size1650); + uint32_t _i1654; + for (_i1654 = 0; _i1654 < _size1650; ++_i1654) { - xfer += this->new_parts[_i1648].read(iprot); + xfer += this->new_parts[_i1654].read(iprot); } xfer += iprot->readListEnd(); } @@ -20956,10 +20956,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 _iter1649; - for (_iter1649 = this->new_parts.begin(); _iter1649 != this->new_parts.end(); ++_iter1649) + std::vector ::const_iterator _iter1655; + for (_iter1655 = this->new_parts.begin(); _iter1655 != this->new_parts.end(); ++_iter1655) { - xfer += (*_iter1649).write(oprot); + xfer += (*_iter1655).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20991,10 +20991,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 _iter1650; - for (_iter1650 = (*(this->new_parts)).begin(); _iter1650 != (*(this->new_parts)).end(); ++_iter1650) + std::vector ::const_iterator _iter1656; + for (_iter1656 = (*(this->new_parts)).begin(); _iter1656 != (*(this->new_parts)).end(); ++_iter1656) { - xfer += (*_iter1650).write(oprot); + xfer += (*_iter1656).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21179,14 +21179,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1651; - ::apache::thrift::protocol::TType _etype1654; - xfer += iprot->readListBegin(_etype1654, _size1651); - this->new_parts.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->new_parts.resize(_size1657); + uint32_t _i1661; + for (_i1661 = 0; _i1661 < _size1657; ++_i1661) { - xfer += this->new_parts[_i1655].read(iprot); + xfer += this->new_parts[_i1661].read(iprot); } xfer += iprot->readListEnd(); } @@ -21231,10 +21231,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 _iter1656; - for (_iter1656 = this->new_parts.begin(); _iter1656 != this->new_parts.end(); ++_iter1656) + std::vector ::const_iterator _iter1662; + for (_iter1662 = this->new_parts.begin(); _iter1662 != this->new_parts.end(); ++_iter1662) { - xfer += (*_iter1656).write(oprot); + xfer += (*_iter1662).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21270,10 +21270,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 _iter1657; - for (_iter1657 = (*(this->new_parts)).begin(); _iter1657 != (*(this->new_parts)).end(); ++_iter1657) + std::vector ::const_iterator _iter1663; + for (_iter1663 = (*(this->new_parts)).begin(); _iter1663 != (*(this->new_parts)).end(); ++_iter1663) { - xfer += (*_iter1657).write(oprot); + xfer += (*_iter1663).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21717,14 +21717,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1658; - ::apache::thrift::protocol::TType _etype1661; - xfer += iprot->readListBegin(_etype1661, _size1658); - this->part_vals.resize(_size1658); - uint32_t _i1662; - for (_i1662 = 0; _i1662 < _size1658; ++_i1662) + uint32_t _size1664; + ::apache::thrift::protocol::TType _etype1667; + xfer += iprot->readListBegin(_etype1667, _size1664); + this->part_vals.resize(_size1664); + uint32_t _i1668; + for (_i1668 = 0; _i1668 < _size1664; ++_i1668) { - xfer += iprot->readString(this->part_vals[_i1662]); + xfer += iprot->readString(this->part_vals[_i1668]); } xfer += iprot->readListEnd(); } @@ -21769,10 +21769,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 _iter1663; - for (_iter1663 = this->part_vals.begin(); _iter1663 != this->part_vals.end(); ++_iter1663) + std::vector ::const_iterator _iter1669; + for (_iter1669 = this->part_vals.begin(); _iter1669 != this->part_vals.end(); ++_iter1669) { - xfer += oprot->writeString((*_iter1663)); + xfer += oprot->writeString((*_iter1669)); } xfer += oprot->writeListEnd(); } @@ -21808,10 +21808,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 _iter1664; - for (_iter1664 = (*(this->part_vals)).begin(); _iter1664 != (*(this->part_vals)).end(); ++_iter1664) + std::vector ::const_iterator _iter1670; + for (_iter1670 = (*(this->part_vals)).begin(); _iter1670 != (*(this->part_vals)).end(); ++_iter1670) { - xfer += oprot->writeString((*_iter1664)); + xfer += oprot->writeString((*_iter1670)); } xfer += oprot->writeListEnd(); } @@ -21984,14 +21984,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 _size1665; - ::apache::thrift::protocol::TType _etype1668; - xfer += iprot->readListBegin(_etype1668, _size1665); - this->part_vals.resize(_size1665); - uint32_t _i1669; - for (_i1669 = 0; _i1669 < _size1665; ++_i1669) + uint32_t _size1671; + ::apache::thrift::protocol::TType _etype1674; + xfer += iprot->readListBegin(_etype1674, _size1671); + this->part_vals.resize(_size1671); + uint32_t _i1675; + for (_i1675 = 0; _i1675 < _size1671; ++_i1675) { - xfer += iprot->readString(this->part_vals[_i1669]); + xfer += iprot->readString(this->part_vals[_i1675]); } xfer += iprot->readListEnd(); } @@ -22028,10 +22028,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 _iter1670; - for (_iter1670 = this->part_vals.begin(); _iter1670 != this->part_vals.end(); ++_iter1670) + std::vector ::const_iterator _iter1676; + for (_iter1676 = this->part_vals.begin(); _iter1676 != this->part_vals.end(); ++_iter1676) { - xfer += oprot->writeString((*_iter1670)); + xfer += oprot->writeString((*_iter1676)); } xfer += oprot->writeListEnd(); } @@ -22059,10 +22059,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 _iter1671; - for (_iter1671 = (*(this->part_vals)).begin(); _iter1671 != (*(this->part_vals)).end(); ++_iter1671) + std::vector ::const_iterator _iter1677; + for (_iter1677 = (*(this->part_vals)).begin(); _iter1677 != (*(this->part_vals)).end(); ++_iter1677) { - xfer += oprot->writeString((*_iter1671)); + xfer += oprot->writeString((*_iter1677)); } xfer += oprot->writeListEnd(); } @@ -22537,14 +22537,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1672; - ::apache::thrift::protocol::TType _etype1675; - xfer += iprot->readListBegin(_etype1675, _size1672); - this->success.resize(_size1672); - uint32_t _i1676; - for (_i1676 = 0; _i1676 < _size1672; ++_i1676) + uint32_t _size1678; + ::apache::thrift::protocol::TType _etype1681; + xfer += iprot->readListBegin(_etype1681, _size1678); + this->success.resize(_size1678); + uint32_t _i1682; + for (_i1682 = 0; _i1682 < _size1678; ++_i1682) { - xfer += iprot->readString(this->success[_i1676]); + xfer += iprot->readString(this->success[_i1682]); } xfer += iprot->readListEnd(); } @@ -22583,10 +22583,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 _iter1677; - for (_iter1677 = this->success.begin(); _iter1677 != this->success.end(); ++_iter1677) + std::vector ::const_iterator _iter1683; + for (_iter1683 = this->success.begin(); _iter1683 != this->success.end(); ++_iter1683) { - xfer += oprot->writeString((*_iter1677)); + xfer += oprot->writeString((*_iter1683)); } xfer += oprot->writeListEnd(); } @@ -22631,14 +22631,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1678; - ::apache::thrift::protocol::TType _etype1681; - xfer += iprot->readListBegin(_etype1681, _size1678); - (*(this->success)).resize(_size1678); - uint32_t _i1682; - for (_i1682 = 0; _i1682 < _size1678; ++_i1682) + uint32_t _size1684; + ::apache::thrift::protocol::TType _etype1687; + xfer += iprot->readListBegin(_etype1687, _size1684); + (*(this->success)).resize(_size1684); + uint32_t _i1688; + for (_i1688 = 0; _i1688 < _size1684; ++_i1688) { - xfer += iprot->readString((*(this->success))[_i1682]); + xfer += iprot->readString((*(this->success))[_i1688]); } xfer += iprot->readListEnd(); } @@ -22776,17 +22776,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1683; - ::apache::thrift::protocol::TType _ktype1684; - ::apache::thrift::protocol::TType _vtype1685; - xfer += iprot->readMapBegin(_ktype1684, _vtype1685, _size1683); - uint32_t _i1687; - for (_i1687 = 0; _i1687 < _size1683; ++_i1687) + uint32_t _size1689; + ::apache::thrift::protocol::TType _ktype1690; + ::apache::thrift::protocol::TType _vtype1691; + xfer += iprot->readMapBegin(_ktype1690, _vtype1691, _size1689); + uint32_t _i1693; + for (_i1693 = 0; _i1693 < _size1689; ++_i1693) { - std::string _key1688; - xfer += iprot->readString(_key1688); - std::string& _val1689 = this->success[_key1688]; - xfer += iprot->readString(_val1689); + std::string _key1694; + xfer += iprot->readString(_key1694); + std::string& _val1695 = this->success[_key1694]; + xfer += iprot->readString(_val1695); } xfer += iprot->readMapEnd(); } @@ -22825,11 +22825,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 _iter1690; - for (_iter1690 = this->success.begin(); _iter1690 != this->success.end(); ++_iter1690) + std::map ::const_iterator _iter1696; + for (_iter1696 = this->success.begin(); _iter1696 != this->success.end(); ++_iter1696) { - xfer += oprot->writeString(_iter1690->first); - xfer += oprot->writeString(_iter1690->second); + xfer += oprot->writeString(_iter1696->first); + xfer += oprot->writeString(_iter1696->second); } xfer += oprot->writeMapEnd(); } @@ -22874,17 +22874,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1691; - ::apache::thrift::protocol::TType _ktype1692; - ::apache::thrift::protocol::TType _vtype1693; - xfer += iprot->readMapBegin(_ktype1692, _vtype1693, _size1691); - uint32_t _i1695; - for (_i1695 = 0; _i1695 < _size1691; ++_i1695) + uint32_t _size1697; + ::apache::thrift::protocol::TType _ktype1698; + ::apache::thrift::protocol::TType _vtype1699; + xfer += iprot->readMapBegin(_ktype1698, _vtype1699, _size1697); + uint32_t _i1701; + for (_i1701 = 0; _i1701 < _size1697; ++_i1701) { - std::string _key1696; - xfer += iprot->readString(_key1696); - std::string& _val1697 = (*(this->success))[_key1696]; - xfer += iprot->readString(_val1697); + std::string _key1702; + xfer += iprot->readString(_key1702); + std::string& _val1703 = (*(this->success))[_key1702]; + xfer += iprot->readString(_val1703); } xfer += iprot->readMapEnd(); } @@ -22959,17 +22959,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1698; - ::apache::thrift::protocol::TType _ktype1699; - ::apache::thrift::protocol::TType _vtype1700; - xfer += iprot->readMapBegin(_ktype1699, _vtype1700, _size1698); - uint32_t _i1702; - for (_i1702 = 0; _i1702 < _size1698; ++_i1702) + uint32_t _size1704; + ::apache::thrift::protocol::TType _ktype1705; + ::apache::thrift::protocol::TType _vtype1706; + xfer += iprot->readMapBegin(_ktype1705, _vtype1706, _size1704); + uint32_t _i1708; + for (_i1708 = 0; _i1708 < _size1704; ++_i1708) { - std::string _key1703; - xfer += iprot->readString(_key1703); - std::string& _val1704 = this->part_vals[_key1703]; - xfer += iprot->readString(_val1704); + std::string _key1709; + xfer += iprot->readString(_key1709); + std::string& _val1710 = this->part_vals[_key1709]; + xfer += iprot->readString(_val1710); } xfer += iprot->readMapEnd(); } @@ -22980,9 +22980,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1705; - xfer += iprot->readI32(ecast1705); - this->eventType = (PartitionEventType::type)ecast1705; + int32_t ecast1711; + xfer += iprot->readI32(ecast1711); + this->eventType = (PartitionEventType::type)ecast1711; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -23016,11 +23016,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 _iter1706; - for (_iter1706 = this->part_vals.begin(); _iter1706 != this->part_vals.end(); ++_iter1706) + std::map ::const_iterator _iter1712; + for (_iter1712 = this->part_vals.begin(); _iter1712 != this->part_vals.end(); ++_iter1712) { - xfer += oprot->writeString(_iter1706->first); - xfer += oprot->writeString(_iter1706->second); + xfer += oprot->writeString(_iter1712->first); + xfer += oprot->writeString(_iter1712->second); } xfer += oprot->writeMapEnd(); } @@ -23056,11 +23056,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 _iter1707; - for (_iter1707 = (*(this->part_vals)).begin(); _iter1707 != (*(this->part_vals)).end(); ++_iter1707) + std::map ::const_iterator _iter1713; + for (_iter1713 = (*(this->part_vals)).begin(); _iter1713 != (*(this->part_vals)).end(); ++_iter1713) { - xfer += oprot->writeString(_iter1707->first); - xfer += oprot->writeString(_iter1707->second); + xfer += oprot->writeString(_iter1713->first); + xfer += oprot->writeString(_iter1713->second); } xfer += oprot->writeMapEnd(); } @@ -23329,17 +23329,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1708; - ::apache::thrift::protocol::TType _ktype1709; - ::apache::thrift::protocol::TType _vtype1710; - xfer += iprot->readMapBegin(_ktype1709, _vtype1710, _size1708); - uint32_t _i1712; - for (_i1712 = 0; _i1712 < _size1708; ++_i1712) + uint32_t _size1714; + ::apache::thrift::protocol::TType _ktype1715; + ::apache::thrift::protocol::TType _vtype1716; + xfer += iprot->readMapBegin(_ktype1715, _vtype1716, _size1714); + uint32_t _i1718; + for (_i1718 = 0; _i1718 < _size1714; ++_i1718) { - std::string _key1713; - xfer += iprot->readString(_key1713); - std::string& _val1714 = this->part_vals[_key1713]; - xfer += iprot->readString(_val1714); + std::string _key1719; + xfer += iprot->readString(_key1719); + std::string& _val1720 = this->part_vals[_key1719]; + xfer += iprot->readString(_val1720); } xfer += iprot->readMapEnd(); } @@ -23350,9 +23350,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1715; - xfer += iprot->readI32(ecast1715); - this->eventType = (PartitionEventType::type)ecast1715; + int32_t ecast1721; + xfer += iprot->readI32(ecast1721); + this->eventType = (PartitionEventType::type)ecast1721; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -23386,11 +23386,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 _iter1716; - for (_iter1716 = this->part_vals.begin(); _iter1716 != this->part_vals.end(); ++_iter1716) + std::map ::const_iterator _iter1722; + for (_iter1722 = this->part_vals.begin(); _iter1722 != this->part_vals.end(); ++_iter1722) { - xfer += oprot->writeString(_iter1716->first); - xfer += oprot->writeString(_iter1716->second); + xfer += oprot->writeString(_iter1722->first); + xfer += oprot->writeString(_iter1722->second); } xfer += oprot->writeMapEnd(); } @@ -23426,11 +23426,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 _iter1717; - for (_iter1717 = (*(this->part_vals)).begin(); _iter1717 != (*(this->part_vals)).end(); ++_iter1717) + std::map ::const_iterator _iter1723; + for (_iter1723 = (*(this->part_vals)).begin(); _iter1723 != (*(this->part_vals)).end(); ++_iter1723) { - xfer += oprot->writeString(_iter1717->first); - xfer += oprot->writeString(_iter1717->second); + xfer += oprot->writeString(_iter1723->first); + xfer += oprot->writeString(_iter1723->second); } xfer += oprot->writeMapEnd(); } @@ -28579,14 +28579,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1718; - ::apache::thrift::protocol::TType _etype1721; - xfer += iprot->readListBegin(_etype1721, _size1718); - this->success.resize(_size1718); - uint32_t _i1722; - for (_i1722 = 0; _i1722 < _size1718; ++_i1722) + uint32_t _size1724; + ::apache::thrift::protocol::TType _etype1727; + xfer += iprot->readListBegin(_etype1727, _size1724); + this->success.resize(_size1724); + uint32_t _i1728; + for (_i1728 = 0; _i1728 < _size1724; ++_i1728) { - xfer += iprot->readString(this->success[_i1722]); + xfer += iprot->readString(this->success[_i1728]); } xfer += iprot->readListEnd(); } @@ -28625,10 +28625,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 _iter1723; - for (_iter1723 = this->success.begin(); _iter1723 != this->success.end(); ++_iter1723) + std::vector ::const_iterator _iter1729; + for (_iter1729 = this->success.begin(); _iter1729 != this->success.end(); ++_iter1729) { - xfer += oprot->writeString((*_iter1723)); + xfer += oprot->writeString((*_iter1729)); } xfer += oprot->writeListEnd(); } @@ -28673,14 +28673,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1724; - ::apache::thrift::protocol::TType _etype1727; - xfer += iprot->readListBegin(_etype1727, _size1724); - (*(this->success)).resize(_size1724); - uint32_t _i1728; - for (_i1728 = 0; _i1728 < _size1724; ++_i1728) + uint32_t _size1730; + ::apache::thrift::protocol::TType _etype1733; + xfer += iprot->readListBegin(_etype1733, _size1730); + (*(this->success)).resize(_size1730); + uint32_t _i1734; + for (_i1734 = 0; _i1734 < _size1730; ++_i1734) { - xfer += iprot->readString((*(this->success))[_i1728]); + xfer += iprot->readString((*(this->success))[_i1734]); } xfer += iprot->readListEnd(); } @@ -29640,14 +29640,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1729; - ::apache::thrift::protocol::TType _etype1732; - xfer += iprot->readListBegin(_etype1732, _size1729); - this->success.resize(_size1729); - uint32_t _i1733; - for (_i1733 = 0; _i1733 < _size1729; ++_i1733) + uint32_t _size1735; + ::apache::thrift::protocol::TType _etype1738; + xfer += iprot->readListBegin(_etype1738, _size1735); + this->success.resize(_size1735); + uint32_t _i1739; + for (_i1739 = 0; _i1739 < _size1735; ++_i1739) { - xfer += iprot->readString(this->success[_i1733]); + xfer += iprot->readString(this->success[_i1739]); } xfer += iprot->readListEnd(); } @@ -29686,10 +29686,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 _iter1734; - for (_iter1734 = this->success.begin(); _iter1734 != this->success.end(); ++_iter1734) + std::vector ::const_iterator _iter1740; + for (_iter1740 = this->success.begin(); _iter1740 != this->success.end(); ++_iter1740) { - xfer += oprot->writeString((*_iter1734)); + xfer += oprot->writeString((*_iter1740)); } xfer += oprot->writeListEnd(); } @@ -29734,14 +29734,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1735; - ::apache::thrift::protocol::TType _etype1738; - xfer += iprot->readListBegin(_etype1738, _size1735); - (*(this->success)).resize(_size1735); - uint32_t _i1739; - for (_i1739 = 0; _i1739 < _size1735; ++_i1739) + uint32_t _size1741; + ::apache::thrift::protocol::TType _etype1744; + xfer += iprot->readListBegin(_etype1744, _size1741); + (*(this->success)).resize(_size1741); + uint32_t _i1745; + for (_i1745 = 0; _i1745 < _size1741; ++_i1745) { - xfer += iprot->readString((*(this->success))[_i1739]); + xfer += iprot->readString((*(this->success))[_i1745]); } xfer += iprot->readListEnd(); } @@ -29814,9 +29814,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1740; - xfer += iprot->readI32(ecast1740); - this->principal_type = (PrincipalType::type)ecast1740; + int32_t ecast1746; + xfer += iprot->readI32(ecast1746); + this->principal_type = (PrincipalType::type)ecast1746; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -29832,9 +29832,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1741; - xfer += iprot->readI32(ecast1741); - this->grantorType = (PrincipalType::type)ecast1741; + int32_t ecast1747; + xfer += iprot->readI32(ecast1747); + this->grantorType = (PrincipalType::type)ecast1747; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -30105,9 +30105,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1742; - xfer += iprot->readI32(ecast1742); - this->principal_type = (PrincipalType::type)ecast1742; + int32_t ecast1748; + xfer += iprot->readI32(ecast1748); + this->principal_type = (PrincipalType::type)ecast1748; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -30338,9 +30338,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1743; - xfer += iprot->readI32(ecast1743); - this->principal_type = (PrincipalType::type)ecast1743; + int32_t ecast1749; + xfer += iprot->readI32(ecast1749); + this->principal_type = (PrincipalType::type)ecast1749; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -30429,14 +30429,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1744; - ::apache::thrift::protocol::TType _etype1747; - xfer += iprot->readListBegin(_etype1747, _size1744); - this->success.resize(_size1744); - uint32_t _i1748; - for (_i1748 = 0; _i1748 < _size1744; ++_i1748) + uint32_t _size1750; + ::apache::thrift::protocol::TType _etype1753; + xfer += iprot->readListBegin(_etype1753, _size1750); + this->success.resize(_size1750); + uint32_t _i1754; + for (_i1754 = 0; _i1754 < _size1750; ++_i1754) { - xfer += this->success[_i1748].read(iprot); + xfer += this->success[_i1754].read(iprot); } xfer += iprot->readListEnd(); } @@ -30475,10 +30475,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 _iter1749; - for (_iter1749 = this->success.begin(); _iter1749 != this->success.end(); ++_iter1749) + std::vector ::const_iterator _iter1755; + for (_iter1755 = this->success.begin(); _iter1755 != this->success.end(); ++_iter1755) { - xfer += (*_iter1749).write(oprot); + xfer += (*_iter1755).write(oprot); } xfer += oprot->writeListEnd(); } @@ -30523,14 +30523,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1750; - ::apache::thrift::protocol::TType _etype1753; - xfer += iprot->readListBegin(_etype1753, _size1750); - (*(this->success)).resize(_size1750); - uint32_t _i1754; - for (_i1754 = 0; _i1754 < _size1750; ++_i1754) + uint32_t _size1756; + ::apache::thrift::protocol::TType _etype1759; + xfer += iprot->readListBegin(_etype1759, _size1756); + (*(this->success)).resize(_size1756); + uint32_t _i1760; + for (_i1760 = 0; _i1760 < _size1756; ++_i1760) { - xfer += (*(this->success))[_i1754].read(iprot); + xfer += (*(this->success))[_i1760].read(iprot); } xfer += iprot->readListEnd(); } @@ -31226,14 +31226,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 _size1755; - ::apache::thrift::protocol::TType _etype1758; - xfer += iprot->readListBegin(_etype1758, _size1755); - this->group_names.resize(_size1755); - uint32_t _i1759; - for (_i1759 = 0; _i1759 < _size1755; ++_i1759) + uint32_t _size1761; + ::apache::thrift::protocol::TType _etype1764; + xfer += iprot->readListBegin(_etype1764, _size1761); + this->group_names.resize(_size1761); + uint32_t _i1765; + for (_i1765 = 0; _i1765 < _size1761; ++_i1765) { - xfer += iprot->readString(this->group_names[_i1759]); + xfer += iprot->readString(this->group_names[_i1765]); } xfer += iprot->readListEnd(); } @@ -31270,10 +31270,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 _iter1760; - for (_iter1760 = this->group_names.begin(); _iter1760 != this->group_names.end(); ++_iter1760) + std::vector ::const_iterator _iter1766; + for (_iter1766 = this->group_names.begin(); _iter1766 != this->group_names.end(); ++_iter1766) { - xfer += oprot->writeString((*_iter1760)); + xfer += oprot->writeString((*_iter1766)); } xfer += oprot->writeListEnd(); } @@ -31305,10 +31305,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 _iter1761; - for (_iter1761 = (*(this->group_names)).begin(); _iter1761 != (*(this->group_names)).end(); ++_iter1761) + std::vector ::const_iterator _iter1767; + for (_iter1767 = (*(this->group_names)).begin(); _iter1767 != (*(this->group_names)).end(); ++_iter1767) { - xfer += oprot->writeString((*_iter1761)); + xfer += oprot->writeString((*_iter1767)); } xfer += oprot->writeListEnd(); } @@ -31483,9 +31483,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1762; - xfer += iprot->readI32(ecast1762); - this->principal_type = (PrincipalType::type)ecast1762; + int32_t ecast1768; + xfer += iprot->readI32(ecast1768); + this->principal_type = (PrincipalType::type)ecast1768; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31590,14 +31590,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1763; - ::apache::thrift::protocol::TType _etype1766; - xfer += iprot->readListBegin(_etype1766, _size1763); - this->success.resize(_size1763); - uint32_t _i1767; - for (_i1767 = 0; _i1767 < _size1763; ++_i1767) + uint32_t _size1769; + ::apache::thrift::protocol::TType _etype1772; + xfer += iprot->readListBegin(_etype1772, _size1769); + this->success.resize(_size1769); + uint32_t _i1773; + for (_i1773 = 0; _i1773 < _size1769; ++_i1773) { - xfer += this->success[_i1767].read(iprot); + xfer += this->success[_i1773].read(iprot); } xfer += iprot->readListEnd(); } @@ -31636,10 +31636,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 _iter1768; - for (_iter1768 = this->success.begin(); _iter1768 != this->success.end(); ++_iter1768) + std::vector ::const_iterator _iter1774; + for (_iter1774 = this->success.begin(); _iter1774 != this->success.end(); ++_iter1774) { - xfer += (*_iter1768).write(oprot); + xfer += (*_iter1774).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31684,14 +31684,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1769; - ::apache::thrift::protocol::TType _etype1772; - xfer += iprot->readListBegin(_etype1772, _size1769); - (*(this->success)).resize(_size1769); - uint32_t _i1773; - for (_i1773 = 0; _i1773 < _size1769; ++_i1773) + uint32_t _size1775; + ::apache::thrift::protocol::TType _etype1778; + xfer += iprot->readListBegin(_etype1778, _size1775); + (*(this->success)).resize(_size1775); + uint32_t _i1779; + for (_i1779 = 0; _i1779 < _size1775; ++_i1779) { - xfer += (*(this->success))[_i1773].read(iprot); + xfer += (*(this->success))[_i1779].read(iprot); } xfer += iprot->readListEnd(); } @@ -32379,14 +32379,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 _size1774; - ::apache::thrift::protocol::TType _etype1777; - xfer += iprot->readListBegin(_etype1777, _size1774); - this->group_names.resize(_size1774); - uint32_t _i1778; - for (_i1778 = 0; _i1778 < _size1774; ++_i1778) + uint32_t _size1780; + ::apache::thrift::protocol::TType _etype1783; + xfer += iprot->readListBegin(_etype1783, _size1780); + this->group_names.resize(_size1780); + uint32_t _i1784; + for (_i1784 = 0; _i1784 < _size1780; ++_i1784) { - xfer += iprot->readString(this->group_names[_i1778]); + xfer += iprot->readString(this->group_names[_i1784]); } xfer += iprot->readListEnd(); } @@ -32419,10 +32419,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 _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(); } @@ -32450,10 +32450,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 _iter1780; - for (_iter1780 = (*(this->group_names)).begin(); _iter1780 != (*(this->group_names)).end(); ++_iter1780) + std::vector ::const_iterator _iter1786; + for (_iter1786 = (*(this->group_names)).begin(); _iter1786 != (*(this->group_names)).end(); ++_iter1786) { - xfer += oprot->writeString((*_iter1780)); + xfer += oprot->writeString((*_iter1786)); } xfer += oprot->writeListEnd(); } @@ -32494,14 +32494,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP 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 += iprot->readString(this->success[_i1785]); + xfer += iprot->readString(this->success[_i1791]); } xfer += iprot->readListEnd(); } @@ -32540,10 +32540,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 _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 += oprot->writeString((*_iter1786)); + xfer += oprot->writeString((*_iter1792)); } xfer += oprot->writeListEnd(); } @@ -32588,14 +32588,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T 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 += iprot->readString((*(this->success))[_i1791]); + xfer += iprot->readString((*(this->success))[_i1797]); } xfer += iprot->readListEnd(); } @@ -33906,14 +33906,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1792; - ::apache::thrift::protocol::TType _etype1795; - xfer += iprot->readListBegin(_etype1795, _size1792); - this->success.resize(_size1792); - uint32_t _i1796; - for (_i1796 = 0; _i1796 < _size1792; ++_i1796) + uint32_t _size1798; + ::apache::thrift::protocol::TType _etype1801; + xfer += iprot->readListBegin(_etype1801, _size1798); + this->success.resize(_size1798); + uint32_t _i1802; + for (_i1802 = 0; _i1802 < _size1798; ++_i1802) { - xfer += iprot->readString(this->success[_i1796]); + xfer += iprot->readString(this->success[_i1802]); } xfer += iprot->readListEnd(); } @@ -33944,10 +33944,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 _iter1797; - for (_iter1797 = this->success.begin(); _iter1797 != this->success.end(); ++_iter1797) + std::vector ::const_iterator _iter1803; + for (_iter1803 = this->success.begin(); _iter1803 != this->success.end(); ++_iter1803) { - xfer += oprot->writeString((*_iter1797)); + xfer += oprot->writeString((*_iter1803)); } xfer += oprot->writeListEnd(); } @@ -33988,14 +33988,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1798; - ::apache::thrift::protocol::TType _etype1801; - xfer += iprot->readListBegin(_etype1801, _size1798); - (*(this->success)).resize(_size1798); - uint32_t _i1802; - for (_i1802 = 0; _i1802 < _size1798; ++_i1802) + uint32_t _size1804; + ::apache::thrift::protocol::TType _etype1807; + xfer += iprot->readListBegin(_etype1807, _size1804); + (*(this->success)).resize(_size1804); + uint32_t _i1808; + for (_i1808 = 0; _i1808 < _size1804; ++_i1808) { - xfer += iprot->readString((*(this->success))[_i1802]); + xfer += iprot->readString((*(this->success))[_i1808]); } xfer += iprot->readListEnd(); } @@ -34721,14 +34721,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1803; - ::apache::thrift::protocol::TType _etype1806; - xfer += iprot->readListBegin(_etype1806, _size1803); - this->success.resize(_size1803); - uint32_t _i1807; - for (_i1807 = 0; _i1807 < _size1803; ++_i1807) + uint32_t _size1809; + ::apache::thrift::protocol::TType _etype1812; + xfer += iprot->readListBegin(_etype1812, _size1809); + this->success.resize(_size1809); + uint32_t _i1813; + for (_i1813 = 0; _i1813 < _size1809; ++_i1813) { - xfer += iprot->readString(this->success[_i1807]); + xfer += iprot->readString(this->success[_i1813]); } xfer += iprot->readListEnd(); } @@ -34759,10 +34759,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 _iter1808; - for (_iter1808 = this->success.begin(); _iter1808 != this->success.end(); ++_iter1808) + std::vector ::const_iterator _iter1814; + for (_iter1814 = this->success.begin(); _iter1814 != this->success.end(); ++_iter1814) { - xfer += oprot->writeString((*_iter1808)); + xfer += oprot->writeString((*_iter1814)); } xfer += oprot->writeListEnd(); } @@ -34803,14 +34803,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1809; - ::apache::thrift::protocol::TType _etype1812; - xfer += iprot->readListBegin(_etype1812, _size1809); - (*(this->success)).resize(_size1809); - uint32_t _i1813; - for (_i1813 = 0; _i1813 < _size1809; ++_i1813) + uint32_t _size1815; + ::apache::thrift::protocol::TType _etype1818; + xfer += iprot->readListBegin(_etype1818, _size1815); + (*(this->success)).resize(_size1815); + uint32_t _i1819; + for (_i1819 = 0; _i1819 < _size1815; ++_i1819) { - xfer += iprot->readString((*(this->success))[_i1813]); + xfer += iprot->readString((*(this->success))[_i1819]); } xfer += iprot->readListEnd(); } @@ -46451,14 +46451,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1814; - ::apache::thrift::protocol::TType _etype1817; - xfer += iprot->readListBegin(_etype1817, _size1814); - this->success.resize(_size1814); - uint32_t _i1818; - for (_i1818 = 0; _i1818 < _size1814; ++_i1818) + uint32_t _size1820; + ::apache::thrift::protocol::TType _etype1823; + xfer += iprot->readListBegin(_etype1823, _size1820); + this->success.resize(_size1820); + uint32_t _i1824; + for (_i1824 = 0; _i1824 < _size1820; ++_i1824) { - xfer += this->success[_i1818].read(iprot); + xfer += this->success[_i1824].read(iprot); } xfer += iprot->readListEnd(); } @@ -46505,10 +46505,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 _iter1819; - for (_iter1819 = this->success.begin(); _iter1819 != this->success.end(); ++_iter1819) + std::vector ::const_iterator _iter1825; + for (_iter1825 = this->success.begin(); _iter1825 != this->success.end(); ++_iter1825) { - xfer += (*_iter1819).write(oprot); + xfer += (*_iter1825).write(oprot); } xfer += oprot->writeListEnd(); } @@ -46557,14 +46557,14 @@ uint32_t ThriftHiveMetastore_get_schema_all_versions_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1820; - ::apache::thrift::protocol::TType _etype1823; - xfer += iprot->readListBegin(_etype1823, _size1820); - (*(this->success)).resize(_size1820); - uint32_t _i1824; - for (_i1824 = 0; _i1824 < _size1820; ++_i1824) + uint32_t _size1826; + ::apache::thrift::protocol::TType _etype1829; + xfer += iprot->readListBegin(_etype1829, _size1826); + (*(this->success)).resize(_size1826); + uint32_t _i1830; + for (_i1830 = 0; _i1830 < _size1826; ++_i1830) { - xfer += (*(this->success))[_i1824].read(iprot); + xfer += (*(this->success))[_i1830].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 b254f6969d..1c3f327f5b 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 @@ -14748,6 +14748,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); @@ -14804,6 +14814,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 _size626; + ::apache::thrift::protocol::TType _etype629; + xfer += iprot->readListBegin(_etype629, _size626); + this->replSrcTxnIds.resize(_size626); + uint32_t _i630; + for (_i630 = 0; _i630 < _size626; ++_i630) + { + xfer += iprot->readI64(this->replSrcTxnIds[_i630]); + } + xfer += iprot->readListEnd(); + } + this->__isset.replSrcTxnIds = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -14844,6 +14882,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 _iter631; + for (_iter631 = this->replSrcTxnIds.begin(); _iter631 != this->replSrcTxnIds.end(); ++_iter631) + { + xfer += oprot->writeI64((*_iter631)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -14855,22 +14911,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& other626) { - num_txns = other626.num_txns; - user = other626.user; - hostname = other626.hostname; - agentInfo = other626.agentInfo; - __isset = other626.__isset; -} -OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other627) { - num_txns = other627.num_txns; - user = other627.user; - hostname = other627.hostname; - agentInfo = other627.agentInfo; - __isset = other627.__isset; +OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other632) { + num_txns = other632.num_txns; + user = other632.user; + hostname = other632.hostname; + agentInfo = other632.agentInfo; + replPolicy = other632.replPolicy; + replSrcTxnIds = other632.replSrcTxnIds; + __isset = other632.__isset; +} +OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other633) { + num_txns = other633.num_txns; + user = other633.user; + hostname = other633.hostname; + agentInfo = other633.agentInfo; + replPolicy = other633.replPolicy; + replSrcTxnIds = other633.replSrcTxnIds; + __isset = other633.__isset; return *this; } void OpenTxnRequest::printTo(std::ostream& out) const { @@ -14880,6 +14942,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 << ")"; } @@ -14918,14 +14982,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size628; - ::apache::thrift::protocol::TType _etype631; - xfer += iprot->readListBegin(_etype631, _size628); - this->txn_ids.resize(_size628); - uint32_t _i632; - for (_i632 = 0; _i632 < _size628; ++_i632) + uint32_t _size634; + ::apache::thrift::protocol::TType _etype637; + xfer += iprot->readListBegin(_etype637, _size634); + this->txn_ids.resize(_size634); + uint32_t _i638; + for (_i638 = 0; _i638 < _size634; ++_i638) { - xfer += iprot->readI64(this->txn_ids[_i632]); + xfer += iprot->readI64(this->txn_ids[_i638]); } xfer += iprot->readListEnd(); } @@ -14956,10 +15020,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 _iter633; - for (_iter633 = this->txn_ids.begin(); _iter633 != this->txn_ids.end(); ++_iter633) + std::vector ::const_iterator _iter639; + for (_iter639 = this->txn_ids.begin(); _iter639 != this->txn_ids.end(); ++_iter639) { - xfer += oprot->writeI64((*_iter633)); + xfer += oprot->writeI64((*_iter639)); } xfer += oprot->writeListEnd(); } @@ -14975,11 +15039,11 @@ void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) { swap(a.txn_ids, b.txn_ids); } -OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other634) { - txn_ids = other634.txn_ids; +OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other640) { + txn_ids = other640.txn_ids; } -OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other635) { - txn_ids = other635.txn_ids; +OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other641) { + txn_ids = other641.txn_ids; return *this; } void OpenTxnsResponse::printTo(std::ostream& out) const { @@ -14998,6 +15062,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); @@ -15028,6 +15097,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; @@ -15051,6 +15128,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; @@ -15059,19 +15141,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& other636) { - txnid = other636.txnid; +AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other642) { + txnid = other642.txnid; + replPolicy = other642.replPolicy; + __isset = other642.__isset; } -AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other637) { - txnid = other637.txnid; +AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other643) { + txnid = other643.txnid; + replPolicy = other643.replPolicy; + __isset = other643.__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 << ")"; } @@ -15110,14 +15199,14 @@ uint32_t AbortTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size638; - ::apache::thrift::protocol::TType _etype641; - xfer += iprot->readListBegin(_etype641, _size638); - this->txn_ids.resize(_size638); - uint32_t _i642; - for (_i642 = 0; _i642 < _size638; ++_i642) + uint32_t _size644; + ::apache::thrift::protocol::TType _etype647; + xfer += iprot->readListBegin(_etype647, _size644); + this->txn_ids.resize(_size644); + uint32_t _i648; + for (_i648 = 0; _i648 < _size644; ++_i648) { - xfer += iprot->readI64(this->txn_ids[_i642]); + xfer += iprot->readI64(this->txn_ids[_i648]); } xfer += iprot->readListEnd(); } @@ -15148,10 +15237,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 _iter643; - for (_iter643 = this->txn_ids.begin(); _iter643 != this->txn_ids.end(); ++_iter643) + std::vector ::const_iterator _iter649; + for (_iter649 = this->txn_ids.begin(); _iter649 != this->txn_ids.end(); ++_iter649) { - xfer += oprot->writeI64((*_iter643)); + xfer += oprot->writeI64((*_iter649)); } xfer += oprot->writeListEnd(); } @@ -15167,11 +15256,11 @@ void swap(AbortTxnsRequest &a, AbortTxnsRequest &b) { swap(a.txn_ids, b.txn_ids); } -AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other644) { - txn_ids = other644.txn_ids; +AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other650) { + txn_ids = other650.txn_ids; } -AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other645) { - txn_ids = other645.txn_ids; +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other651) { + txn_ids = other651.txn_ids; return *this; } void AbortTxnsRequest::printTo(std::ostream& out) const { @@ -15190,6 +15279,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); @@ -15220,6 +15314,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; @@ -15243,6 +15345,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; @@ -15251,19 +15358,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& other646) { - txnid = other646.txnid; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other652) { + txnid = other652.txnid; + replPolicy = other652.replPolicy; + __isset = other652.__isset; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other647) { - txnid = other647.txnid; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other653) { + txnid = other653.txnid; + replPolicy = other653.replPolicy; + __isset = other653.__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 << ")"; } @@ -15307,14 +15421,14 @@ uint32_t GetValidWriteIdsRequest::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fullTableNames.clear(); - uint32_t _size648; - ::apache::thrift::protocol::TType _etype651; - xfer += iprot->readListBegin(_etype651, _size648); - this->fullTableNames.resize(_size648); - uint32_t _i652; - for (_i652 = 0; _i652 < _size648; ++_i652) + uint32_t _size654; + ::apache::thrift::protocol::TType _etype657; + xfer += iprot->readListBegin(_etype657, _size654); + this->fullTableNames.resize(_size654); + uint32_t _i658; + for (_i658 = 0; _i658 < _size654; ++_i658) { - xfer += iprot->readString(this->fullTableNames[_i652]); + xfer += iprot->readString(this->fullTableNames[_i658]); } xfer += iprot->readListEnd(); } @@ -15355,10 +15469,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 _iter653; - for (_iter653 = this->fullTableNames.begin(); _iter653 != this->fullTableNames.end(); ++_iter653) + std::vector ::const_iterator _iter659; + for (_iter659 = this->fullTableNames.begin(); _iter659 != this->fullTableNames.end(); ++_iter659) { - xfer += oprot->writeString((*_iter653)); + xfer += oprot->writeString((*_iter659)); } xfer += oprot->writeListEnd(); } @@ -15379,13 +15493,13 @@ void swap(GetValidWriteIdsRequest &a, GetValidWriteIdsRequest &b) { swap(a.validTxnList, b.validTxnList); } -GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other654) { - fullTableNames = other654.fullTableNames; - validTxnList = other654.validTxnList; +GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other660) { + fullTableNames = other660.fullTableNames; + validTxnList = other660.validTxnList; } -GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other655) { - fullTableNames = other655.fullTableNames; - validTxnList = other655.validTxnList; +GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other661) { + fullTableNames = other661.fullTableNames; + validTxnList = other661.validTxnList; return *this; } void GetValidWriteIdsRequest::printTo(std::ostream& out) const { @@ -15467,14 +15581,14 @@ uint32_t TableValidWriteIds::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->invalidWriteIds.clear(); - uint32_t _size656; - ::apache::thrift::protocol::TType _etype659; - xfer += iprot->readListBegin(_etype659, _size656); - this->invalidWriteIds.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->invalidWriteIds.resize(_size662); + uint32_t _i666; + for (_i666 = 0; _i666 < _size662; ++_i666) { - xfer += iprot->readI64(this->invalidWriteIds[_i660]); + xfer += iprot->readI64(this->invalidWriteIds[_i666]); } xfer += iprot->readListEnd(); } @@ -15535,10 +15649,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 _iter661; - for (_iter661 = this->invalidWriteIds.begin(); _iter661 != this->invalidWriteIds.end(); ++_iter661) + std::vector ::const_iterator _iter667; + for (_iter667 = this->invalidWriteIds.begin(); _iter667 != this->invalidWriteIds.end(); ++_iter667) { - xfer += oprot->writeI64((*_iter661)); + xfer += oprot->writeI64((*_iter667)); } xfer += oprot->writeListEnd(); } @@ -15568,21 +15682,21 @@ void swap(TableValidWriteIds &a, TableValidWriteIds &b) { swap(a.__isset, b.__isset); } -TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other662) { - fullTableName = other662.fullTableName; - writeIdHighWaterMark = other662.writeIdHighWaterMark; - invalidWriteIds = other662.invalidWriteIds; - minOpenWriteId = other662.minOpenWriteId; - abortedBits = other662.abortedBits; - __isset = other662.__isset; -} -TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other663) { - fullTableName = other663.fullTableName; - writeIdHighWaterMark = other663.writeIdHighWaterMark; - invalidWriteIds = other663.invalidWriteIds; - minOpenWriteId = other663.minOpenWriteId; - abortedBits = other663.abortedBits; - __isset = other663.__isset; +TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other668) { + fullTableName = other668.fullTableName; + writeIdHighWaterMark = other668.writeIdHighWaterMark; + invalidWriteIds = other668.invalidWriteIds; + minOpenWriteId = other668.minOpenWriteId; + abortedBits = other668.abortedBits; + __isset = other668.__isset; +} +TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other669) { + fullTableName = other669.fullTableName; + writeIdHighWaterMark = other669.writeIdHighWaterMark; + invalidWriteIds = other669.invalidWriteIds; + minOpenWriteId = other669.minOpenWriteId; + abortedBits = other669.abortedBits; + __isset = other669.__isset; return *this; } void TableValidWriteIds::printTo(std::ostream& out) const { @@ -15631,14 +15745,14 @@ uint32_t GetValidWriteIdsResponse::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblValidWriteIds.clear(); - uint32_t _size664; - ::apache::thrift::protocol::TType _etype667; - xfer += iprot->readListBegin(_etype667, _size664); - this->tblValidWriteIds.resize(_size664); - uint32_t _i668; - for (_i668 = 0; _i668 < _size664; ++_i668) + uint32_t _size670; + ::apache::thrift::protocol::TType _etype673; + xfer += iprot->readListBegin(_etype673, _size670); + this->tblValidWriteIds.resize(_size670); + uint32_t _i674; + for (_i674 = 0; _i674 < _size670; ++_i674) { - xfer += this->tblValidWriteIds[_i668].read(iprot); + xfer += this->tblValidWriteIds[_i674].read(iprot); } xfer += iprot->readListEnd(); } @@ -15669,10 +15783,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 _iter669; - for (_iter669 = this->tblValidWriteIds.begin(); _iter669 != this->tblValidWriteIds.end(); ++_iter669) + std::vector ::const_iterator _iter675; + for (_iter675 = this->tblValidWriteIds.begin(); _iter675 != this->tblValidWriteIds.end(); ++_iter675) { - xfer += (*_iter669).write(oprot); + xfer += (*_iter675).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15688,11 +15802,11 @@ void swap(GetValidWriteIdsResponse &a, GetValidWriteIdsResponse &b) { swap(a.tblValidWriteIds, b.tblValidWriteIds); } -GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other670) { - tblValidWriteIds = other670.tblValidWriteIds; +GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other676) { + tblValidWriteIds = other676.tblValidWriteIds; } -GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other671) { - tblValidWriteIds = other671.tblValidWriteIds; +GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other677) { + tblValidWriteIds = other677.tblValidWriteIds; return *this; } void GetValidWriteIdsResponse::printTo(std::ostream& out) const { @@ -15747,14 +15861,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnIds.clear(); - uint32_t _size672; - ::apache::thrift::protocol::TType _etype675; - xfer += iprot->readListBegin(_etype675, _size672); - this->txnIds.resize(_size672); - uint32_t _i676; - for (_i676 = 0; _i676 < _size672; ++_i676) + uint32_t _size678; + ::apache::thrift::protocol::TType _etype681; + xfer += iprot->readListBegin(_etype681, _size678); + this->txnIds.resize(_size678); + uint32_t _i682; + for (_i682 = 0; _i682 < _size678; ++_i682) { - xfer += iprot->readI64(this->txnIds[_i676]); + xfer += iprot->readI64(this->txnIds[_i682]); } xfer += iprot->readListEnd(); } @@ -15805,10 +15919,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 _iter677; - for (_iter677 = this->txnIds.begin(); _iter677 != this->txnIds.end(); ++_iter677) + std::vector ::const_iterator _iter683; + for (_iter683 = this->txnIds.begin(); _iter683 != this->txnIds.end(); ++_iter683) { - xfer += oprot->writeI64((*_iter677)); + xfer += oprot->writeI64((*_iter683)); } xfer += oprot->writeListEnd(); } @@ -15834,15 +15948,15 @@ void swap(AllocateTableWriteIdsRequest &a, AllocateTableWriteIdsRequest &b) { swap(a.tableName, b.tableName); } -AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other678) { - txnIds = other678.txnIds; - dbName = other678.dbName; - tableName = other678.tableName; +AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other684) { + txnIds = other684.txnIds; + dbName = other684.dbName; + tableName = other684.tableName; } -AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other679) { - txnIds = other679.txnIds; - dbName = other679.dbName; - tableName = other679.tableName; +AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other685) { + txnIds = other685.txnIds; + dbName = other685.dbName; + tableName = other685.tableName; return *this; } void AllocateTableWriteIdsRequest::printTo(std::ostream& out) const { @@ -15946,13 +16060,13 @@ void swap(TxnToWriteId &a, TxnToWriteId &b) { swap(a.writeId, b.writeId); } -TxnToWriteId::TxnToWriteId(const TxnToWriteId& other680) { - txnId = other680.txnId; - writeId = other680.writeId; +TxnToWriteId::TxnToWriteId(const TxnToWriteId& other686) { + txnId = other686.txnId; + writeId = other686.writeId; } -TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other681) { - txnId = other681.txnId; - writeId = other681.writeId; +TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other687) { + txnId = other687.txnId; + writeId = other687.writeId; return *this; } void TxnToWriteId::printTo(std::ostream& out) const { @@ -15998,14 +16112,14 @@ uint32_t AllocateTableWriteIdsResponse::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnToWriteIds.clear(); - uint32_t _size682; - ::apache::thrift::protocol::TType _etype685; - xfer += iprot->readListBegin(_etype685, _size682); - this->txnToWriteIds.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->txnToWriteIds.resize(_size688); + uint32_t _i692; + for (_i692 = 0; _i692 < _size688; ++_i692) { - xfer += this->txnToWriteIds[_i686].read(iprot); + xfer += this->txnToWriteIds[_i692].read(iprot); } xfer += iprot->readListEnd(); } @@ -16036,10 +16150,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 _iter687; - for (_iter687 = this->txnToWriteIds.begin(); _iter687 != this->txnToWriteIds.end(); ++_iter687) + std::vector ::const_iterator _iter693; + for (_iter693 = this->txnToWriteIds.begin(); _iter693 != this->txnToWriteIds.end(); ++_iter693) { - xfer += (*_iter687).write(oprot); + xfer += (*_iter693).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16055,11 +16169,11 @@ void swap(AllocateTableWriteIdsResponse &a, AllocateTableWriteIdsResponse &b) { swap(a.txnToWriteIds, b.txnToWriteIds); } -AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other688) { - txnToWriteIds = other688.txnToWriteIds; +AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other694) { + txnToWriteIds = other694.txnToWriteIds; } -AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other689) { - txnToWriteIds = other689.txnToWriteIds; +AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other695) { + txnToWriteIds = other695.txnToWriteIds; return *this; } void AllocateTableWriteIdsResponse::printTo(std::ostream& out) const { @@ -16137,9 +16251,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast690; - xfer += iprot->readI32(ecast690); - this->type = (LockType::type)ecast690; + int32_t ecast696; + xfer += iprot->readI32(ecast696); + this->type = (LockType::type)ecast696; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -16147,9 +16261,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast691; - xfer += iprot->readI32(ecast691); - this->level = (LockLevel::type)ecast691; + int32_t ecast697; + xfer += iprot->readI32(ecast697); + this->level = (LockLevel::type)ecast697; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -16181,9 +16295,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast692; - xfer += iprot->readI32(ecast692); - this->operationType = (DataOperationType::type)ecast692; + int32_t ecast698; + xfer += iprot->readI32(ecast698); + this->operationType = (DataOperationType::type)ecast698; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -16283,27 +16397,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other693) { - type = other693.type; - level = other693.level; - dbname = other693.dbname; - tablename = other693.tablename; - partitionname = other693.partitionname; - operationType = other693.operationType; - isTransactional = other693.isTransactional; - isDynamicPartitionWrite = other693.isDynamicPartitionWrite; - __isset = other693.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other694) { - type = other694.type; - level = other694.level; - dbname = other694.dbname; - tablename = other694.tablename; - partitionname = other694.partitionname; - operationType = other694.operationType; - isTransactional = other694.isTransactional; - isDynamicPartitionWrite = other694.isDynamicPartitionWrite; - __isset = other694.__isset; +LockComponent::LockComponent(const LockComponent& other699) { + type = other699.type; + level = other699.level; + dbname = other699.dbname; + tablename = other699.tablename; + partitionname = other699.partitionname; + operationType = other699.operationType; + isTransactional = other699.isTransactional; + isDynamicPartitionWrite = other699.isDynamicPartitionWrite; + __isset = other699.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other700) { + type = other700.type; + level = other700.level; + dbname = other700.dbname; + tablename = other700.tablename; + partitionname = other700.partitionname; + operationType = other700.operationType; + isTransactional = other700.isTransactional; + isDynamicPartitionWrite = other700.isDynamicPartitionWrite; + __isset = other700.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -16375,14 +16489,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size695; - ::apache::thrift::protocol::TType _etype698; - xfer += iprot->readListBegin(_etype698, _size695); - this->component.resize(_size695); - uint32_t _i699; - for (_i699 = 0; _i699 < _size695; ++_i699) + uint32_t _size701; + ::apache::thrift::protocol::TType _etype704; + xfer += iprot->readListBegin(_etype704, _size701); + this->component.resize(_size701); + uint32_t _i705; + for (_i705 = 0; _i705 < _size701; ++_i705) { - xfer += this->component[_i699].read(iprot); + xfer += this->component[_i705].read(iprot); } xfer += iprot->readListEnd(); } @@ -16449,10 +16563,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 _iter700; - for (_iter700 = this->component.begin(); _iter700 != this->component.end(); ++_iter700) + std::vector ::const_iterator _iter706; + for (_iter706 = this->component.begin(); _iter706 != this->component.end(); ++_iter706) { - xfer += (*_iter700).write(oprot); + xfer += (*_iter706).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16491,21 +16605,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other701) { - component = other701.component; - txnid = other701.txnid; - user = other701.user; - hostname = other701.hostname; - agentInfo = other701.agentInfo; - __isset = other701.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other702) { - component = other702.component; - txnid = other702.txnid; - user = other702.user; - hostname = other702.hostname; - agentInfo = other702.agentInfo; - __isset = other702.__isset; +LockRequest::LockRequest(const LockRequest& other707) { + component = other707.component; + txnid = other707.txnid; + user = other707.user; + hostname = other707.hostname; + agentInfo = other707.agentInfo; + __isset = other707.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other708) { + component = other708.component; + txnid = other708.txnid; + user = other708.user; + hostname = other708.hostname; + agentInfo = other708.agentInfo; + __isset = other708.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -16565,9 +16679,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast703; - xfer += iprot->readI32(ecast703); - this->state = (LockState::type)ecast703; + int32_t ecast709; + xfer += iprot->readI32(ecast709); + this->state = (LockState::type)ecast709; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -16613,13 +16727,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other704) { - lockid = other704.lockid; - state = other704.state; +LockResponse::LockResponse(const LockResponse& other710) { + lockid = other710.lockid; + state = other710.state; } -LockResponse& LockResponse::operator=(const LockResponse& other705) { - lockid = other705.lockid; - state = other705.state; +LockResponse& LockResponse::operator=(const LockResponse& other711) { + lockid = other711.lockid; + state = other711.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -16741,17 +16855,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other706) { - lockid = other706.lockid; - txnid = other706.txnid; - elapsed_ms = other706.elapsed_ms; - __isset = other706.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other712) { + lockid = other712.lockid; + txnid = other712.txnid; + elapsed_ms = other712.elapsed_ms; + __isset = other712.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other707) { - lockid = other707.lockid; - txnid = other707.txnid; - elapsed_ms = other707.elapsed_ms; - __isset = other707.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other713) { + lockid = other713.lockid; + txnid = other713.txnid; + elapsed_ms = other713.elapsed_ms; + __isset = other713.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -16835,11 +16949,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other708) { - lockid = other708.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other714) { + lockid = other714.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other709) { - lockid = other709.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other715) { + lockid = other715.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -16978,19 +17092,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other710) { - dbname = other710.dbname; - tablename = other710.tablename; - partname = other710.partname; - isExtended = other710.isExtended; - __isset = other710.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other716) { + dbname = other716.dbname; + tablename = other716.tablename; + partname = other716.partname; + isExtended = other716.isExtended; + __isset = other716.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other711) { - dbname = other711.dbname; - tablename = other711.tablename; - partname = other711.partname; - isExtended = other711.isExtended; - __isset = other711.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other717) { + dbname = other717.dbname; + tablename = other717.tablename; + partname = other717.partname; + isExtended = other717.isExtended; + __isset = other717.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -17143,9 +17257,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast712; - xfer += iprot->readI32(ecast712); - this->state = (LockState::type)ecast712; + int32_t ecast718; + xfer += iprot->readI32(ecast718); + this->state = (LockState::type)ecast718; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -17153,9 +17267,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast713; - xfer += iprot->readI32(ecast713); - this->type = (LockType::type)ecast713; + int32_t ecast719; + xfer += iprot->readI32(ecast719); + this->type = (LockType::type)ecast719; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -17371,43 +17485,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other714) { - lockid = other714.lockid; - dbname = other714.dbname; - tablename = other714.tablename; - partname = other714.partname; - state = other714.state; - type = other714.type; - txnid = other714.txnid; - lastheartbeat = other714.lastheartbeat; - acquiredat = other714.acquiredat; - user = other714.user; - hostname = other714.hostname; - heartbeatCount = other714.heartbeatCount; - agentInfo = other714.agentInfo; - blockedByExtId = other714.blockedByExtId; - blockedByIntId = other714.blockedByIntId; - lockIdInternal = other714.lockIdInternal; - __isset = other714.__isset; -} -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other715) { - lockid = other715.lockid; - dbname = other715.dbname; - tablename = other715.tablename; - partname = other715.partname; - state = other715.state; - type = other715.type; - txnid = other715.txnid; - lastheartbeat = other715.lastheartbeat; - acquiredat = other715.acquiredat; - user = other715.user; - hostname = other715.hostname; - heartbeatCount = other715.heartbeatCount; - agentInfo = other715.agentInfo; - blockedByExtId = other715.blockedByExtId; - blockedByIntId = other715.blockedByIntId; - lockIdInternal = other715.lockIdInternal; - __isset = other715.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other720) { + lockid = other720.lockid; + dbname = other720.dbname; + tablename = other720.tablename; + partname = other720.partname; + state = other720.state; + type = other720.type; + txnid = other720.txnid; + lastheartbeat = other720.lastheartbeat; + acquiredat = other720.acquiredat; + user = other720.user; + hostname = other720.hostname; + heartbeatCount = other720.heartbeatCount; + agentInfo = other720.agentInfo; + blockedByExtId = other720.blockedByExtId; + blockedByIntId = other720.blockedByIntId; + lockIdInternal = other720.lockIdInternal; + __isset = other720.__isset; +} +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other721) { + lockid = other721.lockid; + dbname = other721.dbname; + tablename = other721.tablename; + partname = other721.partname; + state = other721.state; + type = other721.type; + txnid = other721.txnid; + lastheartbeat = other721.lastheartbeat; + acquiredat = other721.acquiredat; + user = other721.user; + hostname = other721.hostname; + heartbeatCount = other721.heartbeatCount; + agentInfo = other721.agentInfo; + blockedByExtId = other721.blockedByExtId; + blockedByIntId = other721.blockedByIntId; + lockIdInternal = other721.lockIdInternal; + __isset = other721.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -17466,14 +17580,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size716; - ::apache::thrift::protocol::TType _etype719; - xfer += iprot->readListBegin(_etype719, _size716); - this->locks.resize(_size716); - uint32_t _i720; - for (_i720 = 0; _i720 < _size716; ++_i720) + uint32_t _size722; + ::apache::thrift::protocol::TType _etype725; + xfer += iprot->readListBegin(_etype725, _size722); + this->locks.resize(_size722); + uint32_t _i726; + for (_i726 = 0; _i726 < _size722; ++_i726) { - xfer += this->locks[_i720].read(iprot); + xfer += this->locks[_i726].read(iprot); } xfer += iprot->readListEnd(); } @@ -17502,10 +17616,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 _iter721; - for (_iter721 = this->locks.begin(); _iter721 != this->locks.end(); ++_iter721) + std::vector ::const_iterator _iter727; + for (_iter727 = this->locks.begin(); _iter727 != this->locks.end(); ++_iter727) { - xfer += (*_iter721).write(oprot); + xfer += (*_iter727).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17522,13 +17636,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other722) { - locks = other722.locks; - __isset = other722.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other728) { + locks = other728.locks; + __isset = other728.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other723) { - locks = other723.locks; - __isset = other723.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other729) { + locks = other729.locks; + __isset = other729.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -17629,15 +17743,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other724) { - lockid = other724.lockid; - txnid = other724.txnid; - __isset = other724.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other730) { + lockid = other730.lockid; + txnid = other730.txnid; + __isset = other730.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other725) { - lockid = other725.lockid; - txnid = other725.txnid; - __isset = other725.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other731) { + lockid = other731.lockid; + txnid = other731.txnid; + __isset = other731.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -17740,13 +17854,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other726) { - min = other726.min; - max = other726.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other732) { + min = other732.min; + max = other732.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other727) { - min = other727.min; - max = other727.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other733) { + min = other733.min; + max = other733.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -17797,15 +17911,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size728; - ::apache::thrift::protocol::TType _etype731; - xfer += iprot->readSetBegin(_etype731, _size728); - uint32_t _i732; - for (_i732 = 0; _i732 < _size728; ++_i732) + uint32_t _size734; + ::apache::thrift::protocol::TType _etype737; + xfer += iprot->readSetBegin(_etype737, _size734); + uint32_t _i738; + for (_i738 = 0; _i738 < _size734; ++_i738) { - int64_t _elem733; - xfer += iprot->readI64(_elem733); - this->aborted.insert(_elem733); + int64_t _elem739; + xfer += iprot->readI64(_elem739); + this->aborted.insert(_elem739); } xfer += iprot->readSetEnd(); } @@ -17818,15 +17932,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size734; - ::apache::thrift::protocol::TType _etype737; - xfer += iprot->readSetBegin(_etype737, _size734); - uint32_t _i738; - for (_i738 = 0; _i738 < _size734; ++_i738) + uint32_t _size740; + ::apache::thrift::protocol::TType _etype743; + xfer += iprot->readSetBegin(_etype743, _size740); + uint32_t _i744; + for (_i744 = 0; _i744 < _size740; ++_i744) { - int64_t _elem739; - xfer += iprot->readI64(_elem739); - this->nosuch.insert(_elem739); + int64_t _elem745; + xfer += iprot->readI64(_elem745); + this->nosuch.insert(_elem745); } xfer += iprot->readSetEnd(); } @@ -17859,10 +17973,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 _iter740; - for (_iter740 = this->aborted.begin(); _iter740 != this->aborted.end(); ++_iter740) + std::set ::const_iterator _iter746; + for (_iter746 = this->aborted.begin(); _iter746 != this->aborted.end(); ++_iter746) { - xfer += oprot->writeI64((*_iter740)); + xfer += oprot->writeI64((*_iter746)); } xfer += oprot->writeSetEnd(); } @@ -17871,10 +17985,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 _iter741; - for (_iter741 = this->nosuch.begin(); _iter741 != this->nosuch.end(); ++_iter741) + std::set ::const_iterator _iter747; + for (_iter747 = this->nosuch.begin(); _iter747 != this->nosuch.end(); ++_iter747) { - xfer += oprot->writeI64((*_iter741)); + xfer += oprot->writeI64((*_iter747)); } xfer += oprot->writeSetEnd(); } @@ -17891,13 +18005,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other742) { - aborted = other742.aborted; - nosuch = other742.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other748) { + aborted = other748.aborted; + nosuch = other748.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other743) { - aborted = other743.aborted; - nosuch = other743.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other749) { + aborted = other749.aborted; + nosuch = other749.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -17990,9 +18104,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast744; - xfer += iprot->readI32(ecast744); - this->type = (CompactionType::type)ecast744; + int32_t ecast750; + xfer += iprot->readI32(ecast750); + this->type = (CompactionType::type)ecast750; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -18010,17 +18124,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size745; - ::apache::thrift::protocol::TType _ktype746; - ::apache::thrift::protocol::TType _vtype747; - xfer += iprot->readMapBegin(_ktype746, _vtype747, _size745); - uint32_t _i749; - for (_i749 = 0; _i749 < _size745; ++_i749) + uint32_t _size751; + ::apache::thrift::protocol::TType _ktype752; + ::apache::thrift::protocol::TType _vtype753; + xfer += iprot->readMapBegin(_ktype752, _vtype753, _size751); + uint32_t _i755; + for (_i755 = 0; _i755 < _size751; ++_i755) { - std::string _key750; - xfer += iprot->readString(_key750); - std::string& _val751 = this->properties[_key750]; - xfer += iprot->readString(_val751); + std::string _key756; + xfer += iprot->readString(_key756); + std::string& _val757 = this->properties[_key756]; + xfer += iprot->readString(_val757); } xfer += iprot->readMapEnd(); } @@ -18078,11 +18192,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 _iter752; - for (_iter752 = this->properties.begin(); _iter752 != this->properties.end(); ++_iter752) + std::map ::const_iterator _iter758; + for (_iter758 = this->properties.begin(); _iter758 != this->properties.end(); ++_iter758) { - xfer += oprot->writeString(_iter752->first); - xfer += oprot->writeString(_iter752->second); + xfer += oprot->writeString(_iter758->first); + xfer += oprot->writeString(_iter758->second); } xfer += oprot->writeMapEnd(); } @@ -18104,23 +18218,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other753) { - dbname = other753.dbname; - tablename = other753.tablename; - partitionname = other753.partitionname; - type = other753.type; - runas = other753.runas; - properties = other753.properties; - __isset = other753.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other754) { - dbname = other754.dbname; - tablename = other754.tablename; - partitionname = other754.partitionname; - type = other754.type; - runas = other754.runas; - properties = other754.properties; - __isset = other754.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other759) { + dbname = other759.dbname; + tablename = other759.tablename; + partitionname = other759.partitionname; + type = other759.type; + runas = other759.runas; + properties = other759.properties; + __isset = other759.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other760) { + dbname = other760.dbname; + tablename = other760.tablename; + partitionname = other760.partitionname; + type = other760.type; + runas = other760.runas; + properties = other760.properties; + __isset = other760.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -18247,15 +18361,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other755) { - id = other755.id; - state = other755.state; - accepted = other755.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other761) { + id = other761.id; + state = other761.state; + accepted = other761.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other756) { - id = other756.id; - state = other756.state; - accepted = other756.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other762) { + id = other762.id; + state = other762.state; + accepted = other762.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -18316,11 +18430,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other757) { - (void) other757; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other763) { + (void) other763; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other758) { - (void) other758; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other764) { + (void) other764; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -18446,9 +18560,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast759; - xfer += iprot->readI32(ecast759); - this->type = (CompactionType::type)ecast759; + int32_t ecast765; + xfer += iprot->readI32(ecast765); + this->type = (CompactionType::type)ecast765; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -18635,37 +18749,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other760) { - dbname = other760.dbname; - tablename = other760.tablename; - partitionname = other760.partitionname; - type = other760.type; - state = other760.state; - workerid = other760.workerid; - start = other760.start; - runAs = other760.runAs; - hightestTxnId = other760.hightestTxnId; - metaInfo = other760.metaInfo; - endTime = other760.endTime; - hadoopJobId = other760.hadoopJobId; - id = other760.id; - __isset = other760.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other761) { - dbname = other761.dbname; - tablename = other761.tablename; - partitionname = other761.partitionname; - type = other761.type; - state = other761.state; - workerid = other761.workerid; - start = other761.start; - runAs = other761.runAs; - hightestTxnId = other761.hightestTxnId; - metaInfo = other761.metaInfo; - endTime = other761.endTime; - hadoopJobId = other761.hadoopJobId; - id = other761.id; - __isset = other761.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other766) { + dbname = other766.dbname; + tablename = other766.tablename; + partitionname = other766.partitionname; + type = other766.type; + state = other766.state; + workerid = other766.workerid; + start = other766.start; + runAs = other766.runAs; + hightestTxnId = other766.hightestTxnId; + metaInfo = other766.metaInfo; + endTime = other766.endTime; + hadoopJobId = other766.hadoopJobId; + id = other766.id; + __isset = other766.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other767) { + dbname = other767.dbname; + tablename = other767.tablename; + partitionname = other767.partitionname; + type = other767.type; + state = other767.state; + workerid = other767.workerid; + start = other767.start; + runAs = other767.runAs; + hightestTxnId = other767.hightestTxnId; + metaInfo = other767.metaInfo; + endTime = other767.endTime; + hadoopJobId = other767.hadoopJobId; + id = other767.id; + __isset = other767.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -18722,14 +18836,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size762; - ::apache::thrift::protocol::TType _etype765; - xfer += iprot->readListBegin(_etype765, _size762); - this->compacts.resize(_size762); - uint32_t _i766; - for (_i766 = 0; _i766 < _size762; ++_i766) + uint32_t _size768; + ::apache::thrift::protocol::TType _etype771; + xfer += iprot->readListBegin(_etype771, _size768); + this->compacts.resize(_size768); + uint32_t _i772; + for (_i772 = 0; _i772 < _size768; ++_i772) { - xfer += this->compacts[_i766].read(iprot); + xfer += this->compacts[_i772].read(iprot); } xfer += iprot->readListEnd(); } @@ -18760,10 +18874,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 _iter767; - for (_iter767 = this->compacts.begin(); _iter767 != this->compacts.end(); ++_iter767) + std::vector ::const_iterator _iter773; + for (_iter773 = this->compacts.begin(); _iter773 != this->compacts.end(); ++_iter773) { - xfer += (*_iter767).write(oprot); + xfer += (*_iter773).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18779,11 +18893,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other768) { - compacts = other768.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other774) { + compacts = other774.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other769) { - compacts = other769.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other775) { + compacts = other775.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -18885,14 +18999,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size770; - ::apache::thrift::protocol::TType _etype773; - xfer += iprot->readListBegin(_etype773, _size770); - this->partitionnames.resize(_size770); - uint32_t _i774; - for (_i774 = 0; _i774 < _size770; ++_i774) + uint32_t _size776; + ::apache::thrift::protocol::TType _etype779; + xfer += iprot->readListBegin(_etype779, _size776); + this->partitionnames.resize(_size776); + uint32_t _i780; + for (_i780 = 0; _i780 < _size776; ++_i780) { - xfer += iprot->readString(this->partitionnames[_i774]); + xfer += iprot->readString(this->partitionnames[_i780]); } xfer += iprot->readListEnd(); } @@ -18903,9 +19017,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast775; - xfer += iprot->readI32(ecast775); - this->operationType = (DataOperationType::type)ecast775; + int32_t ecast781; + xfer += iprot->readI32(ecast781); + this->operationType = (DataOperationType::type)ecast781; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -18957,10 +19071,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 _iter776; - for (_iter776 = this->partitionnames.begin(); _iter776 != this->partitionnames.end(); ++_iter776) + std::vector ::const_iterator _iter782; + for (_iter782 = this->partitionnames.begin(); _iter782 != this->partitionnames.end(); ++_iter782) { - xfer += oprot->writeString((*_iter776)); + xfer += oprot->writeString((*_iter782)); } xfer += oprot->writeListEnd(); } @@ -18987,23 +19101,23 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other777) { - txnid = other777.txnid; - writeid = other777.writeid; - dbname = other777.dbname; - tablename = other777.tablename; - partitionnames = other777.partitionnames; - operationType = other777.operationType; - __isset = other777.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other778) { - txnid = other778.txnid; - writeid = other778.writeid; - dbname = other778.dbname; - tablename = other778.tablename; - partitionnames = other778.partitionnames; - operationType = other778.operationType; - __isset = other778.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other783) { + txnid = other783.txnid; + writeid = other783.writeid; + dbname = other783.dbname; + tablename = other783.tablename; + partitionnames = other783.partitionnames; + operationType = other783.operationType; + __isset = other783.__isset; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other784) { + txnid = other784.txnid; + writeid = other784.writeid; + dbname = other784.dbname; + tablename = other784.tablename; + partitionnames = other784.partitionnames; + operationType = other784.operationType; + __isset = other784.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -19186,23 +19300,23 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other779) { - isnull = other779.isnull; - time = other779.time; - txnid = other779.txnid; - dbname = other779.dbname; - tablename = other779.tablename; - partitionname = other779.partitionname; - __isset = other779.__isset; -} -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other780) { - isnull = other780.isnull; - time = other780.time; - txnid = other780.txnid; - dbname = other780.dbname; - tablename = other780.tablename; - partitionname = other780.partitionname; - __isset = other780.__isset; +BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other785) { + isnull = other785.isnull; + time = other785.time; + txnid = other785.txnid; + dbname = other785.dbname; + tablename = other785.tablename; + partitionname = other785.partitionname; + __isset = other785.__isset; +} +BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other786) { + isnull = other786.isnull; + time = other786.time; + txnid = other786.txnid; + dbname = other786.dbname; + tablename = other786.tablename; + partitionname = other786.partitionname; + __isset = other786.__isset; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { @@ -19283,15 +19397,15 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size781; - ::apache::thrift::protocol::TType _etype784; - xfer += iprot->readSetBegin(_etype784, _size781); - uint32_t _i785; - for (_i785 = 0; _i785 < _size781; ++_i785) + uint32_t _size787; + ::apache::thrift::protocol::TType _etype790; + xfer += iprot->readSetBegin(_etype790, _size787); + uint32_t _i791; + for (_i791 = 0; _i791 < _size787; ++_i791) { - std::string _elem786; - xfer += iprot->readString(_elem786); - this->tablesUsed.insert(_elem786); + std::string _elem792; + xfer += iprot->readString(_elem792); + this->tablesUsed.insert(_elem792); } xfer += iprot->readSetEnd(); } @@ -19342,10 +19456,10 @@ uint32_t CreationMetadata::write(::apache::thrift::protocol::TProtocol* oprot) c xfer += oprot->writeFieldBegin("tablesUsed", ::apache::thrift::protocol::T_SET, 3); { xfer += oprot->writeSetBegin(::apache::thrift::protocol::T_STRING, static_cast(this->tablesUsed.size())); - std::set ::const_iterator _iter787; - for (_iter787 = this->tablesUsed.begin(); _iter787 != this->tablesUsed.end(); ++_iter787) + std::set ::const_iterator _iter793; + for (_iter793 = this->tablesUsed.begin(); _iter793 != this->tablesUsed.end(); ++_iter793) { - xfer += oprot->writeString((*_iter787)); + xfer += oprot->writeString((*_iter793)); } xfer += oprot->writeSetEnd(); } @@ -19370,19 +19484,19 @@ void swap(CreationMetadata &a, CreationMetadata &b) { swap(a.__isset, b.__isset); } -CreationMetadata::CreationMetadata(const CreationMetadata& other788) { - dbName = other788.dbName; - tblName = other788.tblName; - tablesUsed = other788.tablesUsed; - validTxnList = other788.validTxnList; - __isset = other788.__isset; +CreationMetadata::CreationMetadata(const CreationMetadata& other794) { + dbName = other794.dbName; + tblName = other794.tblName; + tablesUsed = other794.tablesUsed; + validTxnList = other794.validTxnList; + __isset = other794.__isset; } -CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other789) { - dbName = other789.dbName; - tblName = other789.tblName; - tablesUsed = other789.tablesUsed; - validTxnList = other789.validTxnList; - __isset = other789.__isset; +CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other795) { + dbName = other795.dbName; + tblName = other795.tblName; + tablesUsed = other795.tablesUsed; + validTxnList = other795.validTxnList; + __isset = other795.__isset; return *this; } void CreationMetadata::printTo(std::ostream& out) const { @@ -19487,15 +19601,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other790) { - lastEvent = other790.lastEvent; - maxEvents = other790.maxEvents; - __isset = other790.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other796) { + lastEvent = other796.lastEvent; + maxEvents = other796.maxEvents; + __isset = other796.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other791) { - lastEvent = other791.lastEvent; - maxEvents = other791.maxEvents; - __isset = other791.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other797) { + lastEvent = other797.lastEvent; + maxEvents = other797.maxEvents; + __isset = other797.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -19696,25 +19810,25 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other792) { - eventId = other792.eventId; - eventTime = other792.eventTime; - eventType = other792.eventType; - dbName = other792.dbName; - tableName = other792.tableName; - message = other792.message; - messageFormat = other792.messageFormat; - __isset = other792.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other793) { - eventId = other793.eventId; - eventTime = other793.eventTime; - eventType = other793.eventType; - dbName = other793.dbName; - tableName = other793.tableName; - message = other793.message; - messageFormat = other793.messageFormat; - __isset = other793.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other798) { + eventId = other798.eventId; + eventTime = other798.eventTime; + eventType = other798.eventType; + dbName = other798.dbName; + tableName = other798.tableName; + message = other798.message; + messageFormat = other798.messageFormat; + __isset = other798.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other799) { + eventId = other799.eventId; + eventTime = other799.eventTime; + eventType = other799.eventType; + dbName = other799.dbName; + tableName = other799.tableName; + message = other799.message; + messageFormat = other799.messageFormat; + __isset = other799.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -19765,14 +19879,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size794; - ::apache::thrift::protocol::TType _etype797; - xfer += iprot->readListBegin(_etype797, _size794); - this->events.resize(_size794); - uint32_t _i798; - for (_i798 = 0; _i798 < _size794; ++_i798) + uint32_t _size800; + ::apache::thrift::protocol::TType _etype803; + xfer += iprot->readListBegin(_etype803, _size800); + this->events.resize(_size800); + uint32_t _i804; + for (_i804 = 0; _i804 < _size800; ++_i804) { - xfer += this->events[_i798].read(iprot); + xfer += this->events[_i804].read(iprot); } xfer += iprot->readListEnd(); } @@ -19803,10 +19917,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 _iter799; - for (_iter799 = this->events.begin(); _iter799 != this->events.end(); ++_iter799) + std::vector ::const_iterator _iter805; + for (_iter805 = this->events.begin(); _iter805 != this->events.end(); ++_iter805) { - xfer += (*_iter799).write(oprot); + xfer += (*_iter805).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19822,11 +19936,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other800) { - events = other800.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other806) { + events = other806.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other801) { - events = other801.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other807) { + events = other807.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -19908,11 +20022,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other802) { - eventId = other802.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other808) { + eventId = other808.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other803) { - eventId = other803.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other809) { + eventId = other809.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -20014,13 +20128,13 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.dbName, b.dbName); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other804) { - fromEventId = other804.fromEventId; - dbName = other804.dbName; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other810) { + fromEventId = other810.fromEventId; + dbName = other810.dbName; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other805) { - fromEventId = other805.fromEventId; - dbName = other805.dbName; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other811) { + fromEventId = other811.fromEventId; + dbName = other811.dbName; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -20103,11 +20217,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other806) { - eventsCount = other806.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other812) { + eventsCount = other812.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other807) { - eventsCount = other807.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other813) { + eventsCount = other813.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -20170,14 +20284,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size808; - ::apache::thrift::protocol::TType _etype811; - xfer += iprot->readListBegin(_etype811, _size808); - this->filesAdded.resize(_size808); - uint32_t _i812; - for (_i812 = 0; _i812 < _size808; ++_i812) + uint32_t _size814; + ::apache::thrift::protocol::TType _etype817; + xfer += iprot->readListBegin(_etype817, _size814); + this->filesAdded.resize(_size814); + uint32_t _i818; + for (_i818 = 0; _i818 < _size814; ++_i818) { - xfer += iprot->readString(this->filesAdded[_i812]); + xfer += iprot->readString(this->filesAdded[_i818]); } xfer += iprot->readListEnd(); } @@ -20190,14 +20304,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size813; - ::apache::thrift::protocol::TType _etype816; - xfer += iprot->readListBegin(_etype816, _size813); - this->filesAddedChecksum.resize(_size813); - uint32_t _i817; - for (_i817 = 0; _i817 < _size813; ++_i817) + uint32_t _size819; + ::apache::thrift::protocol::TType _etype822; + xfer += iprot->readListBegin(_etype822, _size819); + this->filesAddedChecksum.resize(_size819); + uint32_t _i823; + for (_i823 = 0; _i823 < _size819; ++_i823) { - xfer += iprot->readString(this->filesAddedChecksum[_i817]); + xfer += iprot->readString(this->filesAddedChecksum[_i823]); } xfer += iprot->readListEnd(); } @@ -20233,10 +20347,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 _iter818; - for (_iter818 = this->filesAdded.begin(); _iter818 != this->filesAdded.end(); ++_iter818) + std::vector ::const_iterator _iter824; + for (_iter824 = this->filesAdded.begin(); _iter824 != this->filesAdded.end(); ++_iter824) { - xfer += oprot->writeString((*_iter818)); + xfer += oprot->writeString((*_iter824)); } xfer += oprot->writeListEnd(); } @@ -20246,10 +20360,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 _iter819; - for (_iter819 = this->filesAddedChecksum.begin(); _iter819 != this->filesAddedChecksum.end(); ++_iter819) + std::vector ::const_iterator _iter825; + for (_iter825 = this->filesAddedChecksum.begin(); _iter825 != this->filesAddedChecksum.end(); ++_iter825) { - xfer += oprot->writeString((*_iter819)); + xfer += oprot->writeString((*_iter825)); } xfer += oprot->writeListEnd(); } @@ -20268,17 +20382,17 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other820) { - replace = other820.replace; - filesAdded = other820.filesAdded; - filesAddedChecksum = other820.filesAddedChecksum; - __isset = other820.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other826) { + replace = other826.replace; + filesAdded = other826.filesAdded; + filesAddedChecksum = other826.filesAddedChecksum; + __isset = other826.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other821) { - replace = other821.replace; - filesAdded = other821.filesAdded; - filesAddedChecksum = other821.filesAddedChecksum; - __isset = other821.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other827) { + replace = other827.replace; + filesAdded = other827.filesAdded; + filesAddedChecksum = other827.filesAddedChecksum; + __isset = other827.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -20360,13 +20474,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other822) { - insertData = other822.insertData; - __isset = other822.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other828) { + insertData = other828.insertData; + __isset = other828.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other823) { - insertData = other823.insertData; - __isset = other823.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other829) { + insertData = other829.insertData; + __isset = other829.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -20463,14 +20577,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size824; - ::apache::thrift::protocol::TType _etype827; - xfer += iprot->readListBegin(_etype827, _size824); - this->partitionVals.resize(_size824); - uint32_t _i828; - for (_i828 = 0; _i828 < _size824; ++_i828) + uint32_t _size830; + ::apache::thrift::protocol::TType _etype833; + xfer += iprot->readListBegin(_etype833, _size830); + this->partitionVals.resize(_size830); + uint32_t _i834; + for (_i834 = 0; _i834 < _size830; ++_i834) { - xfer += iprot->readString(this->partitionVals[_i828]); + xfer += iprot->readString(this->partitionVals[_i834]); } xfer += iprot->readListEnd(); } @@ -20522,10 +20636,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 _iter829; - for (_iter829 = this->partitionVals.begin(); _iter829 != this->partitionVals.end(); ++_iter829) + std::vector ::const_iterator _iter835; + for (_iter835 = this->partitionVals.begin(); _iter835 != this->partitionVals.end(); ++_iter835) { - xfer += oprot->writeString((*_iter829)); + xfer += oprot->writeString((*_iter835)); } xfer += oprot->writeListEnd(); } @@ -20546,21 +20660,21 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other830) { - successful = other830.successful; - data = other830.data; - dbName = other830.dbName; - tableName = other830.tableName; - partitionVals = other830.partitionVals; - __isset = other830.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other831) { - successful = other831.successful; - data = other831.data; - dbName = other831.dbName; - tableName = other831.tableName; - partitionVals = other831.partitionVals; - __isset = other831.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other836) { + successful = other836.successful; + data = other836.data; + dbName = other836.dbName; + tableName = other836.tableName; + partitionVals = other836.partitionVals; + __isset = other836.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other837) { + successful = other837.successful; + data = other837.data; + dbName = other837.dbName; + tableName = other837.tableName; + partitionVals = other837.partitionVals; + __isset = other837.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -20623,11 +20737,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other832) { - (void) other832; +FireEventResponse::FireEventResponse(const FireEventResponse& other838) { + (void) other838; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other833) { - (void) other833; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other839) { + (void) other839; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -20727,15 +20841,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other834) { - metadata = other834.metadata; - includeBitset = other834.includeBitset; - __isset = other834.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other840) { + metadata = other840.metadata; + includeBitset = other840.includeBitset; + __isset = other840.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other835) { - metadata = other835.metadata; - includeBitset = other835.includeBitset; - __isset = other835.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other841) { + metadata = other841.metadata; + includeBitset = other841.includeBitset; + __isset = other841.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -20786,17 +20900,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size836; - ::apache::thrift::protocol::TType _ktype837; - ::apache::thrift::protocol::TType _vtype838; - xfer += iprot->readMapBegin(_ktype837, _vtype838, _size836); - uint32_t _i840; - for (_i840 = 0; _i840 < _size836; ++_i840) + uint32_t _size842; + ::apache::thrift::protocol::TType _ktype843; + ::apache::thrift::protocol::TType _vtype844; + xfer += iprot->readMapBegin(_ktype843, _vtype844, _size842); + uint32_t _i846; + for (_i846 = 0; _i846 < _size842; ++_i846) { - int64_t _key841; - xfer += iprot->readI64(_key841); - MetadataPpdResult& _val842 = this->metadata[_key841]; - xfer += _val842.read(iprot); + int64_t _key847; + xfer += iprot->readI64(_key847); + MetadataPpdResult& _val848 = this->metadata[_key847]; + xfer += _val848.read(iprot); } xfer += iprot->readMapEnd(); } @@ -20837,11 +20951,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 _iter843; - for (_iter843 = this->metadata.begin(); _iter843 != this->metadata.end(); ++_iter843) + std::map ::const_iterator _iter849; + for (_iter849 = this->metadata.begin(); _iter849 != this->metadata.end(); ++_iter849) { - xfer += oprot->writeI64(_iter843->first); - xfer += _iter843->second.write(oprot); + xfer += oprot->writeI64(_iter849->first); + xfer += _iter849->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -20862,13 +20976,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other844) { - metadata = other844.metadata; - isSupported = other844.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other850) { + metadata = other850.metadata; + isSupported = other850.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other845) { - metadata = other845.metadata; - isSupported = other845.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other851) { + metadata = other851.metadata; + isSupported = other851.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -20929,14 +21043,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size846; - ::apache::thrift::protocol::TType _etype849; - xfer += iprot->readListBegin(_etype849, _size846); - this->fileIds.resize(_size846); - uint32_t _i850; - for (_i850 = 0; _i850 < _size846; ++_i850) + uint32_t _size852; + ::apache::thrift::protocol::TType _etype855; + xfer += iprot->readListBegin(_etype855, _size852); + this->fileIds.resize(_size852); + uint32_t _i856; + for (_i856 = 0; _i856 < _size852; ++_i856) { - xfer += iprot->readI64(this->fileIds[_i850]); + xfer += iprot->readI64(this->fileIds[_i856]); } xfer += iprot->readListEnd(); } @@ -20963,9 +21077,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast851; - xfer += iprot->readI32(ecast851); - this->type = (FileMetadataExprType::type)ecast851; + int32_t ecast857; + xfer += iprot->readI32(ecast857); + this->type = (FileMetadataExprType::type)ecast857; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -20995,10 +21109,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 _iter852; - for (_iter852 = this->fileIds.begin(); _iter852 != this->fileIds.end(); ++_iter852) + std::vector ::const_iterator _iter858; + for (_iter858 = this->fileIds.begin(); _iter858 != this->fileIds.end(); ++_iter858) { - xfer += oprot->writeI64((*_iter852)); + xfer += oprot->writeI64((*_iter858)); } xfer += oprot->writeListEnd(); } @@ -21032,19 +21146,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other853) { - fileIds = other853.fileIds; - expr = other853.expr; - doGetFooters = other853.doGetFooters; - type = other853.type; - __isset = other853.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other859) { + fileIds = other859.fileIds; + expr = other859.expr; + doGetFooters = other859.doGetFooters; + type = other859.type; + __isset = other859.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other854) { - fileIds = other854.fileIds; - expr = other854.expr; - doGetFooters = other854.doGetFooters; - type = other854.type; - __isset = other854.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other860) { + fileIds = other860.fileIds; + expr = other860.expr; + doGetFooters = other860.doGetFooters; + type = other860.type; + __isset = other860.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -21097,17 +21211,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size855; - ::apache::thrift::protocol::TType _ktype856; - ::apache::thrift::protocol::TType _vtype857; - xfer += iprot->readMapBegin(_ktype856, _vtype857, _size855); - uint32_t _i859; - for (_i859 = 0; _i859 < _size855; ++_i859) + uint32_t _size861; + ::apache::thrift::protocol::TType _ktype862; + ::apache::thrift::protocol::TType _vtype863; + xfer += iprot->readMapBegin(_ktype862, _vtype863, _size861); + uint32_t _i865; + for (_i865 = 0; _i865 < _size861; ++_i865) { - int64_t _key860; - xfer += iprot->readI64(_key860); - std::string& _val861 = this->metadata[_key860]; - xfer += iprot->readBinary(_val861); + int64_t _key866; + xfer += iprot->readI64(_key866); + std::string& _val867 = this->metadata[_key866]; + xfer += iprot->readBinary(_val867); } xfer += iprot->readMapEnd(); } @@ -21148,11 +21262,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 _iter862; - for (_iter862 = this->metadata.begin(); _iter862 != this->metadata.end(); ++_iter862) + std::map ::const_iterator _iter868; + for (_iter868 = this->metadata.begin(); _iter868 != this->metadata.end(); ++_iter868) { - xfer += oprot->writeI64(_iter862->first); - xfer += oprot->writeBinary(_iter862->second); + xfer += oprot->writeI64(_iter868->first); + xfer += oprot->writeBinary(_iter868->second); } xfer += oprot->writeMapEnd(); } @@ -21173,13 +21287,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other863) { - metadata = other863.metadata; - isSupported = other863.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other869) { + metadata = other869.metadata; + isSupported = other869.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other864) { - metadata = other864.metadata; - isSupported = other864.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other870) { + metadata = other870.metadata; + isSupported = other870.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -21225,14 +21339,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size865; - ::apache::thrift::protocol::TType _etype868; - xfer += iprot->readListBegin(_etype868, _size865); - this->fileIds.resize(_size865); - uint32_t _i869; - for (_i869 = 0; _i869 < _size865; ++_i869) + uint32_t _size871; + ::apache::thrift::protocol::TType _etype874; + xfer += iprot->readListBegin(_etype874, _size871); + this->fileIds.resize(_size871); + uint32_t _i875; + for (_i875 = 0; _i875 < _size871; ++_i875) { - xfer += iprot->readI64(this->fileIds[_i869]); + xfer += iprot->readI64(this->fileIds[_i875]); } xfer += iprot->readListEnd(); } @@ -21263,10 +21377,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 _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(); } @@ -21282,11 +21396,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other871) { - fileIds = other871.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other877) { + fileIds = other877.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other872) { - fileIds = other872.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other878) { + fileIds = other878.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -21345,11 +21459,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other873) { - (void) other873; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other879) { + (void) other879; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other874) { - (void) other874; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other880) { + (void) other880; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -21403,14 +21517,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size875; - ::apache::thrift::protocol::TType _etype878; - xfer += iprot->readListBegin(_etype878, _size875); - this->fileIds.resize(_size875); - uint32_t _i879; - for (_i879 = 0; _i879 < _size875; ++_i879) + uint32_t _size881; + ::apache::thrift::protocol::TType _etype884; + xfer += iprot->readListBegin(_etype884, _size881); + this->fileIds.resize(_size881); + uint32_t _i885; + for (_i885 = 0; _i885 < _size881; ++_i885) { - xfer += iprot->readI64(this->fileIds[_i879]); + xfer += iprot->readI64(this->fileIds[_i885]); } xfer += iprot->readListEnd(); } @@ -21423,14 +21537,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size880; - ::apache::thrift::protocol::TType _etype883; - xfer += iprot->readListBegin(_etype883, _size880); - this->metadata.resize(_size880); - uint32_t _i884; - for (_i884 = 0; _i884 < _size880; ++_i884) + uint32_t _size886; + ::apache::thrift::protocol::TType _etype889; + xfer += iprot->readListBegin(_etype889, _size886); + this->metadata.resize(_size886); + uint32_t _i890; + for (_i890 = 0; _i890 < _size886; ++_i890) { - xfer += iprot->readBinary(this->metadata[_i884]); + xfer += iprot->readBinary(this->metadata[_i890]); } xfer += iprot->readListEnd(); } @@ -21441,9 +21555,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast885; - xfer += iprot->readI32(ecast885); - this->type = (FileMetadataExprType::type)ecast885; + int32_t ecast891; + xfer += iprot->readI32(ecast891); + this->type = (FileMetadataExprType::type)ecast891; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -21473,10 +21587,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 _iter886; - for (_iter886 = this->fileIds.begin(); _iter886 != this->fileIds.end(); ++_iter886) + std::vector ::const_iterator _iter892; + for (_iter892 = this->fileIds.begin(); _iter892 != this->fileIds.end(); ++_iter892) { - xfer += oprot->writeI64((*_iter886)); + xfer += oprot->writeI64((*_iter892)); } xfer += oprot->writeListEnd(); } @@ -21485,10 +21599,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 _iter887; - for (_iter887 = this->metadata.begin(); _iter887 != this->metadata.end(); ++_iter887) + std::vector ::const_iterator _iter893; + for (_iter893 = this->metadata.begin(); _iter893 != this->metadata.end(); ++_iter893) { - xfer += oprot->writeBinary((*_iter887)); + xfer += oprot->writeBinary((*_iter893)); } xfer += oprot->writeListEnd(); } @@ -21512,17 +21626,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other888) { - fileIds = other888.fileIds; - metadata = other888.metadata; - type = other888.type; - __isset = other888.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other894) { + fileIds = other894.fileIds; + metadata = other894.metadata; + type = other894.type; + __isset = other894.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other889) { - fileIds = other889.fileIds; - metadata = other889.metadata; - type = other889.type; - __isset = other889.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other895) { + fileIds = other895.fileIds; + metadata = other895.metadata; + type = other895.type; + __isset = other895.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -21583,11 +21697,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other890) { - (void) other890; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other896) { + (void) other896; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other891) { - (void) other891; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other897) { + (void) other897; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -21631,14 +21745,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size892; - ::apache::thrift::protocol::TType _etype895; - xfer += iprot->readListBegin(_etype895, _size892); - this->fileIds.resize(_size892); - uint32_t _i896; - for (_i896 = 0; _i896 < _size892; ++_i896) + uint32_t _size898; + ::apache::thrift::protocol::TType _etype901; + xfer += iprot->readListBegin(_etype901, _size898); + this->fileIds.resize(_size898); + uint32_t _i902; + for (_i902 = 0; _i902 < _size898; ++_i902) { - xfer += iprot->readI64(this->fileIds[_i896]); + xfer += iprot->readI64(this->fileIds[_i902]); } xfer += iprot->readListEnd(); } @@ -21669,10 +21783,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 _iter897; - for (_iter897 = this->fileIds.begin(); _iter897 != this->fileIds.end(); ++_iter897) + std::vector ::const_iterator _iter903; + for (_iter903 = this->fileIds.begin(); _iter903 != this->fileIds.end(); ++_iter903) { - xfer += oprot->writeI64((*_iter897)); + xfer += oprot->writeI64((*_iter903)); } xfer += oprot->writeListEnd(); } @@ -21688,11 +21802,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other898) { - fileIds = other898.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other904) { + fileIds = other904.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other899) { - fileIds = other899.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other905) { + fileIds = other905.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -21774,11 +21888,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other900) { - isSupported = other900.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other906) { + isSupported = other906.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other901) { - isSupported = other901.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other907) { + isSupported = other907.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -21919,19 +22033,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other902) { - dbName = other902.dbName; - tblName = other902.tblName; - partName = other902.partName; - isAllParts = other902.isAllParts; - __isset = other902.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other908) { + dbName = other908.dbName; + tblName = other908.tblName; + partName = other908.partName; + isAllParts = other908.isAllParts; + __isset = other908.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other903) { - dbName = other903.dbName; - tblName = other903.tblName; - partName = other903.partName; - isAllParts = other903.isAllParts; - __isset = other903.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other909) { + dbName = other909.dbName; + tblName = other909.tblName; + partName = other909.partName; + isAllParts = other909.isAllParts; + __isset = other909.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -21979,14 +22093,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size904; - ::apache::thrift::protocol::TType _etype907; - xfer += iprot->readListBegin(_etype907, _size904); - this->functions.resize(_size904); - uint32_t _i908; - for (_i908 = 0; _i908 < _size904; ++_i908) + uint32_t _size910; + ::apache::thrift::protocol::TType _etype913; + xfer += iprot->readListBegin(_etype913, _size910); + this->functions.resize(_size910); + uint32_t _i914; + for (_i914 = 0; _i914 < _size910; ++_i914) { - xfer += this->functions[_i908].read(iprot); + xfer += this->functions[_i914].read(iprot); } xfer += iprot->readListEnd(); } @@ -22016,10 +22130,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 _iter909; - for (_iter909 = this->functions.begin(); _iter909 != this->functions.end(); ++_iter909) + std::vector ::const_iterator _iter915; + for (_iter915 = this->functions.begin(); _iter915 != this->functions.end(); ++_iter915) { - xfer += (*_iter909).write(oprot); + xfer += (*_iter915).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22036,13 +22150,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other910) { - functions = other910.functions; - __isset = other910.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other916) { + functions = other916.functions; + __isset = other916.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other911) { - functions = other911.functions; - __isset = other911.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other917) { + functions = other917.functions; + __isset = other917.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -22087,16 +22201,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size912; - ::apache::thrift::protocol::TType _etype915; - xfer += iprot->readListBegin(_etype915, _size912); - this->values.resize(_size912); - uint32_t _i916; - for (_i916 = 0; _i916 < _size912; ++_i916) + uint32_t _size918; + ::apache::thrift::protocol::TType _etype921; + xfer += iprot->readListBegin(_etype921, _size918); + this->values.resize(_size918); + uint32_t _i922; + for (_i922 = 0; _i922 < _size918; ++_i922) { - int32_t ecast917; - xfer += iprot->readI32(ecast917); - this->values[_i916] = (ClientCapability::type)ecast917; + int32_t ecast923; + xfer += iprot->readI32(ecast923); + this->values[_i922] = (ClientCapability::type)ecast923; } xfer += iprot->readListEnd(); } @@ -22127,10 +22241,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 _iter918; - for (_iter918 = this->values.begin(); _iter918 != this->values.end(); ++_iter918) + std::vector ::const_iterator _iter924; + for (_iter924 = this->values.begin(); _iter924 != this->values.end(); ++_iter924) { - xfer += oprot->writeI32((int32_t)(*_iter918)); + xfer += oprot->writeI32((int32_t)(*_iter924)); } xfer += oprot->writeListEnd(); } @@ -22146,11 +22260,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other919) { - values = other919.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other925) { + values = other925.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other920) { - values = other920.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other926) { + values = other926.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -22272,17 +22386,17 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other921) { - dbName = other921.dbName; - tblName = other921.tblName; - capabilities = other921.capabilities; - __isset = other921.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other927) { + dbName = other927.dbName; + tblName = other927.tblName; + capabilities = other927.capabilities; + __isset = other927.__isset; } -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other922) { - dbName = other922.dbName; - tblName = other922.tblName; - capabilities = other922.capabilities; - __isset = other922.__isset; +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other928) { + dbName = other928.dbName; + tblName = other928.tblName; + capabilities = other928.capabilities; + __isset = other928.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -22366,11 +22480,11 @@ void swap(GetTableResult &a, GetTableResult &b) { swap(a.table, b.table); } -GetTableResult::GetTableResult(const GetTableResult& other923) { - table = other923.table; +GetTableResult::GetTableResult(const GetTableResult& other929) { + table = other929.table; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other924) { - table = other924.table; +GetTableResult& GetTableResult::operator=(const GetTableResult& other930) { + table = other930.table; return *this; } void GetTableResult::printTo(std::ostream& out) const { @@ -22433,14 +22547,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size925; - ::apache::thrift::protocol::TType _etype928; - xfer += iprot->readListBegin(_etype928, _size925); - this->tblNames.resize(_size925); - uint32_t _i929; - for (_i929 = 0; _i929 < _size925; ++_i929) + uint32_t _size931; + ::apache::thrift::protocol::TType _etype934; + xfer += iprot->readListBegin(_etype934, _size931); + this->tblNames.resize(_size931); + uint32_t _i935; + for (_i935 = 0; _i935 < _size931; ++_i935) { - xfer += iprot->readString(this->tblNames[_i929]); + xfer += iprot->readString(this->tblNames[_i935]); } xfer += iprot->readListEnd(); } @@ -22484,10 +22598,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 _iter930; - for (_iter930 = this->tblNames.begin(); _iter930 != this->tblNames.end(); ++_iter930) + std::vector ::const_iterator _iter936; + for (_iter936 = this->tblNames.begin(); _iter936 != this->tblNames.end(); ++_iter936) { - xfer += oprot->writeString((*_iter930)); + xfer += oprot->writeString((*_iter936)); } xfer += oprot->writeListEnd(); } @@ -22511,17 +22625,17 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other931) { - dbName = other931.dbName; - tblNames = other931.tblNames; - capabilities = other931.capabilities; - __isset = other931.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other937) { + dbName = other937.dbName; + tblNames = other937.tblNames; + capabilities = other937.capabilities; + __isset = other937.__isset; } -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other932) { - dbName = other932.dbName; - tblNames = other932.tblNames; - capabilities = other932.capabilities; - __isset = other932.__isset; +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other938) { + dbName = other938.dbName; + tblNames = other938.tblNames; + capabilities = other938.capabilities; + __isset = other938.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -22568,14 +22682,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size933; - ::apache::thrift::protocol::TType _etype936; - xfer += iprot->readListBegin(_etype936, _size933); - this->tables.resize(_size933); - uint32_t _i937; - for (_i937 = 0; _i937 < _size933; ++_i937) + uint32_t _size939; + ::apache::thrift::protocol::TType _etype942; + xfer += iprot->readListBegin(_etype942, _size939); + this->tables.resize(_size939); + uint32_t _i943; + for (_i943 = 0; _i943 < _size939; ++_i943) { - xfer += this->tables[_i937].read(iprot); + xfer += this->tables[_i943].read(iprot); } xfer += iprot->readListEnd(); } @@ -22606,10 +22720,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 _iter938; - for (_iter938 = this->tables.begin(); _iter938 != this->tables.end(); ++_iter938) + std::vector
::const_iterator _iter944; + for (_iter944 = this->tables.begin(); _iter944 != this->tables.end(); ++_iter944) { - xfer += (*_iter938).write(oprot); + xfer += (*_iter944).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22625,11 +22739,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other939) { - tables = other939.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other945) { + tables = other945.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other940) { - tables = other940.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other946) { + tables = other946.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -22731,13 +22845,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other941) { - dataPath = other941.dataPath; - purge = other941.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other947) { + dataPath = other947.dataPath; + purge = other947.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other942) { - dataPath = other942.dataPath; - purge = other942.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other948) { + dataPath = other948.dataPath; + purge = other948.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -22797,11 +22911,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other943) { - (void) other943; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other949) { + (void) other949; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other944) { - (void) other944; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other950) { + (void) other950; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -22942,19 +23056,19 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other945) { - dbName = other945.dbName; - tableName = other945.tableName; - tableType = other945.tableType; - comments = other945.comments; - __isset = other945.__isset; +TableMeta::TableMeta(const TableMeta& other951) { + dbName = other951.dbName; + tableName = other951.tableName; + tableType = other951.tableType; + comments = other951.comments; + __isset = other951.__isset; } -TableMeta& TableMeta::operator=(const TableMeta& other946) { - dbName = other946.dbName; - tableName = other946.tableName; - tableType = other946.tableType; - comments = other946.comments; - __isset = other946.__isset; +TableMeta& TableMeta::operator=(const TableMeta& other952) { + dbName = other952.dbName; + tableName = other952.tableName; + tableType = other952.tableType; + comments = other952.comments; + __isset = other952.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -23012,15 +23126,15 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size947; - ::apache::thrift::protocol::TType _etype950; - xfer += iprot->readSetBegin(_etype950, _size947); - uint32_t _i951; - for (_i951 = 0; _i951 < _size947; ++_i951) + uint32_t _size953; + ::apache::thrift::protocol::TType _etype956; + xfer += iprot->readSetBegin(_etype956, _size953); + uint32_t _i957; + for (_i957 = 0; _i957 < _size953; ++_i957) { - std::string _elem952; - xfer += iprot->readString(_elem952); - this->tablesUsed.insert(_elem952); + std::string _elem958; + xfer += iprot->readString(_elem958); + this->tablesUsed.insert(_elem958); } xfer += iprot->readSetEnd(); } @@ -23069,10 +23183,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 _iter953; - for (_iter953 = this->tablesUsed.begin(); _iter953 != this->tablesUsed.end(); ++_iter953) + std::set ::const_iterator _iter959; + for (_iter959 = this->tablesUsed.begin(); _iter959 != this->tablesUsed.end(); ++_iter959) { - xfer += oprot->writeString((*_iter953)); + xfer += oprot->writeString((*_iter959)); } xfer += oprot->writeSetEnd(); } @@ -23100,17 +23214,17 @@ void swap(Materialization &a, Materialization &b) { swap(a.__isset, b.__isset); } -Materialization::Materialization(const Materialization& other954) { - tablesUsed = other954.tablesUsed; - validTxnList = other954.validTxnList; - invalidationTime = other954.invalidationTime; - __isset = other954.__isset; +Materialization::Materialization(const Materialization& other960) { + tablesUsed = other960.tablesUsed; + validTxnList = other960.validTxnList; + invalidationTime = other960.invalidationTime; + __isset = other960.__isset; } -Materialization& Materialization::operator=(const Materialization& other955) { - tablesUsed = other955.tablesUsed; - validTxnList = other955.validTxnList; - invalidationTime = other955.invalidationTime; - __isset = other955.__isset; +Materialization& Materialization::operator=(const Materialization& other961) { + tablesUsed = other961.tablesUsed; + validTxnList = other961.validTxnList; + invalidationTime = other961.invalidationTime; + __isset = other961.__isset; return *this; } void Materialization::printTo(std::ostream& out) const { @@ -23178,9 +23292,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast956; - xfer += iprot->readI32(ecast956); - this->status = (WMResourcePlanStatus::type)ecast956; + int32_t ecast962; + xfer += iprot->readI32(ecast962); + this->status = (WMResourcePlanStatus::type)ecast962; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -23254,19 +23368,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other957) { - name = other957.name; - status = other957.status; - queryParallelism = other957.queryParallelism; - defaultPoolPath = other957.defaultPoolPath; - __isset = other957.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other963) { + name = other963.name; + status = other963.status; + queryParallelism = other963.queryParallelism; + defaultPoolPath = other963.defaultPoolPath; + __isset = other963.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other958) { - name = other958.name; - status = other958.status; - queryParallelism = other958.queryParallelism; - defaultPoolPath = other958.defaultPoolPath; - __isset = other958.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other964) { + name = other964.name; + status = other964.status; + queryParallelism = other964.queryParallelism; + defaultPoolPath = other964.defaultPoolPath; + __isset = other964.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -23345,9 +23459,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast959; - xfer += iprot->readI32(ecast959); - this->status = (WMResourcePlanStatus::type)ecast959; + int32_t ecast965; + xfer += iprot->readI32(ecast965); + this->status = (WMResourcePlanStatus::type)ecast965; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -23449,23 +23563,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other960) { - name = other960.name; - status = other960.status; - queryParallelism = other960.queryParallelism; - isSetQueryParallelism = other960.isSetQueryParallelism; - defaultPoolPath = other960.defaultPoolPath; - isSetDefaultPoolPath = other960.isSetDefaultPoolPath; - __isset = other960.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other966) { + name = other966.name; + status = other966.status; + queryParallelism = other966.queryParallelism; + isSetQueryParallelism = other966.isSetQueryParallelism; + defaultPoolPath = other966.defaultPoolPath; + isSetDefaultPoolPath = other966.isSetDefaultPoolPath; + __isset = other966.__isset; } -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other961) { - name = other961.name; - status = other961.status; - queryParallelism = other961.queryParallelism; - isSetQueryParallelism = other961.isSetQueryParallelism; - defaultPoolPath = other961.defaultPoolPath; - isSetDefaultPoolPath = other961.isSetDefaultPoolPath; - __isset = other961.__isset; +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other967) { + name = other967.name; + status = other967.status; + queryParallelism = other967.queryParallelism; + isSetQueryParallelism = other967.isSetQueryParallelism; + defaultPoolPath = other967.defaultPoolPath; + isSetDefaultPoolPath = other967.isSetDefaultPoolPath; + __isset = other967.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -23630,21 +23744,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other962) { - resourcePlanName = other962.resourcePlanName; - poolPath = other962.poolPath; - allocFraction = other962.allocFraction; - queryParallelism = other962.queryParallelism; - schedulingPolicy = other962.schedulingPolicy; - __isset = other962.__isset; +WMPool::WMPool(const WMPool& other968) { + resourcePlanName = other968.resourcePlanName; + poolPath = other968.poolPath; + allocFraction = other968.allocFraction; + queryParallelism = other968.queryParallelism; + schedulingPolicy = other968.schedulingPolicy; + __isset = other968.__isset; } -WMPool& WMPool::operator=(const WMPool& other963) { - resourcePlanName = other963.resourcePlanName; - poolPath = other963.poolPath; - allocFraction = other963.allocFraction; - queryParallelism = other963.queryParallelism; - schedulingPolicy = other963.schedulingPolicy; - __isset = other963.__isset; +WMPool& WMPool::operator=(const WMPool& other969) { + resourcePlanName = other969.resourcePlanName; + poolPath = other969.poolPath; + allocFraction = other969.allocFraction; + queryParallelism = other969.queryParallelism; + schedulingPolicy = other969.schedulingPolicy; + __isset = other969.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -23827,23 +23941,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other964) { - resourcePlanName = other964.resourcePlanName; - poolPath = other964.poolPath; - allocFraction = other964.allocFraction; - queryParallelism = other964.queryParallelism; - schedulingPolicy = other964.schedulingPolicy; - isSetSchedulingPolicy = other964.isSetSchedulingPolicy; - __isset = other964.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other965) { - resourcePlanName = other965.resourcePlanName; - poolPath = other965.poolPath; - allocFraction = other965.allocFraction; - queryParallelism = other965.queryParallelism; - schedulingPolicy = other965.schedulingPolicy; - isSetSchedulingPolicy = other965.isSetSchedulingPolicy; - __isset = other965.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other970) { + resourcePlanName = other970.resourcePlanName; + poolPath = other970.poolPath; + allocFraction = other970.allocFraction; + queryParallelism = other970.queryParallelism; + schedulingPolicy = other970.schedulingPolicy; + isSetSchedulingPolicy = other970.isSetSchedulingPolicy; + __isset = other970.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other971) { + resourcePlanName = other971.resourcePlanName; + poolPath = other971.poolPath; + allocFraction = other971.allocFraction; + queryParallelism = other971.queryParallelism; + schedulingPolicy = other971.schedulingPolicy; + isSetSchedulingPolicy = other971.isSetSchedulingPolicy; + __isset = other971.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -24008,21 +24122,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other966) { - resourcePlanName = other966.resourcePlanName; - triggerName = other966.triggerName; - triggerExpression = other966.triggerExpression; - actionExpression = other966.actionExpression; - isInUnmanaged = other966.isInUnmanaged; - __isset = other966.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other967) { - resourcePlanName = other967.resourcePlanName; - triggerName = other967.triggerName; - triggerExpression = other967.triggerExpression; - actionExpression = other967.actionExpression; - isInUnmanaged = other967.isInUnmanaged; - __isset = other967.__isset; +WMTrigger::WMTrigger(const WMTrigger& other972) { + resourcePlanName = other972.resourcePlanName; + triggerName = other972.triggerName; + triggerExpression = other972.triggerExpression; + actionExpression = other972.actionExpression; + isInUnmanaged = other972.isInUnmanaged; + __isset = other972.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other973) { + resourcePlanName = other973.resourcePlanName; + triggerName = other973.triggerName; + triggerExpression = other973.triggerExpression; + actionExpression = other973.actionExpression; + isInUnmanaged = other973.isInUnmanaged; + __isset = other973.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -24187,21 +24301,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other968) { - resourcePlanName = other968.resourcePlanName; - entityType = other968.entityType; - entityName = other968.entityName; - poolPath = other968.poolPath; - ordering = other968.ordering; - __isset = other968.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other969) { - resourcePlanName = other969.resourcePlanName; - entityType = other969.entityType; - entityName = other969.entityName; - poolPath = other969.poolPath; - ordering = other969.ordering; - __isset = other969.__isset; +WMMapping::WMMapping(const WMMapping& other974) { + resourcePlanName = other974.resourcePlanName; + entityType = other974.entityType; + entityName = other974.entityName; + poolPath = other974.poolPath; + ordering = other974.ordering; + __isset = other974.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other975) { + resourcePlanName = other975.resourcePlanName; + entityType = other975.entityType; + entityName = other975.entityName; + poolPath = other975.poolPath; + ordering = other975.ordering; + __isset = other975.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -24307,13 +24421,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other970) { - pool = other970.pool; - trigger = other970.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other976) { + pool = other976.pool; + trigger = other976.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other971) { - pool = other971.pool; - trigger = other971.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other977) { + pool = other977.pool; + trigger = other977.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -24387,14 +24501,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size972; - ::apache::thrift::protocol::TType _etype975; - xfer += iprot->readListBegin(_etype975, _size972); - this->pools.resize(_size972); - uint32_t _i976; - for (_i976 = 0; _i976 < _size972; ++_i976) + uint32_t _size978; + ::apache::thrift::protocol::TType _etype981; + xfer += iprot->readListBegin(_etype981, _size978); + this->pools.resize(_size978); + uint32_t _i982; + for (_i982 = 0; _i982 < _size978; ++_i982) { - xfer += this->pools[_i976].read(iprot); + xfer += this->pools[_i982].read(iprot); } xfer += iprot->readListEnd(); } @@ -24407,14 +24521,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size977; - ::apache::thrift::protocol::TType _etype980; - xfer += iprot->readListBegin(_etype980, _size977); - this->mappings.resize(_size977); - uint32_t _i981; - for (_i981 = 0; _i981 < _size977; ++_i981) + uint32_t _size983; + ::apache::thrift::protocol::TType _etype986; + xfer += iprot->readListBegin(_etype986, _size983); + this->mappings.resize(_size983); + uint32_t _i987; + for (_i987 = 0; _i987 < _size983; ++_i987) { - xfer += this->mappings[_i981].read(iprot); + xfer += this->mappings[_i987].read(iprot); } xfer += iprot->readListEnd(); } @@ -24427,14 +24541,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size982; - ::apache::thrift::protocol::TType _etype985; - xfer += iprot->readListBegin(_etype985, _size982); - this->triggers.resize(_size982); - uint32_t _i986; - for (_i986 = 0; _i986 < _size982; ++_i986) + uint32_t _size988; + ::apache::thrift::protocol::TType _etype991; + xfer += iprot->readListBegin(_etype991, _size988); + this->triggers.resize(_size988); + uint32_t _i992; + for (_i992 = 0; _i992 < _size988; ++_i992) { - xfer += this->triggers[_i986].read(iprot); + xfer += this->triggers[_i992].read(iprot); } xfer += iprot->readListEnd(); } @@ -24447,14 +24561,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size987; - ::apache::thrift::protocol::TType _etype990; - xfer += iprot->readListBegin(_etype990, _size987); - this->poolTriggers.resize(_size987); - uint32_t _i991; - for (_i991 = 0; _i991 < _size987; ++_i991) + uint32_t _size993; + ::apache::thrift::protocol::TType _etype996; + xfer += iprot->readListBegin(_etype996, _size993); + this->poolTriggers.resize(_size993); + uint32_t _i997; + for (_i997 = 0; _i997 < _size993; ++_i997) { - xfer += this->poolTriggers[_i991].read(iprot); + xfer += this->poolTriggers[_i997].read(iprot); } xfer += iprot->readListEnd(); } @@ -24491,10 +24605,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 _iter992; - for (_iter992 = this->pools.begin(); _iter992 != this->pools.end(); ++_iter992) + std::vector ::const_iterator _iter998; + for (_iter998 = this->pools.begin(); _iter998 != this->pools.end(); ++_iter998) { - xfer += (*_iter992).write(oprot); + xfer += (*_iter998).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24504,10 +24618,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 _iter993; - for (_iter993 = this->mappings.begin(); _iter993 != this->mappings.end(); ++_iter993) + std::vector ::const_iterator _iter999; + for (_iter999 = this->mappings.begin(); _iter999 != this->mappings.end(); ++_iter999) { - xfer += (*_iter993).write(oprot); + xfer += (*_iter999).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24517,10 +24631,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 _iter994; - for (_iter994 = this->triggers.begin(); _iter994 != this->triggers.end(); ++_iter994) + std::vector ::const_iterator _iter1000; + for (_iter1000 = this->triggers.begin(); _iter1000 != this->triggers.end(); ++_iter1000) { - xfer += (*_iter994).write(oprot); + xfer += (*_iter1000).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24530,10 +24644,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 _iter995; - for (_iter995 = this->poolTriggers.begin(); _iter995 != this->poolTriggers.end(); ++_iter995) + std::vector ::const_iterator _iter1001; + for (_iter1001 = this->poolTriggers.begin(); _iter1001 != this->poolTriggers.end(); ++_iter1001) { - xfer += (*_iter995).write(oprot); + xfer += (*_iter1001).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24554,21 +24668,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other996) { - plan = other996.plan; - pools = other996.pools; - mappings = other996.mappings; - triggers = other996.triggers; - poolTriggers = other996.poolTriggers; - __isset = other996.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other997) { - plan = other997.plan; - pools = other997.pools; - mappings = other997.mappings; - triggers = other997.triggers; - poolTriggers = other997.poolTriggers; - __isset = other997.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other1002) { + plan = other1002.plan; + pools = other1002.pools; + mappings = other1002.mappings; + triggers = other1002.triggers; + poolTriggers = other1002.poolTriggers; + __isset = other1002.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other1003) { + plan = other1003.plan; + pools = other1003.pools; + mappings = other1003.mappings; + triggers = other1003.triggers; + poolTriggers = other1003.poolTriggers; + __isset = other1003.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -24673,15 +24787,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other998) { - resourcePlan = other998.resourcePlan; - copyFrom = other998.copyFrom; - __isset = other998.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other1004) { + resourcePlan = other1004.resourcePlan; + copyFrom = other1004.copyFrom; + __isset = other1004.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other999) { - resourcePlan = other999.resourcePlan; - copyFrom = other999.copyFrom; - __isset = other999.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other1005) { + resourcePlan = other1005.resourcePlan; + copyFrom = other1005.copyFrom; + __isset = other1005.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -24741,11 +24855,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1000) { - (void) other1000; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other1006) { + (void) other1006; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1001) { - (void) other1001; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other1007) { + (void) other1007; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -24803,11 +24917,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1002) { - (void) other1002; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other1008) { + (void) other1008; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1003) { - (void) other1003; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other1009) { + (void) other1009; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -24888,13 +25002,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1004) { - resourcePlan = other1004.resourcePlan; - __isset = other1004.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other1010) { + resourcePlan = other1010.resourcePlan; + __isset = other1010.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1005) { - resourcePlan = other1005.resourcePlan; - __isset = other1005.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1011) { + resourcePlan = other1011.resourcePlan; + __isset = other1011.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -24976,13 +25090,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1006) { - resourcePlanName = other1006.resourcePlanName; - __isset = other1006.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1012) { + resourcePlanName = other1012.resourcePlanName; + __isset = other1012.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1007) { - resourcePlanName = other1007.resourcePlanName; - __isset = other1007.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1013) { + resourcePlanName = other1013.resourcePlanName; + __isset = other1013.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -25064,13 +25178,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1008) { - resourcePlan = other1008.resourcePlan; - __isset = other1008.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1014) { + resourcePlan = other1014.resourcePlan; + __isset = other1014.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1009) { - resourcePlan = other1009.resourcePlan; - __isset = other1009.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1015) { + resourcePlan = other1015.resourcePlan; + __isset = other1015.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -25129,11 +25243,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1010) { - (void) other1010; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1016) { + (void) other1016; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1011) { - (void) other1011; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1017) { + (void) other1017; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -25177,14 +25291,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size1012; - ::apache::thrift::protocol::TType _etype1015; - xfer += iprot->readListBegin(_etype1015, _size1012); - this->resourcePlans.resize(_size1012); - uint32_t _i1016; - for (_i1016 = 0; _i1016 < _size1012; ++_i1016) + uint32_t _size1018; + ::apache::thrift::protocol::TType _etype1021; + xfer += iprot->readListBegin(_etype1021, _size1018); + this->resourcePlans.resize(_size1018); + uint32_t _i1022; + for (_i1022 = 0; _i1022 < _size1018; ++_i1022) { - xfer += this->resourcePlans[_i1016].read(iprot); + xfer += this->resourcePlans[_i1022].read(iprot); } xfer += iprot->readListEnd(); } @@ -25214,10 +25328,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 _iter1017; - for (_iter1017 = this->resourcePlans.begin(); _iter1017 != this->resourcePlans.end(); ++_iter1017) + std::vector ::const_iterator _iter1023; + for (_iter1023 = this->resourcePlans.begin(); _iter1023 != this->resourcePlans.end(); ++_iter1023) { - xfer += (*_iter1017).write(oprot); + xfer += (*_iter1023).write(oprot); } xfer += oprot->writeListEnd(); } @@ -25234,13 +25348,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1018) { - resourcePlans = other1018.resourcePlans; - __isset = other1018.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1024) { + resourcePlans = other1024.resourcePlans; + __isset = other1024.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1019) { - resourcePlans = other1019.resourcePlans; - __isset = other1019.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1025) { + resourcePlans = other1025.resourcePlans; + __isset = other1025.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -25398,21 +25512,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1020) { - resourcePlanName = other1020.resourcePlanName; - resourcePlan = other1020.resourcePlan; - isEnableAndActivate = other1020.isEnableAndActivate; - isForceDeactivate = other1020.isForceDeactivate; - isReplace = other1020.isReplace; - __isset = other1020.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1021) { - resourcePlanName = other1021.resourcePlanName; - resourcePlan = other1021.resourcePlan; - isEnableAndActivate = other1021.isEnableAndActivate; - isForceDeactivate = other1021.isForceDeactivate; - isReplace = other1021.isReplace; - __isset = other1021.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1026) { + resourcePlanName = other1026.resourcePlanName; + resourcePlan = other1026.resourcePlan; + isEnableAndActivate = other1026.isEnableAndActivate; + isForceDeactivate = other1026.isForceDeactivate; + isReplace = other1026.isReplace; + __isset = other1026.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1027) { + resourcePlanName = other1027.resourcePlanName; + resourcePlan = other1027.resourcePlan; + isEnableAndActivate = other1027.isEnableAndActivate; + isForceDeactivate = other1027.isForceDeactivate; + isReplace = other1027.isReplace; + __isset = other1027.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -25498,13 +25612,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1022) { - fullResourcePlan = other1022.fullResourcePlan; - __isset = other1022.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1028) { + fullResourcePlan = other1028.fullResourcePlan; + __isset = other1028.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1023) { - fullResourcePlan = other1023.fullResourcePlan; - __isset = other1023.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1029) { + fullResourcePlan = other1029.fullResourcePlan; + __isset = other1029.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -25586,13 +25700,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1024) { - resourcePlanName = other1024.resourcePlanName; - __isset = other1024.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1030) { + resourcePlanName = other1030.resourcePlanName; + __isset = other1030.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1025) { - resourcePlanName = other1025.resourcePlanName; - __isset = other1025.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1031) { + resourcePlanName = other1031.resourcePlanName; + __isset = other1031.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -25642,14 +25756,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1026; - ::apache::thrift::protocol::TType _etype1029; - xfer += iprot->readListBegin(_etype1029, _size1026); - this->errors.resize(_size1026); - uint32_t _i1030; - for (_i1030 = 0; _i1030 < _size1026; ++_i1030) + uint32_t _size1032; + ::apache::thrift::protocol::TType _etype1035; + xfer += iprot->readListBegin(_etype1035, _size1032); + this->errors.resize(_size1032); + uint32_t _i1036; + for (_i1036 = 0; _i1036 < _size1032; ++_i1036) { - xfer += iprot->readString(this->errors[_i1030]); + xfer += iprot->readString(this->errors[_i1036]); } xfer += iprot->readListEnd(); } @@ -25662,14 +25776,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1031; - ::apache::thrift::protocol::TType _etype1034; - xfer += iprot->readListBegin(_etype1034, _size1031); - this->warnings.resize(_size1031); - uint32_t _i1035; - for (_i1035 = 0; _i1035 < _size1031; ++_i1035) + uint32_t _size1037; + ::apache::thrift::protocol::TType _etype1040; + xfer += iprot->readListBegin(_etype1040, _size1037); + this->warnings.resize(_size1037); + uint32_t _i1041; + for (_i1041 = 0; _i1041 < _size1037; ++_i1041) { - xfer += iprot->readString(this->warnings[_i1035]); + xfer += iprot->readString(this->warnings[_i1041]); } xfer += iprot->readListEnd(); } @@ -25699,10 +25813,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 _iter1036; - for (_iter1036 = this->errors.begin(); _iter1036 != this->errors.end(); ++_iter1036) + std::vector ::const_iterator _iter1042; + for (_iter1042 = this->errors.begin(); _iter1042 != this->errors.end(); ++_iter1042) { - xfer += oprot->writeString((*_iter1036)); + xfer += oprot->writeString((*_iter1042)); } xfer += oprot->writeListEnd(); } @@ -25712,10 +25826,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 _iter1037; - for (_iter1037 = this->warnings.begin(); _iter1037 != this->warnings.end(); ++_iter1037) + std::vector ::const_iterator _iter1043; + for (_iter1043 = this->warnings.begin(); _iter1043 != this->warnings.end(); ++_iter1043) { - xfer += oprot->writeString((*_iter1037)); + xfer += oprot->writeString((*_iter1043)); } xfer += oprot->writeListEnd(); } @@ -25733,15 +25847,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1038) { - errors = other1038.errors; - warnings = other1038.warnings; - __isset = other1038.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1044) { + errors = other1044.errors; + warnings = other1044.warnings; + __isset = other1044.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1039) { - errors = other1039.errors; - warnings = other1039.warnings; - __isset = other1039.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1045) { + errors = other1045.errors; + warnings = other1045.warnings; + __isset = other1045.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -25824,13 +25938,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1040) { - resourcePlanName = other1040.resourcePlanName; - __isset = other1040.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1046) { + resourcePlanName = other1046.resourcePlanName; + __isset = other1046.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1041) { - resourcePlanName = other1041.resourcePlanName; - __isset = other1041.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1047) { + resourcePlanName = other1047.resourcePlanName; + __isset = other1047.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -25889,11 +26003,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1042) { - (void) other1042; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1048) { + (void) other1048; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1043) { - (void) other1043; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1049) { + (void) other1049; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -25974,13 +26088,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1044) { - trigger = other1044.trigger; - __isset = other1044.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1050) { + trigger = other1050.trigger; + __isset = other1050.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1045) { - trigger = other1045.trigger; - __isset = other1045.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1051) { + trigger = other1051.trigger; + __isset = other1051.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -26039,11 +26153,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1046) { - (void) other1046; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1052) { + (void) other1052; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1047) { - (void) other1047; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1053) { + (void) other1053; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -26124,13 +26238,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1048) { - trigger = other1048.trigger; - __isset = other1048.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1054) { + trigger = other1054.trigger; + __isset = other1054.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1049) { - trigger = other1049.trigger; - __isset = other1049.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1055) { + trigger = other1055.trigger; + __isset = other1055.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -26189,11 +26303,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1050) { - (void) other1050; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1056) { + (void) other1056; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1051) { - (void) other1051; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1057) { + (void) other1057; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -26293,15 +26407,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1052) { - resourcePlanName = other1052.resourcePlanName; - triggerName = other1052.triggerName; - __isset = other1052.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1058) { + resourcePlanName = other1058.resourcePlanName; + triggerName = other1058.triggerName; + __isset = other1058.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1053) { - resourcePlanName = other1053.resourcePlanName; - triggerName = other1053.triggerName; - __isset = other1053.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1059) { + resourcePlanName = other1059.resourcePlanName; + triggerName = other1059.triggerName; + __isset = other1059.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -26361,11 +26475,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1054) { - (void) other1054; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1060) { + (void) other1060; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1055) { - (void) other1055; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1061) { + (void) other1061; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -26446,13 +26560,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1056) { - resourcePlanName = other1056.resourcePlanName; - __isset = other1056.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1062) { + resourcePlanName = other1062.resourcePlanName; + __isset = other1062.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1057) { - resourcePlanName = other1057.resourcePlanName; - __isset = other1057.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1063) { + resourcePlanName = other1063.resourcePlanName; + __isset = other1063.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -26497,14 +26611,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1058; - ::apache::thrift::protocol::TType _etype1061; - xfer += iprot->readListBegin(_etype1061, _size1058); - this->triggers.resize(_size1058); - uint32_t _i1062; - for (_i1062 = 0; _i1062 < _size1058; ++_i1062) + uint32_t _size1064; + ::apache::thrift::protocol::TType _etype1067; + xfer += iprot->readListBegin(_etype1067, _size1064); + this->triggers.resize(_size1064); + uint32_t _i1068; + for (_i1068 = 0; _i1068 < _size1064; ++_i1068) { - xfer += this->triggers[_i1062].read(iprot); + xfer += this->triggers[_i1068].read(iprot); } xfer += iprot->readListEnd(); } @@ -26534,10 +26648,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 _iter1063; - for (_iter1063 = this->triggers.begin(); _iter1063 != this->triggers.end(); ++_iter1063) + std::vector ::const_iterator _iter1069; + for (_iter1069 = this->triggers.begin(); _iter1069 != this->triggers.end(); ++_iter1069) { - xfer += (*_iter1063).write(oprot); + xfer += (*_iter1069).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26554,13 +26668,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1064) { - triggers = other1064.triggers; - __isset = other1064.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1070) { + triggers = other1070.triggers; + __isset = other1070.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1065) { - triggers = other1065.triggers; - __isset = other1065.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1071) { + triggers = other1071.triggers; + __isset = other1071.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -26642,13 +26756,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1066) { - pool = other1066.pool; - __isset = other1066.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1072) { + pool = other1072.pool; + __isset = other1072.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1067) { - pool = other1067.pool; - __isset = other1067.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1073) { + pool = other1073.pool; + __isset = other1073.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -26707,11 +26821,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1068) { - (void) other1068; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1074) { + (void) other1074; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1069) { - (void) other1069; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1075) { + (void) other1075; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -26811,15 +26925,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1070) { - pool = other1070.pool; - poolPath = other1070.poolPath; - __isset = other1070.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1076) { + pool = other1076.pool; + poolPath = other1076.poolPath; + __isset = other1076.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1071) { - pool = other1071.pool; - poolPath = other1071.poolPath; - __isset = other1071.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1077) { + pool = other1077.pool; + poolPath = other1077.poolPath; + __isset = other1077.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -26879,11 +26993,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1072) { - (void) other1072; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1078) { + (void) other1078; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1073) { - (void) other1073; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1079) { + (void) other1079; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -26983,15 +27097,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1074) { - resourcePlanName = other1074.resourcePlanName; - poolPath = other1074.poolPath; - __isset = other1074.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1080) { + resourcePlanName = other1080.resourcePlanName; + poolPath = other1080.poolPath; + __isset = other1080.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1075) { - resourcePlanName = other1075.resourcePlanName; - poolPath = other1075.poolPath; - __isset = other1075.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1081) { + resourcePlanName = other1081.resourcePlanName; + poolPath = other1081.poolPath; + __isset = other1081.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -27051,11 +27165,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1076) { - (void) other1076; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1082) { + (void) other1082; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1077) { - (void) other1077; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1083) { + (void) other1083; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -27155,15 +27269,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1078) { - mapping = other1078.mapping; - update = other1078.update; - __isset = other1078.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1084) { + mapping = other1084.mapping; + update = other1084.update; + __isset = other1084.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1079) { - mapping = other1079.mapping; - update = other1079.update; - __isset = other1079.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1085) { + mapping = other1085.mapping; + update = other1085.update; + __isset = other1085.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -27223,11 +27337,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1080) { - (void) other1080; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1086) { + (void) other1086; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1081) { - (void) other1081; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1087) { + (void) other1087; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -27308,13 +27422,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1082) { - mapping = other1082.mapping; - __isset = other1082.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1088) { + mapping = other1088.mapping; + __isset = other1088.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1083) { - mapping = other1083.mapping; - __isset = other1083.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1089) { + mapping = other1089.mapping; + __isset = other1089.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -27373,11 +27487,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1084) { - (void) other1084; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1090) { + (void) other1090; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1085) { - (void) other1085; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1091) { + (void) other1091; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -27515,19 +27629,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1086) { - resourcePlanName = other1086.resourcePlanName; - triggerName = other1086.triggerName; - poolPath = other1086.poolPath; - drop = other1086.drop; - __isset = other1086.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1092) { + resourcePlanName = other1092.resourcePlanName; + triggerName = other1092.triggerName; + poolPath = other1092.poolPath; + drop = other1092.drop; + __isset = other1092.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1087) { - resourcePlanName = other1087.resourcePlanName; - triggerName = other1087.triggerName; - poolPath = other1087.poolPath; - drop = other1087.drop; - __isset = other1087.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1093) { + resourcePlanName = other1093.resourcePlanName; + triggerName = other1093.triggerName; + poolPath = other1093.poolPath; + drop = other1093.drop; + __isset = other1093.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -27589,11 +27703,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1088) { - (void) other1088; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1094) { + (void) other1094; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1089) { - (void) other1089; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1095) { + (void) other1095; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -27664,9 +27778,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1090; - xfer += iprot->readI32(ecast1090); - this->schemaType = (SchemaType::type)ecast1090; + int32_t ecast1096; + xfer += iprot->readI32(ecast1096); + this->schemaType = (SchemaType::type)ecast1096; this->__isset.schemaType = true; } else { xfer += iprot->skip(ftype); @@ -27690,9 +27804,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1091; - xfer += iprot->readI32(ecast1091); - this->compatibility = (SchemaCompatibility::type)ecast1091; + int32_t ecast1097; + xfer += iprot->readI32(ecast1097); + this->compatibility = (SchemaCompatibility::type)ecast1097; this->__isset.compatibility = true; } else { xfer += iprot->skip(ftype); @@ -27700,9 +27814,9 @@ uint32_t ISchema::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1092; - xfer += iprot->readI32(ecast1092); - this->validationLevel = (SchemaValidation::type)ecast1092; + int32_t ecast1098; + xfer += iprot->readI32(ecast1098); + this->validationLevel = (SchemaValidation::type)ecast1098; this->__isset.validationLevel = true; } else { xfer += iprot->skip(ftype); @@ -27801,27 +27915,27 @@ void swap(ISchema &a, ISchema &b) { swap(a.__isset, b.__isset); } -ISchema::ISchema(const ISchema& other1093) { - schemaType = other1093.schemaType; - name = other1093.name; - dbName = other1093.dbName; - compatibility = other1093.compatibility; - validationLevel = other1093.validationLevel; - canEvolve = other1093.canEvolve; - schemaGroup = other1093.schemaGroup; - description = other1093.description; - __isset = other1093.__isset; -} -ISchema& ISchema::operator=(const ISchema& other1094) { - schemaType = other1094.schemaType; - name = other1094.name; - dbName = other1094.dbName; - compatibility = other1094.compatibility; - validationLevel = other1094.validationLevel; - canEvolve = other1094.canEvolve; - schemaGroup = other1094.schemaGroup; - description = other1094.description; - __isset = other1094.__isset; +ISchema::ISchema(const ISchema& other1099) { + schemaType = other1099.schemaType; + name = other1099.name; + dbName = other1099.dbName; + compatibility = other1099.compatibility; + validationLevel = other1099.validationLevel; + canEvolve = other1099.canEvolve; + schemaGroup = other1099.schemaGroup; + description = other1099.description; + __isset = other1099.__isset; +} +ISchema& ISchema::operator=(const ISchema& other1100) { + schemaType = other1100.schemaType; + name = other1100.name; + dbName = other1100.dbName; + compatibility = other1100.compatibility; + validationLevel = other1100.validationLevel; + canEvolve = other1100.canEvolve; + schemaGroup = other1100.schemaGroup; + description = other1100.description; + __isset = other1100.__isset; return *this; } void ISchema::printTo(std::ostream& out) const { @@ -27925,15 +28039,15 @@ void swap(ISchemaName &a, ISchemaName &b) { swap(a.__isset, b.__isset); } -ISchemaName::ISchemaName(const ISchemaName& other1095) { - dbName = other1095.dbName; - schemaName = other1095.schemaName; - __isset = other1095.__isset; +ISchemaName::ISchemaName(const ISchemaName& other1101) { + dbName = other1101.dbName; + schemaName = other1101.schemaName; + __isset = other1101.__isset; } -ISchemaName& ISchemaName::operator=(const ISchemaName& other1096) { - dbName = other1096.dbName; - schemaName = other1096.schemaName; - __isset = other1096.__isset; +ISchemaName& ISchemaName::operator=(const ISchemaName& other1102) { + dbName = other1102.dbName; + schemaName = other1102.schemaName; + __isset = other1102.__isset; return *this; } void ISchemaName::printTo(std::ostream& out) const { @@ -28031,15 +28145,15 @@ void swap(AlterISchemaRequest &a, AlterISchemaRequest &b) { swap(a.__isset, b.__isset); } -AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1097) { - name = other1097.name; - newSchema = other1097.newSchema; - __isset = other1097.__isset; +AlterISchemaRequest::AlterISchemaRequest(const AlterISchemaRequest& other1103) { + name = other1103.name; + newSchema = other1103.newSchema; + __isset = other1103.__isset; } -AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1098) { - name = other1098.name; - newSchema = other1098.newSchema; - __isset = other1098.__isset; +AlterISchemaRequest& AlterISchemaRequest::operator=(const AlterISchemaRequest& other1104) { + name = other1104.name; + newSchema = other1104.newSchema; + __isset = other1104.__isset; return *this; } void AlterISchemaRequest::printTo(std::ostream& out) const { @@ -28150,14 +28264,14 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->cols.clear(); - uint32_t _size1099; - ::apache::thrift::protocol::TType _etype1102; - xfer += iprot->readListBegin(_etype1102, _size1099); - this->cols.resize(_size1099); - uint32_t _i1103; - for (_i1103 = 0; _i1103 < _size1099; ++_i1103) + uint32_t _size1105; + ::apache::thrift::protocol::TType _etype1108; + xfer += iprot->readListBegin(_etype1108, _size1105); + this->cols.resize(_size1105); + uint32_t _i1109; + for (_i1109 = 0; _i1109 < _size1105; ++_i1109) { - xfer += this->cols[_i1103].read(iprot); + xfer += this->cols[_i1109].read(iprot); } xfer += iprot->readListEnd(); } @@ -28168,9 +28282,9 @@ uint32_t SchemaVersion::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1104; - xfer += iprot->readI32(ecast1104); - this->state = (SchemaVersionState::type)ecast1104; + int32_t ecast1110; + xfer += iprot->readI32(ecast1110); + this->state = (SchemaVersionState::type)ecast1110; this->__isset.state = true; } else { xfer += iprot->skip(ftype); @@ -28248,10 +28362,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 _iter1105; - for (_iter1105 = this->cols.begin(); _iter1105 != this->cols.end(); ++_iter1105) + std::vector ::const_iterator _iter1111; + for (_iter1111 = this->cols.begin(); _iter1111 != this->cols.end(); ++_iter1111) { - xfer += (*_iter1105).write(oprot); + xfer += (*_iter1111).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28307,31 +28421,31 @@ void swap(SchemaVersion &a, SchemaVersion &b) { swap(a.__isset, b.__isset); } -SchemaVersion::SchemaVersion(const SchemaVersion& other1106) { - schema = other1106.schema; - version = other1106.version; - createdAt = other1106.createdAt; - cols = other1106.cols; - state = other1106.state; - description = other1106.description; - schemaText = other1106.schemaText; - fingerprint = other1106.fingerprint; - name = other1106.name; - serDe = other1106.serDe; - __isset = other1106.__isset; -} -SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1107) { - schema = other1107.schema; - version = other1107.version; - createdAt = other1107.createdAt; - cols = other1107.cols; - state = other1107.state; - description = other1107.description; - schemaText = other1107.schemaText; - fingerprint = other1107.fingerprint; - name = other1107.name; - serDe = other1107.serDe; - __isset = other1107.__isset; +SchemaVersion::SchemaVersion(const SchemaVersion& other1112) { + schema = other1112.schema; + version = other1112.version; + createdAt = other1112.createdAt; + cols = other1112.cols; + state = other1112.state; + description = other1112.description; + schemaText = other1112.schemaText; + fingerprint = other1112.fingerprint; + name = other1112.name; + serDe = other1112.serDe; + __isset = other1112.__isset; +} +SchemaVersion& SchemaVersion::operator=(const SchemaVersion& other1113) { + schema = other1113.schema; + version = other1113.version; + createdAt = other1113.createdAt; + cols = other1113.cols; + state = other1113.state; + description = other1113.description; + schemaText = other1113.schemaText; + fingerprint = other1113.fingerprint; + name = other1113.name; + serDe = other1113.serDe; + __isset = other1113.__isset; return *this; } void SchemaVersion::printTo(std::ostream& out) const { @@ -28437,15 +28551,15 @@ void swap(SchemaVersionDescriptor &a, SchemaVersionDescriptor &b) { swap(a.__isset, b.__isset); } -SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1108) { - schema = other1108.schema; - version = other1108.version; - __isset = other1108.__isset; +SchemaVersionDescriptor::SchemaVersionDescriptor(const SchemaVersionDescriptor& other1114) { + schema = other1114.schema; + version = other1114.version; + __isset = other1114.__isset; } -SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1109) { - schema = other1109.schema; - version = other1109.version; - __isset = other1109.__isset; +SchemaVersionDescriptor& SchemaVersionDescriptor::operator=(const SchemaVersionDescriptor& other1115) { + schema = other1115.schema; + version = other1115.version; + __isset = other1115.__isset; return *this; } void SchemaVersionDescriptor::printTo(std::ostream& out) const { @@ -28566,17 +28680,17 @@ void swap(FindSchemasByColsRqst &a, FindSchemasByColsRqst &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1110) { - colName = other1110.colName; - colNamespace = other1110.colNamespace; - type = other1110.type; - __isset = other1110.__isset; +FindSchemasByColsRqst::FindSchemasByColsRqst(const FindSchemasByColsRqst& other1116) { + colName = other1116.colName; + colNamespace = other1116.colNamespace; + type = other1116.type; + __isset = other1116.__isset; } -FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1111) { - colName = other1111.colName; - colNamespace = other1111.colNamespace; - type = other1111.type; - __isset = other1111.__isset; +FindSchemasByColsRqst& FindSchemasByColsRqst::operator=(const FindSchemasByColsRqst& other1117) { + colName = other1117.colName; + colNamespace = other1117.colNamespace; + type = other1117.type; + __isset = other1117.__isset; return *this; } void FindSchemasByColsRqst::printTo(std::ostream& out) const { @@ -28622,14 +28736,14 @@ uint32_t FindSchemasByColsResp::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_LIST) { { this->schemaVersions.clear(); - uint32_t _size1112; - ::apache::thrift::protocol::TType _etype1115; - xfer += iprot->readListBegin(_etype1115, _size1112); - this->schemaVersions.resize(_size1112); - uint32_t _i1116; - for (_i1116 = 0; _i1116 < _size1112; ++_i1116) + uint32_t _size1118; + ::apache::thrift::protocol::TType _etype1121; + xfer += iprot->readListBegin(_etype1121, _size1118); + this->schemaVersions.resize(_size1118); + uint32_t _i1122; + for (_i1122 = 0; _i1122 < _size1118; ++_i1122) { - xfer += this->schemaVersions[_i1116].read(iprot); + xfer += this->schemaVersions[_i1122].read(iprot); } xfer += iprot->readListEnd(); } @@ -28658,10 +28772,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 _iter1117; - for (_iter1117 = this->schemaVersions.begin(); _iter1117 != this->schemaVersions.end(); ++_iter1117) + std::vector ::const_iterator _iter1123; + for (_iter1123 = this->schemaVersions.begin(); _iter1123 != this->schemaVersions.end(); ++_iter1123) { - xfer += (*_iter1117).write(oprot); + xfer += (*_iter1123).write(oprot); } xfer += oprot->writeListEnd(); } @@ -28678,13 +28792,13 @@ void swap(FindSchemasByColsResp &a, FindSchemasByColsResp &b) { swap(a.__isset, b.__isset); } -FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1118) { - schemaVersions = other1118.schemaVersions; - __isset = other1118.__isset; +FindSchemasByColsResp::FindSchemasByColsResp(const FindSchemasByColsResp& other1124) { + schemaVersions = other1124.schemaVersions; + __isset = other1124.__isset; } -FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1119) { - schemaVersions = other1119.schemaVersions; - __isset = other1119.__isset; +FindSchemasByColsResp& FindSchemasByColsResp::operator=(const FindSchemasByColsResp& other1125) { + schemaVersions = other1125.schemaVersions; + __isset = other1125.__isset; return *this; } void FindSchemasByColsResp::printTo(std::ostream& out) const { @@ -28781,15 +28895,15 @@ void swap(MapSchemaVersionToSerdeRequest &a, MapSchemaVersionToSerdeRequest &b) swap(a.__isset, b.__isset); } -MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1120) { - schemaVersion = other1120.schemaVersion; - serdeName = other1120.serdeName; - __isset = other1120.__isset; +MapSchemaVersionToSerdeRequest::MapSchemaVersionToSerdeRequest(const MapSchemaVersionToSerdeRequest& other1126) { + schemaVersion = other1126.schemaVersion; + serdeName = other1126.serdeName; + __isset = other1126.__isset; } -MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1121) { - schemaVersion = other1121.schemaVersion; - serdeName = other1121.serdeName; - __isset = other1121.__isset; +MapSchemaVersionToSerdeRequest& MapSchemaVersionToSerdeRequest::operator=(const MapSchemaVersionToSerdeRequest& other1127) { + schemaVersion = other1127.schemaVersion; + serdeName = other1127.serdeName; + __isset = other1127.__isset; return *this; } void MapSchemaVersionToSerdeRequest::printTo(std::ostream& out) const { @@ -28844,9 +28958,9 @@ uint32_t SetSchemaVersionStateRequest::read(::apache::thrift::protocol::TProtoco break; case 2: 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); @@ -28889,15 +29003,15 @@ void swap(SetSchemaVersionStateRequest &a, SetSchemaVersionStateRequest &b) { swap(a.__isset, b.__isset); } -SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1123) { - schemaVersion = other1123.schemaVersion; - state = other1123.state; - __isset = other1123.__isset; +SetSchemaVersionStateRequest::SetSchemaVersionStateRequest(const SetSchemaVersionStateRequest& other1129) { + schemaVersion = other1129.schemaVersion; + state = other1129.state; + __isset = other1129.__isset; } -SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1124) { - schemaVersion = other1124.schemaVersion; - state = other1124.state; - __isset = other1124.__isset; +SetSchemaVersionStateRequest& SetSchemaVersionStateRequest::operator=(const SetSchemaVersionStateRequest& other1130) { + schemaVersion = other1130.schemaVersion; + state = other1130.state; + __isset = other1130.__isset; return *this; } void SetSchemaVersionStateRequest::printTo(std::ostream& out) const { @@ -28978,13 +29092,13 @@ void swap(GetSerdeRequest &a, GetSerdeRequest &b) { swap(a.__isset, b.__isset); } -GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1125) { - serdeName = other1125.serdeName; - __isset = other1125.__isset; +GetSerdeRequest::GetSerdeRequest(const GetSerdeRequest& other1131) { + serdeName = other1131.serdeName; + __isset = other1131.__isset; } -GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1126) { - serdeName = other1126.serdeName; - __isset = other1126.__isset; +GetSerdeRequest& GetSerdeRequest::operator=(const GetSerdeRequest& other1132) { + serdeName = other1132.serdeName; + __isset = other1132.__isset; return *this; } void GetSerdeRequest::printTo(std::ostream& out) const { @@ -29064,13 +29178,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1127) : TException() { - message = other1127.message; - __isset = other1127.__isset; +MetaException::MetaException(const MetaException& other1133) : TException() { + message = other1133.message; + __isset = other1133.__isset; } -MetaException& MetaException::operator=(const MetaException& other1128) { - message = other1128.message; - __isset = other1128.__isset; +MetaException& MetaException::operator=(const MetaException& other1134) { + message = other1134.message; + __isset = other1134.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -29161,13 +29275,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1129) : TException() { - message = other1129.message; - __isset = other1129.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1135) : TException() { + message = other1135.message; + __isset = other1135.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1130) { - message = other1130.message; - __isset = other1130.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1136) { + message = other1136.message; + __isset = other1136.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -29258,13 +29372,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1131) : TException() { - message = other1131.message; - __isset = other1131.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1137) : TException() { + message = other1137.message; + __isset = other1137.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1132) { - message = other1132.message; - __isset = other1132.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1138) { + message = other1138.message; + __isset = other1138.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -29355,13 +29469,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1133) : TException() { - message = other1133.message; - __isset = other1133.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1139) : TException() { + message = other1139.message; + __isset = other1139.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1134) { - message = other1134.message; - __isset = other1134.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1140) { + message = other1140.message; + __isset = other1140.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -29452,13 +29566,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1135) : TException() { - message = other1135.message; - __isset = other1135.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1141) : TException() { + message = other1141.message; + __isset = other1141.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1136) { - message = other1136.message; - __isset = other1136.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1142) { + message = other1142.message; + __isset = other1142.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -29549,13 +29663,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1137) : TException() { - message = other1137.message; - __isset = other1137.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1143) : TException() { + message = other1143.message; + __isset = other1143.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1138) { - message = other1138.message; - __isset = other1138.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1144) { + message = other1144.message; + __isset = other1144.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -29646,13 +29760,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1139) : TException() { - message = other1139.message; - __isset = other1139.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1145) : TException() { + message = other1145.message; + __isset = other1145.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1140) { - message = other1140.message; - __isset = other1140.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1146) { + message = other1146.message; + __isset = other1146.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -29743,13 +29857,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1141) : TException() { - message = other1141.message; - __isset = other1141.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1147) : TException() { + message = other1147.message; + __isset = other1147.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1142) { - message = other1142.message; - __isset = other1142.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1148) { + message = other1148.message; + __isset = other1148.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -29840,13 +29954,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1143) : TException() { - message = other1143.message; - __isset = other1143.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1149) : TException() { + message = other1149.message; + __isset = other1149.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1144) { - message = other1144.message; - __isset = other1144.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1150) { + message = other1150.message; + __isset = other1150.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -29937,13 +30051,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1145) : TException() { - message = other1145.message; - __isset = other1145.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1151) : TException() { + message = other1151.message; + __isset = other1151.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1146) { - message = other1146.message; - __isset = other1146.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1152) { + message = other1152.message; + __isset = other1152.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -30034,13 +30148,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1147) : TException() { - message = other1147.message; - __isset = other1147.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1153) : TException() { + message = other1153.message; + __isset = other1153.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1148) { - message = other1148.message; - __isset = other1148.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1154) { + message = other1154.message; + __isset = other1154.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -30131,13 +30245,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1149) : TException() { - message = other1149.message; - __isset = other1149.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1155) : TException() { + message = other1155.message; + __isset = other1155.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1150) { - message = other1150.message; - __isset = other1150.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1156) { + message = other1156.message; + __isset = other1156.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -30228,13 +30342,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1151) : TException() { - message = other1151.message; - __isset = other1151.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1157) : TException() { + message = other1157.message; + __isset = other1157.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1152) { - message = other1152.message; - __isset = other1152.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1158) { + message = other1158.message; + __isset = other1158.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -30325,13 +30439,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1153) : TException() { - message = other1153.message; - __isset = other1153.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1159) : TException() { + message = other1159.message; + __isset = other1159.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1154) { - message = other1154.message; - __isset = other1154.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1160) { + message = other1160.message; + __isset = other1160.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -30422,13 +30536,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1155) : TException() { - message = other1155.message; - __isset = other1155.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1161) : TException() { + message = other1161.message; + __isset = other1161.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1156) { - message = other1156.message; - __isset = other1156.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1162) { + message = other1162.message; + __isset = other1162.__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 b094831ed7..b1bdaa31b3 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 @@ -6187,8 +6187,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 { @@ -6196,7 +6198,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(); @@ -6204,6 +6206,8 @@ class OpenTxnRequest { std::string user; std::string hostname; std::string agentInfo; + std::string replPolicy; + std::vector replSrcTxnIds; _OpenTxnRequest__isset __isset; @@ -6215,6 +6219,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)) @@ -6227,6 +6235,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 { @@ -6289,24 +6305,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 { @@ -6369,24 +6398,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 911e98127b..24c68d8529 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 _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, 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 _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, AbortTxnsRequest 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, 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 _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/AddDynamicPartitions.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/AddDynamicPartitions.java index 374cdc382c..d6a071ac79 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 _list668 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list668.size); - String _elem669; - for (int _i670 = 0; _i670 < _list668.size; ++_i670) + org.apache.thrift.protocol.TList _list676 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list676.size); + String _elem677; + for (int _i678 = 0; _i678 < _list676.size; ++_i678) { - _elem669 = iprot.readString(); - struct.partitionnames.add(_elem669); + _elem677 = iprot.readString(); + struct.partitionnames.add(_elem677); } 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 _iter671 : struct.partitionnames) + for (String _iter679 : struct.partitionnames) { - oprot.writeString(_iter671); + oprot.writeString(_iter679); } 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 _iter672 : struct.partitionnames) + for (String _iter680 : struct.partitionnames) { - oprot.writeString(_iter672); + oprot.writeString(_iter680); } } 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 _list673 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list673.size); - String _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.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list681.size); + String _elem682; + for (int _i683 = 0; _i683 < _list681.size; ++_i683) { - _elem674 = iprot.readString(); - struct.partitionnames.add(_elem674); + _elem682 = iprot.readString(); + struct.partitionnames.add(_elem682); } } 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 bf9585493a..fd0d3c9771 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 _list602 = iprot.readListBegin(); - struct.txnIds = new ArrayList(_list602.size); - long _elem603; - for (int _i604 = 0; _i604 < _list602.size; ++_i604) + org.apache.thrift.protocol.TList _list610 = iprot.readListBegin(); + struct.txnIds = new ArrayList(_list610.size); + long _elem611; + for (int _i612 = 0; _i612 < _list610.size; ++_i612) { - _elem603 = iprot.readI64(); - struct.txnIds.add(_elem603); + _elem611 = iprot.readI64(); + struct.txnIds.add(_elem611); } 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 _iter605 : struct.txnIds) + for (long _iter613 : struct.txnIds) { - oprot.writeI64(_iter605); + oprot.writeI64(_iter613); } 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 _iter606 : struct.txnIds) + for (long _iter614 : struct.txnIds) { - oprot.writeI64(_iter606); + oprot.writeI64(_iter614); } } 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 _list607 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txnIds = new ArrayList(_list607.size); - long _elem608; - for (int _i609 = 0; _i609 < _list607.size; ++_i609) + org.apache.thrift.protocol.TList _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txnIds = new ArrayList(_list615.size); + long _elem616; + for (int _i617 = 0; _i617 < _list615.size; ++_i617) { - _elem608 = iprot.readI64(); - struct.txnIds.add(_elem608); + _elem616 = iprot.readI64(); + struct.txnIds.add(_elem616); } } 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 5ce8d51469..fb47073ad5 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 _list610 = iprot.readListBegin(); - struct.txnToWriteIds = new ArrayList(_list610.size); - TxnToWriteId _elem611; - for (int _i612 = 0; _i612 < _list610.size; ++_i612) + org.apache.thrift.protocol.TList _list618 = iprot.readListBegin(); + struct.txnToWriteIds = new ArrayList(_list618.size); + TxnToWriteId _elem619; + for (int _i620 = 0; _i620 < _list618.size; ++_i620) { - _elem611 = new TxnToWriteId(); - _elem611.read(iprot); - struct.txnToWriteIds.add(_elem611); + _elem619 = new TxnToWriteId(); + _elem619.read(iprot); + struct.txnToWriteIds.add(_elem619); } 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 _iter613 : struct.txnToWriteIds) + for (TxnToWriteId _iter621 : struct.txnToWriteIds) { - _iter613.write(oprot); + _iter621.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 _iter614 : struct.txnToWriteIds) + for (TxnToWriteId _iter622 : struct.txnToWriteIds) { - _iter614.write(oprot); + _iter622.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 _list615 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.txnToWriteIds = new ArrayList(_list615.size); - TxnToWriteId _elem616; - for (int _i617 = 0; _i617 < _list615.size; ++_i617) + org.apache.thrift.protocol.TList _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.txnToWriteIds = new ArrayList(_list623.size); + TxnToWriteId _elem624; + for (int _i625 = 0; _i625 < _list623.size; ++_i625) { - _elem616 = new TxnToWriteId(); - _elem616.read(iprot); - struct.txnToWriteIds.add(_elem616); + _elem624 = new TxnToWriteId(); + _elem624.read(iprot); + struct.txnToWriteIds.add(_elem624); } } 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 c4c1835573..b4bf2ce253 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 _list768 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list768.size); - long _elem769; - for (int _i770 = 0; _i770 < _list768.size; ++_i770) + org.apache.thrift.protocol.TList _list776 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list776.size); + long _elem777; + for (int _i778 = 0; _i778 < _list776.size; ++_i778) { - _elem769 = iprot.readI64(); - struct.fileIds.add(_elem769); + _elem777 = iprot.readI64(); + struct.fileIds.add(_elem777); } iprot.readListEnd(); } @@ -383,9 +383,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, 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 _iter771 : struct.fileIds) + for (long _iter779 : struct.fileIds) { - oprot.writeI64(_iter771); + oprot.writeI64(_iter779); } oprot.writeListEnd(); } @@ -410,9 +410,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, ClearFileMetadataRe TTupleProtocol oprot = (TTupleProtocol) prot; { oprot.writeI32(struct.fileIds.size()); - for (long _iter772 : struct.fileIds) + for (long _iter780 : struct.fileIds) { - oprot.writeI64(_iter772); + oprot.writeI64(_iter780); } } } @@ -421,13 +421,13 @@ public void write(org.apache.thrift.protocol.TProtocol prot, 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 _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list773.size); - long _elem774; - for (int _i775 = 0; _i775 < _list773.size; ++_i775) + org.apache.thrift.protocol.TList _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list781.size); + long _elem782; + for (int _i783 = 0; _i783 < _list781.size; ++_i783) { - _elem774 = iprot.readI64(); - struct.fileIds.add(_elem774); + _elem782 = iprot.readI64(); + struct.fileIds.add(_elem782); } } struct.setFileIdsIsSet(true); diff --git a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapabilities.java index 3085522cbe..a214a870cc 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 _list784 = iprot.readListBegin(); - struct.values = new ArrayList(_list784.size); - ClientCapability _elem785; - for (int _i786 = 0; _i786 < _list784.size; ++_i786) + org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); + struct.values = new ArrayList(_list792.size); + ClientCapability _elem793; + for (int _i794 = 0; _i794 < _list792.size; ++_i794) { - _elem785 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem785); + _elem793 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem793); } 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 _iter787 : struct.values) + for (ClientCapability _iter795 : struct.values) { - oprot.writeI32(_iter787.getValue()); + oprot.writeI32(_iter795.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 _iter788 : struct.values) + for (ClientCapability _iter796 : struct.values) { - oprot.writeI32(_iter788.getValue()); + oprot.writeI32(_iter796.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 _list789 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list789.size); - ClientCapability _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.I32, iprot.readI32()); + struct.values = new ArrayList(_list797.size); + ClientCapability _elem798; + for (int _i799 = 0; _i799 < _list797.size; ++_i799) { - _elem790 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem790); + _elem798 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem798); } } 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 1a27ff5fcf..a106cd4c37 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 _map650 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map650.size); - String _key651; - String _val652; - for (int _i653 = 0; _i653 < _map650.size; ++_i653) + 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) { - _key651 = iprot.readString(); - _val652 = iprot.readString(); - struct.properties.put(_key651, _val652); + _key659 = iprot.readString(); + _val660 = iprot.readString(); + struct.properties.put(_key659, _val660); } 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 _iter654 : struct.properties.entrySet()) + for (Map.Entry _iter662 : struct.properties.entrySet()) { - oprot.writeString(_iter654.getKey()); - oprot.writeString(_iter654.getValue()); + oprot.writeString(_iter662.getKey()); + oprot.writeString(_iter662.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 _iter655 : struct.properties.entrySet()) + for (Map.Entry _iter663 : struct.properties.entrySet()) { - oprot.writeString(_iter655.getKey()); - oprot.writeString(_iter655.getValue()); + oprot.writeString(_iter663.getKey()); + oprot.writeString(_iter663.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 _map656 = 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*_map656.size); - String _key657; - String _val658; - for (int _i659 = 0; _i659 < _map656.size; ++_i659) + 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) { - _key657 = iprot.readString(); - _val658 = iprot.readString(); - struct.properties.put(_key657, _val658); + _key665 = iprot.readString(); + _val666 = iprot.readString(); + struct.properties.put(_key665, _val666); } } 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 b744177383..2914c9ee5a 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 @@ -619,13 +619,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, CreationMetadata st case 3: // TABLES_USED if (schemeField.type == org.apache.thrift.protocol.TType.SET) { { - org.apache.thrift.protocol.TSet _set676 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set676.size); - String _elem677; - for (int _i678 = 0; _i678 < _set676.size; ++_i678) + 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) { - _elem677 = iprot.readString(); - struct.tablesUsed.add(_elem677); + _elem685 = iprot.readString(); + struct.tablesUsed.add(_elem685); } iprot.readSetEnd(); } @@ -669,9 +669,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 _iter679 : struct.tablesUsed) + for (String _iter687 : struct.tablesUsed) { - oprot.writeString(_iter679); + oprot.writeString(_iter687); } oprot.writeSetEnd(); } @@ -705,9 +705,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, CreationMetadata st oprot.writeString(struct.tblName); { oprot.writeI32(struct.tablesUsed.size()); - for (String _iter680 : struct.tablesUsed) + for (String _iter688 : struct.tablesUsed) { - oprot.writeString(_iter680); + oprot.writeString(_iter688); } } BitSet optionals = new BitSet(); @@ -728,13 +728,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, CreationMetadata str struct.tblName = iprot.readString(); struct.setTblNameIsSet(true); { - org.apache.thrift.protocol.TSet _set681 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set681.size); - String _elem682; - for (int _i683 = 0; _i683 < _set681.size; ++_i683) + 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) { - _elem682 = iprot.readString(); - struct.tablesUsed.add(_elem682); + _elem690 = iprot.readString(); + struct.tablesUsed.add(_elem690); } } 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 807f8263a0..b95efc7e87 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 _list888 = iprot.readListBegin(); - struct.schemaVersions = new ArrayList(_list888.size); - SchemaVersionDescriptor _elem889; - for (int _i890 = 0; _i890 < _list888.size; ++_i890) + org.apache.thrift.protocol.TList _list896 = iprot.readListBegin(); + struct.schemaVersions = new ArrayList(_list896.size); + SchemaVersionDescriptor _elem897; + for (int _i898 = 0; _i898 < _list896.size; ++_i898) { - _elem889 = new SchemaVersionDescriptor(); - _elem889.read(iprot); - struct.schemaVersions.add(_elem889); + _elem897 = new SchemaVersionDescriptor(); + _elem897.read(iprot); + struct.schemaVersions.add(_elem897); } 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 _iter891 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter899 : struct.schemaVersions) { - _iter891.write(oprot); + _iter899.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 _iter892 : struct.schemaVersions) + for (SchemaVersionDescriptor _iter900 : struct.schemaVersions) { - _iter892.write(oprot); + _iter900.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 _list893 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.schemaVersions = new ArrayList(_list893.size); - SchemaVersionDescriptor _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.schemaVersions = new ArrayList(_list901.size); + SchemaVersionDescriptor _elem902; + for (int _i903 = 0; _i903 < _list901.size; ++_i903) { - _elem894 = new SchemaVersionDescriptor(); - _elem894.read(iprot); - struct.schemaVersions.add(_elem894); + _elem902 = new SchemaVersionDescriptor(); + _elem902.read(iprot); + struct.schemaVersions.add(_elem902); } } 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 58b1d7cf92..0f131a8eba 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/FireEventRequest.java @@ -713,13 +713,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, FireEventRequest st case 5: // PARTITION_VALS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list708 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list708.size); - String _elem709; - for (int _i710 = 0; _i710 < _list708.size; ++_i710) + org.apache.thrift.protocol.TList _list716 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list716.size); + String _elem717; + for (int _i718 = 0; _i718 < _list716.size; ++_i718) { - _elem709 = iprot.readString(); - struct.partitionVals.add(_elem709); + _elem717 = iprot.readString(); + struct.partitionVals.add(_elem717); } iprot.readListEnd(); } @@ -768,9 +768,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, FireEventRequest s oprot.writeFieldBegin(PARTITION_VALS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.partitionVals.size())); - for (String _iter711 : struct.partitionVals) + for (String _iter719 : struct.partitionVals) { - oprot.writeString(_iter711); + oprot.writeString(_iter719); } oprot.writeListEnd(); } @@ -816,9 +816,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, FireEventRequest st if (struct.isSetPartitionVals()) { { oprot.writeI32(struct.partitionVals.size()); - for (String _iter712 : struct.partitionVals) + for (String _iter720 : struct.partitionVals) { - oprot.writeString(_iter712); + oprot.writeString(_iter720); } } } @@ -843,13 +843,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = 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.partitionVals = new ArrayList(_list721.size); + String _elem722; + for (int _i723 = 0; _i723 < _list721.size; ++_i723) { - _elem714 = iprot.readString(); - struct.partitionVals.add(_elem714); + _elem722 = iprot.readString(); + struct.partitionVals.add(_elem722); } } 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 522fb92bf9..0c5f62b9e2 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 _list776 = iprot.readListBegin(); - struct.functions = new ArrayList(_list776.size); - Function _elem777; - for (int _i778 = 0; _i778 < _list776.size; ++_i778) + org.apache.thrift.protocol.TList _list784 = iprot.readListBegin(); + struct.functions = new ArrayList(_list784.size); + Function _elem785; + for (int _i786 = 0; _i786 < _list784.size; ++_i786) { - _elem777 = new Function(); - _elem777.read(iprot); - struct.functions.add(_elem777); + _elem785 = new Function(); + _elem785.read(iprot); + struct.functions.add(_elem785); } 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 _iter779 : struct.functions) + for (Function _iter787 : struct.functions) { - _iter779.write(oprot); + _iter787.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 _iter780 : struct.functions) + for (Function _iter788 : struct.functions) { - _iter780.write(oprot); + _iter788.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 _list781 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list781.size); - Function _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.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list789.size); + Function _elem790; + for (int _i791 = 0; _i791 < _list789.size; ++_i791) { - _elem782 = new Function(); - _elem782.read(iprot); - struct.functions.add(_elem782); + _elem790 = new Function(); + _elem790.read(iprot); + struct.functions.add(_elem790); } } 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 f5f1eb33c8..b64dea4c3c 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 _list726 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list726.size); - long _elem727; - for (int _i728 = 0; _i728 < _list726.size; ++_i728) + org.apache.thrift.protocol.TList _list734 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list734.size); + long _elem735; + for (int _i736 = 0; _i736 < _list734.size; ++_i736) { - _elem727 = iprot.readI64(); - struct.fileIds.add(_elem727); + _elem735 = iprot.readI64(); + struct.fileIds.add(_elem735); } 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 _iter729 : struct.fileIds) + for (long _iter737 : struct.fileIds) { - oprot.writeI64(_iter729); + oprot.writeI64(_iter737); } 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 _iter730 : struct.fileIds) + for (long _iter738 : struct.fileIds) { - oprot.writeI64(_iter730); + oprot.writeI64(_iter738); } } 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 _list731 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list731.size); - long _elem732; - for (int _i733 = 0; _i733 < _list731.size; ++_i733) + 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) { - _elem732 = iprot.readI64(); - struct.fileIds.add(_elem732); + _elem740 = iprot.readI64(); + struct.fileIds.add(_elem740); } } 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 370ab66e19..a01a36616f 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 _map716 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map716.size); - long _key717; - MetadataPpdResult _val718; - for (int _i719 = 0; _i719 < _map716.size; ++_i719) + 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) { - _key717 = iprot.readI64(); - _val718 = new MetadataPpdResult(); - _val718.read(iprot); - struct.metadata.put(_key717, _val718); + _key725 = iprot.readI64(); + _val726 = new MetadataPpdResult(); + _val726.read(iprot); + struct.metadata.put(_key725, _val726); } 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 _iter720 : struct.metadata.entrySet()) + for (Map.Entry _iter728 : struct.metadata.entrySet()) { - oprot.writeI64(_iter720.getKey()); - _iter720.getValue().write(oprot); + oprot.writeI64(_iter728.getKey()); + _iter728.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 _iter721 : struct.metadata.entrySet()) + for (Map.Entry _iter729 : struct.metadata.entrySet()) { - oprot.writeI64(_iter721.getKey()); - _iter721.getValue().write(oprot); + oprot.writeI64(_iter729.getKey()); + _iter729.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 _map722 = 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*_map722.size); - long _key723; - MetadataPpdResult _val724; - for (int _i725 = 0; _i725 < _map722.size; ++_i725) + 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) { - _key723 = iprot.readI64(); - _val724 = new MetadataPpdResult(); - _val724.read(iprot); - struct.metadata.put(_key723, _val724); + _key731 = iprot.readI64(); + _val732 = new MetadataPpdResult(); + _val732.read(iprot); + struct.metadata.put(_key731, _val732); } } 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 c74c2b0d74..4541cf404b 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 _list744 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list744.size); - long _elem745; - for (int _i746 = 0; _i746 < _list744.size; ++_i746) + org.apache.thrift.protocol.TList _list752 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list752.size); + long _elem753; + for (int _i754 = 0; _i754 < _list752.size; ++_i754) { - _elem745 = iprot.readI64(); - struct.fileIds.add(_elem745); + _elem753 = iprot.readI64(); + struct.fileIds.add(_elem753); } 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 _iter747 : struct.fileIds) + for (long _iter755 : struct.fileIds) { - oprot.writeI64(_iter747); + oprot.writeI64(_iter755); } 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 _iter748 : struct.fileIds) + for (long _iter756 : struct.fileIds) { - oprot.writeI64(_iter748); + oprot.writeI64(_iter756); } } } @@ -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 _list749 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list749.size); - long _elem750; - for (int _i751 = 0; _i751 < _list749.size; ++_i751) + 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) { - _elem750 = iprot.readI64(); - struct.fileIds.add(_elem750); + _elem758 = iprot.readI64(); + struct.fileIds.add(_elem758); } } 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 6431b6db20..3efb371223 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 _map734 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map734.size); - long _key735; - ByteBuffer _val736; - for (int _i737 = 0; _i737 < _map734.size; ++_i737) + 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) { - _key735 = iprot.readI64(); - _val736 = iprot.readBinary(); - struct.metadata.put(_key735, _val736); + _key743 = iprot.readI64(); + _val744 = iprot.readBinary(); + struct.metadata.put(_key743, _val744); } 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 _iter738 : struct.metadata.entrySet()) + for (Map.Entry _iter746 : struct.metadata.entrySet()) { - oprot.writeI64(_iter738.getKey()); - oprot.writeBinary(_iter738.getValue()); + oprot.writeI64(_iter746.getKey()); + oprot.writeBinary(_iter746.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 _iter739 : struct.metadata.entrySet()) + for (Map.Entry _iter747 : struct.metadata.entrySet()) { - oprot.writeI64(_iter739.getKey()); - oprot.writeBinary(_iter739.getValue()); + oprot.writeI64(_iter747.getKey()); + oprot.writeBinary(_iter747.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 _map740 = 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*_map740.size); - long _key741; - ByteBuffer _val742; - for (int _i743 = 0; _i743 < _map740.size; ++_i743) + 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) { - _key741 = iprot.readI64(); - _val742 = iprot.readBinary(); - struct.metadata.put(_key741, _val742); + _key749 = iprot.readI64(); + _val750 = iprot.readBinary(); + struct.metadata.put(_key749, _val750); } } 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 7b9e6c589c..34a17d8845 100644 --- a/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java +++ b/standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/GetTablesRequest.java @@ -525,13 +525,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, GetTablesRequest st case 2: // TBL_NAMES if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list792 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list792.size); - String _elem793; - for (int _i794 = 0; _i794 < _list792.size; ++_i794) + org.apache.thrift.protocol.TList _list800 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list800.size); + String _elem801; + for (int _i802 = 0; _i802 < _list800.size; ++_i802) { - _elem793 = iprot.readString(); - struct.tblNames.add(_elem793); + _elem801 = iprot.readString(); + struct.tblNames.add(_elem801); } iprot.readListEnd(); } @@ -572,9 +572,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, GetTablesRequest s oprot.writeFieldBegin(TBL_NAMES_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.tblNames.size())); - for (String _iter795 : struct.tblNames) + for (String _iter803 : struct.tblNames) { - oprot.writeString(_iter795); + oprot.writeString(_iter803); } oprot.writeListEnd(); } @@ -617,9 +617,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest st if (struct.isSetTblNames()) { { oprot.writeI32(struct.tblNames.size()); - for (String _iter796 : struct.tblNames) + for (String _iter804 : struct.tblNames) { - oprot.writeString(_iter796); + oprot.writeString(_iter804); } } } @@ -636,13 +636,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, GetTablesRequest str BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list797 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list797.size); - String _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.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list805.size); + String _elem806; + for (int _i807 = 0; _i807 < _list805.size; ++_i807) { - _elem798 = iprot.readString(); - struct.tblNames.add(_elem798); + _elem806 = iprot.readString(); + struct.tblNames.add(_elem806); } } 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 3ad5104f16..c020773fd4 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 _list800 = iprot.readListBegin(); - struct.tables = new ArrayList
(_list800.size); - Table _elem801; - for (int _i802 = 0; _i802 < _list800.size; ++_i802) + org.apache.thrift.protocol.TList _list808 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list808.size); + Table _elem809; + for (int _i810 = 0; _i810 < _list808.size; ++_i810) { - _elem801 = new Table(); - _elem801.read(iprot); - struct.tables.add(_elem801); + _elem809 = new Table(); + _elem809.read(iprot); + struct.tables.add(_elem809); } 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 _iter803 : struct.tables) + for (Table _iter811 : struct.tables) { - _iter803.write(oprot); + _iter811.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 _iter804 : struct.tables) + for (Table _iter812 : struct.tables) { - _iter804.write(oprot); + _iter812.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 _list805 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list805.size); - Table _elem806; - for (int _i807 = 0; _i807 < _list805.size; ++_i807) + org.apache.thrift.protocol.TList _list813 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list813.size); + Table _elem814; + for (int _i815 = 0; _i815 < _list813.size; ++_i815) { - _elem806 = new Table(); - _elem806.read(iprot); - struct.tables.add(_elem806); + _elem814 = new Table(); + _elem814.read(iprot); + struct.tables.add(_elem814); } } 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 f3db7ba467..68256c7850 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 _list578 = iprot.readListBegin(); - struct.fullTableNames = new ArrayList(_list578.size); - String _elem579; - for (int _i580 = 0; _i580 < _list578.size; ++_i580) + org.apache.thrift.protocol.TList _list586 = iprot.readListBegin(); + struct.fullTableNames = new ArrayList(_list586.size); + String _elem587; + for (int _i588 = 0; _i588 < _list586.size; ++_i588) { - _elem579 = iprot.readString(); - struct.fullTableNames.add(_elem579); + _elem587 = iprot.readString(); + struct.fullTableNames.add(_elem587); } 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 _iter581 : struct.fullTableNames) + for (String _iter589 : struct.fullTableNames) { - oprot.writeString(_iter581); + oprot.writeString(_iter589); } 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 _iter582 : struct.fullTableNames) + for (String _iter590 : struct.fullTableNames) { - oprot.writeString(_iter582); + oprot.writeString(_iter590); } } 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 _list583 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fullTableNames = new ArrayList(_list583.size); - String _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.STRING, iprot.readI32()); + struct.fullTableNames = new ArrayList(_list591.size); + String _elem592; + for (int _i593 = 0; _i593 < _list591.size; ++_i593) { - _elem584 = iprot.readString(); - struct.fullTableNames.add(_elem584); + _elem592 = iprot.readString(); + struct.fullTableNames.add(_elem592); } } 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 e0b0dca2ef..5512fb4c1e 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 _list594 = iprot.readListBegin(); - struct.tblValidWriteIds = new ArrayList(_list594.size); - TableValidWriteIds _elem595; - for (int _i596 = 0; _i596 < _list594.size; ++_i596) + org.apache.thrift.protocol.TList _list602 = iprot.readListBegin(); + struct.tblValidWriteIds = new ArrayList(_list602.size); + TableValidWriteIds _elem603; + for (int _i604 = 0; _i604 < _list602.size; ++_i604) { - _elem595 = new TableValidWriteIds(); - _elem595.read(iprot); - struct.tblValidWriteIds.add(_elem595); + _elem603 = new TableValidWriteIds(); + _elem603.read(iprot); + struct.tblValidWriteIds.add(_elem603); } 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 _iter597 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter605 : struct.tblValidWriteIds) { - _iter597.write(oprot); + _iter605.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 _iter598 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter606 : struct.tblValidWriteIds) { - _iter598.write(oprot); + _iter606.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 _list599 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tblValidWriteIds = new ArrayList(_list599.size); - TableValidWriteIds _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.STRUCT, iprot.readI32()); + struct.tblValidWriteIds = new ArrayList(_list607.size); + TableValidWriteIds _elem608; + for (int _i609 = 0; _i609 < _list607.size; ++_i609) { - _elem600 = new TableValidWriteIds(); - _elem600.read(iprot); - struct.tblValidWriteIds.add(_elem600); + _elem608 = new TableValidWriteIds(); + _elem608.read(iprot); + struct.tblValidWriteIds.add(_elem608); } } 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 fb2f4dc8da..c5bc23e356 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 _set634 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set634.size); - long _elem635; - for (int _i636 = 0; _i636 < _set634.size; ++_i636) + 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) { - _elem635 = iprot.readI64(); - struct.aborted.add(_elem635); + _elem643 = iprot.readI64(); + struct.aborted.add(_elem643); } 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 _set637 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set637.size); - long _elem638; - for (int _i639 = 0; _i639 < _set637.size; ++_i639) + 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) { - _elem638 = iprot.readI64(); - struct.nosuch.add(_elem638); + _elem646 = iprot.readI64(); + struct.nosuch.add(_elem646); } 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 _iter640 : struct.aborted) + for (long _iter648 : struct.aborted) { - oprot.writeI64(_iter640); + oprot.writeI64(_iter648); } 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 _iter641 : struct.nosuch) + for (long _iter649 : struct.nosuch) { - oprot.writeI64(_iter641); + oprot.writeI64(_iter649); } 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 _iter642 : struct.aborted) + for (long _iter650 : struct.aborted) { - oprot.writeI64(_iter642); + oprot.writeI64(_iter650); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter643 : struct.nosuch) + for (long _iter651 : struct.nosuch) { - oprot.writeI64(_iter643); + oprot.writeI64(_iter651); } } } @@ -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 _set644 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set644.size); - long _elem645; - for (int _i646 = 0; _i646 < _set644.size; ++_i646) + 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) { - _elem645 = iprot.readI64(); - struct.aborted.add(_elem645); + _elem653 = iprot.readI64(); + struct.aborted.add(_elem653); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set647 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set647.size); - long _elem648; - for (int _i649 = 0; _i649 < _set647.size; ++_i649) + 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) { - _elem648 = iprot.readI64(); - struct.nosuch.add(_elem648); + _elem656 = iprot.readI64(); + struct.nosuch.add(_elem656); } } 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 d1cdb4b541..8a3361181b 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 _list692 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list692.size); - String _elem693; - for (int _i694 = 0; _i694 < _list692.size; ++_i694) + org.apache.thrift.protocol.TList _list700 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list700.size); + String _elem701; + for (int _i702 = 0; _i702 < _list700.size; ++_i702) { - _elem693 = iprot.readString(); - struct.filesAdded.add(_elem693); + _elem701 = iprot.readString(); + struct.filesAdded.add(_elem701); } 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 _list695 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list695.size); - String _elem696; - for (int _i697 = 0; _i697 < _list695.size; ++_i697) + org.apache.thrift.protocol.TList _list703 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list703.size); + String _elem704; + for (int _i705 = 0; _i705 < _list703.size; ++_i705) { - _elem696 = iprot.readString(); - struct.filesAddedChecksum.add(_elem696); + _elem704 = iprot.readString(); + struct.filesAddedChecksum.add(_elem704); } 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 _iter698 : struct.filesAdded) + for (String _iter706 : struct.filesAdded) { - oprot.writeString(_iter698); + oprot.writeString(_iter706); } 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 _iter699 : struct.filesAddedChecksum) + for (String _iter707 : struct.filesAddedChecksum) { - oprot.writeString(_iter699); + oprot.writeString(_iter707); } 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 _iter700 : struct.filesAdded) + for (String _iter708 : struct.filesAdded) { - oprot.writeString(_iter700); + oprot.writeString(_iter708); } } 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 _iter701 : struct.filesAddedChecksum) + for (String _iter709 : struct.filesAddedChecksum) { - oprot.writeString(_iter701); + oprot.writeString(_iter709); } } } @@ -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 _list702 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list702.size); - String _elem703; - for (int _i704 = 0; _i704 < _list702.size; ++_i704) + 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) { - _elem703 = iprot.readString(); - struct.filesAdded.add(_elem703); + _elem711 = iprot.readString(); + struct.filesAdded.add(_elem711); } } 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 _list705 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list705.size); - String _elem706; - for (int _i707 = 0; _i707 < _list705.size; ++_i707) + org.apache.thrift.protocol.TList _list713 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list713.size); + String _elem714; + for (int _i715 = 0; _i715 < _list713.size; ++_i715) { - _elem706 = iprot.readString(); - struct.filesAddedChecksum.add(_elem706); + _elem714 = iprot.readString(); + struct.filesAddedChecksum.add(_elem714); } } 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 722619f97b..6f03ea96c6 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 _list618 = iprot.readListBegin(); - struct.component = new ArrayList(_list618.size); - LockComponent _elem619; - for (int _i620 = 0; _i620 < _list618.size; ++_i620) + org.apache.thrift.protocol.TList _list626 = iprot.readListBegin(); + struct.component = new ArrayList(_list626.size); + LockComponent _elem627; + for (int _i628 = 0; _i628 < _list626.size; ++_i628) { - _elem619 = new LockComponent(); - _elem619.read(iprot); - struct.component.add(_elem619); + _elem627 = new LockComponent(); + _elem627.read(iprot); + struct.component.add(_elem627); } 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 _iter621 : struct.component) + for (LockComponent _iter629 : struct.component) { - _iter621.write(oprot); + _iter629.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 _iter622 : struct.component) + for (LockComponent _iter630 : struct.component) { - _iter622.write(oprot); + _iter630.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 _list623 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list623.size); - LockComponent _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.component = new ArrayList(_list631.size); + LockComponent _elem632; + for (int _i633 = 0; _i633 < _list631.size; ++_i633) { - _elem624 = new LockComponent(); - _elem624.read(iprot); - struct.component.add(_elem624); + _elem632 = new LockComponent(); + _elem632.read(iprot); + struct.component.add(_elem632); } } 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 fec35d50b7..faee4be82e 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 _set808 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set808.size); - String _elem809; - for (int _i810 = 0; _i810 < _set808.size; ++_i810) + 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) { - _elem809 = iprot.readString(); - struct.tablesUsed.add(_elem809); + _elem817 = iprot.readString(); + struct.tablesUsed.add(_elem817); } 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 _iter811 : struct.tablesUsed) + for (String _iter819 : struct.tablesUsed) { - oprot.writeString(_iter811); + oprot.writeString(_iter819); } 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 _iter812 : struct.tablesUsed) + for (String _iter820 : struct.tablesUsed) { - oprot.writeString(_iter812); + oprot.writeString(_iter820); } } 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 _set813 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set813.size); - String _elem814; - for (int _i815 = 0; _i815 < _set813.size; ++_i815) + 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) { - _elem814 = iprot.readString(); - struct.tablesUsed.add(_elem814); + _elem822 = iprot.readString(); + struct.tablesUsed.add(_elem822); } } 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 ff40ab592c..5045bdadda 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 _list684 = iprot.readListBegin(); - struct.events = new ArrayList(_list684.size); - NotificationEvent _elem685; - for (int _i686 = 0; _i686 < _list684.size; ++_i686) + org.apache.thrift.protocol.TList _list692 = iprot.readListBegin(); + struct.events = new ArrayList(_list692.size); + NotificationEvent _elem693; + for (int _i694 = 0; _i694 < _list692.size; ++_i694) { - _elem685 = new NotificationEvent(); - _elem685.read(iprot); - struct.events.add(_elem685); + _elem693 = new NotificationEvent(); + _elem693.read(iprot); + struct.events.add(_elem693); } 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 _iter687 : struct.events) + for (NotificationEvent _iter695 : struct.events) { - _iter687.write(oprot); + _iter695.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 _iter688 : struct.events) + for (NotificationEvent _iter696 : struct.events) { - _iter688.write(oprot); + _iter696.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 _list689 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list689.size); - NotificationEvent _elem690; - for (int _i691 = 0; _i691 < _list689.size; ++_i691) + org.apache.thrift.protocol.TList _list697 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list697.size); + NotificationEvent _elem698; + for (int _i699 = 0; _i699 < _list697.size; ++_i699) { - _elem690 = new NotificationEvent(); - _elem690.read(iprot); - struct.events.add(_elem690); + _elem698 = new NotificationEvent(); + _elem698.read(iprot); + struct.events.add(_elem698); } } 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..599986de9e 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 _list562 = iprot.readListBegin(); + struct.replSrcTxnIds = new ArrayList(_list562.size); + long _elem563; + for (int _i564 = 0; _i564 < _list562.size; ++_i564) + { + _elem563 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem563); + } + 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 _iter565 : struct.replSrcTxnIds) + { + oprot.writeI64(_iter565); + } + 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 _iter566 : struct.replSrcTxnIds) + { + oprot.writeI64(_iter566); + } + } + } } @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 _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.replSrcTxnIds = new ArrayList(_list567.size); + long _elem568; + for (int _i569 = 0; _i569 < _list567.size; ++_i569) + { + _elem568 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem568); + } + } + 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 8f08ed93d0..7adac3a800 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 _list562 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list562.size); - long _elem563; - for (int _i564 = 0; _i564 < _list562.size; ++_i564) + 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) { - _elem563 = iprot.readI64(); - struct.txn_ids.add(_elem563); + _elem571 = iprot.readI64(); + struct.txn_ids.add(_elem571); } 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 _iter565 : struct.txn_ids) + for (long _iter573 : struct.txn_ids) { - oprot.writeI64(_iter565); + oprot.writeI64(_iter573); } 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 _iter566 : struct.txn_ids) + for (long _iter574 : struct.txn_ids) { - oprot.writeI64(_iter566); + oprot.writeI64(_iter574); } } } @@ -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 _list567 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list567.size); - long _elem568; - for (int _i569 = 0; _i569 < _list567.size; ++_i569) + 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) { - _elem568 = iprot.readI64(); - struct.txn_ids.add(_elem568); + _elem576 = iprot.readI64(); + struct.txn_ids.add(_elem576); } } 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 490d7185d6..e8cba59998 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 _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(); } @@ -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 _list755 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list755.size); - ByteBuffer _elem756; - for (int _i757 = 0; _i757 < _list755.size; ++_i757) + org.apache.thrift.protocol.TList _list763 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list763.size); + ByteBuffer _elem764; + for (int _i765 = 0; _i765 < _list763.size; ++_i765) { - _elem756 = iprot.readBinary(); - struct.metadata.add(_elem756); + _elem764 = iprot.readBinary(); + struct.metadata.add(_elem764); } 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 _iter758 : struct.fileIds) + for (long _iter766 : struct.fileIds) { - oprot.writeI64(_iter758); + oprot.writeI64(_iter766); } 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 _iter759 : struct.metadata) + for (ByteBuffer _iter767 : struct.metadata) { - oprot.writeBinary(_iter759); + oprot.writeBinary(_iter767); } 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 _iter760 : struct.fileIds) + for (long _iter768 : struct.fileIds) { - oprot.writeI64(_iter760); + oprot.writeI64(_iter768); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter761 : struct.metadata) + for (ByteBuffer _iter769 : struct.metadata) { - oprot.writeBinary(_iter761); + oprot.writeBinary(_iter769); } } 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 _list762 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list762.size); - long _elem763; - for (int _i764 = 0; _i764 < _list762.size; ++_i764) + 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) { - _elem763 = iprot.readI64(); - struct.fileIds.add(_elem763); + _elem771 = iprot.readI64(); + struct.fileIds.add(_elem771); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list765 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list765.size); - ByteBuffer _elem766; - for (int _i767 = 0; _i767 < _list765.size; ++_i767) + org.apache.thrift.protocol.TList _list773 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list773.size); + ByteBuffer _elem774; + for (int _i775 = 0; _i775 < _list773.size; ++_i775) { - _elem766 = iprot.readBinary(); - struct.metadata.add(_elem766); + _elem774 = iprot.readBinary(); + struct.metadata.add(_elem774); } } 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 50efdbdf30..da919d7305 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 _list880 = iprot.readListBegin(); - struct.cols = new ArrayList(_list880.size); - FieldSchema _elem881; - for (int _i882 = 0; _i882 < _list880.size; ++_i882) + org.apache.thrift.protocol.TList _list888 = iprot.readListBegin(); + struct.cols = new ArrayList(_list888.size); + FieldSchema _elem889; + for (int _i890 = 0; _i890 < _list888.size; ++_i890) { - _elem881 = new FieldSchema(); - _elem881.read(iprot); - struct.cols.add(_elem881); + _elem889 = new FieldSchema(); + _elem889.read(iprot); + struct.cols.add(_elem889); } 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 _iter883 : struct.cols) + for (FieldSchema _iter891 : struct.cols) { - _iter883.write(oprot); + _iter891.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 _iter884 : struct.cols) + for (FieldSchema _iter892 : struct.cols) { - _iter884.write(oprot); + _iter892.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 _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.cols = new ArrayList(_list885.size); - FieldSchema _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.cols = new ArrayList(_list893.size); + FieldSchema _elem894; + for (int _i895 = 0; _i895 < _list893.size; ++_i895) { - _elem886 = new FieldSchema(); - _elem886.read(iprot); - struct.cols.add(_elem886); + _elem894 = new FieldSchema(); + _elem894.read(iprot); + struct.cols.add(_elem894); } } 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 dd1366ba6d..35d6d24c30 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 _list660 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list660.size); - ShowCompactResponseElement _elem661; - for (int _i662 = 0; _i662 < _list660.size; ++_i662) + org.apache.thrift.protocol.TList _list668 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list668.size); + ShowCompactResponseElement _elem669; + for (int _i670 = 0; _i670 < _list668.size; ++_i670) { - _elem661 = new ShowCompactResponseElement(); - _elem661.read(iprot); - struct.compacts.add(_elem661); + _elem669 = new ShowCompactResponseElement(); + _elem669.read(iprot); + struct.compacts.add(_elem669); } 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 _iter663 : struct.compacts) + for (ShowCompactResponseElement _iter671 : struct.compacts) { - _iter663.write(oprot); + _iter671.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 _iter664 : struct.compacts) + for (ShowCompactResponseElement _iter672 : struct.compacts) { - _iter664.write(oprot); + _iter672.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 _list665 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list665.size); - ShowCompactResponseElement _elem666; - for (int _i667 = 0; _i667 < _list665.size; ++_i667) + 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) { - _elem666 = new ShowCompactResponseElement(); - _elem666.read(iprot); - struct.compacts.add(_elem666); + _elem674 = new ShowCompactResponseElement(); + _elem674.read(iprot); + struct.compacts.add(_elem674); } } 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 941f756f80..c8fd20eb1c 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 _list626 = iprot.readListBegin(); - struct.locks = new ArrayList(_list626.size); - ShowLocksResponseElement _elem627; - for (int _i628 = 0; _i628 < _list626.size; ++_i628) + org.apache.thrift.protocol.TList _list634 = iprot.readListBegin(); + struct.locks = new ArrayList(_list634.size); + ShowLocksResponseElement _elem635; + for (int _i636 = 0; _i636 < _list634.size; ++_i636) { - _elem627 = new ShowLocksResponseElement(); - _elem627.read(iprot); - struct.locks.add(_elem627); + _elem635 = new ShowLocksResponseElement(); + _elem635.read(iprot); + struct.locks.add(_elem635); } 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 _iter629 : struct.locks) + for (ShowLocksResponseElement _iter637 : struct.locks) { - _iter629.write(oprot); + _iter637.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 _iter630 : struct.locks) + for (ShowLocksResponseElement _iter638 : struct.locks) { - _iter630.write(oprot); + _iter638.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 _list631 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list631.size); - ShowLocksResponseElement _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.locks = new ArrayList(_list639.size); + ShowLocksResponseElement _elem640; + for (int _i641 = 0; _i641 < _list639.size; ++_i641) { - _elem632 = new ShowLocksResponseElement(); - _elem632.read(iprot); - struct.locks.add(_elem632); + _elem640 = new ShowLocksResponseElement(); + _elem640.read(iprot); + struct.locks.add(_elem640); } } 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 893454e700..e0defbdeba 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 _list586 = iprot.readListBegin(); - struct.invalidWriteIds = new ArrayList(_list586.size); - long _elem587; - for (int _i588 = 0; _i588 < _list586.size; ++_i588) + org.apache.thrift.protocol.TList _list594 = iprot.readListBegin(); + struct.invalidWriteIds = new ArrayList(_list594.size); + long _elem595; + for (int _i596 = 0; _i596 < _list594.size; ++_i596) { - _elem587 = iprot.readI64(); - struct.invalidWriteIds.add(_elem587); + _elem595 = iprot.readI64(); + struct.invalidWriteIds.add(_elem595); } 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 _iter589 : struct.invalidWriteIds) + for (long _iter597 : struct.invalidWriteIds) { - oprot.writeI64(_iter589); + oprot.writeI64(_iter597); } 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 _iter590 : struct.invalidWriteIds) + for (long _iter598 : struct.invalidWriteIds) { - oprot.writeI64(_iter590); + oprot.writeI64(_iter598); } } 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 _list591 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.invalidWriteIds = new ArrayList(_list591.size); - long _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.I64, iprot.readI32()); + struct.invalidWriteIds = new ArrayList(_list599.size); + long _elem600; + for (int _i601 = 0; _i601 < _list599.size; ++_i601) { - _elem592 = iprot.readI64(); - struct.invalidWriteIds.add(_elem592); + _elem600 = iprot.readI64(); + struct.invalidWriteIds.add(_elem600); } } 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 e824f4a145..b0aca2302d 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 @@ -36162,13 +36162,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 _list896 = iprot.readListBegin(); - struct.success = new ArrayList(_list896.size); - String _elem897; - for (int _i898 = 0; _i898 < _list896.size; ++_i898) + org.apache.thrift.protocol.TList _list904 = iprot.readListBegin(); + struct.success = new ArrayList(_list904.size); + String _elem905; + for (int _i906 = 0; _i906 < _list904.size; ++_i906) { - _elem897 = iprot.readString(); - struct.success.add(_elem897); + _elem905 = iprot.readString(); + struct.success.add(_elem905); } iprot.readListEnd(); } @@ -36203,9 +36203,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 _iter899 : struct.success) + for (String _iter907 : struct.success) { - oprot.writeString(_iter899); + oprot.writeString(_iter907); } oprot.writeListEnd(); } @@ -36244,9 +36244,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter900 : struct.success) + for (String _iter908 : struct.success) { - oprot.writeString(_iter900); + oprot.writeString(_iter908); } } } @@ -36261,13 +36261,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 _list901 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list901.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list909.size); + String _elem910; + for (int _i911 = 0; _i911 < _list909.size; ++_i911) { - _elem902 = iprot.readString(); - struct.success.add(_elem902); + _elem910 = iprot.readString(); + struct.success.add(_elem910); } } struct.setSuccessIsSet(true); @@ -36921,13 +36921,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 _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(); } @@ -36962,9 +36962,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 _iter907 : struct.success) + for (String _iter915 : struct.success) { - oprot.writeString(_iter907); + oprot.writeString(_iter915); } oprot.writeListEnd(); } @@ -37003,9 +37003,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter908 : struct.success) + for (String _iter916 : struct.success) { - oprot.writeString(_iter908); + oprot.writeString(_iter916); } } } @@ -37020,13 +37020,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 _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); @@ -41633,16 +41633,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 _map912 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map912.size); - String _key913; - Type _val914; - for (int _i915 = 0; _i915 < _map912.size; ++_i915) + 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) { - _key913 = iprot.readString(); - _val914 = new Type(); - _val914.read(iprot); - struct.success.put(_key913, _val914); + _key921 = iprot.readString(); + _val922 = new Type(); + _val922.read(iprot); + struct.success.put(_key921, _val922); } iprot.readMapEnd(); } @@ -41677,10 +41677,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 _iter916 : struct.success.entrySet()) + for (Map.Entry _iter924 : struct.success.entrySet()) { - oprot.writeString(_iter916.getKey()); - _iter916.getValue().write(oprot); + oprot.writeString(_iter924.getKey()); + _iter924.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -41719,10 +41719,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 _iter917 : struct.success.entrySet()) + for (Map.Entry _iter925 : struct.success.entrySet()) { - oprot.writeString(_iter917.getKey()); - _iter917.getValue().write(oprot); + oprot.writeString(_iter925.getKey()); + _iter925.getValue().write(oprot); } } } @@ -41737,16 +41737,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 _map918 = 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*_map918.size); - String _key919; - Type _val920; - for (int _i921 = 0; _i921 < _map918.size; ++_i921) + 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) { - _key919 = iprot.readString(); - _val920 = new Type(); - _val920.read(iprot); - struct.success.put(_key919, _val920); + _key927 = iprot.readString(); + _val928 = new Type(); + _val928.read(iprot); + struct.success.put(_key927, _val928); } } struct.setSuccessIsSet(true); @@ -42781,14 +42781,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 _list922 = iprot.readListBegin(); - struct.success = new ArrayList(_list922.size); - FieldSchema _elem923; - for (int _i924 = 0; _i924 < _list922.size; ++_i924) + org.apache.thrift.protocol.TList _list930 = iprot.readListBegin(); + struct.success = new ArrayList(_list930.size); + FieldSchema _elem931; + for (int _i932 = 0; _i932 < _list930.size; ++_i932) { - _elem923 = new FieldSchema(); - _elem923.read(iprot); - struct.success.add(_elem923); + _elem931 = new FieldSchema(); + _elem931.read(iprot); + struct.success.add(_elem931); } iprot.readListEnd(); } @@ -42841,9 +42841,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 _iter925 : struct.success) + for (FieldSchema _iter933 : struct.success) { - _iter925.write(oprot); + _iter933.write(oprot); } oprot.writeListEnd(); } @@ -42898,9 +42898,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter926 : struct.success) + for (FieldSchema _iter934 : struct.success) { - _iter926.write(oprot); + _iter934.write(oprot); } } } @@ -42921,14 +42921,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 _list927 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list927.size); - FieldSchema _elem928; - for (int _i929 = 0; _i929 < _list927.size; ++_i929) + 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) { - _elem928 = new FieldSchema(); - _elem928.read(iprot); - struct.success.add(_elem928); + _elem936 = new FieldSchema(); + _elem936.read(iprot); + struct.success.add(_elem936); } } struct.setSuccessIsSet(true); @@ -44082,14 +44082,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 _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(); } @@ -44142,9 +44142,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 _iter933 : struct.success) + for (FieldSchema _iter941 : struct.success) { - _iter933.write(oprot); + _iter941.write(oprot); } oprot.writeListEnd(); } @@ -44199,9 +44199,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter934 : struct.success) + for (FieldSchema _iter942 : struct.success) { - _iter934.write(oprot); + _iter942.write(oprot); } } } @@ -44222,14 +44222,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 _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); @@ -45274,14 +45274,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 _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(); } @@ -45334,9 +45334,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 _iter941 : struct.success) + for (FieldSchema _iter949 : struct.success) { - _iter941.write(oprot); + _iter949.write(oprot); } oprot.writeListEnd(); } @@ -45391,9 +45391,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter942 : struct.success) + for (FieldSchema _iter950 : struct.success) { - _iter942.write(oprot); + _iter950.write(oprot); } } } @@ -45414,14 +45414,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 _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); @@ -46575,14 +46575,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 _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(); } @@ -46635,9 +46635,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 _iter949 : struct.success) + for (FieldSchema _iter957 : struct.success) { - _iter949.write(oprot); + _iter957.write(oprot); } oprot.writeListEnd(); } @@ -46692,9 +46692,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter950 : struct.success) + for (FieldSchema _iter958 : struct.success) { - _iter950.write(oprot); + _iter958.write(oprot); } } } @@ -46715,14 +46715,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 _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); @@ -49851,14 +49851,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 _list954 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list954.size); - SQLPrimaryKey _elem955; - for (int _i956 = 0; _i956 < _list954.size; ++_i956) + org.apache.thrift.protocol.TList _list962 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list962.size); + SQLPrimaryKey _elem963; + for (int _i964 = 0; _i964 < _list962.size; ++_i964) { - _elem955 = new SQLPrimaryKey(); - _elem955.read(iprot); - struct.primaryKeys.add(_elem955); + _elem963 = new SQLPrimaryKey(); + _elem963.read(iprot); + struct.primaryKeys.add(_elem963); } iprot.readListEnd(); } @@ -49870,14 +49870,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 _list957 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list957.size); - SQLForeignKey _elem958; - for (int _i959 = 0; _i959 < _list957.size; ++_i959) + org.apache.thrift.protocol.TList _list965 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list965.size); + SQLForeignKey _elem966; + for (int _i967 = 0; _i967 < _list965.size; ++_i967) { - _elem958 = new SQLForeignKey(); - _elem958.read(iprot); - struct.foreignKeys.add(_elem958); + _elem966 = new SQLForeignKey(); + _elem966.read(iprot); + struct.foreignKeys.add(_elem966); } iprot.readListEnd(); } @@ -49889,14 +49889,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 _list960 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list960.size); - SQLUniqueConstraint _elem961; - for (int _i962 = 0; _i962 < _list960.size; ++_i962) + org.apache.thrift.protocol.TList _list968 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list968.size); + SQLUniqueConstraint _elem969; + for (int _i970 = 0; _i970 < _list968.size; ++_i970) { - _elem961 = new SQLUniqueConstraint(); - _elem961.read(iprot); - struct.uniqueConstraints.add(_elem961); + _elem969 = new SQLUniqueConstraint(); + _elem969.read(iprot); + struct.uniqueConstraints.add(_elem969); } iprot.readListEnd(); } @@ -49908,14 +49908,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 _list963 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list963.size); - SQLNotNullConstraint _elem964; - for (int _i965 = 0; _i965 < _list963.size; ++_i965) + org.apache.thrift.protocol.TList _list971 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list971.size); + SQLNotNullConstraint _elem972; + for (int _i973 = 0; _i973 < _list971.size; ++_i973) { - _elem964 = new SQLNotNullConstraint(); - _elem964.read(iprot); - struct.notNullConstraints.add(_elem964); + _elem972 = new SQLNotNullConstraint(); + _elem972.read(iprot); + struct.notNullConstraints.add(_elem972); } iprot.readListEnd(); } @@ -49927,14 +49927,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 _list966 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list966.size); - SQLDefaultConstraint _elem967; - for (int _i968 = 0; _i968 < _list966.size; ++_i968) + org.apache.thrift.protocol.TList _list974 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list974.size); + SQLDefaultConstraint _elem975; + for (int _i976 = 0; _i976 < _list974.size; ++_i976) { - _elem967 = new SQLDefaultConstraint(); - _elem967.read(iprot); - struct.defaultConstraints.add(_elem967); + _elem975 = new SQLDefaultConstraint(); + _elem975.read(iprot); + struct.defaultConstraints.add(_elem975); } iprot.readListEnd(); } @@ -49946,14 +49946,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 _list969 = iprot.readListBegin(); - struct.checkConstraints = new ArrayList(_list969.size); - SQLCheckConstraint _elem970; - for (int _i971 = 0; _i971 < _list969.size; ++_i971) + org.apache.thrift.protocol.TList _list977 = iprot.readListBegin(); + struct.checkConstraints = new ArrayList(_list977.size); + SQLCheckConstraint _elem978; + for (int _i979 = 0; _i979 < _list977.size; ++_i979) { - _elem970 = new SQLCheckConstraint(); - _elem970.read(iprot); - struct.checkConstraints.add(_elem970); + _elem978 = new SQLCheckConstraint(); + _elem978.read(iprot); + struct.checkConstraints.add(_elem978); } iprot.readListEnd(); } @@ -49984,9 +49984,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 _iter972 : struct.primaryKeys) + for (SQLPrimaryKey _iter980 : struct.primaryKeys) { - _iter972.write(oprot); + _iter980.write(oprot); } oprot.writeListEnd(); } @@ -49996,9 +49996,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 _iter973 : struct.foreignKeys) + for (SQLForeignKey _iter981 : struct.foreignKeys) { - _iter973.write(oprot); + _iter981.write(oprot); } oprot.writeListEnd(); } @@ -50008,9 +50008,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 _iter974 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter982 : struct.uniqueConstraints) { - _iter974.write(oprot); + _iter982.write(oprot); } oprot.writeListEnd(); } @@ -50020,9 +50020,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 _iter975 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter983 : struct.notNullConstraints) { - _iter975.write(oprot); + _iter983.write(oprot); } oprot.writeListEnd(); } @@ -50032,9 +50032,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 _iter976 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter984 : struct.defaultConstraints) { - _iter976.write(oprot); + _iter984.write(oprot); } oprot.writeListEnd(); } @@ -50044,9 +50044,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 _iter977 : struct.checkConstraints) + for (SQLCheckConstraint _iter985 : struct.checkConstraints) { - _iter977.write(oprot); + _iter985.write(oprot); } oprot.writeListEnd(); } @@ -50098,54 +50098,54 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter978 : struct.primaryKeys) + for (SQLPrimaryKey _iter986 : struct.primaryKeys) { - _iter978.write(oprot); + _iter986.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter979 : struct.foreignKeys) + for (SQLForeignKey _iter987 : struct.foreignKeys) { - _iter979.write(oprot); + _iter987.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter980 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter988 : struct.uniqueConstraints) { - _iter980.write(oprot); + _iter988.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter981 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter989 : struct.notNullConstraints) { - _iter981.write(oprot); + _iter989.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter982 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter990 : struct.defaultConstraints) { - _iter982.write(oprot); + _iter990.write(oprot); } } } if (struct.isSetCheckConstraints()) { { oprot.writeI32(struct.checkConstraints.size()); - for (SQLCheckConstraint _iter983 : struct.checkConstraints) + for (SQLCheckConstraint _iter991 : struct.checkConstraints) { - _iter983.write(oprot); + _iter991.write(oprot); } } } @@ -50162,84 +50162,84 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list984 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list984.size); - SQLPrimaryKey _elem985; - for (int _i986 = 0; _i986 < _list984.size; ++_i986) + 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) { - _elem985 = new SQLPrimaryKey(); - _elem985.read(iprot); - struct.primaryKeys.add(_elem985); + _elem993 = new SQLPrimaryKey(); + _elem993.read(iprot); + struct.primaryKeys.add(_elem993); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list987 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list987.size); - SQLForeignKey _elem988; - for (int _i989 = 0; _i989 < _list987.size; ++_i989) + 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) { - _elem988 = new SQLForeignKey(); - _elem988.read(iprot); - struct.foreignKeys.add(_elem988); + _elem996 = new SQLForeignKey(); + _elem996.read(iprot); + struct.foreignKeys.add(_elem996); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list990 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list990.size); - SQLUniqueConstraint _elem991; - for (int _i992 = 0; _i992 < _list990.size; ++_i992) + 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) { - _elem991 = new SQLUniqueConstraint(); - _elem991.read(iprot); - struct.uniqueConstraints.add(_elem991); + _elem999 = new SQLUniqueConstraint(); + _elem999.read(iprot); + struct.uniqueConstraints.add(_elem999); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list993 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list993.size); - SQLNotNullConstraint _elem994; - for (int _i995 = 0; _i995 < _list993.size; ++_i995) + 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) { - _elem994 = new SQLNotNullConstraint(); - _elem994.read(iprot); - struct.notNullConstraints.add(_elem994); + _elem1002 = new SQLNotNullConstraint(); + _elem1002.read(iprot); + struct.notNullConstraints.add(_elem1002); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list996 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list996.size); - SQLDefaultConstraint _elem997; - for (int _i998 = 0; _i998 < _list996.size; ++_i998) + 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) { - _elem997 = new SQLDefaultConstraint(); - _elem997.read(iprot); - struct.defaultConstraints.add(_elem997); + _elem1005 = new SQLDefaultConstraint(); + _elem1005.read(iprot); + struct.defaultConstraints.add(_elem1005); } } struct.setDefaultConstraintsIsSet(true); } if (incoming.get(6)) { { - org.apache.thrift.protocol.TList _list999 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.checkConstraints = new ArrayList(_list999.size); - SQLCheckConstraint _elem1000; - for (int _i1001 = 0; _i1001 < _list999.size; ++_i1001) + 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) { - _elem1000 = new SQLCheckConstraint(); - _elem1000.read(iprot); - struct.checkConstraints.add(_elem1000); + _elem1008 = new SQLCheckConstraint(); + _elem1008.read(iprot); + struct.checkConstraints.add(_elem1008); } } struct.setCheckConstraintsIsSet(true); @@ -59389,13 +59389,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 _list1002 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list1002.size); - String _elem1003; - for (int _i1004 = 0; _i1004 < _list1002.size; ++_i1004) + org.apache.thrift.protocol.TList _list1010 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list1010.size); + String _elem1011; + for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) { - _elem1003 = iprot.readString(); - struct.partNames.add(_elem1003); + _elem1011 = iprot.readString(); + struct.partNames.add(_elem1011); } iprot.readListEnd(); } @@ -59431,9 +59431,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 _iter1005 : struct.partNames) + for (String _iter1013 : struct.partNames) { - oprot.writeString(_iter1005); + oprot.writeString(_iter1013); } oprot.writeListEnd(); } @@ -59476,9 +59476,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter1006 : struct.partNames) + for (String _iter1014 : struct.partNames) { - oprot.writeString(_iter1006); + oprot.writeString(_iter1014); } } } @@ -59498,13 +59498,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1007 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list1007.size); - String _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.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list1015.size); + String _elem1016; + for (int _i1017 = 0; _i1017 < _list1015.size; ++_i1017) { - _elem1008 = iprot.readString(); - struct.partNames.add(_elem1008); + _elem1016 = iprot.readString(); + struct.partNames.add(_elem1016); } } struct.setPartNamesIsSet(true); @@ -60729,13 +60729,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 _list1010 = iprot.readListBegin(); - struct.success = new ArrayList(_list1010.size); - String _elem1011; - for (int _i1012 = 0; _i1012 < _list1010.size; ++_i1012) + org.apache.thrift.protocol.TList _list1018 = iprot.readListBegin(); + struct.success = new ArrayList(_list1018.size); + String _elem1019; + for (int _i1020 = 0; _i1020 < _list1018.size; ++_i1020) { - _elem1011 = iprot.readString(); - struct.success.add(_elem1011); + _elem1019 = iprot.readString(); + struct.success.add(_elem1019); } iprot.readListEnd(); } @@ -60770,9 +60770,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 _iter1013 : struct.success) + for (String _iter1021 : struct.success) { - oprot.writeString(_iter1013); + oprot.writeString(_iter1021); } oprot.writeListEnd(); } @@ -60811,9 +60811,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1014 : struct.success) + for (String _iter1022 : struct.success) { - oprot.writeString(_iter1014); + oprot.writeString(_iter1022); } } } @@ -60828,13 +60828,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 _list1015 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1023.size); + String _elem1024; + for (int _i1025 = 0; _i1025 < _list1023.size; ++_i1025) { - _elem1016 = iprot.readString(); - struct.success.add(_elem1016); + _elem1024 = iprot.readString(); + struct.success.add(_elem1024); } } struct.setSuccessIsSet(true); @@ -61808,13 +61808,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 _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(); } @@ -61849,9 +61849,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 _iter1021 : struct.success) + for (String _iter1029 : struct.success) { - oprot.writeString(_iter1021); + oprot.writeString(_iter1029); } oprot.writeListEnd(); } @@ -61890,9 +61890,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1022 : struct.success) + for (String _iter1030 : struct.success) { - oprot.writeString(_iter1022); + oprot.writeString(_iter1030); } } } @@ -61907,13 +61907,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 _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); @@ -62679,13 +62679,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 _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(); } @@ -62720,9 +62720,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 _iter1029 : struct.success) + for (String _iter1037 : struct.success) { - oprot.writeString(_iter1029); + oprot.writeString(_iter1037); } oprot.writeListEnd(); } @@ -62761,9 +62761,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1030 : struct.success) + for (String _iter1038 : struct.success) { - oprot.writeString(_iter1030); + oprot.writeString(_iter1038); } } } @@ -62778,13 +62778,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 _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); @@ -63289,13 +63289,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 _list1034 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1034.size); - String _elem1035; - for (int _i1036 = 0; _i1036 < _list1034.size; ++_i1036) + 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) { - _elem1035 = iprot.readString(); - struct.tbl_types.add(_elem1035); + _elem1043 = iprot.readString(); + struct.tbl_types.add(_elem1043); } iprot.readListEnd(); } @@ -63331,9 +63331,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 _iter1037 : struct.tbl_types) + for (String _iter1045 : struct.tbl_types) { - oprot.writeString(_iter1037); + oprot.writeString(_iter1045); } oprot.writeListEnd(); } @@ -63376,9 +63376,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 _iter1038 : struct.tbl_types) + for (String _iter1046 : struct.tbl_types) { - oprot.writeString(_iter1038); + oprot.writeString(_iter1046); } } } @@ -63398,13 +63398,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1039 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = 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.tbl_types = new ArrayList(_list1047.size); + String _elem1048; + for (int _i1049 = 0; _i1049 < _list1047.size; ++_i1049) { - _elem1040 = iprot.readString(); - struct.tbl_types.add(_elem1040); + _elem1048 = iprot.readString(); + struct.tbl_types.add(_elem1048); } } struct.setTbl_typesIsSet(true); @@ -63810,14 +63810,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 _list1042 = iprot.readListBegin(); - struct.success = new ArrayList(_list1042.size); - TableMeta _elem1043; - for (int _i1044 = 0; _i1044 < _list1042.size; ++_i1044) + org.apache.thrift.protocol.TList _list1050 = iprot.readListBegin(); + struct.success = new ArrayList(_list1050.size); + TableMeta _elem1051; + for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) { - _elem1043 = new TableMeta(); - _elem1043.read(iprot); - struct.success.add(_elem1043); + _elem1051 = new TableMeta(); + _elem1051.read(iprot); + struct.success.add(_elem1051); } iprot.readListEnd(); } @@ -63852,9 +63852,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 _iter1045 : struct.success) + for (TableMeta _iter1053 : struct.success) { - _iter1045.write(oprot); + _iter1053.write(oprot); } oprot.writeListEnd(); } @@ -63893,9 +63893,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1046 : struct.success) + for (TableMeta _iter1054 : struct.success) { - _iter1046.write(oprot); + _iter1054.write(oprot); } } } @@ -63910,14 +63910,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 _list1047 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1047.size); - TableMeta _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1055.size); + TableMeta _elem1056; + for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) { - _elem1048 = new TableMeta(); - _elem1048.read(iprot); - struct.success.add(_elem1048); + _elem1056 = new TableMeta(); + _elem1056.read(iprot); + struct.success.add(_elem1056); } } struct.setSuccessIsSet(true); @@ -64683,13 +64683,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 _list1050 = iprot.readListBegin(); - struct.success = new ArrayList(_list1050.size); - String _elem1051; - for (int _i1052 = 0; _i1052 < _list1050.size; ++_i1052) + org.apache.thrift.protocol.TList _list1058 = iprot.readListBegin(); + struct.success = new ArrayList(_list1058.size); + String _elem1059; + for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) { - _elem1051 = iprot.readString(); - struct.success.add(_elem1051); + _elem1059 = iprot.readString(); + struct.success.add(_elem1059); } iprot.readListEnd(); } @@ -64724,9 +64724,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 _iter1053 : struct.success) + for (String _iter1061 : struct.success) { - oprot.writeString(_iter1053); + oprot.writeString(_iter1061); } oprot.writeListEnd(); } @@ -64765,9 +64765,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1054 : struct.success) + for (String _iter1062 : struct.success) { - oprot.writeString(_iter1054); + oprot.writeString(_iter1062); } } } @@ -64782,13 +64782,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 _list1055 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1055.size); - String _elem1056; - for (int _i1057 = 0; _i1057 < _list1055.size; ++_i1057) + org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1063.size); + String _elem1064; + for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) { - _elem1056 = iprot.readString(); - struct.success.add(_elem1056); + _elem1064 = iprot.readString(); + struct.success.add(_elem1064); } } struct.setSuccessIsSet(true); @@ -66241,13 +66241,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 _list1058 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1058.size); - String _elem1059; - for (int _i1060 = 0; _i1060 < _list1058.size; ++_i1060) + 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) { - _elem1059 = iprot.readString(); - struct.tbl_names.add(_elem1059); + _elem1067 = iprot.readString(); + struct.tbl_names.add(_elem1067); } iprot.readListEnd(); } @@ -66278,9 +66278,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 _iter1061 : struct.tbl_names) + for (String _iter1069 : struct.tbl_names) { - oprot.writeString(_iter1061); + oprot.writeString(_iter1069); } oprot.writeListEnd(); } @@ -66317,9 +66317,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 _iter1062 : struct.tbl_names) + for (String _iter1070 : struct.tbl_names) { - oprot.writeString(_iter1062); + oprot.writeString(_iter1070); } } } @@ -66335,13 +66335,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1063 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1063.size); - String _elem1064; - for (int _i1065 = 0; _i1065 < _list1063.size; ++_i1065) + org.apache.thrift.protocol.TList _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1071.size); + String _elem1072; + for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) { - _elem1064 = iprot.readString(); - struct.tbl_names.add(_elem1064); + _elem1072 = iprot.readString(); + struct.tbl_names.add(_elem1072); } } struct.setTbl_namesIsSet(true); @@ -66666,14 +66666,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 _list1066 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1066.size); - Table _elem1067; - for (int _i1068 = 0; _i1068 < _list1066.size; ++_i1068) + org.apache.thrift.protocol.TList _list1074 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1074.size); + Table _elem1075; + for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) { - _elem1067 = new Table(); - _elem1067.read(iprot); - struct.success.add(_elem1067); + _elem1075 = new Table(); + _elem1075.read(iprot); + struct.success.add(_elem1075); } iprot.readListEnd(); } @@ -66699,9 +66699,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 _iter1069 : struct.success) + for (Table _iter1077 : struct.success) { - _iter1069.write(oprot); + _iter1077.write(oprot); } oprot.writeListEnd(); } @@ -66732,9 +66732,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1070 : struct.success) + for (Table _iter1078 : struct.success) { - _iter1070.write(oprot); + _iter1078.write(oprot); } } } @@ -66746,14 +66746,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 _list1071 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1071.size); - Table _elem1072; - for (int _i1073 = 0; _i1073 < _list1071.size; ++_i1073) + org.apache.thrift.protocol.TList _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1079.size); + Table _elem1080; + for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) { - _elem1072 = new Table(); - _elem1072.read(iprot); - struct.success.add(_elem1072); + _elem1080 = new Table(); + _elem1080.read(iprot); + struct.success.add(_elem1080); } } struct.setSuccessIsSet(true); @@ -69146,13 +69146,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 _list1074 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1074.size); - String _elem1075; - for (int _i1076 = 0; _i1076 < _list1074.size; ++_i1076) + org.apache.thrift.protocol.TList _list1082 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1082.size); + String _elem1083; + for (int _i1084 = 0; _i1084 < _list1082.size; ++_i1084) { - _elem1075 = iprot.readString(); - struct.tbl_names.add(_elem1075); + _elem1083 = iprot.readString(); + struct.tbl_names.add(_elem1083); } iprot.readListEnd(); } @@ -69183,9 +69183,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 _iter1077 : struct.tbl_names) + for (String _iter1085 : struct.tbl_names) { - oprot.writeString(_iter1077); + oprot.writeString(_iter1085); } oprot.writeListEnd(); } @@ -69222,9 +69222,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1078 : struct.tbl_names) + for (String _iter1086 : struct.tbl_names) { - oprot.writeString(_iter1078); + oprot.writeString(_iter1086); } } } @@ -69240,13 +69240,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1079 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1079.size); - String _elem1080; - for (int _i1081 = 0; _i1081 < _list1079.size; ++_i1081) + org.apache.thrift.protocol.TList _list1087 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1087.size); + String _elem1088; + for (int _i1089 = 0; _i1089 < _list1087.size; ++_i1089) { - _elem1080 = iprot.readString(); - struct.tbl_names.add(_elem1080); + _elem1088 = iprot.readString(); + struct.tbl_names.add(_elem1088); } } struct.setTbl_namesIsSet(true); @@ -69819,16 +69819,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 _map1082 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1082.size); - String _key1083; - Materialization _val1084; - for (int _i1085 = 0; _i1085 < _map1082.size; ++_i1085) + 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) { - _key1083 = iprot.readString(); - _val1084 = new Materialization(); - _val1084.read(iprot); - struct.success.put(_key1083, _val1084); + _key1091 = iprot.readString(); + _val1092 = new Materialization(); + _val1092.read(iprot); + struct.success.put(_key1091, _val1092); } iprot.readMapEnd(); } @@ -69881,10 +69881,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 _iter1086 : struct.success.entrySet()) + for (Map.Entry _iter1094 : struct.success.entrySet()) { - oprot.writeString(_iter1086.getKey()); - _iter1086.getValue().write(oprot); + oprot.writeString(_iter1094.getKey()); + _iter1094.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -69939,10 +69939,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1087 : struct.success.entrySet()) + for (Map.Entry _iter1095 : struct.success.entrySet()) { - oprot.writeString(_iter1087.getKey()); - _iter1087.getValue().write(oprot); + oprot.writeString(_iter1095.getKey()); + _iter1095.getValue().write(oprot); } } } @@ -69963,16 +69963,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 _map1088 = 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*_map1088.size); - String _key1089; - Materialization _val1090; - for (int _i1091 = 0; _i1091 < _map1088.size; ++_i1091) + 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) { - _key1089 = iprot.readString(); - _val1090 = new Materialization(); - _val1090.read(iprot); - struct.success.put(_key1089, _val1090); + _key1097 = iprot.readString(); + _val1098 = new Materialization(); + _val1098.read(iprot); + struct.success.put(_key1097, _val1098); } } struct.setSuccessIsSet(true); @@ -72261,13 +72261,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 _list1092 = iprot.readListBegin(); - struct.success = new ArrayList(_list1092.size); - String _elem1093; - for (int _i1094 = 0; _i1094 < _list1092.size; ++_i1094) + org.apache.thrift.protocol.TList _list1100 = iprot.readListBegin(); + struct.success = new ArrayList(_list1100.size); + String _elem1101; + for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) { - _elem1093 = iprot.readString(); - struct.success.add(_elem1093); + _elem1101 = iprot.readString(); + struct.success.add(_elem1101); } iprot.readListEnd(); } @@ -72320,9 +72320,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 _iter1095 : struct.success) + for (String _iter1103 : struct.success) { - oprot.writeString(_iter1095); + oprot.writeString(_iter1103); } oprot.writeListEnd(); } @@ -72377,9 +72377,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1096 : struct.success) + for (String _iter1104 : struct.success) { - oprot.writeString(_iter1096); + oprot.writeString(_iter1104); } } } @@ -72400,13 +72400,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 _list1097 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1097.size); - String _elem1098; - for (int _i1099 = 0; _i1099 < _list1097.size; ++_i1099) + 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) { - _elem1098 = iprot.readString(); - struct.success.add(_elem1098); + _elem1106 = iprot.readString(); + struct.success.add(_elem1106); } } struct.setSuccessIsSet(true); @@ -78265,14 +78265,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 _list1100 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1100.size); - Partition _elem1101; - for (int _i1102 = 0; _i1102 < _list1100.size; ++_i1102) + 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) { - _elem1101 = new Partition(); - _elem1101.read(iprot); - struct.new_parts.add(_elem1101); + _elem1109 = new Partition(); + _elem1109.read(iprot); + struct.new_parts.add(_elem1109); } iprot.readListEnd(); } @@ -78298,9 +78298,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 _iter1103 : struct.new_parts) + for (Partition _iter1111 : struct.new_parts) { - _iter1103.write(oprot); + _iter1111.write(oprot); } oprot.writeListEnd(); } @@ -78331,9 +78331,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 _iter1104 : struct.new_parts) + for (Partition _iter1112 : struct.new_parts) { - _iter1104.write(oprot); + _iter1112.write(oprot); } } } @@ -78345,14 +78345,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 _list1105 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1105.size); - Partition _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.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1113.size); + Partition _elem1114; + for (int _i1115 = 0; _i1115 < _list1113.size; ++_i1115) { - _elem1106 = new Partition(); - _elem1106.read(iprot); - struct.new_parts.add(_elem1106); + _elem1114 = new Partition(); + _elem1114.read(iprot); + struct.new_parts.add(_elem1114); } } struct.setNew_partsIsSet(true); @@ -79353,14 +79353,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 _list1108 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1108.size); - PartitionSpec _elem1109; - for (int _i1110 = 0; _i1110 < _list1108.size; ++_i1110) + 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) { - _elem1109 = new PartitionSpec(); - _elem1109.read(iprot); - struct.new_parts.add(_elem1109); + _elem1117 = new PartitionSpec(); + _elem1117.read(iprot); + struct.new_parts.add(_elem1117); } iprot.readListEnd(); } @@ -79386,9 +79386,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 _iter1111 : struct.new_parts) + for (PartitionSpec _iter1119 : struct.new_parts) { - _iter1111.write(oprot); + _iter1119.write(oprot); } oprot.writeListEnd(); } @@ -79419,9 +79419,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 _iter1112 : struct.new_parts) + for (PartitionSpec _iter1120 : struct.new_parts) { - _iter1112.write(oprot); + _iter1120.write(oprot); } } } @@ -79433,14 +79433,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 _list1113 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1113.size); - PartitionSpec _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); + PartitionSpec _elem1122; + for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) { - _elem1114 = new PartitionSpec(); - _elem1114.read(iprot); - struct.new_parts.add(_elem1114); + _elem1122 = new PartitionSpec(); + _elem1122.read(iprot); + struct.new_parts.add(_elem1122); } } struct.setNew_partsIsSet(true); @@ -80616,13 +80616,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 _list1116 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1116.size); - String _elem1117; - for (int _i1118 = 0; _i1118 < _list1116.size; ++_i1118) + 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) { - _elem1117 = iprot.readString(); - struct.part_vals.add(_elem1117); + _elem1125 = iprot.readString(); + struct.part_vals.add(_elem1125); } iprot.readListEnd(); } @@ -80658,9 +80658,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 _iter1119 : struct.part_vals) + for (String _iter1127 : struct.part_vals) { - oprot.writeString(_iter1119); + oprot.writeString(_iter1127); } oprot.writeListEnd(); } @@ -80703,9 +80703,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 _iter1120 : struct.part_vals) + for (String _iter1128 : struct.part_vals) { - oprot.writeString(_iter1120); + oprot.writeString(_iter1128); } } } @@ -80725,13 +80725,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1121 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1121.size); - String _elem1122; - for (int _i1123 = 0; _i1123 < _list1121.size; ++_i1123) + org.apache.thrift.protocol.TList _list1129 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1129.size); + String _elem1130; + for (int _i1131 = 0; _i1131 < _list1129.size; ++_i1131) { - _elem1122 = iprot.readString(); - struct.part_vals.add(_elem1122); + _elem1130 = iprot.readString(); + struct.part_vals.add(_elem1130); } } struct.setPart_valsIsSet(true); @@ -83040,13 +83040,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 _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(); } @@ -83091,9 +83091,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 _iter1127 : struct.part_vals) + for (String _iter1135 : struct.part_vals) { - oprot.writeString(_iter1127); + oprot.writeString(_iter1135); } oprot.writeListEnd(); } @@ -83144,9 +83144,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 _iter1128 : struct.part_vals) + for (String _iter1136 : struct.part_vals) { - oprot.writeString(_iter1128); + oprot.writeString(_iter1136); } } } @@ -83169,13 +83169,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } 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); @@ -87045,13 +87045,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 _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(); } @@ -87095,9 +87095,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 _iter1135 : struct.part_vals) + for (String _iter1143 : struct.part_vals) { - oprot.writeString(_iter1135); + oprot.writeString(_iter1143); } oprot.writeListEnd(); } @@ -87146,9 +87146,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 _iter1136 : struct.part_vals) + for (String _iter1144 : struct.part_vals) { - oprot.writeString(_iter1136); + oprot.writeString(_iter1144); } } } @@ -87171,13 +87171,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } 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); @@ -88416,13 +88416,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 _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(); } @@ -88475,9 +88475,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 _iter1143 : struct.part_vals) + for (String _iter1151 : struct.part_vals) { - oprot.writeString(_iter1143); + oprot.writeString(_iter1151); } oprot.writeListEnd(); } @@ -88534,9 +88534,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 _iter1144 : struct.part_vals) + for (String _iter1152 : struct.part_vals) { - oprot.writeString(_iter1144); + oprot.writeString(_iter1152); } } } @@ -88562,13 +88562,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } 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); @@ -93170,13 +93170,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 _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(); } @@ -93212,9 +93212,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 _iter1151 : struct.part_vals) + for (String _iter1159 : struct.part_vals) { - oprot.writeString(_iter1151); + oprot.writeString(_iter1159); } oprot.writeListEnd(); } @@ -93257,9 +93257,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 _iter1152 : struct.part_vals) + for (String _iter1160 : struct.part_vals) { - oprot.writeString(_iter1152); + oprot.writeString(_iter1160); } } } @@ -93279,13 +93279,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } 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); @@ -94503,15 +94503,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 _map1156 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1156.size); - String _key1157; - String _val1158; - for (int _i1159 = 0; _i1159 < _map1156.size; ++_i1159) + 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) { - _key1157 = iprot.readString(); - _val1158 = iprot.readString(); - struct.partitionSpecs.put(_key1157, _val1158); + _key1165 = iprot.readString(); + _val1166 = iprot.readString(); + struct.partitionSpecs.put(_key1165, _val1166); } iprot.readMapEnd(); } @@ -94569,10 +94569,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 _iter1160 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1168 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1160.getKey()); - oprot.writeString(_iter1160.getValue()); + oprot.writeString(_iter1168.getKey()); + oprot.writeString(_iter1168.getValue()); } oprot.writeMapEnd(); } @@ -94635,10 +94635,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1161 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1169 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1161.getKey()); - oprot.writeString(_iter1161.getValue()); + oprot.writeString(_iter1169.getKey()); + oprot.writeString(_iter1169.getValue()); } } } @@ -94662,15 +94662,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 _map1162 = 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*_map1162.size); - String _key1163; - String _val1164; - for (int _i1165 = 0; _i1165 < _map1162.size; ++_i1165) + 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) { - _key1163 = iprot.readString(); - _val1164 = iprot.readString(); - struct.partitionSpecs.put(_key1163, _val1164); + _key1171 = iprot.readString(); + _val1172 = iprot.readString(); + struct.partitionSpecs.put(_key1171, _val1172); } } struct.setPartitionSpecsIsSet(true); @@ -96116,15 +96116,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 _map1166 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1166.size); - String _key1167; - String _val1168; - for (int _i1169 = 0; _i1169 < _map1166.size; ++_i1169) + 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) { - _key1167 = iprot.readString(); - _val1168 = iprot.readString(); - struct.partitionSpecs.put(_key1167, _val1168); + _key1175 = iprot.readString(); + _val1176 = iprot.readString(); + struct.partitionSpecs.put(_key1175, _val1176); } iprot.readMapEnd(); } @@ -96182,10 +96182,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 _iter1170 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1178 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1170.getKey()); - oprot.writeString(_iter1170.getValue()); + oprot.writeString(_iter1178.getKey()); + oprot.writeString(_iter1178.getValue()); } oprot.writeMapEnd(); } @@ -96248,10 +96248,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1171 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1179 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1171.getKey()); - oprot.writeString(_iter1171.getValue()); + oprot.writeString(_iter1179.getKey()); + oprot.writeString(_iter1179.getValue()); } } } @@ -96275,15 +96275,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 _map1172 = 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*_map1172.size); - String _key1173; - String _val1174; - for (int _i1175 = 0; _i1175 < _map1172.size; ++_i1175) + 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) { - _key1173 = iprot.readString(); - _val1174 = iprot.readString(); - struct.partitionSpecs.put(_key1173, _val1174); + _key1181 = iprot.readString(); + _val1182 = iprot.readString(); + struct.partitionSpecs.put(_key1181, _val1182); } } struct.setPartitionSpecsIsSet(true); @@ -96948,14 +96948,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 _list1176 = iprot.readListBegin(); - struct.success = new ArrayList(_list1176.size); - Partition _elem1177; - for (int _i1178 = 0; _i1178 < _list1176.size; ++_i1178) + org.apache.thrift.protocol.TList _list1184 = iprot.readListBegin(); + struct.success = new ArrayList(_list1184.size); + Partition _elem1185; + for (int _i1186 = 0; _i1186 < _list1184.size; ++_i1186) { - _elem1177 = new Partition(); - _elem1177.read(iprot); - struct.success.add(_elem1177); + _elem1185 = new Partition(); + _elem1185.read(iprot); + struct.success.add(_elem1185); } iprot.readListEnd(); } @@ -97017,9 +97017,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 _iter1179 : struct.success) + for (Partition _iter1187 : struct.success) { - _iter1179.write(oprot); + _iter1187.write(oprot); } oprot.writeListEnd(); } @@ -97082,9 +97082,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1180 : struct.success) + for (Partition _iter1188 : struct.success) { - _iter1180.write(oprot); + _iter1188.write(oprot); } } } @@ -97108,14 +97108,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 _list1181 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1181.size); - Partition _elem1182; - for (int _i1183 = 0; _i1183 < _list1181.size; ++_i1183) + 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) { - _elem1182 = new Partition(); - _elem1182.read(iprot); - struct.success.add(_elem1182); + _elem1190 = new Partition(); + _elem1190.read(iprot); + struct.success.add(_elem1190); } } struct.setSuccessIsSet(true); @@ -97814,13 +97814,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 _list1184 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1184.size); - String _elem1185; - for (int _i1186 = 0; _i1186 < _list1184.size; ++_i1186) + 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) { - _elem1185 = iprot.readString(); - struct.part_vals.add(_elem1185); + _elem1193 = iprot.readString(); + struct.part_vals.add(_elem1193); } iprot.readListEnd(); } @@ -97840,13 +97840,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 _list1187 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1187.size); - String _elem1188; - for (int _i1189 = 0; _i1189 < _list1187.size; ++_i1189) + 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) { - _elem1188 = iprot.readString(); - struct.group_names.add(_elem1188); + _elem1196 = iprot.readString(); + struct.group_names.add(_elem1196); } iprot.readListEnd(); } @@ -97882,9 +97882,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 _iter1190 : struct.part_vals) + for (String _iter1198 : struct.part_vals) { - oprot.writeString(_iter1190); + oprot.writeString(_iter1198); } oprot.writeListEnd(); } @@ -97899,9 +97899,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 _iter1191 : struct.group_names) + for (String _iter1199 : struct.group_names) { - oprot.writeString(_iter1191); + oprot.writeString(_iter1199); } oprot.writeListEnd(); } @@ -97950,9 +97950,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 _iter1192 : struct.part_vals) + for (String _iter1200 : struct.part_vals) { - oprot.writeString(_iter1192); + oprot.writeString(_iter1200); } } } @@ -97962,9 +97962,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 _iter1193 : struct.group_names) + for (String _iter1201 : struct.group_names) { - oprot.writeString(_iter1193); + oprot.writeString(_iter1201); } } } @@ -97984,13 +97984,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1194 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1194.size); - String _elem1195; - for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) + 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) { - _elem1195 = iprot.readString(); - struct.part_vals.add(_elem1195); + _elem1203 = iprot.readString(); + struct.part_vals.add(_elem1203); } } struct.setPart_valsIsSet(true); @@ -98001,13 +98001,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1197 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1197.size); - String _elem1198; - for (int _i1199 = 0; _i1199 < _list1197.size; ++_i1199) + org.apache.thrift.protocol.TList _list1205 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1205.size); + String _elem1206; + for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) { - _elem1198 = iprot.readString(); - struct.group_names.add(_elem1198); + _elem1206 = iprot.readString(); + struct.group_names.add(_elem1206); } } struct.setGroup_namesIsSet(true); @@ -100776,14 +100776,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 _list1200 = iprot.readListBegin(); - struct.success = new ArrayList(_list1200.size); - Partition _elem1201; - for (int _i1202 = 0; _i1202 < _list1200.size; ++_i1202) + org.apache.thrift.protocol.TList _list1208 = iprot.readListBegin(); + struct.success = new ArrayList(_list1208.size); + Partition _elem1209; + for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) { - _elem1201 = new Partition(); - _elem1201.read(iprot); - struct.success.add(_elem1201); + _elem1209 = new Partition(); + _elem1209.read(iprot); + struct.success.add(_elem1209); } iprot.readListEnd(); } @@ -100827,9 +100827,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 _iter1203 : struct.success) + for (Partition _iter1211 : struct.success) { - _iter1203.write(oprot); + _iter1211.write(oprot); } oprot.writeListEnd(); } @@ -100876,9 +100876,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1204 : struct.success) + for (Partition _iter1212 : struct.success) { - _iter1204.write(oprot); + _iter1212.write(oprot); } } } @@ -100896,14 +100896,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 _list1205 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1205.size); - Partition _elem1206; - for (int _i1207 = 0; _i1207 < _list1205.size; ++_i1207) + org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1213.size); + Partition _elem1214; + for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) { - _elem1206 = new Partition(); - _elem1206.read(iprot); - struct.success.add(_elem1206); + _elem1214 = new Partition(); + _elem1214.read(iprot); + struct.success.add(_elem1214); } } struct.setSuccessIsSet(true); @@ -101593,13 +101593,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 _list1208 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1208.size); - String _elem1209; - for (int _i1210 = 0; _i1210 < _list1208.size; ++_i1210) + 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) { - _elem1209 = iprot.readString(); - struct.group_names.add(_elem1209); + _elem1217 = iprot.readString(); + struct.group_names.add(_elem1217); } iprot.readListEnd(); } @@ -101643,9 +101643,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 _iter1211 : struct.group_names) + for (String _iter1219 : struct.group_names) { - oprot.writeString(_iter1211); + oprot.writeString(_iter1219); } oprot.writeListEnd(); } @@ -101700,9 +101700,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 _iter1212 : struct.group_names) + for (String _iter1220 : struct.group_names) { - oprot.writeString(_iter1212); + oprot.writeString(_iter1220); } } } @@ -101730,13 +101730,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1213 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1213.size); - String _elem1214; - for (int _i1215 = 0; _i1215 < _list1213.size; ++_i1215) + org.apache.thrift.protocol.TList _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1221.size); + String _elem1222; + for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) { - _elem1214 = iprot.readString(); - struct.group_names.add(_elem1214); + _elem1222 = iprot.readString(); + struct.group_names.add(_elem1222); } } struct.setGroup_namesIsSet(true); @@ -102223,14 +102223,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 _list1216 = iprot.readListBegin(); - struct.success = new ArrayList(_list1216.size); - Partition _elem1217; - for (int _i1218 = 0; _i1218 < _list1216.size; ++_i1218) + org.apache.thrift.protocol.TList _list1224 = iprot.readListBegin(); + struct.success = new ArrayList(_list1224.size); + Partition _elem1225; + for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) { - _elem1217 = new Partition(); - _elem1217.read(iprot); - struct.success.add(_elem1217); + _elem1225 = new Partition(); + _elem1225.read(iprot); + struct.success.add(_elem1225); } iprot.readListEnd(); } @@ -102274,9 +102274,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 _iter1219 : struct.success) + for (Partition _iter1227 : struct.success) { - _iter1219.write(oprot); + _iter1227.write(oprot); } oprot.writeListEnd(); } @@ -102323,9 +102323,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1220 : struct.success) + for (Partition _iter1228 : struct.success) { - _iter1220.write(oprot); + _iter1228.write(oprot); } } } @@ -102343,14 +102343,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 _list1221 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1221.size); - Partition _elem1222; - for (int _i1223 = 0; _i1223 < _list1221.size; ++_i1223) + org.apache.thrift.protocol.TList _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1229.size); + Partition _elem1230; + for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) { - _elem1222 = new Partition(); - _elem1222.read(iprot); - struct.success.add(_elem1222); + _elem1230 = new Partition(); + _elem1230.read(iprot); + struct.success.add(_elem1230); } } struct.setSuccessIsSet(true); @@ -103413,14 +103413,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 _list1224 = iprot.readListBegin(); - struct.success = new ArrayList(_list1224.size); - PartitionSpec _elem1225; - for (int _i1226 = 0; _i1226 < _list1224.size; ++_i1226) + org.apache.thrift.protocol.TList _list1232 = iprot.readListBegin(); + struct.success = new ArrayList(_list1232.size); + PartitionSpec _elem1233; + for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) { - _elem1225 = new PartitionSpec(); - _elem1225.read(iprot); - struct.success.add(_elem1225); + _elem1233 = new PartitionSpec(); + _elem1233.read(iprot); + struct.success.add(_elem1233); } iprot.readListEnd(); } @@ -103464,9 +103464,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 _iter1227 : struct.success) + for (PartitionSpec _iter1235 : struct.success) { - _iter1227.write(oprot); + _iter1235.write(oprot); } oprot.writeListEnd(); } @@ -103513,9 +103513,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1228 : struct.success) + for (PartitionSpec _iter1236 : struct.success) { - _iter1228.write(oprot); + _iter1236.write(oprot); } } } @@ -103533,14 +103533,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 _list1229 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1229.size); - PartitionSpec _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); + PartitionSpec _elem1238; + for (int _i1239 = 0; _i1239 < _list1237.size; ++_i1239) { - _elem1230 = new PartitionSpec(); - _elem1230.read(iprot); - struct.success.add(_elem1230); + _elem1238 = new PartitionSpec(); + _elem1238.read(iprot); + struct.success.add(_elem1238); } } struct.setSuccessIsSet(true); @@ -104600,13 +104600,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 _list1232 = iprot.readListBegin(); - struct.success = new ArrayList(_list1232.size); - String _elem1233; - for (int _i1234 = 0; _i1234 < _list1232.size; ++_i1234) + org.apache.thrift.protocol.TList _list1240 = iprot.readListBegin(); + struct.success = new ArrayList(_list1240.size); + String _elem1241; + for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) { - _elem1233 = iprot.readString(); - struct.success.add(_elem1233); + _elem1241 = iprot.readString(); + struct.success.add(_elem1241); } iprot.readListEnd(); } @@ -104650,9 +104650,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 _iter1235 : struct.success) + for (String _iter1243 : struct.success) { - oprot.writeString(_iter1235); + oprot.writeString(_iter1243); } oprot.writeListEnd(); } @@ -104699,9 +104699,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1236 : struct.success) + for (String _iter1244 : struct.success) { - oprot.writeString(_iter1236); + oprot.writeString(_iter1244); } } } @@ -104719,13 +104719,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 _list1237 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1237.size); - String _elem1238; - for (int _i1239 = 0; _i1239 < _list1237.size; ++_i1239) + org.apache.thrift.protocol.TList _list1245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1245.size); + String _elem1246; + for (int _i1247 = 0; _i1247 < _list1245.size; ++_i1247) { - _elem1238 = iprot.readString(); - struct.success.add(_elem1238); + _elem1246 = iprot.readString(); + struct.success.add(_elem1246); } } struct.setSuccessIsSet(true); @@ -106256,13 +106256,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 _list1240 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1240.size); - String _elem1241; - for (int _i1242 = 0; _i1242 < _list1240.size; ++_i1242) + 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) { - _elem1241 = iprot.readString(); - struct.part_vals.add(_elem1241); + _elem1249 = iprot.readString(); + struct.part_vals.add(_elem1249); } iprot.readListEnd(); } @@ -106306,9 +106306,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 _iter1243 : struct.part_vals) + for (String _iter1251 : struct.part_vals) { - oprot.writeString(_iter1243); + oprot.writeString(_iter1251); } oprot.writeListEnd(); } @@ -106357,9 +106357,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 _iter1244 : struct.part_vals) + for (String _iter1252 : struct.part_vals) { - oprot.writeString(_iter1244); + oprot.writeString(_iter1252); } } } @@ -106382,13 +106382,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1245 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = 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.part_vals = new ArrayList(_list1253.size); + String _elem1254; + for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) { - _elem1246 = iprot.readString(); - struct.part_vals.add(_elem1246); + _elem1254 = iprot.readString(); + struct.part_vals.add(_elem1254); } } struct.setPart_valsIsSet(true); @@ -106879,14 +106879,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 _list1248 = iprot.readListBegin(); - struct.success = new ArrayList(_list1248.size); - Partition _elem1249; - for (int _i1250 = 0; _i1250 < _list1248.size; ++_i1250) + org.apache.thrift.protocol.TList _list1256 = iprot.readListBegin(); + struct.success = new ArrayList(_list1256.size); + Partition _elem1257; + for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) { - _elem1249 = new Partition(); - _elem1249.read(iprot); - struct.success.add(_elem1249); + _elem1257 = new Partition(); + _elem1257.read(iprot); + struct.success.add(_elem1257); } iprot.readListEnd(); } @@ -106930,9 +106930,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 _iter1251 : struct.success) + for (Partition _iter1259 : struct.success) { - _iter1251.write(oprot); + _iter1259.write(oprot); } oprot.writeListEnd(); } @@ -106979,9 +106979,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1252 : struct.success) + for (Partition _iter1260 : struct.success) { - _iter1252.write(oprot); + _iter1260.write(oprot); } } } @@ -106999,14 +106999,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 _list1253 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1253.size); - Partition _elem1254; - for (int _i1255 = 0; _i1255 < _list1253.size; ++_i1255) + 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) { - _elem1254 = new Partition(); - _elem1254.read(iprot); - struct.success.add(_elem1254); + _elem1262 = new Partition(); + _elem1262.read(iprot); + struct.success.add(_elem1262); } } struct.setSuccessIsSet(true); @@ -107778,13 +107778,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 _list1256 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1256.size); - String _elem1257; - for (int _i1258 = 0; _i1258 < _list1256.size; ++_i1258) + org.apache.thrift.protocol.TList _list1264 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1264.size); + String _elem1265; + for (int _i1266 = 0; _i1266 < _list1264.size; ++_i1266) { - _elem1257 = iprot.readString(); - struct.part_vals.add(_elem1257); + _elem1265 = iprot.readString(); + struct.part_vals.add(_elem1265); } iprot.readListEnd(); } @@ -107812,13 +107812,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 _list1259 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1259.size); - String _elem1260; - for (int _i1261 = 0; _i1261 < _list1259.size; ++_i1261) + 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) { - _elem1260 = iprot.readString(); - struct.group_names.add(_elem1260); + _elem1268 = iprot.readString(); + struct.group_names.add(_elem1268); } iprot.readListEnd(); } @@ -107854,9 +107854,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 _iter1262 : struct.part_vals) + for (String _iter1270 : struct.part_vals) { - oprot.writeString(_iter1262); + oprot.writeString(_iter1270); } oprot.writeListEnd(); } @@ -107874,9 +107874,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 _iter1263 : struct.group_names) + for (String _iter1271 : struct.group_names) { - oprot.writeString(_iter1263); + oprot.writeString(_iter1271); } oprot.writeListEnd(); } @@ -107928,9 +107928,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 _iter1264 : struct.part_vals) + for (String _iter1272 : struct.part_vals) { - oprot.writeString(_iter1264); + oprot.writeString(_iter1272); } } } @@ -107943,9 +107943,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 _iter1265 : struct.group_names) + for (String _iter1273 : struct.group_names) { - oprot.writeString(_iter1265); + oprot.writeString(_iter1273); } } } @@ -107965,13 +107965,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1266 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1266.size); - String _elem1267; - for (int _i1268 = 0; _i1268 < _list1266.size; ++_i1268) + 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) { - _elem1267 = iprot.readString(); - struct.part_vals.add(_elem1267); + _elem1275 = iprot.readString(); + struct.part_vals.add(_elem1275); } } struct.setPart_valsIsSet(true); @@ -107986,13 +107986,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1269 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1269.size); - String _elem1270; - for (int _i1271 = 0; _i1271 < _list1269.size; ++_i1271) + org.apache.thrift.protocol.TList _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1277.size); + String _elem1278; + for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) { - _elem1270 = iprot.readString(); - struct.group_names.add(_elem1270); + _elem1278 = iprot.readString(); + struct.group_names.add(_elem1278); } } struct.setGroup_namesIsSet(true); @@ -108479,14 +108479,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 _list1272 = iprot.readListBegin(); - struct.success = new ArrayList(_list1272.size); - Partition _elem1273; - for (int _i1274 = 0; _i1274 < _list1272.size; ++_i1274) + org.apache.thrift.protocol.TList _list1280 = iprot.readListBegin(); + struct.success = new ArrayList(_list1280.size); + Partition _elem1281; + for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) { - _elem1273 = new Partition(); - _elem1273.read(iprot); - struct.success.add(_elem1273); + _elem1281 = new Partition(); + _elem1281.read(iprot); + struct.success.add(_elem1281); } iprot.readListEnd(); } @@ -108530,9 +108530,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_ps_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1275 : struct.success) + for (Partition _iter1283 : struct.success) { - _iter1275.write(oprot); + _iter1283.write(oprot); } oprot.writeListEnd(); } @@ -108579,9 +108579,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1276 : struct.success) + for (Partition _iter1284 : struct.success) { - _iter1276.write(oprot); + _iter1284.write(oprot); } } } @@ -108599,14 +108599,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 _list1277 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1277.size); - Partition _elem1278; - for (int _i1279 = 0; _i1279 < _list1277.size; ++_i1279) + org.apache.thrift.protocol.TList _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1285.size); + Partition _elem1286; + for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) { - _elem1278 = new Partition(); - _elem1278.read(iprot); - struct.success.add(_elem1278); + _elem1286 = new Partition(); + _elem1286.read(iprot); + struct.success.add(_elem1286); } } struct.setSuccessIsSet(true); @@ -109199,13 +109199,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 _list1280 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1280.size); - String _elem1281; - for (int _i1282 = 0; _i1282 < _list1280.size; ++_i1282) + org.apache.thrift.protocol.TList _list1288 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1288.size); + String _elem1289; + for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) { - _elem1281 = iprot.readString(); - struct.part_vals.add(_elem1281); + _elem1289 = iprot.readString(); + struct.part_vals.add(_elem1289); } iprot.readListEnd(); } @@ -109249,9 +109249,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 _iter1283 : struct.part_vals) + for (String _iter1291 : struct.part_vals) { - oprot.writeString(_iter1283); + oprot.writeString(_iter1291); } oprot.writeListEnd(); } @@ -109300,9 +109300,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 _iter1284 : struct.part_vals) + for (String _iter1292 : struct.part_vals) { - oprot.writeString(_iter1284); + oprot.writeString(_iter1292); } } } @@ -109325,13 +109325,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1285 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1285.size); - String _elem1286; - for (int _i1287 = 0; _i1287 < _list1285.size; ++_i1287) + org.apache.thrift.protocol.TList _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1293.size); + String _elem1294; + for (int _i1295 = 0; _i1295 < _list1293.size; ++_i1295) { - _elem1286 = iprot.readString(); - struct.part_vals.add(_elem1286); + _elem1294 = iprot.readString(); + struct.part_vals.add(_elem1294); } } struct.setPart_valsIsSet(true); @@ -109819,13 +109819,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 _list1288 = iprot.readListBegin(); - struct.success = new ArrayList(_list1288.size); - String _elem1289; - for (int _i1290 = 0; _i1290 < _list1288.size; ++_i1290) + org.apache.thrift.protocol.TList _list1296 = iprot.readListBegin(); + struct.success = new ArrayList(_list1296.size); + String _elem1297; + for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) { - _elem1289 = iprot.readString(); - struct.success.add(_elem1289); + _elem1297 = iprot.readString(); + struct.success.add(_elem1297); } iprot.readListEnd(); } @@ -109869,9 +109869,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 _iter1291 : struct.success) + for (String _iter1299 : struct.success) { - oprot.writeString(_iter1291); + oprot.writeString(_iter1299); } oprot.writeListEnd(); } @@ -109918,9 +109918,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1292 : struct.success) + for (String _iter1300 : struct.success) { - oprot.writeString(_iter1292); + oprot.writeString(_iter1300); } } } @@ -109938,13 +109938,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 _list1293 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1301.size); + String _elem1302; + for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) { - _elem1294 = iprot.readString(); - struct.success.add(_elem1294); + _elem1302 = iprot.readString(); + struct.success.add(_elem1302); } } struct.setSuccessIsSet(true); @@ -111111,14 +111111,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 _list1296 = iprot.readListBegin(); - struct.success = new ArrayList(_list1296.size); - Partition _elem1297; - for (int _i1298 = 0; _i1298 < _list1296.size; ++_i1298) + org.apache.thrift.protocol.TList _list1304 = iprot.readListBegin(); + struct.success = new ArrayList(_list1304.size); + Partition _elem1305; + for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) { - _elem1297 = new Partition(); - _elem1297.read(iprot); - struct.success.add(_elem1297); + _elem1305 = new Partition(); + _elem1305.read(iprot); + struct.success.add(_elem1305); } iprot.readListEnd(); } @@ -111162,9 +111162,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 _iter1299 : struct.success) + for (Partition _iter1307 : struct.success) { - _iter1299.write(oprot); + _iter1307.write(oprot); } oprot.writeListEnd(); } @@ -111211,9 +111211,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1300 : struct.success) + for (Partition _iter1308 : struct.success) { - _iter1300.write(oprot); + _iter1308.write(oprot); } } } @@ -111231,14 +111231,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 _list1301 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1301.size); - Partition _elem1302; - for (int _i1303 = 0; _i1303 < _list1301.size; ++_i1303) + org.apache.thrift.protocol.TList _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1309.size); + Partition _elem1310; + for (int _i1311 = 0; _i1311 < _list1309.size; ++_i1311) { - _elem1302 = new Partition(); - _elem1302.read(iprot); - struct.success.add(_elem1302); + _elem1310 = new Partition(); + _elem1310.read(iprot); + struct.success.add(_elem1310); } } struct.setSuccessIsSet(true); @@ -112405,14 +112405,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 _list1304 = iprot.readListBegin(); - struct.success = new ArrayList(_list1304.size); - PartitionSpec _elem1305; - for (int _i1306 = 0; _i1306 < _list1304.size; ++_i1306) + org.apache.thrift.protocol.TList _list1312 = iprot.readListBegin(); + struct.success = new ArrayList(_list1312.size); + PartitionSpec _elem1313; + for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) { - _elem1305 = new PartitionSpec(); - _elem1305.read(iprot); - struct.success.add(_elem1305); + _elem1313 = new PartitionSpec(); + _elem1313.read(iprot); + struct.success.add(_elem1313); } iprot.readListEnd(); } @@ -112456,9 +112456,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 _iter1307 : struct.success) + for (PartitionSpec _iter1315 : struct.success) { - _iter1307.write(oprot); + _iter1315.write(oprot); } oprot.writeListEnd(); } @@ -112505,9 +112505,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 _iter1308 : struct.success) + for (PartitionSpec _iter1316 : struct.success) { - _iter1308.write(oprot); + _iter1316.write(oprot); } } } @@ -112525,14 +112525,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 _list1309 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1309.size); - PartitionSpec _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); + PartitionSpec _elem1318; + for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) { - _elem1310 = new PartitionSpec(); - _elem1310.read(iprot); - struct.success.add(_elem1310); + _elem1318 = new PartitionSpec(); + _elem1318.read(iprot); + struct.success.add(_elem1318); } } struct.setSuccessIsSet(true); @@ -115116,13 +115116,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 _list1312 = iprot.readListBegin(); - struct.names = new ArrayList(_list1312.size); - String _elem1313; - for (int _i1314 = 0; _i1314 < _list1312.size; ++_i1314) + org.apache.thrift.protocol.TList _list1320 = iprot.readListBegin(); + struct.names = new ArrayList(_list1320.size); + String _elem1321; + for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) { - _elem1313 = iprot.readString(); - struct.names.add(_elem1313); + _elem1321 = iprot.readString(); + struct.names.add(_elem1321); } iprot.readListEnd(); } @@ -115158,9 +115158,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 _iter1315 : struct.names) + for (String _iter1323 : struct.names) { - oprot.writeString(_iter1315); + oprot.writeString(_iter1323); } oprot.writeListEnd(); } @@ -115203,9 +115203,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1316 : struct.names) + for (String _iter1324 : struct.names) { - oprot.writeString(_iter1316); + oprot.writeString(_iter1324); } } } @@ -115225,13 +115225,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1317 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1317.size); - String _elem1318; - for (int _i1319 = 0; _i1319 < _list1317.size; ++_i1319) + org.apache.thrift.protocol.TList _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1325.size); + String _elem1326; + for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) { - _elem1318 = iprot.readString(); - struct.names.add(_elem1318); + _elem1326 = iprot.readString(); + struct.names.add(_elem1326); } } struct.setNamesIsSet(true); @@ -115718,14 +115718,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 _list1320 = iprot.readListBegin(); - struct.success = new ArrayList(_list1320.size); - Partition _elem1321; - for (int _i1322 = 0; _i1322 < _list1320.size; ++_i1322) + org.apache.thrift.protocol.TList _list1328 = iprot.readListBegin(); + struct.success = new ArrayList(_list1328.size); + Partition _elem1329; + for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) { - _elem1321 = new Partition(); - _elem1321.read(iprot); - struct.success.add(_elem1321); + _elem1329 = new Partition(); + _elem1329.read(iprot); + struct.success.add(_elem1329); } iprot.readListEnd(); } @@ -115769,9 +115769,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_partitions_by_ oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Partition _iter1323 : struct.success) + for (Partition _iter1331 : struct.success) { - _iter1323.write(oprot); + _iter1331.write(oprot); } oprot.writeListEnd(); } @@ -115818,9 +115818,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1324 : struct.success) + for (Partition _iter1332 : struct.success) { - _iter1324.write(oprot); + _iter1332.write(oprot); } } } @@ -115838,14 +115838,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 _list1325 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1325.size); - Partition _elem1326; - for (int _i1327 = 0; _i1327 < _list1325.size; ++_i1327) + org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1333.size); + Partition _elem1334; + for (int _i1335 = 0; _i1335 < _list1333.size; ++_i1335) { - _elem1326 = new Partition(); - _elem1326.read(iprot); - struct.success.add(_elem1326); + _elem1334 = new Partition(); + _elem1334.read(iprot); + struct.success.add(_elem1334); } } struct.setSuccessIsSet(true); @@ -117395,14 +117395,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 _list1328 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1328.size); - Partition _elem1329; - for (int _i1330 = 0; _i1330 < _list1328.size; ++_i1330) + 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) { - _elem1329 = new Partition(); - _elem1329.read(iprot); - struct.new_parts.add(_elem1329); + _elem1337 = new Partition(); + _elem1337.read(iprot); + struct.new_parts.add(_elem1337); } iprot.readListEnd(); } @@ -117438,9 +117438,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 _iter1331 : struct.new_parts) + for (Partition _iter1339 : struct.new_parts) { - _iter1331.write(oprot); + _iter1339.write(oprot); } oprot.writeListEnd(); } @@ -117483,9 +117483,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 _iter1332 : struct.new_parts) + for (Partition _iter1340 : struct.new_parts) { - _iter1332.write(oprot); + _iter1340.write(oprot); } } } @@ -117505,14 +117505,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1333 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = 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.new_parts = new ArrayList(_list1341.size); + Partition _elem1342; + for (int _i1343 = 0; _i1343 < _list1341.size; ++_i1343) { - _elem1334 = new Partition(); - _elem1334.read(iprot); - struct.new_parts.add(_elem1334); + _elem1342 = new Partition(); + _elem1342.read(iprot); + struct.new_parts.add(_elem1342); } } struct.setNew_partsIsSet(true); @@ -118565,14 +118565,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 _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(); } @@ -118617,9 +118617,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 _iter1339 : struct.new_parts) + for (Partition _iter1347 : struct.new_parts) { - _iter1339.write(oprot); + _iter1347.write(oprot); } oprot.writeListEnd(); } @@ -118670,9 +118670,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 _iter1340 : struct.new_parts) + for (Partition _iter1348 : struct.new_parts) { - _iter1340.write(oprot); + _iter1348.write(oprot); } } } @@ -118695,14 +118695,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } 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); @@ -120903,13 +120903,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 _list1344 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1344.size); - String _elem1345; - for (int _i1346 = 0; _i1346 < _list1344.size; ++_i1346) + 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) { - _elem1345 = iprot.readString(); - struct.part_vals.add(_elem1345); + _elem1353 = iprot.readString(); + struct.part_vals.add(_elem1353); } iprot.readListEnd(); } @@ -120954,9 +120954,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 _iter1347 : struct.part_vals) + for (String _iter1355 : struct.part_vals) { - oprot.writeString(_iter1347); + oprot.writeString(_iter1355); } oprot.writeListEnd(); } @@ -121007,9 +121007,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 _iter1348 : struct.part_vals) + for (String _iter1356 : struct.part_vals) { - oprot.writeString(_iter1348); + oprot.writeString(_iter1356); } } } @@ -121032,13 +121032,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1349 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1349.size); - String _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.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1357.size); + String _elem1358; + for (int _i1359 = 0; _i1359 < _list1357.size; ++_i1359) { - _elem1350 = iprot.readString(); - struct.part_vals.add(_elem1350); + _elem1358 = iprot.readString(); + struct.part_vals.add(_elem1358); } } struct.setPart_valsIsSet(true); @@ -121912,13 +121912,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 _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(); } @@ -121952,9 +121952,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 _iter1355 : struct.part_vals) + for (String _iter1363 : struct.part_vals) { - oprot.writeString(_iter1355); + oprot.writeString(_iter1363); } oprot.writeListEnd(); } @@ -121991,9 +121991,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 _iter1356 : struct.part_vals) + for (String _iter1364 : struct.part_vals) { - oprot.writeString(_iter1356); + oprot.writeString(_iter1364); } } } @@ -122008,13 +122008,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 _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); @@ -124169,13 +124169,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 _list1360 = iprot.readListBegin(); - struct.success = new ArrayList(_list1360.size); - String _elem1361; - for (int _i1362 = 0; _i1362 < _list1360.size; ++_i1362) + org.apache.thrift.protocol.TList _list1368 = iprot.readListBegin(); + struct.success = new ArrayList(_list1368.size); + String _elem1369; + for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) { - _elem1361 = iprot.readString(); - struct.success.add(_elem1361); + _elem1369 = iprot.readString(); + struct.success.add(_elem1369); } iprot.readListEnd(); } @@ -124210,9 +124210,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 _iter1363 : struct.success) + for (String _iter1371 : struct.success) { - oprot.writeString(_iter1363); + oprot.writeString(_iter1371); } oprot.writeListEnd(); } @@ -124251,9 +124251,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1364 : struct.success) + for (String _iter1372 : struct.success) { - oprot.writeString(_iter1364); + oprot.writeString(_iter1372); } } } @@ -124268,13 +124268,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 _list1365 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1373.size); + String _elem1374; + for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) { - _elem1366 = iprot.readString(); - struct.success.add(_elem1366); + _elem1374 = iprot.readString(); + struct.success.add(_elem1374); } } struct.setSuccessIsSet(true); @@ -125037,15 +125037,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 _map1368 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1368.size); - String _key1369; - String _val1370; - for (int _i1371 = 0; _i1371 < _map1368.size; ++_i1371) + 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) { - _key1369 = iprot.readString(); - _val1370 = iprot.readString(); - struct.success.put(_key1369, _val1370); + _key1377 = iprot.readString(); + _val1378 = iprot.readString(); + struct.success.put(_key1377, _val1378); } iprot.readMapEnd(); } @@ -125080,10 +125080,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 _iter1372 : struct.success.entrySet()) + for (Map.Entry _iter1380 : struct.success.entrySet()) { - oprot.writeString(_iter1372.getKey()); - oprot.writeString(_iter1372.getValue()); + oprot.writeString(_iter1380.getKey()); + oprot.writeString(_iter1380.getValue()); } oprot.writeMapEnd(); } @@ -125122,10 +125122,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 _iter1373 : struct.success.entrySet()) + for (Map.Entry _iter1381 : struct.success.entrySet()) { - oprot.writeString(_iter1373.getKey()); - oprot.writeString(_iter1373.getValue()); + oprot.writeString(_iter1381.getKey()); + oprot.writeString(_iter1381.getValue()); } } } @@ -125140,15 +125140,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 _map1374 = 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*_map1374.size); - String _key1375; - String _val1376; - for (int _i1377 = 0; _i1377 < _map1374.size; ++_i1377) + 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) { - _key1375 = iprot.readString(); - _val1376 = iprot.readString(); - struct.success.put(_key1375, _val1376); + _key1383 = iprot.readString(); + _val1384 = iprot.readString(); + struct.success.put(_key1383, _val1384); } } struct.setSuccessIsSet(true); @@ -125743,15 +125743,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 _map1378 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1378.size); - String _key1379; - String _val1380; - for (int _i1381 = 0; _i1381 < _map1378.size; ++_i1381) + 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) { - _key1379 = iprot.readString(); - _val1380 = iprot.readString(); - struct.part_vals.put(_key1379, _val1380); + _key1387 = iprot.readString(); + _val1388 = iprot.readString(); + struct.part_vals.put(_key1387, _val1388); } iprot.readMapEnd(); } @@ -125795,10 +125795,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 _iter1382 : struct.part_vals.entrySet()) + for (Map.Entry _iter1390 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1382.getKey()); - oprot.writeString(_iter1382.getValue()); + oprot.writeString(_iter1390.getKey()); + oprot.writeString(_iter1390.getValue()); } oprot.writeMapEnd(); } @@ -125849,10 +125849,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1383 : struct.part_vals.entrySet()) + for (Map.Entry _iter1391 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1383.getKey()); - oprot.writeString(_iter1383.getValue()); + oprot.writeString(_iter1391.getKey()); + oprot.writeString(_iter1391.getValue()); } } } @@ -125875,15 +125875,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1384 = 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*_map1384.size); - String _key1385; - String _val1386; - for (int _i1387 = 0; _i1387 < _map1384.size; ++_i1387) + 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) { - _key1385 = iprot.readString(); - _val1386 = iprot.readString(); - struct.part_vals.put(_key1385, _val1386); + _key1393 = iprot.readString(); + _val1394 = iprot.readString(); + struct.part_vals.put(_key1393, _val1394); } } struct.setPart_valsIsSet(true); @@ -127367,15 +127367,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 _map1388 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1388.size); - String _key1389; - String _val1390; - for (int _i1391 = 0; _i1391 < _map1388.size; ++_i1391) + 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) { - _key1389 = iprot.readString(); - _val1390 = iprot.readString(); - struct.part_vals.put(_key1389, _val1390); + _key1397 = iprot.readString(); + _val1398 = iprot.readString(); + struct.part_vals.put(_key1397, _val1398); } iprot.readMapEnd(); } @@ -127419,10 +127419,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 _iter1392 : struct.part_vals.entrySet()) + for (Map.Entry _iter1400 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1392.getKey()); - oprot.writeString(_iter1392.getValue()); + oprot.writeString(_iter1400.getKey()); + oprot.writeString(_iter1400.getValue()); } oprot.writeMapEnd(); } @@ -127473,10 +127473,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1393 : struct.part_vals.entrySet()) + for (Map.Entry _iter1401 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1393.getKey()); - oprot.writeString(_iter1393.getValue()); + oprot.writeString(_iter1401.getKey()); + oprot.writeString(_iter1401.getValue()); } } } @@ -127499,15 +127499,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1394 = 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*_map1394.size); - String _key1395; - String _val1396; - for (int _i1397 = 0; _i1397 < _map1394.size; ++_i1397) + 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) { - _key1395 = iprot.readString(); - _val1396 = iprot.readString(); - struct.part_vals.put(_key1395, _val1396); + _key1403 = iprot.readString(); + _val1404 = iprot.readString(); + struct.part_vals.put(_key1403, _val1404); } } struct.setPart_valsIsSet(true); @@ -149863,13 +149863,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 _list1398 = iprot.readListBegin(); - struct.success = new ArrayList(_list1398.size); - String _elem1399; - for (int _i1400 = 0; _i1400 < _list1398.size; ++_i1400) + org.apache.thrift.protocol.TList _list1406 = iprot.readListBegin(); + struct.success = new ArrayList(_list1406.size); + String _elem1407; + for (int _i1408 = 0; _i1408 < _list1406.size; ++_i1408) { - _elem1399 = iprot.readString(); - struct.success.add(_elem1399); + _elem1407 = iprot.readString(); + struct.success.add(_elem1407); } iprot.readListEnd(); } @@ -149904,9 +149904,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 _iter1401 : struct.success) + for (String _iter1409 : struct.success) { - oprot.writeString(_iter1401); + oprot.writeString(_iter1409); } oprot.writeListEnd(); } @@ -149945,9 +149945,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1402 : struct.success) + for (String _iter1410 : struct.success) { - oprot.writeString(_iter1402); + oprot.writeString(_iter1410); } } } @@ -149962,13 +149962,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 _list1403 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1403.size); - String _elem1404; - for (int _i1405 = 0; _i1405 < _list1403.size; ++_i1405) + 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) { - _elem1404 = iprot.readString(); - struct.success.add(_elem1404); + _elem1412 = iprot.readString(); + struct.success.add(_elem1412); } } struct.setSuccessIsSet(true); @@ -154023,13 +154023,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 _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(); } @@ -154064,9 +154064,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 _iter1409 : struct.success) + for (String _iter1417 : struct.success) { - oprot.writeString(_iter1409); + oprot.writeString(_iter1417); } oprot.writeListEnd(); } @@ -154105,9 +154105,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1410 : struct.success) + for (String _iter1418 : struct.success) { - oprot.writeString(_iter1410); + oprot.writeString(_iter1418); } } } @@ -154122,13 +154122,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 _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); @@ -157419,14 +157419,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 _list1414 = iprot.readListBegin(); - struct.success = new ArrayList(_list1414.size); - Role _elem1415; - for (int _i1416 = 0; _i1416 < _list1414.size; ++_i1416) + org.apache.thrift.protocol.TList _list1422 = iprot.readListBegin(); + struct.success = new ArrayList(_list1422.size); + Role _elem1423; + for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) { - _elem1415 = new Role(); - _elem1415.read(iprot); - struct.success.add(_elem1415); + _elem1423 = new Role(); + _elem1423.read(iprot); + struct.success.add(_elem1423); } iprot.readListEnd(); } @@ -157461,9 +157461,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 _iter1417 : struct.success) + for (Role _iter1425 : struct.success) { - _iter1417.write(oprot); + _iter1425.write(oprot); } oprot.writeListEnd(); } @@ -157502,9 +157502,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1418 : struct.success) + for (Role _iter1426 : struct.success) { - _iter1418.write(oprot); + _iter1426.write(oprot); } } } @@ -157519,14 +157519,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 _list1419 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1419.size); - Role _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1427.size); + Role _elem1428; + for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) { - _elem1420 = new Role(); - _elem1420.read(iprot); - struct.success.add(_elem1420); + _elem1428 = new Role(); + _elem1428.read(iprot); + struct.success.add(_elem1428); } } struct.setSuccessIsSet(true); @@ -160531,13 +160531,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 _list1422 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1422.size); - String _elem1423; - for (int _i1424 = 0; _i1424 < _list1422.size; ++_i1424) + 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) { - _elem1423 = iprot.readString(); - struct.group_names.add(_elem1423); + _elem1431 = iprot.readString(); + struct.group_names.add(_elem1431); } iprot.readListEnd(); } @@ -160573,9 +160573,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 _iter1425 : struct.group_names) + for (String _iter1433 : struct.group_names) { - oprot.writeString(_iter1425); + oprot.writeString(_iter1433); } oprot.writeListEnd(); } @@ -160618,9 +160618,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 _iter1426 : struct.group_names) + for (String _iter1434 : struct.group_names) { - oprot.writeString(_iter1426); + oprot.writeString(_iter1434); } } } @@ -160641,13 +160641,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1427 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1427.size); - String _elem1428; - for (int _i1429 = 0; _i1429 < _list1427.size; ++_i1429) + org.apache.thrift.protocol.TList _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1435.size); + String _elem1436; + for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) { - _elem1428 = iprot.readString(); - struct.group_names.add(_elem1428); + _elem1436 = iprot.readString(); + struct.group_names.add(_elem1436); } } struct.setGroup_namesIsSet(true); @@ -162105,14 +162105,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 _list1430 = iprot.readListBegin(); - struct.success = new ArrayList(_list1430.size); - HiveObjectPrivilege _elem1431; - for (int _i1432 = 0; _i1432 < _list1430.size; ++_i1432) + org.apache.thrift.protocol.TList _list1438 = iprot.readListBegin(); + struct.success = new ArrayList(_list1438.size); + HiveObjectPrivilege _elem1439; + for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) { - _elem1431 = new HiveObjectPrivilege(); - _elem1431.read(iprot); - struct.success.add(_elem1431); + _elem1439 = new HiveObjectPrivilege(); + _elem1439.read(iprot); + struct.success.add(_elem1439); } iprot.readListEnd(); } @@ -162147,9 +162147,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 _iter1433 : struct.success) + for (HiveObjectPrivilege _iter1441 : struct.success) { - _iter1433.write(oprot); + _iter1441.write(oprot); } oprot.writeListEnd(); } @@ -162188,9 +162188,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1434 : struct.success) + for (HiveObjectPrivilege _iter1442 : struct.success) { - _iter1434.write(oprot); + _iter1442.write(oprot); } } } @@ -162205,14 +162205,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 _list1435 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1435.size); - HiveObjectPrivilege _elem1436; - for (int _i1437 = 0; _i1437 < _list1435.size; ++_i1437) + org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1443.size); + HiveObjectPrivilege _elem1444; + for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) { - _elem1436 = new HiveObjectPrivilege(); - _elem1436.read(iprot); - struct.success.add(_elem1436); + _elem1444 = new HiveObjectPrivilege(); + _elem1444.read(iprot); + struct.success.add(_elem1444); } } struct.setSuccessIsSet(true); @@ -165114,13 +165114,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 _list1438 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1438.size); - String _elem1439; - for (int _i1440 = 0; _i1440 < _list1438.size; ++_i1440) + org.apache.thrift.protocol.TList _list1446 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1446.size); + String _elem1447; + for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) { - _elem1439 = iprot.readString(); - struct.group_names.add(_elem1439); + _elem1447 = iprot.readString(); + struct.group_names.add(_elem1447); } iprot.readListEnd(); } @@ -165151,9 +165151,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 _iter1441 : struct.group_names) + for (String _iter1449 : struct.group_names) { - oprot.writeString(_iter1441); + oprot.writeString(_iter1449); } oprot.writeListEnd(); } @@ -165190,9 +165190,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 _iter1442 : struct.group_names) + for (String _iter1450 : struct.group_names) { - oprot.writeString(_iter1442); + oprot.writeString(_iter1450); } } } @@ -165208,13 +165208,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1443 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1443.size); - String _elem1444; - for (int _i1445 = 0; _i1445 < _list1443.size; ++_i1445) + org.apache.thrift.protocol.TList _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1451.size); + String _elem1452; + for (int _i1453 = 0; _i1453 < _list1451.size; ++_i1453) { - _elem1444 = iprot.readString(); - struct.group_names.add(_elem1444); + _elem1452 = iprot.readString(); + struct.group_names.add(_elem1452); } } struct.setGroup_namesIsSet(true); @@ -165617,13 +165617,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 _list1446 = iprot.readListBegin(); - struct.success = new ArrayList(_list1446.size); - String _elem1447; - for (int _i1448 = 0; _i1448 < _list1446.size; ++_i1448) + org.apache.thrift.protocol.TList _list1454 = iprot.readListBegin(); + struct.success = new ArrayList(_list1454.size); + String _elem1455; + for (int _i1456 = 0; _i1456 < _list1454.size; ++_i1456) { - _elem1447 = iprot.readString(); - struct.success.add(_elem1447); + _elem1455 = iprot.readString(); + struct.success.add(_elem1455); } iprot.readListEnd(); } @@ -165658,9 +165658,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 _iter1449 : struct.success) + for (String _iter1457 : struct.success) { - oprot.writeString(_iter1449); + oprot.writeString(_iter1457); } oprot.writeListEnd(); } @@ -165699,9 +165699,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1450 : struct.success) + for (String _iter1458 : struct.success) { - oprot.writeString(_iter1450); + oprot.writeString(_iter1458); } } } @@ -165716,13 +165716,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 _list1451 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = 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.success = new ArrayList(_list1459.size); + String _elem1460; + for (int _i1461 = 0; _i1461 < _list1459.size; ++_i1461) { - _elem1452 = iprot.readString(); - struct.success.add(_elem1452); + _elem1460 = iprot.readString(); + struct.success.add(_elem1460); } } struct.setSuccessIsSet(true); @@ -171013,13 +171013,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 _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(); } @@ -171045,9 +171045,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 _iter1457 : struct.success) + for (String _iter1465 : struct.success) { - oprot.writeString(_iter1457); + oprot.writeString(_iter1465); } oprot.writeListEnd(); } @@ -171078,9 +171078,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1458 : struct.success) + for (String _iter1466 : struct.success) { - oprot.writeString(_iter1458); + oprot.writeString(_iter1466); } } } @@ -171092,13 +171092,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 _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); @@ -174128,13 +174128,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 _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(); } @@ -174160,9 +174160,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 _iter1465 : struct.success) + for (String _iter1473 : struct.success) { - oprot.writeString(_iter1465); + oprot.writeString(_iter1473); } oprot.writeListEnd(); } @@ -174193,9 +174193,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1466 : struct.success) + for (String _iter1474 : struct.success) { - oprot.writeString(_iter1466); + oprot.writeString(_iter1474); } } } @@ -174207,13 +174207,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 _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); @@ -221787,14 +221787,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 _list1470 = iprot.readListBegin(); - struct.success = new ArrayList(_list1470.size); - SchemaVersion _elem1471; - for (int _i1472 = 0; _i1472 < _list1470.size; ++_i1472) + org.apache.thrift.protocol.TList _list1478 = iprot.readListBegin(); + struct.success = new ArrayList(_list1478.size); + SchemaVersion _elem1479; + for (int _i1480 = 0; _i1480 < _list1478.size; ++_i1480) { - _elem1471 = new SchemaVersion(); - _elem1471.read(iprot); - struct.success.add(_elem1471); + _elem1479 = new SchemaVersion(); + _elem1479.read(iprot); + struct.success.add(_elem1479); } iprot.readListEnd(); } @@ -221838,9 +221838,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 _iter1473 : struct.success) + for (SchemaVersion _iter1481 : struct.success) { - _iter1473.write(oprot); + _iter1481.write(oprot); } oprot.writeListEnd(); } @@ -221887,9 +221887,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_all_vers if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (SchemaVersion _iter1474 : struct.success) + for (SchemaVersion _iter1482 : struct.success) { - _iter1474.write(oprot); + _iter1482.write(oprot); } } } @@ -221907,14 +221907,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 _list1475 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1475.size); - SchemaVersion _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.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1483.size); + SchemaVersion _elem1484; + for (int _i1485 = 0; _i1485 < _list1483.size; ++_i1485) { - _elem1476 = new SchemaVersion(); - _elem1476.read(iprot); - struct.success.add(_elem1476); + _elem1484 = new SchemaVersion(); + _elem1484.read(iprot); + struct.success.add(_elem1484); } } 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 a7be2ecb67..35605679c2 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 _list816 = iprot.readListBegin(); - struct.pools = new ArrayList(_list816.size); - WMPool _elem817; - for (int _i818 = 0; _i818 < _list816.size; ++_i818) + org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); + struct.pools = new ArrayList(_list824.size); + WMPool _elem825; + for (int _i826 = 0; _i826 < _list824.size; ++_i826) { - _elem817 = new WMPool(); - _elem817.read(iprot); - struct.pools.add(_elem817); + _elem825 = new WMPool(); + _elem825.read(iprot); + struct.pools.add(_elem825); } 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 _list819 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list819.size); - WMMapping _elem820; - for (int _i821 = 0; _i821 < _list819.size; ++_i821) + org.apache.thrift.protocol.TList _list827 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list827.size); + WMMapping _elem828; + for (int _i829 = 0; _i829 < _list827.size; ++_i829) { - _elem820 = new WMMapping(); - _elem820.read(iprot); - struct.mappings.add(_elem820); + _elem828 = new WMMapping(); + _elem828.read(iprot); + struct.mappings.add(_elem828); } 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 _list822 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list822.size); - WMTrigger _elem823; - for (int _i824 = 0; _i824 < _list822.size; ++_i824) + org.apache.thrift.protocol.TList _list830 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list830.size); + WMTrigger _elem831; + for (int _i832 = 0; _i832 < _list830.size; ++_i832) { - _elem823 = new WMTrigger(); - _elem823.read(iprot); - struct.triggers.add(_elem823); + _elem831 = new WMTrigger(); + _elem831.read(iprot); + struct.triggers.add(_elem831); } 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 _list825 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list825.size); - WMPoolTrigger _elem826; - for (int _i827 = 0; _i827 < _list825.size; ++_i827) + org.apache.thrift.protocol.TList _list833 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list833.size); + WMPoolTrigger _elem834; + for (int _i835 = 0; _i835 < _list833.size; ++_i835) { - _elem826 = new WMPoolTrigger(); - _elem826.read(iprot); - struct.poolTriggers.add(_elem826); + _elem834 = new WMPoolTrigger(); + _elem834.read(iprot); + struct.poolTriggers.add(_elem834); } 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 _iter828 : struct.pools) + for (WMPool _iter836 : struct.pools) { - _iter828.write(oprot); + _iter836.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 _iter829 : struct.mappings) + for (WMMapping _iter837 : struct.mappings) { - _iter829.write(oprot); + _iter837.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 _iter830 : struct.triggers) + for (WMTrigger _iter838 : struct.triggers) { - _iter830.write(oprot); + _iter838.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 _iter831 : struct.poolTriggers) + for (WMPoolTrigger _iter839 : struct.poolTriggers) { - _iter831.write(oprot); + _iter839.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 _iter832 : struct.pools) + for (WMPool _iter840 : struct.pools) { - _iter832.write(oprot); + _iter840.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 _iter833 : struct.mappings) + for (WMMapping _iter841 : struct.mappings) { - _iter833.write(oprot); + _iter841.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter834 : struct.triggers) + for (WMTrigger _iter842 : struct.triggers) { - _iter834.write(oprot); + _iter842.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter835 : struct.poolTriggers) + for (WMPoolTrigger _iter843 : struct.poolTriggers) { - _iter835.write(oprot); + _iter843.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 _list836 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list836.size); - WMPool _elem837; - for (int _i838 = 0; _i838 < _list836.size; ++_i838) + 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) { - _elem837 = new WMPool(); - _elem837.read(iprot); - struct.pools.add(_elem837); + _elem845 = new WMPool(); + _elem845.read(iprot); + struct.pools.add(_elem845); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list839 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list839.size); - WMMapping _elem840; - for (int _i841 = 0; _i841 < _list839.size; ++_i841) + 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) { - _elem840 = new WMMapping(); - _elem840.read(iprot); - struct.mappings.add(_elem840); + _elem848 = new WMMapping(); + _elem848.read(iprot); + struct.mappings.add(_elem848); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list842 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list842.size); - WMTrigger _elem843; - for (int _i844 = 0; _i844 < _list842.size; ++_i844) + 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) { - _elem843 = new WMTrigger(); - _elem843.read(iprot); - struct.triggers.add(_elem843); + _elem851 = new WMTrigger(); + _elem851.read(iprot); + struct.triggers.add(_elem851); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list845 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list845.size); - WMPoolTrigger _elem846; - for (int _i847 = 0; _i847 < _list845.size; ++_i847) + 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) { - _elem846 = new WMPoolTrigger(); - _elem846.read(iprot); - struct.poolTriggers.add(_elem846); + _elem854 = new WMPoolTrigger(); + _elem854.read(iprot); + struct.poolTriggers.add(_elem854); } } 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 d931b47790..ffe8b68c9f 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 _list848 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list848.size); - WMResourcePlan _elem849; - for (int _i850 = 0; _i850 < _list848.size; ++_i850) + org.apache.thrift.protocol.TList _list856 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list856.size); + WMResourcePlan _elem857; + for (int _i858 = 0; _i858 < _list856.size; ++_i858) { - _elem849 = new WMResourcePlan(); - _elem849.read(iprot); - struct.resourcePlans.add(_elem849); + _elem857 = new WMResourcePlan(); + _elem857.read(iprot); + struct.resourcePlans.add(_elem857); } 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 _iter851 : struct.resourcePlans) + for (WMResourcePlan _iter859 : struct.resourcePlans) { - _iter851.write(oprot); + _iter859.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 _iter852 : struct.resourcePlans) + for (WMResourcePlan _iter860 : struct.resourcePlans) { - _iter852.write(oprot); + _iter860.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 _list853 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list853.size); - WMResourcePlan _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.resourcePlans = new ArrayList(_list861.size); + WMResourcePlan _elem862; + for (int _i863 = 0; _i863 < _list861.size; ++_i863) { - _elem854 = new WMResourcePlan(); - _elem854.read(iprot); - struct.resourcePlans.add(_elem854); + _elem862 = new WMResourcePlan(); + _elem862.read(iprot); + struct.resourcePlans.add(_elem862); } } 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 a674db2a80..9dfebf09bf 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 _list872 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list872.size); - WMTrigger _elem873; - for (int _i874 = 0; _i874 < _list872.size; ++_i874) + org.apache.thrift.protocol.TList _list880 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list880.size); + WMTrigger _elem881; + for (int _i882 = 0; _i882 < _list880.size; ++_i882) { - _elem873 = new WMTrigger(); - _elem873.read(iprot); - struct.triggers.add(_elem873); + _elem881 = new WMTrigger(); + _elem881.read(iprot); + struct.triggers.add(_elem881); } 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 _iter875 : struct.triggers) + for (WMTrigger _iter883 : struct.triggers) { - _iter875.write(oprot); + _iter883.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 _iter876 : struct.triggers) + for (WMTrigger _iter884 : struct.triggers) { - _iter876.write(oprot); + _iter884.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 _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list877.size); - WMTrigger _elem878; - for (int _i879 = 0; _i879 < _list877.size; ++_i879) + org.apache.thrift.protocol.TList _list885 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list885.size); + WMTrigger _elem886; + for (int _i887 = 0; _i887 < _list885.size; ++_i887) { - _elem878 = new WMTrigger(); - _elem878.read(iprot); - struct.triggers.add(_elem878); + _elem886 = new WMTrigger(); + _elem886.read(iprot); + struct.triggers.add(_elem886); } } 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 db1195843d..8f3b06541f 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 _list856 = iprot.readListBegin(); - struct.errors = new ArrayList(_list856.size); - String _elem857; - for (int _i858 = 0; _i858 < _list856.size; ++_i858) + org.apache.thrift.protocol.TList _list864 = iprot.readListBegin(); + struct.errors = new ArrayList(_list864.size); + String _elem865; + for (int _i866 = 0; _i866 < _list864.size; ++_i866) { - _elem857 = iprot.readString(); - struct.errors.add(_elem857); + _elem865 = iprot.readString(); + struct.errors.add(_elem865); } 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 _list859 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list859.size); - String _elem860; - for (int _i861 = 0; _i861 < _list859.size; ++_i861) + org.apache.thrift.protocol.TList _list867 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list867.size); + String _elem868; + for (int _i869 = 0; _i869 < _list867.size; ++_i869) { - _elem860 = iprot.readString(); - struct.warnings.add(_elem860); + _elem868 = iprot.readString(); + struct.warnings.add(_elem868); } 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 _iter862 : struct.errors) + for (String _iter870 : struct.errors) { - oprot.writeString(_iter862); + oprot.writeString(_iter870); } 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 _iter863 : struct.warnings) + for (String _iter871 : struct.warnings) { - oprot.writeString(_iter863); + oprot.writeString(_iter871); } 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 _iter864 : struct.errors) + for (String _iter872 : struct.errors) { - oprot.writeString(_iter864); + oprot.writeString(_iter872); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter865 : struct.warnings) + for (String _iter873 : struct.warnings) { - oprot.writeString(_iter865); + oprot.writeString(_iter873); } } } @@ -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 _list866 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list866.size); - String _elem867; - for (int _i868 = 0; _i868 < _list866.size; ++_i868) + org.apache.thrift.protocol.TList _list874 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list874.size); + String _elem875; + for (int _i876 = 0; _i876 < _list874.size; ++_i876) { - _elem867 = iprot.readString(); - struct.errors.add(_elem867); + _elem875 = iprot.readString(); + struct.errors.add(_elem875); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list869 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list869.size); - String _elem870; - for (int _i871 = 0; _i871 < _list869.size; ++_i871) + org.apache.thrift.protocol.TList _list877 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list877.size); + String _elem878; + for (int _i879 = 0; _i879 < _list877.size; ++_i879) { - _elem870 = iprot.readString(); - struct.warnings.add(_elem870); + _elem878 = iprot.readString(); + struct.warnings.add(_elem878); } } 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 d00d11be3e..edf9d97295 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -13786,14 +13786,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $xfer += $input->readString($elem797); - $this->success []= $elem797; + $elem804 = null; + $xfer += $input->readString($elem804); + $this->success []= $elem804; } $xfer += $input->readListEnd(); } else { @@ -13829,9 +13829,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter798) + foreach ($this->success as $iter805) { - $xfer += $output->writeString($iter798); + $xfer += $output->writeString($iter805); } } $output->writeListEnd(); @@ -13962,14 +13962,14 @@ class ThriftHiveMetastore_get_all_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 { @@ -14005,9 +14005,9 @@ class ThriftHiveMetastore_get_all_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(); @@ -15008,18 +15008,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size806 = 0; - $_ktype807 = 0; - $_vtype808 = 0; - $xfer += $input->readMapBegin($_ktype807, $_vtype808, $_size806); - for ($_i810 = 0; $_i810 < $_size806; ++$_i810) + $_size813 = 0; + $_ktype814 = 0; + $_vtype815 = 0; + $xfer += $input->readMapBegin($_ktype814, $_vtype815, $_size813); + for ($_i817 = 0; $_i817 < $_size813; ++$_i817) { - $key811 = ''; - $val812 = new \metastore\Type(); - $xfer += $input->readString($key811); - $val812 = new \metastore\Type(); - $xfer += $val812->read($input); - $this->success[$key811] = $val812; + $key818 = ''; + $val819 = new \metastore\Type(); + $xfer += $input->readString($key818); + $val819 = new \metastore\Type(); + $xfer += $val819->read($input); + $this->success[$key818] = $val819; } $xfer += $input->readMapEnd(); } else { @@ -15055,10 +15055,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter813 => $viter814) + foreach ($this->success as $kiter820 => $viter821) { - $xfer += $output->writeString($kiter813); - $xfer += $viter814->write($output); + $xfer += $output->writeString($kiter820); + $xfer += $viter821->write($output); } } $output->writeMapEnd(); @@ -15262,15 +15262,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size815 = 0; - $_etype818 = 0; - $xfer += $input->readListBegin($_etype818, $_size815); - for ($_i819 = 0; $_i819 < $_size815; ++$_i819) + $_size822 = 0; + $_etype825 = 0; + $xfer += $input->readListBegin($_etype825, $_size822); + for ($_i826 = 0; $_i826 < $_size822; ++$_i826) { - $elem820 = null; - $elem820 = new \metastore\FieldSchema(); - $xfer += $elem820->read($input); - $this->success []= $elem820; + $elem827 = null; + $elem827 = new \metastore\FieldSchema(); + $xfer += $elem827->read($input); + $this->success []= $elem827; } $xfer += $input->readListEnd(); } else { @@ -15322,9 +15322,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter821) + foreach ($this->success as $iter828) { - $xfer += $iter821->write($output); + $xfer += $iter828->write($output); } } $output->writeListEnd(); @@ -15566,15 +15566,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_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 { @@ -15626,9 +15626,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_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(); @@ -15842,15 +15842,15 @@ class ThriftHiveMetastore_get_schema_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 { @@ -15902,9 +15902,9 @@ class ThriftHiveMetastore_get_schema_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(); @@ -16146,15 +16146,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size836 = 0; - $_etype839 = 0; - $xfer += $input->readListBegin($_etype839, $_size836); - for ($_i840 = 0; $_i840 < $_size836; ++$_i840) + $_size843 = 0; + $_etype846 = 0; + $xfer += $input->readListBegin($_etype846, $_size843); + for ($_i847 = 0; $_i847 < $_size843; ++$_i847) { - $elem841 = null; - $elem841 = new \metastore\FieldSchema(); - $xfer += $elem841->read($input); - $this->success []= $elem841; + $elem848 = null; + $elem848 = new \metastore\FieldSchema(); + $xfer += $elem848->read($input); + $this->success []= $elem848; } $xfer += $input->readListEnd(); } else { @@ -16206,9 +16206,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter842) + foreach ($this->success as $iter849) { - $xfer += $iter842->write($output); + $xfer += $iter849->write($output); } } $output->writeListEnd(); @@ -16880,15 +16880,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = 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\SQLPrimaryKey(); - $xfer += $elem848->read($input); - $this->primaryKeys []= $elem848; + $elem855 = null; + $elem855 = new \metastore\SQLPrimaryKey(); + $xfer += $elem855->read($input); + $this->primaryKeys []= $elem855; } $xfer += $input->readListEnd(); } else { @@ -16898,15 +16898,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size849 = 0; - $_etype852 = 0; - $xfer += $input->readListBegin($_etype852, $_size849); - for ($_i853 = 0; $_i853 < $_size849; ++$_i853) + $_size856 = 0; + $_etype859 = 0; + $xfer += $input->readListBegin($_etype859, $_size856); + for ($_i860 = 0; $_i860 < $_size856; ++$_i860) { - $elem854 = null; - $elem854 = new \metastore\SQLForeignKey(); - $xfer += $elem854->read($input); - $this->foreignKeys []= $elem854; + $elem861 = null; + $elem861 = new \metastore\SQLForeignKey(); + $xfer += $elem861->read($input); + $this->foreignKeys []= $elem861; } $xfer += $input->readListEnd(); } else { @@ -16916,15 +16916,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = array(); - $_size855 = 0; - $_etype858 = 0; - $xfer += $input->readListBegin($_etype858, $_size855); - for ($_i859 = 0; $_i859 < $_size855; ++$_i859) + $_size862 = 0; + $_etype865 = 0; + $xfer += $input->readListBegin($_etype865, $_size862); + for ($_i866 = 0; $_i866 < $_size862; ++$_i866) { - $elem860 = null; - $elem860 = new \metastore\SQLUniqueConstraint(); - $xfer += $elem860->read($input); - $this->uniqueConstraints []= $elem860; + $elem867 = null; + $elem867 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem867->read($input); + $this->uniqueConstraints []= $elem867; } $xfer += $input->readListEnd(); } else { @@ -16934,15 +16934,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size861 = 0; - $_etype864 = 0; - $xfer += $input->readListBegin($_etype864, $_size861); - for ($_i865 = 0; $_i865 < $_size861; ++$_i865) + $_size868 = 0; + $_etype871 = 0; + $xfer += $input->readListBegin($_etype871, $_size868); + for ($_i872 = 0; $_i872 < $_size868; ++$_i872) { - $elem866 = null; - $elem866 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem866->read($input); - $this->notNullConstraints []= $elem866; + $elem873 = null; + $elem873 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem873->read($input); + $this->notNullConstraints []= $elem873; } $xfer += $input->readListEnd(); } else { @@ -16952,15 +16952,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size867 = 0; - $_etype870 = 0; - $xfer += $input->readListBegin($_etype870, $_size867); - for ($_i871 = 0; $_i871 < $_size867; ++$_i871) + $_size874 = 0; + $_etype877 = 0; + $xfer += $input->readListBegin($_etype877, $_size874); + for ($_i878 = 0; $_i878 < $_size874; ++$_i878) { - $elem872 = null; - $elem872 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem872->read($input); - $this->defaultConstraints []= $elem872; + $elem879 = null; + $elem879 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem879->read($input); + $this->defaultConstraints []= $elem879; } $xfer += $input->readListEnd(); } else { @@ -16970,15 +16970,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 7: if ($ftype == TType::LST) { $this->checkConstraints = array(); - $_size873 = 0; - $_etype876 = 0; - $xfer += $input->readListBegin($_etype876, $_size873); - for ($_i877 = 0; $_i877 < $_size873; ++$_i877) + $_size880 = 0; + $_etype883 = 0; + $xfer += $input->readListBegin($_etype883, $_size880); + for ($_i884 = 0; $_i884 < $_size880; ++$_i884) { - $elem878 = null; - $elem878 = new \metastore\SQLCheckConstraint(); - $xfer += $elem878->read($input); - $this->checkConstraints []= $elem878; + $elem885 = null; + $elem885 = new \metastore\SQLCheckConstraint(); + $xfer += $elem885->read($input); + $this->checkConstraints []= $elem885; } $xfer += $input->readListEnd(); } else { @@ -17014,9 +17014,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter879) + foreach ($this->primaryKeys as $iter886) { - $xfer += $iter879->write($output); + $xfer += $iter886->write($output); } } $output->writeListEnd(); @@ -17031,9 +17031,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter880) + foreach ($this->foreignKeys as $iter887) { - $xfer += $iter880->write($output); + $xfer += $iter887->write($output); } } $output->writeListEnd(); @@ -17048,9 +17048,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter881) + foreach ($this->uniqueConstraints as $iter888) { - $xfer += $iter881->write($output); + $xfer += $iter888->write($output); } } $output->writeListEnd(); @@ -17065,9 +17065,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter882) + foreach ($this->notNullConstraints as $iter889) { - $xfer += $iter882->write($output); + $xfer += $iter889->write($output); } } $output->writeListEnd(); @@ -17082,9 +17082,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter883) + foreach ($this->defaultConstraints as $iter890) { - $xfer += $iter883->write($output); + $xfer += $iter890->write($output); } } $output->writeListEnd(); @@ -17099,9 +17099,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->checkConstraints)); { - foreach ($this->checkConstraints as $iter884) + foreach ($this->checkConstraints as $iter891) { - $xfer += $iter884->write($output); + $xfer += $iter891->write($output); } } $output->writeListEnd(); @@ -19101,14 +19101,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size885 = 0; - $_etype888 = 0; - $xfer += $input->readListBegin($_etype888, $_size885); - for ($_i889 = 0; $_i889 < $_size885; ++$_i889) + $_size892 = 0; + $_etype895 = 0; + $xfer += $input->readListBegin($_etype895, $_size892); + for ($_i896 = 0; $_i896 < $_size892; ++$_i896) { - $elem890 = null; - $xfer += $input->readString($elem890); - $this->partNames []= $elem890; + $elem897 = null; + $xfer += $input->readString($elem897); + $this->partNames []= $elem897; } $xfer += $input->readListEnd(); } else { @@ -19146,9 +19146,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter891) + foreach ($this->partNames as $iter898) { - $xfer += $output->writeString($iter891); + $xfer += $output->writeString($iter898); } } $output->writeListEnd(); @@ -19399,14 +19399,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem897; + $elem904 = null; + $xfer += $input->readString($elem904); + $this->success []= $elem904; } $xfer += $input->readListEnd(); } else { @@ -19442,9 +19442,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter898) + foreach ($this->success as $iter905) { - $xfer += $output->writeString($iter898); + $xfer += $output->writeString($iter905); } } $output->writeListEnd(); @@ -19646,14 +19646,14 @@ class ThriftHiveMetastore_get_tables_by_type_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 { @@ -19689,9 +19689,9 @@ class ThriftHiveMetastore_get_tables_by_type_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(); @@ -19847,14 +19847,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_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 { @@ -19890,9 +19890,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_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(); @@ -19997,14 +19997,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = 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->tbl_types []= $elem918; + $elem925 = null; + $xfer += $input->readString($elem925); + $this->tbl_types []= $elem925; } $xfer += $input->readListEnd(); } else { @@ -20042,9 +20042,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter919) + foreach ($this->tbl_types as $iter926) { - $xfer += $output->writeString($iter919); + $xfer += $output->writeString($iter926); } } $output->writeListEnd(); @@ -20121,15 +20121,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size920 = 0; - $_etype923 = 0; - $xfer += $input->readListBegin($_etype923, $_size920); - for ($_i924 = 0; $_i924 < $_size920; ++$_i924) + $_size927 = 0; + $_etype930 = 0; + $xfer += $input->readListBegin($_etype930, $_size927); + for ($_i931 = 0; $_i931 < $_size927; ++$_i931) { - $elem925 = null; - $elem925 = new \metastore\TableMeta(); - $xfer += $elem925->read($input); - $this->success []= $elem925; + $elem932 = null; + $elem932 = new \metastore\TableMeta(); + $xfer += $elem932->read($input); + $this->success []= $elem932; } $xfer += $input->readListEnd(); } else { @@ -20165,9 +20165,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter926) + foreach ($this->success as $iter933) { - $xfer += $iter926->write($output); + $xfer += $iter933->write($output); } } $output->writeListEnd(); @@ -20323,14 +20323,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size927 = 0; - $_etype930 = 0; - $xfer += $input->readListBegin($_etype930, $_size927); - for ($_i931 = 0; $_i931 < $_size927; ++$_i931) + $_size934 = 0; + $_etype937 = 0; + $xfer += $input->readListBegin($_etype937, $_size934); + for ($_i938 = 0; $_i938 < $_size934; ++$_i938) { - $elem932 = null; - $xfer += $input->readString($elem932); - $this->success []= $elem932; + $elem939 = null; + $xfer += $input->readString($elem939); + $this->success []= $elem939; } $xfer += $input->readListEnd(); } else { @@ -20366,9 +20366,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter933) + foreach ($this->success as $iter940) { - $xfer += $output->writeString($iter933); + $xfer += $output->writeString($iter940); } } $output->writeListEnd(); @@ -20683,14 +20683,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size934 = 0; - $_etype937 = 0; - $xfer += $input->readListBegin($_etype937, $_size934); - for ($_i938 = 0; $_i938 < $_size934; ++$_i938) + $_size941 = 0; + $_etype944 = 0; + $xfer += $input->readListBegin($_etype944, $_size941); + for ($_i945 = 0; $_i945 < $_size941; ++$_i945) { - $elem939 = null; - $xfer += $input->readString($elem939); - $this->tbl_names []= $elem939; + $elem946 = null; + $xfer += $input->readString($elem946); + $this->tbl_names []= $elem946; } $xfer += $input->readListEnd(); } else { @@ -20723,9 +20723,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter940) + foreach ($this->tbl_names as $iter947) { - $xfer += $output->writeString($iter940); + $xfer += $output->writeString($iter947); } } $output->writeListEnd(); @@ -20790,15 +20790,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size941 = 0; - $_etype944 = 0; - $xfer += $input->readListBegin($_etype944, $_size941); - for ($_i945 = 0; $_i945 < $_size941; ++$_i945) + $_size948 = 0; + $_etype951 = 0; + $xfer += $input->readListBegin($_etype951, $_size948); + for ($_i952 = 0; $_i952 < $_size948; ++$_i952) { - $elem946 = null; - $elem946 = new \metastore\Table(); - $xfer += $elem946->read($input); - $this->success []= $elem946; + $elem953 = null; + $elem953 = new \metastore\Table(); + $xfer += $elem953->read($input); + $this->success []= $elem953; } $xfer += $input->readListEnd(); } else { @@ -20826,9 +20826,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter947) + foreach ($this->success as $iter954) { - $xfer += $iter947->write($output); + $xfer += $iter954->write($output); } } $output->writeListEnd(); @@ -21355,14 +21355,14 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size948 = 0; - $_etype951 = 0; - $xfer += $input->readListBegin($_etype951, $_size948); - for ($_i952 = 0; $_i952 < $_size948; ++$_i952) + $_size955 = 0; + $_etype958 = 0; + $xfer += $input->readListBegin($_etype958, $_size955); + for ($_i959 = 0; $_i959 < $_size955; ++$_i959) { - $elem953 = null; - $xfer += $input->readString($elem953); - $this->tbl_names []= $elem953; + $elem960 = null; + $xfer += $input->readString($elem960); + $this->tbl_names []= $elem960; } $xfer += $input->readListEnd(); } else { @@ -21395,9 +21395,9 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter954) + foreach ($this->tbl_names as $iter961) { - $xfer += $output->writeString($iter954); + $xfer += $output->writeString($iter961); } } $output->writeListEnd(); @@ -21502,18 +21502,18 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size955 = 0; - $_ktype956 = 0; - $_vtype957 = 0; - $xfer += $input->readMapBegin($_ktype956, $_vtype957, $_size955); - for ($_i959 = 0; $_i959 < $_size955; ++$_i959) + $_size962 = 0; + $_ktype963 = 0; + $_vtype964 = 0; + $xfer += $input->readMapBegin($_ktype963, $_vtype964, $_size962); + for ($_i966 = 0; $_i966 < $_size962; ++$_i966) { - $key960 = ''; - $val961 = new \metastore\Materialization(); - $xfer += $input->readString($key960); - $val961 = new \metastore\Materialization(); - $xfer += $val961->read($input); - $this->success[$key960] = $val961; + $key967 = ''; + $val968 = new \metastore\Materialization(); + $xfer += $input->readString($key967); + $val968 = new \metastore\Materialization(); + $xfer += $val968->read($input); + $this->success[$key967] = $val968; } $xfer += $input->readMapEnd(); } else { @@ -21565,10 +21565,10 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter962 => $viter963) + foreach ($this->success as $kiter969 => $viter970) { - $xfer += $output->writeString($kiter962); - $xfer += $viter963->write($output); + $xfer += $output->writeString($kiter969); + $xfer += $viter970->write($output); } } $output->writeMapEnd(); @@ -22057,14 +22057,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size964 = 0; - $_etype967 = 0; - $xfer += $input->readListBegin($_etype967, $_size964); - for ($_i968 = 0; $_i968 < $_size964; ++$_i968) + $_size971 = 0; + $_etype974 = 0; + $xfer += $input->readListBegin($_etype974, $_size971); + for ($_i975 = 0; $_i975 < $_size971; ++$_i975) { - $elem969 = null; - $xfer += $input->readString($elem969); - $this->success []= $elem969; + $elem976 = null; + $xfer += $input->readString($elem976); + $this->success []= $elem976; } $xfer += $input->readListEnd(); } else { @@ -22116,9 +22116,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter970) + foreach ($this->success as $iter977) { - $xfer += $output->writeString($iter970); + $xfer += $output->writeString($iter977); } } $output->writeListEnd(); @@ -23431,15 +23431,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = 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; - $elem976 = new \metastore\Partition(); - $xfer += $elem976->read($input); - $this->new_parts []= $elem976; + $elem983 = null; + $elem983 = new \metastore\Partition(); + $xfer += $elem983->read($input); + $this->new_parts []= $elem983; } $xfer += $input->readListEnd(); } else { @@ -23467,9 +23467,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter977) + foreach ($this->new_parts as $iter984) { - $xfer += $iter977->write($output); + $xfer += $iter984->write($output); } } $output->writeListEnd(); @@ -23684,15 +23684,15 @@ class ThriftHiveMetastore_add_partitions_pspec_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\PartitionSpec(); - $xfer += $elem983->read($input); - $this->new_parts []= $elem983; + $elem990 = null; + $elem990 = new \metastore\PartitionSpec(); + $xfer += $elem990->read($input); + $this->new_parts []= $elem990; } $xfer += $input->readListEnd(); } else { @@ -23720,9 +23720,9 @@ class ThriftHiveMetastore_add_partitions_pspec_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(); @@ -23972,14 +23972,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size985 = 0; - $_etype988 = 0; - $xfer += $input->readListBegin($_etype988, $_size985); - for ($_i989 = 0; $_i989 < $_size985; ++$_i989) + $_size992 = 0; + $_etype995 = 0; + $xfer += $input->readListBegin($_etype995, $_size992); + for ($_i996 = 0; $_i996 < $_size992; ++$_i996) { - $elem990 = null; - $xfer += $input->readString($elem990); - $this->part_vals []= $elem990; + $elem997 = null; + $xfer += $input->readString($elem997); + $this->part_vals []= $elem997; } $xfer += $input->readListEnd(); } else { @@ -24017,9 +24017,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter991) + foreach ($this->part_vals as $iter998) { - $xfer += $output->writeString($iter991); + $xfer += $output->writeString($iter998); } } $output->writeListEnd(); @@ -24521,14 +24521,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_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 { @@ -24574,9 +24574,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_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(); @@ -25430,14 +25430,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size999 = 0; - $_etype1002 = 0; - $xfer += $input->readListBegin($_etype1002, $_size999); - for ($_i1003 = 0; $_i1003 < $_size999; ++$_i1003) + $_size1006 = 0; + $_etype1009 = 0; + $xfer += $input->readListBegin($_etype1009, $_size1006); + for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) { - $elem1004 = null; - $xfer += $input->readString($elem1004); - $this->part_vals []= $elem1004; + $elem1011 = null; + $xfer += $input->readString($elem1011); + $this->part_vals []= $elem1011; } $xfer += $input->readListEnd(); } else { @@ -25482,9 +25482,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1005) + foreach ($this->part_vals as $iter1012) { - $xfer += $output->writeString($iter1005); + $xfer += $output->writeString($iter1012); } } $output->writeListEnd(); @@ -25737,14 +25737,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1006 = 0; - $_etype1009 = 0; - $xfer += $input->readListBegin($_etype1009, $_size1006); - for ($_i1010 = 0; $_i1010 < $_size1006; ++$_i1010) + $_size1013 = 0; + $_etype1016 = 0; + $xfer += $input->readListBegin($_etype1016, $_size1013); + for ($_i1017 = 0; $_i1017 < $_size1013; ++$_i1017) { - $elem1011 = null; - $xfer += $input->readString($elem1011); - $this->part_vals []= $elem1011; + $elem1018 = null; + $xfer += $input->readString($elem1018); + $this->part_vals []= $elem1018; } $xfer += $input->readListEnd(); } else { @@ -25797,9 +25797,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1012) + foreach ($this->part_vals as $iter1019) { - $xfer += $output->writeString($iter1012); + $xfer += $output->writeString($iter1019); } } $output->writeListEnd(); @@ -26813,14 +26813,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1013 = 0; - $_etype1016 = 0; - $xfer += $input->readListBegin($_etype1016, $_size1013); - for ($_i1017 = 0; $_i1017 < $_size1013; ++$_i1017) + $_size1020 = 0; + $_etype1023 = 0; + $xfer += $input->readListBegin($_etype1023, $_size1020); + for ($_i1024 = 0; $_i1024 < $_size1020; ++$_i1024) { - $elem1018 = null; - $xfer += $input->readString($elem1018); - $this->part_vals []= $elem1018; + $elem1025 = null; + $xfer += $input->readString($elem1025); + $this->part_vals []= $elem1025; } $xfer += $input->readListEnd(); } else { @@ -26858,9 +26858,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1019) + foreach ($this->part_vals as $iter1026) { - $xfer += $output->writeString($iter1019); + $xfer += $output->writeString($iter1026); } } $output->writeListEnd(); @@ -27102,17 +27102,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1020 = 0; - $_ktype1021 = 0; - $_vtype1022 = 0; - $xfer += $input->readMapBegin($_ktype1021, $_vtype1022, $_size1020); - for ($_i1024 = 0; $_i1024 < $_size1020; ++$_i1024) + $_size1027 = 0; + $_ktype1028 = 0; + $_vtype1029 = 0; + $xfer += $input->readMapBegin($_ktype1028, $_vtype1029, $_size1027); + for ($_i1031 = 0; $_i1031 < $_size1027; ++$_i1031) { - $key1025 = ''; - $val1026 = ''; - $xfer += $input->readString($key1025); - $xfer += $input->readString($val1026); - $this->partitionSpecs[$key1025] = $val1026; + $key1032 = ''; + $val1033 = ''; + $xfer += $input->readString($key1032); + $xfer += $input->readString($val1033); + $this->partitionSpecs[$key1032] = $val1033; } $xfer += $input->readMapEnd(); } else { @@ -27168,10 +27168,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1027 => $viter1028) + foreach ($this->partitionSpecs as $kiter1034 => $viter1035) { - $xfer += $output->writeString($kiter1027); - $xfer += $output->writeString($viter1028); + $xfer += $output->writeString($kiter1034); + $xfer += $output->writeString($viter1035); } } $output->writeMapEnd(); @@ -27483,17 +27483,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1029 = 0; - $_ktype1030 = 0; - $_vtype1031 = 0; - $xfer += $input->readMapBegin($_ktype1030, $_vtype1031, $_size1029); - for ($_i1033 = 0; $_i1033 < $_size1029; ++$_i1033) + $_size1036 = 0; + $_ktype1037 = 0; + $_vtype1038 = 0; + $xfer += $input->readMapBegin($_ktype1037, $_vtype1038, $_size1036); + for ($_i1040 = 0; $_i1040 < $_size1036; ++$_i1040) { - $key1034 = ''; - $val1035 = ''; - $xfer += $input->readString($key1034); - $xfer += $input->readString($val1035); - $this->partitionSpecs[$key1034] = $val1035; + $key1041 = ''; + $val1042 = ''; + $xfer += $input->readString($key1041); + $xfer += $input->readString($val1042); + $this->partitionSpecs[$key1041] = $val1042; } $xfer += $input->readMapEnd(); } else { @@ -27549,10 +27549,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1036 => $viter1037) + foreach ($this->partitionSpecs as $kiter1043 => $viter1044) { - $xfer += $output->writeString($kiter1036); - $xfer += $output->writeString($viter1037); + $xfer += $output->writeString($kiter1043); + $xfer += $output->writeString($viter1044); } } $output->writeMapEnd(); @@ -27685,15 +27685,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1038 = 0; - $_etype1041 = 0; - $xfer += $input->readListBegin($_etype1041, $_size1038); - for ($_i1042 = 0; $_i1042 < $_size1038; ++$_i1042) + $_size1045 = 0; + $_etype1048 = 0; + $xfer += $input->readListBegin($_etype1048, $_size1045); + for ($_i1049 = 0; $_i1049 < $_size1045; ++$_i1049) { - $elem1043 = null; - $elem1043 = new \metastore\Partition(); - $xfer += $elem1043->read($input); - $this->success []= $elem1043; + $elem1050 = null; + $elem1050 = new \metastore\Partition(); + $xfer += $elem1050->read($input); + $this->success []= $elem1050; } $xfer += $input->readListEnd(); } else { @@ -27753,9 +27753,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1044) + foreach ($this->success as $iter1051) { - $xfer += $iter1044->write($output); + $xfer += $iter1051->write($output); } } $output->writeListEnd(); @@ -27901,14 +27901,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem1050); - $this->part_vals []= $elem1050; + $elem1057 = null; + $xfer += $input->readString($elem1057); + $this->part_vals []= $elem1057; } $xfer += $input->readListEnd(); } else { @@ -27925,14 +27925,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1051 = 0; - $_etype1054 = 0; - $xfer += $input->readListBegin($_etype1054, $_size1051); - for ($_i1055 = 0; $_i1055 < $_size1051; ++$_i1055) + $_size1058 = 0; + $_etype1061 = 0; + $xfer += $input->readListBegin($_etype1061, $_size1058); + for ($_i1062 = 0; $_i1062 < $_size1058; ++$_i1062) { - $elem1056 = null; - $xfer += $input->readString($elem1056); - $this->group_names []= $elem1056; + $elem1063 = null; + $xfer += $input->readString($elem1063); + $this->group_names []= $elem1063; } $xfer += $input->readListEnd(); } else { @@ -27970,9 +27970,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1057) + foreach ($this->part_vals as $iter1064) { - $xfer += $output->writeString($iter1057); + $xfer += $output->writeString($iter1064); } } $output->writeListEnd(); @@ -27992,9 +27992,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1058) + foreach ($this->group_names as $iter1065) { - $xfer += $output->writeString($iter1058); + $xfer += $output->writeString($iter1065); } } $output->writeListEnd(); @@ -28585,15 +28585,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1059 = 0; - $_etype1062 = 0; - $xfer += $input->readListBegin($_etype1062, $_size1059); - for ($_i1063 = 0; $_i1063 < $_size1059; ++$_i1063) + $_size1066 = 0; + $_etype1069 = 0; + $xfer += $input->readListBegin($_etype1069, $_size1066); + for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) { - $elem1064 = null; - $elem1064 = new \metastore\Partition(); - $xfer += $elem1064->read($input); - $this->success []= $elem1064; + $elem1071 = null; + $elem1071 = new \metastore\Partition(); + $xfer += $elem1071->read($input); + $this->success []= $elem1071; } $xfer += $input->readListEnd(); } else { @@ -28637,9 +28637,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1065) + foreach ($this->success as $iter1072) { - $xfer += $iter1065->write($output); + $xfer += $iter1072->write($output); } } $output->writeListEnd(); @@ -28785,14 +28785,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1066 = 0; - $_etype1069 = 0; - $xfer += $input->readListBegin($_etype1069, $_size1066); - for ($_i1070 = 0; $_i1070 < $_size1066; ++$_i1070) + $_size1073 = 0; + $_etype1076 = 0; + $xfer += $input->readListBegin($_etype1076, $_size1073); + for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) { - $elem1071 = null; - $xfer += $input->readString($elem1071); - $this->group_names []= $elem1071; + $elem1078 = null; + $xfer += $input->readString($elem1078); + $this->group_names []= $elem1078; } $xfer += $input->readListEnd(); } else { @@ -28840,9 +28840,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1072) + foreach ($this->group_names as $iter1079) { - $xfer += $output->writeString($iter1072); + $xfer += $output->writeString($iter1079); } } $output->writeListEnd(); @@ -28931,15 +28931,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1073 = 0; - $_etype1076 = 0; - $xfer += $input->readListBegin($_etype1076, $_size1073); - for ($_i1077 = 0; $_i1077 < $_size1073; ++$_i1077) + $_size1080 = 0; + $_etype1083 = 0; + $xfer += $input->readListBegin($_etype1083, $_size1080); + for ($_i1084 = 0; $_i1084 < $_size1080; ++$_i1084) { - $elem1078 = null; - $elem1078 = new \metastore\Partition(); - $xfer += $elem1078->read($input); - $this->success []= $elem1078; + $elem1085 = null; + $elem1085 = new \metastore\Partition(); + $xfer += $elem1085->read($input); + $this->success []= $elem1085; } $xfer += $input->readListEnd(); } else { @@ -28983,9 +28983,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1079) + foreach ($this->success as $iter1086) { - $xfer += $iter1079->write($output); + $xfer += $iter1086->write($output); } } $output->writeListEnd(); @@ -29205,15 +29205,15 @@ class ThriftHiveMetastore_get_partitions_pspec_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\PartitionSpec(); - $xfer += $elem1085->read($input); - $this->success []= $elem1085; + $elem1092 = null; + $elem1092 = new \metastore\PartitionSpec(); + $xfer += $elem1092->read($input); + $this->success []= $elem1092; } $xfer += $input->readListEnd(); } else { @@ -29257,9 +29257,9 @@ class ThriftHiveMetastore_get_partitions_pspec_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(); @@ -29478,14 +29478,14 @@ class ThriftHiveMetastore_get_partition_names_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; - $xfer += $input->readString($elem1092); - $this->success []= $elem1092; + $elem1099 = null; + $xfer += $input->readString($elem1099); + $this->success []= $elem1099; } $xfer += $input->readListEnd(); } else { @@ -29529,9 +29529,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1093) + foreach ($this->success as $iter1100) { - $xfer += $output->writeString($iter1093); + $xfer += $output->writeString($iter1100); } } $output->writeListEnd(); @@ -29862,14 +29862,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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->part_vals []= $elem1099; + $elem1106 = null; + $xfer += $input->readString($elem1106); + $this->part_vals []= $elem1106; } $xfer += $input->readListEnd(); } else { @@ -29914,9 +29914,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1100) + foreach ($this->part_vals as $iter1107) { - $xfer += $output->writeString($iter1100); + $xfer += $output->writeString($iter1107); } } $output->writeListEnd(); @@ -30010,15 +30010,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1101 = 0; - $_etype1104 = 0; - $xfer += $input->readListBegin($_etype1104, $_size1101); - for ($_i1105 = 0; $_i1105 < $_size1101; ++$_i1105) + $_size1108 = 0; + $_etype1111 = 0; + $xfer += $input->readListBegin($_etype1111, $_size1108); + for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) { - $elem1106 = null; - $elem1106 = new \metastore\Partition(); - $xfer += $elem1106->read($input); - $this->success []= $elem1106; + $elem1113 = null; + $elem1113 = new \metastore\Partition(); + $xfer += $elem1113->read($input); + $this->success []= $elem1113; } $xfer += $input->readListEnd(); } else { @@ -30062,9 +30062,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1107) + foreach ($this->success as $iter1114) { - $xfer += $iter1107->write($output); + $xfer += $iter1114->write($output); } } $output->writeListEnd(); @@ -30211,14 +30211,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1108 = 0; - $_etype1111 = 0; - $xfer += $input->readListBegin($_etype1111, $_size1108); - for ($_i1112 = 0; $_i1112 < $_size1108; ++$_i1112) + $_size1115 = 0; + $_etype1118 = 0; + $xfer += $input->readListBegin($_etype1118, $_size1115); + for ($_i1119 = 0; $_i1119 < $_size1115; ++$_i1119) { - $elem1113 = null; - $xfer += $input->readString($elem1113); - $this->part_vals []= $elem1113; + $elem1120 = null; + $xfer += $input->readString($elem1120); + $this->part_vals []= $elem1120; } $xfer += $input->readListEnd(); } else { @@ -30242,14 +30242,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1114 = 0; - $_etype1117 = 0; - $xfer += $input->readListBegin($_etype1117, $_size1114); - for ($_i1118 = 0; $_i1118 < $_size1114; ++$_i1118) + $_size1121 = 0; + $_etype1124 = 0; + $xfer += $input->readListBegin($_etype1124, $_size1121); + for ($_i1125 = 0; $_i1125 < $_size1121; ++$_i1125) { - $elem1119 = null; - $xfer += $input->readString($elem1119); - $this->group_names []= $elem1119; + $elem1126 = null; + $xfer += $input->readString($elem1126); + $this->group_names []= $elem1126; } $xfer += $input->readListEnd(); } else { @@ -30287,9 +30287,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1120) + foreach ($this->part_vals as $iter1127) { - $xfer += $output->writeString($iter1120); + $xfer += $output->writeString($iter1127); } } $output->writeListEnd(); @@ -30314,9 +30314,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1121) + foreach ($this->group_names as $iter1128) { - $xfer += $output->writeString($iter1121); + $xfer += $output->writeString($iter1128); } } $output->writeListEnd(); @@ -30405,15 +30405,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1122 = 0; - $_etype1125 = 0; - $xfer += $input->readListBegin($_etype1125, $_size1122); - for ($_i1126 = 0; $_i1126 < $_size1122; ++$_i1126) + $_size1129 = 0; + $_etype1132 = 0; + $xfer += $input->readListBegin($_etype1132, $_size1129); + for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) { - $elem1127 = null; - $elem1127 = new \metastore\Partition(); - $xfer += $elem1127->read($input); - $this->success []= $elem1127; + $elem1134 = null; + $elem1134 = new \metastore\Partition(); + $xfer += $elem1134->read($input); + $this->success []= $elem1134; } $xfer += $input->readListEnd(); } else { @@ -30457,9 +30457,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1128) + foreach ($this->success as $iter1135) { - $xfer += $iter1128->write($output); + $xfer += $iter1135->write($output); } } $output->writeListEnd(); @@ -30580,14 +30580,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1129 = 0; - $_etype1132 = 0; - $xfer += $input->readListBegin($_etype1132, $_size1129); - for ($_i1133 = 0; $_i1133 < $_size1129; ++$_i1133) + $_size1136 = 0; + $_etype1139 = 0; + $xfer += $input->readListBegin($_etype1139, $_size1136); + for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) { - $elem1134 = null; - $xfer += $input->readString($elem1134); - $this->part_vals []= $elem1134; + $elem1141 = null; + $xfer += $input->readString($elem1141); + $this->part_vals []= $elem1141; } $xfer += $input->readListEnd(); } else { @@ -30632,9 +30632,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1135) + foreach ($this->part_vals as $iter1142) { - $xfer += $output->writeString($iter1135); + $xfer += $output->writeString($iter1142); } } $output->writeListEnd(); @@ -30727,14 +30727,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1136 = 0; - $_etype1139 = 0; - $xfer += $input->readListBegin($_etype1139, $_size1136); - for ($_i1140 = 0; $_i1140 < $_size1136; ++$_i1140) + $_size1143 = 0; + $_etype1146 = 0; + $xfer += $input->readListBegin($_etype1146, $_size1143); + for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) { - $elem1141 = null; - $xfer += $input->readString($elem1141); - $this->success []= $elem1141; + $elem1148 = null; + $xfer += $input->readString($elem1148); + $this->success []= $elem1148; } $xfer += $input->readListEnd(); } else { @@ -30778,9 +30778,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1142) + foreach ($this->success as $iter1149) { - $xfer += $output->writeString($iter1142); + $xfer += $output->writeString($iter1149); } } $output->writeListEnd(); @@ -31023,15 +31023,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1143 = 0; - $_etype1146 = 0; - $xfer += $input->readListBegin($_etype1146, $_size1143); - for ($_i1147 = 0; $_i1147 < $_size1143; ++$_i1147) + $_size1150 = 0; + $_etype1153 = 0; + $xfer += $input->readListBegin($_etype1153, $_size1150); + for ($_i1154 = 0; $_i1154 < $_size1150; ++$_i1154) { - $elem1148 = null; - $elem1148 = new \metastore\Partition(); - $xfer += $elem1148->read($input); - $this->success []= $elem1148; + $elem1155 = null; + $elem1155 = new \metastore\Partition(); + $xfer += $elem1155->read($input); + $this->success []= $elem1155; } $xfer += $input->readListEnd(); } else { @@ -31075,9 +31075,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1149) + foreach ($this->success as $iter1156) { - $xfer += $iter1149->write($output); + $xfer += $iter1156->write($output); } } $output->writeListEnd(); @@ -31320,15 +31320,15 @@ class ThriftHiveMetastore_get_part_specs_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\PartitionSpec(); - $xfer += $elem1155->read($input); - $this->success []= $elem1155; + $elem1162 = null; + $elem1162 = new \metastore\PartitionSpec(); + $xfer += $elem1162->read($input); + $this->success []= $elem1162; } $xfer += $input->readListEnd(); } else { @@ -31372,9 +31372,9 @@ class ThriftHiveMetastore_get_part_specs_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(); @@ -31940,14 +31940,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1157 = 0; - $_etype1160 = 0; - $xfer += $input->readListBegin($_etype1160, $_size1157); - for ($_i1161 = 0; $_i1161 < $_size1157; ++$_i1161) + $_size1164 = 0; + $_etype1167 = 0; + $xfer += $input->readListBegin($_etype1167, $_size1164); + for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) { - $elem1162 = null; - $xfer += $input->readString($elem1162); - $this->names []= $elem1162; + $elem1169 = null; + $xfer += $input->readString($elem1169); + $this->names []= $elem1169; } $xfer += $input->readListEnd(); } else { @@ -31985,9 +31985,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1163) + foreach ($this->names as $iter1170) { - $xfer += $output->writeString($iter1163); + $xfer += $output->writeString($iter1170); } } $output->writeListEnd(); @@ -32076,15 +32076,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1164 = 0; - $_etype1167 = 0; - $xfer += $input->readListBegin($_etype1167, $_size1164); - for ($_i1168 = 0; $_i1168 < $_size1164; ++$_i1168) + $_size1171 = 0; + $_etype1174 = 0; + $xfer += $input->readListBegin($_etype1174, $_size1171); + for ($_i1175 = 0; $_i1175 < $_size1171; ++$_i1175) { - $elem1169 = null; - $elem1169 = new \metastore\Partition(); - $xfer += $elem1169->read($input); - $this->success []= $elem1169; + $elem1176 = null; + $elem1176 = new \metastore\Partition(); + $xfer += $elem1176->read($input); + $this->success []= $elem1176; } $xfer += $input->readListEnd(); } else { @@ -32128,9 +32128,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1170) + foreach ($this->success as $iter1177) { - $xfer += $iter1170->write($output); + $xfer += $iter1177->write($output); } } $output->writeListEnd(); @@ -32469,15 +32469,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = 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->new_parts []= $elem1176; + $elem1183 = null; + $elem1183 = new \metastore\Partition(); + $xfer += $elem1183->read($input); + $this->new_parts []= $elem1183; } $xfer += $input->readListEnd(); } else { @@ -32515,9 +32515,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1177) + foreach ($this->new_parts as $iter1184) { - $xfer += $iter1177->write($output); + $xfer += $iter1184->write($output); } } $output->writeListEnd(); @@ -32732,15 +32732,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_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 { @@ -32786,9 +32786,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_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(); @@ -33266,14 +33266,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = 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; - $xfer += $input->readString($elem1190); - $this->part_vals []= $elem1190; + $elem1197 = null; + $xfer += $input->readString($elem1197); + $this->part_vals []= $elem1197; } $xfer += $input->readListEnd(); } else { @@ -33319,9 +33319,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1191) + foreach ($this->part_vals as $iter1198) { - $xfer += $output->writeString($iter1191); + $xfer += $output->writeString($iter1198); } } $output->writeListEnd(); @@ -33506,14 +33506,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: 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 { @@ -33548,9 +33548,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_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(); @@ -34004,14 +34004,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = 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->success []= $elem1204; + $elem1211 = null; + $xfer += $input->readString($elem1211); + $this->success []= $elem1211; } $xfer += $input->readListEnd(); } else { @@ -34047,9 +34047,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1205) + foreach ($this->success as $iter1212) { - $xfer += $output->writeString($iter1205); + $xfer += $output->writeString($iter1212); } } $output->writeListEnd(); @@ -34209,17 +34209,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1206 = 0; - $_ktype1207 = 0; - $_vtype1208 = 0; - $xfer += $input->readMapBegin($_ktype1207, $_vtype1208, $_size1206); - for ($_i1210 = 0; $_i1210 < $_size1206; ++$_i1210) + $_size1213 = 0; + $_ktype1214 = 0; + $_vtype1215 = 0; + $xfer += $input->readMapBegin($_ktype1214, $_vtype1215, $_size1213); + for ($_i1217 = 0; $_i1217 < $_size1213; ++$_i1217) { - $key1211 = ''; - $val1212 = ''; - $xfer += $input->readString($key1211); - $xfer += $input->readString($val1212); - $this->success[$key1211] = $val1212; + $key1218 = ''; + $val1219 = ''; + $xfer += $input->readString($key1218); + $xfer += $input->readString($val1219); + $this->success[$key1218] = $val1219; } $xfer += $input->readMapEnd(); } else { @@ -34255,10 +34255,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1213 => $viter1214) + foreach ($this->success as $kiter1220 => $viter1221) { - $xfer += $output->writeString($kiter1213); - $xfer += $output->writeString($viter1214); + $xfer += $output->writeString($kiter1220); + $xfer += $output->writeString($viter1221); } } $output->writeMapEnd(); @@ -34378,17 +34378,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1215 = 0; - $_ktype1216 = 0; - $_vtype1217 = 0; - $xfer += $input->readMapBegin($_ktype1216, $_vtype1217, $_size1215); - for ($_i1219 = 0; $_i1219 < $_size1215; ++$_i1219) + $_size1222 = 0; + $_ktype1223 = 0; + $_vtype1224 = 0; + $xfer += $input->readMapBegin($_ktype1223, $_vtype1224, $_size1222); + for ($_i1226 = 0; $_i1226 < $_size1222; ++$_i1226) { - $key1220 = ''; - $val1221 = ''; - $xfer += $input->readString($key1220); - $xfer += $input->readString($val1221); - $this->part_vals[$key1220] = $val1221; + $key1227 = ''; + $val1228 = ''; + $xfer += $input->readString($key1227); + $xfer += $input->readString($val1228); + $this->part_vals[$key1227] = $val1228; } $xfer += $input->readMapEnd(); } else { @@ -34433,10 +34433,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1222 => $viter1223) + foreach ($this->part_vals as $kiter1229 => $viter1230) { - $xfer += $output->writeString($kiter1222); - $xfer += $output->writeString($viter1223); + $xfer += $output->writeString($kiter1229); + $xfer += $output->writeString($viter1230); } } $output->writeMapEnd(); @@ -34758,17 +34758,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1224 = 0; - $_ktype1225 = 0; - $_vtype1226 = 0; - $xfer += $input->readMapBegin($_ktype1225, $_vtype1226, $_size1224); - for ($_i1228 = 0; $_i1228 < $_size1224; ++$_i1228) + $_size1231 = 0; + $_ktype1232 = 0; + $_vtype1233 = 0; + $xfer += $input->readMapBegin($_ktype1232, $_vtype1233, $_size1231); + for ($_i1235 = 0; $_i1235 < $_size1231; ++$_i1235) { - $key1229 = ''; - $val1230 = ''; - $xfer += $input->readString($key1229); - $xfer += $input->readString($val1230); - $this->part_vals[$key1229] = $val1230; + $key1236 = ''; + $val1237 = ''; + $xfer += $input->readString($key1236); + $xfer += $input->readString($val1237); + $this->part_vals[$key1236] = $val1237; } $xfer += $input->readMapEnd(); } else { @@ -34813,10 +34813,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1231 => $viter1232) + foreach ($this->part_vals as $kiter1238 => $viter1239) { - $xfer += $output->writeString($kiter1231); - $xfer += $output->writeString($viter1232); + $xfer += $output->writeString($kiter1238); + $xfer += $output->writeString($viter1239); } } $output->writeMapEnd(); @@ -39775,14 +39775,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1233 = 0; - $_etype1236 = 0; - $xfer += $input->readListBegin($_etype1236, $_size1233); - for ($_i1237 = 0; $_i1237 < $_size1233; ++$_i1237) + $_size1240 = 0; + $_etype1243 = 0; + $xfer += $input->readListBegin($_etype1243, $_size1240); + for ($_i1244 = 0; $_i1244 < $_size1240; ++$_i1244) { - $elem1238 = null; - $xfer += $input->readString($elem1238); - $this->success []= $elem1238; + $elem1245 = null; + $xfer += $input->readString($elem1245); + $this->success []= $elem1245; } $xfer += $input->readListEnd(); } else { @@ -39818,9 +39818,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1239) + foreach ($this->success as $iter1246) { - $xfer += $output->writeString($iter1239); + $xfer += $output->writeString($iter1246); } } $output->writeListEnd(); @@ -40689,14 +40689,14 @@ class ThriftHiveMetastore_get_role_names_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 { @@ -40732,9 +40732,9 @@ class ThriftHiveMetastore_get_role_names_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(); @@ -41425,15 +41425,15 @@ class ThriftHiveMetastore_list_roles_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; - $elem1252 = new \metastore\Role(); - $xfer += $elem1252->read($input); - $this->success []= $elem1252; + $elem1259 = null; + $elem1259 = new \metastore\Role(); + $xfer += $elem1259->read($input); + $this->success []= $elem1259; } $xfer += $input->readListEnd(); } else { @@ -41469,9 +41469,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1253) + foreach ($this->success as $iter1260) { - $xfer += $iter1253->write($output); + $xfer += $iter1260->write($output); } } $output->writeListEnd(); @@ -42133,14 +42133,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1254 = 0; - $_etype1257 = 0; - $xfer += $input->readListBegin($_etype1257, $_size1254); - for ($_i1258 = 0; $_i1258 < $_size1254; ++$_i1258) + $_size1261 = 0; + $_etype1264 = 0; + $xfer += $input->readListBegin($_etype1264, $_size1261); + for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) { - $elem1259 = null; - $xfer += $input->readString($elem1259); - $this->group_names []= $elem1259; + $elem1266 = null; + $xfer += $input->readString($elem1266); + $this->group_names []= $elem1266; } $xfer += $input->readListEnd(); } else { @@ -42181,9 +42181,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1260) + foreach ($this->group_names as $iter1267) { - $xfer += $output->writeString($iter1260); + $xfer += $output->writeString($iter1267); } } $output->writeListEnd(); @@ -42491,15 +42491,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1261 = 0; - $_etype1264 = 0; - $xfer += $input->readListBegin($_etype1264, $_size1261); - for ($_i1265 = 0; $_i1265 < $_size1261; ++$_i1265) + $_size1268 = 0; + $_etype1271 = 0; + $xfer += $input->readListBegin($_etype1271, $_size1268); + for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) { - $elem1266 = null; - $elem1266 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1266->read($input); - $this->success []= $elem1266; + $elem1273 = null; + $elem1273 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1273->read($input); + $this->success []= $elem1273; } $xfer += $input->readListEnd(); } else { @@ -42535,9 +42535,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1267) + foreach ($this->success as $iter1274) { - $xfer += $iter1267->write($output); + $xfer += $iter1274->write($output); } } $output->writeListEnd(); @@ -43169,14 +43169,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1268 = 0; - $_etype1271 = 0; - $xfer += $input->readListBegin($_etype1271, $_size1268); - for ($_i1272 = 0; $_i1272 < $_size1268; ++$_i1272) + $_size1275 = 0; + $_etype1278 = 0; + $xfer += $input->readListBegin($_etype1278, $_size1275); + for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) { - $elem1273 = null; - $xfer += $input->readString($elem1273); - $this->group_names []= $elem1273; + $elem1280 = null; + $xfer += $input->readString($elem1280); + $this->group_names []= $elem1280; } $xfer += $input->readListEnd(); } else { @@ -43209,9 +43209,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1274) + foreach ($this->group_names as $iter1281) { - $xfer += $output->writeString($iter1274); + $xfer += $output->writeString($iter1281); } } $output->writeListEnd(); @@ -43287,14 +43287,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1275 = 0; - $_etype1278 = 0; - $xfer += $input->readListBegin($_etype1278, $_size1275); - for ($_i1279 = 0; $_i1279 < $_size1275; ++$_i1279) + $_size1282 = 0; + $_etype1285 = 0; + $xfer += $input->readListBegin($_etype1285, $_size1282); + for ($_i1286 = 0; $_i1286 < $_size1282; ++$_i1286) { - $elem1280 = null; - $xfer += $input->readString($elem1280); - $this->success []= $elem1280; + $elem1287 = null; + $xfer += $input->readString($elem1287); + $this->success []= $elem1287; } $xfer += $input->readListEnd(); } else { @@ -43330,9 +43330,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1281) + foreach ($this->success as $iter1288) { - $xfer += $output->writeString($iter1281); + $xfer += $output->writeString($iter1288); } } $output->writeListEnd(); @@ -44449,14 +44449,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_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 { @@ -44484,9 +44484,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_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(); @@ -45125,14 +45125,14 @@ class ThriftHiveMetastore_get_master_keys_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 { @@ -45160,9 +45160,9 @@ class ThriftHiveMetastore_get_master_keys_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(); @@ -55701,15 +55701,15 @@ class ThriftHiveMetastore_get_schema_all_versions_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; - $elem1301 = new \metastore\SchemaVersion(); - $xfer += $elem1301->read($input); - $this->success []= $elem1301; + $elem1308 = null; + $elem1308 = new \metastore\SchemaVersion(); + $xfer += $elem1308->read($input); + $this->success []= $elem1308; } $xfer += $input->readListEnd(); } else { @@ -55753,9 +55753,9 @@ class ThriftHiveMetastore_get_schema_all_versions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1302) + foreach ($this->success as $iter1309) { - $xfer += $iter1302->write($output); + $xfer += $iter1309->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 32c8cb7bc5..3cc06e877e 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -14771,6 +14771,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)) { @@ -14791,6 +14799,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)) { @@ -14806,6 +14826,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']; + } } } @@ -14856,6 +14882,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(); + $_size495 = 0; + $_etype498 = 0; + $xfer += $input->readListBegin($_etype498, $_size495); + for ($_i499 = 0; $_i499 < $_size495; ++$_i499) + { + $elem500 = null; + $xfer += $input->readI64($elem500); + $this->replSrcTxnIds []= $elem500; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -14889,6 +14939,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 $iter501) + { + $xfer += $output->writeI64($iter501); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -14946,14 +15018,14 @@ class OpenTxnsResponse { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size495 = 0; - $_etype498 = 0; - $xfer += $input->readListBegin($_etype498, $_size495); - for ($_i499 = 0; $_i499 < $_size495; ++$_i499) + $_size502 = 0; + $_etype505 = 0; + $xfer += $input->readListBegin($_etype505, $_size502); + for ($_i506 = 0; $_i506 < $_size502; ++$_i506) { - $elem500 = null; - $xfer += $input->readI64($elem500); - $this->txn_ids []= $elem500; + $elem507 = null; + $xfer += $input->readI64($elem507); + $this->txn_ids []= $elem507; } $xfer += $input->readListEnd(); } else { @@ -14981,9 +15053,9 @@ class OpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter501) + foreach ($this->txn_ids as $iter508) { - $xfer += $output->writeI64($iter501); + $xfer += $output->writeI64($iter508); } } $output->writeListEnd(); @@ -15004,6 +15076,10 @@ class AbortTxnRequest { * @var int */ public $txnid = null; + /** + * @var string + */ + public $replPolicy = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -15012,12 +15088,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']; + } } } @@ -15047,6 +15130,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; @@ -15065,6 +15155,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; @@ -15122,14 +15217,14 @@ class AbortTxnsRequest { 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 { @@ -15157,9 +15252,9 @@ class AbortTxnsRequest { { $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(); @@ -15180,6 +15275,10 @@ class CommitTxnRequest { * @var int */ public $txnid = null; + /** + * @var string + */ + public $replPolicy = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -15188,12 +15287,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']; + } } } @@ -15223,6 +15329,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; @@ -15241,6 +15354,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; @@ -15309,14 +15427,14 @@ class GetValidWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->fullTableNames = 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->readString($elem514); - $this->fullTableNames []= $elem514; + $elem521 = null; + $xfer += $input->readString($elem521); + $this->fullTableNames []= $elem521; } $xfer += $input->readListEnd(); } else { @@ -15351,9 +15469,9 @@ class GetValidWriteIdsRequest { { $output->writeListBegin(TType::STRING, count($this->fullTableNames)); { - foreach ($this->fullTableNames as $iter515) + foreach ($this->fullTableNames as $iter522) { - $xfer += $output->writeString($iter515); + $xfer += $output->writeString($iter522); } } $output->writeListEnd(); @@ -15480,14 +15598,14 @@ class TableValidWriteIds { case 3: if ($ftype == TType::LST) { $this->invalidWriteIds = 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->readI64($elem521); - $this->invalidWriteIds []= $elem521; + $elem528 = null; + $xfer += $input->readI64($elem528); + $this->invalidWriteIds []= $elem528; } $xfer += $input->readListEnd(); } else { @@ -15539,9 +15657,9 @@ class TableValidWriteIds { { $output->writeListBegin(TType::I64, count($this->invalidWriteIds)); { - foreach ($this->invalidWriteIds as $iter522) + foreach ($this->invalidWriteIds as $iter529) { - $xfer += $output->writeI64($iter522); + $xfer += $output->writeI64($iter529); } } $output->writeListEnd(); @@ -15616,15 +15734,15 @@ class GetValidWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->tblValidWriteIds = 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; - $elem528 = new \metastore\TableValidWriteIds(); - $xfer += $elem528->read($input); - $this->tblValidWriteIds []= $elem528; + $elem535 = null; + $elem535 = new \metastore\TableValidWriteIds(); + $xfer += $elem535->read($input); + $this->tblValidWriteIds []= $elem535; } $xfer += $input->readListEnd(); } else { @@ -15652,9 +15770,9 @@ class GetValidWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->tblValidWriteIds)); { - foreach ($this->tblValidWriteIds as $iter529) + foreach ($this->tblValidWriteIds as $iter536) { - $xfer += $iter529->write($output); + $xfer += $iter536->write($output); } } $output->writeListEnd(); @@ -15740,14 +15858,14 @@ class AllocateTableWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->txnIds = array(); - $_size530 = 0; - $_etype533 = 0; - $xfer += $input->readListBegin($_etype533, $_size530); - for ($_i534 = 0; $_i534 < $_size530; ++$_i534) + $_size537 = 0; + $_etype540 = 0; + $xfer += $input->readListBegin($_etype540, $_size537); + for ($_i541 = 0; $_i541 < $_size537; ++$_i541) { - $elem535 = null; - $xfer += $input->readI64($elem535); - $this->txnIds []= $elem535; + $elem542 = null; + $xfer += $input->readI64($elem542); + $this->txnIds []= $elem542; } $xfer += $input->readListEnd(); } else { @@ -15789,9 +15907,9 @@ class AllocateTableWriteIdsRequest { { $output->writeListBegin(TType::I64, count($this->txnIds)); { - foreach ($this->txnIds as $iter536) + foreach ($this->txnIds as $iter543) { - $xfer += $output->writeI64($iter536); + $xfer += $output->writeI64($iter543); } } $output->writeListEnd(); @@ -15964,15 +16082,15 @@ class AllocateTableWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->txnToWriteIds = array(); - $_size537 = 0; - $_etype540 = 0; - $xfer += $input->readListBegin($_etype540, $_size537); - for ($_i541 = 0; $_i541 < $_size537; ++$_i541) + $_size544 = 0; + $_etype547 = 0; + $xfer += $input->readListBegin($_etype547, $_size544); + for ($_i548 = 0; $_i548 < $_size544; ++$_i548) { - $elem542 = null; - $elem542 = new \metastore\TxnToWriteId(); - $xfer += $elem542->read($input); - $this->txnToWriteIds []= $elem542; + $elem549 = null; + $elem549 = new \metastore\TxnToWriteId(); + $xfer += $elem549->read($input); + $this->txnToWriteIds []= $elem549; } $xfer += $input->readListEnd(); } else { @@ -16000,9 +16118,9 @@ class AllocateTableWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->txnToWriteIds)); { - foreach ($this->txnToWriteIds as $iter543) + foreach ($this->txnToWriteIds as $iter550) { - $xfer += $iter543->write($output); + $xfer += $iter550->write($output); } } $output->writeListEnd(); @@ -16347,15 +16465,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = 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\LockComponent(); - $xfer += $elem549->read($input); - $this->component []= $elem549; + $elem556 = null; + $elem556 = new \metastore\LockComponent(); + $xfer += $elem556->read($input); + $this->component []= $elem556; } $xfer += $input->readListEnd(); } else { @@ -16411,9 +16529,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter550) + foreach ($this->component as $iter557) { - $xfer += $iter550->write($output); + $xfer += $iter557->write($output); } } $output->writeListEnd(); @@ -17356,15 +17474,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = 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\ShowLocksResponseElement(); - $xfer += $elem556->read($input); - $this->locks []= $elem556; + $elem563 = null; + $elem563 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem563->read($input); + $this->locks []= $elem563; } $xfer += $input->readListEnd(); } else { @@ -17392,9 +17510,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter557) + foreach ($this->locks as $iter564) { - $xfer += $iter557->write($output); + $xfer += $iter564->write($output); } } $output->writeListEnd(); @@ -17669,17 +17787,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size558 = 0; - $_etype561 = 0; - $xfer += $input->readSetBegin($_etype561, $_size558); - for ($_i562 = 0; $_i562 < $_size558; ++$_i562) + $_size565 = 0; + $_etype568 = 0; + $xfer += $input->readSetBegin($_etype568, $_size565); + for ($_i569 = 0; $_i569 < $_size565; ++$_i569) { - $elem563 = null; - $xfer += $input->readI64($elem563); - if (is_scalar($elem563)) { - $this->aborted[$elem563] = true; + $elem570 = null; + $xfer += $input->readI64($elem570); + if (is_scalar($elem570)) { + $this->aborted[$elem570] = true; } else { - $this->aborted []= $elem563; + $this->aborted []= $elem570; } } $xfer += $input->readSetEnd(); @@ -17690,17 +17808,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size564 = 0; - $_etype567 = 0; - $xfer += $input->readSetBegin($_etype567, $_size564); - for ($_i568 = 0; $_i568 < $_size564; ++$_i568) + $_size571 = 0; + $_etype574 = 0; + $xfer += $input->readSetBegin($_etype574, $_size571); + for ($_i575 = 0; $_i575 < $_size571; ++$_i575) { - $elem569 = null; - $xfer += $input->readI64($elem569); - if (is_scalar($elem569)) { - $this->nosuch[$elem569] = true; + $elem576 = null; + $xfer += $input->readI64($elem576); + if (is_scalar($elem576)) { + $this->nosuch[$elem576] = true; } else { - $this->nosuch []= $elem569; + $this->nosuch []= $elem576; } } $xfer += $input->readSetEnd(); @@ -17729,12 +17847,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter570 => $iter571) + foreach ($this->aborted as $iter577 => $iter578) { - if (is_scalar($iter571)) { - $xfer += $output->writeI64($iter570); + if (is_scalar($iter578)) { + $xfer += $output->writeI64($iter577); } else { - $xfer += $output->writeI64($iter571); + $xfer += $output->writeI64($iter578); } } } @@ -17750,12 +17868,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter572 => $iter573) + foreach ($this->nosuch as $iter579 => $iter580) { - if (is_scalar($iter573)) { - $xfer += $output->writeI64($iter572); + if (is_scalar($iter580)) { + $xfer += $output->writeI64($iter579); } else { - $xfer += $output->writeI64($iter573); + $xfer += $output->writeI64($iter580); } } } @@ -17914,17 +18032,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size574 = 0; - $_ktype575 = 0; - $_vtype576 = 0; - $xfer += $input->readMapBegin($_ktype575, $_vtype576, $_size574); - for ($_i578 = 0; $_i578 < $_size574; ++$_i578) + $_size581 = 0; + $_ktype582 = 0; + $_vtype583 = 0; + $xfer += $input->readMapBegin($_ktype582, $_vtype583, $_size581); + for ($_i585 = 0; $_i585 < $_size581; ++$_i585) { - $key579 = ''; - $val580 = ''; - $xfer += $input->readString($key579); - $xfer += $input->readString($val580); - $this->properties[$key579] = $val580; + $key586 = ''; + $val587 = ''; + $xfer += $input->readString($key586); + $xfer += $input->readString($val587); + $this->properties[$key586] = $val587; } $xfer += $input->readMapEnd(); } else { @@ -17977,10 +18095,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter581 => $viter582) + foreach ($this->properties as $kiter588 => $viter589) { - $xfer += $output->writeString($kiter581); - $xfer += $output->writeString($viter582); + $xfer += $output->writeString($kiter588); + $xfer += $output->writeString($viter589); } } $output->writeMapEnd(); @@ -18567,15 +18685,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size583 = 0; - $_etype586 = 0; - $xfer += $input->readListBegin($_etype586, $_size583); - for ($_i587 = 0; $_i587 < $_size583; ++$_i587) + $_size590 = 0; + $_etype593 = 0; + $xfer += $input->readListBegin($_etype593, $_size590); + for ($_i594 = 0; $_i594 < $_size590; ++$_i594) { - $elem588 = null; - $elem588 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem588->read($input); - $this->compacts []= $elem588; + $elem595 = null; + $elem595 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem595->read($input); + $this->compacts []= $elem595; } $xfer += $input->readListEnd(); } else { @@ -18603,9 +18721,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter589) + foreach ($this->compacts as $iter596) { - $xfer += $iter589->write($output); + $xfer += $iter596->write($output); } } $output->writeListEnd(); @@ -18752,14 +18870,14 @@ class AddDynamicPartitions { case 5: if ($ftype == TType::LST) { $this->partitionnames = 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; - $xfer += $input->readString($elem595); - $this->partitionnames []= $elem595; + $elem602 = null; + $xfer += $input->readString($elem602); + $this->partitionnames []= $elem602; } $xfer += $input->readListEnd(); } else { @@ -18814,9 +18932,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter596) + foreach ($this->partitionnames as $iter603) { - $xfer += $output->writeString($iter596); + $xfer += $output->writeString($iter603); } } $output->writeListEnd(); @@ -19122,17 +19240,17 @@ class CreationMetadata { case 3: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size597 = 0; - $_etype600 = 0; - $xfer += $input->readSetBegin($_etype600, $_size597); - for ($_i601 = 0; $_i601 < $_size597; ++$_i601) + $_size604 = 0; + $_etype607 = 0; + $xfer += $input->readSetBegin($_etype607, $_size604); + for ($_i608 = 0; $_i608 < $_size604; ++$_i608) { - $elem602 = null; - $xfer += $input->readString($elem602); - if (is_scalar($elem602)) { - $this->tablesUsed[$elem602] = true; + $elem609 = null; + $xfer += $input->readString($elem609); + if (is_scalar($elem609)) { + $this->tablesUsed[$elem609] = true; } else { - $this->tablesUsed []= $elem602; + $this->tablesUsed []= $elem609; } } $xfer += $input->readSetEnd(); @@ -19178,12 +19296,12 @@ class CreationMetadata { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter603 => $iter604) + foreach ($this->tablesUsed as $iter610 => $iter611) { - if (is_scalar($iter604)) { - $xfer += $output->writeString($iter603); + if (is_scalar($iter611)) { + $xfer += $output->writeString($iter610); } else { - $xfer += $output->writeString($iter604); + $xfer += $output->writeString($iter611); } } } @@ -19565,15 +19683,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size605 = 0; - $_etype608 = 0; - $xfer += $input->readListBegin($_etype608, $_size605); - for ($_i609 = 0; $_i609 < $_size605; ++$_i609) + $_size612 = 0; + $_etype615 = 0; + $xfer += $input->readListBegin($_etype615, $_size612); + for ($_i616 = 0; $_i616 < $_size612; ++$_i616) { - $elem610 = null; - $elem610 = new \metastore\NotificationEvent(); - $xfer += $elem610->read($input); - $this->events []= $elem610; + $elem617 = null; + $elem617 = new \metastore\NotificationEvent(); + $xfer += $elem617->read($input); + $this->events []= $elem617; } $xfer += $input->readListEnd(); } else { @@ -19601,9 +19719,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter611) + foreach ($this->events as $iter618) { - $xfer += $iter611->write($output); + $xfer += $iter618->write($output); } } $output->writeListEnd(); @@ -19948,14 +20066,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = 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; - $xfer += $input->readString($elem617); - $this->filesAdded []= $elem617; + $elem624 = null; + $xfer += $input->readString($elem624); + $this->filesAdded []= $elem624; } $xfer += $input->readListEnd(); } else { @@ -19965,14 +20083,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size618 = 0; - $_etype621 = 0; - $xfer += $input->readListBegin($_etype621, $_size618); - for ($_i622 = 0; $_i622 < $_size618; ++$_i622) + $_size625 = 0; + $_etype628 = 0; + $xfer += $input->readListBegin($_etype628, $_size625); + for ($_i629 = 0; $_i629 < $_size625; ++$_i629) { - $elem623 = null; - $xfer += $input->readString($elem623); - $this->filesAddedChecksum []= $elem623; + $elem630 = null; + $xfer += $input->readString($elem630); + $this->filesAddedChecksum []= $elem630; } $xfer += $input->readListEnd(); } else { @@ -20005,9 +20123,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter624) + foreach ($this->filesAdded as $iter631) { - $xfer += $output->writeString($iter624); + $xfer += $output->writeString($iter631); } } $output->writeListEnd(); @@ -20022,9 +20140,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter625) + foreach ($this->filesAddedChecksum as $iter632) { - $xfer += $output->writeString($iter625); + $xfer += $output->writeString($iter632); } } $output->writeListEnd(); @@ -20242,14 +20360,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size626 = 0; - $_etype629 = 0; - $xfer += $input->readListBegin($_etype629, $_size626); - for ($_i630 = 0; $_i630 < $_size626; ++$_i630) + $_size633 = 0; + $_etype636 = 0; + $xfer += $input->readListBegin($_etype636, $_size633); + for ($_i637 = 0; $_i637 < $_size633; ++$_i637) { - $elem631 = null; - $xfer += $input->readString($elem631); - $this->partitionVals []= $elem631; + $elem638 = null; + $xfer += $input->readString($elem638); + $this->partitionVals []= $elem638; } $xfer += $input->readListEnd(); } else { @@ -20300,9 +20418,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter632) + foreach ($this->partitionVals as $iter639) { - $xfer += $output->writeString($iter632); + $xfer += $output->writeString($iter639); } } $output->writeListEnd(); @@ -20530,18 +20648,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size633 = 0; - $_ktype634 = 0; - $_vtype635 = 0; - $xfer += $input->readMapBegin($_ktype634, $_vtype635, $_size633); - for ($_i637 = 0; $_i637 < $_size633; ++$_i637) + $_size640 = 0; + $_ktype641 = 0; + $_vtype642 = 0; + $xfer += $input->readMapBegin($_ktype641, $_vtype642, $_size640); + for ($_i644 = 0; $_i644 < $_size640; ++$_i644) { - $key638 = 0; - $val639 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key638); - $val639 = new \metastore\MetadataPpdResult(); - $xfer += $val639->read($input); - $this->metadata[$key638] = $val639; + $key645 = 0; + $val646 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key645); + $val646 = new \metastore\MetadataPpdResult(); + $xfer += $val646->read($input); + $this->metadata[$key645] = $val646; } $xfer += $input->readMapEnd(); } else { @@ -20576,10 +20694,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter640 => $viter641) + foreach ($this->metadata as $kiter647 => $viter648) { - $xfer += $output->writeI64($kiter640); - $xfer += $viter641->write($output); + $xfer += $output->writeI64($kiter647); + $xfer += $viter648->write($output); } } $output->writeMapEnd(); @@ -20681,14 +20799,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size642 = 0; - $_etype645 = 0; - $xfer += $input->readListBegin($_etype645, $_size642); - for ($_i646 = 0; $_i646 < $_size642; ++$_i646) + $_size649 = 0; + $_etype652 = 0; + $xfer += $input->readListBegin($_etype652, $_size649); + for ($_i653 = 0; $_i653 < $_size649; ++$_i653) { - $elem647 = null; - $xfer += $input->readI64($elem647); - $this->fileIds []= $elem647; + $elem654 = null; + $xfer += $input->readI64($elem654); + $this->fileIds []= $elem654; } $xfer += $input->readListEnd(); } else { @@ -20737,9 +20855,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter648) + foreach ($this->fileIds as $iter655) { - $xfer += $output->writeI64($iter648); + $xfer += $output->writeI64($iter655); } } $output->writeListEnd(); @@ -20833,17 +20951,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size649 = 0; - $_ktype650 = 0; - $_vtype651 = 0; - $xfer += $input->readMapBegin($_ktype650, $_vtype651, $_size649); - for ($_i653 = 0; $_i653 < $_size649; ++$_i653) + $_size656 = 0; + $_ktype657 = 0; + $_vtype658 = 0; + $xfer += $input->readMapBegin($_ktype657, $_vtype658, $_size656); + for ($_i660 = 0; $_i660 < $_size656; ++$_i660) { - $key654 = 0; - $val655 = ''; - $xfer += $input->readI64($key654); - $xfer += $input->readString($val655); - $this->metadata[$key654] = $val655; + $key661 = 0; + $val662 = ''; + $xfer += $input->readI64($key661); + $xfer += $input->readString($val662); + $this->metadata[$key661] = $val662; } $xfer += $input->readMapEnd(); } else { @@ -20878,10 +20996,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter656 => $viter657) + foreach ($this->metadata as $kiter663 => $viter664) { - $xfer += $output->writeI64($kiter656); - $xfer += $output->writeString($viter657); + $xfer += $output->writeI64($kiter663); + $xfer += $output->writeString($viter664); } } $output->writeMapEnd(); @@ -20950,14 +21068,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size658 = 0; - $_etype661 = 0; - $xfer += $input->readListBegin($_etype661, $_size658); - for ($_i662 = 0; $_i662 < $_size658; ++$_i662) + $_size665 = 0; + $_etype668 = 0; + $xfer += $input->readListBegin($_etype668, $_size665); + for ($_i669 = 0; $_i669 < $_size665; ++$_i669) { - $elem663 = null; - $xfer += $input->readI64($elem663); - $this->fileIds []= $elem663; + $elem670 = null; + $xfer += $input->readI64($elem670); + $this->fileIds []= $elem670; } $xfer += $input->readListEnd(); } else { @@ -20985,9 +21103,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter664) + foreach ($this->fileIds as $iter671) { - $xfer += $output->writeI64($iter664); + $xfer += $output->writeI64($iter671); } } $output->writeListEnd(); @@ -21127,14 +21245,14 @@ class PutFileMetadataRequest { 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 { @@ -21144,14 +21262,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size671 = 0; - $_etype674 = 0; - $xfer += $input->readListBegin($_etype674, $_size671); - for ($_i675 = 0; $_i675 < $_size671; ++$_i675) + $_size678 = 0; + $_etype681 = 0; + $xfer += $input->readListBegin($_etype681, $_size678); + for ($_i682 = 0; $_i682 < $_size678; ++$_i682) { - $elem676 = null; - $xfer += $input->readString($elem676); - $this->metadata []= $elem676; + $elem683 = null; + $xfer += $input->readString($elem683); + $this->metadata []= $elem683; } $xfer += $input->readListEnd(); } else { @@ -21186,9 +21304,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter677) + foreach ($this->fileIds as $iter684) { - $xfer += $output->writeI64($iter677); + $xfer += $output->writeI64($iter684); } } $output->writeListEnd(); @@ -21203,9 +21321,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter678) + foreach ($this->metadata as $iter685) { - $xfer += $output->writeString($iter678); + $xfer += $output->writeString($iter685); } } $output->writeListEnd(); @@ -21324,14 +21442,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size679 = 0; - $_etype682 = 0; - $xfer += $input->readListBegin($_etype682, $_size679); - for ($_i683 = 0; $_i683 < $_size679; ++$_i683) + $_size686 = 0; + $_etype689 = 0; + $xfer += $input->readListBegin($_etype689, $_size686); + for ($_i690 = 0; $_i690 < $_size686; ++$_i690) { - $elem684 = null; - $xfer += $input->readI64($elem684); - $this->fileIds []= $elem684; + $elem691 = null; + $xfer += $input->readI64($elem691); + $this->fileIds []= $elem691; } $xfer += $input->readListEnd(); } else { @@ -21359,9 +21477,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter685) + foreach ($this->fileIds as $iter692) { - $xfer += $output->writeI64($iter685); + $xfer += $output->writeI64($iter692); } } $output->writeListEnd(); @@ -21645,15 +21763,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = 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; - $elem691 = new \metastore\Function(); - $xfer += $elem691->read($input); - $this->functions []= $elem691; + $elem698 = null; + $elem698 = new \metastore\Function(); + $xfer += $elem698->read($input); + $this->functions []= $elem698; } $xfer += $input->readListEnd(); } else { @@ -21681,9 +21799,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter692) + foreach ($this->functions as $iter699) { - $xfer += $iter692->write($output); + $xfer += $iter699->write($output); } } $output->writeListEnd(); @@ -21747,14 +21865,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size693 = 0; - $_etype696 = 0; - $xfer += $input->readListBegin($_etype696, $_size693); - for ($_i697 = 0; $_i697 < $_size693; ++$_i697) + $_size700 = 0; + $_etype703 = 0; + $xfer += $input->readListBegin($_etype703, $_size700); + for ($_i704 = 0; $_i704 < $_size700; ++$_i704) { - $elem698 = null; - $xfer += $input->readI32($elem698); - $this->values []= $elem698; + $elem705 = null; + $xfer += $input->readI32($elem705); + $this->values []= $elem705; } $xfer += $input->readListEnd(); } else { @@ -21782,9 +21900,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter699) + foreach ($this->values as $iter706) { - $xfer += $output->writeI32($iter699); + $xfer += $output->writeI32($iter706); } } $output->writeListEnd(); @@ -22084,14 +22202,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = 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->readString($elem705); - $this->tblNames []= $elem705; + $elem712 = null; + $xfer += $input->readString($elem712); + $this->tblNames []= $elem712; } $xfer += $input->readListEnd(); } else { @@ -22132,9 +22250,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter706) + foreach ($this->tblNames as $iter713) { - $xfer += $output->writeString($iter706); + $xfer += $output->writeString($iter713); } } $output->writeListEnd(); @@ -22207,15 +22325,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size707 = 0; - $_etype710 = 0; - $xfer += $input->readListBegin($_etype710, $_size707); - for ($_i711 = 0; $_i711 < $_size707; ++$_i711) + $_size714 = 0; + $_etype717 = 0; + $xfer += $input->readListBegin($_etype717, $_size714); + for ($_i718 = 0; $_i718 < $_size714; ++$_i718) { - $elem712 = null; - $elem712 = new \metastore\Table(); - $xfer += $elem712->read($input); - $this->tables []= $elem712; + $elem719 = null; + $elem719 = new \metastore\Table(); + $xfer += $elem719->read($input); + $this->tables []= $elem719; } $xfer += $input->readListEnd(); } else { @@ -22243,9 +22361,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter713) + foreach ($this->tables as $iter720) { - $xfer += $iter713->write($output); + $xfer += $iter720->write($output); } } $output->writeListEnd(); @@ -22623,17 +22741,17 @@ class Materialization { case 1: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size714 = 0; - $_etype717 = 0; - $xfer += $input->readSetBegin($_etype717, $_size714); - for ($_i718 = 0; $_i718 < $_size714; ++$_i718) + $_size721 = 0; + $_etype724 = 0; + $xfer += $input->readSetBegin($_etype724, $_size721); + for ($_i725 = 0; $_i725 < $_size721; ++$_i725) { - $elem719 = null; - $xfer += $input->readString($elem719); - if (is_scalar($elem719)) { - $this->tablesUsed[$elem719] = true; + $elem726 = null; + $xfer += $input->readString($elem726); + if (is_scalar($elem726)) { + $this->tablesUsed[$elem726] = true; } else { - $this->tablesUsed []= $elem719; + $this->tablesUsed []= $elem726; } } $xfer += $input->readSetEnd(); @@ -22676,12 +22794,12 @@ class Materialization { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter720 => $iter721) + foreach ($this->tablesUsed as $iter727 => $iter728) { - if (is_scalar($iter721)) { - $xfer += $output->writeString($iter720); + if (is_scalar($iter728)) { + $xfer += $output->writeString($iter727); } else { - $xfer += $output->writeString($iter721); + $xfer += $output->writeString($iter728); } } } @@ -23948,15 +24066,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size722 = 0; - $_etype725 = 0; - $xfer += $input->readListBegin($_etype725, $_size722); - for ($_i726 = 0; $_i726 < $_size722; ++$_i726) + $_size729 = 0; + $_etype732 = 0; + $xfer += $input->readListBegin($_etype732, $_size729); + for ($_i733 = 0; $_i733 < $_size729; ++$_i733) { - $elem727 = null; - $elem727 = new \metastore\WMPool(); - $xfer += $elem727->read($input); - $this->pools []= $elem727; + $elem734 = null; + $elem734 = new \metastore\WMPool(); + $xfer += $elem734->read($input); + $this->pools []= $elem734; } $xfer += $input->readListEnd(); } else { @@ -23966,15 +24084,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size728 = 0; - $_etype731 = 0; - $xfer += $input->readListBegin($_etype731, $_size728); - for ($_i732 = 0; $_i732 < $_size728; ++$_i732) + $_size735 = 0; + $_etype738 = 0; + $xfer += $input->readListBegin($_etype738, $_size735); + for ($_i739 = 0; $_i739 < $_size735; ++$_i739) { - $elem733 = null; - $elem733 = new \metastore\WMMapping(); - $xfer += $elem733->read($input); - $this->mappings []= $elem733; + $elem740 = null; + $elem740 = new \metastore\WMMapping(); + $xfer += $elem740->read($input); + $this->mappings []= $elem740; } $xfer += $input->readListEnd(); } else { @@ -23984,15 +24102,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size734 = 0; - $_etype737 = 0; - $xfer += $input->readListBegin($_etype737, $_size734); - for ($_i738 = 0; $_i738 < $_size734; ++$_i738) + $_size741 = 0; + $_etype744 = 0; + $xfer += $input->readListBegin($_etype744, $_size741); + for ($_i745 = 0; $_i745 < $_size741; ++$_i745) { - $elem739 = null; - $elem739 = new \metastore\WMTrigger(); - $xfer += $elem739->read($input); - $this->triggers []= $elem739; + $elem746 = null; + $elem746 = new \metastore\WMTrigger(); + $xfer += $elem746->read($input); + $this->triggers []= $elem746; } $xfer += $input->readListEnd(); } else { @@ -24002,15 +24120,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size740 = 0; - $_etype743 = 0; - $xfer += $input->readListBegin($_etype743, $_size740); - for ($_i744 = 0; $_i744 < $_size740; ++$_i744) + $_size747 = 0; + $_etype750 = 0; + $xfer += $input->readListBegin($_etype750, $_size747); + for ($_i751 = 0; $_i751 < $_size747; ++$_i751) { - $elem745 = null; - $elem745 = new \metastore\WMPoolTrigger(); - $xfer += $elem745->read($input); - $this->poolTriggers []= $elem745; + $elem752 = null; + $elem752 = new \metastore\WMPoolTrigger(); + $xfer += $elem752->read($input); + $this->poolTriggers []= $elem752; } $xfer += $input->readListEnd(); } else { @@ -24046,9 +24164,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter746) + foreach ($this->pools as $iter753) { - $xfer += $iter746->write($output); + $xfer += $iter753->write($output); } } $output->writeListEnd(); @@ -24063,9 +24181,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter747) + foreach ($this->mappings as $iter754) { - $xfer += $iter747->write($output); + $xfer += $iter754->write($output); } } $output->writeListEnd(); @@ -24080,9 +24198,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter748) + foreach ($this->triggers as $iter755) { - $xfer += $iter748->write($output); + $xfer += $iter755->write($output); } } $output->writeListEnd(); @@ -24097,9 +24215,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter749) + foreach ($this->poolTriggers as $iter756) { - $xfer += $iter749->write($output); + $xfer += $iter756->write($output); } } $output->writeListEnd(); @@ -24652,15 +24770,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size750 = 0; - $_etype753 = 0; - $xfer += $input->readListBegin($_etype753, $_size750); - for ($_i754 = 0; $_i754 < $_size750; ++$_i754) + $_size757 = 0; + $_etype760 = 0; + $xfer += $input->readListBegin($_etype760, $_size757); + for ($_i761 = 0; $_i761 < $_size757; ++$_i761) { - $elem755 = null; - $elem755 = new \metastore\WMResourcePlan(); - $xfer += $elem755->read($input); - $this->resourcePlans []= $elem755; + $elem762 = null; + $elem762 = new \metastore\WMResourcePlan(); + $xfer += $elem762->read($input); + $this->resourcePlans []= $elem762; } $xfer += $input->readListEnd(); } else { @@ -24688,9 +24806,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter756) + foreach ($this->resourcePlans as $iter763) { - $xfer += $iter756->write($output); + $xfer += $iter763->write($output); } } $output->writeListEnd(); @@ -25096,14 +25214,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = 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; - $xfer += $input->readString($elem762); - $this->errors []= $elem762; + $elem769 = null; + $xfer += $input->readString($elem769); + $this->errors []= $elem769; } $xfer += $input->readListEnd(); } else { @@ -25113,14 +25231,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size763 = 0; - $_etype766 = 0; - $xfer += $input->readListBegin($_etype766, $_size763); - for ($_i767 = 0; $_i767 < $_size763; ++$_i767) + $_size770 = 0; + $_etype773 = 0; + $xfer += $input->readListBegin($_etype773, $_size770); + for ($_i774 = 0; $_i774 < $_size770; ++$_i774) { - $elem768 = null; - $xfer += $input->readString($elem768); - $this->warnings []= $elem768; + $elem775 = null; + $xfer += $input->readString($elem775); + $this->warnings []= $elem775; } $xfer += $input->readListEnd(); } else { @@ -25148,9 +25266,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter769) + foreach ($this->errors as $iter776) { - $xfer += $output->writeString($iter769); + $xfer += $output->writeString($iter776); } } $output->writeListEnd(); @@ -25165,9 +25283,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter770) + foreach ($this->warnings as $iter777) { - $xfer += $output->writeString($iter770); + $xfer += $output->writeString($iter777); } } $output->writeListEnd(); @@ -25840,15 +25958,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size771 = 0; - $_etype774 = 0; - $xfer += $input->readListBegin($_etype774, $_size771); - for ($_i775 = 0; $_i775 < $_size771; ++$_i775) + $_size778 = 0; + $_etype781 = 0; + $xfer += $input->readListBegin($_etype781, $_size778); + for ($_i782 = 0; $_i782 < $_size778; ++$_i782) { - $elem776 = null; - $elem776 = new \metastore\WMTrigger(); - $xfer += $elem776->read($input); - $this->triggers []= $elem776; + $elem783 = null; + $elem783 = new \metastore\WMTrigger(); + $xfer += $elem783->read($input); + $this->triggers []= $elem783; } $xfer += $input->readListEnd(); } else { @@ -25876,9 +25994,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter777) + foreach ($this->triggers as $iter784) { - $xfer += $iter777->write($output); + $xfer += $iter784->write($output); } } $output->writeListEnd(); @@ -27416,15 +27534,15 @@ class SchemaVersion { case 4: if ($ftype == TType::LST) { $this->cols = 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\FieldSchema(); - $xfer += $elem783->read($input); - $this->cols []= $elem783; + $elem790 = null; + $elem790 = new \metastore\FieldSchema(); + $xfer += $elem790->read($input); + $this->cols []= $elem790; } $xfer += $input->readListEnd(); } else { @@ -27513,9 +27631,9 @@ class SchemaVersion { { $output->writeListBegin(TType::STRUCT, count($this->cols)); { - foreach ($this->cols as $iter784) + foreach ($this->cols as $iter791) { - $xfer += $iter784->write($output); + $xfer += $iter791->write($output); } } $output->writeListEnd(); @@ -27837,15 +27955,15 @@ class FindSchemasByColsResp { case 1: if ($ftype == TType::LST) { $this->schemaVersions = 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\SchemaVersionDescriptor(); - $xfer += $elem790->read($input); - $this->schemaVersions []= $elem790; + $elem797 = null; + $elem797 = new \metastore\SchemaVersionDescriptor(); + $xfer += $elem797->read($input); + $this->schemaVersions []= $elem797; } $xfer += $input->readListEnd(); } else { @@ -27873,9 +27991,9 @@ class FindSchemasByColsResp { { $output->writeListBegin(TType::STRUCT, count($this->schemaVersions)); { - foreach ($this->schemaVersions as $iter791) + foreach ($this->schemaVersions as $iter798) { - $xfer += $iter791->write($output); + $xfer += $iter798->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 cf36654b51..9ac0106bcc 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 @@ -14508,10 +14508,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype791, _size788) = iprot.readListBegin() - for _i792 in xrange(_size788): - _elem793 = iprot.readString() - self.success.append(_elem793) + (_etype798, _size795) = iprot.readListBegin() + for _i799 in xrange(_size795): + _elem800 = iprot.readString() + self.success.append(_elem800) iprot.readListEnd() else: iprot.skip(ftype) @@ -14534,8 +14534,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 iter794 in self.success: - oprot.writeString(iter794) + for iter801 in self.success: + oprot.writeString(iter801) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14640,10 +14640,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) @@ -14666,8 +14666,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: @@ -15437,12 +15437,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype803, _vtype804, _size802 ) = iprot.readMapBegin() - for _i806 in xrange(_size802): - _key807 = iprot.readString() - _val808 = Type() - _val808.read(iprot) - self.success[_key807] = _val808 + (_ktype810, _vtype811, _size809 ) = iprot.readMapBegin() + for _i813 in xrange(_size809): + _key814 = iprot.readString() + _val815 = Type() + _val815.read(iprot) + self.success[_key814] = _val815 iprot.readMapEnd() else: iprot.skip(ftype) @@ -15465,9 +15465,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 kiter809,viter810 in self.success.items(): - oprot.writeString(kiter809) - viter810.write(oprot) + for kiter816,viter817 in self.success.items(): + oprot.writeString(kiter816) + viter817.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -15610,11 +15610,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype814, _size811) = iprot.readListBegin() - for _i815 in xrange(_size811): - _elem816 = FieldSchema() - _elem816.read(iprot) - self.success.append(_elem816) + (_etype821, _size818) = iprot.readListBegin() + for _i822 in xrange(_size818): + _elem823 = FieldSchema() + _elem823.read(iprot) + self.success.append(_elem823) iprot.readListEnd() else: iprot.skip(ftype) @@ -15649,8 +15649,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 iter817 in self.success: - iter817.write(oprot) + for iter824 in self.success: + iter824.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15817,11 +15817,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) @@ -15856,8 +15856,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: @@ -16010,11 +16010,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) @@ -16049,8 +16049,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: @@ -16217,11 +16217,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) @@ -16256,8 +16256,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: @@ -16710,66 +16710,66 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype842, _size839) = iprot.readListBegin() - for _i843 in xrange(_size839): - _elem844 = SQLPrimaryKey() - _elem844.read(iprot) - self.primaryKeys.append(_elem844) + (_etype849, _size846) = iprot.readListBegin() + for _i850 in xrange(_size846): + _elem851 = SQLPrimaryKey() + _elem851.read(iprot) + self.primaryKeys.append(_elem851) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype848, _size845) = iprot.readListBegin() - for _i849 in xrange(_size845): - _elem850 = SQLForeignKey() - _elem850.read(iprot) - self.foreignKeys.append(_elem850) + (_etype855, _size852) = iprot.readListBegin() + for _i856 in xrange(_size852): + _elem857 = SQLForeignKey() + _elem857.read(iprot) + self.foreignKeys.append(_elem857) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype854, _size851) = iprot.readListBegin() - for _i855 in xrange(_size851): - _elem856 = SQLUniqueConstraint() - _elem856.read(iprot) - self.uniqueConstraints.append(_elem856) + (_etype861, _size858) = iprot.readListBegin() + for _i862 in xrange(_size858): + _elem863 = SQLUniqueConstraint() + _elem863.read(iprot) + self.uniqueConstraints.append(_elem863) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype860, _size857) = iprot.readListBegin() - for _i861 in xrange(_size857): - _elem862 = SQLNotNullConstraint() - _elem862.read(iprot) - self.notNullConstraints.append(_elem862) + (_etype867, _size864) = iprot.readListBegin() + for _i868 in xrange(_size864): + _elem869 = SQLNotNullConstraint() + _elem869.read(iprot) + self.notNullConstraints.append(_elem869) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype866, _size863) = iprot.readListBegin() - for _i867 in xrange(_size863): - _elem868 = SQLDefaultConstraint() - _elem868.read(iprot) - self.defaultConstraints.append(_elem868) + (_etype873, _size870) = iprot.readListBegin() + for _i874 in xrange(_size870): + _elem875 = SQLDefaultConstraint() + _elem875.read(iprot) + self.defaultConstraints.append(_elem875) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 7: if ftype == TType.LIST: self.checkConstraints = [] - (_etype872, _size869) = iprot.readListBegin() - for _i873 in xrange(_size869): - _elem874 = SQLCheckConstraint() - _elem874.read(iprot) - self.checkConstraints.append(_elem874) + (_etype879, _size876) = iprot.readListBegin() + for _i880 in xrange(_size876): + _elem881 = SQLCheckConstraint() + _elem881.read(iprot) + self.checkConstraints.append(_elem881) iprot.readListEnd() else: iprot.skip(ftype) @@ -16790,43 +16790,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 iter875 in self.primaryKeys: - iter875.write(oprot) + for iter882 in self.primaryKeys: + iter882.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 iter876 in self.foreignKeys: - iter876.write(oprot) + for iter883 in self.foreignKeys: + iter883.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 iter877 in self.uniqueConstraints: - iter877.write(oprot) + for iter884 in self.uniqueConstraints: + iter884.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 iter878 in self.notNullConstraints: - iter878.write(oprot) + for iter885 in self.notNullConstraints: + iter885.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 iter879 in self.defaultConstraints: - iter879.write(oprot) + for iter886 in self.defaultConstraints: + iter886.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 iter880 in self.checkConstraints: - iter880.write(oprot) + for iter887 in self.checkConstraints: + iter887.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18386,10 +18386,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype884, _size881) = iprot.readListBegin() - for _i885 in xrange(_size881): - _elem886 = iprot.readString() - self.partNames.append(_elem886) + (_etype891, _size888) = iprot.readListBegin() + for _i892 in xrange(_size888): + _elem893 = iprot.readString() + self.partNames.append(_elem893) iprot.readListEnd() else: iprot.skip(ftype) @@ -18414,8 +18414,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 iter887 in self.partNames: - oprot.writeString(iter887) + for iter894 in self.partNames: + oprot.writeString(iter894) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18615,10 +18615,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype891, _size888) = iprot.readListBegin() - for _i892 in xrange(_size888): - _elem893 = iprot.readString() - self.success.append(_elem893) + (_etype898, _size895) = iprot.readListBegin() + for _i899 in xrange(_size895): + _elem900 = iprot.readString() + self.success.append(_elem900) iprot.readListEnd() else: iprot.skip(ftype) @@ -18641,8 +18641,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 iter894 in self.success: - oprot.writeString(iter894) + for iter901 in self.success: + oprot.writeString(iter901) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18792,10 +18792,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) @@ -18818,8 +18818,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: @@ -18943,10 +18943,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) @@ -18969,8 +18969,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: @@ -19043,10 +19043,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype912, _size909) = iprot.readListBegin() - for _i913 in xrange(_size909): - _elem914 = iprot.readString() - self.tbl_types.append(_elem914) + (_etype919, _size916) = iprot.readListBegin() + for _i920 in xrange(_size916): + _elem921 = iprot.readString() + self.tbl_types.append(_elem921) iprot.readListEnd() else: iprot.skip(ftype) @@ -19071,8 +19071,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 iter915 in self.tbl_types: - oprot.writeString(iter915) + for iter922 in self.tbl_types: + oprot.writeString(iter922) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19128,11 +19128,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype919, _size916) = iprot.readListBegin() - for _i920 in xrange(_size916): - _elem921 = TableMeta() - _elem921.read(iprot) - self.success.append(_elem921) + (_etype926, _size923) = iprot.readListBegin() + for _i927 in xrange(_size923): + _elem928 = TableMeta() + _elem928.read(iprot) + self.success.append(_elem928) iprot.readListEnd() else: iprot.skip(ftype) @@ -19155,8 +19155,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 iter922 in self.success: - iter922.write(oprot) + for iter929 in self.success: + iter929.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19280,10 +19280,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype926, _size923) = iprot.readListBegin() - for _i927 in xrange(_size923): - _elem928 = iprot.readString() - self.success.append(_elem928) + (_etype933, _size930) = iprot.readListBegin() + for _i934 in xrange(_size930): + _elem935 = iprot.readString() + self.success.append(_elem935) iprot.readListEnd() else: iprot.skip(ftype) @@ -19306,8 +19306,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRING, len(self.success)) - for iter929 in self.success: - oprot.writeString(iter929) + for iter936 in self.success: + oprot.writeString(iter936) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19543,10 +19543,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype933, _size930) = iprot.readListBegin() - for _i934 in xrange(_size930): - _elem935 = iprot.readString() - self.tbl_names.append(_elem935) + (_etype940, _size937) = iprot.readListBegin() + for _i941 in xrange(_size937): + _elem942 = iprot.readString() + self.tbl_names.append(_elem942) iprot.readListEnd() else: iprot.skip(ftype) @@ -19567,8 +19567,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 iter936 in self.tbl_names: - oprot.writeString(iter936) + for iter943 in self.tbl_names: + oprot.writeString(iter943) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19620,11 +19620,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype940, _size937) = iprot.readListBegin() - for _i941 in xrange(_size937): - _elem942 = Table() - _elem942.read(iprot) - self.success.append(_elem942) + (_etype947, _size944) = iprot.readListBegin() + for _i948 in xrange(_size944): + _elem949 = Table() + _elem949.read(iprot) + self.success.append(_elem949) iprot.readListEnd() else: iprot.skip(ftype) @@ -19641,8 +19641,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter943 in self.success: - iter943.write(oprot) + for iter950 in self.success: + iter950.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20034,10 +20034,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype947, _size944) = iprot.readListBegin() - for _i948 in xrange(_size944): - _elem949 = iprot.readString() - self.tbl_names.append(_elem949) + (_etype954, _size951) = iprot.readListBegin() + for _i955 in xrange(_size951): + _elem956 = iprot.readString() + self.tbl_names.append(_elem956) iprot.readListEnd() else: iprot.skip(ftype) @@ -20058,8 +20058,8 @@ def write(self, oprot): if self.tbl_names is not None: oprot.writeFieldBegin('tbl_names', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.tbl_names)) - for iter950 in self.tbl_names: - oprot.writeString(iter950) + for iter957 in self.tbl_names: + oprot.writeString(iter957) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20120,12 +20120,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype952, _vtype953, _size951 ) = iprot.readMapBegin() - for _i955 in xrange(_size951): - _key956 = iprot.readString() - _val957 = Materialization() - _val957.read(iprot) - self.success[_key956] = _val957 + (_ktype959, _vtype960, _size958 ) = iprot.readMapBegin() + for _i962 in xrange(_size958): + _key963 = iprot.readString() + _val964 = Materialization() + _val964.read(iprot) + self.success[_key963] = _val964 iprot.readMapEnd() else: iprot.skip(ftype) @@ -20160,9 +20160,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 kiter958,viter959 in self.success.items(): - oprot.writeString(kiter958) - viter959.write(oprot) + for kiter965,viter966 in self.success.items(): + oprot.writeString(kiter965) + viter966.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20514,10 +20514,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype963, _size960) = iprot.readListBegin() - for _i964 in xrange(_size960): - _elem965 = iprot.readString() - self.success.append(_elem965) + (_etype970, _size967) = iprot.readListBegin() + for _i971 in xrange(_size967): + _elem972 = iprot.readString() + self.success.append(_elem972) iprot.readListEnd() else: iprot.skip(ftype) @@ -20552,8 +20552,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 iter966 in self.success: - oprot.writeString(iter966) + for iter973 in self.success: + oprot.writeString(iter973) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -21523,11 +21523,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype970, _size967) = iprot.readListBegin() - for _i971 in xrange(_size967): - _elem972 = Partition() - _elem972.read(iprot) - self.new_parts.append(_elem972) + (_etype977, _size974) = iprot.readListBegin() + for _i978 in xrange(_size974): + _elem979 = Partition() + _elem979.read(iprot) + self.new_parts.append(_elem979) iprot.readListEnd() else: iprot.skip(ftype) @@ -21544,8 +21544,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 iter973 in self.new_parts: - iter973.write(oprot) + for iter980 in self.new_parts: + iter980.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21703,11 +21703,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 = PartitionSpec() - _elem979.read(iprot) - self.new_parts.append(_elem979) + (_etype984, _size981) = iprot.readListBegin() + for _i985 in xrange(_size981): + _elem986 = PartitionSpec() + _elem986.read(iprot) + self.new_parts.append(_elem986) iprot.readListEnd() else: iprot.skip(ftype) @@ -21724,8 +21724,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() @@ -21899,10 +21899,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype984, _size981) = iprot.readListBegin() - for _i985 in xrange(_size981): - _elem986 = iprot.readString() - self.part_vals.append(_elem986) + (_etype991, _size988) = iprot.readListBegin() + for _i992 in xrange(_size988): + _elem993 = iprot.readString() + self.part_vals.append(_elem993) iprot.readListEnd() else: iprot.skip(ftype) @@ -21927,8 +21927,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 iter987 in self.part_vals: - oprot.writeString(iter987) + for iter994 in self.part_vals: + oprot.writeString(iter994) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -22281,10 +22281,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) @@ -22315,8 +22315,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() if self.environment_context is not None: @@ -22911,10 +22911,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) @@ -22944,8 +22944,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.deleteData is not None: @@ -23118,10 +23118,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) @@ -23157,8 +23157,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: @@ -23895,10 +23895,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) @@ -23923,8 +23923,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() oprot.writeFieldStop() @@ -24083,11 +24083,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1017, _vtype1018, _size1016 ) = iprot.readMapBegin() - for _i1020 in xrange(_size1016): - _key1021 = iprot.readString() - _val1022 = iprot.readString() - self.partitionSpecs[_key1021] = _val1022 + (_ktype1024, _vtype1025, _size1023 ) = iprot.readMapBegin() + for _i1027 in xrange(_size1023): + _key1028 = iprot.readString() + _val1029 = iprot.readString() + self.partitionSpecs[_key1028] = _val1029 iprot.readMapEnd() else: iprot.skip(ftype) @@ -24124,9 +24124,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 kiter1023,viter1024 in self.partitionSpecs.items(): - oprot.writeString(kiter1023) - oprot.writeString(viter1024) + for kiter1030,viter1031 in self.partitionSpecs.items(): + oprot.writeString(kiter1030) + oprot.writeString(viter1031) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -24331,11 +24331,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1026, _vtype1027, _size1025 ) = iprot.readMapBegin() - for _i1029 in xrange(_size1025): - _key1030 = iprot.readString() - _val1031 = iprot.readString() - self.partitionSpecs[_key1030] = _val1031 + (_ktype1033, _vtype1034, _size1032 ) = iprot.readMapBegin() + for _i1036 in xrange(_size1032): + _key1037 = iprot.readString() + _val1038 = iprot.readString() + self.partitionSpecs[_key1037] = _val1038 iprot.readMapEnd() else: iprot.skip(ftype) @@ -24372,9 +24372,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 kiter1032,viter1033 in self.partitionSpecs.items(): - oprot.writeString(kiter1032) - oprot.writeString(viter1033) + for kiter1039,viter1040 in self.partitionSpecs.items(): + oprot.writeString(kiter1039) + oprot.writeString(viter1040) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -24457,11 +24457,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1037, _size1034) = iprot.readListBegin() - for _i1038 in xrange(_size1034): - _elem1039 = Partition() - _elem1039.read(iprot) - self.success.append(_elem1039) + (_etype1044, _size1041) = iprot.readListBegin() + for _i1045 in xrange(_size1041): + _elem1046 = Partition() + _elem1046.read(iprot) + self.success.append(_elem1046) iprot.readListEnd() else: iprot.skip(ftype) @@ -24502,8 +24502,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 iter1040 in self.success: - iter1040.write(oprot) + for iter1047 in self.success: + iter1047.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24597,10 +24597,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1044, _size1041) = iprot.readListBegin() - for _i1045 in xrange(_size1041): - _elem1046 = iprot.readString() - self.part_vals.append(_elem1046) + (_etype1051, _size1048) = iprot.readListBegin() + for _i1052 in xrange(_size1048): + _elem1053 = iprot.readString() + self.part_vals.append(_elem1053) iprot.readListEnd() else: iprot.skip(ftype) @@ -24612,10 +24612,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1050, _size1047) = iprot.readListBegin() - for _i1051 in xrange(_size1047): - _elem1052 = iprot.readString() - self.group_names.append(_elem1052) + (_etype1057, _size1054) = iprot.readListBegin() + for _i1058 in xrange(_size1054): + _elem1059 = iprot.readString() + self.group_names.append(_elem1059) iprot.readListEnd() else: iprot.skip(ftype) @@ -24640,8 +24640,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 iter1053 in self.part_vals: - oprot.writeString(iter1053) + for iter1060 in self.part_vals: + oprot.writeString(iter1060) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -24651,8 +24651,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 iter1054 in self.group_names: - oprot.writeString(iter1054) + for iter1061 in self.group_names: + oprot.writeString(iter1061) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25081,11 +25081,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1058, _size1055) = iprot.readListBegin() - for _i1059 in xrange(_size1055): - _elem1060 = Partition() - _elem1060.read(iprot) - self.success.append(_elem1060) + (_etype1065, _size1062) = iprot.readListBegin() + for _i1066 in xrange(_size1062): + _elem1067 = Partition() + _elem1067.read(iprot) + self.success.append(_elem1067) iprot.readListEnd() else: iprot.skip(ftype) @@ -25114,8 +25114,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1061 in self.success: - iter1061.write(oprot) + for iter1068 in self.success: + iter1068.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25209,10 +25209,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1065, _size1062) = iprot.readListBegin() - for _i1066 in xrange(_size1062): - _elem1067 = iprot.readString() - self.group_names.append(_elem1067) + (_etype1072, _size1069) = iprot.readListBegin() + for _i1073 in xrange(_size1069): + _elem1074 = iprot.readString() + self.group_names.append(_elem1074) iprot.readListEnd() else: iprot.skip(ftype) @@ -25245,8 +25245,8 @@ def write(self, oprot): if self.group_names is not None: oprot.writeFieldBegin('group_names', TType.LIST, 5) oprot.writeListBegin(TType.STRING, len(self.group_names)) - for iter1068 in self.group_names: - oprot.writeString(iter1068) + for iter1075 in self.group_names: + oprot.writeString(iter1075) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25307,11 +25307,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1072, _size1069) = iprot.readListBegin() - for _i1073 in xrange(_size1069): - _elem1074 = Partition() - _elem1074.read(iprot) - self.success.append(_elem1074) + (_etype1079, _size1076) = iprot.readListBegin() + for _i1080 in xrange(_size1076): + _elem1081 = Partition() + _elem1081.read(iprot) + self.success.append(_elem1081) iprot.readListEnd() else: iprot.skip(ftype) @@ -25340,8 +25340,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1075 in self.success: - iter1075.write(oprot) + for iter1082 in self.success: + iter1082.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25499,11 +25499,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1079, _size1076) = iprot.readListBegin() - for _i1080 in xrange(_size1076): - _elem1081 = PartitionSpec() - _elem1081.read(iprot) - self.success.append(_elem1081) + (_etype1086, _size1083) = iprot.readListBegin() + for _i1087 in xrange(_size1083): + _elem1088 = PartitionSpec() + _elem1088.read(iprot) + self.success.append(_elem1088) iprot.readListEnd() else: iprot.skip(ftype) @@ -25532,8 +25532,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: @@ -25691,10 +25691,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1086, _size1083) = iprot.readListBegin() - for _i1087 in xrange(_size1083): - _elem1088 = iprot.readString() - self.success.append(_elem1088) + (_etype1093, _size1090) = iprot.readListBegin() + for _i1094 in xrange(_size1090): + _elem1095 = iprot.readString() + self.success.append(_elem1095) iprot.readListEnd() else: iprot.skip(ftype) @@ -25723,8 +25723,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 iter1089 in self.success: - oprot.writeString(iter1089) + for iter1096 in self.success: + oprot.writeString(iter1096) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25964,10 +25964,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1093, _size1090) = iprot.readListBegin() - for _i1094 in xrange(_size1090): - _elem1095 = iprot.readString() - self.part_vals.append(_elem1095) + (_etype1100, _size1097) = iprot.readListBegin() + for _i1101 in xrange(_size1097): + _elem1102 = iprot.readString() + self.part_vals.append(_elem1102) iprot.readListEnd() else: iprot.skip(ftype) @@ -25997,8 +25997,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 iter1096 in self.part_vals: - oprot.writeString(iter1096) + for iter1103 in self.part_vals: + oprot.writeString(iter1103) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -26062,11 +26062,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1100, _size1097) = iprot.readListBegin() - for _i1101 in xrange(_size1097): - _elem1102 = Partition() - _elem1102.read(iprot) - self.success.append(_elem1102) + (_etype1107, _size1104) = iprot.readListBegin() + for _i1108 in xrange(_size1104): + _elem1109 = Partition() + _elem1109.read(iprot) + self.success.append(_elem1109) iprot.readListEnd() else: iprot.skip(ftype) @@ -26095,8 +26095,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1103 in self.success: - iter1103.write(oprot) + for iter1110 in self.success: + iter1110.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26183,10 +26183,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1107, _size1104) = iprot.readListBegin() - for _i1108 in xrange(_size1104): - _elem1109 = iprot.readString() - self.part_vals.append(_elem1109) + (_etype1114, _size1111) = iprot.readListBegin() + for _i1115 in xrange(_size1111): + _elem1116 = iprot.readString() + self.part_vals.append(_elem1116) iprot.readListEnd() else: iprot.skip(ftype) @@ -26203,10 +26203,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1113, _size1110) = iprot.readListBegin() - for _i1114 in xrange(_size1110): - _elem1115 = iprot.readString() - self.group_names.append(_elem1115) + (_etype1120, _size1117) = iprot.readListBegin() + for _i1121 in xrange(_size1117): + _elem1122 = iprot.readString() + self.group_names.append(_elem1122) iprot.readListEnd() else: iprot.skip(ftype) @@ -26231,8 +26231,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 iter1116 in self.part_vals: - oprot.writeString(iter1116) + for iter1123 in self.part_vals: + oprot.writeString(iter1123) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -26246,8 +26246,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 iter1117 in self.group_names: - oprot.writeString(iter1117) + for iter1124 in self.group_names: + oprot.writeString(iter1124) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26309,11 +26309,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1121, _size1118) = iprot.readListBegin() - for _i1122 in xrange(_size1118): - _elem1123 = Partition() - _elem1123.read(iprot) - self.success.append(_elem1123) + (_etype1128, _size1125) = iprot.readListBegin() + for _i1129 in xrange(_size1125): + _elem1130 = Partition() + _elem1130.read(iprot) + self.success.append(_elem1130) iprot.readListEnd() else: iprot.skip(ftype) @@ -26342,8 +26342,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1124 in self.success: - iter1124.write(oprot) + for iter1131 in self.success: + iter1131.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26424,10 +26424,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1128, _size1125) = iprot.readListBegin() - for _i1129 in xrange(_size1125): - _elem1130 = iprot.readString() - self.part_vals.append(_elem1130) + (_etype1135, _size1132) = iprot.readListBegin() + for _i1136 in xrange(_size1132): + _elem1137 = iprot.readString() + self.part_vals.append(_elem1137) iprot.readListEnd() else: iprot.skip(ftype) @@ -26457,8 +26457,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 iter1131 in self.part_vals: - oprot.writeString(iter1131) + for iter1138 in self.part_vals: + oprot.writeString(iter1138) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -26522,10 +26522,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1135, _size1132) = iprot.readListBegin() - for _i1136 in xrange(_size1132): - _elem1137 = iprot.readString() - self.success.append(_elem1137) + (_etype1142, _size1139) = iprot.readListBegin() + for _i1143 in xrange(_size1139): + _elem1144 = iprot.readString() + self.success.append(_elem1144) iprot.readListEnd() else: iprot.skip(ftype) @@ -26554,8 +26554,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 iter1138 in self.success: - oprot.writeString(iter1138) + for iter1145 in self.success: + oprot.writeString(iter1145) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26726,11 +26726,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1142, _size1139) = iprot.readListBegin() - for _i1143 in xrange(_size1139): - _elem1144 = Partition() - _elem1144.read(iprot) - self.success.append(_elem1144) + (_etype1149, _size1146) = iprot.readListBegin() + for _i1150 in xrange(_size1146): + _elem1151 = Partition() + _elem1151.read(iprot) + self.success.append(_elem1151) iprot.readListEnd() else: iprot.skip(ftype) @@ -26759,8 +26759,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1145 in self.success: - iter1145.write(oprot) + for iter1152 in self.success: + iter1152.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26931,11 +26931,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1149, _size1146) = iprot.readListBegin() - for _i1150 in xrange(_size1146): - _elem1151 = PartitionSpec() - _elem1151.read(iprot) - self.success.append(_elem1151) + (_etype1156, _size1153) = iprot.readListBegin() + for _i1157 in xrange(_size1153): + _elem1158 = PartitionSpec() + _elem1158.read(iprot) + self.success.append(_elem1158) iprot.readListEnd() else: iprot.skip(ftype) @@ -26964,8 +26964,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: @@ -27385,10 +27385,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1156, _size1153) = iprot.readListBegin() - for _i1157 in xrange(_size1153): - _elem1158 = iprot.readString() - self.names.append(_elem1158) + (_etype1163, _size1160) = iprot.readListBegin() + for _i1164 in xrange(_size1160): + _elem1165 = iprot.readString() + self.names.append(_elem1165) iprot.readListEnd() else: iprot.skip(ftype) @@ -27413,8 +27413,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 iter1159 in self.names: - oprot.writeString(iter1159) + for iter1166 in self.names: + oprot.writeString(iter1166) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27473,11 +27473,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1163, _size1160) = iprot.readListBegin() - for _i1164 in xrange(_size1160): - _elem1165 = Partition() - _elem1165.read(iprot) - self.success.append(_elem1165) + (_etype1170, _size1167) = iprot.readListBegin() + for _i1171 in xrange(_size1167): + _elem1172 = Partition() + _elem1172.read(iprot) + self.success.append(_elem1172) iprot.readListEnd() else: iprot.skip(ftype) @@ -27506,8 +27506,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1166 in self.success: - iter1166.write(oprot) + for iter1173 in self.success: + iter1173.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -27757,11 +27757,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1170, _size1167) = iprot.readListBegin() - for _i1171 in xrange(_size1167): - _elem1172 = Partition() - _elem1172.read(iprot) - self.new_parts.append(_elem1172) + (_etype1177, _size1174) = iprot.readListBegin() + for _i1178 in xrange(_size1174): + _elem1179 = Partition() + _elem1179.read(iprot) + self.new_parts.append(_elem1179) iprot.readListEnd() else: iprot.skip(ftype) @@ -27786,8 +27786,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 iter1173 in self.new_parts: - iter1173.write(oprot) + for iter1180 in self.new_parts: + iter1180.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27940,11 +27940,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) @@ -27975,8 +27975,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() if self.environment_context is not None: @@ -28320,10 +28320,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1184, _size1181) = iprot.readListBegin() - for _i1185 in xrange(_size1181): - _elem1186 = iprot.readString() - self.part_vals.append(_elem1186) + (_etype1191, _size1188) = iprot.readListBegin() + for _i1192 in xrange(_size1188): + _elem1193 = iprot.readString() + self.part_vals.append(_elem1193) iprot.readListEnd() else: iprot.skip(ftype) @@ -28354,8 +28354,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 iter1187 in self.part_vals: - oprot.writeString(iter1187) + for iter1194 in self.part_vals: + oprot.writeString(iter1194) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -28497,10 +28497,10 @@ def read(self, iprot): if fid == 1: 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) @@ -28522,8 +28522,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 iter1194 in self.part_vals: - oprot.writeString(iter1194) + for iter1201 in self.part_vals: + oprot.writeString(iter1201) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -28881,10 +28881,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1198, _size1195) = iprot.readListBegin() - for _i1199 in xrange(_size1195): - _elem1200 = iprot.readString() - self.success.append(_elem1200) + (_etype1205, _size1202) = iprot.readListBegin() + for _i1206 in xrange(_size1202): + _elem1207 = iprot.readString() + self.success.append(_elem1207) iprot.readListEnd() else: iprot.skip(ftype) @@ -28907,8 +28907,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 iter1201 in self.success: - oprot.writeString(iter1201) + for iter1208 in self.success: + oprot.writeString(iter1208) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29032,11 +29032,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1203, _vtype1204, _size1202 ) = iprot.readMapBegin() - for _i1206 in xrange(_size1202): - _key1207 = iprot.readString() - _val1208 = iprot.readString() - self.success[_key1207] = _val1208 + (_ktype1210, _vtype1211, _size1209 ) = iprot.readMapBegin() + for _i1213 in xrange(_size1209): + _key1214 = iprot.readString() + _val1215 = iprot.readString() + self.success[_key1214] = _val1215 iprot.readMapEnd() else: iprot.skip(ftype) @@ -29059,9 +29059,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 kiter1209,viter1210 in self.success.items(): - oprot.writeString(kiter1209) - oprot.writeString(viter1210) + for kiter1216,viter1217 in self.success.items(): + oprot.writeString(kiter1216) + oprot.writeString(viter1217) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29137,11 +29137,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1212, _vtype1213, _size1211 ) = iprot.readMapBegin() - for _i1215 in xrange(_size1211): - _key1216 = iprot.readString() - _val1217 = iprot.readString() - self.part_vals[_key1216] = _val1217 + (_ktype1219, _vtype1220, _size1218 ) = iprot.readMapBegin() + for _i1222 in xrange(_size1218): + _key1223 = iprot.readString() + _val1224 = iprot.readString() + self.part_vals[_key1223] = _val1224 iprot.readMapEnd() else: iprot.skip(ftype) @@ -29171,9 +29171,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 kiter1218,viter1219 in self.part_vals.items(): - oprot.writeString(kiter1218) - oprot.writeString(viter1219) + for kiter1225,viter1226 in self.part_vals.items(): + oprot.writeString(kiter1225) + oprot.writeString(viter1226) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -29387,11 +29387,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1221, _vtype1222, _size1220 ) = iprot.readMapBegin() - for _i1224 in xrange(_size1220): - _key1225 = iprot.readString() - _val1226 = iprot.readString() - self.part_vals[_key1225] = _val1226 + (_ktype1228, _vtype1229, _size1227 ) = iprot.readMapBegin() + for _i1231 in xrange(_size1227): + _key1232 = iprot.readString() + _val1233 = iprot.readString() + self.part_vals[_key1232] = _val1233 iprot.readMapEnd() else: iprot.skip(ftype) @@ -29421,9 +29421,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 kiter1227,viter1228 in self.part_vals.items(): - oprot.writeString(kiter1227) - oprot.writeString(viter1228) + for kiter1234,viter1235 in self.part_vals.items(): + oprot.writeString(kiter1234) + oprot.writeString(viter1235) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -33075,10 +33075,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1232, _size1229) = iprot.readListBegin() - for _i1233 in xrange(_size1229): - _elem1234 = iprot.readString() - self.success.append(_elem1234) + (_etype1239, _size1236) = iprot.readListBegin() + for _i1240 in xrange(_size1236): + _elem1241 = iprot.readString() + self.success.append(_elem1241) iprot.readListEnd() else: iprot.skip(ftype) @@ -33101,8 +33101,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 iter1235 in self.success: - oprot.writeString(iter1235) + for iter1242 in self.success: + oprot.writeString(iter1242) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33790,10 +33790,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) @@ -33816,8 +33816,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: @@ -34331,11 +34331,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1246, _size1243) = iprot.readListBegin() - for _i1247 in xrange(_size1243): - _elem1248 = Role() - _elem1248.read(iprot) - self.success.append(_elem1248) + (_etype1253, _size1250) = iprot.readListBegin() + for _i1254 in xrange(_size1250): + _elem1255 = Role() + _elem1255.read(iprot) + self.success.append(_elem1255) iprot.readListEnd() else: iprot.skip(ftype) @@ -34358,8 +34358,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 iter1249 in self.success: - iter1249.write(oprot) + for iter1256 in self.success: + iter1256.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34868,10 +34868,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1253, _size1250) = iprot.readListBegin() - for _i1254 in xrange(_size1250): - _elem1255 = iprot.readString() - self.group_names.append(_elem1255) + (_etype1260, _size1257) = iprot.readListBegin() + for _i1261 in xrange(_size1257): + _elem1262 = iprot.readString() + self.group_names.append(_elem1262) iprot.readListEnd() else: iprot.skip(ftype) @@ -34896,8 +34896,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 iter1256 in self.group_names: - oprot.writeString(iter1256) + for iter1263 in self.group_names: + oprot.writeString(iter1263) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -35124,11 +35124,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1260, _size1257) = iprot.readListBegin() - for _i1261 in xrange(_size1257): - _elem1262 = HiveObjectPrivilege() - _elem1262.read(iprot) - self.success.append(_elem1262) + (_etype1267, _size1264) = iprot.readListBegin() + for _i1268 in xrange(_size1264): + _elem1269 = HiveObjectPrivilege() + _elem1269.read(iprot) + self.success.append(_elem1269) iprot.readListEnd() else: iprot.skip(ftype) @@ -35151,8 +35151,8 @@ def write(self, oprot): if self.success is not None: oprot.writeFieldBegin('success', TType.LIST, 0) oprot.writeListBegin(TType.STRUCT, len(self.success)) - for iter1263 in self.success: - iter1263.write(oprot) + for iter1270 in self.success: + iter1270.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35650,10 +35650,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1267, _size1264) = iprot.readListBegin() - for _i1268 in xrange(_size1264): - _elem1269 = iprot.readString() - self.group_names.append(_elem1269) + (_etype1274, _size1271) = iprot.readListBegin() + for _i1275 in xrange(_size1271): + _elem1276 = iprot.readString() + self.group_names.append(_elem1276) iprot.readListEnd() else: iprot.skip(ftype) @@ -35674,8 +35674,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 iter1270 in self.group_names: - oprot.writeString(iter1270) + for iter1277 in self.group_names: + oprot.writeString(iter1277) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -35730,10 +35730,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1274, _size1271) = iprot.readListBegin() - for _i1275 in xrange(_size1271): - _elem1276 = iprot.readString() - self.success.append(_elem1276) + (_etype1281, _size1278) = iprot.readListBegin() + for _i1282 in xrange(_size1278): + _elem1283 = iprot.readString() + self.success.append(_elem1283) iprot.readListEnd() else: iprot.skip(ftype) @@ -35756,8 +35756,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 iter1277 in self.success: - oprot.writeString(iter1277) + for iter1284 in self.success: + oprot.writeString(iter1284) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36689,10 +36689,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) @@ -36709,8 +36709,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() oprot.writeFieldStop() @@ -37237,10 +37237,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) @@ -37257,8 +37257,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() @@ -45426,11 +45426,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1295, _size1292) = iprot.readListBegin() - for _i1296 in xrange(_size1292): - _elem1297 = SchemaVersion() - _elem1297.read(iprot) - self.success.append(_elem1297) + (_etype1302, _size1299) = iprot.readListBegin() + for _i1303 in xrange(_size1299): + _elem1304 = SchemaVersion() + _elem1304.read(iprot) + self.success.append(_elem1304) iprot.readListEnd() else: iprot.skip(ftype) @@ -45459,8 +45459,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 iter1298 in self.success: - iter1298.write(oprot) + for iter1305 in self.success: + iter1305.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 82539edb95..35a66cad5a 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 @@ -10313,6 +10313,8 @@ class OpenTxnRequest: - user - hostname - agentInfo + - replPolicy + - replSrcTxnIds """ thrift_spec = ( @@ -10321,13 +10323,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: @@ -10358,6 +10364,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 = [] + (_etype498, _size495) = iprot.readListBegin() + for _i499 in xrange(_size495): + _elem500 = iprot.readI64() + self.replSrcTxnIds.append(_elem500) + iprot.readListEnd() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -10384,6 +10405,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 iter501 in self.replSrcTxnIds: + oprot.writeI64(iter501) + oprot.writeListEnd() + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -10403,6 +10435,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): @@ -10442,10 +10476,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype498, _size495) = iprot.readListBegin() - for _i499 in xrange(_size495): - _elem500 = iprot.readI64() - self.txn_ids.append(_elem500) + (_etype505, _size502) = iprot.readListBegin() + for _i506 in xrange(_size502): + _elem507 = iprot.readI64() + self.txn_ids.append(_elem507) iprot.readListEnd() else: iprot.skip(ftype) @@ -10462,8 +10496,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 iter501 in self.txn_ids: - oprot.writeI64(iter501) + for iter508 in self.txn_ids: + oprot.writeI64(iter508) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10495,15 +10529,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: @@ -10519,6 +10556,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() @@ -10533,6 +10575,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() @@ -10545,6 +10591,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): @@ -10584,10 +10631,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) @@ -10604,8 +10651,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() @@ -10637,15 +10684,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: @@ -10661,6 +10711,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() @@ -10675,6 +10730,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() @@ -10687,6 +10746,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): @@ -10729,10 +10789,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fullTableNames = [] - (_etype512, _size509) = iprot.readListBegin() - for _i513 in xrange(_size509): - _elem514 = iprot.readString() - self.fullTableNames.append(_elem514) + (_etype519, _size516) = iprot.readListBegin() + for _i520 in xrange(_size516): + _elem521 = iprot.readString() + self.fullTableNames.append(_elem521) iprot.readListEnd() else: iprot.skip(ftype) @@ -10754,8 +10814,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 iter515 in self.fullTableNames: - oprot.writeString(iter515) + for iter522 in self.fullTableNames: + oprot.writeString(iter522) oprot.writeListEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -10838,10 +10898,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.invalidWriteIds = [] - (_etype519, _size516) = iprot.readListBegin() - for _i520 in xrange(_size516): - _elem521 = iprot.readI64() - self.invalidWriteIds.append(_elem521) + (_etype526, _size523) = iprot.readListBegin() + for _i527 in xrange(_size523): + _elem528 = iprot.readI64() + self.invalidWriteIds.append(_elem528) iprot.readListEnd() else: iprot.skip(ftype) @@ -10876,8 +10936,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 iter522 in self.invalidWriteIds: - oprot.writeI64(iter522) + for iter529 in self.invalidWriteIds: + oprot.writeI64(iter529) oprot.writeListEnd() oprot.writeFieldEnd() if self.minOpenWriteId is not None: @@ -10949,11 +11009,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tblValidWriteIds = [] - (_etype526, _size523) = iprot.readListBegin() - for _i527 in xrange(_size523): - _elem528 = TableValidWriteIds() - _elem528.read(iprot) - self.tblValidWriteIds.append(_elem528) + (_etype533, _size530) = iprot.readListBegin() + for _i534 in xrange(_size530): + _elem535 = TableValidWriteIds() + _elem535.read(iprot) + self.tblValidWriteIds.append(_elem535) iprot.readListEnd() else: iprot.skip(ftype) @@ -10970,8 +11030,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 iter529 in self.tblValidWriteIds: - iter529.write(oprot) + for iter536 in self.tblValidWriteIds: + iter536.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11031,10 +11091,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnIds = [] - (_etype533, _size530) = iprot.readListBegin() - for _i534 in xrange(_size530): - _elem535 = iprot.readI64() - self.txnIds.append(_elem535) + (_etype540, _size537) = iprot.readListBegin() + for _i541 in xrange(_size537): + _elem542 = iprot.readI64() + self.txnIds.append(_elem542) iprot.readListEnd() else: iprot.skip(ftype) @@ -11061,8 +11121,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 iter536 in self.txnIds: - oprot.writeI64(iter536) + for iter543 in self.txnIds: + oprot.writeI64(iter543) oprot.writeListEnd() oprot.writeFieldEnd() if self.dbName is not None: @@ -11212,11 +11272,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnToWriteIds = [] - (_etype540, _size537) = iprot.readListBegin() - for _i541 in xrange(_size537): - _elem542 = TxnToWriteId() - _elem542.read(iprot) - self.txnToWriteIds.append(_elem542) + (_etype547, _size544) = iprot.readListBegin() + for _i548 in xrange(_size544): + _elem549 = TxnToWriteId() + _elem549.read(iprot) + self.txnToWriteIds.append(_elem549) iprot.readListEnd() else: iprot.skip(ftype) @@ -11233,8 +11293,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 iter543 in self.txnToWriteIds: - iter543.write(oprot) + for iter550 in self.txnToWriteIds: + iter550.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11462,11 +11522,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype547, _size544) = iprot.readListBegin() - for _i548 in xrange(_size544): - _elem549 = LockComponent() - _elem549.read(iprot) - self.component.append(_elem549) + (_etype554, _size551) = iprot.readListBegin() + for _i555 in xrange(_size551): + _elem556 = LockComponent() + _elem556.read(iprot) + self.component.append(_elem556) iprot.readListEnd() else: iprot.skip(ftype) @@ -11503,8 +11563,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 iter550 in self.component: - iter550.write(oprot) + for iter557 in self.component: + iter557.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -12202,11 +12262,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype554, _size551) = iprot.readListBegin() - for _i555 in xrange(_size551): - _elem556 = ShowLocksResponseElement() - _elem556.read(iprot) - self.locks.append(_elem556) + (_etype561, _size558) = iprot.readListBegin() + for _i562 in xrange(_size558): + _elem563 = ShowLocksResponseElement() + _elem563.read(iprot) + self.locks.append(_elem563) iprot.readListEnd() else: iprot.skip(ftype) @@ -12223,8 +12283,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 iter557 in self.locks: - iter557.write(oprot) + for iter564 in self.locks: + iter564.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12439,20 +12499,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype561, _size558) = iprot.readSetBegin() - for _i562 in xrange(_size558): - _elem563 = iprot.readI64() - self.aborted.add(_elem563) + (_etype568, _size565) = iprot.readSetBegin() + for _i569 in xrange(_size565): + _elem570 = iprot.readI64() + self.aborted.add(_elem570) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype567, _size564) = iprot.readSetBegin() - for _i568 in xrange(_size564): - _elem569 = iprot.readI64() - self.nosuch.add(_elem569) + (_etype574, _size571) = iprot.readSetBegin() + for _i575 in xrange(_size571): + _elem576 = iprot.readI64() + self.nosuch.add(_elem576) iprot.readSetEnd() else: iprot.skip(ftype) @@ -12469,15 +12529,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 iter570 in self.aborted: - oprot.writeI64(iter570) + for iter577 in self.aborted: + oprot.writeI64(iter577) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter571 in self.nosuch: - oprot.writeI64(iter571) + for iter578 in self.nosuch: + oprot.writeI64(iter578) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12574,11 +12634,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype573, _vtype574, _size572 ) = iprot.readMapBegin() - for _i576 in xrange(_size572): - _key577 = iprot.readString() - _val578 = iprot.readString() - self.properties[_key577] = _val578 + (_ktype580, _vtype581, _size579 ) = iprot.readMapBegin() + for _i583 in xrange(_size579): + _key584 = iprot.readString() + _val585 = iprot.readString() + self.properties[_key584] = _val585 iprot.readMapEnd() else: iprot.skip(ftype) @@ -12615,9 +12675,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 kiter579,viter580 in self.properties.items(): - oprot.writeString(kiter579) - oprot.writeString(viter580) + for kiter586,viter587 in self.properties.items(): + oprot.writeString(kiter586) + oprot.writeString(viter587) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13052,11 +13112,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype584, _size581) = iprot.readListBegin() - for _i585 in xrange(_size581): - _elem586 = ShowCompactResponseElement() - _elem586.read(iprot) - self.compacts.append(_elem586) + (_etype591, _size588) = iprot.readListBegin() + for _i592 in xrange(_size588): + _elem593 = ShowCompactResponseElement() + _elem593.read(iprot) + self.compacts.append(_elem593) iprot.readListEnd() else: iprot.skip(ftype) @@ -13073,8 +13133,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 iter587 in self.compacts: - iter587.write(oprot) + for iter594 in self.compacts: + iter594.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13163,10 +13223,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype591, _size588) = iprot.readListBegin() - for _i592 in xrange(_size588): - _elem593 = iprot.readString() - self.partitionnames.append(_elem593) + (_etype598, _size595) = iprot.readListBegin() + for _i599 in xrange(_size595): + _elem600 = iprot.readString() + self.partitionnames.append(_elem600) iprot.readListEnd() else: iprot.skip(ftype) @@ -13204,8 +13264,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 iter594 in self.partitionnames: - oprot.writeString(iter594) + for iter601 in self.partitionnames: + oprot.writeString(iter601) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -13427,10 +13487,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.SET: self.tablesUsed = set() - (_etype598, _size595) = iprot.readSetBegin() - for _i599 in xrange(_size595): - _elem600 = iprot.readString() - self.tablesUsed.add(_elem600) + (_etype605, _size602) = iprot.readSetBegin() + for _i606 in xrange(_size602): + _elem607 = iprot.readString() + self.tablesUsed.add(_elem607) iprot.readSetEnd() else: iprot.skip(ftype) @@ -13460,8 +13520,8 @@ def write(self, oprot): if self.tablesUsed is not None: oprot.writeFieldBegin('tablesUsed', TType.SET, 3) oprot.writeSetBegin(TType.STRING, len(self.tablesUsed)) - for iter601 in self.tablesUsed: - oprot.writeString(iter601) + for iter608 in self.tablesUsed: + oprot.writeString(iter608) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -13757,11 +13817,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype605, _size602) = iprot.readListBegin() - for _i606 in xrange(_size602): - _elem607 = NotificationEvent() - _elem607.read(iprot) - self.events.append(_elem607) + (_etype612, _size609) = iprot.readListBegin() + for _i613 in xrange(_size609): + _elem614 = NotificationEvent() + _elem614.read(iprot) + self.events.append(_elem614) iprot.readListEnd() else: iprot.skip(ftype) @@ -13778,8 +13838,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 iter608 in self.events: - iter608.write(oprot) + for iter615 in self.events: + iter615.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14060,20 +14120,20 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype612, _size609) = iprot.readListBegin() - for _i613 in xrange(_size609): - _elem614 = iprot.readString() - self.filesAdded.append(_elem614) + (_etype619, _size616) = iprot.readListBegin() + for _i620 in xrange(_size616): + _elem621 = iprot.readString() + self.filesAdded.append(_elem621) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype618, _size615) = iprot.readListBegin() - for _i619 in xrange(_size615): - _elem620 = iprot.readString() - self.filesAddedChecksum.append(_elem620) + (_etype625, _size622) = iprot.readListBegin() + for _i626 in xrange(_size622): + _elem627 = iprot.readString() + self.filesAddedChecksum.append(_elem627) iprot.readListEnd() else: iprot.skip(ftype) @@ -14094,15 +14154,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 iter621 in self.filesAdded: - oprot.writeString(iter621) + for iter628 in self.filesAdded: + oprot.writeString(iter628) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter622 in self.filesAddedChecksum: - oprot.writeString(iter622) + for iter629 in self.filesAddedChecksum: + oprot.writeString(iter629) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14257,10 +14317,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype626, _size623) = iprot.readListBegin() - for _i627 in xrange(_size623): - _elem628 = iprot.readString() - self.partitionVals.append(_elem628) + (_etype633, _size630) = iprot.readListBegin() + for _i634 in xrange(_size630): + _elem635 = iprot.readString() + self.partitionVals.append(_elem635) iprot.readListEnd() else: iprot.skip(ftype) @@ -14293,8 +14353,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 iter629 in self.partitionVals: - oprot.writeString(iter629) + for iter636 in self.partitionVals: + oprot.writeString(iter636) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14481,12 +14541,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype631, _vtype632, _size630 ) = iprot.readMapBegin() - for _i634 in xrange(_size630): - _key635 = iprot.readI64() - _val636 = MetadataPpdResult() - _val636.read(iprot) - self.metadata[_key635] = _val636 + (_ktype638, _vtype639, _size637 ) = iprot.readMapBegin() + for _i641 in xrange(_size637): + _key642 = iprot.readI64() + _val643 = MetadataPpdResult() + _val643.read(iprot) + self.metadata[_key642] = _val643 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14508,9 +14568,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 kiter637,viter638 in self.metadata.items(): - oprot.writeI64(kiter637) - viter638.write(oprot) + for kiter644,viter645 in self.metadata.items(): + oprot.writeI64(kiter644) + viter645.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -14580,10 +14640,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype642, _size639) = iprot.readListBegin() - for _i643 in xrange(_size639): - _elem644 = iprot.readI64() - self.fileIds.append(_elem644) + (_etype649, _size646) = iprot.readListBegin() + for _i650 in xrange(_size646): + _elem651 = iprot.readI64() + self.fileIds.append(_elem651) iprot.readListEnd() else: iprot.skip(ftype) @@ -14615,8 +14675,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 iter645 in self.fileIds: - oprot.writeI64(iter645) + for iter652 in self.fileIds: + oprot.writeI64(iter652) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -14690,11 +14750,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype647, _vtype648, _size646 ) = iprot.readMapBegin() - for _i650 in xrange(_size646): - _key651 = iprot.readI64() - _val652 = iprot.readString() - self.metadata[_key651] = _val652 + (_ktype654, _vtype655, _size653 ) = iprot.readMapBegin() + for _i657 in xrange(_size653): + _key658 = iprot.readI64() + _val659 = iprot.readString() + self.metadata[_key658] = _val659 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14716,9 +14776,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 kiter653,viter654 in self.metadata.items(): - oprot.writeI64(kiter653) - oprot.writeString(viter654) + for kiter660,viter661 in self.metadata.items(): + oprot.writeI64(kiter660) + oprot.writeString(viter661) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -14779,10 +14839,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype658, _size655) = iprot.readListBegin() - for _i659 in xrange(_size655): - _elem660 = iprot.readI64() - self.fileIds.append(_elem660) + (_etype665, _size662) = iprot.readListBegin() + for _i666 in xrange(_size662): + _elem667 = iprot.readI64() + self.fileIds.append(_elem667) iprot.readListEnd() else: iprot.skip(ftype) @@ -14799,8 +14859,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 iter661 in self.fileIds: - oprot.writeI64(iter661) + for iter668 in self.fileIds: + oprot.writeI64(iter668) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14906,20 +14966,20 @@ 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) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype671, _size668) = iprot.readListBegin() - for _i672 in xrange(_size668): - _elem673 = iprot.readString() - self.metadata.append(_elem673) + (_etype678, _size675) = iprot.readListBegin() + for _i679 in xrange(_size675): + _elem680 = iprot.readString() + self.metadata.append(_elem680) iprot.readListEnd() else: iprot.skip(ftype) @@ -14941,15 +15001,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 iter674 in self.fileIds: - oprot.writeI64(iter674) + for iter681 in self.fileIds: + oprot.writeI64(iter681) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter675 in self.metadata: - oprot.writeString(iter675) + for iter682 in self.metadata: + oprot.writeString(iter682) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -15057,10 +15117,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype679, _size676) = iprot.readListBegin() - for _i680 in xrange(_size676): - _elem681 = iprot.readI64() - self.fileIds.append(_elem681) + (_etype686, _size683) = iprot.readListBegin() + for _i687 in xrange(_size683): + _elem688 = iprot.readI64() + self.fileIds.append(_elem688) iprot.readListEnd() else: iprot.skip(ftype) @@ -15077,8 +15137,8 @@ def write(self, oprot): if self.fileIds is not None: oprot.writeFieldBegin('fileIds', TType.LIST, 1) oprot.writeListBegin(TType.I64, len(self.fileIds)) - for iter682 in self.fileIds: - oprot.writeI64(iter682) + for iter689 in self.fileIds: + oprot.writeI64(iter689) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15307,11 +15367,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype686, _size683) = iprot.readListBegin() - for _i687 in xrange(_size683): - _elem688 = Function() - _elem688.read(iprot) - self.functions.append(_elem688) + (_etype693, _size690) = iprot.readListBegin() + for _i694 in xrange(_size690): + _elem695 = Function() + _elem695.read(iprot) + self.functions.append(_elem695) iprot.readListEnd() else: iprot.skip(ftype) @@ -15328,8 +15388,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 iter689 in self.functions: - iter689.write(oprot) + for iter696 in self.functions: + iter696.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15381,10 +15441,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype693, _size690) = iprot.readListBegin() - for _i694 in xrange(_size690): - _elem695 = iprot.readI32() - self.values.append(_elem695) + (_etype700, _size697) = iprot.readListBegin() + for _i701 in xrange(_size697): + _elem702 = iprot.readI32() + self.values.append(_elem702) iprot.readListEnd() else: iprot.skip(ftype) @@ -15401,8 +15461,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 iter696 in self.values: - oprot.writeI32(iter696) + for iter703 in self.values: + oprot.writeI32(iter703) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15631,10 +15691,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype700, _size697) = iprot.readListBegin() - for _i701 in xrange(_size697): - _elem702 = iprot.readString() - self.tblNames.append(_elem702) + (_etype707, _size704) = iprot.readListBegin() + for _i708 in xrange(_size704): + _elem709 = iprot.readString() + self.tblNames.append(_elem709) iprot.readListEnd() else: iprot.skip(ftype) @@ -15661,8 +15721,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 iter703 in self.tblNames: - oprot.writeString(iter703) + for iter710 in self.tblNames: + oprot.writeString(iter710) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -15722,11 +15782,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype707, _size704) = iprot.readListBegin() - for _i708 in xrange(_size704): - _elem709 = Table() - _elem709.read(iprot) - self.tables.append(_elem709) + (_etype714, _size711) = iprot.readListBegin() + for _i715 in xrange(_size711): + _elem716 = Table() + _elem716.read(iprot) + self.tables.append(_elem716) iprot.readListEnd() else: iprot.skip(ftype) @@ -15743,8 +15803,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 iter710 in self.tables: - iter710.write(oprot) + for iter717 in self.tables: + iter717.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -16042,10 +16102,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.tablesUsed = set() - (_etype714, _size711) = iprot.readSetBegin() - for _i715 in xrange(_size711): - _elem716 = iprot.readString() - self.tablesUsed.add(_elem716) + (_etype721, _size718) = iprot.readSetBegin() + for _i722 in xrange(_size718): + _elem723 = iprot.readString() + self.tablesUsed.add(_elem723) iprot.readSetEnd() else: iprot.skip(ftype) @@ -16072,8 +16132,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 iter717 in self.tablesUsed: - oprot.writeString(iter717) + for iter724 in self.tablesUsed: + oprot.writeString(iter724) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -16977,44 +17037,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype721, _size718) = iprot.readListBegin() - for _i722 in xrange(_size718): - _elem723 = WMPool() - _elem723.read(iprot) - self.pools.append(_elem723) + (_etype728, _size725) = iprot.readListBegin() + for _i729 in xrange(_size725): + _elem730 = WMPool() + _elem730.read(iprot) + self.pools.append(_elem730) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype727, _size724) = iprot.readListBegin() - for _i728 in xrange(_size724): - _elem729 = WMMapping() - _elem729.read(iprot) - self.mappings.append(_elem729) + (_etype734, _size731) = iprot.readListBegin() + for _i735 in xrange(_size731): + _elem736 = WMMapping() + _elem736.read(iprot) + self.mappings.append(_elem736) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype733, _size730) = iprot.readListBegin() - for _i734 in xrange(_size730): - _elem735 = WMTrigger() - _elem735.read(iprot) - self.triggers.append(_elem735) + (_etype740, _size737) = iprot.readListBegin() + for _i741 in xrange(_size737): + _elem742 = WMTrigger() + _elem742.read(iprot) + self.triggers.append(_elem742) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype739, _size736) = iprot.readListBegin() - for _i740 in xrange(_size736): - _elem741 = WMPoolTrigger() - _elem741.read(iprot) - self.poolTriggers.append(_elem741) + (_etype746, _size743) = iprot.readListBegin() + for _i747 in xrange(_size743): + _elem748 = WMPoolTrigger() + _elem748.read(iprot) + self.poolTriggers.append(_elem748) iprot.readListEnd() else: iprot.skip(ftype) @@ -17035,29 +17095,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 iter742 in self.pools: - iter742.write(oprot) + for iter749 in self.pools: + iter749.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 iter743 in self.mappings: - iter743.write(oprot) + for iter750 in self.mappings: + iter750.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 iter744 in self.triggers: - iter744.write(oprot) + for iter751 in self.triggers: + iter751.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 iter745 in self.poolTriggers: - iter745.write(oprot) + for iter752 in self.poolTriggers: + iter752.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17531,11 +17591,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype749, _size746) = iprot.readListBegin() - for _i750 in xrange(_size746): - _elem751 = WMResourcePlan() - _elem751.read(iprot) - self.resourcePlans.append(_elem751) + (_etype756, _size753) = iprot.readListBegin() + for _i757 in xrange(_size753): + _elem758 = WMResourcePlan() + _elem758.read(iprot) + self.resourcePlans.append(_elem758) iprot.readListEnd() else: iprot.skip(ftype) @@ -17552,8 +17612,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 iter752 in self.resourcePlans: - iter752.write(oprot) + for iter759 in self.resourcePlans: + iter759.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17857,20 +17917,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype756, _size753) = iprot.readListBegin() - for _i757 in xrange(_size753): - _elem758 = iprot.readString() - self.errors.append(_elem758) + (_etype763, _size760) = iprot.readListBegin() + for _i764 in xrange(_size760): + _elem765 = iprot.readString() + self.errors.append(_elem765) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype762, _size759) = iprot.readListBegin() - for _i763 in xrange(_size759): - _elem764 = iprot.readString() - self.warnings.append(_elem764) + (_etype769, _size766) = iprot.readListBegin() + for _i770 in xrange(_size766): + _elem771 = iprot.readString() + self.warnings.append(_elem771) iprot.readListEnd() else: iprot.skip(ftype) @@ -17887,15 +17947,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 iter765 in self.errors: - oprot.writeString(iter765) + for iter772 in self.errors: + oprot.writeString(iter772) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter766 in self.warnings: - oprot.writeString(iter766) + for iter773 in self.warnings: + oprot.writeString(iter773) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18472,11 +18532,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype770, _size767) = iprot.readListBegin() - for _i771 in xrange(_size767): - _elem772 = WMTrigger() - _elem772.read(iprot) - self.triggers.append(_elem772) + (_etype777, _size774) = iprot.readListBegin() + for _i778 in xrange(_size774): + _elem779 = WMTrigger() + _elem779.read(iprot) + self.triggers.append(_elem779) iprot.readListEnd() else: iprot.skip(ftype) @@ -18493,8 +18553,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 iter773 in self.triggers: - iter773.write(oprot) + for iter780 in self.triggers: + iter780.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19652,11 +19712,11 @@ def read(self, iprot): elif fid == 4: if ftype == TType.LIST: self.cols = [] - (_etype777, _size774) = iprot.readListBegin() - for _i778 in xrange(_size774): - _elem779 = FieldSchema() - _elem779.read(iprot) - self.cols.append(_elem779) + (_etype784, _size781) = iprot.readListBegin() + for _i785 in xrange(_size781): + _elem786 = FieldSchema() + _elem786.read(iprot) + self.cols.append(_elem786) iprot.readListEnd() else: iprot.skip(ftype) @@ -19716,8 +19776,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 iter780 in self.cols: - iter780.write(oprot) + for iter787 in self.cols: + iter787.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.state is not None: @@ -19972,11 +20032,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.schemaVersions = [] - (_etype784, _size781) = iprot.readListBegin() - for _i785 in xrange(_size781): - _elem786 = SchemaVersionDescriptor() - _elem786.read(iprot) - self.schemaVersions.append(_elem786) + (_etype791, _size788) = iprot.readListBegin() + for _i792 in xrange(_size788): + _elem793 = SchemaVersionDescriptor() + _elem793.read(iprot) + self.schemaVersions.append(_elem793) iprot.readListEnd() else: iprot.skip(ftype) @@ -19993,8 +20053,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 iter787 in self.schemaVersions: - iter787.write(oprot) + for iter794 in self.schemaVersions: + iter794.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 16c814e472..a931135485 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 @@ -2321,12 +2321,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 @@ -2360,9 +2364,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 @@ -2394,9 +2400,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 519e8fefac..14f1d8f3e4 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 @@ -75,6 +75,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; @@ -84,6 +85,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.CreateDatabaseEvent; import org.apache.hadoop.hive.metastore.events.CreateFunctionEvent; @@ -99,6 +101,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; @@ -164,7 +167,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; @@ -6528,22 +6530,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 ae42077297..468561f4d7 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 @@ -2183,20 +2183,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 @@ -2204,12 +2227,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 c69192b731..eea689f5c3 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 @@ -1331,6 +1331,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 @@ -1369,6 +1379,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. @@ -1383,6 +1405,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 67600e1e75..3590e5e7fc 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 @@ -48,6 +48,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 @@ -164,7 +167,6 @@ public void onDropFunction (DropFunctionEvent fnEvent) throws MetaException { * @throws MetaException */ public void onInsert(InsertEvent insertEvent) throws MetaException { - } /** @@ -222,6 +224,30 @@ public void onDropSchemaVersion(DropSchemaVersionEvent dropSchemaVersionEvent) 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; @@ -231,7 +257,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 f5a91b440e..596780979b 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 @@ -47,6 +47,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; @@ -200,6 +203,26 @@ public void notify(MetaStoreEventListener listener, ListenerEvent event) throws listener.onDropSchemaVersion((DropSchemaVersionEvent) 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 8578d4aec9..4be2d337d6 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 @@ -53,7 +53,10 @@ DROP_ISCHEMA(MessageFactory.DROP_ISCHEMA_EVENT), ADD_SCHEMA_VERSION(MessageFactory.ADD_SCHEMA_VERSION_EVENT), ALTER_SCHEMA_VERSION(MessageFactory.ALTER_SCHEMA_VERSION_EVENT), - DROP_SCHEMA_VERSION(MessageFactory.DROP_SCHEMA_VERSION_EVENT); + DROP_SCHEMA_VERSION(MessageFactory.DROP_SCHEMA_VERSION_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 5976c489c7..71e3bba818 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 @@ -65,7 +65,9 @@ public static final String ADD_SCHEMA_VERSION_EVENT = "ADD_SCHEMA_VERSION"; public static final String ALTER_SCHEMA_VERSION_EVENT = "ALTER_SCHEMA_VERSION"; public static final String DROP_SCHEMA_VERSION_EVENT = "DROP_SCHEMA_VERSION"; - + 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; @@ -235,6 +237,39 @@ 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 a list of transaction ids + * + * @param txnIds List of ids of the newly opened transactions + * @return instance of OpenTxnMessage + */ + public abstract OpenTxnMessage buildOpenTxnMessage(List txnIds); + + /** + * 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 4f03a27ed7..7a6267fb6c 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 @@ -57,6 +57,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; @@ -190,6 +193,26 @@ public DropConstraintMessage buildDropConstraintMessage(String dbName, String ta constraintName, now()); } + @Override + public OpenTxnMessage buildOpenTxnMessage(List txnIds) { + return new JSONOpenTxnMessage(MS_SERVER_URL, MS_SERVICE_PRINCIPAL, txnIds, 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 7612509377..6691568938 100644 --- a/standalone-metastore/src/main/resources/package.jdo +++ b/standalone-metastore/src/main/resources/package.jdo @@ -1080,6 +1080,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 de9688d111..5d8ab699f5 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 @@ -140,6 +140,8 @@ CREATE TABLE "APP"."MV_TABLES_USED" ( 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 -- ---------------------------------------------- @@ -573,6 +575,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 8925fa827f..56fdae638c 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 @@ -160,5 +160,15 @@ ALTER TABLE "APP"."KEY_CONSTRAINTS" ADD COLUMN "DEFAULT_VALUE" VARCHAR(400); ALTER TABLE "APP"."HIVE_LOCKS" ALTER COLUMN "HL_TXNID" 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) +); + +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 68237ec1fa..6f9c24764a 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 @@ -1181,6 +1181,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 c5041b304f..afe08f70c3 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 @@ -212,6 +212,28 @@ 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); + -- 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 3e2db2ab00..63ab514638 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 @@ -426,6 +426,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` -- @@ -1121,6 +1123,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 5a483abbb8..828e329e03 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 @@ -202,6 +202,16 @@ 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; + +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 09c40ada49..5ec0b9081d 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. @@ -600,6 +602,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 @@ -1089,6 +1093,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 f95819ef09..17d7960f28 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 @@ -222,6 +222,16 @@ ALTER TABLE KEY_CONSTRAINTS ADD DEFAULT_VALUE VARCHAR(400); ALTER TABLE HIVE_LOCKS MODIFY(HL_TXNID NOT NULL); +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 69317b0e09..d49c1c493c 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 @@ -311,6 +311,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: @@ -1781,6 +1782,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 f7d8c73c39..8f61227388 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 @@ -237,6 +237,16 @@ ALTER TABLE "KEY_CONSTRAINTS" ADD COLUMN "DEFAULT_VALUE" VARCHAR(400); ALTER TABLE HIVE_LOCKS ALTER COLUMN HL_TXNID SET 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) +); + +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 fb334c0c08..d623ef47bd 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -786,6 +786,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 { @@ -794,6 +796,7 @@ struct OpenTxnsResponse { struct AbortTxnRequest { 1: required i64 txnid, + 2: optional string replPolicy, } struct AbortTxnsRequest { @@ -802,6 +805,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