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 39d97fc782..793e44de55 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 @@ -69,6 +69,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; 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; @@ -471,6 +474,35 @@ public void onInsert(InsertEvent insertEvent) throws MetaException { process(event, insertEvent); } + @Override + public void onOpenTxn(OpenTxnEvent openTxnEvent) throws MetaException { + NotificationEvent event = + new NotificationEvent(0, now(), EventType.OPEN_TXN.toString(), msgFactory.buildOpenTxnMessage( + openTxnEvent.getTxnIds()) + .toString()); + process(event, openTxnEvent); + } + + @Override + public void onCommitTxn(CommitTxnEvent commitTxnEvent) throws MetaException { + NotificationEvent event = + new NotificationEvent(0, now(), EventType.COMMIT_TXN.toString(), msgFactory.buildCommitTxnMessage( + commitTxnEvent.getTxnId()) + .toString()); + + process(event, commitTxnEvent); + } + + @Override + public void onAbortTxn(AbortTxnEvent abortTxnEvent) throws MetaException { + NotificationEvent event = + new NotificationEvent(0, now(), EventType.ABORT_TXN.toString(), msgFactory.buildAbortTxnMessage( + abortTxnEvent.getTxnId()) + .toString()); + + process(event, abortTxnEvent); + } + /** * @param partSetDoneEvent * @throws MetaException 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 7aadf18eb4..5bf4953530 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 @@ -76,6 +76,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.AlterIndexMessage; @@ -229,6 +232,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..8cc04d7a36 --- /dev/null +++ b/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestReplicationScenariosAcidTables.java @@ -0,0 +1,193 @@ +/* + * 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; + +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); + + 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"); + + //replica.run("SHOW TABLES LIKE '" + tableName + "'").verifyFailure(new String[] {tableName}); + + 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); + + 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); + + // 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 '" + tableName + "'") + .verifyResult(tableName) + .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 '" + tableName + "'") + .verifyResult(tableName) + .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); + } +} \ No newline at end of file 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 33e5157807..44bd307d1f 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, " "); @@ -136,6 +136,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; } @@ -173,6 +177,11 @@ WarehouseInstance run(String command) throws Throwable { return this; } + WarehouseInstance runFailure(String command) throws Throwable { + CommandProcessorResponse ret = driver.run(command); + return this; + } + Tuple dump(String dbName, String lastReplicationId, List withClauseOptions) throws Throwable { String dumpCommand = @@ -202,6 +211,13 @@ WarehouseInstance load(String replicatedDbName, String dumpLocation) throws Thro return this; } + 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/metastore/scripts/upgrade/derby/050-HIVE-18679.derby.sql b/metastore/scripts/upgrade/derby/050-HIVE-18679.derby.sql new file mode 100644 index 0000000000..c480f075d9 --- /dev/null +++ b/metastore/scripts/upgrade/derby/050-HIVE-18679.derby.sql @@ -0,0 +1,6 @@ +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/051-HIVE-18679.derby.sql b/metastore/scripts/upgrade/derby/051-HIVE-18679.derby.sql new file mode 100644 index 0000000000..971650dea2 --- /dev/null +++ b/metastore/scripts/upgrade/derby/051-HIVE-18679.derby.sql @@ -0,0 +1,7 @@ + +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/hive-txn-schema-3.0.0.derby.sql b/metastore/scripts/upgrade/derby/hive-txn-schema-3.0.0.derby.sql index 2033bdcec7..c87bb3278e 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 @@ -154,3 +154,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 55b89e77d2..ac92fad892 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 @@ -8,5 +8,6 @@ RUN '046-HIVE-17566.derby.sql'; RUN '048-HIVE-14498.derby.sql'; RUN '049-HIVE-18489.derby.sql'; RUN '050-HIVE-18192.derby.sql'; +RUN '051-HIVE-18679.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/KeyWrapperFactory.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/KeyWrapperFactory.java index 3c7f0b78c2..73683ff745 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/KeyWrapperFactory.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/KeyWrapperFactory.java @@ -18,7 +18,10 @@ package org.apache.hadoop.hive.ql.exec; +import java.util.Arrays; + import org.apache.hadoop.hive.ql.metadata.HiveException; +import org.apache.hadoop.hive.serde2.lazy.LazyDouble; import org.apache.hadoop.hive.serde2.objectinspector.ListObjectsEqualComparer; import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector; import org.apache.hadoop.hive.serde2.objectinspector.ObjectInspectorUtils; @@ -26,10 +29,10 @@ import org.apache.hadoop.hive.serde2.objectinspector.primitive.StringObjectInspector; import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoFactory; import org.apache.hadoop.hive.serde2.typeinfo.TypeInfoUtils; +import org.apache.hadoop.io.DoubleWritable; import org.apache.hadoop.io.Text; public class KeyWrapperFactory { - public KeyWrapperFactory(ExprNodeEvaluator[] keyFields, ObjectInspector[] keyObjectInspectors, ObjectInspector[] currentKeyObjectInspectors) { this.keyFields = keyFields; @@ -63,7 +66,7 @@ public KeyWrapper getKeyWrapper() { transient ListObjectsEqualComparer newKeyStructEqualComparer; class ListKeyWrapper extends KeyWrapper { - int hashcode = -1; + int hashcode; Object[] keys; // decide whether this is already in hashmap (keys in hashmap are deepcopied // version, and we need to use 'currentKeyObjectInspector'). @@ -99,13 +102,8 @@ public boolean equals(Object obj) { if (!(obj instanceof ListKeyWrapper)) { return false; } - ListKeyWrapper other = ((ListKeyWrapper) obj); - if (other.hashcode != this.hashcode && this.hashcode != -1 && other.hashcode != -1) { - return false; - } - Object[] copied_in_hashmap = other.keys; - boolean result = equalComparer.areEqual(copied_in_hashmap, keys); - return result; + Object[] copied_in_hashmap = ((ListKeyWrapper) obj).keys; + return equalComparer.areEqual(copied_in_hashmap, keys); } @Override @@ -119,7 +117,6 @@ public void getNewKey(Object row, ObjectInspector rowInspector) throws HiveExcep for (int i = 0; i < keyFields.length; i++) { keys[i] = keyFields[i].evaluate(row); } - hashcode = -1; } @Override 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..fc04fef7eb --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/ReplTxnTask.java @@ -0,0 +1,89 @@ +/* + * 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: + txnManager.replRollbackTxn(ReplPolicy, work.getTxnId(0)); + LOG.info("Replayed AbortTxn Event for policy " + ReplPolicy + " with srcTxn " + work.getTxnId(0)); + return 0; + case REPL_COMMIT_TXN: + txnManager.replCommitTxn(ReplPolicy, work.getTxnId(0)); + LOG.info("Replayed CommitTxn Event for policy " + ReplPolicy + + " with srcTxn " + work.getTxnId(0) + " and target txn id " + work.getTxnId(0)); + 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 d049c37ff6..e832f51634 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 @@ -111,6 +111,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/lockmgr/DbTxnManager.java b/ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java index 683aa954cf..78ed1a3e73 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 @@ -62,6 +62,8 @@ Licensed to the Apache Software Foundation (ASF) under one import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicInteger; +import java.util.Iterator; + /** * An implementation of HiveTxnManager that stores the transactions in the metastore database. * There should be 1 instance o {@link DbTxnManager} per {@link org.apache.hadoop.hive.ql.session.SessionState} @@ -202,6 +204,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 +601,22 @@ public void releaseLocks(List hiveLocks) throws LockException { } } + @Override + public void replCommitTxn(String replPolicy, long srcTxnId) throws LockException { + try { + getMS().commitTxn(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 +644,21 @@ public void commitTxn() throws LockException { tableWriteIds.clear(); } } + @Override + public void replRollbackTxn(String replPolicy, long srcTxnId) throws LockException { + try { + getMS().rollbackTxn(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..b322dbd009 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 @@ -29,6 +29,7 @@ import org.apache.hadoop.hive.ql.plan.UnlockDatabaseDesc; import org.apache.hadoop.hive.ql.plan.UnlockTableDesc; +import java.util.Iterator; import java.util.List; /** @@ -47,6 +48,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 1c6b793e11..5d353b99c6 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); @@ -506,10 +502,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 796ab0d5e5..3ab4019a3c 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; @@ -234,6 +235,56 @@ private void initReplLoad(ASTNode ast) throws SemanticException { } } + private boolean filterEvent(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())) { + 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())) { + return false; + } + } + } + } + return true; + } + /* * Example dump dirs we need to be able to handle : * @@ -371,6 +422,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 (!filterEvent(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 @@ -392,8 +450,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..a3747f1e86 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/dump/events/CommitTxnHandler.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 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..02498560c4 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/AbortTxnHandler.java @@ -0,0 +1,55 @@ +/* + * 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.conf.HiveConf; +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.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 { + String txnMgr = context.hiveConf.getVar(HiveConf.ConfVars.HIVE_TXN_MANAGER); + Boolean conc = context.hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY); + if (!txnMgr.equals("org.apache.hadoop.hive.ql.lockmgr.DbTxnManager") || conc != true) { + 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..61f7ceaa55 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/CommitTxnHandler.java @@ -0,0 +1,55 @@ +/* + * 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.conf.HiveConf; +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.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 { + String txnMgr = context.hiveConf.getVar(HiveConf.ConfVars.HIVE_TXN_MANAGER); + Boolean conc = context.hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY); + if (!txnMgr.equals("org.apache.hadoop.hive.ql.lockmgr.DbTxnManager") || conc != true) { + 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..b76b6ac366 --- /dev/null +++ b/ql/src/java/org/apache/hadoop/hive/ql/parse/repl/load/message/OpenTxnHandler.java @@ -0,0 +1,54 @@ +/* + * 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.conf.HiveConf; +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.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 { + String txnMgr = context.hiveConf.getVar(HiveConf.ConfVars.HIVE_TXN_MANAGER); + boolean concurrency = context.hiveConf.getBoolVar(HiveConf.ConfVars.HIVE_SUPPORT_CONCURRENCY); + if (!txnMgr.equals("org.apache.hadoop.hive.ql.lockmgr.DbTxnManager") || !concurrency) { + 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/ql/exec/TestKeyWrapperFactory.java b/ql/src/test/org/apache/hadoop/hive/ql/exec/TestKeyWrapperFactory.java index 03c4ed63c8..4de6dd0b14 100644 --- a/ql/src/test/org/apache/hadoop/hive/ql/exec/TestKeyWrapperFactory.java +++ b/ql/src/test/org/apache/hadoop/hive/ql/exec/TestKeyWrapperFactory.java @@ -110,12 +110,4 @@ public void testDifferentWrapperTypesUnequal() { assertFalse(w3.equals(w4)); assertFalse(w4.equals(w3)); } - - @Test - public void testUnsetHashCode() { - KeyWrapper w1 = factory.getKeyWrapper(); - KeyWrapper w2 = w1.copyKey(); - w1.setHashKey(); - assertTrue(w1.equals(w2)); - } } diff --git a/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java b/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java index 8823d41274..efb1df6495 100644 --- a/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java +++ b/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorUtils.java @@ -22,7 +22,6 @@ import java.lang.reflect.Modifier; import java.lang.reflect.Type; import java.util.ArrayList; -import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; import java.util.List; @@ -168,17 +167,13 @@ public static int writableArrayHashCode(Object[] keys) { int hashcode = 1; for (Object element : keys) { hashcode = 31 * hashcode; - if (element == null) { - // nothing - } else if (element instanceof LazyDouble) { - long v = Double.doubleToLongBits(((LazyDouble) element).getWritableObject().get()); + if (element == null) continue; + if (element instanceof LazyDouble) { + long v = Double.doubleToLongBits(((LazyDouble)element).getWritableObject().get()); hashcode = hashcode + (int) (v ^ (v >>> 32)); - } else if (element instanceof DoubleWritable) { - long v = Double.doubleToLongBits(((DoubleWritable) element).get()); + } else if (element instanceof DoubleWritable){ + long v = Double.doubleToLongBits(((DoubleWritable)element).get()); hashcode = hashcode + (int) (v ^ (v >>> 32)); - } else if (element instanceof Object[]) { - // use deep hashcode for arrays - hashcode = hashcode + Arrays.deepHashCode((Object[]) element); } else { hashcode = hashcode + element.hashCode(); } diff --git a/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp b/standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp index 1510d4f7f2..300e00dea0 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 _size1111; - ::apache::thrift::protocol::TType _etype1114; - xfer += iprot->readListBegin(_etype1114, _size1111); - this->success.resize(_size1111); - uint32_t _i1115; - for (_i1115 = 0; _i1115 < _size1111; ++_i1115) + uint32_t _size1117; + ::apache::thrift::protocol::TType _etype1120; + xfer += iprot->readListBegin(_etype1120, _size1117); + this->success.resize(_size1117); + uint32_t _i1121; + for (_i1121 = 0; _i1121 < _size1117; ++_i1121) { - xfer += iprot->readString(this->success[_i1115]); + xfer += iprot->readString(this->success[_i1121]); } 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 _iter1116; - for (_iter1116 = this->success.begin(); _iter1116 != this->success.end(); ++_iter1116) + std::vector ::const_iterator _iter1122; + for (_iter1122 = this->success.begin(); _iter1122 != this->success.end(); ++_iter1122) { - xfer += oprot->writeString((*_iter1116)); + xfer += oprot->writeString((*_iter1122)); } 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 _size1117; - ::apache::thrift::protocol::TType _etype1120; - xfer += iprot->readListBegin(_etype1120, _size1117); - (*(this->success)).resize(_size1117); - uint32_t _i1121; - for (_i1121 = 0; _i1121 < _size1117; ++_i1121) + uint32_t _size1123; + ::apache::thrift::protocol::TType _etype1126; + xfer += iprot->readListBegin(_etype1126, _size1123); + (*(this->success)).resize(_size1123); + uint32_t _i1127; + for (_i1127 = 0; _i1127 < _size1123; ++_i1127) { - xfer += iprot->readString((*(this->success))[_i1121]); + xfer += iprot->readString((*(this->success))[_i1127]); } 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 _size1122; - ::apache::thrift::protocol::TType _etype1125; - xfer += iprot->readListBegin(_etype1125, _size1122); - this->success.resize(_size1122); - uint32_t _i1126; - for (_i1126 = 0; _i1126 < _size1122; ++_i1126) + uint32_t _size1128; + ::apache::thrift::protocol::TType _etype1131; + xfer += iprot->readListBegin(_etype1131, _size1128); + this->success.resize(_size1128); + uint32_t _i1132; + for (_i1132 = 0; _i1132 < _size1128; ++_i1132) { - xfer += iprot->readString(this->success[_i1126]); + xfer += iprot->readString(this->success[_i1132]); } 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 _iter1127; - for (_iter1127 = this->success.begin(); _iter1127 != this->success.end(); ++_iter1127) + std::vector ::const_iterator _iter1133; + for (_iter1133 = this->success.begin(); _iter1133 != this->success.end(); ++_iter1133) { - xfer += oprot->writeString((*_iter1127)); + xfer += oprot->writeString((*_iter1133)); } 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 _size1128; - ::apache::thrift::protocol::TType _etype1131; - xfer += iprot->readListBegin(_etype1131, _size1128); - (*(this->success)).resize(_size1128); - uint32_t _i1132; - for (_i1132 = 0; _i1132 < _size1128; ++_i1132) + uint32_t _size1134; + ::apache::thrift::protocol::TType _etype1137; + xfer += iprot->readListBegin(_etype1137, _size1134); + (*(this->success)).resize(_size1134); + uint32_t _i1138; + for (_i1138 = 0; _i1138 < _size1134; ++_i1138) { - xfer += iprot->readString((*(this->success))[_i1132]); + xfer += iprot->readString((*(this->success))[_i1138]); } 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 _size1133; - ::apache::thrift::protocol::TType _ktype1134; - ::apache::thrift::protocol::TType _vtype1135; - xfer += iprot->readMapBegin(_ktype1134, _vtype1135, _size1133); - uint32_t _i1137; - for (_i1137 = 0; _i1137 < _size1133; ++_i1137) + uint32_t _size1139; + ::apache::thrift::protocol::TType _ktype1140; + ::apache::thrift::protocol::TType _vtype1141; + xfer += iprot->readMapBegin(_ktype1140, _vtype1141, _size1139); + uint32_t _i1143; + for (_i1143 = 0; _i1143 < _size1139; ++_i1143) { - std::string _key1138; - xfer += iprot->readString(_key1138); - Type& _val1139 = this->success[_key1138]; - xfer += _val1139.read(iprot); + std::string _key1144; + xfer += iprot->readString(_key1144); + Type& _val1145 = this->success[_key1144]; + xfer += _val1145.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 _iter1140; - for (_iter1140 = this->success.begin(); _iter1140 != this->success.end(); ++_iter1140) + std::map ::const_iterator _iter1146; + for (_iter1146 = this->success.begin(); _iter1146 != this->success.end(); ++_iter1146) { - xfer += oprot->writeString(_iter1140->first); - xfer += _iter1140->second.write(oprot); + xfer += oprot->writeString(_iter1146->first); + xfer += _iter1146->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 _size1141; - ::apache::thrift::protocol::TType _ktype1142; - ::apache::thrift::protocol::TType _vtype1143; - xfer += iprot->readMapBegin(_ktype1142, _vtype1143, _size1141); - uint32_t _i1145; - for (_i1145 = 0; _i1145 < _size1141; ++_i1145) + uint32_t _size1147; + ::apache::thrift::protocol::TType _ktype1148; + ::apache::thrift::protocol::TType _vtype1149; + xfer += iprot->readMapBegin(_ktype1148, _vtype1149, _size1147); + uint32_t _i1151; + for (_i1151 = 0; _i1151 < _size1147; ++_i1151) { - std::string _key1146; - xfer += iprot->readString(_key1146); - Type& _val1147 = (*(this->success))[_key1146]; - xfer += _val1147.read(iprot); + std::string _key1152; + xfer += iprot->readString(_key1152); + Type& _val1153 = (*(this->success))[_key1152]; + xfer += _val1153.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 _size1148; - ::apache::thrift::protocol::TType _etype1151; - xfer += iprot->readListBegin(_etype1151, _size1148); - this->success.resize(_size1148); - uint32_t _i1152; - for (_i1152 = 0; _i1152 < _size1148; ++_i1152) + uint32_t _size1154; + ::apache::thrift::protocol::TType _etype1157; + xfer += iprot->readListBegin(_etype1157, _size1154); + this->success.resize(_size1154); + uint32_t _i1158; + for (_i1158 = 0; _i1158 < _size1154; ++_i1158) { - xfer += this->success[_i1152].read(iprot); + xfer += this->success[_i1158].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 _iter1153; - for (_iter1153 = this->success.begin(); _iter1153 != this->success.end(); ++_iter1153) + std::vector ::const_iterator _iter1159; + for (_iter1159 = this->success.begin(); _iter1159 != this->success.end(); ++_iter1159) { - xfer += (*_iter1153).write(oprot); + xfer += (*_iter1159).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 _size1154; - ::apache::thrift::protocol::TType _etype1157; - xfer += iprot->readListBegin(_etype1157, _size1154); - (*(this->success)).resize(_size1154); - uint32_t _i1158; - for (_i1158 = 0; _i1158 < _size1154; ++_i1158) + uint32_t _size1160; + ::apache::thrift::protocol::TType _etype1163; + xfer += iprot->readListBegin(_etype1163, _size1160); + (*(this->success)).resize(_size1160); + uint32_t _i1164; + for (_i1164 = 0; _i1164 < _size1160; ++_i1164) { - xfer += (*(this->success))[_i1158].read(iprot); + xfer += (*(this->success))[_i1164].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 _size1159; - ::apache::thrift::protocol::TType _etype1162; - xfer += iprot->readListBegin(_etype1162, _size1159); - this->success.resize(_size1159); - uint32_t _i1163; - for (_i1163 = 0; _i1163 < _size1159; ++_i1163) + uint32_t _size1165; + ::apache::thrift::protocol::TType _etype1168; + xfer += iprot->readListBegin(_etype1168, _size1165); + this->success.resize(_size1165); + uint32_t _i1169; + for (_i1169 = 0; _i1169 < _size1165; ++_i1169) { - xfer += this->success[_i1163].read(iprot); + xfer += this->success[_i1169].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 _iter1164; - for (_iter1164 = this->success.begin(); _iter1164 != this->success.end(); ++_iter1164) + std::vector ::const_iterator _iter1170; + for (_iter1170 = this->success.begin(); _iter1170 != this->success.end(); ++_iter1170) { - xfer += (*_iter1164).write(oprot); + xfer += (*_iter1170).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 _size1165; - ::apache::thrift::protocol::TType _etype1168; - xfer += iprot->readListBegin(_etype1168, _size1165); - (*(this->success)).resize(_size1165); - uint32_t _i1169; - for (_i1169 = 0; _i1169 < _size1165; ++_i1169) + uint32_t _size1171; + ::apache::thrift::protocol::TType _etype1174; + xfer += iprot->readListBegin(_etype1174, _size1171); + (*(this->success)).resize(_size1171); + uint32_t _i1175; + for (_i1175 = 0; _i1175 < _size1171; ++_i1175) { - xfer += (*(this->success))[_i1169].read(iprot); + xfer += (*(this->success))[_i1175].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 _size1170; - ::apache::thrift::protocol::TType _etype1173; - xfer += iprot->readListBegin(_etype1173, _size1170); - this->success.resize(_size1170); - uint32_t _i1174; - for (_i1174 = 0; _i1174 < _size1170; ++_i1174) + uint32_t _size1176; + ::apache::thrift::protocol::TType _etype1179; + xfer += iprot->readListBegin(_etype1179, _size1176); + this->success.resize(_size1176); + uint32_t _i1180; + for (_i1180 = 0; _i1180 < _size1176; ++_i1180) { - xfer += this->success[_i1174].read(iprot); + xfer += this->success[_i1180].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 _iter1175; - for (_iter1175 = this->success.begin(); _iter1175 != this->success.end(); ++_iter1175) + std::vector ::const_iterator _iter1181; + for (_iter1181 = this->success.begin(); _iter1181 != this->success.end(); ++_iter1181) { - xfer += (*_iter1175).write(oprot); + xfer += (*_iter1181).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 _size1176; - ::apache::thrift::protocol::TType _etype1179; - xfer += iprot->readListBegin(_etype1179, _size1176); - (*(this->success)).resize(_size1176); - uint32_t _i1180; - for (_i1180 = 0; _i1180 < _size1176; ++_i1180) + uint32_t _size1182; + ::apache::thrift::protocol::TType _etype1185; + xfer += iprot->readListBegin(_etype1185, _size1182); + (*(this->success)).resize(_size1182); + uint32_t _i1186; + for (_i1186 = 0; _i1186 < _size1182; ++_i1186) { - xfer += (*(this->success))[_i1180].read(iprot); + xfer += (*(this->success))[_i1186].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 _size1181; - ::apache::thrift::protocol::TType _etype1184; - xfer += iprot->readListBegin(_etype1184, _size1181); - this->success.resize(_size1181); - uint32_t _i1185; - for (_i1185 = 0; _i1185 < _size1181; ++_i1185) + uint32_t _size1187; + ::apache::thrift::protocol::TType _etype1190; + xfer += iprot->readListBegin(_etype1190, _size1187); + this->success.resize(_size1187); + uint32_t _i1191; + for (_i1191 = 0; _i1191 < _size1187; ++_i1191) { - xfer += this->success[_i1185].read(iprot); + xfer += this->success[_i1191].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 _iter1186; - for (_iter1186 = this->success.begin(); _iter1186 != this->success.end(); ++_iter1186) + std::vector ::const_iterator _iter1192; + for (_iter1192 = this->success.begin(); _iter1192 != this->success.end(); ++_iter1192) { - xfer += (*_iter1186).write(oprot); + xfer += (*_iter1192).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 _size1187; - ::apache::thrift::protocol::TType _etype1190; - xfer += iprot->readListBegin(_etype1190, _size1187); - (*(this->success)).resize(_size1187); - uint32_t _i1191; - for (_i1191 = 0; _i1191 < _size1187; ++_i1191) + uint32_t _size1193; + ::apache::thrift::protocol::TType _etype1196; + xfer += iprot->readListBegin(_etype1196, _size1193); + (*(this->success)).resize(_size1193); + uint32_t _i1197; + for (_i1197 = 0; _i1197 < _size1193; ++_i1197) { - xfer += (*(this->success))[_i1191].read(iprot); + xfer += (*(this->success))[_i1197].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 _size1192; - ::apache::thrift::protocol::TType _etype1195; - xfer += iprot->readListBegin(_etype1195, _size1192); - this->primaryKeys.resize(_size1192); - uint32_t _i1196; - for (_i1196 = 0; _i1196 < _size1192; ++_i1196) + uint32_t _size1198; + ::apache::thrift::protocol::TType _etype1201; + xfer += iprot->readListBegin(_etype1201, _size1198); + this->primaryKeys.resize(_size1198); + uint32_t _i1202; + for (_i1202 = 0; _i1202 < _size1198; ++_i1202) { - xfer += this->primaryKeys[_i1196].read(iprot); + xfer += this->primaryKeys[_i1202].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 _size1197; - ::apache::thrift::protocol::TType _etype1200; - xfer += iprot->readListBegin(_etype1200, _size1197); - this->foreignKeys.resize(_size1197); - uint32_t _i1201; - for (_i1201 = 0; _i1201 < _size1197; ++_i1201) + uint32_t _size1203; + ::apache::thrift::protocol::TType _etype1206; + xfer += iprot->readListBegin(_etype1206, _size1203); + this->foreignKeys.resize(_size1203); + uint32_t _i1207; + for (_i1207 = 0; _i1207 < _size1203; ++_i1207) { - xfer += this->foreignKeys[_i1201].read(iprot); + xfer += this->foreignKeys[_i1207].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 _size1202; - ::apache::thrift::protocol::TType _etype1205; - xfer += iprot->readListBegin(_etype1205, _size1202); - this->uniqueConstraints.resize(_size1202); - uint32_t _i1206; - for (_i1206 = 0; _i1206 < _size1202; ++_i1206) + uint32_t _size1208; + ::apache::thrift::protocol::TType _etype1211; + xfer += iprot->readListBegin(_etype1211, _size1208); + this->uniqueConstraints.resize(_size1208); + uint32_t _i1212; + for (_i1212 = 0; _i1212 < _size1208; ++_i1212) { - xfer += this->uniqueConstraints[_i1206].read(iprot); + xfer += this->uniqueConstraints[_i1212].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 _size1207; - ::apache::thrift::protocol::TType _etype1210; - xfer += iprot->readListBegin(_etype1210, _size1207); - this->notNullConstraints.resize(_size1207); - uint32_t _i1211; - for (_i1211 = 0; _i1211 < _size1207; ++_i1211) + uint32_t _size1213; + ::apache::thrift::protocol::TType _etype1216; + xfer += iprot->readListBegin(_etype1216, _size1213); + this->notNullConstraints.resize(_size1213); + uint32_t _i1217; + for (_i1217 = 0; _i1217 < _size1213; ++_i1217) { - xfer += this->notNullConstraints[_i1211].read(iprot); + xfer += this->notNullConstraints[_i1217].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 _size1212; - ::apache::thrift::protocol::TType _etype1215; - xfer += iprot->readListBegin(_etype1215, _size1212); - this->defaultConstraints.resize(_size1212); - uint32_t _i1216; - for (_i1216 = 0; _i1216 < _size1212; ++_i1216) + uint32_t _size1218; + ::apache::thrift::protocol::TType _etype1221; + xfer += iprot->readListBegin(_etype1221, _size1218); + this->defaultConstraints.resize(_size1218); + uint32_t _i1222; + for (_i1222 = 0; _i1222 < _size1218; ++_i1222) { - xfer += this->defaultConstraints[_i1216].read(iprot); + xfer += this->defaultConstraints[_i1222].read(iprot); } xfer += iprot->readListEnd(); } @@ -4638,10 +4638,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 _iter1217; - for (_iter1217 = this->primaryKeys.begin(); _iter1217 != this->primaryKeys.end(); ++_iter1217) + std::vector ::const_iterator _iter1223; + for (_iter1223 = this->primaryKeys.begin(); _iter1223 != this->primaryKeys.end(); ++_iter1223) { - xfer += (*_iter1217).write(oprot); + xfer += (*_iter1223).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4650,10 +4650,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 _iter1218; - for (_iter1218 = this->foreignKeys.begin(); _iter1218 != this->foreignKeys.end(); ++_iter1218) + std::vector ::const_iterator _iter1224; + for (_iter1224 = this->foreignKeys.begin(); _iter1224 != this->foreignKeys.end(); ++_iter1224) { - xfer += (*_iter1218).write(oprot); + xfer += (*_iter1224).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4662,10 +4662,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 _iter1219; - for (_iter1219 = this->uniqueConstraints.begin(); _iter1219 != this->uniqueConstraints.end(); ++_iter1219) + std::vector ::const_iterator _iter1225; + for (_iter1225 = this->uniqueConstraints.begin(); _iter1225 != this->uniqueConstraints.end(); ++_iter1225) { - xfer += (*_iter1219).write(oprot); + xfer += (*_iter1225).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4674,10 +4674,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 _iter1220; - for (_iter1220 = this->notNullConstraints.begin(); _iter1220 != this->notNullConstraints.end(); ++_iter1220) + std::vector ::const_iterator _iter1226; + for (_iter1226 = this->notNullConstraints.begin(); _iter1226 != this->notNullConstraints.end(); ++_iter1226) { - xfer += (*_iter1220).write(oprot); + xfer += (*_iter1226).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4686,10 +4686,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 _iter1221; - for (_iter1221 = this->defaultConstraints.begin(); _iter1221 != this->defaultConstraints.end(); ++_iter1221) + std::vector ::const_iterator _iter1227; + for (_iter1227 = this->defaultConstraints.begin(); _iter1227 != this->defaultConstraints.end(); ++_iter1227) { - xfer += (*_iter1221).write(oprot); + xfer += (*_iter1227).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4717,10 +4717,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 _iter1222; - for (_iter1222 = (*(this->primaryKeys)).begin(); _iter1222 != (*(this->primaryKeys)).end(); ++_iter1222) + std::vector ::const_iterator _iter1228; + for (_iter1228 = (*(this->primaryKeys)).begin(); _iter1228 != (*(this->primaryKeys)).end(); ++_iter1228) { - xfer += (*_iter1222).write(oprot); + xfer += (*_iter1228).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4729,10 +4729,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 _iter1223; - for (_iter1223 = (*(this->foreignKeys)).begin(); _iter1223 != (*(this->foreignKeys)).end(); ++_iter1223) + std::vector ::const_iterator _iter1229; + for (_iter1229 = (*(this->foreignKeys)).begin(); _iter1229 != (*(this->foreignKeys)).end(); ++_iter1229) { - xfer += (*_iter1223).write(oprot); + xfer += (*_iter1229).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4741,10 +4741,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 _iter1224; - for (_iter1224 = (*(this->uniqueConstraints)).begin(); _iter1224 != (*(this->uniqueConstraints)).end(); ++_iter1224) + std::vector ::const_iterator _iter1230; + for (_iter1230 = (*(this->uniqueConstraints)).begin(); _iter1230 != (*(this->uniqueConstraints)).end(); ++_iter1230) { - xfer += (*_iter1224).write(oprot); + xfer += (*_iter1230).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4753,10 +4753,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 _iter1225; - for (_iter1225 = (*(this->notNullConstraints)).begin(); _iter1225 != (*(this->notNullConstraints)).end(); ++_iter1225) + std::vector ::const_iterator _iter1231; + for (_iter1231 = (*(this->notNullConstraints)).begin(); _iter1231 != (*(this->notNullConstraints)).end(); ++_iter1231) { - xfer += (*_iter1225).write(oprot); + xfer += (*_iter1231).write(oprot); } xfer += oprot->writeListEnd(); } @@ -4765,10 +4765,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 _iter1226; - for (_iter1226 = (*(this->defaultConstraints)).begin(); _iter1226 != (*(this->defaultConstraints)).end(); ++_iter1226) + std::vector ::const_iterator _iter1232; + for (_iter1232 = (*(this->defaultConstraints)).begin(); _iter1232 != (*(this->defaultConstraints)).end(); ++_iter1232) { - xfer += (*_iter1226).write(oprot); + xfer += (*_iter1232).write(oprot); } xfer += oprot->writeListEnd(); } @@ -6729,14 +6729,14 @@ uint32_t ThriftHiveMetastore_truncate_table_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partNames.clear(); - uint32_t _size1227; - ::apache::thrift::protocol::TType _etype1230; - xfer += iprot->readListBegin(_etype1230, _size1227); - this->partNames.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->partNames.resize(_size1233); + uint32_t _i1237; + for (_i1237 = 0; _i1237 < _size1233; ++_i1237) { - xfer += iprot->readString(this->partNames[_i1231]); + xfer += iprot->readString(this->partNames[_i1237]); } xfer += iprot->readListEnd(); } @@ -6773,10 +6773,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 _iter1232; - for (_iter1232 = this->partNames.begin(); _iter1232 != this->partNames.end(); ++_iter1232) + std::vector ::const_iterator _iter1238; + for (_iter1238 = this->partNames.begin(); _iter1238 != this->partNames.end(); ++_iter1238) { - xfer += oprot->writeString((*_iter1232)); + xfer += oprot->writeString((*_iter1238)); } xfer += oprot->writeListEnd(); } @@ -6808,10 +6808,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 _iter1233; - for (_iter1233 = (*(this->partNames)).begin(); _iter1233 != (*(this->partNames)).end(); ++_iter1233) + std::vector ::const_iterator _iter1239; + for (_iter1239 = (*(this->partNames)).begin(); _iter1239 != (*(this->partNames)).end(); ++_iter1239) { - xfer += oprot->writeString((*_iter1233)); + xfer += oprot->writeString((*_iter1239)); } xfer += oprot->writeListEnd(); } @@ -7055,14 +7055,14 @@ uint32_t ThriftHiveMetastore_get_tables_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1234; - ::apache::thrift::protocol::TType _etype1237; - xfer += iprot->readListBegin(_etype1237, _size1234); - this->success.resize(_size1234); - uint32_t _i1238; - for (_i1238 = 0; _i1238 < _size1234; ++_i1238) + uint32_t _size1240; + ::apache::thrift::protocol::TType _etype1243; + xfer += iprot->readListBegin(_etype1243, _size1240); + this->success.resize(_size1240); + uint32_t _i1244; + for (_i1244 = 0; _i1244 < _size1240; ++_i1244) { - xfer += iprot->readString(this->success[_i1238]); + xfer += iprot->readString(this->success[_i1244]); } xfer += iprot->readListEnd(); } @@ -7101,10 +7101,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 _iter1239; - for (_iter1239 = this->success.begin(); _iter1239 != this->success.end(); ++_iter1239) + std::vector ::const_iterator _iter1245; + for (_iter1245 = this->success.begin(); _iter1245 != this->success.end(); ++_iter1245) { - xfer += oprot->writeString((*_iter1239)); + xfer += oprot->writeString((*_iter1245)); } xfer += oprot->writeListEnd(); } @@ -7149,14 +7149,14 @@ uint32_t ThriftHiveMetastore_get_tables_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1240; - ::apache::thrift::protocol::TType _etype1243; - xfer += iprot->readListBegin(_etype1243, _size1240); - (*(this->success)).resize(_size1240); - uint32_t _i1244; - for (_i1244 = 0; _i1244 < _size1240; ++_i1244) + uint32_t _size1246; + ::apache::thrift::protocol::TType _etype1249; + xfer += iprot->readListBegin(_etype1249, _size1246); + (*(this->success)).resize(_size1246); + uint32_t _i1250; + for (_i1250 = 0; _i1250 < _size1246; ++_i1250) { - xfer += iprot->readString((*(this->success))[_i1244]); + xfer += iprot->readString((*(this->success))[_i1250]); } xfer += iprot->readListEnd(); } @@ -7326,14 +7326,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 _size1245; - ::apache::thrift::protocol::TType _etype1248; - xfer += iprot->readListBegin(_etype1248, _size1245); - this->success.resize(_size1245); - uint32_t _i1249; - for (_i1249 = 0; _i1249 < _size1245; ++_i1249) + uint32_t _size1251; + ::apache::thrift::protocol::TType _etype1254; + xfer += iprot->readListBegin(_etype1254, _size1251); + this->success.resize(_size1251); + uint32_t _i1255; + for (_i1255 = 0; _i1255 < _size1251; ++_i1255) { - xfer += iprot->readString(this->success[_i1249]); + xfer += iprot->readString(this->success[_i1255]); } xfer += iprot->readListEnd(); } @@ -7372,10 +7372,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 _iter1250; - for (_iter1250 = this->success.begin(); _iter1250 != this->success.end(); ++_iter1250) + std::vector ::const_iterator _iter1256; + for (_iter1256 = this->success.begin(); _iter1256 != this->success.end(); ++_iter1256) { - xfer += oprot->writeString((*_iter1250)); + xfer += oprot->writeString((*_iter1256)); } xfer += oprot->writeListEnd(); } @@ -7420,14 +7420,14 @@ uint32_t ThriftHiveMetastore_get_tables_by_type_presult::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1251; - ::apache::thrift::protocol::TType _etype1254; - xfer += iprot->readListBegin(_etype1254, _size1251); - (*(this->success)).resize(_size1251); - uint32_t _i1255; - for (_i1255 = 0; _i1255 < _size1251; ++_i1255) + uint32_t _size1257; + ::apache::thrift::protocol::TType _etype1260; + xfer += iprot->readListBegin(_etype1260, _size1257); + (*(this->success)).resize(_size1257); + uint32_t _i1261; + for (_i1261 = 0; _i1261 < _size1257; ++_i1261) { - xfer += iprot->readString((*(this->success))[_i1255]); + xfer += iprot->readString((*(this->success))[_i1261]); } xfer += iprot->readListEnd(); } @@ -7565,14 +7565,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_result::read(: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1256; - ::apache::thrift::protocol::TType _etype1259; - xfer += iprot->readListBegin(_etype1259, _size1256); - this->success.resize(_size1256); - uint32_t _i1260; - for (_i1260 = 0; _i1260 < _size1256; ++_i1260) + uint32_t _size1262; + ::apache::thrift::protocol::TType _etype1265; + xfer += iprot->readListBegin(_etype1265, _size1262); + this->success.resize(_size1262); + uint32_t _i1266; + for (_i1266 = 0; _i1266 < _size1262; ++_i1266) { - xfer += iprot->readString(this->success[_i1260]); + xfer += iprot->readString(this->success[_i1266]); } xfer += iprot->readListEnd(); } @@ -7611,10 +7611,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 _iter1261; - for (_iter1261 = this->success.begin(); _iter1261 != this->success.end(); ++_iter1261) + std::vector ::const_iterator _iter1267; + for (_iter1267 = this->success.begin(); _iter1267 != this->success.end(); ++_iter1267) { - xfer += oprot->writeString((*_iter1261)); + xfer += oprot->writeString((*_iter1267)); } xfer += oprot->writeListEnd(); } @@ -7659,14 +7659,14 @@ uint32_t ThriftHiveMetastore_get_materialized_views_for_rewriting_presult::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1262; - ::apache::thrift::protocol::TType _etype1265; - xfer += iprot->readListBegin(_etype1265, _size1262); - (*(this->success)).resize(_size1262); - uint32_t _i1266; - for (_i1266 = 0; _i1266 < _size1262; ++_i1266) + uint32_t _size1268; + ::apache::thrift::protocol::TType _etype1271; + xfer += iprot->readListBegin(_etype1271, _size1268); + (*(this->success)).resize(_size1268); + uint32_t _i1272; + for (_i1272 = 0; _i1272 < _size1268; ++_i1272) { - xfer += iprot->readString((*(this->success))[_i1266]); + xfer += iprot->readString((*(this->success))[_i1272]); } xfer += iprot->readListEnd(); } @@ -7741,14 +7741,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 _size1267; - ::apache::thrift::protocol::TType _etype1270; - xfer += iprot->readListBegin(_etype1270, _size1267); - this->tbl_types.resize(_size1267); - uint32_t _i1271; - for (_i1271 = 0; _i1271 < _size1267; ++_i1271) + uint32_t _size1273; + ::apache::thrift::protocol::TType _etype1276; + xfer += iprot->readListBegin(_etype1276, _size1273); + this->tbl_types.resize(_size1273); + uint32_t _i1277; + for (_i1277 = 0; _i1277 < _size1273; ++_i1277) { - xfer += iprot->readString(this->tbl_types[_i1271]); + xfer += iprot->readString(this->tbl_types[_i1277]); } xfer += iprot->readListEnd(); } @@ -7785,10 +7785,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 _iter1272; - for (_iter1272 = this->tbl_types.begin(); _iter1272 != this->tbl_types.end(); ++_iter1272) + std::vector ::const_iterator _iter1278; + for (_iter1278 = this->tbl_types.begin(); _iter1278 != this->tbl_types.end(); ++_iter1278) { - xfer += oprot->writeString((*_iter1272)); + xfer += oprot->writeString((*_iter1278)); } xfer += oprot->writeListEnd(); } @@ -7820,10 +7820,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 _iter1273; - for (_iter1273 = (*(this->tbl_types)).begin(); _iter1273 != (*(this->tbl_types)).end(); ++_iter1273) + std::vector ::const_iterator _iter1279; + for (_iter1279 = (*(this->tbl_types)).begin(); _iter1279 != (*(this->tbl_types)).end(); ++_iter1279) { - xfer += oprot->writeString((*_iter1273)); + xfer += oprot->writeString((*_iter1279)); } xfer += oprot->writeListEnd(); } @@ -7864,14 +7864,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1274; - ::apache::thrift::protocol::TType _etype1277; - xfer += iprot->readListBegin(_etype1277, _size1274); - this->success.resize(_size1274); - uint32_t _i1278; - for (_i1278 = 0; _i1278 < _size1274; ++_i1278) + uint32_t _size1280; + ::apache::thrift::protocol::TType _etype1283; + xfer += iprot->readListBegin(_etype1283, _size1280); + this->success.resize(_size1280); + uint32_t _i1284; + for (_i1284 = 0; _i1284 < _size1280; ++_i1284) { - xfer += this->success[_i1278].read(iprot); + xfer += this->success[_i1284].read(iprot); } xfer += iprot->readListEnd(); } @@ -7910,10 +7910,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 _iter1279; - for (_iter1279 = this->success.begin(); _iter1279 != this->success.end(); ++_iter1279) + std::vector ::const_iterator _iter1285; + for (_iter1285 = this->success.begin(); _iter1285 != this->success.end(); ++_iter1285) { - xfer += (*_iter1279).write(oprot); + xfer += (*_iter1285).write(oprot); } xfer += oprot->writeListEnd(); } @@ -7958,14 +7958,14 @@ uint32_t ThriftHiveMetastore_get_table_meta_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1280; - ::apache::thrift::protocol::TType _etype1283; - xfer += iprot->readListBegin(_etype1283, _size1280); - (*(this->success)).resize(_size1280); - uint32_t _i1284; - for (_i1284 = 0; _i1284 < _size1280; ++_i1284) + uint32_t _size1286; + ::apache::thrift::protocol::TType _etype1289; + xfer += iprot->readListBegin(_etype1289, _size1286); + (*(this->success)).resize(_size1286); + uint32_t _i1290; + for (_i1290 = 0; _i1290 < _size1286; ++_i1290) { - xfer += (*(this->success))[_i1284].read(iprot); + xfer += (*(this->success))[_i1290].read(iprot); } xfer += iprot->readListEnd(); } @@ -8103,14 +8103,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1285; - ::apache::thrift::protocol::TType _etype1288; - xfer += iprot->readListBegin(_etype1288, _size1285); - this->success.resize(_size1285); - uint32_t _i1289; - for (_i1289 = 0; _i1289 < _size1285; ++_i1289) + uint32_t _size1291; + ::apache::thrift::protocol::TType _etype1294; + xfer += iprot->readListBegin(_etype1294, _size1291); + this->success.resize(_size1291); + uint32_t _i1295; + for (_i1295 = 0; _i1295 < _size1291; ++_i1295) { - xfer += iprot->readString(this->success[_i1289]); + xfer += iprot->readString(this->success[_i1295]); } xfer += iprot->readListEnd(); } @@ -8149,10 +8149,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 _iter1290; - for (_iter1290 = this->success.begin(); _iter1290 != this->success.end(); ++_iter1290) + std::vector ::const_iterator _iter1296; + for (_iter1296 = this->success.begin(); _iter1296 != this->success.end(); ++_iter1296) { - xfer += oprot->writeString((*_iter1290)); + xfer += oprot->writeString((*_iter1296)); } xfer += oprot->writeListEnd(); } @@ -8197,14 +8197,14 @@ uint32_t ThriftHiveMetastore_get_all_tables_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1291; - ::apache::thrift::protocol::TType _etype1294; - xfer += iprot->readListBegin(_etype1294, _size1291); - (*(this->success)).resize(_size1291); - uint32_t _i1295; - for (_i1295 = 0; _i1295 < _size1291; ++_i1295) + uint32_t _size1297; + ::apache::thrift::protocol::TType _etype1300; + xfer += iprot->readListBegin(_etype1300, _size1297); + (*(this->success)).resize(_size1297); + uint32_t _i1301; + for (_i1301 = 0; _i1301 < _size1297; ++_i1301) { - xfer += iprot->readString((*(this->success))[_i1295]); + xfer += iprot->readString((*(this->success))[_i1301]); } xfer += iprot->readListEnd(); } @@ -8514,14 +8514,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 _size1296; - ::apache::thrift::protocol::TType _etype1299; - xfer += iprot->readListBegin(_etype1299, _size1296); - this->tbl_names.resize(_size1296); - uint32_t _i1300; - for (_i1300 = 0; _i1300 < _size1296; ++_i1300) + uint32_t _size1302; + ::apache::thrift::protocol::TType _etype1305; + xfer += iprot->readListBegin(_etype1305, _size1302); + this->tbl_names.resize(_size1302); + uint32_t _i1306; + for (_i1306 = 0; _i1306 < _size1302; ++_i1306) { - xfer += iprot->readString(this->tbl_names[_i1300]); + xfer += iprot->readString(this->tbl_names[_i1306]); } xfer += iprot->readListEnd(); } @@ -8554,10 +8554,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 _iter1301; - for (_iter1301 = this->tbl_names.begin(); _iter1301 != this->tbl_names.end(); ++_iter1301) + std::vector ::const_iterator _iter1307; + for (_iter1307 = this->tbl_names.begin(); _iter1307 != this->tbl_names.end(); ++_iter1307) { - xfer += oprot->writeString((*_iter1301)); + xfer += oprot->writeString((*_iter1307)); } xfer += oprot->writeListEnd(); } @@ -8585,10 +8585,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 _iter1302; - for (_iter1302 = (*(this->tbl_names)).begin(); _iter1302 != (*(this->tbl_names)).end(); ++_iter1302) + std::vector ::const_iterator _iter1308; + for (_iter1308 = (*(this->tbl_names)).begin(); _iter1308 != (*(this->tbl_names)).end(); ++_iter1308) { - xfer += oprot->writeString((*_iter1302)); + xfer += oprot->writeString((*_iter1308)); } xfer += oprot->writeListEnd(); } @@ -8629,14 +8629,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 _size1303; - ::apache::thrift::protocol::TType _etype1306; - xfer += iprot->readListBegin(_etype1306, _size1303); - this->success.resize(_size1303); - uint32_t _i1307; - for (_i1307 = 0; _i1307 < _size1303; ++_i1307) + 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) { - xfer += this->success[_i1307].read(iprot); + xfer += this->success[_i1313].read(iprot); } xfer += iprot->readListEnd(); } @@ -8667,10 +8667,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 _iter1308; - for (_iter1308 = this->success.begin(); _iter1308 != this->success.end(); ++_iter1308) + std::vector
::const_iterator _iter1314; + for (_iter1314 = this->success.begin(); _iter1314 != this->success.end(); ++_iter1314) { - xfer += (*_iter1308).write(oprot); + xfer += (*_iter1314).write(oprot); } xfer += oprot->writeListEnd(); } @@ -8711,14 +8711,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 _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 += (*(this->success))[_i1313].read(iprot); + xfer += (*(this->success))[_i1319].read(iprot); } xfer += iprot->readListEnd(); } @@ -9251,14 +9251,14 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_args::read(:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tbl_names.clear(); - uint32_t _size1314; - ::apache::thrift::protocol::TType _etype1317; - xfer += iprot->readListBegin(_etype1317, _size1314); - this->tbl_names.resize(_size1314); - uint32_t _i1318; - for (_i1318 = 0; _i1318 < _size1314; ++_i1318) + uint32_t _size1320; + ::apache::thrift::protocol::TType _etype1323; + xfer += iprot->readListBegin(_etype1323, _size1320); + this->tbl_names.resize(_size1320); + uint32_t _i1324; + for (_i1324 = 0; _i1324 < _size1320; ++_i1324) { - xfer += iprot->readString(this->tbl_names[_i1318]); + xfer += iprot->readString(this->tbl_names[_i1324]); } xfer += iprot->readListEnd(); } @@ -9291,10 +9291,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 _iter1319; - for (_iter1319 = this->tbl_names.begin(); _iter1319 != this->tbl_names.end(); ++_iter1319) + std::vector ::const_iterator _iter1325; + for (_iter1325 = this->tbl_names.begin(); _iter1325 != this->tbl_names.end(); ++_iter1325) { - xfer += oprot->writeString((*_iter1319)); + xfer += oprot->writeString((*_iter1325)); } xfer += oprot->writeListEnd(); } @@ -9322,10 +9322,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 _iter1320; - for (_iter1320 = (*(this->tbl_names)).begin(); _iter1320 != (*(this->tbl_names)).end(); ++_iter1320) + std::vector ::const_iterator _iter1326; + for (_iter1326 = (*(this->tbl_names)).begin(); _iter1326 != (*(this->tbl_names)).end(); ++_iter1326) { - xfer += oprot->writeString((*_iter1320)); + xfer += oprot->writeString((*_iter1326)); } xfer += oprot->writeListEnd(); } @@ -9366,17 +9366,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_result::read( if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1321; - ::apache::thrift::protocol::TType _ktype1322; - ::apache::thrift::protocol::TType _vtype1323; - xfer += iprot->readMapBegin(_ktype1322, _vtype1323, _size1321); - uint32_t _i1325; - for (_i1325 = 0; _i1325 < _size1321; ++_i1325) + uint32_t _size1327; + ::apache::thrift::protocol::TType _ktype1328; + ::apache::thrift::protocol::TType _vtype1329; + xfer += iprot->readMapBegin(_ktype1328, _vtype1329, _size1327); + uint32_t _i1331; + for (_i1331 = 0; _i1331 < _size1327; ++_i1331) { - std::string _key1326; - xfer += iprot->readString(_key1326); - Materialization& _val1327 = this->success[_key1326]; - xfer += _val1327.read(iprot); + std::string _key1332; + xfer += iprot->readString(_key1332); + Materialization& _val1333 = this->success[_key1332]; + xfer += _val1333.read(iprot); } xfer += iprot->readMapEnd(); } @@ -9431,11 +9431,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 _iter1328; - for (_iter1328 = this->success.begin(); _iter1328 != this->success.end(); ++_iter1328) + std::map ::const_iterator _iter1334; + for (_iter1334 = this->success.begin(); _iter1334 != this->success.end(); ++_iter1334) { - xfer += oprot->writeString(_iter1328->first); - xfer += _iter1328->second.write(oprot); + xfer += oprot->writeString(_iter1334->first); + xfer += _iter1334->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -9488,17 +9488,17 @@ uint32_t ThriftHiveMetastore_get_materialization_invalidation_info_presult::read if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1329; - ::apache::thrift::protocol::TType _ktype1330; - ::apache::thrift::protocol::TType _vtype1331; - xfer += iprot->readMapBegin(_ktype1330, _vtype1331, _size1329); - uint32_t _i1333; - for (_i1333 = 0; _i1333 < _size1329; ++_i1333) + uint32_t _size1335; + ::apache::thrift::protocol::TType _ktype1336; + ::apache::thrift::protocol::TType _vtype1337; + xfer += iprot->readMapBegin(_ktype1336, _vtype1337, _size1335); + uint32_t _i1339; + for (_i1339 = 0; _i1339 < _size1335; ++_i1339) { - std::string _key1334; - xfer += iprot->readString(_key1334); - Materialization& _val1335 = (*(this->success))[_key1334]; - xfer += _val1335.read(iprot); + std::string _key1340; + xfer += iprot->readString(_key1340); + Materialization& _val1341 = (*(this->success))[_key1340]; + xfer += _val1341.read(iprot); } xfer += iprot->readMapEnd(); } @@ -9943,14 +9943,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 _size1336; - ::apache::thrift::protocol::TType _etype1339; - xfer += iprot->readListBegin(_etype1339, _size1336); - this->success.resize(_size1336); - uint32_t _i1340; - for (_i1340 = 0; _i1340 < _size1336; ++_i1340) + uint32_t _size1342; + ::apache::thrift::protocol::TType _etype1345; + xfer += iprot->readListBegin(_etype1345, _size1342); + this->success.resize(_size1342); + uint32_t _i1346; + for (_i1346 = 0; _i1346 < _size1342; ++_i1346) { - xfer += iprot->readString(this->success[_i1340]); + xfer += iprot->readString(this->success[_i1346]); } xfer += iprot->readListEnd(); } @@ -10005,10 +10005,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 _iter1341; - for (_iter1341 = this->success.begin(); _iter1341 != this->success.end(); ++_iter1341) + std::vector ::const_iterator _iter1347; + for (_iter1347 = this->success.begin(); _iter1347 != this->success.end(); ++_iter1347) { - xfer += oprot->writeString((*_iter1341)); + xfer += oprot->writeString((*_iter1347)); } xfer += oprot->writeListEnd(); } @@ -10061,14 +10061,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 _size1342; - ::apache::thrift::protocol::TType _etype1345; - xfer += iprot->readListBegin(_etype1345, _size1342); - (*(this->success)).resize(_size1342); - uint32_t _i1346; - for (_i1346 = 0; _i1346 < _size1342; ++_i1346) + uint32_t _size1348; + ::apache::thrift::protocol::TType _etype1351; + xfer += iprot->readListBegin(_etype1351, _size1348); + (*(this->success)).resize(_size1348); + uint32_t _i1352; + for (_i1352 = 0; _i1352 < _size1348; ++_i1352) { - xfer += iprot->readString((*(this->success))[_i1346]); + xfer += iprot->readString((*(this->success))[_i1352]); } xfer += iprot->readListEnd(); } @@ -11402,14 +11402,14 @@ uint32_t ThriftHiveMetastore_add_partitions_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1347; - ::apache::thrift::protocol::TType _etype1350; - xfer += iprot->readListBegin(_etype1350, _size1347); - this->new_parts.resize(_size1347); - uint32_t _i1351; - for (_i1351 = 0; _i1351 < _size1347; ++_i1351) + uint32_t _size1353; + ::apache::thrift::protocol::TType _etype1356; + xfer += iprot->readListBegin(_etype1356, _size1353); + this->new_parts.resize(_size1353); + uint32_t _i1357; + for (_i1357 = 0; _i1357 < _size1353; ++_i1357) { - xfer += this->new_parts[_i1351].read(iprot); + xfer += this->new_parts[_i1357].read(iprot); } xfer += iprot->readListEnd(); } @@ -11438,10 +11438,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 _iter1352; - for (_iter1352 = this->new_parts.begin(); _iter1352 != this->new_parts.end(); ++_iter1352) + std::vector ::const_iterator _iter1358; + for (_iter1358 = this->new_parts.begin(); _iter1358 != this->new_parts.end(); ++_iter1358) { - xfer += (*_iter1352).write(oprot); + xfer += (*_iter1358).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11465,10 +11465,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 _iter1353; - for (_iter1353 = (*(this->new_parts)).begin(); _iter1353 != (*(this->new_parts)).end(); ++_iter1353) + std::vector ::const_iterator _iter1359; + for (_iter1359 = (*(this->new_parts)).begin(); _iter1359 != (*(this->new_parts)).end(); ++_iter1359) { - xfer += (*_iter1353).write(oprot); + xfer += (*_iter1359).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11677,14 +11677,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 _size1354; - ::apache::thrift::protocol::TType _etype1357; - xfer += iprot->readListBegin(_etype1357, _size1354); - this->new_parts.resize(_size1354); - uint32_t _i1358; - for (_i1358 = 0; _i1358 < _size1354; ++_i1358) + uint32_t _size1360; + ::apache::thrift::protocol::TType _etype1363; + xfer += iprot->readListBegin(_etype1363, _size1360); + this->new_parts.resize(_size1360); + uint32_t _i1364; + for (_i1364 = 0; _i1364 < _size1360; ++_i1364) { - xfer += this->new_parts[_i1358].read(iprot); + xfer += this->new_parts[_i1364].read(iprot); } xfer += iprot->readListEnd(); } @@ -11713,10 +11713,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 _iter1359; - for (_iter1359 = this->new_parts.begin(); _iter1359 != this->new_parts.end(); ++_iter1359) + std::vector ::const_iterator _iter1365; + for (_iter1365 = this->new_parts.begin(); _iter1365 != this->new_parts.end(); ++_iter1365) { - xfer += (*_iter1359).write(oprot); + xfer += (*_iter1365).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11740,10 +11740,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 _iter1360; - for (_iter1360 = (*(this->new_parts)).begin(); _iter1360 != (*(this->new_parts)).end(); ++_iter1360) + std::vector ::const_iterator _iter1366; + for (_iter1366 = (*(this->new_parts)).begin(); _iter1366 != (*(this->new_parts)).end(); ++_iter1366) { - xfer += (*_iter1360).write(oprot); + xfer += (*_iter1366).write(oprot); } xfer += oprot->writeListEnd(); } @@ -11968,14 +11968,14 @@ uint32_t ThriftHiveMetastore_append_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1361; - ::apache::thrift::protocol::TType _etype1364; - xfer += iprot->readListBegin(_etype1364, _size1361); - this->part_vals.resize(_size1361); - uint32_t _i1365; - for (_i1365 = 0; _i1365 < _size1361; ++_i1365) + uint32_t _size1367; + ::apache::thrift::protocol::TType _etype1370; + xfer += iprot->readListBegin(_etype1370, _size1367); + this->part_vals.resize(_size1367); + uint32_t _i1371; + for (_i1371 = 0; _i1371 < _size1367; ++_i1371) { - xfer += iprot->readString(this->part_vals[_i1365]); + xfer += iprot->readString(this->part_vals[_i1371]); } xfer += iprot->readListEnd(); } @@ -12012,10 +12012,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 _iter1366; - for (_iter1366 = this->part_vals.begin(); _iter1366 != this->part_vals.end(); ++_iter1366) + std::vector ::const_iterator _iter1372; + for (_iter1372 = this->part_vals.begin(); _iter1372 != this->part_vals.end(); ++_iter1372) { - xfer += oprot->writeString((*_iter1366)); + xfer += oprot->writeString((*_iter1372)); } xfer += oprot->writeListEnd(); } @@ -12047,10 +12047,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 _iter1367; - for (_iter1367 = (*(this->part_vals)).begin(); _iter1367 != (*(this->part_vals)).end(); ++_iter1367) + std::vector ::const_iterator _iter1373; + for (_iter1373 = (*(this->part_vals)).begin(); _iter1373 != (*(this->part_vals)).end(); ++_iter1373) { - xfer += oprot->writeString((*_iter1367)); + xfer += oprot->writeString((*_iter1373)); } xfer += oprot->writeListEnd(); } @@ -12522,14 +12522,14 @@ uint32_t ThriftHiveMetastore_append_partition_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1368; - ::apache::thrift::protocol::TType _etype1371; - xfer += iprot->readListBegin(_etype1371, _size1368); - this->part_vals.resize(_size1368); - uint32_t _i1372; - for (_i1372 = 0; _i1372 < _size1368; ++_i1372) + uint32_t _size1374; + ::apache::thrift::protocol::TType _etype1377; + xfer += iprot->readListBegin(_etype1377, _size1374); + this->part_vals.resize(_size1374); + uint32_t _i1378; + for (_i1378 = 0; _i1378 < _size1374; ++_i1378) { - xfer += iprot->readString(this->part_vals[_i1372]); + xfer += iprot->readString(this->part_vals[_i1378]); } xfer += iprot->readListEnd(); } @@ -12574,10 +12574,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 _iter1373; - for (_iter1373 = this->part_vals.begin(); _iter1373 != this->part_vals.end(); ++_iter1373) + std::vector ::const_iterator _iter1379; + for (_iter1379 = this->part_vals.begin(); _iter1379 != this->part_vals.end(); ++_iter1379) { - xfer += oprot->writeString((*_iter1373)); + xfer += oprot->writeString((*_iter1379)); } xfer += oprot->writeListEnd(); } @@ -12613,10 +12613,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 _iter1374; - for (_iter1374 = (*(this->part_vals)).begin(); _iter1374 != (*(this->part_vals)).end(); ++_iter1374) + std::vector ::const_iterator _iter1380; + for (_iter1380 = (*(this->part_vals)).begin(); _iter1380 != (*(this->part_vals)).end(); ++_iter1380) { - xfer += oprot->writeString((*_iter1374)); + xfer += oprot->writeString((*_iter1380)); } xfer += oprot->writeListEnd(); } @@ -13419,14 +13419,14 @@ uint32_t ThriftHiveMetastore_drop_partition_args::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1375; - ::apache::thrift::protocol::TType _etype1378; - xfer += iprot->readListBegin(_etype1378, _size1375); - this->part_vals.resize(_size1375); - uint32_t _i1379; - for (_i1379 = 0; _i1379 < _size1375; ++_i1379) + uint32_t _size1381; + ::apache::thrift::protocol::TType _etype1384; + xfer += iprot->readListBegin(_etype1384, _size1381); + this->part_vals.resize(_size1381); + uint32_t _i1385; + for (_i1385 = 0; _i1385 < _size1381; ++_i1385) { - xfer += iprot->readString(this->part_vals[_i1379]); + xfer += iprot->readString(this->part_vals[_i1385]); } xfer += iprot->readListEnd(); } @@ -13471,10 +13471,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 _iter1380; - for (_iter1380 = this->part_vals.begin(); _iter1380 != this->part_vals.end(); ++_iter1380) + std::vector ::const_iterator _iter1386; + for (_iter1386 = this->part_vals.begin(); _iter1386 != this->part_vals.end(); ++_iter1386) { - xfer += oprot->writeString((*_iter1380)); + xfer += oprot->writeString((*_iter1386)); } xfer += oprot->writeListEnd(); } @@ -13510,10 +13510,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 _iter1381; - for (_iter1381 = (*(this->part_vals)).begin(); _iter1381 != (*(this->part_vals)).end(); ++_iter1381) + std::vector ::const_iterator _iter1387; + for (_iter1387 = (*(this->part_vals)).begin(); _iter1387 != (*(this->part_vals)).end(); ++_iter1387) { - xfer += oprot->writeString((*_iter1381)); + xfer += oprot->writeString((*_iter1387)); } xfer += oprot->writeListEnd(); } @@ -13722,14 +13722,14 @@ uint32_t ThriftHiveMetastore_drop_partition_with_environment_context_args::read( if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1382; - ::apache::thrift::protocol::TType _etype1385; - xfer += iprot->readListBegin(_etype1385, _size1382); - this->part_vals.resize(_size1382); - uint32_t _i1386; - for (_i1386 = 0; _i1386 < _size1382; ++_i1386) + uint32_t _size1388; + ::apache::thrift::protocol::TType _etype1391; + xfer += iprot->readListBegin(_etype1391, _size1388); + this->part_vals.resize(_size1388); + uint32_t _i1392; + for (_i1392 = 0; _i1392 < _size1388; ++_i1392) { - xfer += iprot->readString(this->part_vals[_i1386]); + xfer += iprot->readString(this->part_vals[_i1392]); } xfer += iprot->readListEnd(); } @@ -13782,10 +13782,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 _iter1387; - for (_iter1387 = this->part_vals.begin(); _iter1387 != this->part_vals.end(); ++_iter1387) + std::vector ::const_iterator _iter1393; + for (_iter1393 = this->part_vals.begin(); _iter1393 != this->part_vals.end(); ++_iter1393) { - xfer += oprot->writeString((*_iter1387)); + xfer += oprot->writeString((*_iter1393)); } xfer += oprot->writeListEnd(); } @@ -13825,10 +13825,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 _iter1388; - for (_iter1388 = (*(this->part_vals)).begin(); _iter1388 != (*(this->part_vals)).end(); ++_iter1388) + std::vector ::const_iterator _iter1394; + for (_iter1394 = (*(this->part_vals)).begin(); _iter1394 != (*(this->part_vals)).end(); ++_iter1394) { - xfer += oprot->writeString((*_iter1388)); + xfer += oprot->writeString((*_iter1394)); } xfer += oprot->writeListEnd(); } @@ -14834,14 +14834,14 @@ uint32_t ThriftHiveMetastore_get_partition_args::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1389; - ::apache::thrift::protocol::TType _etype1392; - xfer += iprot->readListBegin(_etype1392, _size1389); - this->part_vals.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->part_vals.resize(_size1395); + uint32_t _i1399; + for (_i1399 = 0; _i1399 < _size1395; ++_i1399) { - xfer += iprot->readString(this->part_vals[_i1393]); + xfer += iprot->readString(this->part_vals[_i1399]); } xfer += iprot->readListEnd(); } @@ -14878,10 +14878,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 _iter1394; - for (_iter1394 = this->part_vals.begin(); _iter1394 != this->part_vals.end(); ++_iter1394) + std::vector ::const_iterator _iter1400; + for (_iter1400 = this->part_vals.begin(); _iter1400 != this->part_vals.end(); ++_iter1400) { - xfer += oprot->writeString((*_iter1394)); + xfer += oprot->writeString((*_iter1400)); } xfer += oprot->writeListEnd(); } @@ -14913,10 +14913,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 _iter1395; - for (_iter1395 = (*(this->part_vals)).begin(); _iter1395 != (*(this->part_vals)).end(); ++_iter1395) + std::vector ::const_iterator _iter1401; + for (_iter1401 = (*(this->part_vals)).begin(); _iter1401 != (*(this->part_vals)).end(); ++_iter1401) { - xfer += oprot->writeString((*_iter1395)); + xfer += oprot->writeString((*_iter1401)); } xfer += oprot->writeListEnd(); } @@ -15105,17 +15105,17 @@ uint32_t ThriftHiveMetastore_exchange_partition_args::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1396; - ::apache::thrift::protocol::TType _ktype1397; - ::apache::thrift::protocol::TType _vtype1398; - xfer += iprot->readMapBegin(_ktype1397, _vtype1398, _size1396); - uint32_t _i1400; - for (_i1400 = 0; _i1400 < _size1396; ++_i1400) + uint32_t _size1402; + ::apache::thrift::protocol::TType _ktype1403; + ::apache::thrift::protocol::TType _vtype1404; + xfer += iprot->readMapBegin(_ktype1403, _vtype1404, _size1402); + uint32_t _i1406; + for (_i1406 = 0; _i1406 < _size1402; ++_i1406) { - std::string _key1401; - xfer += iprot->readString(_key1401); - std::string& _val1402 = this->partitionSpecs[_key1401]; - xfer += iprot->readString(_val1402); + std::string _key1407; + xfer += iprot->readString(_key1407); + std::string& _val1408 = this->partitionSpecs[_key1407]; + xfer += iprot->readString(_val1408); } xfer += iprot->readMapEnd(); } @@ -15176,11 +15176,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 _iter1403; - for (_iter1403 = this->partitionSpecs.begin(); _iter1403 != this->partitionSpecs.end(); ++_iter1403) + std::map ::const_iterator _iter1409; + for (_iter1409 = this->partitionSpecs.begin(); _iter1409 != this->partitionSpecs.end(); ++_iter1409) { - xfer += oprot->writeString(_iter1403->first); - xfer += oprot->writeString(_iter1403->second); + xfer += oprot->writeString(_iter1409->first); + xfer += oprot->writeString(_iter1409->second); } xfer += oprot->writeMapEnd(); } @@ -15220,11 +15220,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 _iter1404; - for (_iter1404 = (*(this->partitionSpecs)).begin(); _iter1404 != (*(this->partitionSpecs)).end(); ++_iter1404) + std::map ::const_iterator _iter1410; + for (_iter1410 = (*(this->partitionSpecs)).begin(); _iter1410 != (*(this->partitionSpecs)).end(); ++_iter1410) { - xfer += oprot->writeString(_iter1404->first); - xfer += oprot->writeString(_iter1404->second); + xfer += oprot->writeString(_iter1410->first); + xfer += oprot->writeString(_iter1410->second); } xfer += oprot->writeMapEnd(); } @@ -15469,17 +15469,17 @@ uint32_t ThriftHiveMetastore_exchange_partitions_args::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_MAP) { { this->partitionSpecs.clear(); - uint32_t _size1405; - ::apache::thrift::protocol::TType _ktype1406; - ::apache::thrift::protocol::TType _vtype1407; - xfer += iprot->readMapBegin(_ktype1406, _vtype1407, _size1405); - uint32_t _i1409; - for (_i1409 = 0; _i1409 < _size1405; ++_i1409) + uint32_t _size1411; + ::apache::thrift::protocol::TType _ktype1412; + ::apache::thrift::protocol::TType _vtype1413; + xfer += iprot->readMapBegin(_ktype1412, _vtype1413, _size1411); + uint32_t _i1415; + for (_i1415 = 0; _i1415 < _size1411; ++_i1415) { - std::string _key1410; - xfer += iprot->readString(_key1410); - std::string& _val1411 = this->partitionSpecs[_key1410]; - xfer += iprot->readString(_val1411); + std::string _key1416; + xfer += iprot->readString(_key1416); + std::string& _val1417 = this->partitionSpecs[_key1416]; + xfer += iprot->readString(_val1417); } xfer += iprot->readMapEnd(); } @@ -15540,11 +15540,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 _iter1412; - for (_iter1412 = this->partitionSpecs.begin(); _iter1412 != this->partitionSpecs.end(); ++_iter1412) + std::map ::const_iterator _iter1418; + for (_iter1418 = this->partitionSpecs.begin(); _iter1418 != this->partitionSpecs.end(); ++_iter1418) { - xfer += oprot->writeString(_iter1412->first); - xfer += oprot->writeString(_iter1412->second); + xfer += oprot->writeString(_iter1418->first); + xfer += oprot->writeString(_iter1418->second); } xfer += oprot->writeMapEnd(); } @@ -15584,11 +15584,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 _iter1413; - for (_iter1413 = (*(this->partitionSpecs)).begin(); _iter1413 != (*(this->partitionSpecs)).end(); ++_iter1413) + std::map ::const_iterator _iter1419; + for (_iter1419 = (*(this->partitionSpecs)).begin(); _iter1419 != (*(this->partitionSpecs)).end(); ++_iter1419) { - xfer += oprot->writeString(_iter1413->first); - xfer += oprot->writeString(_iter1413->second); + xfer += oprot->writeString(_iter1419->first); + xfer += oprot->writeString(_iter1419->second); } xfer += oprot->writeMapEnd(); } @@ -15645,14 +15645,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1414; - ::apache::thrift::protocol::TType _etype1417; - xfer += iprot->readListBegin(_etype1417, _size1414); - this->success.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->success.resize(_size1420); + uint32_t _i1424; + for (_i1424 = 0; _i1424 < _size1420; ++_i1424) { - xfer += this->success[_i1418].read(iprot); + xfer += this->success[_i1424].read(iprot); } xfer += iprot->readListEnd(); } @@ -15715,10 +15715,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 _iter1419; - for (_iter1419 = this->success.begin(); _iter1419 != this->success.end(); ++_iter1419) + std::vector ::const_iterator _iter1425; + for (_iter1425 = this->success.begin(); _iter1425 != this->success.end(); ++_iter1425) { - xfer += (*_iter1419).write(oprot); + xfer += (*_iter1425).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15775,14 +15775,14 @@ uint32_t ThriftHiveMetastore_exchange_partitions_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1420; - ::apache::thrift::protocol::TType _etype1423; - xfer += iprot->readListBegin(_etype1423, _size1420); - (*(this->success)).resize(_size1420); - uint32_t _i1424; - for (_i1424 = 0; _i1424 < _size1420; ++_i1424) + uint32_t _size1426; + ::apache::thrift::protocol::TType _etype1429; + xfer += iprot->readListBegin(_etype1429, _size1426); + (*(this->success)).resize(_size1426); + uint32_t _i1430; + for (_i1430 = 0; _i1430 < _size1426; ++_i1430) { - xfer += (*(this->success))[_i1424].read(iprot); + xfer += (*(this->success))[_i1430].read(iprot); } xfer += iprot->readListEnd(); } @@ -15881,14 +15881,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 _size1425; - ::apache::thrift::protocol::TType _etype1428; - xfer += iprot->readListBegin(_etype1428, _size1425); - this->part_vals.resize(_size1425); - uint32_t _i1429; - for (_i1429 = 0; _i1429 < _size1425; ++_i1429) + uint32_t _size1431; + ::apache::thrift::protocol::TType _etype1434; + xfer += iprot->readListBegin(_etype1434, _size1431); + this->part_vals.resize(_size1431); + uint32_t _i1435; + for (_i1435 = 0; _i1435 < _size1431; ++_i1435) { - xfer += iprot->readString(this->part_vals[_i1429]); + xfer += iprot->readString(this->part_vals[_i1435]); } xfer += iprot->readListEnd(); } @@ -15909,14 +15909,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 _size1430; - ::apache::thrift::protocol::TType _etype1433; - xfer += iprot->readListBegin(_etype1433, _size1430); - this->group_names.resize(_size1430); - uint32_t _i1434; - for (_i1434 = 0; _i1434 < _size1430; ++_i1434) + uint32_t _size1436; + ::apache::thrift::protocol::TType _etype1439; + xfer += iprot->readListBegin(_etype1439, _size1436); + this->group_names.resize(_size1436); + uint32_t _i1440; + for (_i1440 = 0; _i1440 < _size1436; ++_i1440) { - xfer += iprot->readString(this->group_names[_i1434]); + xfer += iprot->readString(this->group_names[_i1440]); } xfer += iprot->readListEnd(); } @@ -15953,10 +15953,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 _iter1435; - for (_iter1435 = this->part_vals.begin(); _iter1435 != this->part_vals.end(); ++_iter1435) + std::vector ::const_iterator _iter1441; + for (_iter1441 = this->part_vals.begin(); _iter1441 != this->part_vals.end(); ++_iter1441) { - xfer += oprot->writeString((*_iter1435)); + xfer += oprot->writeString((*_iter1441)); } xfer += oprot->writeListEnd(); } @@ -15969,10 +15969,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 _iter1436; - for (_iter1436 = this->group_names.begin(); _iter1436 != this->group_names.end(); ++_iter1436) + std::vector ::const_iterator _iter1442; + for (_iter1442 = this->group_names.begin(); _iter1442 != this->group_names.end(); ++_iter1442) { - xfer += oprot->writeString((*_iter1436)); + xfer += oprot->writeString((*_iter1442)); } xfer += oprot->writeListEnd(); } @@ -16004,10 +16004,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 _iter1437; - for (_iter1437 = (*(this->part_vals)).begin(); _iter1437 != (*(this->part_vals)).end(); ++_iter1437) + std::vector ::const_iterator _iter1443; + for (_iter1443 = (*(this->part_vals)).begin(); _iter1443 != (*(this->part_vals)).end(); ++_iter1443) { - xfer += oprot->writeString((*_iter1437)); + xfer += oprot->writeString((*_iter1443)); } xfer += oprot->writeListEnd(); } @@ -16020,10 +16020,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 _iter1438; - for (_iter1438 = (*(this->group_names)).begin(); _iter1438 != (*(this->group_names)).end(); ++_iter1438) + std::vector ::const_iterator _iter1444; + for (_iter1444 = (*(this->group_names)).begin(); _iter1444 != (*(this->group_names)).end(); ++_iter1444) { - xfer += oprot->writeString((*_iter1438)); + xfer += oprot->writeString((*_iter1444)); } xfer += oprot->writeListEnd(); } @@ -16582,14 +16582,14 @@ uint32_t ThriftHiveMetastore_get_partitions_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1439; - ::apache::thrift::protocol::TType _etype1442; - xfer += iprot->readListBegin(_etype1442, _size1439); - this->success.resize(_size1439); - uint32_t _i1443; - for (_i1443 = 0; _i1443 < _size1439; ++_i1443) + uint32_t _size1445; + ::apache::thrift::protocol::TType _etype1448; + xfer += iprot->readListBegin(_etype1448, _size1445); + this->success.resize(_size1445); + uint32_t _i1449; + for (_i1449 = 0; _i1449 < _size1445; ++_i1449) { - xfer += this->success[_i1443].read(iprot); + xfer += this->success[_i1449].read(iprot); } xfer += iprot->readListEnd(); } @@ -16636,10 +16636,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 _iter1444; - for (_iter1444 = this->success.begin(); _iter1444 != this->success.end(); ++_iter1444) + std::vector ::const_iterator _iter1450; + for (_iter1450 = this->success.begin(); _iter1450 != this->success.end(); ++_iter1450) { - xfer += (*_iter1444).write(oprot); + xfer += (*_iter1450).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16688,14 +16688,14 @@ uint32_t ThriftHiveMetastore_get_partitions_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1445; - ::apache::thrift::protocol::TType _etype1448; - xfer += iprot->readListBegin(_etype1448, _size1445); - (*(this->success)).resize(_size1445); - uint32_t _i1449; - for (_i1449 = 0; _i1449 < _size1445; ++_i1449) + uint32_t _size1451; + ::apache::thrift::protocol::TType _etype1454; + xfer += iprot->readListBegin(_etype1454, _size1451); + (*(this->success)).resize(_size1451); + uint32_t _i1455; + for (_i1455 = 0; _i1455 < _size1451; ++_i1455) { - xfer += (*(this->success))[_i1449].read(iprot); + xfer += (*(this->success))[_i1455].read(iprot); } xfer += iprot->readListEnd(); } @@ -16794,14 +16794,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 _size1450; - ::apache::thrift::protocol::TType _etype1453; - xfer += iprot->readListBegin(_etype1453, _size1450); - this->group_names.resize(_size1450); - uint32_t _i1454; - for (_i1454 = 0; _i1454 < _size1450; ++_i1454) + uint32_t _size1456; + ::apache::thrift::protocol::TType _etype1459; + xfer += iprot->readListBegin(_etype1459, _size1456); + this->group_names.resize(_size1456); + uint32_t _i1460; + for (_i1460 = 0; _i1460 < _size1456; ++_i1460) { - xfer += iprot->readString(this->group_names[_i1454]); + xfer += iprot->readString(this->group_names[_i1460]); } xfer += iprot->readListEnd(); } @@ -16846,10 +16846,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 _iter1455; - for (_iter1455 = this->group_names.begin(); _iter1455 != this->group_names.end(); ++_iter1455) + std::vector ::const_iterator _iter1461; + for (_iter1461 = this->group_names.begin(); _iter1461 != this->group_names.end(); ++_iter1461) { - xfer += oprot->writeString((*_iter1455)); + xfer += oprot->writeString((*_iter1461)); } xfer += oprot->writeListEnd(); } @@ -16889,10 +16889,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 _iter1456; - for (_iter1456 = (*(this->group_names)).begin(); _iter1456 != (*(this->group_names)).end(); ++_iter1456) + std::vector ::const_iterator _iter1462; + for (_iter1462 = (*(this->group_names)).begin(); _iter1462 != (*(this->group_names)).end(); ++_iter1462) { - xfer += oprot->writeString((*_iter1456)); + xfer += oprot->writeString((*_iter1462)); } xfer += oprot->writeListEnd(); } @@ -16933,14 +16933,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1457; - ::apache::thrift::protocol::TType _etype1460; - xfer += iprot->readListBegin(_etype1460, _size1457); - this->success.resize(_size1457); - uint32_t _i1461; - for (_i1461 = 0; _i1461 < _size1457; ++_i1461) + uint32_t _size1463; + ::apache::thrift::protocol::TType _etype1466; + xfer += iprot->readListBegin(_etype1466, _size1463); + this->success.resize(_size1463); + uint32_t _i1467; + for (_i1467 = 0; _i1467 < _size1463; ++_i1467) { - xfer += this->success[_i1461].read(iprot); + xfer += this->success[_i1467].read(iprot); } xfer += iprot->readListEnd(); } @@ -16987,10 +16987,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 _iter1462; - for (_iter1462 = this->success.begin(); _iter1462 != this->success.end(); ++_iter1462) + std::vector ::const_iterator _iter1468; + for (_iter1468 = this->success.begin(); _iter1468 != this->success.end(); ++_iter1468) { - xfer += (*_iter1462).write(oprot); + xfer += (*_iter1468).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17039,14 +17039,14 @@ uint32_t ThriftHiveMetastore_get_partitions_with_auth_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1463; - ::apache::thrift::protocol::TType _etype1466; - xfer += iprot->readListBegin(_etype1466, _size1463); - (*(this->success)).resize(_size1463); - uint32_t _i1467; - for (_i1467 = 0; _i1467 < _size1463; ++_i1467) + uint32_t _size1469; + ::apache::thrift::protocol::TType _etype1472; + xfer += iprot->readListBegin(_etype1472, _size1469); + (*(this->success)).resize(_size1469); + uint32_t _i1473; + for (_i1473 = 0; _i1473 < _size1469; ++_i1473) { - xfer += (*(this->success))[_i1467].read(iprot); + xfer += (*(this->success))[_i1473].read(iprot); } xfer += iprot->readListEnd(); } @@ -17224,14 +17224,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_result::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1468; - ::apache::thrift::protocol::TType _etype1471; - xfer += iprot->readListBegin(_etype1471, _size1468); - this->success.resize(_size1468); - uint32_t _i1472; - for (_i1472 = 0; _i1472 < _size1468; ++_i1472) + uint32_t _size1474; + ::apache::thrift::protocol::TType _etype1477; + xfer += iprot->readListBegin(_etype1477, _size1474); + this->success.resize(_size1474); + uint32_t _i1478; + for (_i1478 = 0; _i1478 < _size1474; ++_i1478) { - xfer += this->success[_i1472].read(iprot); + xfer += this->success[_i1478].read(iprot); } xfer += iprot->readListEnd(); } @@ -17278,10 +17278,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 _iter1473; - for (_iter1473 = this->success.begin(); _iter1473 != this->success.end(); ++_iter1473) + std::vector ::const_iterator _iter1479; + for (_iter1479 = this->success.begin(); _iter1479 != this->success.end(); ++_iter1479) { - xfer += (*_iter1473).write(oprot); + xfer += (*_iter1479).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17330,14 +17330,14 @@ uint32_t ThriftHiveMetastore_get_partitions_pspec_presult::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1474; - ::apache::thrift::protocol::TType _etype1477; - xfer += iprot->readListBegin(_etype1477, _size1474); - (*(this->success)).resize(_size1474); - uint32_t _i1478; - for (_i1478 = 0; _i1478 < _size1474; ++_i1478) + uint32_t _size1480; + ::apache::thrift::protocol::TType _etype1483; + xfer += iprot->readListBegin(_etype1483, _size1480); + (*(this->success)).resize(_size1480); + uint32_t _i1484; + for (_i1484 = 0; _i1484 < _size1480; ++_i1484) { - xfer += (*(this->success))[_i1478].read(iprot); + xfer += (*(this->success))[_i1484].read(iprot); } xfer += iprot->readListEnd(); } @@ -17515,14 +17515,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_result::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - 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) + uint32_t _size1485; + ::apache::thrift::protocol::TType _etype1488; + xfer += iprot->readListBegin(_etype1488, _size1485); + this->success.resize(_size1485); + uint32_t _i1489; + for (_i1489 = 0; _i1489 < _size1485; ++_i1489) { - xfer += iprot->readString(this->success[_i1483]); + xfer += iprot->readString(this->success[_i1489]); } xfer += iprot->readListEnd(); } @@ -17569,10 +17569,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 _iter1484; - for (_iter1484 = this->success.begin(); _iter1484 != this->success.end(); ++_iter1484) + std::vector ::const_iterator _iter1490; + for (_iter1490 = this->success.begin(); _iter1490 != this->success.end(); ++_iter1490) { - xfer += oprot->writeString((*_iter1484)); + xfer += oprot->writeString((*_iter1490)); } xfer += oprot->writeListEnd(); } @@ -17621,14 +17621,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_presult::read(::apache::thrift: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1485; - ::apache::thrift::protocol::TType _etype1488; - xfer += iprot->readListBegin(_etype1488, _size1485); - (*(this->success)).resize(_size1485); - uint32_t _i1489; - for (_i1489 = 0; _i1489 < _size1485; ++_i1489) + uint32_t _size1491; + ::apache::thrift::protocol::TType _etype1494; + xfer += iprot->readListBegin(_etype1494, _size1491); + (*(this->success)).resize(_size1491); + uint32_t _i1495; + for (_i1495 = 0; _i1495 < _size1491; ++_i1495) { - xfer += iprot->readString((*(this->success))[_i1489]); + xfer += iprot->readString((*(this->success))[_i1495]); } xfer += iprot->readListEnd(); } @@ -17938,14 +17938,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 _size1490; - ::apache::thrift::protocol::TType _etype1493; - xfer += iprot->readListBegin(_etype1493, _size1490); - this->part_vals.resize(_size1490); - uint32_t _i1494; - for (_i1494 = 0; _i1494 < _size1490; ++_i1494) + uint32_t _size1496; + ::apache::thrift::protocol::TType _etype1499; + xfer += iprot->readListBegin(_etype1499, _size1496); + this->part_vals.resize(_size1496); + uint32_t _i1500; + for (_i1500 = 0; _i1500 < _size1496; ++_i1500) { - xfer += iprot->readString(this->part_vals[_i1494]); + xfer += iprot->readString(this->part_vals[_i1500]); } xfer += iprot->readListEnd(); } @@ -17990,10 +17990,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 _iter1495; - for (_iter1495 = this->part_vals.begin(); _iter1495 != this->part_vals.end(); ++_iter1495) + std::vector ::const_iterator _iter1501; + for (_iter1501 = this->part_vals.begin(); _iter1501 != this->part_vals.end(); ++_iter1501) { - xfer += oprot->writeString((*_iter1495)); + xfer += oprot->writeString((*_iter1501)); } xfer += oprot->writeListEnd(); } @@ -18029,10 +18029,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 _iter1496; - for (_iter1496 = (*(this->part_vals)).begin(); _iter1496 != (*(this->part_vals)).end(); ++_iter1496) + std::vector ::const_iterator _iter1502; + for (_iter1502 = (*(this->part_vals)).begin(); _iter1502 != (*(this->part_vals)).end(); ++_iter1502) { - xfer += oprot->writeString((*_iter1496)); + xfer += oprot->writeString((*_iter1502)); } xfer += oprot->writeListEnd(); } @@ -18077,14 +18077,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_result::read(::apache::thrift::pr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1497; - ::apache::thrift::protocol::TType _etype1500; - xfer += iprot->readListBegin(_etype1500, _size1497); - this->success.resize(_size1497); - uint32_t _i1501; - for (_i1501 = 0; _i1501 < _size1497; ++_i1501) + uint32_t _size1503; + ::apache::thrift::protocol::TType _etype1506; + xfer += iprot->readListBegin(_etype1506, _size1503); + this->success.resize(_size1503); + uint32_t _i1507; + for (_i1507 = 0; _i1507 < _size1503; ++_i1507) { - xfer += this->success[_i1501].read(iprot); + xfer += this->success[_i1507].read(iprot); } xfer += iprot->readListEnd(); } @@ -18131,10 +18131,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 _iter1502; - for (_iter1502 = this->success.begin(); _iter1502 != this->success.end(); ++_iter1502) + std::vector ::const_iterator _iter1508; + for (_iter1508 = this->success.begin(); _iter1508 != this->success.end(); ++_iter1508) { - xfer += (*_iter1502).write(oprot); + xfer += (*_iter1508).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18183,14 +18183,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_presult::read(::apache::thrift::p if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1503; - ::apache::thrift::protocol::TType _etype1506; - xfer += iprot->readListBegin(_etype1506, _size1503); - (*(this->success)).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->success)).resize(_size1509); + uint32_t _i1513; + for (_i1513 = 0; _i1513 < _size1509; ++_i1513) { - xfer += (*(this->success))[_i1507].read(iprot); + xfer += (*(this->success))[_i1513].read(iprot); } xfer += iprot->readListEnd(); } @@ -18273,14 +18273,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 _size1508; - ::apache::thrift::protocol::TType _etype1511; - xfer += iprot->readListBegin(_etype1511, _size1508); - this->part_vals.resize(_size1508); - uint32_t _i1512; - for (_i1512 = 0; _i1512 < _size1508; ++_i1512) + uint32_t _size1514; + ::apache::thrift::protocol::TType _etype1517; + xfer += iprot->readListBegin(_etype1517, _size1514); + this->part_vals.resize(_size1514); + uint32_t _i1518; + for (_i1518 = 0; _i1518 < _size1514; ++_i1518) { - xfer += iprot->readString(this->part_vals[_i1512]); + xfer += iprot->readString(this->part_vals[_i1518]); } xfer += iprot->readListEnd(); } @@ -18309,14 +18309,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 _size1513; - ::apache::thrift::protocol::TType _etype1516; - xfer += iprot->readListBegin(_etype1516, _size1513); - this->group_names.resize(_size1513); - uint32_t _i1517; - for (_i1517 = 0; _i1517 < _size1513; ++_i1517) + uint32_t _size1519; + ::apache::thrift::protocol::TType _etype1522; + xfer += iprot->readListBegin(_etype1522, _size1519); + this->group_names.resize(_size1519); + uint32_t _i1523; + for (_i1523 = 0; _i1523 < _size1519; ++_i1523) { - xfer += iprot->readString(this->group_names[_i1517]); + xfer += iprot->readString(this->group_names[_i1523]); } xfer += iprot->readListEnd(); } @@ -18353,10 +18353,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 _iter1518; - for (_iter1518 = this->part_vals.begin(); _iter1518 != this->part_vals.end(); ++_iter1518) + std::vector ::const_iterator _iter1524; + for (_iter1524 = this->part_vals.begin(); _iter1524 != this->part_vals.end(); ++_iter1524) { - xfer += oprot->writeString((*_iter1518)); + xfer += oprot->writeString((*_iter1524)); } xfer += oprot->writeListEnd(); } @@ -18373,10 +18373,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 _iter1519; - for (_iter1519 = this->group_names.begin(); _iter1519 != this->group_names.end(); ++_iter1519) + std::vector ::const_iterator _iter1525; + for (_iter1525 = this->group_names.begin(); _iter1525 != this->group_names.end(); ++_iter1525) { - xfer += oprot->writeString((*_iter1519)); + xfer += oprot->writeString((*_iter1525)); } xfer += oprot->writeListEnd(); } @@ -18408,10 +18408,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 _iter1520; - for (_iter1520 = (*(this->part_vals)).begin(); _iter1520 != (*(this->part_vals)).end(); ++_iter1520) + std::vector ::const_iterator _iter1526; + for (_iter1526 = (*(this->part_vals)).begin(); _iter1526 != (*(this->part_vals)).end(); ++_iter1526) { - xfer += oprot->writeString((*_iter1520)); + xfer += oprot->writeString((*_iter1526)); } xfer += oprot->writeListEnd(); } @@ -18428,10 +18428,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 _iter1521; - for (_iter1521 = (*(this->group_names)).begin(); _iter1521 != (*(this->group_names)).end(); ++_iter1521) + std::vector ::const_iterator _iter1527; + for (_iter1527 = (*(this->group_names)).begin(); _iter1527 != (*(this->group_names)).end(); ++_iter1527) { - xfer += oprot->writeString((*_iter1521)); + xfer += oprot->writeString((*_iter1527)); } xfer += oprot->writeListEnd(); } @@ -18472,14 +18472,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_result::read(::apache:: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1522; - ::apache::thrift::protocol::TType _etype1525; - xfer += iprot->readListBegin(_etype1525, _size1522); - this->success.resize(_size1522); - uint32_t _i1526; - for (_i1526 = 0; _i1526 < _size1522; ++_i1526) + uint32_t _size1528; + ::apache::thrift::protocol::TType _etype1531; + xfer += iprot->readListBegin(_etype1531, _size1528); + this->success.resize(_size1528); + uint32_t _i1532; + for (_i1532 = 0; _i1532 < _size1528; ++_i1532) { - xfer += this->success[_i1526].read(iprot); + xfer += this->success[_i1532].read(iprot); } xfer += iprot->readListEnd(); } @@ -18526,10 +18526,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 _iter1527; - for (_iter1527 = this->success.begin(); _iter1527 != this->success.end(); ++_iter1527) + std::vector ::const_iterator _iter1533; + for (_iter1533 = this->success.begin(); _iter1533 != this->success.end(); ++_iter1533) { - xfer += (*_iter1527).write(oprot); + xfer += (*_iter1533).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18578,14 +18578,14 @@ uint32_t ThriftHiveMetastore_get_partitions_ps_with_auth_presult::read(::apache: if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1528; - ::apache::thrift::protocol::TType _etype1531; - xfer += iprot->readListBegin(_etype1531, _size1528); - (*(this->success)).resize(_size1528); - uint32_t _i1532; - for (_i1532 = 0; _i1532 < _size1528; ++_i1532) + uint32_t _size1534; + ::apache::thrift::protocol::TType _etype1537; + xfer += iprot->readListBegin(_etype1537, _size1534); + (*(this->success)).resize(_size1534); + uint32_t _i1538; + for (_i1538 = 0; _i1538 < _size1534; ++_i1538) { - xfer += (*(this->success))[_i1532].read(iprot); + xfer += (*(this->success))[_i1538].read(iprot); } xfer += iprot->readListEnd(); } @@ -18668,14 +18668,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 _size1533; - ::apache::thrift::protocol::TType _etype1536; - xfer += iprot->readListBegin(_etype1536, _size1533); - this->part_vals.resize(_size1533); - uint32_t _i1537; - for (_i1537 = 0; _i1537 < _size1533; ++_i1537) + uint32_t _size1539; + ::apache::thrift::protocol::TType _etype1542; + xfer += iprot->readListBegin(_etype1542, _size1539); + this->part_vals.resize(_size1539); + uint32_t _i1543; + for (_i1543 = 0; _i1543 < _size1539; ++_i1543) { - xfer += iprot->readString(this->part_vals[_i1537]); + xfer += iprot->readString(this->part_vals[_i1543]); } xfer += iprot->readListEnd(); } @@ -18720,10 +18720,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 _iter1538; - for (_iter1538 = this->part_vals.begin(); _iter1538 != this->part_vals.end(); ++_iter1538) + std::vector ::const_iterator _iter1544; + for (_iter1544 = this->part_vals.begin(); _iter1544 != this->part_vals.end(); ++_iter1544) { - xfer += oprot->writeString((*_iter1538)); + xfer += oprot->writeString((*_iter1544)); } xfer += oprot->writeListEnd(); } @@ -18759,10 +18759,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 _iter1539; - for (_iter1539 = (*(this->part_vals)).begin(); _iter1539 != (*(this->part_vals)).end(); ++_iter1539) + std::vector ::const_iterator _iter1545; + for (_iter1545 = (*(this->part_vals)).begin(); _iter1545 != (*(this->part_vals)).end(); ++_iter1545) { - xfer += oprot->writeString((*_iter1539)); + xfer += oprot->writeString((*_iter1545)); } xfer += oprot->writeListEnd(); } @@ -18807,14 +18807,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1540; - ::apache::thrift::protocol::TType _etype1543; - xfer += iprot->readListBegin(_etype1543, _size1540); - this->success.resize(_size1540); - uint32_t _i1544; - for (_i1544 = 0; _i1544 < _size1540; ++_i1544) + uint32_t _size1546; + ::apache::thrift::protocol::TType _etype1549; + xfer += iprot->readListBegin(_etype1549, _size1546); + this->success.resize(_size1546); + uint32_t _i1550; + for (_i1550 = 0; _i1550 < _size1546; ++_i1550) { - xfer += iprot->readString(this->success[_i1544]); + xfer += iprot->readString(this->success[_i1550]); } xfer += iprot->readListEnd(); } @@ -18861,10 +18861,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 _iter1545; - for (_iter1545 = this->success.begin(); _iter1545 != this->success.end(); ++_iter1545) + std::vector ::const_iterator _iter1551; + for (_iter1551 = this->success.begin(); _iter1551 != this->success.end(); ++_iter1551) { - xfer += oprot->writeString((*_iter1545)); + xfer += oprot->writeString((*_iter1551)); } xfer += oprot->writeListEnd(); } @@ -18913,14 +18913,14 @@ uint32_t ThriftHiveMetastore_get_partition_names_ps_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1546; - ::apache::thrift::protocol::TType _etype1549; - xfer += iprot->readListBegin(_etype1549, _size1546); - (*(this->success)).resize(_size1546); - uint32_t _i1550; - for (_i1550 = 0; _i1550 < _size1546; ++_i1550) + uint32_t _size1552; + ::apache::thrift::protocol::TType _etype1555; + xfer += iprot->readListBegin(_etype1555, _size1552); + (*(this->success)).resize(_size1552); + uint32_t _i1556; + for (_i1556 = 0; _i1556 < _size1552; ++_i1556) { - xfer += iprot->readString((*(this->success))[_i1550]); + xfer += iprot->readString((*(this->success))[_i1556]); } xfer += iprot->readListEnd(); } @@ -19114,14 +19114,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_result::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1551; - ::apache::thrift::protocol::TType _etype1554; - xfer += iprot->readListBegin(_etype1554, _size1551); - this->success.resize(_size1551); - uint32_t _i1555; - for (_i1555 = 0; _i1555 < _size1551; ++_i1555) + uint32_t _size1557; + ::apache::thrift::protocol::TType _etype1560; + xfer += iprot->readListBegin(_etype1560, _size1557); + this->success.resize(_size1557); + uint32_t _i1561; + for (_i1561 = 0; _i1561 < _size1557; ++_i1561) { - xfer += this->success[_i1555].read(iprot); + xfer += this->success[_i1561].read(iprot); } xfer += iprot->readListEnd(); } @@ -19168,10 +19168,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 _iter1556; - for (_iter1556 = this->success.begin(); _iter1556 != this->success.end(); ++_iter1556) + std::vector ::const_iterator _iter1562; + for (_iter1562 = this->success.begin(); _iter1562 != this->success.end(); ++_iter1562) { - xfer += (*_iter1556).write(oprot); + xfer += (*_iter1562).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19220,14 +19220,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_filter_presult::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1557; - ::apache::thrift::protocol::TType _etype1560; - xfer += iprot->readListBegin(_etype1560, _size1557); - (*(this->success)).resize(_size1557); - uint32_t _i1561; - for (_i1561 = 0; _i1561 < _size1557; ++_i1561) + uint32_t _size1563; + ::apache::thrift::protocol::TType _etype1566; + xfer += iprot->readListBegin(_etype1566, _size1563); + (*(this->success)).resize(_size1563); + uint32_t _i1567; + for (_i1567 = 0; _i1567 < _size1563; ++_i1567) { - xfer += (*(this->success))[_i1561].read(iprot); + xfer += (*(this->success))[_i1567].read(iprot); } xfer += iprot->readListEnd(); } @@ -19421,14 +19421,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 _size1562; - ::apache::thrift::protocol::TType _etype1565; - xfer += iprot->readListBegin(_etype1565, _size1562); - this->success.resize(_size1562); - uint32_t _i1566; - for (_i1566 = 0; _i1566 < _size1562; ++_i1566) + uint32_t _size1568; + ::apache::thrift::protocol::TType _etype1571; + xfer += iprot->readListBegin(_etype1571, _size1568); + this->success.resize(_size1568); + uint32_t _i1572; + for (_i1572 = 0; _i1572 < _size1568; ++_i1572) { - xfer += this->success[_i1566].read(iprot); + xfer += this->success[_i1572].read(iprot); } xfer += iprot->readListEnd(); } @@ -19475,10 +19475,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 _iter1567; - for (_iter1567 = this->success.begin(); _iter1567 != this->success.end(); ++_iter1567) + std::vector ::const_iterator _iter1573; + for (_iter1573 = this->success.begin(); _iter1573 != this->success.end(); ++_iter1573) { - xfer += (*_iter1567).write(oprot); + xfer += (*_iter1573).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19527,14 +19527,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 _size1568; - ::apache::thrift::protocol::TType _etype1571; - xfer += iprot->readListBegin(_etype1571, _size1568); - (*(this->success)).resize(_size1568); - uint32_t _i1572; - for (_i1572 = 0; _i1572 < _size1568; ++_i1572) + uint32_t _size1574; + ::apache::thrift::protocol::TType _etype1577; + xfer += iprot->readListBegin(_etype1577, _size1574); + (*(this->success)).resize(_size1574); + uint32_t _i1578; + for (_i1578 = 0; _i1578 < _size1574; ++_i1578) { - xfer += (*(this->success))[_i1572].read(iprot); + xfer += (*(this->success))[_i1578].read(iprot); } xfer += iprot->readListEnd(); } @@ -20103,14 +20103,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_args::read(::apache::thrift if (ftype == ::apache::thrift::protocol::T_LIST) { { this->names.clear(); - uint32_t _size1573; - ::apache::thrift::protocol::TType _etype1576; - xfer += iprot->readListBegin(_etype1576, _size1573); - this->names.resize(_size1573); - uint32_t _i1577; - for (_i1577 = 0; _i1577 < _size1573; ++_i1577) + uint32_t _size1579; + ::apache::thrift::protocol::TType _etype1582; + xfer += iprot->readListBegin(_etype1582, _size1579); + this->names.resize(_size1579); + uint32_t _i1583; + for (_i1583 = 0; _i1583 < _size1579; ++_i1583) { - xfer += iprot->readString(this->names[_i1577]); + xfer += iprot->readString(this->names[_i1583]); } xfer += iprot->readListEnd(); } @@ -20147,10 +20147,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 _iter1578; - for (_iter1578 = this->names.begin(); _iter1578 != this->names.end(); ++_iter1578) + std::vector ::const_iterator _iter1584; + for (_iter1584 = this->names.begin(); _iter1584 != this->names.end(); ++_iter1584) { - xfer += oprot->writeString((*_iter1578)); + xfer += oprot->writeString((*_iter1584)); } xfer += oprot->writeListEnd(); } @@ -20182,10 +20182,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 _iter1579; - for (_iter1579 = (*(this->names)).begin(); _iter1579 != (*(this->names)).end(); ++_iter1579) + std::vector ::const_iterator _iter1585; + for (_iter1585 = (*(this->names)).begin(); _iter1585 != (*(this->names)).end(); ++_iter1585) { - xfer += oprot->writeString((*_iter1579)); + xfer += oprot->writeString((*_iter1585)); } xfer += oprot->writeListEnd(); } @@ -20226,14 +20226,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_result::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1580; - ::apache::thrift::protocol::TType _etype1583; - xfer += iprot->readListBegin(_etype1583, _size1580); - this->success.resize(_size1580); - uint32_t _i1584; - for (_i1584 = 0; _i1584 < _size1580; ++_i1584) + uint32_t _size1586; + ::apache::thrift::protocol::TType _etype1589; + xfer += iprot->readListBegin(_etype1589, _size1586); + this->success.resize(_size1586); + uint32_t _i1590; + for (_i1590 = 0; _i1590 < _size1586; ++_i1590) { - xfer += this->success[_i1584].read(iprot); + xfer += this->success[_i1590].read(iprot); } xfer += iprot->readListEnd(); } @@ -20280,10 +20280,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 _iter1585; - for (_iter1585 = this->success.begin(); _iter1585 != this->success.end(); ++_iter1585) + std::vector ::const_iterator _iter1591; + for (_iter1591 = this->success.begin(); _iter1591 != this->success.end(); ++_iter1591) { - xfer += (*_iter1585).write(oprot); + xfer += (*_iter1591).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20332,14 +20332,14 @@ uint32_t ThriftHiveMetastore_get_partitions_by_names_presult::read(::apache::thr if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1586; - ::apache::thrift::protocol::TType _etype1589; - xfer += iprot->readListBegin(_etype1589, _size1586); - (*(this->success)).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->success)).resize(_size1592); + uint32_t _i1596; + for (_i1596 = 0; _i1596 < _size1592; ++_i1596) { - xfer += (*(this->success))[_i1590].read(iprot); + xfer += (*(this->success))[_i1596].read(iprot); } xfer += iprot->readListEnd(); } @@ -20661,14 +20661,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1591; - ::apache::thrift::protocol::TType _etype1594; - xfer += iprot->readListBegin(_etype1594, _size1591); - this->new_parts.resize(_size1591); - uint32_t _i1595; - for (_i1595 = 0; _i1595 < _size1591; ++_i1595) + uint32_t _size1597; + ::apache::thrift::protocol::TType _etype1600; + xfer += iprot->readListBegin(_etype1600, _size1597); + this->new_parts.resize(_size1597); + uint32_t _i1601; + for (_i1601 = 0; _i1601 < _size1597; ++_i1601) { - xfer += this->new_parts[_i1595].read(iprot); + xfer += this->new_parts[_i1601].read(iprot); } xfer += iprot->readListEnd(); } @@ -20705,10 +20705,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 _iter1596; - for (_iter1596 = this->new_parts.begin(); _iter1596 != this->new_parts.end(); ++_iter1596) + std::vector ::const_iterator _iter1602; + for (_iter1602 = this->new_parts.begin(); _iter1602 != this->new_parts.end(); ++_iter1602) { - xfer += (*_iter1596).write(oprot); + xfer += (*_iter1602).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20740,10 +20740,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 _iter1597; - for (_iter1597 = (*(this->new_parts)).begin(); _iter1597 != (*(this->new_parts)).end(); ++_iter1597) + std::vector ::const_iterator _iter1603; + for (_iter1603 = (*(this->new_parts)).begin(); _iter1603 != (*(this->new_parts)).end(); ++_iter1603) { - xfer += (*_iter1597).write(oprot); + xfer += (*_iter1603).write(oprot); } xfer += oprot->writeListEnd(); } @@ -20928,14 +20928,14 @@ uint32_t ThriftHiveMetastore_alter_partitions_with_environment_context_args::rea if (ftype == ::apache::thrift::protocol::T_LIST) { { this->new_parts.clear(); - uint32_t _size1598; - ::apache::thrift::protocol::TType _etype1601; - xfer += iprot->readListBegin(_etype1601, _size1598); - this->new_parts.resize(_size1598); - uint32_t _i1602; - for (_i1602 = 0; _i1602 < _size1598; ++_i1602) + uint32_t _size1604; + ::apache::thrift::protocol::TType _etype1607; + xfer += iprot->readListBegin(_etype1607, _size1604); + this->new_parts.resize(_size1604); + uint32_t _i1608; + for (_i1608 = 0; _i1608 < _size1604; ++_i1608) { - xfer += this->new_parts[_i1602].read(iprot); + xfer += this->new_parts[_i1608].read(iprot); } xfer += iprot->readListEnd(); } @@ -20980,10 +20980,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 _iter1603; - for (_iter1603 = this->new_parts.begin(); _iter1603 != this->new_parts.end(); ++_iter1603) + std::vector ::const_iterator _iter1609; + for (_iter1609 = this->new_parts.begin(); _iter1609 != this->new_parts.end(); ++_iter1609) { - xfer += (*_iter1603).write(oprot); + xfer += (*_iter1609).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21019,10 +21019,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 _iter1604; - for (_iter1604 = (*(this->new_parts)).begin(); _iter1604 != (*(this->new_parts)).end(); ++_iter1604) + std::vector ::const_iterator _iter1610; + for (_iter1610 = (*(this->new_parts)).begin(); _iter1610 != (*(this->new_parts)).end(); ++_iter1610) { - xfer += (*_iter1604).write(oprot); + xfer += (*_iter1610).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21466,14 +21466,14 @@ uint32_t ThriftHiveMetastore_rename_partition_args::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->part_vals.clear(); - uint32_t _size1605; - ::apache::thrift::protocol::TType _etype1608; - xfer += iprot->readListBegin(_etype1608, _size1605); - this->part_vals.resize(_size1605); - uint32_t _i1609; - for (_i1609 = 0; _i1609 < _size1605; ++_i1609) + uint32_t _size1611; + ::apache::thrift::protocol::TType _etype1614; + xfer += iprot->readListBegin(_etype1614, _size1611); + this->part_vals.resize(_size1611); + uint32_t _i1615; + for (_i1615 = 0; _i1615 < _size1611; ++_i1615) { - xfer += iprot->readString(this->part_vals[_i1609]); + xfer += iprot->readString(this->part_vals[_i1615]); } xfer += iprot->readListEnd(); } @@ -21518,10 +21518,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 _iter1610; - for (_iter1610 = this->part_vals.begin(); _iter1610 != this->part_vals.end(); ++_iter1610) + std::vector ::const_iterator _iter1616; + for (_iter1616 = this->part_vals.begin(); _iter1616 != this->part_vals.end(); ++_iter1616) { - xfer += oprot->writeString((*_iter1610)); + xfer += oprot->writeString((*_iter1616)); } xfer += oprot->writeListEnd(); } @@ -21557,10 +21557,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 _iter1611; - for (_iter1611 = (*(this->part_vals)).begin(); _iter1611 != (*(this->part_vals)).end(); ++_iter1611) + std::vector ::const_iterator _iter1617; + for (_iter1617 = (*(this->part_vals)).begin(); _iter1617 != (*(this->part_vals)).end(); ++_iter1617) { - xfer += oprot->writeString((*_iter1611)); + xfer += oprot->writeString((*_iter1617)); } xfer += oprot->writeListEnd(); } @@ -21733,14 +21733,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 _size1612; - ::apache::thrift::protocol::TType _etype1615; - xfer += iprot->readListBegin(_etype1615, _size1612); - this->part_vals.resize(_size1612); - uint32_t _i1616; - for (_i1616 = 0; _i1616 < _size1612; ++_i1616) + uint32_t _size1618; + ::apache::thrift::protocol::TType _etype1621; + xfer += iprot->readListBegin(_etype1621, _size1618); + this->part_vals.resize(_size1618); + uint32_t _i1622; + for (_i1622 = 0; _i1622 < _size1618; ++_i1622) { - xfer += iprot->readString(this->part_vals[_i1616]); + xfer += iprot->readString(this->part_vals[_i1622]); } xfer += iprot->readListEnd(); } @@ -21777,10 +21777,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 _iter1617; - for (_iter1617 = this->part_vals.begin(); _iter1617 != this->part_vals.end(); ++_iter1617) + std::vector ::const_iterator _iter1623; + for (_iter1623 = this->part_vals.begin(); _iter1623 != this->part_vals.end(); ++_iter1623) { - xfer += oprot->writeString((*_iter1617)); + xfer += oprot->writeString((*_iter1623)); } xfer += oprot->writeListEnd(); } @@ -21808,10 +21808,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 _iter1618; - for (_iter1618 = (*(this->part_vals)).begin(); _iter1618 != (*(this->part_vals)).end(); ++_iter1618) + std::vector ::const_iterator _iter1624; + for (_iter1624 = (*(this->part_vals)).begin(); _iter1624 != (*(this->part_vals)).end(); ++_iter1624) { - xfer += oprot->writeString((*_iter1618)); + xfer += oprot->writeString((*_iter1624)); } xfer += oprot->writeListEnd(); } @@ -22286,14 +22286,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1619; - ::apache::thrift::protocol::TType _etype1622; - xfer += iprot->readListBegin(_etype1622, _size1619); - this->success.resize(_size1619); - uint32_t _i1623; - for (_i1623 = 0; _i1623 < _size1619; ++_i1623) + uint32_t _size1625; + ::apache::thrift::protocol::TType _etype1628; + xfer += iprot->readListBegin(_etype1628, _size1625); + this->success.resize(_size1625); + uint32_t _i1629; + for (_i1629 = 0; _i1629 < _size1625; ++_i1629) { - xfer += iprot->readString(this->success[_i1623]); + xfer += iprot->readString(this->success[_i1629]); } xfer += iprot->readListEnd(); } @@ -22332,10 +22332,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 _iter1624; - for (_iter1624 = this->success.begin(); _iter1624 != this->success.end(); ++_iter1624) + std::vector ::const_iterator _iter1630; + for (_iter1630 = this->success.begin(); _iter1630 != this->success.end(); ++_iter1630) { - xfer += oprot->writeString((*_iter1624)); + xfer += oprot->writeString((*_iter1630)); } xfer += oprot->writeListEnd(); } @@ -22380,14 +22380,14 @@ uint32_t ThriftHiveMetastore_partition_name_to_vals_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1625; - ::apache::thrift::protocol::TType _etype1628; - xfer += iprot->readListBegin(_etype1628, _size1625); - (*(this->success)).resize(_size1625); - uint32_t _i1629; - for (_i1629 = 0; _i1629 < _size1625; ++_i1629) + uint32_t _size1631; + ::apache::thrift::protocol::TType _etype1634; + xfer += iprot->readListBegin(_etype1634, _size1631); + (*(this->success)).resize(_size1631); + uint32_t _i1635; + for (_i1635 = 0; _i1635 < _size1631; ++_i1635) { - xfer += iprot->readString((*(this->success))[_i1629]); + xfer += iprot->readString((*(this->success))[_i1635]); } xfer += iprot->readListEnd(); } @@ -22525,17 +22525,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_result::read(::apache::thrif if (ftype == ::apache::thrift::protocol::T_MAP) { { this->success.clear(); - uint32_t _size1630; - ::apache::thrift::protocol::TType _ktype1631; - ::apache::thrift::protocol::TType _vtype1632; - xfer += iprot->readMapBegin(_ktype1631, _vtype1632, _size1630); - uint32_t _i1634; - for (_i1634 = 0; _i1634 < _size1630; ++_i1634) + uint32_t _size1636; + ::apache::thrift::protocol::TType _ktype1637; + ::apache::thrift::protocol::TType _vtype1638; + xfer += iprot->readMapBegin(_ktype1637, _vtype1638, _size1636); + uint32_t _i1640; + for (_i1640 = 0; _i1640 < _size1636; ++_i1640) { - std::string _key1635; - xfer += iprot->readString(_key1635); - std::string& _val1636 = this->success[_key1635]; - xfer += iprot->readString(_val1636); + std::string _key1641; + xfer += iprot->readString(_key1641); + std::string& _val1642 = this->success[_key1641]; + xfer += iprot->readString(_val1642); } xfer += iprot->readMapEnd(); } @@ -22574,11 +22574,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 _iter1637; - for (_iter1637 = this->success.begin(); _iter1637 != this->success.end(); ++_iter1637) + std::map ::const_iterator _iter1643; + for (_iter1643 = this->success.begin(); _iter1643 != this->success.end(); ++_iter1643) { - xfer += oprot->writeString(_iter1637->first); - xfer += oprot->writeString(_iter1637->second); + xfer += oprot->writeString(_iter1643->first); + xfer += oprot->writeString(_iter1643->second); } xfer += oprot->writeMapEnd(); } @@ -22623,17 +22623,17 @@ uint32_t ThriftHiveMetastore_partition_name_to_spec_presult::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { (*(this->success)).clear(); - uint32_t _size1638; - ::apache::thrift::protocol::TType _ktype1639; - ::apache::thrift::protocol::TType _vtype1640; - xfer += iprot->readMapBegin(_ktype1639, _vtype1640, _size1638); - uint32_t _i1642; - for (_i1642 = 0; _i1642 < _size1638; ++_i1642) + uint32_t _size1644; + ::apache::thrift::protocol::TType _ktype1645; + ::apache::thrift::protocol::TType _vtype1646; + xfer += iprot->readMapBegin(_ktype1645, _vtype1646, _size1644); + uint32_t _i1648; + for (_i1648 = 0; _i1648 < _size1644; ++_i1648) { - std::string _key1643; - xfer += iprot->readString(_key1643); - std::string& _val1644 = (*(this->success))[_key1643]; - xfer += iprot->readString(_val1644); + std::string _key1649; + xfer += iprot->readString(_key1649); + std::string& _val1650 = (*(this->success))[_key1649]; + xfer += iprot->readString(_val1650); } xfer += iprot->readMapEnd(); } @@ -22708,17 +22708,17 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1645; - ::apache::thrift::protocol::TType _ktype1646; - ::apache::thrift::protocol::TType _vtype1647; - xfer += iprot->readMapBegin(_ktype1646, _vtype1647, _size1645); - uint32_t _i1649; - for (_i1649 = 0; _i1649 < _size1645; ++_i1649) + uint32_t _size1651; + ::apache::thrift::protocol::TType _ktype1652; + ::apache::thrift::protocol::TType _vtype1653; + xfer += iprot->readMapBegin(_ktype1652, _vtype1653, _size1651); + uint32_t _i1655; + for (_i1655 = 0; _i1655 < _size1651; ++_i1655) { - std::string _key1650; - xfer += iprot->readString(_key1650); - std::string& _val1651 = this->part_vals[_key1650]; - xfer += iprot->readString(_val1651); + std::string _key1656; + xfer += iprot->readString(_key1656); + std::string& _val1657 = this->part_vals[_key1656]; + xfer += iprot->readString(_val1657); } xfer += iprot->readMapEnd(); } @@ -22729,9 +22729,9 @@ uint32_t ThriftHiveMetastore_markPartitionForEvent_args::read(::apache::thrift:: break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1652; - xfer += iprot->readI32(ecast1652); - this->eventType = (PartitionEventType::type)ecast1652; + int32_t ecast1658; + xfer += iprot->readI32(ecast1658); + this->eventType = (PartitionEventType::type)ecast1658; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -22765,11 +22765,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 _iter1653; - for (_iter1653 = this->part_vals.begin(); _iter1653 != this->part_vals.end(); ++_iter1653) + std::map ::const_iterator _iter1659; + for (_iter1659 = this->part_vals.begin(); _iter1659 != this->part_vals.end(); ++_iter1659) { - xfer += oprot->writeString(_iter1653->first); - xfer += oprot->writeString(_iter1653->second); + xfer += oprot->writeString(_iter1659->first); + xfer += oprot->writeString(_iter1659->second); } xfer += oprot->writeMapEnd(); } @@ -22805,11 +22805,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 _iter1654; - for (_iter1654 = (*(this->part_vals)).begin(); _iter1654 != (*(this->part_vals)).end(); ++_iter1654) + std::map ::const_iterator _iter1660; + for (_iter1660 = (*(this->part_vals)).begin(); _iter1660 != (*(this->part_vals)).end(); ++_iter1660) { - xfer += oprot->writeString(_iter1654->first); - xfer += oprot->writeString(_iter1654->second); + xfer += oprot->writeString(_iter1660->first); + xfer += oprot->writeString(_iter1660->second); } xfer += oprot->writeMapEnd(); } @@ -23078,17 +23078,17 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri if (ftype == ::apache::thrift::protocol::T_MAP) { { this->part_vals.clear(); - uint32_t _size1655; - ::apache::thrift::protocol::TType _ktype1656; - ::apache::thrift::protocol::TType _vtype1657; - xfer += iprot->readMapBegin(_ktype1656, _vtype1657, _size1655); - uint32_t _i1659; - for (_i1659 = 0; _i1659 < _size1655; ++_i1659) + uint32_t _size1661; + ::apache::thrift::protocol::TType _ktype1662; + ::apache::thrift::protocol::TType _vtype1663; + xfer += iprot->readMapBegin(_ktype1662, _vtype1663, _size1661); + uint32_t _i1665; + for (_i1665 = 0; _i1665 < _size1661; ++_i1665) { - std::string _key1660; - xfer += iprot->readString(_key1660); - std::string& _val1661 = this->part_vals[_key1660]; - xfer += iprot->readString(_val1661); + std::string _key1666; + xfer += iprot->readString(_key1666); + std::string& _val1667 = this->part_vals[_key1666]; + xfer += iprot->readString(_val1667); } xfer += iprot->readMapEnd(); } @@ -23099,9 +23099,9 @@ uint32_t ThriftHiveMetastore_isPartitionMarkedForEvent_args::read(::apache::thri break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1662; - xfer += iprot->readI32(ecast1662); - this->eventType = (PartitionEventType::type)ecast1662; + int32_t ecast1668; + xfer += iprot->readI32(ecast1668); + this->eventType = (PartitionEventType::type)ecast1668; this->__isset.eventType = true; } else { xfer += iprot->skip(ftype); @@ -23135,11 +23135,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 _iter1663; - for (_iter1663 = this->part_vals.begin(); _iter1663 != this->part_vals.end(); ++_iter1663) + std::map ::const_iterator _iter1669; + for (_iter1669 = this->part_vals.begin(); _iter1669 != this->part_vals.end(); ++_iter1669) { - xfer += oprot->writeString(_iter1663->first); - xfer += oprot->writeString(_iter1663->second); + xfer += oprot->writeString(_iter1669->first); + xfer += oprot->writeString(_iter1669->second); } xfer += oprot->writeMapEnd(); } @@ -23175,11 +23175,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 _iter1664; - for (_iter1664 = (*(this->part_vals)).begin(); _iter1664 != (*(this->part_vals)).end(); ++_iter1664) + std::map ::const_iterator _iter1670; + for (_iter1670 = (*(this->part_vals)).begin(); _iter1670 != (*(this->part_vals)).end(); ++_iter1670) { - xfer += oprot->writeString(_iter1664->first); - xfer += oprot->writeString(_iter1664->second); + xfer += oprot->writeString(_iter1670->first); + xfer += oprot->writeString(_iter1670->second); } xfer += oprot->writeMapEnd(); } @@ -24615,14 +24615,14 @@ uint32_t ThriftHiveMetastore_get_indexes_result::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1665; - ::apache::thrift::protocol::TType _etype1668; - xfer += iprot->readListBegin(_etype1668, _size1665); - this->success.resize(_size1665); - uint32_t _i1669; - for (_i1669 = 0; _i1669 < _size1665; ++_i1669) + uint32_t _size1671; + ::apache::thrift::protocol::TType _etype1674; + xfer += iprot->readListBegin(_etype1674, _size1671); + this->success.resize(_size1671); + uint32_t _i1675; + for (_i1675 = 0; _i1675 < _size1671; ++_i1675) { - xfer += this->success[_i1669].read(iprot); + xfer += this->success[_i1675].read(iprot); } xfer += iprot->readListEnd(); } @@ -24669,10 +24669,10 @@ uint32_t ThriftHiveMetastore_get_indexes_result::write(::apache::thrift::protoco xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRUCT, static_cast(this->success.size())); - std::vector ::const_iterator _iter1670; - for (_iter1670 = this->success.begin(); _iter1670 != this->success.end(); ++_iter1670) + std::vector ::const_iterator _iter1676; + for (_iter1676 = this->success.begin(); _iter1676 != this->success.end(); ++_iter1676) { - xfer += (*_iter1670).write(oprot); + xfer += (*_iter1676).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24721,14 +24721,14 @@ uint32_t ThriftHiveMetastore_get_indexes_presult::read(::apache::thrift::protoco if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1671; - ::apache::thrift::protocol::TType _etype1674; - xfer += iprot->readListBegin(_etype1674, _size1671); - (*(this->success)).resize(_size1671); - uint32_t _i1675; - for (_i1675 = 0; _i1675 < _size1671; ++_i1675) + uint32_t _size1677; + ::apache::thrift::protocol::TType _etype1680; + xfer += iprot->readListBegin(_etype1680, _size1677); + (*(this->success)).resize(_size1677); + uint32_t _i1681; + for (_i1681 = 0; _i1681 < _size1677; ++_i1681) { - xfer += (*(this->success))[_i1675].read(iprot); + xfer += (*(this->success))[_i1681].read(iprot); } xfer += iprot->readListEnd(); } @@ -24906,14 +24906,14 @@ uint32_t ThriftHiveMetastore_get_index_names_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1676; - ::apache::thrift::protocol::TType _etype1679; - xfer += iprot->readListBegin(_etype1679, _size1676); - this->success.resize(_size1676); - uint32_t _i1680; - for (_i1680 = 0; _i1680 < _size1676; ++_i1680) + uint32_t _size1682; + ::apache::thrift::protocol::TType _etype1685; + xfer += iprot->readListBegin(_etype1685, _size1682); + this->success.resize(_size1682); + uint32_t _i1686; + for (_i1686 = 0; _i1686 < _size1682; ++_i1686) { - xfer += iprot->readString(this->success[_i1680]); + xfer += iprot->readString(this->success[_i1686]); } xfer += iprot->readListEnd(); } @@ -24952,10 +24952,10 @@ uint32_t ThriftHiveMetastore_get_index_names_result::write(::apache::thrift::pro xfer += oprot->writeFieldBegin("success", ::apache::thrift::protocol::T_LIST, 0); { xfer += oprot->writeListBegin(::apache::thrift::protocol::T_STRING, static_cast(this->success.size())); - std::vector ::const_iterator _iter1681; - for (_iter1681 = this->success.begin(); _iter1681 != this->success.end(); ++_iter1681) + std::vector ::const_iterator _iter1687; + for (_iter1687 = this->success.begin(); _iter1687 != this->success.end(); ++_iter1687) { - xfer += oprot->writeString((*_iter1681)); + xfer += oprot->writeString((*_iter1687)); } xfer += oprot->writeListEnd(); } @@ -25000,14 +25000,14 @@ uint32_t ThriftHiveMetastore_get_index_names_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1682; - ::apache::thrift::protocol::TType _etype1685; - xfer += iprot->readListBegin(_etype1685, _size1682); - (*(this->success)).resize(_size1682); - uint32_t _i1686; - for (_i1686 = 0; _i1686 < _size1682; ++_i1686) + uint32_t _size1688; + ::apache::thrift::protocol::TType _etype1691; + xfer += iprot->readListBegin(_etype1691, _size1688); + (*(this->success)).resize(_size1688); + uint32_t _i1692; + for (_i1692 = 0; _i1692 < _size1688; ++_i1692) { - xfer += iprot->readString((*(this->success))[_i1686]); + xfer += iprot->readString((*(this->success))[_i1692]); } xfer += iprot->readListEnd(); } @@ -29715,14 +29715,14 @@ uint32_t ThriftHiveMetastore_get_functions_result::read(::apache::thrift::protoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1687; - ::apache::thrift::protocol::TType _etype1690; - xfer += iprot->readListBegin(_etype1690, _size1687); - this->success.resize(_size1687); - uint32_t _i1691; - for (_i1691 = 0; _i1691 < _size1687; ++_i1691) + uint32_t _size1693; + ::apache::thrift::protocol::TType _etype1696; + xfer += iprot->readListBegin(_etype1696, _size1693); + this->success.resize(_size1693); + uint32_t _i1697; + for (_i1697 = 0; _i1697 < _size1693; ++_i1697) { - xfer += iprot->readString(this->success[_i1691]); + xfer += iprot->readString(this->success[_i1697]); } xfer += iprot->readListEnd(); } @@ -29761,10 +29761,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 _iter1692; - for (_iter1692 = this->success.begin(); _iter1692 != this->success.end(); ++_iter1692) + std::vector ::const_iterator _iter1698; + for (_iter1698 = this->success.begin(); _iter1698 != this->success.end(); ++_iter1698) { - xfer += oprot->writeString((*_iter1692)); + xfer += oprot->writeString((*_iter1698)); } xfer += oprot->writeListEnd(); } @@ -29809,14 +29809,14 @@ uint32_t ThriftHiveMetastore_get_functions_presult::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1693; - ::apache::thrift::protocol::TType _etype1696; - xfer += iprot->readListBegin(_etype1696, _size1693); - (*(this->success)).resize(_size1693); - uint32_t _i1697; - for (_i1697 = 0; _i1697 < _size1693; ++_i1697) + uint32_t _size1699; + ::apache::thrift::protocol::TType _etype1702; + xfer += iprot->readListBegin(_etype1702, _size1699); + (*(this->success)).resize(_size1699); + uint32_t _i1703; + for (_i1703 = 0; _i1703 < _size1699; ++_i1703) { - xfer += iprot->readString((*(this->success))[_i1697]); + xfer += iprot->readString((*(this->success))[_i1703]); } xfer += iprot->readListEnd(); } @@ -30776,14 +30776,14 @@ uint32_t ThriftHiveMetastore_get_role_names_result::read(::apache::thrift::proto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1698; - ::apache::thrift::protocol::TType _etype1701; - xfer += iprot->readListBegin(_etype1701, _size1698); - this->success.resize(_size1698); - uint32_t _i1702; - for (_i1702 = 0; _i1702 < _size1698; ++_i1702) + uint32_t _size1704; + ::apache::thrift::protocol::TType _etype1707; + xfer += iprot->readListBegin(_etype1707, _size1704); + this->success.resize(_size1704); + uint32_t _i1708; + for (_i1708 = 0; _i1708 < _size1704; ++_i1708) { - xfer += iprot->readString(this->success[_i1702]); + xfer += iprot->readString(this->success[_i1708]); } xfer += iprot->readListEnd(); } @@ -30822,10 +30822,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 _iter1703; - for (_iter1703 = this->success.begin(); _iter1703 != this->success.end(); ++_iter1703) + std::vector ::const_iterator _iter1709; + for (_iter1709 = this->success.begin(); _iter1709 != this->success.end(); ++_iter1709) { - xfer += oprot->writeString((*_iter1703)); + xfer += oprot->writeString((*_iter1709)); } xfer += oprot->writeListEnd(); } @@ -30870,14 +30870,14 @@ uint32_t ThriftHiveMetastore_get_role_names_presult::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1704; - ::apache::thrift::protocol::TType _etype1707; - xfer += iprot->readListBegin(_etype1707, _size1704); - (*(this->success)).resize(_size1704); - uint32_t _i1708; - for (_i1708 = 0; _i1708 < _size1704; ++_i1708) + uint32_t _size1710; + ::apache::thrift::protocol::TType _etype1713; + xfer += iprot->readListBegin(_etype1713, _size1710); + (*(this->success)).resize(_size1710); + uint32_t _i1714; + for (_i1714 = 0; _i1714 < _size1710; ++_i1714) { - xfer += iprot->readString((*(this->success))[_i1708]); + xfer += iprot->readString((*(this->success))[_i1714]); } xfer += iprot->readListEnd(); } @@ -30950,9 +30950,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1709; - xfer += iprot->readI32(ecast1709); - this->principal_type = (PrincipalType::type)ecast1709; + int32_t ecast1715; + xfer += iprot->readI32(ecast1715); + this->principal_type = (PrincipalType::type)ecast1715; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -30968,9 +30968,9 @@ uint32_t ThriftHiveMetastore_grant_role_args::read(::apache::thrift::protocol::T break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1710; - xfer += iprot->readI32(ecast1710); - this->grantorType = (PrincipalType::type)ecast1710; + int32_t ecast1716; + xfer += iprot->readI32(ecast1716); + this->grantorType = (PrincipalType::type)ecast1716; this->__isset.grantorType = true; } else { xfer += iprot->skip(ftype); @@ -31241,9 +31241,9 @@ uint32_t ThriftHiveMetastore_revoke_role_args::read(::apache::thrift::protocol:: break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1711; - xfer += iprot->readI32(ecast1711); - this->principal_type = (PrincipalType::type)ecast1711; + int32_t ecast1717; + xfer += iprot->readI32(ecast1717); + this->principal_type = (PrincipalType::type)ecast1717; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31474,9 +31474,9 @@ uint32_t ThriftHiveMetastore_list_roles_args::read(::apache::thrift::protocol::T break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1712; - xfer += iprot->readI32(ecast1712); - this->principal_type = (PrincipalType::type)ecast1712; + int32_t ecast1718; + xfer += iprot->readI32(ecast1718); + this->principal_type = (PrincipalType::type)ecast1718; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -31565,14 +31565,14 @@ uint32_t ThriftHiveMetastore_list_roles_result::read(::apache::thrift::protocol: if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1713; - ::apache::thrift::protocol::TType _etype1716; - xfer += iprot->readListBegin(_etype1716, _size1713); - this->success.resize(_size1713); - uint32_t _i1717; - for (_i1717 = 0; _i1717 < _size1713; ++_i1717) + uint32_t _size1719; + ::apache::thrift::protocol::TType _etype1722; + xfer += iprot->readListBegin(_etype1722, _size1719); + this->success.resize(_size1719); + uint32_t _i1723; + for (_i1723 = 0; _i1723 < _size1719; ++_i1723) { - xfer += this->success[_i1717].read(iprot); + xfer += this->success[_i1723].read(iprot); } xfer += iprot->readListEnd(); } @@ -31611,10 +31611,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 _iter1718; - for (_iter1718 = this->success.begin(); _iter1718 != this->success.end(); ++_iter1718) + std::vector ::const_iterator _iter1724; + for (_iter1724 = this->success.begin(); _iter1724 != this->success.end(); ++_iter1724) { - xfer += (*_iter1718).write(oprot); + xfer += (*_iter1724).write(oprot); } xfer += oprot->writeListEnd(); } @@ -31659,14 +31659,14 @@ uint32_t ThriftHiveMetastore_list_roles_presult::read(::apache::thrift::protocol if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1719; - ::apache::thrift::protocol::TType _etype1722; - xfer += iprot->readListBegin(_etype1722, _size1719); - (*(this->success)).resize(_size1719); - uint32_t _i1723; - for (_i1723 = 0; _i1723 < _size1719; ++_i1723) + uint32_t _size1725; + ::apache::thrift::protocol::TType _etype1728; + xfer += iprot->readListBegin(_etype1728, _size1725); + (*(this->success)).resize(_size1725); + uint32_t _i1729; + for (_i1729 = 0; _i1729 < _size1725; ++_i1729) { - xfer += (*(this->success))[_i1723].read(iprot); + xfer += (*(this->success))[_i1729].read(iprot); } xfer += iprot->readListEnd(); } @@ -32362,14 +32362,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 _size1724; - ::apache::thrift::protocol::TType _etype1727; - xfer += iprot->readListBegin(_etype1727, _size1724); - this->group_names.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->group_names.resize(_size1730); + uint32_t _i1734; + for (_i1734 = 0; _i1734 < _size1730; ++_i1734) { - xfer += iprot->readString(this->group_names[_i1728]); + xfer += iprot->readString(this->group_names[_i1734]); } xfer += iprot->readListEnd(); } @@ -32406,10 +32406,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 _iter1729; - for (_iter1729 = this->group_names.begin(); _iter1729 != this->group_names.end(); ++_iter1729) + std::vector ::const_iterator _iter1735; + for (_iter1735 = this->group_names.begin(); _iter1735 != this->group_names.end(); ++_iter1735) { - xfer += oprot->writeString((*_iter1729)); + xfer += oprot->writeString((*_iter1735)); } xfer += oprot->writeListEnd(); } @@ -32441,10 +32441,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 _iter1730; - for (_iter1730 = (*(this->group_names)).begin(); _iter1730 != (*(this->group_names)).end(); ++_iter1730) + std::vector ::const_iterator _iter1736; + for (_iter1736 = (*(this->group_names)).begin(); _iter1736 != (*(this->group_names)).end(); ++_iter1736) { - xfer += oprot->writeString((*_iter1730)); + xfer += oprot->writeString((*_iter1736)); } xfer += oprot->writeListEnd(); } @@ -32619,9 +32619,9 @@ uint32_t ThriftHiveMetastore_list_privileges_args::read(::apache::thrift::protoc break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast1731; - xfer += iprot->readI32(ecast1731); - this->principal_type = (PrincipalType::type)ecast1731; + int32_t ecast1737; + xfer += iprot->readI32(ecast1737); + this->principal_type = (PrincipalType::type)ecast1737; this->__isset.principal_type = true; } else { xfer += iprot->skip(ftype); @@ -32726,14 +32726,14 @@ uint32_t ThriftHiveMetastore_list_privileges_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1732; - ::apache::thrift::protocol::TType _etype1735; - xfer += iprot->readListBegin(_etype1735, _size1732); - this->success.resize(_size1732); - uint32_t _i1736; - for (_i1736 = 0; _i1736 < _size1732; ++_i1736) + uint32_t _size1738; + ::apache::thrift::protocol::TType _etype1741; + xfer += iprot->readListBegin(_etype1741, _size1738); + this->success.resize(_size1738); + uint32_t _i1742; + for (_i1742 = 0; _i1742 < _size1738; ++_i1742) { - xfer += this->success[_i1736].read(iprot); + xfer += this->success[_i1742].read(iprot); } xfer += iprot->readListEnd(); } @@ -32772,10 +32772,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 _iter1737; - for (_iter1737 = this->success.begin(); _iter1737 != this->success.end(); ++_iter1737) + std::vector ::const_iterator _iter1743; + for (_iter1743 = this->success.begin(); _iter1743 != this->success.end(); ++_iter1743) { - xfer += (*_iter1737).write(oprot); + xfer += (*_iter1743).write(oprot); } xfer += oprot->writeListEnd(); } @@ -32820,14 +32820,14 @@ uint32_t ThriftHiveMetastore_list_privileges_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1738; - ::apache::thrift::protocol::TType _etype1741; - xfer += iprot->readListBegin(_etype1741, _size1738); - (*(this->success)).resize(_size1738); - uint32_t _i1742; - for (_i1742 = 0; _i1742 < _size1738; ++_i1742) + 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) { - xfer += (*(this->success))[_i1742].read(iprot); + xfer += (*(this->success))[_i1748].read(iprot); } xfer += iprot->readListEnd(); } @@ -33515,14 +33515,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 _size1743; - ::apache::thrift::protocol::TType _etype1746; - xfer += iprot->readListBegin(_etype1746, _size1743); - this->group_names.resize(_size1743); - uint32_t _i1747; - for (_i1747 = 0; _i1747 < _size1743; ++_i1747) + uint32_t _size1749; + ::apache::thrift::protocol::TType _etype1752; + xfer += iprot->readListBegin(_etype1752, _size1749); + this->group_names.resize(_size1749); + uint32_t _i1753; + for (_i1753 = 0; _i1753 < _size1749; ++_i1753) { - xfer += iprot->readString(this->group_names[_i1747]); + xfer += iprot->readString(this->group_names[_i1753]); } xfer += iprot->readListEnd(); } @@ -33555,10 +33555,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 _iter1748; - for (_iter1748 = this->group_names.begin(); _iter1748 != this->group_names.end(); ++_iter1748) + std::vector ::const_iterator _iter1754; + for (_iter1754 = this->group_names.begin(); _iter1754 != this->group_names.end(); ++_iter1754) { - xfer += oprot->writeString((*_iter1748)); + xfer += oprot->writeString((*_iter1754)); } xfer += oprot->writeListEnd(); } @@ -33586,10 +33586,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 _iter1749; - for (_iter1749 = (*(this->group_names)).begin(); _iter1749 != (*(this->group_names)).end(); ++_iter1749) + std::vector ::const_iterator _iter1755; + for (_iter1755 = (*(this->group_names)).begin(); _iter1755 != (*(this->group_names)).end(); ++_iter1755) { - xfer += oprot->writeString((*_iter1749)); + xfer += oprot->writeString((*_iter1755)); } xfer += oprot->writeListEnd(); } @@ -33630,14 +33630,14 @@ uint32_t ThriftHiveMetastore_set_ugi_result::read(::apache::thrift::protocol::TP 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 += iprot->readString(this->success[_i1754]); + xfer += iprot->readString(this->success[_i1760]); } xfer += iprot->readListEnd(); } @@ -33676,10 +33676,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 _iter1755; - for (_iter1755 = this->success.begin(); _iter1755 != this->success.end(); ++_iter1755) + std::vector ::const_iterator _iter1761; + for (_iter1761 = this->success.begin(); _iter1761 != this->success.end(); ++_iter1761) { - xfer += oprot->writeString((*_iter1755)); + xfer += oprot->writeString((*_iter1761)); } xfer += oprot->writeListEnd(); } @@ -33724,14 +33724,14 @@ uint32_t ThriftHiveMetastore_set_ugi_presult::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - 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) + uint32_t _size1762; + ::apache::thrift::protocol::TType _etype1765; + xfer += iprot->readListBegin(_etype1765, _size1762); + (*(this->success)).resize(_size1762); + uint32_t _i1766; + for (_i1766 = 0; _i1766 < _size1762; ++_i1766) { - xfer += iprot->readString((*(this->success))[_i1760]); + xfer += iprot->readString((*(this->success))[_i1766]); } xfer += iprot->readListEnd(); } @@ -35042,14 +35042,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_result::read(::apache::th if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1761; - ::apache::thrift::protocol::TType _etype1764; - xfer += iprot->readListBegin(_etype1764, _size1761); - this->success.resize(_size1761); - uint32_t _i1765; - for (_i1765 = 0; _i1765 < _size1761; ++_i1765) + uint32_t _size1767; + ::apache::thrift::protocol::TType _etype1770; + xfer += iprot->readListBegin(_etype1770, _size1767); + this->success.resize(_size1767); + uint32_t _i1771; + for (_i1771 = 0; _i1771 < _size1767; ++_i1771) { - xfer += iprot->readString(this->success[_i1765]); + xfer += iprot->readString(this->success[_i1771]); } xfer += iprot->readListEnd(); } @@ -35080,10 +35080,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 _iter1766; - for (_iter1766 = this->success.begin(); _iter1766 != this->success.end(); ++_iter1766) + std::vector ::const_iterator _iter1772; + for (_iter1772 = this->success.begin(); _iter1772 != this->success.end(); ++_iter1772) { - xfer += oprot->writeString((*_iter1766)); + xfer += oprot->writeString((*_iter1772)); } xfer += oprot->writeListEnd(); } @@ -35124,14 +35124,14 @@ uint32_t ThriftHiveMetastore_get_all_token_identifiers_presult::read(::apache::t if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1767; - ::apache::thrift::protocol::TType _etype1770; - xfer += iprot->readListBegin(_etype1770, _size1767); - (*(this->success)).resize(_size1767); - uint32_t _i1771; - for (_i1771 = 0; _i1771 < _size1767; ++_i1771) + uint32_t _size1773; + ::apache::thrift::protocol::TType _etype1776; + xfer += iprot->readListBegin(_etype1776, _size1773); + (*(this->success)).resize(_size1773); + uint32_t _i1777; + for (_i1777 = 0; _i1777 < _size1773; ++_i1777) { - xfer += iprot->readString((*(this->success))[_i1771]); + xfer += iprot->readString((*(this->success))[_i1777]); } xfer += iprot->readListEnd(); } @@ -35857,14 +35857,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_result::read(::apache::thrift::prot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->success.clear(); - uint32_t _size1772; - ::apache::thrift::protocol::TType _etype1775; - xfer += iprot->readListBegin(_etype1775, _size1772); - this->success.resize(_size1772); - uint32_t _i1776; - for (_i1776 = 0; _i1776 < _size1772; ++_i1776) + uint32_t _size1778; + ::apache::thrift::protocol::TType _etype1781; + xfer += iprot->readListBegin(_etype1781, _size1778); + this->success.resize(_size1778); + uint32_t _i1782; + for (_i1782 = 0; _i1782 < _size1778; ++_i1782) { - xfer += iprot->readString(this->success[_i1776]); + xfer += iprot->readString(this->success[_i1782]); } xfer += iprot->readListEnd(); } @@ -35895,10 +35895,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 _iter1777; - for (_iter1777 = this->success.begin(); _iter1777 != this->success.end(); ++_iter1777) + std::vector ::const_iterator _iter1783; + for (_iter1783 = this->success.begin(); _iter1783 != this->success.end(); ++_iter1783) { - xfer += oprot->writeString((*_iter1777)); + xfer += oprot->writeString((*_iter1783)); } xfer += oprot->writeListEnd(); } @@ -35939,14 +35939,14 @@ uint32_t ThriftHiveMetastore_get_master_keys_presult::read(::apache::thrift::pro if (ftype == ::apache::thrift::protocol::T_LIST) { { (*(this->success)).clear(); - uint32_t _size1778; - ::apache::thrift::protocol::TType _etype1781; - xfer += iprot->readListBegin(_etype1781, _size1778); - (*(this->success)).resize(_size1778); - uint32_t _i1782; - for (_i1782 = 0; _i1782 < _size1778; ++_i1782) + uint32_t _size1784; + ::apache::thrift::protocol::TType _etype1787; + xfer += iprot->readListBegin(_etype1787, _size1784); + (*(this->success)).resize(_size1784); + uint32_t _i1788; + for (_i1788 = 0; _i1788 < _size1784; ++_i1788) { - xfer += iprot->readString((*(this->success))[_i1782]); + xfer += iprot->readString((*(this->success))[_i1788]); } 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 cdcde51210..e0acc38a99 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 @@ -14335,6 +14335,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); @@ -14391,6 +14401,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 _size615; + ::apache::thrift::protocol::TType _etype618; + xfer += iprot->readListBegin(_etype618, _size615); + this->replSrcTxnIds.resize(_size615); + uint32_t _i619; + for (_i619 = 0; _i619 < _size615; ++_i619) + { + xfer += iprot->readI64(this->replSrcTxnIds[_i619]); + } + xfer += iprot->readListEnd(); + } + this->__isset.replSrcTxnIds = true; + } else { + xfer += iprot->skip(ftype); + } + break; default: xfer += iprot->skip(ftype); break; @@ -14431,6 +14469,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 _iter620; + for (_iter620 = this->replSrcTxnIds.begin(); _iter620 != this->replSrcTxnIds.end(); ++_iter620) + { + xfer += oprot->writeI64((*_iter620)); + } + xfer += oprot->writeListEnd(); + } + xfer += oprot->writeFieldEnd(); + } xfer += oprot->writeFieldStop(); xfer += oprot->writeStructEnd(); return xfer; @@ -14442,22 +14498,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& other615) { - num_txns = other615.num_txns; - user = other615.user; - hostname = other615.hostname; - agentInfo = other615.agentInfo; - __isset = other615.__isset; -} -OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other616) { - num_txns = other616.num_txns; - user = other616.user; - hostname = other616.hostname; - agentInfo = other616.agentInfo; - __isset = other616.__isset; +OpenTxnRequest::OpenTxnRequest(const OpenTxnRequest& other621) { + num_txns = other621.num_txns; + user = other621.user; + hostname = other621.hostname; + agentInfo = other621.agentInfo; + replPolicy = other621.replPolicy; + replSrcTxnIds = other621.replSrcTxnIds; + __isset = other621.__isset; +} +OpenTxnRequest& OpenTxnRequest::operator=(const OpenTxnRequest& other622) { + num_txns = other622.num_txns; + user = other622.user; + hostname = other622.hostname; + agentInfo = other622.agentInfo; + replPolicy = other622.replPolicy; + replSrcTxnIds = other622.replSrcTxnIds; + __isset = other622.__isset; return *this; } void OpenTxnRequest::printTo(std::ostream& out) const { @@ -14467,6 +14529,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 << ")"; } @@ -14505,14 +14569,14 @@ uint32_t OpenTxnsResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size617; - ::apache::thrift::protocol::TType _etype620; - xfer += iprot->readListBegin(_etype620, _size617); - this->txn_ids.resize(_size617); - uint32_t _i621; - for (_i621 = 0; _i621 < _size617; ++_i621) + uint32_t _size623; + ::apache::thrift::protocol::TType _etype626; + xfer += iprot->readListBegin(_etype626, _size623); + this->txn_ids.resize(_size623); + uint32_t _i627; + for (_i627 = 0; _i627 < _size623; ++_i627) { - xfer += iprot->readI64(this->txn_ids[_i621]); + xfer += iprot->readI64(this->txn_ids[_i627]); } xfer += iprot->readListEnd(); } @@ -14543,10 +14607,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 _iter622; - for (_iter622 = this->txn_ids.begin(); _iter622 != this->txn_ids.end(); ++_iter622) + std::vector ::const_iterator _iter628; + for (_iter628 = this->txn_ids.begin(); _iter628 != this->txn_ids.end(); ++_iter628) { - xfer += oprot->writeI64((*_iter622)); + xfer += oprot->writeI64((*_iter628)); } xfer += oprot->writeListEnd(); } @@ -14562,11 +14626,11 @@ void swap(OpenTxnsResponse &a, OpenTxnsResponse &b) { swap(a.txn_ids, b.txn_ids); } -OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other623) { - txn_ids = other623.txn_ids; +OpenTxnsResponse::OpenTxnsResponse(const OpenTxnsResponse& other629) { + txn_ids = other629.txn_ids; } -OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other624) { - txn_ids = other624.txn_ids; +OpenTxnsResponse& OpenTxnsResponse::operator=(const OpenTxnsResponse& other630) { + txn_ids = other630.txn_ids; return *this; } void OpenTxnsResponse::printTo(std::ostream& out) const { @@ -14585,6 +14649,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); @@ -14615,6 +14684,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; @@ -14638,6 +14715,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; @@ -14646,19 +14728,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& other625) { - txnid = other625.txnid; +AbortTxnRequest::AbortTxnRequest(const AbortTxnRequest& other631) { + txnid = other631.txnid; + replPolicy = other631.replPolicy; + __isset = other631.__isset; } -AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other626) { - txnid = other626.txnid; +AbortTxnRequest& AbortTxnRequest::operator=(const AbortTxnRequest& other632) { + txnid = other632.txnid; + replPolicy = other632.replPolicy; + __isset = other632.__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 << ")"; } @@ -14697,14 +14786,14 @@ uint32_t AbortTxnsRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txn_ids.clear(); - uint32_t _size627; - ::apache::thrift::protocol::TType _etype630; - xfer += iprot->readListBegin(_etype630, _size627); - this->txn_ids.resize(_size627); - uint32_t _i631; - for (_i631 = 0; _i631 < _size627; ++_i631) + uint32_t _size633; + ::apache::thrift::protocol::TType _etype636; + xfer += iprot->readListBegin(_etype636, _size633); + this->txn_ids.resize(_size633); + uint32_t _i637; + for (_i637 = 0; _i637 < _size633; ++_i637) { - xfer += iprot->readI64(this->txn_ids[_i631]); + xfer += iprot->readI64(this->txn_ids[_i637]); } xfer += iprot->readListEnd(); } @@ -14735,10 +14824,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 _iter632; - for (_iter632 = this->txn_ids.begin(); _iter632 != this->txn_ids.end(); ++_iter632) + std::vector ::const_iterator _iter638; + for (_iter638 = this->txn_ids.begin(); _iter638 != this->txn_ids.end(); ++_iter638) { - xfer += oprot->writeI64((*_iter632)); + xfer += oprot->writeI64((*_iter638)); } xfer += oprot->writeListEnd(); } @@ -14754,11 +14843,11 @@ void swap(AbortTxnsRequest &a, AbortTxnsRequest &b) { swap(a.txn_ids, b.txn_ids); } -AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other633) { - txn_ids = other633.txn_ids; +AbortTxnsRequest::AbortTxnsRequest(const AbortTxnsRequest& other639) { + txn_ids = other639.txn_ids; } -AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other634) { - txn_ids = other634.txn_ids; +AbortTxnsRequest& AbortTxnsRequest::operator=(const AbortTxnsRequest& other640) { + txn_ids = other640.txn_ids; return *this; } void AbortTxnsRequest::printTo(std::ostream& out) const { @@ -14777,6 +14866,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); @@ -14807,6 +14901,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; @@ -14830,6 +14932,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; @@ -14838,19 +14945,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& other635) { - txnid = other635.txnid; +CommitTxnRequest::CommitTxnRequest(const CommitTxnRequest& other641) { + txnid = other641.txnid; + replPolicy = other641.replPolicy; + __isset = other641.__isset; } -CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other636) { - txnid = other636.txnid; +CommitTxnRequest& CommitTxnRequest::operator=(const CommitTxnRequest& other642) { + txnid = other642.txnid; + replPolicy = other642.replPolicy; + __isset = other642.__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 << ")"; } @@ -14894,14 +15008,14 @@ uint32_t GetValidWriteIdsRequest::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fullTableNames.clear(); - uint32_t _size637; - ::apache::thrift::protocol::TType _etype640; - xfer += iprot->readListBegin(_etype640, _size637); - this->fullTableNames.resize(_size637); - uint32_t _i641; - for (_i641 = 0; _i641 < _size637; ++_i641) + uint32_t _size643; + ::apache::thrift::protocol::TType _etype646; + xfer += iprot->readListBegin(_etype646, _size643); + this->fullTableNames.resize(_size643); + uint32_t _i647; + for (_i647 = 0; _i647 < _size643; ++_i647) { - xfer += iprot->readString(this->fullTableNames[_i641]); + xfer += iprot->readString(this->fullTableNames[_i647]); } xfer += iprot->readListEnd(); } @@ -14942,10 +15056,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 _iter642; - for (_iter642 = this->fullTableNames.begin(); _iter642 != this->fullTableNames.end(); ++_iter642) + std::vector ::const_iterator _iter648; + for (_iter648 = this->fullTableNames.begin(); _iter648 != this->fullTableNames.end(); ++_iter648) { - xfer += oprot->writeString((*_iter642)); + xfer += oprot->writeString((*_iter648)); } xfer += oprot->writeListEnd(); } @@ -14966,13 +15080,13 @@ void swap(GetValidWriteIdsRequest &a, GetValidWriteIdsRequest &b) { swap(a.validTxnList, b.validTxnList); } -GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other643) { - fullTableNames = other643.fullTableNames; - validTxnList = other643.validTxnList; +GetValidWriteIdsRequest::GetValidWriteIdsRequest(const GetValidWriteIdsRequest& other649) { + fullTableNames = other649.fullTableNames; + validTxnList = other649.validTxnList; } -GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other644) { - fullTableNames = other644.fullTableNames; - validTxnList = other644.validTxnList; +GetValidWriteIdsRequest& GetValidWriteIdsRequest::operator=(const GetValidWriteIdsRequest& other650) { + fullTableNames = other650.fullTableNames; + validTxnList = other650.validTxnList; return *this; } void GetValidWriteIdsRequest::printTo(std::ostream& out) const { @@ -15054,14 +15168,14 @@ uint32_t TableValidWriteIds::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->invalidWriteIds.clear(); - uint32_t _size645; - ::apache::thrift::protocol::TType _etype648; - xfer += iprot->readListBegin(_etype648, _size645); - this->invalidWriteIds.resize(_size645); - uint32_t _i649; - for (_i649 = 0; _i649 < _size645; ++_i649) + uint32_t _size651; + ::apache::thrift::protocol::TType _etype654; + xfer += iprot->readListBegin(_etype654, _size651); + this->invalidWriteIds.resize(_size651); + uint32_t _i655; + for (_i655 = 0; _i655 < _size651; ++_i655) { - xfer += iprot->readI64(this->invalidWriteIds[_i649]); + xfer += iprot->readI64(this->invalidWriteIds[_i655]); } xfer += iprot->readListEnd(); } @@ -15122,10 +15236,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 _iter650; - for (_iter650 = this->invalidWriteIds.begin(); _iter650 != this->invalidWriteIds.end(); ++_iter650) + std::vector ::const_iterator _iter656; + for (_iter656 = this->invalidWriteIds.begin(); _iter656 != this->invalidWriteIds.end(); ++_iter656) { - xfer += oprot->writeI64((*_iter650)); + xfer += oprot->writeI64((*_iter656)); } xfer += oprot->writeListEnd(); } @@ -15155,21 +15269,21 @@ void swap(TableValidWriteIds &a, TableValidWriteIds &b) { swap(a.__isset, b.__isset); } -TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other651) { - fullTableName = other651.fullTableName; - writeIdHighWaterMark = other651.writeIdHighWaterMark; - invalidWriteIds = other651.invalidWriteIds; - minOpenWriteId = other651.minOpenWriteId; - abortedBits = other651.abortedBits; - __isset = other651.__isset; -} -TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other652) { - fullTableName = other652.fullTableName; - writeIdHighWaterMark = other652.writeIdHighWaterMark; - invalidWriteIds = other652.invalidWriteIds; - minOpenWriteId = other652.minOpenWriteId; - abortedBits = other652.abortedBits; - __isset = other652.__isset; +TableValidWriteIds::TableValidWriteIds(const TableValidWriteIds& other657) { + fullTableName = other657.fullTableName; + writeIdHighWaterMark = other657.writeIdHighWaterMark; + invalidWriteIds = other657.invalidWriteIds; + minOpenWriteId = other657.minOpenWriteId; + abortedBits = other657.abortedBits; + __isset = other657.__isset; +} +TableValidWriteIds& TableValidWriteIds::operator=(const TableValidWriteIds& other658) { + fullTableName = other658.fullTableName; + writeIdHighWaterMark = other658.writeIdHighWaterMark; + invalidWriteIds = other658.invalidWriteIds; + minOpenWriteId = other658.minOpenWriteId; + abortedBits = other658.abortedBits; + __isset = other658.__isset; return *this; } void TableValidWriteIds::printTo(std::ostream& out) const { @@ -15218,14 +15332,14 @@ uint32_t GetValidWriteIdsResponse::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblValidWriteIds.clear(); - uint32_t _size653; - ::apache::thrift::protocol::TType _etype656; - xfer += iprot->readListBegin(_etype656, _size653); - this->tblValidWriteIds.resize(_size653); - uint32_t _i657; - for (_i657 = 0; _i657 < _size653; ++_i657) + uint32_t _size659; + ::apache::thrift::protocol::TType _etype662; + xfer += iprot->readListBegin(_etype662, _size659); + this->tblValidWriteIds.resize(_size659); + uint32_t _i663; + for (_i663 = 0; _i663 < _size659; ++_i663) { - xfer += this->tblValidWriteIds[_i657].read(iprot); + xfer += this->tblValidWriteIds[_i663].read(iprot); } xfer += iprot->readListEnd(); } @@ -15256,10 +15370,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 _iter658; - for (_iter658 = this->tblValidWriteIds.begin(); _iter658 != this->tblValidWriteIds.end(); ++_iter658) + std::vector ::const_iterator _iter664; + for (_iter664 = this->tblValidWriteIds.begin(); _iter664 != this->tblValidWriteIds.end(); ++_iter664) { - xfer += (*_iter658).write(oprot); + xfer += (*_iter664).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15275,11 +15389,11 @@ void swap(GetValidWriteIdsResponse &a, GetValidWriteIdsResponse &b) { swap(a.tblValidWriteIds, b.tblValidWriteIds); } -GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other659) { - tblValidWriteIds = other659.tblValidWriteIds; +GetValidWriteIdsResponse::GetValidWriteIdsResponse(const GetValidWriteIdsResponse& other665) { + tblValidWriteIds = other665.tblValidWriteIds; } -GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other660) { - tblValidWriteIds = other660.tblValidWriteIds; +GetValidWriteIdsResponse& GetValidWriteIdsResponse::operator=(const GetValidWriteIdsResponse& other666) { + tblValidWriteIds = other666.tblValidWriteIds; return *this; } void GetValidWriteIdsResponse::printTo(std::ostream& out) const { @@ -15334,14 +15448,14 @@ uint32_t AllocateTableWriteIdsRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnIds.clear(); - uint32_t _size661; - ::apache::thrift::protocol::TType _etype664; - xfer += iprot->readListBegin(_etype664, _size661); - this->txnIds.resize(_size661); - uint32_t _i665; - for (_i665 = 0; _i665 < _size661; ++_i665) + uint32_t _size667; + ::apache::thrift::protocol::TType _etype670; + xfer += iprot->readListBegin(_etype670, _size667); + this->txnIds.resize(_size667); + uint32_t _i671; + for (_i671 = 0; _i671 < _size667; ++_i671) { - xfer += iprot->readI64(this->txnIds[_i665]); + xfer += iprot->readI64(this->txnIds[_i671]); } xfer += iprot->readListEnd(); } @@ -15392,10 +15506,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 _iter666; - for (_iter666 = this->txnIds.begin(); _iter666 != this->txnIds.end(); ++_iter666) + std::vector ::const_iterator _iter672; + for (_iter672 = this->txnIds.begin(); _iter672 != this->txnIds.end(); ++_iter672) { - xfer += oprot->writeI64((*_iter666)); + xfer += oprot->writeI64((*_iter672)); } xfer += oprot->writeListEnd(); } @@ -15421,15 +15535,15 @@ void swap(AllocateTableWriteIdsRequest &a, AllocateTableWriteIdsRequest &b) { swap(a.tableName, b.tableName); } -AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other667) { - txnIds = other667.txnIds; - dbName = other667.dbName; - tableName = other667.tableName; +AllocateTableWriteIdsRequest::AllocateTableWriteIdsRequest(const AllocateTableWriteIdsRequest& other673) { + txnIds = other673.txnIds; + dbName = other673.dbName; + tableName = other673.tableName; } -AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other668) { - txnIds = other668.txnIds; - dbName = other668.dbName; - tableName = other668.tableName; +AllocateTableWriteIdsRequest& AllocateTableWriteIdsRequest::operator=(const AllocateTableWriteIdsRequest& other674) { + txnIds = other674.txnIds; + dbName = other674.dbName; + tableName = other674.tableName; return *this; } void AllocateTableWriteIdsRequest::printTo(std::ostream& out) const { @@ -15533,13 +15647,13 @@ void swap(TxnToWriteId &a, TxnToWriteId &b) { swap(a.writeId, b.writeId); } -TxnToWriteId::TxnToWriteId(const TxnToWriteId& other669) { - txnId = other669.txnId; - writeId = other669.writeId; +TxnToWriteId::TxnToWriteId(const TxnToWriteId& other675) { + txnId = other675.txnId; + writeId = other675.writeId; } -TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other670) { - txnId = other670.txnId; - writeId = other670.writeId; +TxnToWriteId& TxnToWriteId::operator=(const TxnToWriteId& other676) { + txnId = other676.txnId; + writeId = other676.writeId; return *this; } void TxnToWriteId::printTo(std::ostream& out) const { @@ -15585,14 +15699,14 @@ uint32_t AllocateTableWriteIdsResponse::read(::apache::thrift::protocol::TProtoc if (ftype == ::apache::thrift::protocol::T_LIST) { { this->txnToWriteIds.clear(); - uint32_t _size671; - ::apache::thrift::protocol::TType _etype674; - xfer += iprot->readListBegin(_etype674, _size671); - this->txnToWriteIds.resize(_size671); - uint32_t _i675; - for (_i675 = 0; _i675 < _size671; ++_i675) + uint32_t _size677; + ::apache::thrift::protocol::TType _etype680; + xfer += iprot->readListBegin(_etype680, _size677); + this->txnToWriteIds.resize(_size677); + uint32_t _i681; + for (_i681 = 0; _i681 < _size677; ++_i681) { - xfer += this->txnToWriteIds[_i675].read(iprot); + xfer += this->txnToWriteIds[_i681].read(iprot); } xfer += iprot->readListEnd(); } @@ -15623,10 +15737,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 _iter676; - for (_iter676 = this->txnToWriteIds.begin(); _iter676 != this->txnToWriteIds.end(); ++_iter676) + std::vector ::const_iterator _iter682; + for (_iter682 = this->txnToWriteIds.begin(); _iter682 != this->txnToWriteIds.end(); ++_iter682) { - xfer += (*_iter676).write(oprot); + xfer += (*_iter682).write(oprot); } xfer += oprot->writeListEnd(); } @@ -15642,11 +15756,11 @@ void swap(AllocateTableWriteIdsResponse &a, AllocateTableWriteIdsResponse &b) { swap(a.txnToWriteIds, b.txnToWriteIds); } -AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other677) { - txnToWriteIds = other677.txnToWriteIds; +AllocateTableWriteIdsResponse::AllocateTableWriteIdsResponse(const AllocateTableWriteIdsResponse& other683) { + txnToWriteIds = other683.txnToWriteIds; } -AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other678) { - txnToWriteIds = other678.txnToWriteIds; +AllocateTableWriteIdsResponse& AllocateTableWriteIdsResponse::operator=(const AllocateTableWriteIdsResponse& other684) { + txnToWriteIds = other684.txnToWriteIds; return *this; } void AllocateTableWriteIdsResponse::printTo(std::ostream& out) const { @@ -15724,9 +15838,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { { case 1: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast679; - xfer += iprot->readI32(ecast679); - this->type = (LockType::type)ecast679; + int32_t ecast685; + xfer += iprot->readI32(ecast685); + this->type = (LockType::type)ecast685; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -15734,9 +15848,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast680; - xfer += iprot->readI32(ecast680); - this->level = (LockLevel::type)ecast680; + int32_t ecast686; + xfer += iprot->readI32(ecast686); + this->level = (LockLevel::type)ecast686; isset_level = true; } else { xfer += iprot->skip(ftype); @@ -15768,9 +15882,9 @@ uint32_t LockComponent::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast681; - xfer += iprot->readI32(ecast681); - this->operationType = (DataOperationType::type)ecast681; + int32_t ecast687; + xfer += iprot->readI32(ecast687); + this->operationType = (DataOperationType::type)ecast687; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -15870,27 +15984,27 @@ void swap(LockComponent &a, LockComponent &b) { swap(a.__isset, b.__isset); } -LockComponent::LockComponent(const LockComponent& other682) { - type = other682.type; - level = other682.level; - dbname = other682.dbname; - tablename = other682.tablename; - partitionname = other682.partitionname; - operationType = other682.operationType; - isAcid = other682.isAcid; - isDynamicPartitionWrite = other682.isDynamicPartitionWrite; - __isset = other682.__isset; -} -LockComponent& LockComponent::operator=(const LockComponent& other683) { - type = other683.type; - level = other683.level; - dbname = other683.dbname; - tablename = other683.tablename; - partitionname = other683.partitionname; - operationType = other683.operationType; - isAcid = other683.isAcid; - isDynamicPartitionWrite = other683.isDynamicPartitionWrite; - __isset = other683.__isset; +LockComponent::LockComponent(const LockComponent& other688) { + type = other688.type; + level = other688.level; + dbname = other688.dbname; + tablename = other688.tablename; + partitionname = other688.partitionname; + operationType = other688.operationType; + isAcid = other688.isAcid; + isDynamicPartitionWrite = other688.isDynamicPartitionWrite; + __isset = other688.__isset; +} +LockComponent& LockComponent::operator=(const LockComponent& other689) { + type = other689.type; + level = other689.level; + dbname = other689.dbname; + tablename = other689.tablename; + partitionname = other689.partitionname; + operationType = other689.operationType; + isAcid = other689.isAcid; + isDynamicPartitionWrite = other689.isDynamicPartitionWrite; + __isset = other689.__isset; return *this; } void LockComponent::printTo(std::ostream& out) const { @@ -15962,14 +16076,14 @@ uint32_t LockRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->component.clear(); - uint32_t _size684; - ::apache::thrift::protocol::TType _etype687; - xfer += iprot->readListBegin(_etype687, _size684); - this->component.resize(_size684); - uint32_t _i688; - for (_i688 = 0; _i688 < _size684; ++_i688) + uint32_t _size690; + ::apache::thrift::protocol::TType _etype693; + xfer += iprot->readListBegin(_etype693, _size690); + this->component.resize(_size690); + uint32_t _i694; + for (_i694 = 0; _i694 < _size690; ++_i694) { - xfer += this->component[_i688].read(iprot); + xfer += this->component[_i694].read(iprot); } xfer += iprot->readListEnd(); } @@ -16036,10 +16150,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 _iter689; - for (_iter689 = this->component.begin(); _iter689 != this->component.end(); ++_iter689) + std::vector ::const_iterator _iter695; + for (_iter695 = this->component.begin(); _iter695 != this->component.end(); ++_iter695) { - xfer += (*_iter689).write(oprot); + xfer += (*_iter695).write(oprot); } xfer += oprot->writeListEnd(); } @@ -16078,21 +16192,21 @@ void swap(LockRequest &a, LockRequest &b) { swap(a.__isset, b.__isset); } -LockRequest::LockRequest(const LockRequest& other690) { - component = other690.component; - txnid = other690.txnid; - user = other690.user; - hostname = other690.hostname; - agentInfo = other690.agentInfo; - __isset = other690.__isset; -} -LockRequest& LockRequest::operator=(const LockRequest& other691) { - component = other691.component; - txnid = other691.txnid; - user = other691.user; - hostname = other691.hostname; - agentInfo = other691.agentInfo; - __isset = other691.__isset; +LockRequest::LockRequest(const LockRequest& other696) { + component = other696.component; + txnid = other696.txnid; + user = other696.user; + hostname = other696.hostname; + agentInfo = other696.agentInfo; + __isset = other696.__isset; +} +LockRequest& LockRequest::operator=(const LockRequest& other697) { + component = other697.component; + txnid = other697.txnid; + user = other697.user; + hostname = other697.hostname; + agentInfo = other697.agentInfo; + __isset = other697.__isset; return *this; } void LockRequest::printTo(std::ostream& out) const { @@ -16152,9 +16266,9 @@ uint32_t LockResponse::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast692; - xfer += iprot->readI32(ecast692); - this->state = (LockState::type)ecast692; + int32_t ecast698; + xfer += iprot->readI32(ecast698); + this->state = (LockState::type)ecast698; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -16200,13 +16314,13 @@ void swap(LockResponse &a, LockResponse &b) { swap(a.state, b.state); } -LockResponse::LockResponse(const LockResponse& other693) { - lockid = other693.lockid; - state = other693.state; +LockResponse::LockResponse(const LockResponse& other699) { + lockid = other699.lockid; + state = other699.state; } -LockResponse& LockResponse::operator=(const LockResponse& other694) { - lockid = other694.lockid; - state = other694.state; +LockResponse& LockResponse::operator=(const LockResponse& other700) { + lockid = other700.lockid; + state = other700.state; return *this; } void LockResponse::printTo(std::ostream& out) const { @@ -16328,17 +16442,17 @@ void swap(CheckLockRequest &a, CheckLockRequest &b) { swap(a.__isset, b.__isset); } -CheckLockRequest::CheckLockRequest(const CheckLockRequest& other695) { - lockid = other695.lockid; - txnid = other695.txnid; - elapsed_ms = other695.elapsed_ms; - __isset = other695.__isset; +CheckLockRequest::CheckLockRequest(const CheckLockRequest& other701) { + lockid = other701.lockid; + txnid = other701.txnid; + elapsed_ms = other701.elapsed_ms; + __isset = other701.__isset; } -CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other696) { - lockid = other696.lockid; - txnid = other696.txnid; - elapsed_ms = other696.elapsed_ms; - __isset = other696.__isset; +CheckLockRequest& CheckLockRequest::operator=(const CheckLockRequest& other702) { + lockid = other702.lockid; + txnid = other702.txnid; + elapsed_ms = other702.elapsed_ms; + __isset = other702.__isset; return *this; } void CheckLockRequest::printTo(std::ostream& out) const { @@ -16422,11 +16536,11 @@ void swap(UnlockRequest &a, UnlockRequest &b) { swap(a.lockid, b.lockid); } -UnlockRequest::UnlockRequest(const UnlockRequest& other697) { - lockid = other697.lockid; +UnlockRequest::UnlockRequest(const UnlockRequest& other703) { + lockid = other703.lockid; } -UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other698) { - lockid = other698.lockid; +UnlockRequest& UnlockRequest::operator=(const UnlockRequest& other704) { + lockid = other704.lockid; return *this; } void UnlockRequest::printTo(std::ostream& out) const { @@ -16565,19 +16679,19 @@ void swap(ShowLocksRequest &a, ShowLocksRequest &b) { swap(a.__isset, b.__isset); } -ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other699) { - dbname = other699.dbname; - tablename = other699.tablename; - partname = other699.partname; - isExtended = other699.isExtended; - __isset = other699.__isset; +ShowLocksRequest::ShowLocksRequest(const ShowLocksRequest& other705) { + dbname = other705.dbname; + tablename = other705.tablename; + partname = other705.partname; + isExtended = other705.isExtended; + __isset = other705.__isset; } -ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other700) { - dbname = other700.dbname; - tablename = other700.tablename; - partname = other700.partname; - isExtended = other700.isExtended; - __isset = other700.__isset; +ShowLocksRequest& ShowLocksRequest::operator=(const ShowLocksRequest& other706) { + dbname = other706.dbname; + tablename = other706.tablename; + partname = other706.partname; + isExtended = other706.isExtended; + __isset = other706.__isset; return *this; } void ShowLocksRequest::printTo(std::ostream& out) const { @@ -16730,9 +16844,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 5: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast701; - xfer += iprot->readI32(ecast701); - this->state = (LockState::type)ecast701; + int32_t ecast707; + xfer += iprot->readI32(ecast707); + this->state = (LockState::type)ecast707; isset_state = true; } else { xfer += iprot->skip(ftype); @@ -16740,9 +16854,9 @@ uint32_t ShowLocksResponseElement::read(::apache::thrift::protocol::TProtocol* i break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast702; - xfer += iprot->readI32(ecast702); - this->type = (LockType::type)ecast702; + int32_t ecast708; + xfer += iprot->readI32(ecast708); + this->type = (LockType::type)ecast708; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -16958,43 +17072,43 @@ void swap(ShowLocksResponseElement &a, ShowLocksResponseElement &b) { swap(a.__isset, b.__isset); } -ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other703) { - lockid = other703.lockid; - dbname = other703.dbname; - tablename = other703.tablename; - partname = other703.partname; - state = other703.state; - type = other703.type; - txnid = other703.txnid; - lastheartbeat = other703.lastheartbeat; - acquiredat = other703.acquiredat; - user = other703.user; - hostname = other703.hostname; - heartbeatCount = other703.heartbeatCount; - agentInfo = other703.agentInfo; - blockedByExtId = other703.blockedByExtId; - blockedByIntId = other703.blockedByIntId; - lockIdInternal = other703.lockIdInternal; - __isset = other703.__isset; -} -ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other704) { - lockid = other704.lockid; - dbname = other704.dbname; - tablename = other704.tablename; - partname = other704.partname; - state = other704.state; - type = other704.type; - txnid = other704.txnid; - lastheartbeat = other704.lastheartbeat; - acquiredat = other704.acquiredat; - user = other704.user; - hostname = other704.hostname; - heartbeatCount = other704.heartbeatCount; - agentInfo = other704.agentInfo; - blockedByExtId = other704.blockedByExtId; - blockedByIntId = other704.blockedByIntId; - lockIdInternal = other704.lockIdInternal; - __isset = other704.__isset; +ShowLocksResponseElement::ShowLocksResponseElement(const ShowLocksResponseElement& other709) { + lockid = other709.lockid; + dbname = other709.dbname; + tablename = other709.tablename; + partname = other709.partname; + state = other709.state; + type = other709.type; + txnid = other709.txnid; + lastheartbeat = other709.lastheartbeat; + acquiredat = other709.acquiredat; + user = other709.user; + hostname = other709.hostname; + heartbeatCount = other709.heartbeatCount; + agentInfo = other709.agentInfo; + blockedByExtId = other709.blockedByExtId; + blockedByIntId = other709.blockedByIntId; + lockIdInternal = other709.lockIdInternal; + __isset = other709.__isset; +} +ShowLocksResponseElement& ShowLocksResponseElement::operator=(const ShowLocksResponseElement& other710) { + lockid = other710.lockid; + dbname = other710.dbname; + tablename = other710.tablename; + partname = other710.partname; + state = other710.state; + type = other710.type; + txnid = other710.txnid; + lastheartbeat = other710.lastheartbeat; + acquiredat = other710.acquiredat; + user = other710.user; + hostname = other710.hostname; + heartbeatCount = other710.heartbeatCount; + agentInfo = other710.agentInfo; + blockedByExtId = other710.blockedByExtId; + blockedByIntId = other710.blockedByIntId; + lockIdInternal = other710.lockIdInternal; + __isset = other710.__isset; return *this; } void ShowLocksResponseElement::printTo(std::ostream& out) const { @@ -17053,14 +17167,14 @@ uint32_t ShowLocksResponse::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->locks.clear(); - uint32_t _size705; - ::apache::thrift::protocol::TType _etype708; - xfer += iprot->readListBegin(_etype708, _size705); - this->locks.resize(_size705); - uint32_t _i709; - for (_i709 = 0; _i709 < _size705; ++_i709) + uint32_t _size711; + ::apache::thrift::protocol::TType _etype714; + xfer += iprot->readListBegin(_etype714, _size711); + this->locks.resize(_size711); + uint32_t _i715; + for (_i715 = 0; _i715 < _size711; ++_i715) { - xfer += this->locks[_i709].read(iprot); + xfer += this->locks[_i715].read(iprot); } xfer += iprot->readListEnd(); } @@ -17089,10 +17203,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 _iter710; - for (_iter710 = this->locks.begin(); _iter710 != this->locks.end(); ++_iter710) + std::vector ::const_iterator _iter716; + for (_iter716 = this->locks.begin(); _iter716 != this->locks.end(); ++_iter716) { - xfer += (*_iter710).write(oprot); + xfer += (*_iter716).write(oprot); } xfer += oprot->writeListEnd(); } @@ -17109,13 +17223,13 @@ void swap(ShowLocksResponse &a, ShowLocksResponse &b) { swap(a.__isset, b.__isset); } -ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other711) { - locks = other711.locks; - __isset = other711.__isset; +ShowLocksResponse::ShowLocksResponse(const ShowLocksResponse& other717) { + locks = other717.locks; + __isset = other717.__isset; } -ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other712) { - locks = other712.locks; - __isset = other712.__isset; +ShowLocksResponse& ShowLocksResponse::operator=(const ShowLocksResponse& other718) { + locks = other718.locks; + __isset = other718.__isset; return *this; } void ShowLocksResponse::printTo(std::ostream& out) const { @@ -17216,15 +17330,15 @@ void swap(HeartbeatRequest &a, HeartbeatRequest &b) { swap(a.__isset, b.__isset); } -HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other713) { - lockid = other713.lockid; - txnid = other713.txnid; - __isset = other713.__isset; +HeartbeatRequest::HeartbeatRequest(const HeartbeatRequest& other719) { + lockid = other719.lockid; + txnid = other719.txnid; + __isset = other719.__isset; } -HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other714) { - lockid = other714.lockid; - txnid = other714.txnid; - __isset = other714.__isset; +HeartbeatRequest& HeartbeatRequest::operator=(const HeartbeatRequest& other720) { + lockid = other720.lockid; + txnid = other720.txnid; + __isset = other720.__isset; return *this; } void HeartbeatRequest::printTo(std::ostream& out) const { @@ -17327,13 +17441,13 @@ void swap(HeartbeatTxnRangeRequest &a, HeartbeatTxnRangeRequest &b) { swap(a.max, b.max); } -HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other715) { - min = other715.min; - max = other715.max; +HeartbeatTxnRangeRequest::HeartbeatTxnRangeRequest(const HeartbeatTxnRangeRequest& other721) { + min = other721.min; + max = other721.max; } -HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other716) { - min = other716.min; - max = other716.max; +HeartbeatTxnRangeRequest& HeartbeatTxnRangeRequest::operator=(const HeartbeatTxnRangeRequest& other722) { + min = other722.min; + max = other722.max; return *this; } void HeartbeatTxnRangeRequest::printTo(std::ostream& out) const { @@ -17384,15 +17498,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->aborted.clear(); - uint32_t _size717; - ::apache::thrift::protocol::TType _etype720; - xfer += iprot->readSetBegin(_etype720, _size717); - uint32_t _i721; - for (_i721 = 0; _i721 < _size717; ++_i721) + uint32_t _size723; + ::apache::thrift::protocol::TType _etype726; + xfer += iprot->readSetBegin(_etype726, _size723); + uint32_t _i727; + for (_i727 = 0; _i727 < _size723; ++_i727) { - int64_t _elem722; - xfer += iprot->readI64(_elem722); - this->aborted.insert(_elem722); + int64_t _elem728; + xfer += iprot->readI64(_elem728); + this->aborted.insert(_elem728); } xfer += iprot->readSetEnd(); } @@ -17405,15 +17519,15 @@ uint32_t HeartbeatTxnRangeResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_SET) { { this->nosuch.clear(); - uint32_t _size723; - ::apache::thrift::protocol::TType _etype726; - xfer += iprot->readSetBegin(_etype726, _size723); - uint32_t _i727; - for (_i727 = 0; _i727 < _size723; ++_i727) + uint32_t _size729; + ::apache::thrift::protocol::TType _etype732; + xfer += iprot->readSetBegin(_etype732, _size729); + uint32_t _i733; + for (_i733 = 0; _i733 < _size729; ++_i733) { - int64_t _elem728; - xfer += iprot->readI64(_elem728); - this->nosuch.insert(_elem728); + int64_t _elem734; + xfer += iprot->readI64(_elem734); + this->nosuch.insert(_elem734); } xfer += iprot->readSetEnd(); } @@ -17446,10 +17560,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 _iter729; - for (_iter729 = this->aborted.begin(); _iter729 != this->aborted.end(); ++_iter729) + std::set ::const_iterator _iter735; + for (_iter735 = this->aborted.begin(); _iter735 != this->aborted.end(); ++_iter735) { - xfer += oprot->writeI64((*_iter729)); + xfer += oprot->writeI64((*_iter735)); } xfer += oprot->writeSetEnd(); } @@ -17458,10 +17572,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 _iter730; - for (_iter730 = this->nosuch.begin(); _iter730 != this->nosuch.end(); ++_iter730) + std::set ::const_iterator _iter736; + for (_iter736 = this->nosuch.begin(); _iter736 != this->nosuch.end(); ++_iter736) { - xfer += oprot->writeI64((*_iter730)); + xfer += oprot->writeI64((*_iter736)); } xfer += oprot->writeSetEnd(); } @@ -17478,13 +17592,13 @@ void swap(HeartbeatTxnRangeResponse &a, HeartbeatTxnRangeResponse &b) { swap(a.nosuch, b.nosuch); } -HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other731) { - aborted = other731.aborted; - nosuch = other731.nosuch; +HeartbeatTxnRangeResponse::HeartbeatTxnRangeResponse(const HeartbeatTxnRangeResponse& other737) { + aborted = other737.aborted; + nosuch = other737.nosuch; } -HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other732) { - aborted = other732.aborted; - nosuch = other732.nosuch; +HeartbeatTxnRangeResponse& HeartbeatTxnRangeResponse::operator=(const HeartbeatTxnRangeResponse& other738) { + aborted = other738.aborted; + nosuch = other738.nosuch; return *this; } void HeartbeatTxnRangeResponse::printTo(std::ostream& out) const { @@ -17577,9 +17691,9 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast733; - xfer += iprot->readI32(ecast733); - this->type = (CompactionType::type)ecast733; + int32_t ecast739; + xfer += iprot->readI32(ecast739); + this->type = (CompactionType::type)ecast739; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -17597,17 +17711,17 @@ uint32_t CompactionRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_MAP) { { this->properties.clear(); - uint32_t _size734; - ::apache::thrift::protocol::TType _ktype735; - ::apache::thrift::protocol::TType _vtype736; - xfer += iprot->readMapBegin(_ktype735, _vtype736, _size734); - uint32_t _i738; - for (_i738 = 0; _i738 < _size734; ++_i738) + uint32_t _size740; + ::apache::thrift::protocol::TType _ktype741; + ::apache::thrift::protocol::TType _vtype742; + xfer += iprot->readMapBegin(_ktype741, _vtype742, _size740); + uint32_t _i744; + for (_i744 = 0; _i744 < _size740; ++_i744) { - std::string _key739; - xfer += iprot->readString(_key739); - std::string& _val740 = this->properties[_key739]; - xfer += iprot->readString(_val740); + std::string _key745; + xfer += iprot->readString(_key745); + std::string& _val746 = this->properties[_key745]; + xfer += iprot->readString(_val746); } xfer += iprot->readMapEnd(); } @@ -17665,11 +17779,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 _iter741; - for (_iter741 = this->properties.begin(); _iter741 != this->properties.end(); ++_iter741) + std::map ::const_iterator _iter747; + for (_iter747 = this->properties.begin(); _iter747 != this->properties.end(); ++_iter747) { - xfer += oprot->writeString(_iter741->first); - xfer += oprot->writeString(_iter741->second); + xfer += oprot->writeString(_iter747->first); + xfer += oprot->writeString(_iter747->second); } xfer += oprot->writeMapEnd(); } @@ -17691,23 +17805,23 @@ void swap(CompactionRequest &a, CompactionRequest &b) { swap(a.__isset, b.__isset); } -CompactionRequest::CompactionRequest(const CompactionRequest& other742) { - dbname = other742.dbname; - tablename = other742.tablename; - partitionname = other742.partitionname; - type = other742.type; - runas = other742.runas; - properties = other742.properties; - __isset = other742.__isset; -} -CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other743) { - dbname = other743.dbname; - tablename = other743.tablename; - partitionname = other743.partitionname; - type = other743.type; - runas = other743.runas; - properties = other743.properties; - __isset = other743.__isset; +CompactionRequest::CompactionRequest(const CompactionRequest& other748) { + dbname = other748.dbname; + tablename = other748.tablename; + partitionname = other748.partitionname; + type = other748.type; + runas = other748.runas; + properties = other748.properties; + __isset = other748.__isset; +} +CompactionRequest& CompactionRequest::operator=(const CompactionRequest& other749) { + dbname = other749.dbname; + tablename = other749.tablename; + partitionname = other749.partitionname; + type = other749.type; + runas = other749.runas; + properties = other749.properties; + __isset = other749.__isset; return *this; } void CompactionRequest::printTo(std::ostream& out) const { @@ -17834,15 +17948,15 @@ void swap(CompactionResponse &a, CompactionResponse &b) { swap(a.accepted, b.accepted); } -CompactionResponse::CompactionResponse(const CompactionResponse& other744) { - id = other744.id; - state = other744.state; - accepted = other744.accepted; +CompactionResponse::CompactionResponse(const CompactionResponse& other750) { + id = other750.id; + state = other750.state; + accepted = other750.accepted; } -CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other745) { - id = other745.id; - state = other745.state; - accepted = other745.accepted; +CompactionResponse& CompactionResponse::operator=(const CompactionResponse& other751) { + id = other751.id; + state = other751.state; + accepted = other751.accepted; return *this; } void CompactionResponse::printTo(std::ostream& out) const { @@ -17903,11 +18017,11 @@ void swap(ShowCompactRequest &a, ShowCompactRequest &b) { (void) b; } -ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other746) { - (void) other746; +ShowCompactRequest::ShowCompactRequest(const ShowCompactRequest& other752) { + (void) other752; } -ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other747) { - (void) other747; +ShowCompactRequest& ShowCompactRequest::operator=(const ShowCompactRequest& other753) { + (void) other753; return *this; } void ShowCompactRequest::printTo(std::ostream& out) const { @@ -18033,9 +18147,9 @@ uint32_t ShowCompactResponseElement::read(::apache::thrift::protocol::TProtocol* break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast748; - xfer += iprot->readI32(ecast748); - this->type = (CompactionType::type)ecast748; + int32_t ecast754; + xfer += iprot->readI32(ecast754); + this->type = (CompactionType::type)ecast754; isset_type = true; } else { xfer += iprot->skip(ftype); @@ -18222,37 +18336,37 @@ void swap(ShowCompactResponseElement &a, ShowCompactResponseElement &b) { swap(a.__isset, b.__isset); } -ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other749) { - dbname = other749.dbname; - tablename = other749.tablename; - partitionname = other749.partitionname; - type = other749.type; - state = other749.state; - workerid = other749.workerid; - start = other749.start; - runAs = other749.runAs; - hightestTxnId = other749.hightestTxnId; - metaInfo = other749.metaInfo; - endTime = other749.endTime; - hadoopJobId = other749.hadoopJobId; - id = other749.id; - __isset = other749.__isset; -} -ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other750) { - dbname = other750.dbname; - tablename = other750.tablename; - partitionname = other750.partitionname; - type = other750.type; - state = other750.state; - workerid = other750.workerid; - start = other750.start; - runAs = other750.runAs; - hightestTxnId = other750.hightestTxnId; - metaInfo = other750.metaInfo; - endTime = other750.endTime; - hadoopJobId = other750.hadoopJobId; - id = other750.id; - __isset = other750.__isset; +ShowCompactResponseElement::ShowCompactResponseElement(const ShowCompactResponseElement& other755) { + dbname = other755.dbname; + tablename = other755.tablename; + partitionname = other755.partitionname; + type = other755.type; + state = other755.state; + workerid = other755.workerid; + start = other755.start; + runAs = other755.runAs; + hightestTxnId = other755.hightestTxnId; + metaInfo = other755.metaInfo; + endTime = other755.endTime; + hadoopJobId = other755.hadoopJobId; + id = other755.id; + __isset = other755.__isset; +} +ShowCompactResponseElement& ShowCompactResponseElement::operator=(const ShowCompactResponseElement& other756) { + dbname = other756.dbname; + tablename = other756.tablename; + partitionname = other756.partitionname; + type = other756.type; + state = other756.state; + workerid = other756.workerid; + start = other756.start; + runAs = other756.runAs; + hightestTxnId = other756.hightestTxnId; + metaInfo = other756.metaInfo; + endTime = other756.endTime; + hadoopJobId = other756.hadoopJobId; + id = other756.id; + __isset = other756.__isset; return *this; } void ShowCompactResponseElement::printTo(std::ostream& out) const { @@ -18309,14 +18423,14 @@ uint32_t ShowCompactResponse::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->compacts.clear(); - uint32_t _size751; - ::apache::thrift::protocol::TType _etype754; - xfer += iprot->readListBegin(_etype754, _size751); - this->compacts.resize(_size751); - uint32_t _i755; - for (_i755 = 0; _i755 < _size751; ++_i755) + uint32_t _size757; + ::apache::thrift::protocol::TType _etype760; + xfer += iprot->readListBegin(_etype760, _size757); + this->compacts.resize(_size757); + uint32_t _i761; + for (_i761 = 0; _i761 < _size757; ++_i761) { - xfer += this->compacts[_i755].read(iprot); + xfer += this->compacts[_i761].read(iprot); } xfer += iprot->readListEnd(); } @@ -18347,10 +18461,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 _iter756; - for (_iter756 = this->compacts.begin(); _iter756 != this->compacts.end(); ++_iter756) + std::vector ::const_iterator _iter762; + for (_iter762 = this->compacts.begin(); _iter762 != this->compacts.end(); ++_iter762) { - xfer += (*_iter756).write(oprot); + xfer += (*_iter762).write(oprot); } xfer += oprot->writeListEnd(); } @@ -18366,11 +18480,11 @@ void swap(ShowCompactResponse &a, ShowCompactResponse &b) { swap(a.compacts, b.compacts); } -ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other757) { - compacts = other757.compacts; +ShowCompactResponse::ShowCompactResponse(const ShowCompactResponse& other763) { + compacts = other763.compacts; } -ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other758) { - compacts = other758.compacts; +ShowCompactResponse& ShowCompactResponse::operator=(const ShowCompactResponse& other764) { + compacts = other764.compacts; return *this; } void ShowCompactResponse::printTo(std::ostream& out) const { @@ -18472,14 +18586,14 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionnames.clear(); - uint32_t _size759; - ::apache::thrift::protocol::TType _etype762; - xfer += iprot->readListBegin(_etype762, _size759); - this->partitionnames.resize(_size759); - uint32_t _i763; - for (_i763 = 0; _i763 < _size759; ++_i763) + uint32_t _size765; + ::apache::thrift::protocol::TType _etype768; + xfer += iprot->readListBegin(_etype768, _size765); + this->partitionnames.resize(_size765); + uint32_t _i769; + for (_i769 = 0; _i769 < _size765; ++_i769) { - xfer += iprot->readString(this->partitionnames[_i763]); + xfer += iprot->readString(this->partitionnames[_i769]); } xfer += iprot->readListEnd(); } @@ -18490,9 +18604,9 @@ uint32_t AddDynamicPartitions::read(::apache::thrift::protocol::TProtocol* iprot break; case 6: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast764; - xfer += iprot->readI32(ecast764); - this->operationType = (DataOperationType::type)ecast764; + int32_t ecast770; + xfer += iprot->readI32(ecast770); + this->operationType = (DataOperationType::type)ecast770; this->__isset.operationType = true; } else { xfer += iprot->skip(ftype); @@ -18544,10 +18658,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 _iter765; - for (_iter765 = this->partitionnames.begin(); _iter765 != this->partitionnames.end(); ++_iter765) + std::vector ::const_iterator _iter771; + for (_iter771 = this->partitionnames.begin(); _iter771 != this->partitionnames.end(); ++_iter771) { - xfer += oprot->writeString((*_iter765)); + xfer += oprot->writeString((*_iter771)); } xfer += oprot->writeListEnd(); } @@ -18574,23 +18688,23 @@ void swap(AddDynamicPartitions &a, AddDynamicPartitions &b) { swap(a.__isset, b.__isset); } -AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other766) { - txnid = other766.txnid; - writeid = other766.writeid; - dbname = other766.dbname; - tablename = other766.tablename; - partitionnames = other766.partitionnames; - operationType = other766.operationType; - __isset = other766.__isset; -} -AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other767) { - txnid = other767.txnid; - writeid = other767.writeid; - dbname = other767.dbname; - tablename = other767.tablename; - partitionnames = other767.partitionnames; - operationType = other767.operationType; - __isset = other767.__isset; +AddDynamicPartitions::AddDynamicPartitions(const AddDynamicPartitions& other772) { + txnid = other772.txnid; + writeid = other772.writeid; + dbname = other772.dbname; + tablename = other772.tablename; + partitionnames = other772.partitionnames; + operationType = other772.operationType; + __isset = other772.__isset; +} +AddDynamicPartitions& AddDynamicPartitions::operator=(const AddDynamicPartitions& other773) { + txnid = other773.txnid; + writeid = other773.writeid; + dbname = other773.dbname; + tablename = other773.tablename; + partitionnames = other773.partitionnames; + operationType = other773.operationType; + __isset = other773.__isset; return *this; } void AddDynamicPartitions::printTo(std::ostream& out) const { @@ -18773,23 +18887,23 @@ void swap(BasicTxnInfo &a, BasicTxnInfo &b) { swap(a.__isset, b.__isset); } -BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other768) { - isnull = other768.isnull; - time = other768.time; - txnid = other768.txnid; - dbname = other768.dbname; - tablename = other768.tablename; - partitionname = other768.partitionname; - __isset = other768.__isset; -} -BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other769) { - isnull = other769.isnull; - time = other769.time; - txnid = other769.txnid; - dbname = other769.dbname; - tablename = other769.tablename; - partitionname = other769.partitionname; - __isset = other769.__isset; +BasicTxnInfo::BasicTxnInfo(const BasicTxnInfo& other774) { + isnull = other774.isnull; + time = other774.time; + txnid = other774.txnid; + dbname = other774.dbname; + tablename = other774.tablename; + partitionname = other774.partitionname; + __isset = other774.__isset; +} +BasicTxnInfo& BasicTxnInfo::operator=(const BasicTxnInfo& other775) { + isnull = other775.isnull; + time = other775.time; + txnid = other775.txnid; + dbname = other775.dbname; + tablename = other775.tablename; + partitionname = other775.partitionname; + __isset = other775.__isset; return *this; } void BasicTxnInfo::printTo(std::ostream& out) const { @@ -18870,15 +18984,15 @@ uint32_t CreationMetadata::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size770; - ::apache::thrift::protocol::TType _etype773; - xfer += iprot->readSetBegin(_etype773, _size770); - uint32_t _i774; - for (_i774 = 0; _i774 < _size770; ++_i774) + uint32_t _size776; + ::apache::thrift::protocol::TType _etype779; + xfer += iprot->readSetBegin(_etype779, _size776); + uint32_t _i780; + for (_i780 = 0; _i780 < _size776; ++_i780) { - std::string _elem775; - xfer += iprot->readString(_elem775); - this->tablesUsed.insert(_elem775); + std::string _elem781; + xfer += iprot->readString(_elem781); + this->tablesUsed.insert(_elem781); } xfer += iprot->readSetEnd(); } @@ -18929,10 +19043,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 _iter776; - for (_iter776 = this->tablesUsed.begin(); _iter776 != this->tablesUsed.end(); ++_iter776) + std::set ::const_iterator _iter782; + for (_iter782 = this->tablesUsed.begin(); _iter782 != this->tablesUsed.end(); ++_iter782) { - xfer += oprot->writeString((*_iter776)); + xfer += oprot->writeString((*_iter782)); } xfer += oprot->writeSetEnd(); } @@ -18957,19 +19071,19 @@ void swap(CreationMetadata &a, CreationMetadata &b) { swap(a.__isset, b.__isset); } -CreationMetadata::CreationMetadata(const CreationMetadata& other777) { - dbName = other777.dbName; - tblName = other777.tblName; - tablesUsed = other777.tablesUsed; - validTxnList = other777.validTxnList; - __isset = other777.__isset; +CreationMetadata::CreationMetadata(const CreationMetadata& other783) { + dbName = other783.dbName; + tblName = other783.tblName; + tablesUsed = other783.tablesUsed; + validTxnList = other783.validTxnList; + __isset = other783.__isset; } -CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other778) { - dbName = other778.dbName; - tblName = other778.tblName; - tablesUsed = other778.tablesUsed; - validTxnList = other778.validTxnList; - __isset = other778.__isset; +CreationMetadata& CreationMetadata::operator=(const CreationMetadata& other784) { + dbName = other784.dbName; + tblName = other784.tblName; + tablesUsed = other784.tablesUsed; + validTxnList = other784.validTxnList; + __isset = other784.__isset; return *this; } void CreationMetadata::printTo(std::ostream& out) const { @@ -19074,15 +19188,15 @@ void swap(NotificationEventRequest &a, NotificationEventRequest &b) { swap(a.__isset, b.__isset); } -NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other779) { - lastEvent = other779.lastEvent; - maxEvents = other779.maxEvents; - __isset = other779.__isset; +NotificationEventRequest::NotificationEventRequest(const NotificationEventRequest& other785) { + lastEvent = other785.lastEvent; + maxEvents = other785.maxEvents; + __isset = other785.__isset; } -NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other780) { - lastEvent = other780.lastEvent; - maxEvents = other780.maxEvents; - __isset = other780.__isset; +NotificationEventRequest& NotificationEventRequest::operator=(const NotificationEventRequest& other786) { + lastEvent = other786.lastEvent; + maxEvents = other786.maxEvents; + __isset = other786.__isset; return *this; } void NotificationEventRequest::printTo(std::ostream& out) const { @@ -19283,25 +19397,25 @@ void swap(NotificationEvent &a, NotificationEvent &b) { swap(a.__isset, b.__isset); } -NotificationEvent::NotificationEvent(const NotificationEvent& other781) { - eventId = other781.eventId; - eventTime = other781.eventTime; - eventType = other781.eventType; - dbName = other781.dbName; - tableName = other781.tableName; - message = other781.message; - messageFormat = other781.messageFormat; - __isset = other781.__isset; -} -NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other782) { - eventId = other782.eventId; - eventTime = other782.eventTime; - eventType = other782.eventType; - dbName = other782.dbName; - tableName = other782.tableName; - message = other782.message; - messageFormat = other782.messageFormat; - __isset = other782.__isset; +NotificationEvent::NotificationEvent(const NotificationEvent& other787) { + eventId = other787.eventId; + eventTime = other787.eventTime; + eventType = other787.eventType; + dbName = other787.dbName; + tableName = other787.tableName; + message = other787.message; + messageFormat = other787.messageFormat; + __isset = other787.__isset; +} +NotificationEvent& NotificationEvent::operator=(const NotificationEvent& other788) { + eventId = other788.eventId; + eventTime = other788.eventTime; + eventType = other788.eventType; + dbName = other788.dbName; + tableName = other788.tableName; + message = other788.message; + messageFormat = other788.messageFormat; + __isset = other788.__isset; return *this; } void NotificationEvent::printTo(std::ostream& out) const { @@ -19352,14 +19466,14 @@ uint32_t NotificationEventResponse::read(::apache::thrift::protocol::TProtocol* if (ftype == ::apache::thrift::protocol::T_LIST) { { this->events.clear(); - uint32_t _size783; - ::apache::thrift::protocol::TType _etype786; - xfer += iprot->readListBegin(_etype786, _size783); - this->events.resize(_size783); - uint32_t _i787; - for (_i787 = 0; _i787 < _size783; ++_i787) + uint32_t _size789; + ::apache::thrift::protocol::TType _etype792; + xfer += iprot->readListBegin(_etype792, _size789); + this->events.resize(_size789); + uint32_t _i793; + for (_i793 = 0; _i793 < _size789; ++_i793) { - xfer += this->events[_i787].read(iprot); + xfer += this->events[_i793].read(iprot); } xfer += iprot->readListEnd(); } @@ -19390,10 +19504,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 _iter788; - for (_iter788 = this->events.begin(); _iter788 != this->events.end(); ++_iter788) + std::vector ::const_iterator _iter794; + for (_iter794 = this->events.begin(); _iter794 != this->events.end(); ++_iter794) { - xfer += (*_iter788).write(oprot); + xfer += (*_iter794).write(oprot); } xfer += oprot->writeListEnd(); } @@ -19409,11 +19523,11 @@ void swap(NotificationEventResponse &a, NotificationEventResponse &b) { swap(a.events, b.events); } -NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other789) { - events = other789.events; +NotificationEventResponse::NotificationEventResponse(const NotificationEventResponse& other795) { + events = other795.events; } -NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other790) { - events = other790.events; +NotificationEventResponse& NotificationEventResponse::operator=(const NotificationEventResponse& other796) { + events = other796.events; return *this; } void NotificationEventResponse::printTo(std::ostream& out) const { @@ -19495,11 +19609,11 @@ void swap(CurrentNotificationEventId &a, CurrentNotificationEventId &b) { swap(a.eventId, b.eventId); } -CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other791) { - eventId = other791.eventId; +CurrentNotificationEventId::CurrentNotificationEventId(const CurrentNotificationEventId& other797) { + eventId = other797.eventId; } -CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other792) { - eventId = other792.eventId; +CurrentNotificationEventId& CurrentNotificationEventId::operator=(const CurrentNotificationEventId& other798) { + eventId = other798.eventId; return *this; } void CurrentNotificationEventId::printTo(std::ostream& out) const { @@ -19601,13 +19715,13 @@ void swap(NotificationEventsCountRequest &a, NotificationEventsCountRequest &b) swap(a.dbName, b.dbName); } -NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other793) { - fromEventId = other793.fromEventId; - dbName = other793.dbName; +NotificationEventsCountRequest::NotificationEventsCountRequest(const NotificationEventsCountRequest& other799) { + fromEventId = other799.fromEventId; + dbName = other799.dbName; } -NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other794) { - fromEventId = other794.fromEventId; - dbName = other794.dbName; +NotificationEventsCountRequest& NotificationEventsCountRequest::operator=(const NotificationEventsCountRequest& other800) { + fromEventId = other800.fromEventId; + dbName = other800.dbName; return *this; } void NotificationEventsCountRequest::printTo(std::ostream& out) const { @@ -19690,11 +19804,11 @@ void swap(NotificationEventsCountResponse &a, NotificationEventsCountResponse &b swap(a.eventsCount, b.eventsCount); } -NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other795) { - eventsCount = other795.eventsCount; +NotificationEventsCountResponse::NotificationEventsCountResponse(const NotificationEventsCountResponse& other801) { + eventsCount = other801.eventsCount; } -NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other796) { - eventsCount = other796.eventsCount; +NotificationEventsCountResponse& NotificationEventsCountResponse::operator=(const NotificationEventsCountResponse& other802) { + eventsCount = other802.eventsCount; return *this; } void NotificationEventsCountResponse::printTo(std::ostream& out) const { @@ -19757,14 +19871,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAdded.clear(); - uint32_t _size797; - ::apache::thrift::protocol::TType _etype800; - xfer += iprot->readListBegin(_etype800, _size797); - this->filesAdded.resize(_size797); - uint32_t _i801; - for (_i801 = 0; _i801 < _size797; ++_i801) + uint32_t _size803; + ::apache::thrift::protocol::TType _etype806; + xfer += iprot->readListBegin(_etype806, _size803); + this->filesAdded.resize(_size803); + uint32_t _i807; + for (_i807 = 0; _i807 < _size803; ++_i807) { - xfer += iprot->readString(this->filesAdded[_i801]); + xfer += iprot->readString(this->filesAdded[_i807]); } xfer += iprot->readListEnd(); } @@ -19777,14 +19891,14 @@ uint32_t InsertEventRequestData::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->filesAddedChecksum.clear(); - uint32_t _size802; - ::apache::thrift::protocol::TType _etype805; - xfer += iprot->readListBegin(_etype805, _size802); - this->filesAddedChecksum.resize(_size802); - uint32_t _i806; - for (_i806 = 0; _i806 < _size802; ++_i806) + uint32_t _size808; + ::apache::thrift::protocol::TType _etype811; + xfer += iprot->readListBegin(_etype811, _size808); + this->filesAddedChecksum.resize(_size808); + uint32_t _i812; + for (_i812 = 0; _i812 < _size808; ++_i812) { - xfer += iprot->readString(this->filesAddedChecksum[_i806]); + xfer += iprot->readString(this->filesAddedChecksum[_i812]); } xfer += iprot->readListEnd(); } @@ -19820,10 +19934,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 _iter807; - for (_iter807 = this->filesAdded.begin(); _iter807 != this->filesAdded.end(); ++_iter807) + std::vector ::const_iterator _iter813; + for (_iter813 = this->filesAdded.begin(); _iter813 != this->filesAdded.end(); ++_iter813) { - xfer += oprot->writeString((*_iter807)); + xfer += oprot->writeString((*_iter813)); } xfer += oprot->writeListEnd(); } @@ -19833,10 +19947,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 _iter808; - for (_iter808 = this->filesAddedChecksum.begin(); _iter808 != this->filesAddedChecksum.end(); ++_iter808) + std::vector ::const_iterator _iter814; + for (_iter814 = this->filesAddedChecksum.begin(); _iter814 != this->filesAddedChecksum.end(); ++_iter814) { - xfer += oprot->writeString((*_iter808)); + xfer += oprot->writeString((*_iter814)); } xfer += oprot->writeListEnd(); } @@ -19855,17 +19969,17 @@ void swap(InsertEventRequestData &a, InsertEventRequestData &b) { swap(a.__isset, b.__isset); } -InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other809) { - replace = other809.replace; - filesAdded = other809.filesAdded; - filesAddedChecksum = other809.filesAddedChecksum; - __isset = other809.__isset; +InsertEventRequestData::InsertEventRequestData(const InsertEventRequestData& other815) { + replace = other815.replace; + filesAdded = other815.filesAdded; + filesAddedChecksum = other815.filesAddedChecksum; + __isset = other815.__isset; } -InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other810) { - replace = other810.replace; - filesAdded = other810.filesAdded; - filesAddedChecksum = other810.filesAddedChecksum; - __isset = other810.__isset; +InsertEventRequestData& InsertEventRequestData::operator=(const InsertEventRequestData& other816) { + replace = other816.replace; + filesAdded = other816.filesAdded; + filesAddedChecksum = other816.filesAddedChecksum; + __isset = other816.__isset; return *this; } void InsertEventRequestData::printTo(std::ostream& out) const { @@ -19947,13 +20061,13 @@ void swap(FireEventRequestData &a, FireEventRequestData &b) { swap(a.__isset, b.__isset); } -FireEventRequestData::FireEventRequestData(const FireEventRequestData& other811) { - insertData = other811.insertData; - __isset = other811.__isset; +FireEventRequestData::FireEventRequestData(const FireEventRequestData& other817) { + insertData = other817.insertData; + __isset = other817.__isset; } -FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other812) { - insertData = other812.insertData; - __isset = other812.__isset; +FireEventRequestData& FireEventRequestData::operator=(const FireEventRequestData& other818) { + insertData = other818.insertData; + __isset = other818.__isset; return *this; } void FireEventRequestData::printTo(std::ostream& out) const { @@ -20050,14 +20164,14 @@ uint32_t FireEventRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->partitionVals.clear(); - uint32_t _size813; - ::apache::thrift::protocol::TType _etype816; - xfer += iprot->readListBegin(_etype816, _size813); - this->partitionVals.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->partitionVals.resize(_size819); + uint32_t _i823; + for (_i823 = 0; _i823 < _size819; ++_i823) { - xfer += iprot->readString(this->partitionVals[_i817]); + xfer += iprot->readString(this->partitionVals[_i823]); } xfer += iprot->readListEnd(); } @@ -20109,10 +20223,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 _iter818; - for (_iter818 = this->partitionVals.begin(); _iter818 != this->partitionVals.end(); ++_iter818) + std::vector ::const_iterator _iter824; + for (_iter824 = this->partitionVals.begin(); _iter824 != this->partitionVals.end(); ++_iter824) { - xfer += oprot->writeString((*_iter818)); + xfer += oprot->writeString((*_iter824)); } xfer += oprot->writeListEnd(); } @@ -20133,21 +20247,21 @@ void swap(FireEventRequest &a, FireEventRequest &b) { swap(a.__isset, b.__isset); } -FireEventRequest::FireEventRequest(const FireEventRequest& other819) { - successful = other819.successful; - data = other819.data; - dbName = other819.dbName; - tableName = other819.tableName; - partitionVals = other819.partitionVals; - __isset = other819.__isset; -} -FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other820) { - successful = other820.successful; - data = other820.data; - dbName = other820.dbName; - tableName = other820.tableName; - partitionVals = other820.partitionVals; - __isset = other820.__isset; +FireEventRequest::FireEventRequest(const FireEventRequest& other825) { + successful = other825.successful; + data = other825.data; + dbName = other825.dbName; + tableName = other825.tableName; + partitionVals = other825.partitionVals; + __isset = other825.__isset; +} +FireEventRequest& FireEventRequest::operator=(const FireEventRequest& other826) { + successful = other826.successful; + data = other826.data; + dbName = other826.dbName; + tableName = other826.tableName; + partitionVals = other826.partitionVals; + __isset = other826.__isset; return *this; } void FireEventRequest::printTo(std::ostream& out) const { @@ -20210,11 +20324,11 @@ void swap(FireEventResponse &a, FireEventResponse &b) { (void) b; } -FireEventResponse::FireEventResponse(const FireEventResponse& other821) { - (void) other821; +FireEventResponse::FireEventResponse(const FireEventResponse& other827) { + (void) other827; } -FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other822) { - (void) other822; +FireEventResponse& FireEventResponse::operator=(const FireEventResponse& other828) { + (void) other828; return *this; } void FireEventResponse::printTo(std::ostream& out) const { @@ -20314,15 +20428,15 @@ void swap(MetadataPpdResult &a, MetadataPpdResult &b) { swap(a.__isset, b.__isset); } -MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other823) { - metadata = other823.metadata; - includeBitset = other823.includeBitset; - __isset = other823.__isset; +MetadataPpdResult::MetadataPpdResult(const MetadataPpdResult& other829) { + metadata = other829.metadata; + includeBitset = other829.includeBitset; + __isset = other829.__isset; } -MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other824) { - metadata = other824.metadata; - includeBitset = other824.includeBitset; - __isset = other824.__isset; +MetadataPpdResult& MetadataPpdResult::operator=(const MetadataPpdResult& other830) { + metadata = other830.metadata; + includeBitset = other830.includeBitset; + __isset = other830.__isset; return *this; } void MetadataPpdResult::printTo(std::ostream& out) const { @@ -20373,17 +20487,17 @@ uint32_t GetFileMetadataByExprResult::read(::apache::thrift::protocol::TProtocol if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size825; - ::apache::thrift::protocol::TType _ktype826; - ::apache::thrift::protocol::TType _vtype827; - xfer += iprot->readMapBegin(_ktype826, _vtype827, _size825); - uint32_t _i829; - for (_i829 = 0; _i829 < _size825; ++_i829) + uint32_t _size831; + ::apache::thrift::protocol::TType _ktype832; + ::apache::thrift::protocol::TType _vtype833; + xfer += iprot->readMapBegin(_ktype832, _vtype833, _size831); + uint32_t _i835; + for (_i835 = 0; _i835 < _size831; ++_i835) { - int64_t _key830; - xfer += iprot->readI64(_key830); - MetadataPpdResult& _val831 = this->metadata[_key830]; - xfer += _val831.read(iprot); + int64_t _key836; + xfer += iprot->readI64(_key836); + MetadataPpdResult& _val837 = this->metadata[_key836]; + xfer += _val837.read(iprot); } xfer += iprot->readMapEnd(); } @@ -20424,11 +20538,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 _iter832; - for (_iter832 = this->metadata.begin(); _iter832 != this->metadata.end(); ++_iter832) + std::map ::const_iterator _iter838; + for (_iter838 = this->metadata.begin(); _iter838 != this->metadata.end(); ++_iter838) { - xfer += oprot->writeI64(_iter832->first); - xfer += _iter832->second.write(oprot); + xfer += oprot->writeI64(_iter838->first); + xfer += _iter838->second.write(oprot); } xfer += oprot->writeMapEnd(); } @@ -20449,13 +20563,13 @@ void swap(GetFileMetadataByExprResult &a, GetFileMetadataByExprResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other833) { - metadata = other833.metadata; - isSupported = other833.isSupported; +GetFileMetadataByExprResult::GetFileMetadataByExprResult(const GetFileMetadataByExprResult& other839) { + metadata = other839.metadata; + isSupported = other839.isSupported; } -GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other834) { - metadata = other834.metadata; - isSupported = other834.isSupported; +GetFileMetadataByExprResult& GetFileMetadataByExprResult::operator=(const GetFileMetadataByExprResult& other840) { + metadata = other840.metadata; + isSupported = other840.isSupported; return *this; } void GetFileMetadataByExprResult::printTo(std::ostream& out) const { @@ -20516,14 +20630,14 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size835; - ::apache::thrift::protocol::TType _etype838; - xfer += iprot->readListBegin(_etype838, _size835); - this->fileIds.resize(_size835); - uint32_t _i839; - for (_i839 = 0; _i839 < _size835; ++_i839) + uint32_t _size841; + ::apache::thrift::protocol::TType _etype844; + xfer += iprot->readListBegin(_etype844, _size841); + this->fileIds.resize(_size841); + uint32_t _i845; + for (_i845 = 0; _i845 < _size841; ++_i845) { - xfer += iprot->readI64(this->fileIds[_i839]); + xfer += iprot->readI64(this->fileIds[_i845]); } xfer += iprot->readListEnd(); } @@ -20550,9 +20664,9 @@ uint32_t GetFileMetadataByExprRequest::read(::apache::thrift::protocol::TProtoco break; case 4: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast840; - xfer += iprot->readI32(ecast840); - this->type = (FileMetadataExprType::type)ecast840; + int32_t ecast846; + xfer += iprot->readI32(ecast846); + this->type = (FileMetadataExprType::type)ecast846; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -20582,10 +20696,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 _iter841; - for (_iter841 = this->fileIds.begin(); _iter841 != this->fileIds.end(); ++_iter841) + std::vector ::const_iterator _iter847; + for (_iter847 = this->fileIds.begin(); _iter847 != this->fileIds.end(); ++_iter847) { - xfer += oprot->writeI64((*_iter841)); + xfer += oprot->writeI64((*_iter847)); } xfer += oprot->writeListEnd(); } @@ -20619,19 +20733,19 @@ void swap(GetFileMetadataByExprRequest &a, GetFileMetadataByExprRequest &b) { swap(a.__isset, b.__isset); } -GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other842) { - fileIds = other842.fileIds; - expr = other842.expr; - doGetFooters = other842.doGetFooters; - type = other842.type; - __isset = other842.__isset; +GetFileMetadataByExprRequest::GetFileMetadataByExprRequest(const GetFileMetadataByExprRequest& other848) { + fileIds = other848.fileIds; + expr = other848.expr; + doGetFooters = other848.doGetFooters; + type = other848.type; + __isset = other848.__isset; } -GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other843) { - fileIds = other843.fileIds; - expr = other843.expr; - doGetFooters = other843.doGetFooters; - type = other843.type; - __isset = other843.__isset; +GetFileMetadataByExprRequest& GetFileMetadataByExprRequest::operator=(const GetFileMetadataByExprRequest& other849) { + fileIds = other849.fileIds; + expr = other849.expr; + doGetFooters = other849.doGetFooters; + type = other849.type; + __isset = other849.__isset; return *this; } void GetFileMetadataByExprRequest::printTo(std::ostream& out) const { @@ -20684,17 +20798,17 @@ uint32_t GetFileMetadataResult::read(::apache::thrift::protocol::TProtocol* ipro if (ftype == ::apache::thrift::protocol::T_MAP) { { this->metadata.clear(); - uint32_t _size844; - ::apache::thrift::protocol::TType _ktype845; - ::apache::thrift::protocol::TType _vtype846; - xfer += iprot->readMapBegin(_ktype845, _vtype846, _size844); - uint32_t _i848; - for (_i848 = 0; _i848 < _size844; ++_i848) + uint32_t _size850; + ::apache::thrift::protocol::TType _ktype851; + ::apache::thrift::protocol::TType _vtype852; + xfer += iprot->readMapBegin(_ktype851, _vtype852, _size850); + uint32_t _i854; + for (_i854 = 0; _i854 < _size850; ++_i854) { - int64_t _key849; - xfer += iprot->readI64(_key849); - std::string& _val850 = this->metadata[_key849]; - xfer += iprot->readBinary(_val850); + int64_t _key855; + xfer += iprot->readI64(_key855); + std::string& _val856 = this->metadata[_key855]; + xfer += iprot->readBinary(_val856); } xfer += iprot->readMapEnd(); } @@ -20735,11 +20849,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 _iter851; - for (_iter851 = this->metadata.begin(); _iter851 != this->metadata.end(); ++_iter851) + std::map ::const_iterator _iter857; + for (_iter857 = this->metadata.begin(); _iter857 != this->metadata.end(); ++_iter857) { - xfer += oprot->writeI64(_iter851->first); - xfer += oprot->writeBinary(_iter851->second); + xfer += oprot->writeI64(_iter857->first); + xfer += oprot->writeBinary(_iter857->second); } xfer += oprot->writeMapEnd(); } @@ -20760,13 +20874,13 @@ void swap(GetFileMetadataResult &a, GetFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other852) { - metadata = other852.metadata; - isSupported = other852.isSupported; +GetFileMetadataResult::GetFileMetadataResult(const GetFileMetadataResult& other858) { + metadata = other858.metadata; + isSupported = other858.isSupported; } -GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other853) { - metadata = other853.metadata; - isSupported = other853.isSupported; +GetFileMetadataResult& GetFileMetadataResult::operator=(const GetFileMetadataResult& other859) { + metadata = other859.metadata; + isSupported = other859.isSupported; return *this; } void GetFileMetadataResult::printTo(std::ostream& out) const { @@ -20812,14 +20926,14 @@ uint32_t GetFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size854; - ::apache::thrift::protocol::TType _etype857; - xfer += iprot->readListBegin(_etype857, _size854); - this->fileIds.resize(_size854); - uint32_t _i858; - for (_i858 = 0; _i858 < _size854; ++_i858) + uint32_t _size860; + ::apache::thrift::protocol::TType _etype863; + xfer += iprot->readListBegin(_etype863, _size860); + this->fileIds.resize(_size860); + uint32_t _i864; + for (_i864 = 0; _i864 < _size860; ++_i864) { - xfer += iprot->readI64(this->fileIds[_i858]); + xfer += iprot->readI64(this->fileIds[_i864]); } xfer += iprot->readListEnd(); } @@ -20850,10 +20964,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 _iter859; - for (_iter859 = this->fileIds.begin(); _iter859 != this->fileIds.end(); ++_iter859) + std::vector ::const_iterator _iter865; + for (_iter865 = this->fileIds.begin(); _iter865 != this->fileIds.end(); ++_iter865) { - xfer += oprot->writeI64((*_iter859)); + xfer += oprot->writeI64((*_iter865)); } xfer += oprot->writeListEnd(); } @@ -20869,11 +20983,11 @@ void swap(GetFileMetadataRequest &a, GetFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other860) { - fileIds = other860.fileIds; +GetFileMetadataRequest::GetFileMetadataRequest(const GetFileMetadataRequest& other866) { + fileIds = other866.fileIds; } -GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other861) { - fileIds = other861.fileIds; +GetFileMetadataRequest& GetFileMetadataRequest::operator=(const GetFileMetadataRequest& other867) { + fileIds = other867.fileIds; return *this; } void GetFileMetadataRequest::printTo(std::ostream& out) const { @@ -20932,11 +21046,11 @@ void swap(PutFileMetadataResult &a, PutFileMetadataResult &b) { (void) b; } -PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other862) { - (void) other862; +PutFileMetadataResult::PutFileMetadataResult(const PutFileMetadataResult& other868) { + (void) other868; } -PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other863) { - (void) other863; +PutFileMetadataResult& PutFileMetadataResult::operator=(const PutFileMetadataResult& other869) { + (void) other869; return *this; } void PutFileMetadataResult::printTo(std::ostream& out) const { @@ -20990,14 +21104,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - uint32_t _size864; - ::apache::thrift::protocol::TType _etype867; - xfer += iprot->readListBegin(_etype867, _size864); - this->fileIds.resize(_size864); - uint32_t _i868; - for (_i868 = 0; _i868 < _size864; ++_i868) + uint32_t _size870; + ::apache::thrift::protocol::TType _etype873; + xfer += iprot->readListBegin(_etype873, _size870); + this->fileIds.resize(_size870); + uint32_t _i874; + for (_i874 = 0; _i874 < _size870; ++_i874) { - xfer += iprot->readI64(this->fileIds[_i868]); + xfer += iprot->readI64(this->fileIds[_i874]); } xfer += iprot->readListEnd(); } @@ -21010,14 +21124,14 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr if (ftype == ::apache::thrift::protocol::T_LIST) { { this->metadata.clear(); - uint32_t _size869; - ::apache::thrift::protocol::TType _etype872; - xfer += iprot->readListBegin(_etype872, _size869); - this->metadata.resize(_size869); - uint32_t _i873; - for (_i873 = 0; _i873 < _size869; ++_i873) + uint32_t _size875; + ::apache::thrift::protocol::TType _etype878; + xfer += iprot->readListBegin(_etype878, _size875); + this->metadata.resize(_size875); + uint32_t _i879; + for (_i879 = 0; _i879 < _size875; ++_i879) { - xfer += iprot->readBinary(this->metadata[_i873]); + xfer += iprot->readBinary(this->metadata[_i879]); } xfer += iprot->readListEnd(); } @@ -21028,9 +21142,9 @@ uint32_t PutFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* ipr break; case 3: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast874; - xfer += iprot->readI32(ecast874); - this->type = (FileMetadataExprType::type)ecast874; + int32_t ecast880; + xfer += iprot->readI32(ecast880); + this->type = (FileMetadataExprType::type)ecast880; this->__isset.type = true; } else { xfer += iprot->skip(ftype); @@ -21060,10 +21174,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 _iter875; - for (_iter875 = this->fileIds.begin(); _iter875 != this->fileIds.end(); ++_iter875) + std::vector ::const_iterator _iter881; + for (_iter881 = this->fileIds.begin(); _iter881 != this->fileIds.end(); ++_iter881) { - xfer += oprot->writeI64((*_iter875)); + xfer += oprot->writeI64((*_iter881)); } xfer += oprot->writeListEnd(); } @@ -21072,10 +21186,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 _iter876; - for (_iter876 = this->metadata.begin(); _iter876 != this->metadata.end(); ++_iter876) + std::vector ::const_iterator _iter882; + for (_iter882 = this->metadata.begin(); _iter882 != this->metadata.end(); ++_iter882) { - xfer += oprot->writeBinary((*_iter876)); + xfer += oprot->writeBinary((*_iter882)); } xfer += oprot->writeListEnd(); } @@ -21099,17 +21213,17 @@ void swap(PutFileMetadataRequest &a, PutFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other877) { - fileIds = other877.fileIds; - metadata = other877.metadata; - type = other877.type; - __isset = other877.__isset; +PutFileMetadataRequest::PutFileMetadataRequest(const PutFileMetadataRequest& other883) { + fileIds = other883.fileIds; + metadata = other883.metadata; + type = other883.type; + __isset = other883.__isset; } -PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other878) { - fileIds = other878.fileIds; - metadata = other878.metadata; - type = other878.type; - __isset = other878.__isset; +PutFileMetadataRequest& PutFileMetadataRequest::operator=(const PutFileMetadataRequest& other884) { + fileIds = other884.fileIds; + metadata = other884.metadata; + type = other884.type; + __isset = other884.__isset; return *this; } void PutFileMetadataRequest::printTo(std::ostream& out) const { @@ -21170,11 +21284,11 @@ void swap(ClearFileMetadataResult &a, ClearFileMetadataResult &b) { (void) b; } -ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other879) { - (void) other879; +ClearFileMetadataResult::ClearFileMetadataResult(const ClearFileMetadataResult& other885) { + (void) other885; } -ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other880) { - (void) other880; +ClearFileMetadataResult& ClearFileMetadataResult::operator=(const ClearFileMetadataResult& other886) { + (void) other886; return *this; } void ClearFileMetadataResult::printTo(std::ostream& out) const { @@ -21218,14 +21332,14 @@ uint32_t ClearFileMetadataRequest::read(::apache::thrift::protocol::TProtocol* i if (ftype == ::apache::thrift::protocol::T_LIST) { { this->fileIds.clear(); - 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) + uint32_t _size887; + ::apache::thrift::protocol::TType _etype890; + xfer += iprot->readListBegin(_etype890, _size887); + this->fileIds.resize(_size887); + uint32_t _i891; + for (_i891 = 0; _i891 < _size887; ++_i891) { - xfer += iprot->readI64(this->fileIds[_i885]); + xfer += iprot->readI64(this->fileIds[_i891]); } xfer += iprot->readListEnd(); } @@ -21256,10 +21370,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 _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(); } @@ -21275,11 +21389,11 @@ void swap(ClearFileMetadataRequest &a, ClearFileMetadataRequest &b) { swap(a.fileIds, b.fileIds); } -ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other887) { - fileIds = other887.fileIds; +ClearFileMetadataRequest::ClearFileMetadataRequest(const ClearFileMetadataRequest& other893) { + fileIds = other893.fileIds; } -ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other888) { - fileIds = other888.fileIds; +ClearFileMetadataRequest& ClearFileMetadataRequest::operator=(const ClearFileMetadataRequest& other894) { + fileIds = other894.fileIds; return *this; } void ClearFileMetadataRequest::printTo(std::ostream& out) const { @@ -21361,11 +21475,11 @@ void swap(CacheFileMetadataResult &a, CacheFileMetadataResult &b) { swap(a.isSupported, b.isSupported); } -CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other889) { - isSupported = other889.isSupported; +CacheFileMetadataResult::CacheFileMetadataResult(const CacheFileMetadataResult& other895) { + isSupported = other895.isSupported; } -CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other890) { - isSupported = other890.isSupported; +CacheFileMetadataResult& CacheFileMetadataResult::operator=(const CacheFileMetadataResult& other896) { + isSupported = other896.isSupported; return *this; } void CacheFileMetadataResult::printTo(std::ostream& out) const { @@ -21506,19 +21620,19 @@ void swap(CacheFileMetadataRequest &a, CacheFileMetadataRequest &b) { swap(a.__isset, b.__isset); } -CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other891) { - dbName = other891.dbName; - tblName = other891.tblName; - partName = other891.partName; - isAllParts = other891.isAllParts; - __isset = other891.__isset; +CacheFileMetadataRequest::CacheFileMetadataRequest(const CacheFileMetadataRequest& other897) { + dbName = other897.dbName; + tblName = other897.tblName; + partName = other897.partName; + isAllParts = other897.isAllParts; + __isset = other897.__isset; } -CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other892) { - dbName = other892.dbName; - tblName = other892.tblName; - partName = other892.partName; - isAllParts = other892.isAllParts; - __isset = other892.__isset; +CacheFileMetadataRequest& CacheFileMetadataRequest::operator=(const CacheFileMetadataRequest& other898) { + dbName = other898.dbName; + tblName = other898.tblName; + partName = other898.partName; + isAllParts = other898.isAllParts; + __isset = other898.__isset; return *this; } void CacheFileMetadataRequest::printTo(std::ostream& out) const { @@ -21566,14 +21680,14 @@ uint32_t GetAllFunctionsResponse::read(::apache::thrift::protocol::TProtocol* ip if (ftype == ::apache::thrift::protocol::T_LIST) { { this->functions.clear(); - uint32_t _size893; - ::apache::thrift::protocol::TType _etype896; - xfer += iprot->readListBegin(_etype896, _size893); - this->functions.resize(_size893); - uint32_t _i897; - for (_i897 = 0; _i897 < _size893; ++_i897) + uint32_t _size899; + ::apache::thrift::protocol::TType _etype902; + xfer += iprot->readListBegin(_etype902, _size899); + this->functions.resize(_size899); + uint32_t _i903; + for (_i903 = 0; _i903 < _size899; ++_i903) { - xfer += this->functions[_i897].read(iprot); + xfer += this->functions[_i903].read(iprot); } xfer += iprot->readListEnd(); } @@ -21603,10 +21717,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 _iter898; - for (_iter898 = this->functions.begin(); _iter898 != this->functions.end(); ++_iter898) + std::vector ::const_iterator _iter904; + for (_iter904 = this->functions.begin(); _iter904 != this->functions.end(); ++_iter904) { - xfer += (*_iter898).write(oprot); + xfer += (*_iter904).write(oprot); } xfer += oprot->writeListEnd(); } @@ -21623,13 +21737,13 @@ void swap(GetAllFunctionsResponse &a, GetAllFunctionsResponse &b) { swap(a.__isset, b.__isset); } -GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other899) { - functions = other899.functions; - __isset = other899.__isset; +GetAllFunctionsResponse::GetAllFunctionsResponse(const GetAllFunctionsResponse& other905) { + functions = other905.functions; + __isset = other905.__isset; } -GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other900) { - functions = other900.functions; - __isset = other900.__isset; +GetAllFunctionsResponse& GetAllFunctionsResponse::operator=(const GetAllFunctionsResponse& other906) { + functions = other906.functions; + __isset = other906.__isset; return *this; } void GetAllFunctionsResponse::printTo(std::ostream& out) const { @@ -21674,16 +21788,16 @@ uint32_t ClientCapabilities::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->values.clear(); - uint32_t _size901; - ::apache::thrift::protocol::TType _etype904; - xfer += iprot->readListBegin(_etype904, _size901); - this->values.resize(_size901); - uint32_t _i905; - for (_i905 = 0; _i905 < _size901; ++_i905) + uint32_t _size907; + ::apache::thrift::protocol::TType _etype910; + xfer += iprot->readListBegin(_etype910, _size907); + this->values.resize(_size907); + uint32_t _i911; + for (_i911 = 0; _i911 < _size907; ++_i911) { - int32_t ecast906; - xfer += iprot->readI32(ecast906); - this->values[_i905] = (ClientCapability::type)ecast906; + int32_t ecast912; + xfer += iprot->readI32(ecast912); + this->values[_i911] = (ClientCapability::type)ecast912; } xfer += iprot->readListEnd(); } @@ -21714,10 +21828,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 _iter907; - for (_iter907 = this->values.begin(); _iter907 != this->values.end(); ++_iter907) + std::vector ::const_iterator _iter913; + for (_iter913 = this->values.begin(); _iter913 != this->values.end(); ++_iter913) { - xfer += oprot->writeI32((int32_t)(*_iter907)); + xfer += oprot->writeI32((int32_t)(*_iter913)); } xfer += oprot->writeListEnd(); } @@ -21733,11 +21847,11 @@ void swap(ClientCapabilities &a, ClientCapabilities &b) { swap(a.values, b.values); } -ClientCapabilities::ClientCapabilities(const ClientCapabilities& other908) { - values = other908.values; +ClientCapabilities::ClientCapabilities(const ClientCapabilities& other914) { + values = other914.values; } -ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other909) { - values = other909.values; +ClientCapabilities& ClientCapabilities::operator=(const ClientCapabilities& other915) { + values = other915.values; return *this; } void ClientCapabilities::printTo(std::ostream& out) const { @@ -21859,17 +21973,17 @@ void swap(GetTableRequest &a, GetTableRequest &b) { swap(a.__isset, b.__isset); } -GetTableRequest::GetTableRequest(const GetTableRequest& other910) { - dbName = other910.dbName; - tblName = other910.tblName; - capabilities = other910.capabilities; - __isset = other910.__isset; +GetTableRequest::GetTableRequest(const GetTableRequest& other916) { + dbName = other916.dbName; + tblName = other916.tblName; + capabilities = other916.capabilities; + __isset = other916.__isset; } -GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other911) { - dbName = other911.dbName; - tblName = other911.tblName; - capabilities = other911.capabilities; - __isset = other911.__isset; +GetTableRequest& GetTableRequest::operator=(const GetTableRequest& other917) { + dbName = other917.dbName; + tblName = other917.tblName; + capabilities = other917.capabilities; + __isset = other917.__isset; return *this; } void GetTableRequest::printTo(std::ostream& out) const { @@ -21953,11 +22067,11 @@ void swap(GetTableResult &a, GetTableResult &b) { swap(a.table, b.table); } -GetTableResult::GetTableResult(const GetTableResult& other912) { - table = other912.table; +GetTableResult::GetTableResult(const GetTableResult& other918) { + table = other918.table; } -GetTableResult& GetTableResult::operator=(const GetTableResult& other913) { - table = other913.table; +GetTableResult& GetTableResult::operator=(const GetTableResult& other919) { + table = other919.table; return *this; } void GetTableResult::printTo(std::ostream& out) const { @@ -22020,14 +22134,14 @@ uint32_t GetTablesRequest::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tblNames.clear(); - uint32_t _size914; - ::apache::thrift::protocol::TType _etype917; - xfer += iprot->readListBegin(_etype917, _size914); - this->tblNames.resize(_size914); - uint32_t _i918; - for (_i918 = 0; _i918 < _size914; ++_i918) + uint32_t _size920; + ::apache::thrift::protocol::TType _etype923; + xfer += iprot->readListBegin(_etype923, _size920); + this->tblNames.resize(_size920); + uint32_t _i924; + for (_i924 = 0; _i924 < _size920; ++_i924) { - xfer += iprot->readString(this->tblNames[_i918]); + xfer += iprot->readString(this->tblNames[_i924]); } xfer += iprot->readListEnd(); } @@ -22071,10 +22185,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 _iter919; - for (_iter919 = this->tblNames.begin(); _iter919 != this->tblNames.end(); ++_iter919) + std::vector ::const_iterator _iter925; + for (_iter925 = this->tblNames.begin(); _iter925 != this->tblNames.end(); ++_iter925) { - xfer += oprot->writeString((*_iter919)); + xfer += oprot->writeString((*_iter925)); } xfer += oprot->writeListEnd(); } @@ -22098,17 +22212,17 @@ void swap(GetTablesRequest &a, GetTablesRequest &b) { swap(a.__isset, b.__isset); } -GetTablesRequest::GetTablesRequest(const GetTablesRequest& other920) { - dbName = other920.dbName; - tblNames = other920.tblNames; - capabilities = other920.capabilities; - __isset = other920.__isset; +GetTablesRequest::GetTablesRequest(const GetTablesRequest& other926) { + dbName = other926.dbName; + tblNames = other926.tblNames; + capabilities = other926.capabilities; + __isset = other926.__isset; } -GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other921) { - dbName = other921.dbName; - tblNames = other921.tblNames; - capabilities = other921.capabilities; - __isset = other921.__isset; +GetTablesRequest& GetTablesRequest::operator=(const GetTablesRequest& other927) { + dbName = other927.dbName; + tblNames = other927.tblNames; + capabilities = other927.capabilities; + __isset = other927.__isset; return *this; } void GetTablesRequest::printTo(std::ostream& out) const { @@ -22155,14 +22269,14 @@ uint32_t GetTablesResult::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_LIST) { { this->tables.clear(); - uint32_t _size922; - ::apache::thrift::protocol::TType _etype925; - xfer += iprot->readListBegin(_etype925, _size922); - this->tables.resize(_size922); - uint32_t _i926; - for (_i926 = 0; _i926 < _size922; ++_i926) + uint32_t _size928; + ::apache::thrift::protocol::TType _etype931; + xfer += iprot->readListBegin(_etype931, _size928); + this->tables.resize(_size928); + uint32_t _i932; + for (_i932 = 0; _i932 < _size928; ++_i932) { - xfer += this->tables[_i926].read(iprot); + xfer += this->tables[_i932].read(iprot); } xfer += iprot->readListEnd(); } @@ -22193,10 +22307,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 _iter927; - for (_iter927 = this->tables.begin(); _iter927 != this->tables.end(); ++_iter927) + std::vector
::const_iterator _iter933; + for (_iter933 = this->tables.begin(); _iter933 != this->tables.end(); ++_iter933) { - xfer += (*_iter927).write(oprot); + xfer += (*_iter933).write(oprot); } xfer += oprot->writeListEnd(); } @@ -22212,11 +22326,11 @@ void swap(GetTablesResult &a, GetTablesResult &b) { swap(a.tables, b.tables); } -GetTablesResult::GetTablesResult(const GetTablesResult& other928) { - tables = other928.tables; +GetTablesResult::GetTablesResult(const GetTablesResult& other934) { + tables = other934.tables; } -GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other929) { - tables = other929.tables; +GetTablesResult& GetTablesResult::operator=(const GetTablesResult& other935) { + tables = other935.tables; return *this; } void GetTablesResult::printTo(std::ostream& out) const { @@ -22318,13 +22432,13 @@ void swap(CmRecycleRequest &a, CmRecycleRequest &b) { swap(a.purge, b.purge); } -CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other930) { - dataPath = other930.dataPath; - purge = other930.purge; +CmRecycleRequest::CmRecycleRequest(const CmRecycleRequest& other936) { + dataPath = other936.dataPath; + purge = other936.purge; } -CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other931) { - dataPath = other931.dataPath; - purge = other931.purge; +CmRecycleRequest& CmRecycleRequest::operator=(const CmRecycleRequest& other937) { + dataPath = other937.dataPath; + purge = other937.purge; return *this; } void CmRecycleRequest::printTo(std::ostream& out) const { @@ -22384,11 +22498,11 @@ void swap(CmRecycleResponse &a, CmRecycleResponse &b) { (void) b; } -CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other932) { - (void) other932; +CmRecycleResponse::CmRecycleResponse(const CmRecycleResponse& other938) { + (void) other938; } -CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other933) { - (void) other933; +CmRecycleResponse& CmRecycleResponse::operator=(const CmRecycleResponse& other939) { + (void) other939; return *this; } void CmRecycleResponse::printTo(std::ostream& out) const { @@ -22529,19 +22643,19 @@ void swap(TableMeta &a, TableMeta &b) { swap(a.__isset, b.__isset); } -TableMeta::TableMeta(const TableMeta& other934) { - dbName = other934.dbName; - tableName = other934.tableName; - tableType = other934.tableType; - comments = other934.comments; - __isset = other934.__isset; +TableMeta::TableMeta(const TableMeta& other940) { + dbName = other940.dbName; + tableName = other940.tableName; + tableType = other940.tableType; + comments = other940.comments; + __isset = other940.__isset; } -TableMeta& TableMeta::operator=(const TableMeta& other935) { - dbName = other935.dbName; - tableName = other935.tableName; - tableType = other935.tableType; - comments = other935.comments; - __isset = other935.__isset; +TableMeta& TableMeta::operator=(const TableMeta& other941) { + dbName = other941.dbName; + tableName = other941.tableName; + tableType = other941.tableType; + comments = other941.comments; + __isset = other941.__isset; return *this; } void TableMeta::printTo(std::ostream& out) const { @@ -22599,15 +22713,15 @@ uint32_t Materialization::read(::apache::thrift::protocol::TProtocol* iprot) { if (ftype == ::apache::thrift::protocol::T_SET) { { this->tablesUsed.clear(); - uint32_t _size936; - ::apache::thrift::protocol::TType _etype939; - xfer += iprot->readSetBegin(_etype939, _size936); - uint32_t _i940; - for (_i940 = 0; _i940 < _size936; ++_i940) + uint32_t _size942; + ::apache::thrift::protocol::TType _etype945; + xfer += iprot->readSetBegin(_etype945, _size942); + uint32_t _i946; + for (_i946 = 0; _i946 < _size942; ++_i946) { - std::string _elem941; - xfer += iprot->readString(_elem941); - this->tablesUsed.insert(_elem941); + std::string _elem947; + xfer += iprot->readString(_elem947); + this->tablesUsed.insert(_elem947); } xfer += iprot->readSetEnd(); } @@ -22656,10 +22770,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 _iter942; - for (_iter942 = this->tablesUsed.begin(); _iter942 != this->tablesUsed.end(); ++_iter942) + std::set ::const_iterator _iter948; + for (_iter948 = this->tablesUsed.begin(); _iter948 != this->tablesUsed.end(); ++_iter948) { - xfer += oprot->writeString((*_iter942)); + xfer += oprot->writeString((*_iter948)); } xfer += oprot->writeSetEnd(); } @@ -22687,17 +22801,17 @@ void swap(Materialization &a, Materialization &b) { swap(a.__isset, b.__isset); } -Materialization::Materialization(const Materialization& other943) { - tablesUsed = other943.tablesUsed; - validTxnList = other943.validTxnList; - invalidationTime = other943.invalidationTime; - __isset = other943.__isset; +Materialization::Materialization(const Materialization& other949) { + tablesUsed = other949.tablesUsed; + validTxnList = other949.validTxnList; + invalidationTime = other949.invalidationTime; + __isset = other949.__isset; } -Materialization& Materialization::operator=(const Materialization& other944) { - tablesUsed = other944.tablesUsed; - validTxnList = other944.validTxnList; - invalidationTime = other944.invalidationTime; - __isset = other944.__isset; +Materialization& Materialization::operator=(const Materialization& other950) { + tablesUsed = other950.tablesUsed; + validTxnList = other950.validTxnList; + invalidationTime = other950.invalidationTime; + __isset = other950.__isset; return *this; } void Materialization::printTo(std::ostream& out) const { @@ -22765,9 +22879,9 @@ uint32_t WMResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) { break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast945; - xfer += iprot->readI32(ecast945); - this->status = (WMResourcePlanStatus::type)ecast945; + int32_t ecast951; + xfer += iprot->readI32(ecast951); + this->status = (WMResourcePlanStatus::type)ecast951; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -22841,19 +22955,19 @@ void swap(WMResourcePlan &a, WMResourcePlan &b) { swap(a.__isset, b.__isset); } -WMResourcePlan::WMResourcePlan(const WMResourcePlan& other946) { - name = other946.name; - status = other946.status; - queryParallelism = other946.queryParallelism; - defaultPoolPath = other946.defaultPoolPath; - __isset = other946.__isset; +WMResourcePlan::WMResourcePlan(const WMResourcePlan& other952) { + name = other952.name; + status = other952.status; + queryParallelism = other952.queryParallelism; + defaultPoolPath = other952.defaultPoolPath; + __isset = other952.__isset; } -WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other947) { - name = other947.name; - status = other947.status; - queryParallelism = other947.queryParallelism; - defaultPoolPath = other947.defaultPoolPath; - __isset = other947.__isset; +WMResourcePlan& WMResourcePlan::operator=(const WMResourcePlan& other953) { + name = other953.name; + status = other953.status; + queryParallelism = other953.queryParallelism; + defaultPoolPath = other953.defaultPoolPath; + __isset = other953.__isset; return *this; } void WMResourcePlan::printTo(std::ostream& out) const { @@ -22932,9 +23046,9 @@ uint32_t WMNullableResourcePlan::read(::apache::thrift::protocol::TProtocol* ipr break; case 2: if (ftype == ::apache::thrift::protocol::T_I32) { - int32_t ecast948; - xfer += iprot->readI32(ecast948); - this->status = (WMResourcePlanStatus::type)ecast948; + int32_t ecast954; + xfer += iprot->readI32(ecast954); + this->status = (WMResourcePlanStatus::type)ecast954; this->__isset.status = true; } else { xfer += iprot->skip(ftype); @@ -23036,23 +23150,23 @@ void swap(WMNullableResourcePlan &a, WMNullableResourcePlan &b) { swap(a.__isset, b.__isset); } -WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other949) { - name = other949.name; - status = other949.status; - queryParallelism = other949.queryParallelism; - isSetQueryParallelism = other949.isSetQueryParallelism; - defaultPoolPath = other949.defaultPoolPath; - isSetDefaultPoolPath = other949.isSetDefaultPoolPath; - __isset = other949.__isset; +WMNullableResourcePlan::WMNullableResourcePlan(const WMNullableResourcePlan& other955) { + name = other955.name; + status = other955.status; + queryParallelism = other955.queryParallelism; + isSetQueryParallelism = other955.isSetQueryParallelism; + defaultPoolPath = other955.defaultPoolPath; + isSetDefaultPoolPath = other955.isSetDefaultPoolPath; + __isset = other955.__isset; } -WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other950) { - name = other950.name; - status = other950.status; - queryParallelism = other950.queryParallelism; - isSetQueryParallelism = other950.isSetQueryParallelism; - defaultPoolPath = other950.defaultPoolPath; - isSetDefaultPoolPath = other950.isSetDefaultPoolPath; - __isset = other950.__isset; +WMNullableResourcePlan& WMNullableResourcePlan::operator=(const WMNullableResourcePlan& other956) { + name = other956.name; + status = other956.status; + queryParallelism = other956.queryParallelism; + isSetQueryParallelism = other956.isSetQueryParallelism; + defaultPoolPath = other956.defaultPoolPath; + isSetDefaultPoolPath = other956.isSetDefaultPoolPath; + __isset = other956.__isset; return *this; } void WMNullableResourcePlan::printTo(std::ostream& out) const { @@ -23217,21 +23331,21 @@ void swap(WMPool &a, WMPool &b) { swap(a.__isset, b.__isset); } -WMPool::WMPool(const WMPool& other951) { - resourcePlanName = other951.resourcePlanName; - poolPath = other951.poolPath; - allocFraction = other951.allocFraction; - queryParallelism = other951.queryParallelism; - schedulingPolicy = other951.schedulingPolicy; - __isset = other951.__isset; +WMPool::WMPool(const WMPool& other957) { + resourcePlanName = other957.resourcePlanName; + poolPath = other957.poolPath; + allocFraction = other957.allocFraction; + queryParallelism = other957.queryParallelism; + schedulingPolicy = other957.schedulingPolicy; + __isset = other957.__isset; } -WMPool& WMPool::operator=(const WMPool& other952) { - resourcePlanName = other952.resourcePlanName; - poolPath = other952.poolPath; - allocFraction = other952.allocFraction; - queryParallelism = other952.queryParallelism; - schedulingPolicy = other952.schedulingPolicy; - __isset = other952.__isset; +WMPool& WMPool::operator=(const WMPool& other958) { + resourcePlanName = other958.resourcePlanName; + poolPath = other958.poolPath; + allocFraction = other958.allocFraction; + queryParallelism = other958.queryParallelism; + schedulingPolicy = other958.schedulingPolicy; + __isset = other958.__isset; return *this; } void WMPool::printTo(std::ostream& out) const { @@ -23414,23 +23528,23 @@ void swap(WMNullablePool &a, WMNullablePool &b) { swap(a.__isset, b.__isset); } -WMNullablePool::WMNullablePool(const WMNullablePool& other953) { - resourcePlanName = other953.resourcePlanName; - poolPath = other953.poolPath; - allocFraction = other953.allocFraction; - queryParallelism = other953.queryParallelism; - schedulingPolicy = other953.schedulingPolicy; - isSetSchedulingPolicy = other953.isSetSchedulingPolicy; - __isset = other953.__isset; -} -WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other954) { - resourcePlanName = other954.resourcePlanName; - poolPath = other954.poolPath; - allocFraction = other954.allocFraction; - queryParallelism = other954.queryParallelism; - schedulingPolicy = other954.schedulingPolicy; - isSetSchedulingPolicy = other954.isSetSchedulingPolicy; - __isset = other954.__isset; +WMNullablePool::WMNullablePool(const WMNullablePool& other959) { + resourcePlanName = other959.resourcePlanName; + poolPath = other959.poolPath; + allocFraction = other959.allocFraction; + queryParallelism = other959.queryParallelism; + schedulingPolicy = other959.schedulingPolicy; + isSetSchedulingPolicy = other959.isSetSchedulingPolicy; + __isset = other959.__isset; +} +WMNullablePool& WMNullablePool::operator=(const WMNullablePool& other960) { + resourcePlanName = other960.resourcePlanName; + poolPath = other960.poolPath; + allocFraction = other960.allocFraction; + queryParallelism = other960.queryParallelism; + schedulingPolicy = other960.schedulingPolicy; + isSetSchedulingPolicy = other960.isSetSchedulingPolicy; + __isset = other960.__isset; return *this; } void WMNullablePool::printTo(std::ostream& out) const { @@ -23595,21 +23709,21 @@ void swap(WMTrigger &a, WMTrigger &b) { swap(a.__isset, b.__isset); } -WMTrigger::WMTrigger(const WMTrigger& other955) { - resourcePlanName = other955.resourcePlanName; - triggerName = other955.triggerName; - triggerExpression = other955.triggerExpression; - actionExpression = other955.actionExpression; - isInUnmanaged = other955.isInUnmanaged; - __isset = other955.__isset; -} -WMTrigger& WMTrigger::operator=(const WMTrigger& other956) { - resourcePlanName = other956.resourcePlanName; - triggerName = other956.triggerName; - triggerExpression = other956.triggerExpression; - actionExpression = other956.actionExpression; - isInUnmanaged = other956.isInUnmanaged; - __isset = other956.__isset; +WMTrigger::WMTrigger(const WMTrigger& other961) { + resourcePlanName = other961.resourcePlanName; + triggerName = other961.triggerName; + triggerExpression = other961.triggerExpression; + actionExpression = other961.actionExpression; + isInUnmanaged = other961.isInUnmanaged; + __isset = other961.__isset; +} +WMTrigger& WMTrigger::operator=(const WMTrigger& other962) { + resourcePlanName = other962.resourcePlanName; + triggerName = other962.triggerName; + triggerExpression = other962.triggerExpression; + actionExpression = other962.actionExpression; + isInUnmanaged = other962.isInUnmanaged; + __isset = other962.__isset; return *this; } void WMTrigger::printTo(std::ostream& out) const { @@ -23774,21 +23888,21 @@ void swap(WMMapping &a, WMMapping &b) { swap(a.__isset, b.__isset); } -WMMapping::WMMapping(const WMMapping& other957) { - resourcePlanName = other957.resourcePlanName; - entityType = other957.entityType; - entityName = other957.entityName; - poolPath = other957.poolPath; - ordering = other957.ordering; - __isset = other957.__isset; -} -WMMapping& WMMapping::operator=(const WMMapping& other958) { - resourcePlanName = other958.resourcePlanName; - entityType = other958.entityType; - entityName = other958.entityName; - poolPath = other958.poolPath; - ordering = other958.ordering; - __isset = other958.__isset; +WMMapping::WMMapping(const WMMapping& other963) { + resourcePlanName = other963.resourcePlanName; + entityType = other963.entityType; + entityName = other963.entityName; + poolPath = other963.poolPath; + ordering = other963.ordering; + __isset = other963.__isset; +} +WMMapping& WMMapping::operator=(const WMMapping& other964) { + resourcePlanName = other964.resourcePlanName; + entityType = other964.entityType; + entityName = other964.entityName; + poolPath = other964.poolPath; + ordering = other964.ordering; + __isset = other964.__isset; return *this; } void WMMapping::printTo(std::ostream& out) const { @@ -23894,13 +24008,13 @@ void swap(WMPoolTrigger &a, WMPoolTrigger &b) { swap(a.trigger, b.trigger); } -WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other959) { - pool = other959.pool; - trigger = other959.trigger; +WMPoolTrigger::WMPoolTrigger(const WMPoolTrigger& other965) { + pool = other965.pool; + trigger = other965.trigger; } -WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other960) { - pool = other960.pool; - trigger = other960.trigger; +WMPoolTrigger& WMPoolTrigger::operator=(const WMPoolTrigger& other966) { + pool = other966.pool; + trigger = other966.trigger; return *this; } void WMPoolTrigger::printTo(std::ostream& out) const { @@ -23974,14 +24088,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->pools.clear(); - uint32_t _size961; - ::apache::thrift::protocol::TType _etype964; - xfer += iprot->readListBegin(_etype964, _size961); - this->pools.resize(_size961); - uint32_t _i965; - for (_i965 = 0; _i965 < _size961; ++_i965) + uint32_t _size967; + ::apache::thrift::protocol::TType _etype970; + xfer += iprot->readListBegin(_etype970, _size967); + this->pools.resize(_size967); + uint32_t _i971; + for (_i971 = 0; _i971 < _size967; ++_i971) { - xfer += this->pools[_i965].read(iprot); + xfer += this->pools[_i971].read(iprot); } xfer += iprot->readListEnd(); } @@ -23994,14 +24108,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->mappings.clear(); - uint32_t _size966; - ::apache::thrift::protocol::TType _etype969; - xfer += iprot->readListBegin(_etype969, _size966); - this->mappings.resize(_size966); - uint32_t _i970; - for (_i970 = 0; _i970 < _size966; ++_i970) + uint32_t _size972; + ::apache::thrift::protocol::TType _etype975; + xfer += iprot->readListBegin(_etype975, _size972); + this->mappings.resize(_size972); + uint32_t _i976; + for (_i976 = 0; _i976 < _size972; ++_i976) { - xfer += this->mappings[_i970].read(iprot); + xfer += this->mappings[_i976].read(iprot); } xfer += iprot->readListEnd(); } @@ -24014,14 +24128,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size971; - ::apache::thrift::protocol::TType _etype974; - xfer += iprot->readListBegin(_etype974, _size971); - this->triggers.resize(_size971); - uint32_t _i975; - for (_i975 = 0; _i975 < _size971; ++_i975) + uint32_t _size977; + ::apache::thrift::protocol::TType _etype980; + xfer += iprot->readListBegin(_etype980, _size977); + this->triggers.resize(_size977); + uint32_t _i981; + for (_i981 = 0; _i981 < _size977; ++_i981) { - xfer += this->triggers[_i975].read(iprot); + xfer += this->triggers[_i981].read(iprot); } xfer += iprot->readListEnd(); } @@ -24034,14 +24148,14 @@ uint32_t WMFullResourcePlan::read(::apache::thrift::protocol::TProtocol* iprot) if (ftype == ::apache::thrift::protocol::T_LIST) { { this->poolTriggers.clear(); - uint32_t _size976; - ::apache::thrift::protocol::TType _etype979; - xfer += iprot->readListBegin(_etype979, _size976); - this->poolTriggers.resize(_size976); - uint32_t _i980; - for (_i980 = 0; _i980 < _size976; ++_i980) + uint32_t _size982; + ::apache::thrift::protocol::TType _etype985; + xfer += iprot->readListBegin(_etype985, _size982); + this->poolTriggers.resize(_size982); + uint32_t _i986; + for (_i986 = 0; _i986 < _size982; ++_i986) { - xfer += this->poolTriggers[_i980].read(iprot); + xfer += this->poolTriggers[_i986].read(iprot); } xfer += iprot->readListEnd(); } @@ -24078,10 +24192,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 _iter981; - for (_iter981 = this->pools.begin(); _iter981 != this->pools.end(); ++_iter981) + std::vector ::const_iterator _iter987; + for (_iter987 = this->pools.begin(); _iter987 != this->pools.end(); ++_iter987) { - xfer += (*_iter981).write(oprot); + xfer += (*_iter987).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24091,10 +24205,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 _iter982; - for (_iter982 = this->mappings.begin(); _iter982 != this->mappings.end(); ++_iter982) + std::vector ::const_iterator _iter988; + for (_iter988 = this->mappings.begin(); _iter988 != this->mappings.end(); ++_iter988) { - xfer += (*_iter982).write(oprot); + xfer += (*_iter988).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24104,10 +24218,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 _iter983; - for (_iter983 = this->triggers.begin(); _iter983 != this->triggers.end(); ++_iter983) + std::vector ::const_iterator _iter989; + for (_iter989 = this->triggers.begin(); _iter989 != this->triggers.end(); ++_iter989) { - xfer += (*_iter983).write(oprot); + xfer += (*_iter989).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24117,10 +24231,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 _iter984; - for (_iter984 = this->poolTriggers.begin(); _iter984 != this->poolTriggers.end(); ++_iter984) + std::vector ::const_iterator _iter990; + for (_iter990 = this->poolTriggers.begin(); _iter990 != this->poolTriggers.end(); ++_iter990) { - xfer += (*_iter984).write(oprot); + xfer += (*_iter990).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24141,21 +24255,21 @@ void swap(WMFullResourcePlan &a, WMFullResourcePlan &b) { swap(a.__isset, b.__isset); } -WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other985) { - plan = other985.plan; - pools = other985.pools; - mappings = other985.mappings; - triggers = other985.triggers; - poolTriggers = other985.poolTriggers; - __isset = other985.__isset; -} -WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other986) { - plan = other986.plan; - pools = other986.pools; - mappings = other986.mappings; - triggers = other986.triggers; - poolTriggers = other986.poolTriggers; - __isset = other986.__isset; +WMFullResourcePlan::WMFullResourcePlan(const WMFullResourcePlan& other991) { + plan = other991.plan; + pools = other991.pools; + mappings = other991.mappings; + triggers = other991.triggers; + poolTriggers = other991.poolTriggers; + __isset = other991.__isset; +} +WMFullResourcePlan& WMFullResourcePlan::operator=(const WMFullResourcePlan& other992) { + plan = other992.plan; + pools = other992.pools; + mappings = other992.mappings; + triggers = other992.triggers; + poolTriggers = other992.poolTriggers; + __isset = other992.__isset; return *this; } void WMFullResourcePlan::printTo(std::ostream& out) const { @@ -24260,15 +24374,15 @@ void swap(WMCreateResourcePlanRequest &a, WMCreateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other987) { - resourcePlan = other987.resourcePlan; - copyFrom = other987.copyFrom; - __isset = other987.__isset; +WMCreateResourcePlanRequest::WMCreateResourcePlanRequest(const WMCreateResourcePlanRequest& other993) { + resourcePlan = other993.resourcePlan; + copyFrom = other993.copyFrom; + __isset = other993.__isset; } -WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other988) { - resourcePlan = other988.resourcePlan; - copyFrom = other988.copyFrom; - __isset = other988.__isset; +WMCreateResourcePlanRequest& WMCreateResourcePlanRequest::operator=(const WMCreateResourcePlanRequest& other994) { + resourcePlan = other994.resourcePlan; + copyFrom = other994.copyFrom; + __isset = other994.__isset; return *this; } void WMCreateResourcePlanRequest::printTo(std::ostream& out) const { @@ -24328,11 +24442,11 @@ void swap(WMCreateResourcePlanResponse &a, WMCreateResourcePlanResponse &b) { (void) b; } -WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other989) { - (void) other989; +WMCreateResourcePlanResponse::WMCreateResourcePlanResponse(const WMCreateResourcePlanResponse& other995) { + (void) other995; } -WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other990) { - (void) other990; +WMCreateResourcePlanResponse& WMCreateResourcePlanResponse::operator=(const WMCreateResourcePlanResponse& other996) { + (void) other996; return *this; } void WMCreateResourcePlanResponse::printTo(std::ostream& out) const { @@ -24390,11 +24504,11 @@ void swap(WMGetActiveResourcePlanRequest &a, WMGetActiveResourcePlanRequest &b) (void) b; } -WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other991) { - (void) other991; +WMGetActiveResourcePlanRequest::WMGetActiveResourcePlanRequest(const WMGetActiveResourcePlanRequest& other997) { + (void) other997; } -WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other992) { - (void) other992; +WMGetActiveResourcePlanRequest& WMGetActiveResourcePlanRequest::operator=(const WMGetActiveResourcePlanRequest& other998) { + (void) other998; return *this; } void WMGetActiveResourcePlanRequest::printTo(std::ostream& out) const { @@ -24475,13 +24589,13 @@ void swap(WMGetActiveResourcePlanResponse &a, WMGetActiveResourcePlanResponse &b swap(a.__isset, b.__isset); } -WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other993) { - resourcePlan = other993.resourcePlan; - __isset = other993.__isset; +WMGetActiveResourcePlanResponse::WMGetActiveResourcePlanResponse(const WMGetActiveResourcePlanResponse& other999) { + resourcePlan = other999.resourcePlan; + __isset = other999.__isset; } -WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other994) { - resourcePlan = other994.resourcePlan; - __isset = other994.__isset; +WMGetActiveResourcePlanResponse& WMGetActiveResourcePlanResponse::operator=(const WMGetActiveResourcePlanResponse& other1000) { + resourcePlan = other1000.resourcePlan; + __isset = other1000.__isset; return *this; } void WMGetActiveResourcePlanResponse::printTo(std::ostream& out) const { @@ -24563,13 +24677,13 @@ void swap(WMGetResourcePlanRequest &a, WMGetResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other995) { - resourcePlanName = other995.resourcePlanName; - __isset = other995.__isset; +WMGetResourcePlanRequest::WMGetResourcePlanRequest(const WMGetResourcePlanRequest& other1001) { + resourcePlanName = other1001.resourcePlanName; + __isset = other1001.__isset; } -WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other996) { - resourcePlanName = other996.resourcePlanName; - __isset = other996.__isset; +WMGetResourcePlanRequest& WMGetResourcePlanRequest::operator=(const WMGetResourcePlanRequest& other1002) { + resourcePlanName = other1002.resourcePlanName; + __isset = other1002.__isset; return *this; } void WMGetResourcePlanRequest::printTo(std::ostream& out) const { @@ -24651,13 +24765,13 @@ void swap(WMGetResourcePlanResponse &a, WMGetResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other997) { - resourcePlan = other997.resourcePlan; - __isset = other997.__isset; +WMGetResourcePlanResponse::WMGetResourcePlanResponse(const WMGetResourcePlanResponse& other1003) { + resourcePlan = other1003.resourcePlan; + __isset = other1003.__isset; } -WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other998) { - resourcePlan = other998.resourcePlan; - __isset = other998.__isset; +WMGetResourcePlanResponse& WMGetResourcePlanResponse::operator=(const WMGetResourcePlanResponse& other1004) { + resourcePlan = other1004.resourcePlan; + __isset = other1004.__isset; return *this; } void WMGetResourcePlanResponse::printTo(std::ostream& out) const { @@ -24716,11 +24830,11 @@ void swap(WMGetAllResourcePlanRequest &a, WMGetAllResourcePlanRequest &b) { (void) b; } -WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other999) { - (void) other999; +WMGetAllResourcePlanRequest::WMGetAllResourcePlanRequest(const WMGetAllResourcePlanRequest& other1005) { + (void) other1005; } -WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1000) { - (void) other1000; +WMGetAllResourcePlanRequest& WMGetAllResourcePlanRequest::operator=(const WMGetAllResourcePlanRequest& other1006) { + (void) other1006; return *this; } void WMGetAllResourcePlanRequest::printTo(std::ostream& out) const { @@ -24764,14 +24878,14 @@ uint32_t WMGetAllResourcePlanResponse::read(::apache::thrift::protocol::TProtoco if (ftype == ::apache::thrift::protocol::T_LIST) { { this->resourcePlans.clear(); - uint32_t _size1001; - ::apache::thrift::protocol::TType _etype1004; - xfer += iprot->readListBegin(_etype1004, _size1001); - this->resourcePlans.resize(_size1001); - uint32_t _i1005; - for (_i1005 = 0; _i1005 < _size1001; ++_i1005) + uint32_t _size1007; + ::apache::thrift::protocol::TType _etype1010; + xfer += iprot->readListBegin(_etype1010, _size1007); + this->resourcePlans.resize(_size1007); + uint32_t _i1011; + for (_i1011 = 0; _i1011 < _size1007; ++_i1011) { - xfer += this->resourcePlans[_i1005].read(iprot); + xfer += this->resourcePlans[_i1011].read(iprot); } xfer += iprot->readListEnd(); } @@ -24801,10 +24915,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 _iter1006; - for (_iter1006 = this->resourcePlans.begin(); _iter1006 != this->resourcePlans.end(); ++_iter1006) + std::vector ::const_iterator _iter1012; + for (_iter1012 = this->resourcePlans.begin(); _iter1012 != this->resourcePlans.end(); ++_iter1012) { - xfer += (*_iter1006).write(oprot); + xfer += (*_iter1012).write(oprot); } xfer += oprot->writeListEnd(); } @@ -24821,13 +24935,13 @@ void swap(WMGetAllResourcePlanResponse &a, WMGetAllResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1007) { - resourcePlans = other1007.resourcePlans; - __isset = other1007.__isset; +WMGetAllResourcePlanResponse::WMGetAllResourcePlanResponse(const WMGetAllResourcePlanResponse& other1013) { + resourcePlans = other1013.resourcePlans; + __isset = other1013.__isset; } -WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1008) { - resourcePlans = other1008.resourcePlans; - __isset = other1008.__isset; +WMGetAllResourcePlanResponse& WMGetAllResourcePlanResponse::operator=(const WMGetAllResourcePlanResponse& other1014) { + resourcePlans = other1014.resourcePlans; + __isset = other1014.__isset; return *this; } void WMGetAllResourcePlanResponse::printTo(std::ostream& out) const { @@ -24985,21 +25099,21 @@ void swap(WMAlterResourcePlanRequest &a, WMAlterResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1009) { - resourcePlanName = other1009.resourcePlanName; - resourcePlan = other1009.resourcePlan; - isEnableAndActivate = other1009.isEnableAndActivate; - isForceDeactivate = other1009.isForceDeactivate; - isReplace = other1009.isReplace; - __isset = other1009.__isset; -} -WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1010) { - resourcePlanName = other1010.resourcePlanName; - resourcePlan = other1010.resourcePlan; - isEnableAndActivate = other1010.isEnableAndActivate; - isForceDeactivate = other1010.isForceDeactivate; - isReplace = other1010.isReplace; - __isset = other1010.__isset; +WMAlterResourcePlanRequest::WMAlterResourcePlanRequest(const WMAlterResourcePlanRequest& other1015) { + resourcePlanName = other1015.resourcePlanName; + resourcePlan = other1015.resourcePlan; + isEnableAndActivate = other1015.isEnableAndActivate; + isForceDeactivate = other1015.isForceDeactivate; + isReplace = other1015.isReplace; + __isset = other1015.__isset; +} +WMAlterResourcePlanRequest& WMAlterResourcePlanRequest::operator=(const WMAlterResourcePlanRequest& other1016) { + resourcePlanName = other1016.resourcePlanName; + resourcePlan = other1016.resourcePlan; + isEnableAndActivate = other1016.isEnableAndActivate; + isForceDeactivate = other1016.isForceDeactivate; + isReplace = other1016.isReplace; + __isset = other1016.__isset; return *this; } void WMAlterResourcePlanRequest::printTo(std::ostream& out) const { @@ -25085,13 +25199,13 @@ void swap(WMAlterResourcePlanResponse &a, WMAlterResourcePlanResponse &b) { swap(a.__isset, b.__isset); } -WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1011) { - fullResourcePlan = other1011.fullResourcePlan; - __isset = other1011.__isset; +WMAlterResourcePlanResponse::WMAlterResourcePlanResponse(const WMAlterResourcePlanResponse& other1017) { + fullResourcePlan = other1017.fullResourcePlan; + __isset = other1017.__isset; } -WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1012) { - fullResourcePlan = other1012.fullResourcePlan; - __isset = other1012.__isset; +WMAlterResourcePlanResponse& WMAlterResourcePlanResponse::operator=(const WMAlterResourcePlanResponse& other1018) { + fullResourcePlan = other1018.fullResourcePlan; + __isset = other1018.__isset; return *this; } void WMAlterResourcePlanResponse::printTo(std::ostream& out) const { @@ -25173,13 +25287,13 @@ void swap(WMValidateResourcePlanRequest &a, WMValidateResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1013) { - resourcePlanName = other1013.resourcePlanName; - __isset = other1013.__isset; +WMValidateResourcePlanRequest::WMValidateResourcePlanRequest(const WMValidateResourcePlanRequest& other1019) { + resourcePlanName = other1019.resourcePlanName; + __isset = other1019.__isset; } -WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1014) { - resourcePlanName = other1014.resourcePlanName; - __isset = other1014.__isset; +WMValidateResourcePlanRequest& WMValidateResourcePlanRequest::operator=(const WMValidateResourcePlanRequest& other1020) { + resourcePlanName = other1020.resourcePlanName; + __isset = other1020.__isset; return *this; } void WMValidateResourcePlanRequest::printTo(std::ostream& out) const { @@ -25229,14 +25343,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->errors.clear(); - uint32_t _size1015; - ::apache::thrift::protocol::TType _etype1018; - xfer += iprot->readListBegin(_etype1018, _size1015); - this->errors.resize(_size1015); - uint32_t _i1019; - for (_i1019 = 0; _i1019 < _size1015; ++_i1019) + uint32_t _size1021; + ::apache::thrift::protocol::TType _etype1024; + xfer += iprot->readListBegin(_etype1024, _size1021); + this->errors.resize(_size1021); + uint32_t _i1025; + for (_i1025 = 0; _i1025 < _size1021; ++_i1025) { - xfer += iprot->readString(this->errors[_i1019]); + xfer += iprot->readString(this->errors[_i1025]); } xfer += iprot->readListEnd(); } @@ -25249,14 +25363,14 @@ uint32_t WMValidateResourcePlanResponse::read(::apache::thrift::protocol::TProto if (ftype == ::apache::thrift::protocol::T_LIST) { { this->warnings.clear(); - uint32_t _size1020; - ::apache::thrift::protocol::TType _etype1023; - xfer += iprot->readListBegin(_etype1023, _size1020); - this->warnings.resize(_size1020); - uint32_t _i1024; - for (_i1024 = 0; _i1024 < _size1020; ++_i1024) + uint32_t _size1026; + ::apache::thrift::protocol::TType _etype1029; + xfer += iprot->readListBegin(_etype1029, _size1026); + this->warnings.resize(_size1026); + uint32_t _i1030; + for (_i1030 = 0; _i1030 < _size1026; ++_i1030) { - xfer += iprot->readString(this->warnings[_i1024]); + xfer += iprot->readString(this->warnings[_i1030]); } xfer += iprot->readListEnd(); } @@ -25286,10 +25400,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 _iter1025; - for (_iter1025 = this->errors.begin(); _iter1025 != this->errors.end(); ++_iter1025) + std::vector ::const_iterator _iter1031; + for (_iter1031 = this->errors.begin(); _iter1031 != this->errors.end(); ++_iter1031) { - xfer += oprot->writeString((*_iter1025)); + xfer += oprot->writeString((*_iter1031)); } xfer += oprot->writeListEnd(); } @@ -25299,10 +25413,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 _iter1026; - for (_iter1026 = this->warnings.begin(); _iter1026 != this->warnings.end(); ++_iter1026) + std::vector ::const_iterator _iter1032; + for (_iter1032 = this->warnings.begin(); _iter1032 != this->warnings.end(); ++_iter1032) { - xfer += oprot->writeString((*_iter1026)); + xfer += oprot->writeString((*_iter1032)); } xfer += oprot->writeListEnd(); } @@ -25320,15 +25434,15 @@ void swap(WMValidateResourcePlanResponse &a, WMValidateResourcePlanResponse &b) swap(a.__isset, b.__isset); } -WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1027) { - errors = other1027.errors; - warnings = other1027.warnings; - __isset = other1027.__isset; +WMValidateResourcePlanResponse::WMValidateResourcePlanResponse(const WMValidateResourcePlanResponse& other1033) { + errors = other1033.errors; + warnings = other1033.warnings; + __isset = other1033.__isset; } -WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1028) { - errors = other1028.errors; - warnings = other1028.warnings; - __isset = other1028.__isset; +WMValidateResourcePlanResponse& WMValidateResourcePlanResponse::operator=(const WMValidateResourcePlanResponse& other1034) { + errors = other1034.errors; + warnings = other1034.warnings; + __isset = other1034.__isset; return *this; } void WMValidateResourcePlanResponse::printTo(std::ostream& out) const { @@ -25411,13 +25525,13 @@ void swap(WMDropResourcePlanRequest &a, WMDropResourcePlanRequest &b) { swap(a.__isset, b.__isset); } -WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1029) { - resourcePlanName = other1029.resourcePlanName; - __isset = other1029.__isset; +WMDropResourcePlanRequest::WMDropResourcePlanRequest(const WMDropResourcePlanRequest& other1035) { + resourcePlanName = other1035.resourcePlanName; + __isset = other1035.__isset; } -WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1030) { - resourcePlanName = other1030.resourcePlanName; - __isset = other1030.__isset; +WMDropResourcePlanRequest& WMDropResourcePlanRequest::operator=(const WMDropResourcePlanRequest& other1036) { + resourcePlanName = other1036.resourcePlanName; + __isset = other1036.__isset; return *this; } void WMDropResourcePlanRequest::printTo(std::ostream& out) const { @@ -25476,11 +25590,11 @@ void swap(WMDropResourcePlanResponse &a, WMDropResourcePlanResponse &b) { (void) b; } -WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1031) { - (void) other1031; +WMDropResourcePlanResponse::WMDropResourcePlanResponse(const WMDropResourcePlanResponse& other1037) { + (void) other1037; } -WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1032) { - (void) other1032; +WMDropResourcePlanResponse& WMDropResourcePlanResponse::operator=(const WMDropResourcePlanResponse& other1038) { + (void) other1038; return *this; } void WMDropResourcePlanResponse::printTo(std::ostream& out) const { @@ -25561,13 +25675,13 @@ void swap(WMCreateTriggerRequest &a, WMCreateTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1033) { - trigger = other1033.trigger; - __isset = other1033.__isset; +WMCreateTriggerRequest::WMCreateTriggerRequest(const WMCreateTriggerRequest& other1039) { + trigger = other1039.trigger; + __isset = other1039.__isset; } -WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1034) { - trigger = other1034.trigger; - __isset = other1034.__isset; +WMCreateTriggerRequest& WMCreateTriggerRequest::operator=(const WMCreateTriggerRequest& other1040) { + trigger = other1040.trigger; + __isset = other1040.__isset; return *this; } void WMCreateTriggerRequest::printTo(std::ostream& out) const { @@ -25626,11 +25740,11 @@ void swap(WMCreateTriggerResponse &a, WMCreateTriggerResponse &b) { (void) b; } -WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1035) { - (void) other1035; +WMCreateTriggerResponse::WMCreateTriggerResponse(const WMCreateTriggerResponse& other1041) { + (void) other1041; } -WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1036) { - (void) other1036; +WMCreateTriggerResponse& WMCreateTriggerResponse::operator=(const WMCreateTriggerResponse& other1042) { + (void) other1042; return *this; } void WMCreateTriggerResponse::printTo(std::ostream& out) const { @@ -25711,13 +25825,13 @@ void swap(WMAlterTriggerRequest &a, WMAlterTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1037) { - trigger = other1037.trigger; - __isset = other1037.__isset; +WMAlterTriggerRequest::WMAlterTriggerRequest(const WMAlterTriggerRequest& other1043) { + trigger = other1043.trigger; + __isset = other1043.__isset; } -WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1038) { - trigger = other1038.trigger; - __isset = other1038.__isset; +WMAlterTriggerRequest& WMAlterTriggerRequest::operator=(const WMAlterTriggerRequest& other1044) { + trigger = other1044.trigger; + __isset = other1044.__isset; return *this; } void WMAlterTriggerRequest::printTo(std::ostream& out) const { @@ -25776,11 +25890,11 @@ void swap(WMAlterTriggerResponse &a, WMAlterTriggerResponse &b) { (void) b; } -WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1039) { - (void) other1039; +WMAlterTriggerResponse::WMAlterTriggerResponse(const WMAlterTriggerResponse& other1045) { + (void) other1045; } -WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1040) { - (void) other1040; +WMAlterTriggerResponse& WMAlterTriggerResponse::operator=(const WMAlterTriggerResponse& other1046) { + (void) other1046; return *this; } void WMAlterTriggerResponse::printTo(std::ostream& out) const { @@ -25880,15 +25994,15 @@ void swap(WMDropTriggerRequest &a, WMDropTriggerRequest &b) { swap(a.__isset, b.__isset); } -WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1041) { - resourcePlanName = other1041.resourcePlanName; - triggerName = other1041.triggerName; - __isset = other1041.__isset; +WMDropTriggerRequest::WMDropTriggerRequest(const WMDropTriggerRequest& other1047) { + resourcePlanName = other1047.resourcePlanName; + triggerName = other1047.triggerName; + __isset = other1047.__isset; } -WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1042) { - resourcePlanName = other1042.resourcePlanName; - triggerName = other1042.triggerName; - __isset = other1042.__isset; +WMDropTriggerRequest& WMDropTriggerRequest::operator=(const WMDropTriggerRequest& other1048) { + resourcePlanName = other1048.resourcePlanName; + triggerName = other1048.triggerName; + __isset = other1048.__isset; return *this; } void WMDropTriggerRequest::printTo(std::ostream& out) const { @@ -25948,11 +26062,11 @@ void swap(WMDropTriggerResponse &a, WMDropTriggerResponse &b) { (void) b; } -WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1043) { - (void) other1043; +WMDropTriggerResponse::WMDropTriggerResponse(const WMDropTriggerResponse& other1049) { + (void) other1049; } -WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1044) { - (void) other1044; +WMDropTriggerResponse& WMDropTriggerResponse::operator=(const WMDropTriggerResponse& other1050) { + (void) other1050; return *this; } void WMDropTriggerResponse::printTo(std::ostream& out) const { @@ -26033,13 +26147,13 @@ void swap(WMGetTriggersForResourePlanRequest &a, WMGetTriggersForResourePlanRequ swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1045) { - resourcePlanName = other1045.resourcePlanName; - __isset = other1045.__isset; +WMGetTriggersForResourePlanRequest::WMGetTriggersForResourePlanRequest(const WMGetTriggersForResourePlanRequest& other1051) { + resourcePlanName = other1051.resourcePlanName; + __isset = other1051.__isset; } -WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1046) { - resourcePlanName = other1046.resourcePlanName; - __isset = other1046.__isset; +WMGetTriggersForResourePlanRequest& WMGetTriggersForResourePlanRequest::operator=(const WMGetTriggersForResourePlanRequest& other1052) { + resourcePlanName = other1052.resourcePlanName; + __isset = other1052.__isset; return *this; } void WMGetTriggersForResourePlanRequest::printTo(std::ostream& out) const { @@ -26084,14 +26198,14 @@ uint32_t WMGetTriggersForResourePlanResponse::read(::apache::thrift::protocol::T if (ftype == ::apache::thrift::protocol::T_LIST) { { this->triggers.clear(); - uint32_t _size1047; - ::apache::thrift::protocol::TType _etype1050; - xfer += iprot->readListBegin(_etype1050, _size1047); - this->triggers.resize(_size1047); - uint32_t _i1051; - for (_i1051 = 0; _i1051 < _size1047; ++_i1051) + uint32_t _size1053; + ::apache::thrift::protocol::TType _etype1056; + xfer += iprot->readListBegin(_etype1056, _size1053); + this->triggers.resize(_size1053); + uint32_t _i1057; + for (_i1057 = 0; _i1057 < _size1053; ++_i1057) { - xfer += this->triggers[_i1051].read(iprot); + xfer += this->triggers[_i1057].read(iprot); } xfer += iprot->readListEnd(); } @@ -26121,10 +26235,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 _iter1052; - for (_iter1052 = this->triggers.begin(); _iter1052 != this->triggers.end(); ++_iter1052) + std::vector ::const_iterator _iter1058; + for (_iter1058 = this->triggers.begin(); _iter1058 != this->triggers.end(); ++_iter1058) { - xfer += (*_iter1052).write(oprot); + xfer += (*_iter1058).write(oprot); } xfer += oprot->writeListEnd(); } @@ -26141,13 +26255,13 @@ void swap(WMGetTriggersForResourePlanResponse &a, WMGetTriggersForResourePlanRes swap(a.__isset, b.__isset); } -WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1053) { - triggers = other1053.triggers; - __isset = other1053.__isset; +WMGetTriggersForResourePlanResponse::WMGetTriggersForResourePlanResponse(const WMGetTriggersForResourePlanResponse& other1059) { + triggers = other1059.triggers; + __isset = other1059.__isset; } -WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1054) { - triggers = other1054.triggers; - __isset = other1054.__isset; +WMGetTriggersForResourePlanResponse& WMGetTriggersForResourePlanResponse::operator=(const WMGetTriggersForResourePlanResponse& other1060) { + triggers = other1060.triggers; + __isset = other1060.__isset; return *this; } void WMGetTriggersForResourePlanResponse::printTo(std::ostream& out) const { @@ -26229,13 +26343,13 @@ void swap(WMCreatePoolRequest &a, WMCreatePoolRequest &b) { swap(a.__isset, b.__isset); } -WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1055) { - pool = other1055.pool; - __isset = other1055.__isset; +WMCreatePoolRequest::WMCreatePoolRequest(const WMCreatePoolRequest& other1061) { + pool = other1061.pool; + __isset = other1061.__isset; } -WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1056) { - pool = other1056.pool; - __isset = other1056.__isset; +WMCreatePoolRequest& WMCreatePoolRequest::operator=(const WMCreatePoolRequest& other1062) { + pool = other1062.pool; + __isset = other1062.__isset; return *this; } void WMCreatePoolRequest::printTo(std::ostream& out) const { @@ -26294,11 +26408,11 @@ void swap(WMCreatePoolResponse &a, WMCreatePoolResponse &b) { (void) b; } -WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1057) { - (void) other1057; +WMCreatePoolResponse::WMCreatePoolResponse(const WMCreatePoolResponse& other1063) { + (void) other1063; } -WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1058) { - (void) other1058; +WMCreatePoolResponse& WMCreatePoolResponse::operator=(const WMCreatePoolResponse& other1064) { + (void) other1064; return *this; } void WMCreatePoolResponse::printTo(std::ostream& out) const { @@ -26398,15 +26512,15 @@ void swap(WMAlterPoolRequest &a, WMAlterPoolRequest &b) { swap(a.__isset, b.__isset); } -WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1059) { - pool = other1059.pool; - poolPath = other1059.poolPath; - __isset = other1059.__isset; +WMAlterPoolRequest::WMAlterPoolRequest(const WMAlterPoolRequest& other1065) { + pool = other1065.pool; + poolPath = other1065.poolPath; + __isset = other1065.__isset; } -WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1060) { - pool = other1060.pool; - poolPath = other1060.poolPath; - __isset = other1060.__isset; +WMAlterPoolRequest& WMAlterPoolRequest::operator=(const WMAlterPoolRequest& other1066) { + pool = other1066.pool; + poolPath = other1066.poolPath; + __isset = other1066.__isset; return *this; } void WMAlterPoolRequest::printTo(std::ostream& out) const { @@ -26466,11 +26580,11 @@ void swap(WMAlterPoolResponse &a, WMAlterPoolResponse &b) { (void) b; } -WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1061) { - (void) other1061; +WMAlterPoolResponse::WMAlterPoolResponse(const WMAlterPoolResponse& other1067) { + (void) other1067; } -WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1062) { - (void) other1062; +WMAlterPoolResponse& WMAlterPoolResponse::operator=(const WMAlterPoolResponse& other1068) { + (void) other1068; return *this; } void WMAlterPoolResponse::printTo(std::ostream& out) const { @@ -26570,15 +26684,15 @@ void swap(WMDropPoolRequest &a, WMDropPoolRequest &b) { swap(a.__isset, b.__isset); } -WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1063) { - resourcePlanName = other1063.resourcePlanName; - poolPath = other1063.poolPath; - __isset = other1063.__isset; +WMDropPoolRequest::WMDropPoolRequest(const WMDropPoolRequest& other1069) { + resourcePlanName = other1069.resourcePlanName; + poolPath = other1069.poolPath; + __isset = other1069.__isset; } -WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1064) { - resourcePlanName = other1064.resourcePlanName; - poolPath = other1064.poolPath; - __isset = other1064.__isset; +WMDropPoolRequest& WMDropPoolRequest::operator=(const WMDropPoolRequest& other1070) { + resourcePlanName = other1070.resourcePlanName; + poolPath = other1070.poolPath; + __isset = other1070.__isset; return *this; } void WMDropPoolRequest::printTo(std::ostream& out) const { @@ -26638,11 +26752,11 @@ void swap(WMDropPoolResponse &a, WMDropPoolResponse &b) { (void) b; } -WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1065) { - (void) other1065; +WMDropPoolResponse::WMDropPoolResponse(const WMDropPoolResponse& other1071) { + (void) other1071; } -WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1066) { - (void) other1066; +WMDropPoolResponse& WMDropPoolResponse::operator=(const WMDropPoolResponse& other1072) { + (void) other1072; return *this; } void WMDropPoolResponse::printTo(std::ostream& out) const { @@ -26742,15 +26856,15 @@ void swap(WMCreateOrUpdateMappingRequest &a, WMCreateOrUpdateMappingRequest &b) swap(a.__isset, b.__isset); } -WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1067) { - mapping = other1067.mapping; - update = other1067.update; - __isset = other1067.__isset; +WMCreateOrUpdateMappingRequest::WMCreateOrUpdateMappingRequest(const WMCreateOrUpdateMappingRequest& other1073) { + mapping = other1073.mapping; + update = other1073.update; + __isset = other1073.__isset; } -WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1068) { - mapping = other1068.mapping; - update = other1068.update; - __isset = other1068.__isset; +WMCreateOrUpdateMappingRequest& WMCreateOrUpdateMappingRequest::operator=(const WMCreateOrUpdateMappingRequest& other1074) { + mapping = other1074.mapping; + update = other1074.update; + __isset = other1074.__isset; return *this; } void WMCreateOrUpdateMappingRequest::printTo(std::ostream& out) const { @@ -26810,11 +26924,11 @@ void swap(WMCreateOrUpdateMappingResponse &a, WMCreateOrUpdateMappingResponse &b (void) b; } -WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1069) { - (void) other1069; +WMCreateOrUpdateMappingResponse::WMCreateOrUpdateMappingResponse(const WMCreateOrUpdateMappingResponse& other1075) { + (void) other1075; } -WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1070) { - (void) other1070; +WMCreateOrUpdateMappingResponse& WMCreateOrUpdateMappingResponse::operator=(const WMCreateOrUpdateMappingResponse& other1076) { + (void) other1076; return *this; } void WMCreateOrUpdateMappingResponse::printTo(std::ostream& out) const { @@ -26895,13 +27009,13 @@ void swap(WMDropMappingRequest &a, WMDropMappingRequest &b) { swap(a.__isset, b.__isset); } -WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1071) { - mapping = other1071.mapping; - __isset = other1071.__isset; +WMDropMappingRequest::WMDropMappingRequest(const WMDropMappingRequest& other1077) { + mapping = other1077.mapping; + __isset = other1077.__isset; } -WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1072) { - mapping = other1072.mapping; - __isset = other1072.__isset; +WMDropMappingRequest& WMDropMappingRequest::operator=(const WMDropMappingRequest& other1078) { + mapping = other1078.mapping; + __isset = other1078.__isset; return *this; } void WMDropMappingRequest::printTo(std::ostream& out) const { @@ -26960,11 +27074,11 @@ void swap(WMDropMappingResponse &a, WMDropMappingResponse &b) { (void) b; } -WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1073) { - (void) other1073; +WMDropMappingResponse::WMDropMappingResponse(const WMDropMappingResponse& other1079) { + (void) other1079; } -WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1074) { - (void) other1074; +WMDropMappingResponse& WMDropMappingResponse::operator=(const WMDropMappingResponse& other1080) { + (void) other1080; return *this; } void WMDropMappingResponse::printTo(std::ostream& out) const { @@ -27102,19 +27216,19 @@ void swap(WMCreateOrDropTriggerToPoolMappingRequest &a, WMCreateOrDropTriggerToP swap(a.__isset, b.__isset); } -WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1075) { - resourcePlanName = other1075.resourcePlanName; - triggerName = other1075.triggerName; - poolPath = other1075.poolPath; - drop = other1075.drop; - __isset = other1075.__isset; +WMCreateOrDropTriggerToPoolMappingRequest::WMCreateOrDropTriggerToPoolMappingRequest(const WMCreateOrDropTriggerToPoolMappingRequest& other1081) { + resourcePlanName = other1081.resourcePlanName; + triggerName = other1081.triggerName; + poolPath = other1081.poolPath; + drop = other1081.drop; + __isset = other1081.__isset; } -WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1076) { - resourcePlanName = other1076.resourcePlanName; - triggerName = other1076.triggerName; - poolPath = other1076.poolPath; - drop = other1076.drop; - __isset = other1076.__isset; +WMCreateOrDropTriggerToPoolMappingRequest& WMCreateOrDropTriggerToPoolMappingRequest::operator=(const WMCreateOrDropTriggerToPoolMappingRequest& other1082) { + resourcePlanName = other1082.resourcePlanName; + triggerName = other1082.triggerName; + poolPath = other1082.poolPath; + drop = other1082.drop; + __isset = other1082.__isset; return *this; } void WMCreateOrDropTriggerToPoolMappingRequest::printTo(std::ostream& out) const { @@ -27176,11 +27290,11 @@ void swap(WMCreateOrDropTriggerToPoolMappingResponse &a, WMCreateOrDropTriggerTo (void) b; } -WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1077) { - (void) other1077; +WMCreateOrDropTriggerToPoolMappingResponse::WMCreateOrDropTriggerToPoolMappingResponse(const WMCreateOrDropTriggerToPoolMappingResponse& other1083) { + (void) other1083; } -WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1078) { - (void) other1078; +WMCreateOrDropTriggerToPoolMappingResponse& WMCreateOrDropTriggerToPoolMappingResponse::operator=(const WMCreateOrDropTriggerToPoolMappingResponse& other1084) { + (void) other1084; return *this; } void WMCreateOrDropTriggerToPoolMappingResponse::printTo(std::ostream& out) const { @@ -27259,13 +27373,13 @@ void swap(MetaException &a, MetaException &b) { swap(a.__isset, b.__isset); } -MetaException::MetaException(const MetaException& other1079) : TException() { - message = other1079.message; - __isset = other1079.__isset; +MetaException::MetaException(const MetaException& other1085) : TException() { + message = other1085.message; + __isset = other1085.__isset; } -MetaException& MetaException::operator=(const MetaException& other1080) { - message = other1080.message; - __isset = other1080.__isset; +MetaException& MetaException::operator=(const MetaException& other1086) { + message = other1086.message; + __isset = other1086.__isset; return *this; } void MetaException::printTo(std::ostream& out) const { @@ -27356,13 +27470,13 @@ void swap(UnknownTableException &a, UnknownTableException &b) { swap(a.__isset, b.__isset); } -UnknownTableException::UnknownTableException(const UnknownTableException& other1081) : TException() { - message = other1081.message; - __isset = other1081.__isset; +UnknownTableException::UnknownTableException(const UnknownTableException& other1087) : TException() { + message = other1087.message; + __isset = other1087.__isset; } -UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1082) { - message = other1082.message; - __isset = other1082.__isset; +UnknownTableException& UnknownTableException::operator=(const UnknownTableException& other1088) { + message = other1088.message; + __isset = other1088.__isset; return *this; } void UnknownTableException::printTo(std::ostream& out) const { @@ -27453,13 +27567,13 @@ void swap(UnknownDBException &a, UnknownDBException &b) { swap(a.__isset, b.__isset); } -UnknownDBException::UnknownDBException(const UnknownDBException& other1083) : TException() { - message = other1083.message; - __isset = other1083.__isset; +UnknownDBException::UnknownDBException(const UnknownDBException& other1089) : TException() { + message = other1089.message; + __isset = other1089.__isset; } -UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1084) { - message = other1084.message; - __isset = other1084.__isset; +UnknownDBException& UnknownDBException::operator=(const UnknownDBException& other1090) { + message = other1090.message; + __isset = other1090.__isset; return *this; } void UnknownDBException::printTo(std::ostream& out) const { @@ -27550,13 +27664,13 @@ void swap(AlreadyExistsException &a, AlreadyExistsException &b) { swap(a.__isset, b.__isset); } -AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1085) : TException() { - message = other1085.message; - __isset = other1085.__isset; +AlreadyExistsException::AlreadyExistsException(const AlreadyExistsException& other1091) : TException() { + message = other1091.message; + __isset = other1091.__isset; } -AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1086) { - message = other1086.message; - __isset = other1086.__isset; +AlreadyExistsException& AlreadyExistsException::operator=(const AlreadyExistsException& other1092) { + message = other1092.message; + __isset = other1092.__isset; return *this; } void AlreadyExistsException::printTo(std::ostream& out) const { @@ -27647,13 +27761,13 @@ void swap(InvalidPartitionException &a, InvalidPartitionException &b) { swap(a.__isset, b.__isset); } -InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1087) : TException() { - message = other1087.message; - __isset = other1087.__isset; +InvalidPartitionException::InvalidPartitionException(const InvalidPartitionException& other1093) : TException() { + message = other1093.message; + __isset = other1093.__isset; } -InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1088) { - message = other1088.message; - __isset = other1088.__isset; +InvalidPartitionException& InvalidPartitionException::operator=(const InvalidPartitionException& other1094) { + message = other1094.message; + __isset = other1094.__isset; return *this; } void InvalidPartitionException::printTo(std::ostream& out) const { @@ -27744,13 +27858,13 @@ void swap(UnknownPartitionException &a, UnknownPartitionException &b) { swap(a.__isset, b.__isset); } -UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1089) : TException() { - message = other1089.message; - __isset = other1089.__isset; +UnknownPartitionException::UnknownPartitionException(const UnknownPartitionException& other1095) : TException() { + message = other1095.message; + __isset = other1095.__isset; } -UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1090) { - message = other1090.message; - __isset = other1090.__isset; +UnknownPartitionException& UnknownPartitionException::operator=(const UnknownPartitionException& other1096) { + message = other1096.message; + __isset = other1096.__isset; return *this; } void UnknownPartitionException::printTo(std::ostream& out) const { @@ -27841,13 +27955,13 @@ void swap(InvalidObjectException &a, InvalidObjectException &b) { swap(a.__isset, b.__isset); } -InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1091) : TException() { - message = other1091.message; - __isset = other1091.__isset; +InvalidObjectException::InvalidObjectException(const InvalidObjectException& other1097) : TException() { + message = other1097.message; + __isset = other1097.__isset; } -InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1092) { - message = other1092.message; - __isset = other1092.__isset; +InvalidObjectException& InvalidObjectException::operator=(const InvalidObjectException& other1098) { + message = other1098.message; + __isset = other1098.__isset; return *this; } void InvalidObjectException::printTo(std::ostream& out) const { @@ -27938,13 +28052,13 @@ void swap(NoSuchObjectException &a, NoSuchObjectException &b) { swap(a.__isset, b.__isset); } -NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1093) : TException() { - message = other1093.message; - __isset = other1093.__isset; +NoSuchObjectException::NoSuchObjectException(const NoSuchObjectException& other1099) : TException() { + message = other1099.message; + __isset = other1099.__isset; } -NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1094) { - message = other1094.message; - __isset = other1094.__isset; +NoSuchObjectException& NoSuchObjectException::operator=(const NoSuchObjectException& other1100) { + message = other1100.message; + __isset = other1100.__isset; return *this; } void NoSuchObjectException::printTo(std::ostream& out) const { @@ -28035,13 +28149,13 @@ void swap(IndexAlreadyExistsException &a, IndexAlreadyExistsException &b) { swap(a.__isset, b.__isset); } -IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other1095) : TException() { - message = other1095.message; - __isset = other1095.__isset; +IndexAlreadyExistsException::IndexAlreadyExistsException(const IndexAlreadyExistsException& other1101) : TException() { + message = other1101.message; + __isset = other1101.__isset; } -IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other1096) { - message = other1096.message; - __isset = other1096.__isset; +IndexAlreadyExistsException& IndexAlreadyExistsException::operator=(const IndexAlreadyExistsException& other1102) { + message = other1102.message; + __isset = other1102.__isset; return *this; } void IndexAlreadyExistsException::printTo(std::ostream& out) const { @@ -28132,13 +28246,13 @@ void swap(InvalidOperationException &a, InvalidOperationException &b) { swap(a.__isset, b.__isset); } -InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1097) : TException() { - message = other1097.message; - __isset = other1097.__isset; +InvalidOperationException::InvalidOperationException(const InvalidOperationException& other1103) : TException() { + message = other1103.message; + __isset = other1103.__isset; } -InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1098) { - message = other1098.message; - __isset = other1098.__isset; +InvalidOperationException& InvalidOperationException::operator=(const InvalidOperationException& other1104) { + message = other1104.message; + __isset = other1104.__isset; return *this; } void InvalidOperationException::printTo(std::ostream& out) const { @@ -28229,13 +28343,13 @@ void swap(ConfigValSecurityException &a, ConfigValSecurityException &b) { swap(a.__isset, b.__isset); } -ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1099) : TException() { - message = other1099.message; - __isset = other1099.__isset; +ConfigValSecurityException::ConfigValSecurityException(const ConfigValSecurityException& other1105) : TException() { + message = other1105.message; + __isset = other1105.__isset; } -ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1100) { - message = other1100.message; - __isset = other1100.__isset; +ConfigValSecurityException& ConfigValSecurityException::operator=(const ConfigValSecurityException& other1106) { + message = other1106.message; + __isset = other1106.__isset; return *this; } void ConfigValSecurityException::printTo(std::ostream& out) const { @@ -28326,13 +28440,13 @@ void swap(InvalidInputException &a, InvalidInputException &b) { swap(a.__isset, b.__isset); } -InvalidInputException::InvalidInputException(const InvalidInputException& other1101) : TException() { - message = other1101.message; - __isset = other1101.__isset; +InvalidInputException::InvalidInputException(const InvalidInputException& other1107) : TException() { + message = other1107.message; + __isset = other1107.__isset; } -InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1102) { - message = other1102.message; - __isset = other1102.__isset; +InvalidInputException& InvalidInputException::operator=(const InvalidInputException& other1108) { + message = other1108.message; + __isset = other1108.__isset; return *this; } void InvalidInputException::printTo(std::ostream& out) const { @@ -28423,13 +28537,13 @@ void swap(NoSuchTxnException &a, NoSuchTxnException &b) { swap(a.__isset, b.__isset); } -NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1103) : TException() { - message = other1103.message; - __isset = other1103.__isset; +NoSuchTxnException::NoSuchTxnException(const NoSuchTxnException& other1109) : TException() { + message = other1109.message; + __isset = other1109.__isset; } -NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1104) { - message = other1104.message; - __isset = other1104.__isset; +NoSuchTxnException& NoSuchTxnException::operator=(const NoSuchTxnException& other1110) { + message = other1110.message; + __isset = other1110.__isset; return *this; } void NoSuchTxnException::printTo(std::ostream& out) const { @@ -28520,13 +28634,13 @@ void swap(TxnAbortedException &a, TxnAbortedException &b) { swap(a.__isset, b.__isset); } -TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1105) : TException() { - message = other1105.message; - __isset = other1105.__isset; +TxnAbortedException::TxnAbortedException(const TxnAbortedException& other1111) : TException() { + message = other1111.message; + __isset = other1111.__isset; } -TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1106) { - message = other1106.message; - __isset = other1106.__isset; +TxnAbortedException& TxnAbortedException::operator=(const TxnAbortedException& other1112) { + message = other1112.message; + __isset = other1112.__isset; return *this; } void TxnAbortedException::printTo(std::ostream& out) const { @@ -28617,13 +28731,13 @@ void swap(TxnOpenException &a, TxnOpenException &b) { swap(a.__isset, b.__isset); } -TxnOpenException::TxnOpenException(const TxnOpenException& other1107) : TException() { - message = other1107.message; - __isset = other1107.__isset; +TxnOpenException::TxnOpenException(const TxnOpenException& other1113) : TException() { + message = other1113.message; + __isset = other1113.__isset; } -TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1108) { - message = other1108.message; - __isset = other1108.__isset; +TxnOpenException& TxnOpenException::operator=(const TxnOpenException& other1114) { + message = other1114.message; + __isset = other1114.__isset; return *this; } void TxnOpenException::printTo(std::ostream& out) const { @@ -28714,13 +28828,13 @@ void swap(NoSuchLockException &a, NoSuchLockException &b) { swap(a.__isset, b.__isset); } -NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1109) : TException() { - message = other1109.message; - __isset = other1109.__isset; +NoSuchLockException::NoSuchLockException(const NoSuchLockException& other1115) : TException() { + message = other1115.message; + __isset = other1115.__isset; } -NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1110) { - message = other1110.message; - __isset = other1110.__isset; +NoSuchLockException& NoSuchLockException::operator=(const NoSuchLockException& other1116) { + message = other1116.message; + __isset = other1116.__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 7c38d5be74..9808f3f287 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 @@ -5965,8 +5965,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 { @@ -5974,7 +5976,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(); @@ -5982,6 +5984,8 @@ class OpenTxnRequest { std::string user; std::string hostname; std::string agentInfo; + std::string replPolicy; + std::vector replSrcTxnIds; _OpenTxnRequest__isset __isset; @@ -5993,6 +5997,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)) @@ -6005,6 +6013,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 { @@ -6067,24 +6083,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 { @@ -6147,24 +6176,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 29e4e69cc4..59476991c4 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 _list564 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list564.size); - long _elem565; - for (int _i566 = 0; _i566 < _list564.size; ++_i566) + org.apache.thrift.protocol.TList _list572 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list572.size); + long _elem573; + for (int _i574 = 0; _i574 < _list572.size; ++_i574) { - _elem565 = iprot.readI64(); - struct.txn_ids.add(_elem565); + _elem573 = iprot.readI64(); + struct.txn_ids.add(_elem573); } 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 _iter567 : struct.txn_ids) + for (long _iter575 : struct.txn_ids) { - oprot.writeI64(_iter567); + oprot.writeI64(_iter575); } 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 _iter568 : struct.txn_ids) + for (long _iter576 : struct.txn_ids) { - oprot.writeI64(_iter568); + oprot.writeI64(_iter576); } } } @@ -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 _list569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list569.size); - long _elem570; - for (int _i571 = 0; _i571 < _list569.size; ++_i571) + org.apache.thrift.protocol.TList _list577 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list577.size); + long _elem578; + for (int _i579 = 0; _i579 < _list577.size; ++_i579) { - _elem570 = iprot.readI64(); - struct.txn_ids.add(_elem570); + _elem578 = iprot.readI64(); + struct.txn_ids.add(_elem578); } } 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 99c0741871..8bf30ec6ff 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 _list662 = iprot.readListBegin(); - struct.partitionnames = new ArrayList(_list662.size); - String _elem663; - for (int _i664 = 0; _i664 < _list662.size; ++_i664) + org.apache.thrift.protocol.TList _list670 = iprot.readListBegin(); + struct.partitionnames = new ArrayList(_list670.size); + String _elem671; + for (int _i672 = 0; _i672 < _list670.size; ++_i672) { - _elem663 = iprot.readString(); - struct.partitionnames.add(_elem663); + _elem671 = iprot.readString(); + struct.partitionnames.add(_elem671); } 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 _iter665 : struct.partitionnames) + for (String _iter673 : struct.partitionnames) { - oprot.writeString(_iter665); + oprot.writeString(_iter673); } 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 _iter666 : struct.partitionnames) + for (String _iter674 : struct.partitionnames) { - oprot.writeString(_iter666); + oprot.writeString(_iter674); } } 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 _list667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionnames = new ArrayList(_list667.size); - String _elem668; - for (int _i669 = 0; _i669 < _list667.size; ++_i669) + org.apache.thrift.protocol.TList _list675 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionnames = new ArrayList(_list675.size); + String _elem676; + for (int _i677 = 0; _i677 < _list675.size; ++_i677) { - _elem668 = iprot.readString(); - struct.partitionnames.add(_elem668); + _elem676 = iprot.readString(); + struct.partitionnames.add(_elem676); } } 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 60a32adaa0..199867d71c 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 _list596 = iprot.readListBegin(); - struct.txnIds = new ArrayList(_list596.size); - long _elem597; - for (int _i598 = 0; _i598 < _list596.size; ++_i598) + org.apache.thrift.protocol.TList _list604 = iprot.readListBegin(); + struct.txnIds = new ArrayList(_list604.size); + long _elem605; + for (int _i606 = 0; _i606 < _list604.size; ++_i606) { - _elem597 = iprot.readI64(); - struct.txnIds.add(_elem597); + _elem605 = iprot.readI64(); + struct.txnIds.add(_elem605); } 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 _iter599 : struct.txnIds) + for (long _iter607 : struct.txnIds) { - oprot.writeI64(_iter599); + oprot.writeI64(_iter607); } 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 _iter600 : struct.txnIds) + for (long _iter608 : struct.txnIds) { - oprot.writeI64(_iter600); + oprot.writeI64(_iter608); } } 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 _list601 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txnIds = new ArrayList(_list601.size); - long _elem602; - for (int _i603 = 0; _i603 < _list601.size; ++_i603) + org.apache.thrift.protocol.TList _list609 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txnIds = new ArrayList(_list609.size); + long _elem610; + for (int _i611 = 0; _i611 < _list609.size; ++_i611) { - _elem602 = iprot.readI64(); - struct.txnIds.add(_elem602); + _elem610 = iprot.readI64(); + struct.txnIds.add(_elem610); } } 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 9bf2f7f1db..a222bb10c0 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 _list604 = iprot.readListBegin(); - struct.txnToWriteIds = new ArrayList(_list604.size); - TxnToWriteId _elem605; - for (int _i606 = 0; _i606 < _list604.size; ++_i606) + org.apache.thrift.protocol.TList _list612 = iprot.readListBegin(); + struct.txnToWriteIds = new ArrayList(_list612.size); + TxnToWriteId _elem613; + for (int _i614 = 0; _i614 < _list612.size; ++_i614) { - _elem605 = new TxnToWriteId(); - _elem605.read(iprot); - struct.txnToWriteIds.add(_elem605); + _elem613 = new TxnToWriteId(); + _elem613.read(iprot); + struct.txnToWriteIds.add(_elem613); } 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 _iter607 : struct.txnToWriteIds) + for (TxnToWriteId _iter615 : struct.txnToWriteIds) { - _iter607.write(oprot); + _iter615.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 _iter608 : struct.txnToWriteIds) + for (TxnToWriteId _iter616 : struct.txnToWriteIds) { - _iter608.write(oprot); + _iter616.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 _list609 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.txnToWriteIds = new ArrayList(_list609.size); - TxnToWriteId _elem610; - for (int _i611 = 0; _i611 < _list609.size; ++_i611) + org.apache.thrift.protocol.TList _list617 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.txnToWriteIds = new ArrayList(_list617.size); + TxnToWriteId _elem618; + for (int _i619 = 0; _i619 < _list617.size; ++_i619) { - _elem610 = new TxnToWriteId(); - _elem610.read(iprot); - struct.txnToWriteIds.add(_elem610); + _elem618 = new TxnToWriteId(); + _elem618.read(iprot); + struct.txnToWriteIds.add(_elem618); } } 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 9feadc48f2..a254478807 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 _list762 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list762.size); - long _elem763; - for (int _i764 = 0; _i764 < _list762.size; ++_i764) + org.apache.thrift.protocol.TList _list770 = iprot.readListBegin(); + 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); } 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 _iter765 : struct.fileIds) + for (long _iter773 : struct.fileIds) { - oprot.writeI64(_iter765); + oprot.writeI64(_iter773); } 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 _iter766 : struct.fileIds) + for (long _iter774 : struct.fileIds) { - oprot.writeI64(_iter766); + oprot.writeI64(_iter774); } } } @@ -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 _list767 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list767.size); - long _elem768; - for (int _i769 = 0; _i769 < _list767.size; ++_i769) + org.apache.thrift.protocol.TList _list775 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list775.size); + long _elem776; + for (int _i777 = 0; _i777 < _list775.size; ++_i777) { - _elem768 = iprot.readI64(); - struct.fileIds.add(_elem768); + _elem776 = iprot.readI64(); + struct.fileIds.add(_elem776); } } 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 0a1f76f0e4..8af42d6fc6 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 _list778 = iprot.readListBegin(); - struct.values = new ArrayList(_list778.size); - ClientCapability _elem779; - for (int _i780 = 0; _i780 < _list778.size; ++_i780) + org.apache.thrift.protocol.TList _list786 = iprot.readListBegin(); + struct.values = new ArrayList(_list786.size); + ClientCapability _elem787; + for (int _i788 = 0; _i788 < _list786.size; ++_i788) { - _elem779 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem779); + _elem787 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem787); } 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 _iter781 : struct.values) + for (ClientCapability _iter789 : struct.values) { - oprot.writeI32(_iter781.getValue()); + oprot.writeI32(_iter789.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 _iter782 : struct.values) + for (ClientCapability _iter790 : struct.values) { - oprot.writeI32(_iter782.getValue()); + oprot.writeI32(_iter790.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 _list783 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); - struct.values = new ArrayList(_list783.size); - ClientCapability _elem784; - for (int _i785 = 0; _i785 < _list783.size; ++_i785) + org.apache.thrift.protocol.TList _list791 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I32, iprot.readI32()); + struct.values = new ArrayList(_list791.size); + ClientCapability _elem792; + for (int _i793 = 0; _i793 < _list791.size; ++_i793) { - _elem784 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); - struct.values.add(_elem784); + _elem792 = org.apache.hadoop.hive.metastore.api.ClientCapability.findByValue(iprot.readI32()); + struct.values.add(_elem792); } } 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 af84a9c91c..29ff32bcb8 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 _map644 = iprot.readMapBegin(); - struct.properties = new HashMap(2*_map644.size); - String _key645; - String _val646; - for (int _i647 = 0; _i647 < _map644.size; ++_i647) + org.apache.thrift.protocol.TMap _map652 = iprot.readMapBegin(); + struct.properties = new HashMap(2*_map652.size); + String _key653; + String _val654; + for (int _i655 = 0; _i655 < _map652.size; ++_i655) { - _key645 = iprot.readString(); - _val646 = iprot.readString(); - struct.properties.put(_key645, _val646); + _key653 = iprot.readString(); + _val654 = iprot.readString(); + struct.properties.put(_key653, _val654); } 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 _iter648 : struct.properties.entrySet()) + for (Map.Entry _iter656 : struct.properties.entrySet()) { - oprot.writeString(_iter648.getKey()); - oprot.writeString(_iter648.getValue()); + oprot.writeString(_iter656.getKey()); + oprot.writeString(_iter656.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 _iter649 : struct.properties.entrySet()) + for (Map.Entry _iter657 : struct.properties.entrySet()) { - oprot.writeString(_iter649.getKey()); - oprot.writeString(_iter649.getValue()); + oprot.writeString(_iter657.getKey()); + oprot.writeString(_iter657.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 _map650 = 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*_map650.size); - String _key651; - String _val652; - for (int _i653 = 0; _i653 < _map650.size; ++_i653) + org.apache.thrift.protocol.TMap _map658 = 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*_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); } } 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 3da8ed5e9e..517b20eda9 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 _set670 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set670.size); - String _elem671; - for (int _i672 = 0; _i672 < _set670.size; ++_i672) + org.apache.thrift.protocol.TSet _set678 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set678.size); + String _elem679; + for (int _i680 = 0; _i680 < _set678.size; ++_i680) { - _elem671 = iprot.readString(); - struct.tablesUsed.add(_elem671); + _elem679 = iprot.readString(); + struct.tablesUsed.add(_elem679); } 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 _iter673 : struct.tablesUsed) + for (String _iter681 : struct.tablesUsed) { - oprot.writeString(_iter673); + oprot.writeString(_iter681); } 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 _iter674 : struct.tablesUsed) + for (String _iter682 : struct.tablesUsed) { - oprot.writeString(_iter674); + oprot.writeString(_iter682); } } 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 _set675 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set675.size); - String _elem676; - for (int _i677 = 0; _i677 < _set675.size; ++_i677) + org.apache.thrift.protocol.TSet _set683 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set683.size); + String _elem684; + for (int _i685 = 0; _i685 < _set683.size; ++_i685) { - _elem676 = iprot.readString(); - struct.tablesUsed.add(_elem676); + _elem684 = iprot.readString(); + struct.tablesUsed.add(_elem684); } } struct.setTablesUsedIsSet(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 ca357ed33e..4394a5d53d 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 _list702 = iprot.readListBegin(); - struct.partitionVals = new ArrayList(_list702.size); - String _elem703; - for (int _i704 = 0; _i704 < _list702.size; ++_i704) + org.apache.thrift.protocol.TList _list710 = iprot.readListBegin(); + struct.partitionVals = new ArrayList(_list710.size); + String _elem711; + for (int _i712 = 0; _i712 < _list710.size; ++_i712) { - _elem703 = iprot.readString(); - struct.partitionVals.add(_elem703); + _elem711 = iprot.readString(); + struct.partitionVals.add(_elem711); } 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 _iter705 : struct.partitionVals) + for (String _iter713 : struct.partitionVals) { - oprot.writeString(_iter705); + oprot.writeString(_iter713); } 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 _iter706 : struct.partitionVals) + for (String _iter714 : struct.partitionVals) { - oprot.writeString(_iter706); + oprot.writeString(_iter714); } } } @@ -843,13 +843,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, FireEventRequest str } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list707 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partitionVals = new ArrayList(_list707.size); - String _elem708; - for (int _i709 = 0; _i709 < _list707.size; ++_i709) + org.apache.thrift.protocol.TList _list715 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partitionVals = new ArrayList(_list715.size); + String _elem716; + for (int _i717 = 0; _i717 < _list715.size; ++_i717) { - _elem708 = iprot.readString(); - struct.partitionVals.add(_elem708); + _elem716 = iprot.readString(); + struct.partitionVals.add(_elem716); } } 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 dd5ea74b1c..d01ba3310c 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 _list770 = iprot.readListBegin(); - struct.functions = new ArrayList(_list770.size); - Function _elem771; - for (int _i772 = 0; _i772 < _list770.size; ++_i772) + org.apache.thrift.protocol.TList _list778 = iprot.readListBegin(); + struct.functions = new ArrayList(_list778.size); + Function _elem779; + for (int _i780 = 0; _i780 < _list778.size; ++_i780) { - _elem771 = new Function(); - _elem771.read(iprot); - struct.functions.add(_elem771); + _elem779 = new Function(); + _elem779.read(iprot); + struct.functions.add(_elem779); } 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 _iter773 : struct.functions) + for (Function _iter781 : struct.functions) { - _iter773.write(oprot); + _iter781.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 _iter774 : struct.functions) + for (Function _iter782 : struct.functions) { - _iter774.write(oprot); + _iter782.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 _list775 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.functions = new ArrayList(_list775.size); - Function _elem776; - for (int _i777 = 0; _i777 < _list775.size; ++_i777) + org.apache.thrift.protocol.TList _list783 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.functions = new ArrayList(_list783.size); + Function _elem784; + for (int _i785 = 0; _i785 < _list783.size; ++_i785) { - _elem776 = new Function(); - _elem776.read(iprot); - struct.functions.add(_elem776); + _elem784 = new Function(); + _elem784.read(iprot); + struct.functions.add(_elem784); } } 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 a3a577955d..df5d235514 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 _list720 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list720.size); - long _elem721; - for (int _i722 = 0; _i722 < _list720.size; ++_i722) + org.apache.thrift.protocol.TList _list728 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list728.size); + long _elem729; + for (int _i730 = 0; _i730 < _list728.size; ++_i730) { - _elem721 = iprot.readI64(); - struct.fileIds.add(_elem721); + _elem729 = iprot.readI64(); + struct.fileIds.add(_elem729); } 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 _iter723 : struct.fileIds) + for (long _iter731 : struct.fileIds) { - oprot.writeI64(_iter723); + oprot.writeI64(_iter731); } 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 _iter724 : struct.fileIds) + for (long _iter732 : struct.fileIds) { - oprot.writeI64(_iter724); + oprot.writeI64(_iter732); } } 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 _list725 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list725.size); - long _elem726; - for (int _i727 = 0; _i727 < _list725.size; ++_i727) + org.apache.thrift.protocol.TList _list733 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list733.size); + long _elem734; + for (int _i735 = 0; _i735 < _list733.size; ++_i735) { - _elem726 = iprot.readI64(); - struct.fileIds.add(_elem726); + _elem734 = iprot.readI64(); + struct.fileIds.add(_elem734); } } 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 7604f19699..9c8d603bab 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 _map710 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map710.size); - long _key711; - MetadataPpdResult _val712; - for (int _i713 = 0; _i713 < _map710.size; ++_i713) + org.apache.thrift.protocol.TMap _map718 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map718.size); + long _key719; + MetadataPpdResult _val720; + for (int _i721 = 0; _i721 < _map718.size; ++_i721) { - _key711 = iprot.readI64(); - _val712 = new MetadataPpdResult(); - _val712.read(iprot); - struct.metadata.put(_key711, _val712); + _key719 = iprot.readI64(); + _val720 = new MetadataPpdResult(); + _val720.read(iprot); + struct.metadata.put(_key719, _val720); } 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 _iter714 : struct.metadata.entrySet()) + for (Map.Entry _iter722 : struct.metadata.entrySet()) { - oprot.writeI64(_iter714.getKey()); - _iter714.getValue().write(oprot); + oprot.writeI64(_iter722.getKey()); + _iter722.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 _iter715 : struct.metadata.entrySet()) + for (Map.Entry _iter723 : struct.metadata.entrySet()) { - oprot.writeI64(_iter715.getKey()); - _iter715.getValue().write(oprot); + oprot.writeI64(_iter723.getKey()); + _iter723.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 _map716 = 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*_map716.size); - long _key717; - MetadataPpdResult _val718; - for (int _i719 = 0; _i719 < _map716.size; ++_i719) + org.apache.thrift.protocol.TMap _map724 = 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*_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); } } 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 ce73688d57..6444da42f0 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 _list738 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list738.size); - long _elem739; - for (int _i740 = 0; _i740 < _list738.size; ++_i740) + org.apache.thrift.protocol.TList _list746 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list746.size); + long _elem747; + for (int _i748 = 0; _i748 < _list746.size; ++_i748) { - _elem739 = iprot.readI64(); - struct.fileIds.add(_elem739); + _elem747 = iprot.readI64(); + struct.fileIds.add(_elem747); } 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 _iter741 : struct.fileIds) + for (long _iter749 : struct.fileIds) { - oprot.writeI64(_iter741); + oprot.writeI64(_iter749); } 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 _iter742 : struct.fileIds) + for (long _iter750 : struct.fileIds) { - oprot.writeI64(_iter742); + oprot.writeI64(_iter750); } } } @@ -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 _list743 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list743.size); - long _elem744; - for (int _i745 = 0; _i745 < _list743.size; ++_i745) + org.apache.thrift.protocol.TList _list751 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list751.size); + long _elem752; + for (int _i753 = 0; _i753 < _list751.size; ++_i753) { - _elem744 = iprot.readI64(); - struct.fileIds.add(_elem744); + _elem752 = iprot.readI64(); + struct.fileIds.add(_elem752); } } 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 f797ce8943..95380462d0 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 _map728 = iprot.readMapBegin(); - struct.metadata = new HashMap(2*_map728.size); - long _key729; - ByteBuffer _val730; - for (int _i731 = 0; _i731 < _map728.size; ++_i731) + org.apache.thrift.protocol.TMap _map736 = iprot.readMapBegin(); + struct.metadata = new HashMap(2*_map736.size); + long _key737; + ByteBuffer _val738; + for (int _i739 = 0; _i739 < _map736.size; ++_i739) { - _key729 = iprot.readI64(); - _val730 = iprot.readBinary(); - struct.metadata.put(_key729, _val730); + _key737 = iprot.readI64(); + _val738 = iprot.readBinary(); + struct.metadata.put(_key737, _val738); } 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 _iter732 : struct.metadata.entrySet()) + for (Map.Entry _iter740 : struct.metadata.entrySet()) { - oprot.writeI64(_iter732.getKey()); - oprot.writeBinary(_iter732.getValue()); + oprot.writeI64(_iter740.getKey()); + oprot.writeBinary(_iter740.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 _iter733 : struct.metadata.entrySet()) + for (Map.Entry _iter741 : struct.metadata.entrySet()) { - oprot.writeI64(_iter733.getKey()); - oprot.writeBinary(_iter733.getValue()); + oprot.writeI64(_iter741.getKey()); + oprot.writeBinary(_iter741.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 _map734 = 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*_map734.size); - long _key735; - ByteBuffer _val736; - for (int _i737 = 0; _i737 < _map734.size; ++_i737) + org.apache.thrift.protocol.TMap _map742 = 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*_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); } } 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 f495dd841e..053a2392c2 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 _list786 = iprot.readListBegin(); - struct.tblNames = new ArrayList(_list786.size); - String _elem787; - for (int _i788 = 0; _i788 < _list786.size; ++_i788) + org.apache.thrift.protocol.TList _list794 = iprot.readListBegin(); + struct.tblNames = new ArrayList(_list794.size); + String _elem795; + for (int _i796 = 0; _i796 < _list794.size; ++_i796) { - _elem787 = iprot.readString(); - struct.tblNames.add(_elem787); + _elem795 = iprot.readString(); + struct.tblNames.add(_elem795); } 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 _iter789 : struct.tblNames) + for (String _iter797 : struct.tblNames) { - oprot.writeString(_iter789); + oprot.writeString(_iter797); } 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 _iter790 : struct.tblNames) + for (String _iter798 : struct.tblNames) { - oprot.writeString(_iter790); + oprot.writeString(_iter798); } } } @@ -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 _list791 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tblNames = new ArrayList(_list791.size); - String _elem792; - for (int _i793 = 0; _i793 < _list791.size; ++_i793) + org.apache.thrift.protocol.TList _list799 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tblNames = new ArrayList(_list799.size); + String _elem800; + for (int _i801 = 0; _i801 < _list799.size; ++_i801) { - _elem792 = iprot.readString(); - struct.tblNames.add(_elem792); + _elem800 = iprot.readString(); + struct.tblNames.add(_elem800); } } 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 08755d7a23..21852c9451 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 _list794 = iprot.readListBegin(); - struct.tables = new ArrayList
(_list794.size); - Table _elem795; - for (int _i796 = 0; _i796 < _list794.size; ++_i796) + org.apache.thrift.protocol.TList _list802 = iprot.readListBegin(); + struct.tables = new ArrayList
(_list802.size); + Table _elem803; + for (int _i804 = 0; _i804 < _list802.size; ++_i804) { - _elem795 = new Table(); - _elem795.read(iprot); - struct.tables.add(_elem795); + _elem803 = new Table(); + _elem803.read(iprot); + struct.tables.add(_elem803); } 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 _iter797 : struct.tables) + for (Table _iter805 : struct.tables) { - _iter797.write(oprot); + _iter805.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 _iter798 : struct.tables) + for (Table _iter806 : struct.tables) { - _iter798.write(oprot); + _iter806.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 _list799 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tables = new ArrayList
(_list799.size); - Table _elem800; - for (int _i801 = 0; _i801 < _list799.size; ++_i801) + org.apache.thrift.protocol.TList _list807 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tables = new ArrayList
(_list807.size); + Table _elem808; + for (int _i809 = 0; _i809 < _list807.size; ++_i809) { - _elem800 = new Table(); - _elem800.read(iprot); - struct.tables.add(_elem800); + _elem808 = new Table(); + _elem808.read(iprot); + struct.tables.add(_elem808); } } 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 1eead3e250..a006ddb20d 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 _list572 = iprot.readListBegin(); - struct.fullTableNames = new ArrayList(_list572.size); - String _elem573; - for (int _i574 = 0; _i574 < _list572.size; ++_i574) + org.apache.thrift.protocol.TList _list580 = iprot.readListBegin(); + struct.fullTableNames = new ArrayList(_list580.size); + String _elem581; + for (int _i582 = 0; _i582 < _list580.size; ++_i582) { - _elem573 = iprot.readString(); - struct.fullTableNames.add(_elem573); + _elem581 = iprot.readString(); + struct.fullTableNames.add(_elem581); } 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 _iter575 : struct.fullTableNames) + for (String _iter583 : struct.fullTableNames) { - oprot.writeString(_iter575); + oprot.writeString(_iter583); } 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 _iter576 : struct.fullTableNames) + for (String _iter584 : struct.fullTableNames) { - oprot.writeString(_iter576); + oprot.writeString(_iter584); } } 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 _list577 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.fullTableNames = new ArrayList(_list577.size); - String _elem578; - for (int _i579 = 0; _i579 < _list577.size; ++_i579) + org.apache.thrift.protocol.TList _list585 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.fullTableNames = new ArrayList(_list585.size); + String _elem586; + for (int _i587 = 0; _i587 < _list585.size; ++_i587) { - _elem578 = iprot.readString(); - struct.fullTableNames.add(_elem578); + _elem586 = iprot.readString(); + struct.fullTableNames.add(_elem586); } } 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 f42161304b..b6ae755ff0 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 _list588 = iprot.readListBegin(); - struct.tblValidWriteIds = new ArrayList(_list588.size); - TableValidWriteIds _elem589; - for (int _i590 = 0; _i590 < _list588.size; ++_i590) + org.apache.thrift.protocol.TList _list596 = iprot.readListBegin(); + struct.tblValidWriteIds = new ArrayList(_list596.size); + TableValidWriteIds _elem597; + for (int _i598 = 0; _i598 < _list596.size; ++_i598) { - _elem589 = new TableValidWriteIds(); - _elem589.read(iprot); - struct.tblValidWriteIds.add(_elem589); + _elem597 = new TableValidWriteIds(); + _elem597.read(iprot); + struct.tblValidWriteIds.add(_elem597); } 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 _iter591 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter599 : struct.tblValidWriteIds) { - _iter591.write(oprot); + _iter599.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 _iter592 : struct.tblValidWriteIds) + for (TableValidWriteIds _iter600 : struct.tblValidWriteIds) { - _iter592.write(oprot); + _iter600.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 _list593 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.tblValidWriteIds = new ArrayList(_list593.size); - TableValidWriteIds _elem594; - for (int _i595 = 0; _i595 < _list593.size; ++_i595) + org.apache.thrift.protocol.TList _list601 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.tblValidWriteIds = new ArrayList(_list601.size); + TableValidWriteIds _elem602; + for (int _i603 = 0; _i603 < _list601.size; ++_i603) { - _elem594 = new TableValidWriteIds(); - _elem594.read(iprot); - struct.tblValidWriteIds.add(_elem594); + _elem602 = new TableValidWriteIds(); + _elem602.read(iprot); + struct.tblValidWriteIds.add(_elem602); } } 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 796bbfdcea..853a11dec3 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 _set628 = iprot.readSetBegin(); - struct.aborted = new HashSet(2*_set628.size); - long _elem629; - for (int _i630 = 0; _i630 < _set628.size; ++_i630) + org.apache.thrift.protocol.TSet _set636 = iprot.readSetBegin(); + struct.aborted = new HashSet(2*_set636.size); + long _elem637; + for (int _i638 = 0; _i638 < _set636.size; ++_i638) { - _elem629 = iprot.readI64(); - struct.aborted.add(_elem629); + _elem637 = iprot.readI64(); + struct.aborted.add(_elem637); } 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 _set631 = iprot.readSetBegin(); - struct.nosuch = new HashSet(2*_set631.size); - long _elem632; - for (int _i633 = 0; _i633 < _set631.size; ++_i633) + org.apache.thrift.protocol.TSet _set639 = iprot.readSetBegin(); + struct.nosuch = new HashSet(2*_set639.size); + long _elem640; + for (int _i641 = 0; _i641 < _set639.size; ++_i641) { - _elem632 = iprot.readI64(); - struct.nosuch.add(_elem632); + _elem640 = iprot.readI64(); + struct.nosuch.add(_elem640); } 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 _iter634 : struct.aborted) + for (long _iter642 : struct.aborted) { - oprot.writeI64(_iter634); + oprot.writeI64(_iter642); } 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 _iter635 : struct.nosuch) + for (long _iter643 : struct.nosuch) { - oprot.writeI64(_iter635); + oprot.writeI64(_iter643); } 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 _iter636 : struct.aborted) + for (long _iter644 : struct.aborted) { - oprot.writeI64(_iter636); + oprot.writeI64(_iter644); } } { oprot.writeI32(struct.nosuch.size()); - for (long _iter637 : struct.nosuch) + for (long _iter645 : struct.nosuch) { - oprot.writeI64(_iter637); + oprot.writeI64(_iter645); } } } @@ -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 _set638 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.aborted = new HashSet(2*_set638.size); - long _elem639; - for (int _i640 = 0; _i640 < _set638.size; ++_i640) + org.apache.thrift.protocol.TSet _set646 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.aborted = new HashSet(2*_set646.size); + long _elem647; + for (int _i648 = 0; _i648 < _set646.size; ++_i648) { - _elem639 = iprot.readI64(); - struct.aborted.add(_elem639); + _elem647 = iprot.readI64(); + struct.aborted.add(_elem647); } } struct.setAbortedIsSet(true); { - org.apache.thrift.protocol.TSet _set641 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.nosuch = new HashSet(2*_set641.size); - long _elem642; - for (int _i643 = 0; _i643 < _set641.size; ++_i643) + org.apache.thrift.protocol.TSet _set649 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.nosuch = new HashSet(2*_set649.size); + long _elem650; + for (int _i651 = 0; _i651 < _set649.size; ++_i651) { - _elem642 = iprot.readI64(); - struct.nosuch.add(_elem642); + _elem650 = iprot.readI64(); + struct.nosuch.add(_elem650); } } 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 98647b0027..3a290277a5 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 _list686 = iprot.readListBegin(); - struct.filesAdded = new ArrayList(_list686.size); - String _elem687; - for (int _i688 = 0; _i688 < _list686.size; ++_i688) + org.apache.thrift.protocol.TList _list694 = iprot.readListBegin(); + struct.filesAdded = new ArrayList(_list694.size); + String _elem695; + for (int _i696 = 0; _i696 < _list694.size; ++_i696) { - _elem687 = iprot.readString(); - struct.filesAdded.add(_elem687); + _elem695 = iprot.readString(); + struct.filesAdded.add(_elem695); } 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 _list689 = iprot.readListBegin(); - struct.filesAddedChecksum = new ArrayList(_list689.size); - String _elem690; - for (int _i691 = 0; _i691 < _list689.size; ++_i691) + org.apache.thrift.protocol.TList _list697 = iprot.readListBegin(); + struct.filesAddedChecksum = new ArrayList(_list697.size); + String _elem698; + for (int _i699 = 0; _i699 < _list697.size; ++_i699) { - _elem690 = iprot.readString(); - struct.filesAddedChecksum.add(_elem690); + _elem698 = iprot.readString(); + struct.filesAddedChecksum.add(_elem698); } 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 _iter692 : struct.filesAdded) + for (String _iter700 : struct.filesAdded) { - oprot.writeString(_iter692); + oprot.writeString(_iter700); } 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 _iter693 : struct.filesAddedChecksum) + for (String _iter701 : struct.filesAddedChecksum) { - oprot.writeString(_iter693); + oprot.writeString(_iter701); } 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 _iter694 : struct.filesAdded) + for (String _iter702 : struct.filesAdded) { - oprot.writeString(_iter694); + oprot.writeString(_iter702); } } 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 _iter695 : struct.filesAddedChecksum) + for (String _iter703 : struct.filesAddedChecksum) { - oprot.writeString(_iter695); + oprot.writeString(_iter703); } } } @@ -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 _list696 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAdded = new ArrayList(_list696.size); - String _elem697; - for (int _i698 = 0; _i698 < _list696.size; ++_i698) + org.apache.thrift.protocol.TList _list704 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAdded = new ArrayList(_list704.size); + String _elem705; + for (int _i706 = 0; _i706 < _list704.size; ++_i706) { - _elem697 = iprot.readString(); - struct.filesAdded.add(_elem697); + _elem705 = iprot.readString(); + struct.filesAdded.add(_elem705); } } 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 _list699 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.filesAddedChecksum = new ArrayList(_list699.size); - String _elem700; - for (int _i701 = 0; _i701 < _list699.size; ++_i701) + org.apache.thrift.protocol.TList _list707 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.filesAddedChecksum = new ArrayList(_list707.size); + String _elem708; + for (int _i709 = 0; _i709 < _list707.size; ++_i709) { - _elem700 = iprot.readString(); - struct.filesAddedChecksum.add(_elem700); + _elem708 = iprot.readString(); + struct.filesAddedChecksum.add(_elem708); } } 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 64bf58cf1d..9c7991584c 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 _list612 = iprot.readListBegin(); - struct.component = new ArrayList(_list612.size); - LockComponent _elem613; - for (int _i614 = 0; _i614 < _list612.size; ++_i614) + org.apache.thrift.protocol.TList _list620 = iprot.readListBegin(); + struct.component = new ArrayList(_list620.size); + LockComponent _elem621; + for (int _i622 = 0; _i622 < _list620.size; ++_i622) { - _elem613 = new LockComponent(); - _elem613.read(iprot); - struct.component.add(_elem613); + _elem621 = new LockComponent(); + _elem621.read(iprot); + struct.component.add(_elem621); } 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 _iter615 : struct.component) + for (LockComponent _iter623 : struct.component) { - _iter615.write(oprot); + _iter623.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 _iter616 : struct.component) + for (LockComponent _iter624 : struct.component) { - _iter616.write(oprot); + _iter624.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 _list617 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.component = new ArrayList(_list617.size); - LockComponent _elem618; - for (int _i619 = 0; _i619 < _list617.size; ++_i619) + org.apache.thrift.protocol.TList _list625 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.component = new ArrayList(_list625.size); + LockComponent _elem626; + for (int _i627 = 0; _i627 < _list625.size; ++_i627) { - _elem618 = new LockComponent(); - _elem618.read(iprot); - struct.component.add(_elem618); + _elem626 = new LockComponent(); + _elem626.read(iprot); + struct.component.add(_elem626); } } 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 d94a92975a..8c17c11bad 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 _set802 = iprot.readSetBegin(); - struct.tablesUsed = new HashSet(2*_set802.size); - String _elem803; - for (int _i804 = 0; _i804 < _set802.size; ++_i804) + org.apache.thrift.protocol.TSet _set810 = iprot.readSetBegin(); + struct.tablesUsed = new HashSet(2*_set810.size); + String _elem811; + for (int _i812 = 0; _i812 < _set810.size; ++_i812) { - _elem803 = iprot.readString(); - struct.tablesUsed.add(_elem803); + _elem811 = iprot.readString(); + struct.tablesUsed.add(_elem811); } 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 _iter805 : struct.tablesUsed) + for (String _iter813 : struct.tablesUsed) { - oprot.writeString(_iter805); + oprot.writeString(_iter813); } 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 _iter806 : struct.tablesUsed) + for (String _iter814 : struct.tablesUsed) { - oprot.writeString(_iter806); + oprot.writeString(_iter814); } } 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 _set807 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tablesUsed = new HashSet(2*_set807.size); - String _elem808; - for (int _i809 = 0; _i809 < _set807.size; ++_i809) + org.apache.thrift.protocol.TSet _set815 = new org.apache.thrift.protocol.TSet(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tablesUsed = new HashSet(2*_set815.size); + String _elem816; + for (int _i817 = 0; _i817 < _set815.size; ++_i817) { - _elem808 = iprot.readString(); - struct.tablesUsed.add(_elem808); + _elem816 = iprot.readString(); + struct.tablesUsed.add(_elem816); } } 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 3405ecc2c3..3044cfc94b 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 _list678 = iprot.readListBegin(); - struct.events = new ArrayList(_list678.size); - NotificationEvent _elem679; - for (int _i680 = 0; _i680 < _list678.size; ++_i680) + org.apache.thrift.protocol.TList _list686 = iprot.readListBegin(); + struct.events = new ArrayList(_list686.size); + NotificationEvent _elem687; + for (int _i688 = 0; _i688 < _list686.size; ++_i688) { - _elem679 = new NotificationEvent(); - _elem679.read(iprot); - struct.events.add(_elem679); + _elem687 = new NotificationEvent(); + _elem687.read(iprot); + struct.events.add(_elem687); } 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 _iter681 : struct.events) + for (NotificationEvent _iter689 : struct.events) { - _iter681.write(oprot); + _iter689.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 _iter682 : struct.events) + for (NotificationEvent _iter690 : struct.events) { - _iter682.write(oprot); + _iter690.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 _list683 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.events = new ArrayList(_list683.size); - NotificationEvent _elem684; - for (int _i685 = 0; _i685 < _list683.size; ++_i685) + org.apache.thrift.protocol.TList _list691 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.events = new ArrayList(_list691.size); + NotificationEvent _elem692; + for (int _i693 = 0; _i693 < _list691.size; ++_i693) { - _elem684 = new NotificationEvent(); - _elem684.read(iprot); - struct.events.add(_elem684); + _elem692 = new NotificationEvent(); + _elem692.read(iprot); + struct.events.add(_elem692); } } 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..7f2bb53aba 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 _list556 = iprot.readListBegin(); + struct.replSrcTxnIds = new ArrayList(_list556.size); + long _elem557; + for (int _i558 = 0; _i558 < _list556.size; ++_i558) + { + _elem557 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem557); + } + 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 _iter559 : struct.replSrcTxnIds) + { + oprot.writeI64(_iter559); + } + 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 _iter560 : struct.replSrcTxnIds) + { + oprot.writeI64(_iter560); + } + } + } } @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 _list561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.replSrcTxnIds = new ArrayList(_list561.size); + long _elem562; + for (int _i563 = 0; _i563 < _list561.size; ++_i563) + { + _elem562 = iprot.readI64(); + struct.replSrcTxnIds.add(_elem562); + } + } + 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 672c6886c4..e408aa0b12 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 _list556 = iprot.readListBegin(); - struct.txn_ids = new ArrayList(_list556.size); - long _elem557; - for (int _i558 = 0; _i558 < _list556.size; ++_i558) + org.apache.thrift.protocol.TList _list564 = iprot.readListBegin(); + struct.txn_ids = new ArrayList(_list564.size); + long _elem565; + for (int _i566 = 0; _i566 < _list564.size; ++_i566) { - _elem557 = iprot.readI64(); - struct.txn_ids.add(_elem557); + _elem565 = iprot.readI64(); + struct.txn_ids.add(_elem565); } 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 _iter559 : struct.txn_ids) + for (long _iter567 : struct.txn_ids) { - oprot.writeI64(_iter559); + oprot.writeI64(_iter567); } 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 _iter560 : struct.txn_ids) + for (long _iter568 : struct.txn_ids) { - oprot.writeI64(_iter560); + oprot.writeI64(_iter568); } } } @@ -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 _list561 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.txn_ids = new ArrayList(_list561.size); - long _elem562; - for (int _i563 = 0; _i563 < _list561.size; ++_i563) + org.apache.thrift.protocol.TList _list569 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.txn_ids = new ArrayList(_list569.size); + long _elem570; + for (int _i571 = 0; _i571 < _list569.size; ++_i571) { - _elem562 = iprot.readI64(); - struct.txn_ids.add(_elem562); + _elem570 = iprot.readI64(); + struct.txn_ids.add(_elem570); } } 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 ba2b320d73..e7945a64ea 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 _list746 = iprot.readListBegin(); - struct.fileIds = new ArrayList(_list746.size); - long _elem747; - for (int _i748 = 0; _i748 < _list746.size; ++_i748) + org.apache.thrift.protocol.TList _list754 = iprot.readListBegin(); + struct.fileIds = new ArrayList(_list754.size); + long _elem755; + for (int _i756 = 0; _i756 < _list754.size; ++_i756) { - _elem747 = iprot.readI64(); - struct.fileIds.add(_elem747); + _elem755 = iprot.readI64(); + struct.fileIds.add(_elem755); } 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 _list749 = iprot.readListBegin(); - struct.metadata = new ArrayList(_list749.size); - ByteBuffer _elem750; - for (int _i751 = 0; _i751 < _list749.size; ++_i751) + org.apache.thrift.protocol.TList _list757 = iprot.readListBegin(); + struct.metadata = new ArrayList(_list757.size); + ByteBuffer _elem758; + for (int _i759 = 0; _i759 < _list757.size; ++_i759) { - _elem750 = iprot.readBinary(); - struct.metadata.add(_elem750); + _elem758 = iprot.readBinary(); + struct.metadata.add(_elem758); } 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 _iter752 : struct.fileIds) + for (long _iter760 : struct.fileIds) { - oprot.writeI64(_iter752); + oprot.writeI64(_iter760); } 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 _iter753 : struct.metadata) + for (ByteBuffer _iter761 : struct.metadata) { - oprot.writeBinary(_iter753); + oprot.writeBinary(_iter761); } 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 _iter754 : struct.fileIds) + for (long _iter762 : struct.fileIds) { - oprot.writeI64(_iter754); + oprot.writeI64(_iter762); } } { oprot.writeI32(struct.metadata.size()); - for (ByteBuffer _iter755 : struct.metadata) + for (ByteBuffer _iter763 : struct.metadata) { - oprot.writeBinary(_iter755); + oprot.writeBinary(_iter763); } } 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 _list756 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.fileIds = new ArrayList(_list756.size); - long _elem757; - for (int _i758 = 0; _i758 < _list756.size; ++_i758) + org.apache.thrift.protocol.TList _list764 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.fileIds = new ArrayList(_list764.size); + long _elem765; + for (int _i766 = 0; _i766 < _list764.size; ++_i766) { - _elem757 = iprot.readI64(); - struct.fileIds.add(_elem757); + _elem765 = iprot.readI64(); + struct.fileIds.add(_elem765); } } struct.setFileIdsIsSet(true); { - org.apache.thrift.protocol.TList _list759 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.metadata = new ArrayList(_list759.size); - ByteBuffer _elem760; - for (int _i761 = 0; _i761 < _list759.size; ++_i761) + org.apache.thrift.protocol.TList _list767 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.metadata = new ArrayList(_list767.size); + ByteBuffer _elem768; + for (int _i769 = 0; _i769 < _list767.size; ++_i769) { - _elem760 = iprot.readBinary(); - struct.metadata.add(_elem760); + _elem768 = iprot.readBinary(); + struct.metadata.add(_elem768); } } struct.setMetadataIsSet(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 bd335efe8e..ac59e8df21 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 _list654 = iprot.readListBegin(); - struct.compacts = new ArrayList(_list654.size); - ShowCompactResponseElement _elem655; - for (int _i656 = 0; _i656 < _list654.size; ++_i656) + org.apache.thrift.protocol.TList _list662 = iprot.readListBegin(); + struct.compacts = new ArrayList(_list662.size); + ShowCompactResponseElement _elem663; + for (int _i664 = 0; _i664 < _list662.size; ++_i664) { - _elem655 = new ShowCompactResponseElement(); - _elem655.read(iprot); - struct.compacts.add(_elem655); + _elem663 = new ShowCompactResponseElement(); + _elem663.read(iprot); + struct.compacts.add(_elem663); } 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 _iter657 : struct.compacts) + for (ShowCompactResponseElement _iter665 : struct.compacts) { - _iter657.write(oprot); + _iter665.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 _iter658 : struct.compacts) + for (ShowCompactResponseElement _iter666 : struct.compacts) { - _iter658.write(oprot); + _iter666.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 _list659 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.compacts = new ArrayList(_list659.size); - ShowCompactResponseElement _elem660; - for (int _i661 = 0; _i661 < _list659.size; ++_i661) + org.apache.thrift.protocol.TList _list667 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.compacts = new ArrayList(_list667.size); + ShowCompactResponseElement _elem668; + for (int _i669 = 0; _i669 < _list667.size; ++_i669) { - _elem660 = new ShowCompactResponseElement(); - _elem660.read(iprot); - struct.compacts.add(_elem660); + _elem668 = new ShowCompactResponseElement(); + _elem668.read(iprot); + struct.compacts.add(_elem668); } } 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 eff942b6b8..90381b764f 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 _list620 = iprot.readListBegin(); - struct.locks = new ArrayList(_list620.size); - ShowLocksResponseElement _elem621; - for (int _i622 = 0; _i622 < _list620.size; ++_i622) + org.apache.thrift.protocol.TList _list628 = iprot.readListBegin(); + struct.locks = new ArrayList(_list628.size); + ShowLocksResponseElement _elem629; + for (int _i630 = 0; _i630 < _list628.size; ++_i630) { - _elem621 = new ShowLocksResponseElement(); - _elem621.read(iprot); - struct.locks.add(_elem621); + _elem629 = new ShowLocksResponseElement(); + _elem629.read(iprot); + struct.locks.add(_elem629); } 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 _iter623 : struct.locks) + for (ShowLocksResponseElement _iter631 : struct.locks) { - _iter623.write(oprot); + _iter631.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 _iter624 : struct.locks) + for (ShowLocksResponseElement _iter632 : struct.locks) { - _iter624.write(oprot); + _iter632.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 _list625 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.locks = new ArrayList(_list625.size); - ShowLocksResponseElement _elem626; - for (int _i627 = 0; _i627 < _list625.size; ++_i627) + org.apache.thrift.protocol.TList _list633 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.locks = new ArrayList(_list633.size); + ShowLocksResponseElement _elem634; + for (int _i635 = 0; _i635 < _list633.size; ++_i635) { - _elem626 = new ShowLocksResponseElement(); - _elem626.read(iprot); - struct.locks.add(_elem626); + _elem634 = new ShowLocksResponseElement(); + _elem634.read(iprot); + struct.locks.add(_elem634); } } 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 3f9b0d9e5b..e9e162e9e0 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 _list580 = iprot.readListBegin(); - struct.invalidWriteIds = new ArrayList(_list580.size); - long _elem581; - for (int _i582 = 0; _i582 < _list580.size; ++_i582) + org.apache.thrift.protocol.TList _list588 = iprot.readListBegin(); + struct.invalidWriteIds = new ArrayList(_list588.size); + long _elem589; + for (int _i590 = 0; _i590 < _list588.size; ++_i590) { - _elem581 = iprot.readI64(); - struct.invalidWriteIds.add(_elem581); + _elem589 = iprot.readI64(); + struct.invalidWriteIds.add(_elem589); } 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 _iter583 : struct.invalidWriteIds) + for (long _iter591 : struct.invalidWriteIds) { - oprot.writeI64(_iter583); + oprot.writeI64(_iter591); } 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 _iter584 : struct.invalidWriteIds) + for (long _iter592 : struct.invalidWriteIds) { - oprot.writeI64(_iter584); + oprot.writeI64(_iter592); } } 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 _list585 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); - struct.invalidWriteIds = new ArrayList(_list585.size); - long _elem586; - for (int _i587 = 0; _i587 < _list585.size; ++_i587) + org.apache.thrift.protocol.TList _list593 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, iprot.readI32()); + struct.invalidWriteIds = new ArrayList(_list593.size); + long _elem594; + for (int _i595 = 0; _i595 < _list593.size; ++_i595) { - _elem586 = iprot.readI64(); - struct.invalidWriteIds.add(_elem586); + _elem594 = iprot.readI64(); + struct.invalidWriteIds.add(_elem594); } } 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 9a97d6b79c..87c616d05c 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 @@ -34664,13 +34664,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 _list874 = iprot.readListBegin(); - struct.success = new ArrayList(_list874.size); - String _elem875; - for (int _i876 = 0; _i876 < _list874.size; ++_i876) + org.apache.thrift.protocol.TList _list882 = iprot.readListBegin(); + struct.success = new ArrayList(_list882.size); + String _elem883; + for (int _i884 = 0; _i884 < _list882.size; ++_i884) { - _elem875 = iprot.readString(); - struct.success.add(_elem875); + _elem883 = iprot.readString(); + struct.success.add(_elem883); } iprot.readListEnd(); } @@ -34705,9 +34705,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 _iter877 : struct.success) + for (String _iter885 : struct.success) { - oprot.writeString(_iter877); + oprot.writeString(_iter885); } oprot.writeListEnd(); } @@ -34746,9 +34746,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_databases_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter878 : struct.success) + for (String _iter886 : struct.success) { - oprot.writeString(_iter878); + oprot.writeString(_iter886); } } } @@ -34763,13 +34763,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 _list879 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list879.size); - String _elem880; - for (int _i881 = 0; _i881 < _list879.size; ++_i881) + org.apache.thrift.protocol.TList _list887 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list887.size); + String _elem888; + for (int _i889 = 0; _i889 < _list887.size; ++_i889) { - _elem880 = iprot.readString(); - struct.success.add(_elem880); + _elem888 = iprot.readString(); + struct.success.add(_elem888); } } struct.setSuccessIsSet(true); @@ -35423,13 +35423,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 _list882 = iprot.readListBegin(); - struct.success = new ArrayList(_list882.size); - String _elem883; - for (int _i884 = 0; _i884 < _list882.size; ++_i884) + org.apache.thrift.protocol.TList _list890 = iprot.readListBegin(); + struct.success = new ArrayList(_list890.size); + String _elem891; + for (int _i892 = 0; _i892 < _list890.size; ++_i892) { - _elem883 = iprot.readString(); - struct.success.add(_elem883); + _elem891 = iprot.readString(); + struct.success.add(_elem891); } iprot.readListEnd(); } @@ -35464,9 +35464,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 _iter885 : struct.success) + for (String _iter893 : struct.success) { - oprot.writeString(_iter885); + oprot.writeString(_iter893); } oprot.writeListEnd(); } @@ -35505,9 +35505,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_databases_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter886 : struct.success) + for (String _iter894 : struct.success) { - oprot.writeString(_iter886); + oprot.writeString(_iter894); } } } @@ -35522,13 +35522,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 _list887 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list887.size); - String _elem888; - for (int _i889 = 0; _i889 < _list887.size; ++_i889) + org.apache.thrift.protocol.TList _list895 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list895.size); + String _elem896; + for (int _i897 = 0; _i897 < _list895.size; ++_i897) { - _elem888 = iprot.readString(); - struct.success.add(_elem888); + _elem896 = iprot.readString(); + struct.success.add(_elem896); } } struct.setSuccessIsSet(true); @@ -40135,16 +40135,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 _map890 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map890.size); - String _key891; - Type _val892; - for (int _i893 = 0; _i893 < _map890.size; ++_i893) + org.apache.thrift.protocol.TMap _map898 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map898.size); + String _key899; + Type _val900; + for (int _i901 = 0; _i901 < _map898.size; ++_i901) { - _key891 = iprot.readString(); - _val892 = new Type(); - _val892.read(iprot); - struct.success.put(_key891, _val892); + _key899 = iprot.readString(); + _val900 = new Type(); + _val900.read(iprot); + struct.success.put(_key899, _val900); } iprot.readMapEnd(); } @@ -40179,10 +40179,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 _iter894 : struct.success.entrySet()) + for (Map.Entry _iter902 : struct.success.entrySet()) { - oprot.writeString(_iter894.getKey()); - _iter894.getValue().write(oprot); + oprot.writeString(_iter902.getKey()); + _iter902.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -40221,10 +40221,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 _iter895 : struct.success.entrySet()) + for (Map.Entry _iter903 : struct.success.entrySet()) { - oprot.writeString(_iter895.getKey()); - _iter895.getValue().write(oprot); + oprot.writeString(_iter903.getKey()); + _iter903.getValue().write(oprot); } } } @@ -40239,16 +40239,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 _map896 = 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*_map896.size); - String _key897; - Type _val898; - for (int _i899 = 0; _i899 < _map896.size; ++_i899) + org.apache.thrift.protocol.TMap _map904 = 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*_map904.size); + String _key905; + Type _val906; + for (int _i907 = 0; _i907 < _map904.size; ++_i907) { - _key897 = iprot.readString(); - _val898 = new Type(); - _val898.read(iprot); - struct.success.put(_key897, _val898); + _key905 = iprot.readString(); + _val906 = new Type(); + _val906.read(iprot); + struct.success.put(_key905, _val906); } } struct.setSuccessIsSet(true); @@ -41283,14 +41283,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 _list900 = iprot.readListBegin(); - struct.success = new ArrayList(_list900.size); - FieldSchema _elem901; - for (int _i902 = 0; _i902 < _list900.size; ++_i902) + org.apache.thrift.protocol.TList _list908 = iprot.readListBegin(); + struct.success = new ArrayList(_list908.size); + FieldSchema _elem909; + for (int _i910 = 0; _i910 < _list908.size; ++_i910) { - _elem901 = new FieldSchema(); - _elem901.read(iprot); - struct.success.add(_elem901); + _elem909 = new FieldSchema(); + _elem909.read(iprot); + struct.success.add(_elem909); } iprot.readListEnd(); } @@ -41343,9 +41343,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 _iter903 : struct.success) + for (FieldSchema _iter911 : struct.success) { - _iter903.write(oprot); + _iter911.write(oprot); } oprot.writeListEnd(); } @@ -41400,9 +41400,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter904 : struct.success) + for (FieldSchema _iter912 : struct.success) { - _iter904.write(oprot); + _iter912.write(oprot); } } } @@ -41423,14 +41423,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 _list905 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list905.size); - FieldSchema _elem906; - for (int _i907 = 0; _i907 < _list905.size; ++_i907) + org.apache.thrift.protocol.TList _list913 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list913.size); + FieldSchema _elem914; + for (int _i915 = 0; _i915 < _list913.size; ++_i915) { - _elem906 = new FieldSchema(); - _elem906.read(iprot); - struct.success.add(_elem906); + _elem914 = new FieldSchema(); + _elem914.read(iprot); + struct.success.add(_elem914); } } struct.setSuccessIsSet(true); @@ -42584,14 +42584,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 _list908 = iprot.readListBegin(); - struct.success = new ArrayList(_list908.size); - FieldSchema _elem909; - for (int _i910 = 0; _i910 < _list908.size; ++_i910) + org.apache.thrift.protocol.TList _list916 = iprot.readListBegin(); + struct.success = new ArrayList(_list916.size); + FieldSchema _elem917; + for (int _i918 = 0; _i918 < _list916.size; ++_i918) { - _elem909 = new FieldSchema(); - _elem909.read(iprot); - struct.success.add(_elem909); + _elem917 = new FieldSchema(); + _elem917.read(iprot); + struct.success.add(_elem917); } iprot.readListEnd(); } @@ -42644,9 +42644,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 _iter911 : struct.success) + for (FieldSchema _iter919 : struct.success) { - _iter911.write(oprot); + _iter919.write(oprot); } oprot.writeListEnd(); } @@ -42701,9 +42701,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_fields_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter912 : struct.success) + for (FieldSchema _iter920 : struct.success) { - _iter912.write(oprot); + _iter920.write(oprot); } } } @@ -42724,14 +42724,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 _list913 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list913.size); - FieldSchema _elem914; - for (int _i915 = 0; _i915 < _list913.size; ++_i915) + org.apache.thrift.protocol.TList _list921 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list921.size); + FieldSchema _elem922; + for (int _i923 = 0; _i923 < _list921.size; ++_i923) { - _elem914 = new FieldSchema(); - _elem914.read(iprot); - struct.success.add(_elem914); + _elem922 = new FieldSchema(); + _elem922.read(iprot); + struct.success.add(_elem922); } } struct.setSuccessIsSet(true); @@ -43776,14 +43776,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 _list916 = iprot.readListBegin(); - struct.success = new ArrayList(_list916.size); - FieldSchema _elem917; - for (int _i918 = 0; _i918 < _list916.size; ++_i918) + org.apache.thrift.protocol.TList _list924 = iprot.readListBegin(); + struct.success = new ArrayList(_list924.size); + FieldSchema _elem925; + for (int _i926 = 0; _i926 < _list924.size; ++_i926) { - _elem917 = new FieldSchema(); - _elem917.read(iprot); - struct.success.add(_elem917); + _elem925 = new FieldSchema(); + _elem925.read(iprot); + struct.success.add(_elem925); } iprot.readListEnd(); } @@ -43836,9 +43836,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 _iter919 : struct.success) + for (FieldSchema _iter927 : struct.success) { - _iter919.write(oprot); + _iter927.write(oprot); } oprot.writeListEnd(); } @@ -43893,9 +43893,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter920 : struct.success) + for (FieldSchema _iter928 : struct.success) { - _iter920.write(oprot); + _iter928.write(oprot); } } } @@ -43916,14 +43916,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 _list921 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list921.size); - FieldSchema _elem922; - for (int _i923 = 0; _i923 < _list921.size; ++_i923) + org.apache.thrift.protocol.TList _list929 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list929.size); + FieldSchema _elem930; + for (int _i931 = 0; _i931 < _list929.size; ++_i931) { - _elem922 = new FieldSchema(); - _elem922.read(iprot); - struct.success.add(_elem922); + _elem930 = new FieldSchema(); + _elem930.read(iprot); + struct.success.add(_elem930); } } struct.setSuccessIsSet(true); @@ -45077,14 +45077,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 _list924 = iprot.readListBegin(); - struct.success = new ArrayList(_list924.size); - FieldSchema _elem925; - for (int _i926 = 0; _i926 < _list924.size; ++_i926) + org.apache.thrift.protocol.TList _list932 = iprot.readListBegin(); + struct.success = new ArrayList(_list932.size); + FieldSchema _elem933; + for (int _i934 = 0; _i934 < _list932.size; ++_i934) { - _elem925 = new FieldSchema(); - _elem925.read(iprot); - struct.success.add(_elem925); + _elem933 = new FieldSchema(); + _elem933.read(iprot); + struct.success.add(_elem933); } iprot.readListEnd(); } @@ -45137,9 +45137,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 _iter927 : struct.success) + for (FieldSchema _iter935 : struct.success) { - _iter927.write(oprot); + _iter935.write(oprot); } oprot.writeListEnd(); } @@ -45194,9 +45194,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_schema_with_env if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (FieldSchema _iter928 : struct.success) + for (FieldSchema _iter936 : struct.success) { - _iter928.write(oprot); + _iter936.write(oprot); } } } @@ -45217,14 +45217,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 _list929 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list929.size); - FieldSchema _elem930; - for (int _i931 = 0; _i931 < _list929.size; ++_i931) + org.apache.thrift.protocol.TList _list937 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list937.size); + FieldSchema _elem938; + for (int _i939 = 0; _i939 < _list937.size; ++_i939) { - _elem930 = new FieldSchema(); - _elem930.read(iprot); - struct.success.add(_elem930); + _elem938 = new FieldSchema(); + _elem938.read(iprot); + struct.success.add(_elem938); } } struct.setSuccessIsSet(true); @@ -48252,14 +48252,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 _list932 = iprot.readListBegin(); - struct.primaryKeys = new ArrayList(_list932.size); - SQLPrimaryKey _elem933; - for (int _i934 = 0; _i934 < _list932.size; ++_i934) + org.apache.thrift.protocol.TList _list940 = iprot.readListBegin(); + struct.primaryKeys = new ArrayList(_list940.size); + SQLPrimaryKey _elem941; + for (int _i942 = 0; _i942 < _list940.size; ++_i942) { - _elem933 = new SQLPrimaryKey(); - _elem933.read(iprot); - struct.primaryKeys.add(_elem933); + _elem941 = new SQLPrimaryKey(); + _elem941.read(iprot); + struct.primaryKeys.add(_elem941); } iprot.readListEnd(); } @@ -48271,14 +48271,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 _list935 = iprot.readListBegin(); - struct.foreignKeys = new ArrayList(_list935.size); - SQLForeignKey _elem936; - for (int _i937 = 0; _i937 < _list935.size; ++_i937) + org.apache.thrift.protocol.TList _list943 = iprot.readListBegin(); + struct.foreignKeys = new ArrayList(_list943.size); + SQLForeignKey _elem944; + for (int _i945 = 0; _i945 < _list943.size; ++_i945) { - _elem936 = new SQLForeignKey(); - _elem936.read(iprot); - struct.foreignKeys.add(_elem936); + _elem944 = new SQLForeignKey(); + _elem944.read(iprot); + struct.foreignKeys.add(_elem944); } iprot.readListEnd(); } @@ -48290,14 +48290,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 _list938 = iprot.readListBegin(); - struct.uniqueConstraints = new ArrayList(_list938.size); - SQLUniqueConstraint _elem939; - for (int _i940 = 0; _i940 < _list938.size; ++_i940) + org.apache.thrift.protocol.TList _list946 = iprot.readListBegin(); + struct.uniqueConstraints = new ArrayList(_list946.size); + SQLUniqueConstraint _elem947; + for (int _i948 = 0; _i948 < _list946.size; ++_i948) { - _elem939 = new SQLUniqueConstraint(); - _elem939.read(iprot); - struct.uniqueConstraints.add(_elem939); + _elem947 = new SQLUniqueConstraint(); + _elem947.read(iprot); + struct.uniqueConstraints.add(_elem947); } iprot.readListEnd(); } @@ -48309,14 +48309,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 _list941 = iprot.readListBegin(); - struct.notNullConstraints = new ArrayList(_list941.size); - SQLNotNullConstraint _elem942; - for (int _i943 = 0; _i943 < _list941.size; ++_i943) + org.apache.thrift.protocol.TList _list949 = iprot.readListBegin(); + struct.notNullConstraints = new ArrayList(_list949.size); + SQLNotNullConstraint _elem950; + for (int _i951 = 0; _i951 < _list949.size; ++_i951) { - _elem942 = new SQLNotNullConstraint(); - _elem942.read(iprot); - struct.notNullConstraints.add(_elem942); + _elem950 = new SQLNotNullConstraint(); + _elem950.read(iprot); + struct.notNullConstraints.add(_elem950); } iprot.readListEnd(); } @@ -48328,14 +48328,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 _list944 = iprot.readListBegin(); - struct.defaultConstraints = new ArrayList(_list944.size); - SQLDefaultConstraint _elem945; - for (int _i946 = 0; _i946 < _list944.size; ++_i946) + org.apache.thrift.protocol.TList _list952 = iprot.readListBegin(); + struct.defaultConstraints = new ArrayList(_list952.size); + SQLDefaultConstraint _elem953; + for (int _i954 = 0; _i954 < _list952.size; ++_i954) { - _elem945 = new SQLDefaultConstraint(); - _elem945.read(iprot); - struct.defaultConstraints.add(_elem945); + _elem953 = new SQLDefaultConstraint(); + _elem953.read(iprot); + struct.defaultConstraints.add(_elem953); } iprot.readListEnd(); } @@ -48366,9 +48366,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 _iter947 : struct.primaryKeys) + for (SQLPrimaryKey _iter955 : struct.primaryKeys) { - _iter947.write(oprot); + _iter955.write(oprot); } oprot.writeListEnd(); } @@ -48378,9 +48378,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 _iter948 : struct.foreignKeys) + for (SQLForeignKey _iter956 : struct.foreignKeys) { - _iter948.write(oprot); + _iter956.write(oprot); } oprot.writeListEnd(); } @@ -48390,9 +48390,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 _iter949 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter957 : struct.uniqueConstraints) { - _iter949.write(oprot); + _iter957.write(oprot); } oprot.writeListEnd(); } @@ -48402,9 +48402,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 _iter950 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter958 : struct.notNullConstraints) { - _iter950.write(oprot); + _iter958.write(oprot); } oprot.writeListEnd(); } @@ -48414,9 +48414,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 _iter951 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter959 : struct.defaultConstraints) { - _iter951.write(oprot); + _iter959.write(oprot); } oprot.writeListEnd(); } @@ -48465,45 +48465,45 @@ public void write(org.apache.thrift.protocol.TProtocol prot, create_table_with_c if (struct.isSetPrimaryKeys()) { { oprot.writeI32(struct.primaryKeys.size()); - for (SQLPrimaryKey _iter952 : struct.primaryKeys) + for (SQLPrimaryKey _iter960 : struct.primaryKeys) { - _iter952.write(oprot); + _iter960.write(oprot); } } } if (struct.isSetForeignKeys()) { { oprot.writeI32(struct.foreignKeys.size()); - for (SQLForeignKey _iter953 : struct.foreignKeys) + for (SQLForeignKey _iter961 : struct.foreignKeys) { - _iter953.write(oprot); + _iter961.write(oprot); } } } if (struct.isSetUniqueConstraints()) { { oprot.writeI32(struct.uniqueConstraints.size()); - for (SQLUniqueConstraint _iter954 : struct.uniqueConstraints) + for (SQLUniqueConstraint _iter962 : struct.uniqueConstraints) { - _iter954.write(oprot); + _iter962.write(oprot); } } } if (struct.isSetNotNullConstraints()) { { oprot.writeI32(struct.notNullConstraints.size()); - for (SQLNotNullConstraint _iter955 : struct.notNullConstraints) + for (SQLNotNullConstraint _iter963 : struct.notNullConstraints) { - _iter955.write(oprot); + _iter963.write(oprot); } } } if (struct.isSetDefaultConstraints()) { { oprot.writeI32(struct.defaultConstraints.size()); - for (SQLDefaultConstraint _iter956 : struct.defaultConstraints) + for (SQLDefaultConstraint _iter964 : struct.defaultConstraints) { - _iter956.write(oprot); + _iter964.write(oprot); } } } @@ -48520,70 +48520,70 @@ public void read(org.apache.thrift.protocol.TProtocol prot, create_table_with_co } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list957 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.primaryKeys = new ArrayList(_list957.size); - SQLPrimaryKey _elem958; - for (int _i959 = 0; _i959 < _list957.size; ++_i959) + org.apache.thrift.protocol.TList _list965 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.primaryKeys = new ArrayList(_list965.size); + SQLPrimaryKey _elem966; + for (int _i967 = 0; _i967 < _list965.size; ++_i967) { - _elem958 = new SQLPrimaryKey(); - _elem958.read(iprot); - struct.primaryKeys.add(_elem958); + _elem966 = new SQLPrimaryKey(); + _elem966.read(iprot); + struct.primaryKeys.add(_elem966); } } struct.setPrimaryKeysIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list960 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.foreignKeys = new ArrayList(_list960.size); - SQLForeignKey _elem961; - for (int _i962 = 0; _i962 < _list960.size; ++_i962) + org.apache.thrift.protocol.TList _list968 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.foreignKeys = new ArrayList(_list968.size); + SQLForeignKey _elem969; + for (int _i970 = 0; _i970 < _list968.size; ++_i970) { - _elem961 = new SQLForeignKey(); - _elem961.read(iprot); - struct.foreignKeys.add(_elem961); + _elem969 = new SQLForeignKey(); + _elem969.read(iprot); + struct.foreignKeys.add(_elem969); } } struct.setForeignKeysIsSet(true); } if (incoming.get(3)) { { - org.apache.thrift.protocol.TList _list963 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.uniqueConstraints = new ArrayList(_list963.size); - SQLUniqueConstraint _elem964; - for (int _i965 = 0; _i965 < _list963.size; ++_i965) + org.apache.thrift.protocol.TList _list971 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.uniqueConstraints = new ArrayList(_list971.size); + SQLUniqueConstraint _elem972; + for (int _i973 = 0; _i973 < _list971.size; ++_i973) { - _elem964 = new SQLUniqueConstraint(); - _elem964.read(iprot); - struct.uniqueConstraints.add(_elem964); + _elem972 = new SQLUniqueConstraint(); + _elem972.read(iprot); + struct.uniqueConstraints.add(_elem972); } } struct.setUniqueConstraintsIsSet(true); } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list966 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.notNullConstraints = new ArrayList(_list966.size); - SQLNotNullConstraint _elem967; - for (int _i968 = 0; _i968 < _list966.size; ++_i968) + org.apache.thrift.protocol.TList _list974 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.notNullConstraints = new ArrayList(_list974.size); + SQLNotNullConstraint _elem975; + for (int _i976 = 0; _i976 < _list974.size; ++_i976) { - _elem967 = new SQLNotNullConstraint(); - _elem967.read(iprot); - struct.notNullConstraints.add(_elem967); + _elem975 = new SQLNotNullConstraint(); + _elem975.read(iprot); + struct.notNullConstraints.add(_elem975); } } struct.setNotNullConstraintsIsSet(true); } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list969 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.defaultConstraints = new ArrayList(_list969.size); - SQLDefaultConstraint _elem970; - for (int _i971 = 0; _i971 < _list969.size; ++_i971) + org.apache.thrift.protocol.TList _list977 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.defaultConstraints = new ArrayList(_list977.size); + SQLDefaultConstraint _elem978; + for (int _i979 = 0; _i979 < _list977.size; ++_i979) { - _elem970 = new SQLDefaultConstraint(); - _elem970.read(iprot); - struct.defaultConstraints.add(_elem970); + _elem978 = new SQLDefaultConstraint(); + _elem978.read(iprot); + struct.defaultConstraints.add(_elem978); } } struct.setDefaultConstraintsIsSet(true); @@ -56904,13 +56904,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 _list972 = iprot.readListBegin(); - struct.partNames = new ArrayList(_list972.size); - String _elem973; - for (int _i974 = 0; _i974 < _list972.size; ++_i974) + org.apache.thrift.protocol.TList _list980 = iprot.readListBegin(); + struct.partNames = new ArrayList(_list980.size); + String _elem981; + for (int _i982 = 0; _i982 < _list980.size; ++_i982) { - _elem973 = iprot.readString(); - struct.partNames.add(_elem973); + _elem981 = iprot.readString(); + struct.partNames.add(_elem981); } iprot.readListEnd(); } @@ -56946,9 +56946,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 _iter975 : struct.partNames) + for (String _iter983 : struct.partNames) { - oprot.writeString(_iter975); + oprot.writeString(_iter983); } oprot.writeListEnd(); } @@ -56991,9 +56991,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, truncate_table_args if (struct.isSetPartNames()) { { oprot.writeI32(struct.partNames.size()); - for (String _iter976 : struct.partNames) + for (String _iter984 : struct.partNames) { - oprot.writeString(_iter976); + oprot.writeString(_iter984); } } } @@ -57013,13 +57013,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, truncate_table_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list977 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.partNames = new ArrayList(_list977.size); - String _elem978; - for (int _i979 = 0; _i979 < _list977.size; ++_i979) + org.apache.thrift.protocol.TList _list985 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.partNames = new ArrayList(_list985.size); + String _elem986; + for (int _i987 = 0; _i987 < _list985.size; ++_i987) { - _elem978 = iprot.readString(); - struct.partNames.add(_elem978); + _elem986 = iprot.readString(); + struct.partNames.add(_elem986); } } struct.setPartNamesIsSet(true); @@ -58244,13 +58244,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 _list980 = iprot.readListBegin(); - struct.success = new ArrayList(_list980.size); - String _elem981; - for (int _i982 = 0; _i982 < _list980.size; ++_i982) + org.apache.thrift.protocol.TList _list988 = iprot.readListBegin(); + struct.success = new ArrayList(_list988.size); + String _elem989; + for (int _i990 = 0; _i990 < _list988.size; ++_i990) { - _elem981 = iprot.readString(); - struct.success.add(_elem981); + _elem989 = iprot.readString(); + struct.success.add(_elem989); } iprot.readListEnd(); } @@ -58285,9 +58285,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 _iter983 : struct.success) + for (String _iter991 : struct.success) { - oprot.writeString(_iter983); + oprot.writeString(_iter991); } oprot.writeListEnd(); } @@ -58326,9 +58326,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter984 : struct.success) + for (String _iter992 : struct.success) { - oprot.writeString(_iter984); + oprot.writeString(_iter992); } } } @@ -58343,13 +58343,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 _list985 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list985.size); - String _elem986; - for (int _i987 = 0; _i987 < _list985.size; ++_i987) + org.apache.thrift.protocol.TList _list993 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list993.size); + String _elem994; + for (int _i995 = 0; _i995 < _list993.size; ++_i995) { - _elem986 = iprot.readString(); - struct.success.add(_elem986); + _elem994 = iprot.readString(); + struct.success.add(_elem994); } } struct.setSuccessIsSet(true); @@ -59323,13 +59323,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 _list988 = iprot.readListBegin(); - struct.success = new ArrayList(_list988.size); - String _elem989; - for (int _i990 = 0; _i990 < _list988.size; ++_i990) + org.apache.thrift.protocol.TList _list996 = iprot.readListBegin(); + struct.success = new ArrayList(_list996.size); + String _elem997; + for (int _i998 = 0; _i998 < _list996.size; ++_i998) { - _elem989 = iprot.readString(); - struct.success.add(_elem989); + _elem997 = iprot.readString(); + struct.success.add(_elem997); } iprot.readListEnd(); } @@ -59364,9 +59364,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 _iter991 : struct.success) + for (String _iter999 : struct.success) { - oprot.writeString(_iter991); + oprot.writeString(_iter999); } oprot.writeListEnd(); } @@ -59405,9 +59405,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_tables_by_type_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter992 : struct.success) + for (String _iter1000 : struct.success) { - oprot.writeString(_iter992); + oprot.writeString(_iter1000); } } } @@ -59422,13 +59422,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 _list993 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list993.size); - String _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.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1001.size); + String _elem1002; + for (int _i1003 = 0; _i1003 < _list1001.size; ++_i1003) { - _elem994 = iprot.readString(); - struct.success.add(_elem994); + _elem1002 = iprot.readString(); + struct.success.add(_elem1002); } } struct.setSuccessIsSet(true); @@ -60194,13 +60194,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 _list996 = iprot.readListBegin(); - struct.success = new ArrayList(_list996.size); - String _elem997; - for (int _i998 = 0; _i998 < _list996.size; ++_i998) + org.apache.thrift.protocol.TList _list1004 = iprot.readListBegin(); + struct.success = new ArrayList(_list1004.size); + String _elem1005; + for (int _i1006 = 0; _i1006 < _list1004.size; ++_i1006) { - _elem997 = iprot.readString(); - struct.success.add(_elem997); + _elem1005 = iprot.readString(); + struct.success.add(_elem1005); } iprot.readListEnd(); } @@ -60235,9 +60235,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 _iter999 : struct.success) + for (String _iter1007 : struct.success) { - oprot.writeString(_iter999); + oprot.writeString(_iter1007); } oprot.writeListEnd(); } @@ -60276,9 +60276,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialized_vi if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1000 : struct.success) + for (String _iter1008 : struct.success) { - oprot.writeString(_iter1000); + oprot.writeString(_iter1008); } } } @@ -60293,13 +60293,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 _list1001 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1001.size); - String _elem1002; - for (int _i1003 = 0; _i1003 < _list1001.size; ++_i1003) + org.apache.thrift.protocol.TList _list1009 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1009.size); + String _elem1010; + for (int _i1011 = 0; _i1011 < _list1009.size; ++_i1011) { - _elem1002 = iprot.readString(); - struct.success.add(_elem1002); + _elem1010 = iprot.readString(); + struct.success.add(_elem1010); } } struct.setSuccessIsSet(true); @@ -60804,13 +60804,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 _list1004 = iprot.readListBegin(); - struct.tbl_types = new ArrayList(_list1004.size); - String _elem1005; - for (int _i1006 = 0; _i1006 < _list1004.size; ++_i1006) + org.apache.thrift.protocol.TList _list1012 = iprot.readListBegin(); + struct.tbl_types = new ArrayList(_list1012.size); + String _elem1013; + for (int _i1014 = 0; _i1014 < _list1012.size; ++_i1014) { - _elem1005 = iprot.readString(); - struct.tbl_types.add(_elem1005); + _elem1013 = iprot.readString(); + struct.tbl_types.add(_elem1013); } iprot.readListEnd(); } @@ -60846,9 +60846,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 _iter1007 : struct.tbl_types) + for (String _iter1015 : struct.tbl_types) { - oprot.writeString(_iter1007); + oprot.writeString(_iter1015); } oprot.writeListEnd(); } @@ -60891,9 +60891,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 _iter1008 : struct.tbl_types) + for (String _iter1016 : struct.tbl_types) { - oprot.writeString(_iter1008); + oprot.writeString(_iter1016); } } } @@ -60913,13 +60913,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_meta_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1009 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_types = new ArrayList(_list1009.size); - String _elem1010; - for (int _i1011 = 0; _i1011 < _list1009.size; ++_i1011) + org.apache.thrift.protocol.TList _list1017 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_types = new ArrayList(_list1017.size); + String _elem1018; + for (int _i1019 = 0; _i1019 < _list1017.size; ++_i1019) { - _elem1010 = iprot.readString(); - struct.tbl_types.add(_elem1010); + _elem1018 = iprot.readString(); + struct.tbl_types.add(_elem1018); } } struct.setTbl_typesIsSet(true); @@ -61325,14 +61325,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 _list1012 = iprot.readListBegin(); - struct.success = new ArrayList(_list1012.size); - TableMeta _elem1013; - for (int _i1014 = 0; _i1014 < _list1012.size; ++_i1014) + org.apache.thrift.protocol.TList _list1020 = iprot.readListBegin(); + struct.success = new ArrayList(_list1020.size); + TableMeta _elem1021; + for (int _i1022 = 0; _i1022 < _list1020.size; ++_i1022) { - _elem1013 = new TableMeta(); - _elem1013.read(iprot); - struct.success.add(_elem1013); + _elem1021 = new TableMeta(); + _elem1021.read(iprot); + struct.success.add(_elem1021); } iprot.readListEnd(); } @@ -61367,9 +61367,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 _iter1015 : struct.success) + for (TableMeta _iter1023 : struct.success) { - _iter1015.write(oprot); + _iter1023.write(oprot); } oprot.writeListEnd(); } @@ -61408,9 +61408,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_meta_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (TableMeta _iter1016 : struct.success) + for (TableMeta _iter1024 : struct.success) { - _iter1016.write(oprot); + _iter1024.write(oprot); } } } @@ -61425,14 +61425,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 _list1017 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1017.size); - TableMeta _elem1018; - for (int _i1019 = 0; _i1019 < _list1017.size; ++_i1019) + org.apache.thrift.protocol.TList _list1025 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1025.size); + TableMeta _elem1026; + for (int _i1027 = 0; _i1027 < _list1025.size; ++_i1027) { - _elem1018 = new TableMeta(); - _elem1018.read(iprot); - struct.success.add(_elem1018); + _elem1026 = new TableMeta(); + _elem1026.read(iprot); + struct.success.add(_elem1026); } } struct.setSuccessIsSet(true); @@ -62198,13 +62198,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 _list1020 = iprot.readListBegin(); - struct.success = new ArrayList(_list1020.size); - String _elem1021; - for (int _i1022 = 0; _i1022 < _list1020.size; ++_i1022) + org.apache.thrift.protocol.TList _list1028 = iprot.readListBegin(); + struct.success = new ArrayList(_list1028.size); + String _elem1029; + for (int _i1030 = 0; _i1030 < _list1028.size; ++_i1030) { - _elem1021 = iprot.readString(); - struct.success.add(_elem1021); + _elem1029 = iprot.readString(); + struct.success.add(_elem1029); } iprot.readListEnd(); } @@ -62239,9 +62239,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 _iter1023 : struct.success) + for (String _iter1031 : struct.success) { - oprot.writeString(_iter1023); + oprot.writeString(_iter1031); } oprot.writeListEnd(); } @@ -62280,9 +62280,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_tables_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1024 : struct.success) + for (String _iter1032 : struct.success) { - oprot.writeString(_iter1024); + oprot.writeString(_iter1032); } } } @@ -62297,13 +62297,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 _list1025 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1025.size); - String _elem1026; - for (int _i1027 = 0; _i1027 < _list1025.size; ++_i1027) + org.apache.thrift.protocol.TList _list1033 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1033.size); + String _elem1034; + for (int _i1035 = 0; _i1035 < _list1033.size; ++_i1035) { - _elem1026 = iprot.readString(); - struct.success.add(_elem1026); + _elem1034 = iprot.readString(); + struct.success.add(_elem1034); } } struct.setSuccessIsSet(true); @@ -63756,13 +63756,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 _list1028 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1028.size); - String _elem1029; - for (int _i1030 = 0; _i1030 < _list1028.size; ++_i1030) + org.apache.thrift.protocol.TList _list1036 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1036.size); + String _elem1037; + for (int _i1038 = 0; _i1038 < _list1036.size; ++_i1038) { - _elem1029 = iprot.readString(); - struct.tbl_names.add(_elem1029); + _elem1037 = iprot.readString(); + struct.tbl_names.add(_elem1037); } iprot.readListEnd(); } @@ -63793,9 +63793,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 _iter1031 : struct.tbl_names) + for (String _iter1039 : struct.tbl_names) { - oprot.writeString(_iter1031); + oprot.writeString(_iter1039); } oprot.writeListEnd(); } @@ -63832,9 +63832,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 _iter1032 : struct.tbl_names) + for (String _iter1040 : struct.tbl_names) { - oprot.writeString(_iter1032); + oprot.writeString(_iter1040); } } } @@ -63850,13 +63850,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_table_objects_by } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1033 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1033.size); - String _elem1034; - for (int _i1035 = 0; _i1035 < _list1033.size; ++_i1035) + org.apache.thrift.protocol.TList _list1041 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1041.size); + String _elem1042; + for (int _i1043 = 0; _i1043 < _list1041.size; ++_i1043) { - _elem1034 = iprot.readString(); - struct.tbl_names.add(_elem1034); + _elem1042 = iprot.readString(); + struct.tbl_names.add(_elem1042); } } struct.setTbl_namesIsSet(true); @@ -64181,14 +64181,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 _list1036 = iprot.readListBegin(); - struct.success = new ArrayList
(_list1036.size); - Table _elem1037; - for (int _i1038 = 0; _i1038 < _list1036.size; ++_i1038) + org.apache.thrift.protocol.TList _list1044 = iprot.readListBegin(); + struct.success = new ArrayList
(_list1044.size); + Table _elem1045; + for (int _i1046 = 0; _i1046 < _list1044.size; ++_i1046) { - _elem1037 = new Table(); - _elem1037.read(iprot); - struct.success.add(_elem1037); + _elem1045 = new Table(); + _elem1045.read(iprot); + struct.success.add(_elem1045); } iprot.readListEnd(); } @@ -64214,9 +64214,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 _iter1039 : struct.success) + for (Table _iter1047 : struct.success) { - _iter1039.write(oprot); + _iter1047.write(oprot); } oprot.writeListEnd(); } @@ -64247,9 +64247,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_objects_b if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Table _iter1040 : struct.success) + for (Table _iter1048 : struct.success) { - _iter1040.write(oprot); + _iter1048.write(oprot); } } } @@ -64261,14 +64261,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 _list1041 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList
(_list1041.size); - Table _elem1042; - for (int _i1043 = 0; _i1043 < _list1041.size; ++_i1043) + org.apache.thrift.protocol.TList _list1049 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList
(_list1049.size); + Table _elem1050; + for (int _i1051 = 0; _i1051 < _list1049.size; ++_i1051) { - _elem1042 = new Table(); - _elem1042.read(iprot); - struct.success.add(_elem1042); + _elem1050 = new Table(); + _elem1050.read(iprot); + struct.success.add(_elem1050); } } struct.setSuccessIsSet(true); @@ -66661,13 +66661,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 _list1044 = iprot.readListBegin(); - struct.tbl_names = new ArrayList(_list1044.size); - String _elem1045; - for (int _i1046 = 0; _i1046 < _list1044.size; ++_i1046) + org.apache.thrift.protocol.TList _list1052 = iprot.readListBegin(); + struct.tbl_names = new ArrayList(_list1052.size); + String _elem1053; + for (int _i1054 = 0; _i1054 < _list1052.size; ++_i1054) { - _elem1045 = iprot.readString(); - struct.tbl_names.add(_elem1045); + _elem1053 = iprot.readString(); + struct.tbl_names.add(_elem1053); } iprot.readListEnd(); } @@ -66698,9 +66698,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 _iter1047 : struct.tbl_names) + for (String _iter1055 : struct.tbl_names) { - oprot.writeString(_iter1047); + oprot.writeString(_iter1055); } oprot.writeListEnd(); } @@ -66737,9 +66737,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetTbl_names()) { { oprot.writeI32(struct.tbl_names.size()); - for (String _iter1048 : struct.tbl_names) + for (String _iter1056 : struct.tbl_names) { - oprot.writeString(_iter1048); + oprot.writeString(_iter1056); } } } @@ -66755,13 +66755,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_materialization_ } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1049 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.tbl_names = new ArrayList(_list1049.size); - String _elem1050; - for (int _i1051 = 0; _i1051 < _list1049.size; ++_i1051) + org.apache.thrift.protocol.TList _list1057 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.tbl_names = new ArrayList(_list1057.size); + String _elem1058; + for (int _i1059 = 0; _i1059 < _list1057.size; ++_i1059) { - _elem1050 = iprot.readString(); - struct.tbl_names.add(_elem1050); + _elem1058 = iprot.readString(); + struct.tbl_names.add(_elem1058); } } struct.setTbl_namesIsSet(true); @@ -67334,16 +67334,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 _map1052 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1052.size); - String _key1053; - Materialization _val1054; - for (int _i1055 = 0; _i1055 < _map1052.size; ++_i1055) + org.apache.thrift.protocol.TMap _map1060 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1060.size); + String _key1061; + Materialization _val1062; + for (int _i1063 = 0; _i1063 < _map1060.size; ++_i1063) { - _key1053 = iprot.readString(); - _val1054 = new Materialization(); - _val1054.read(iprot); - struct.success.put(_key1053, _val1054); + _key1061 = iprot.readString(); + _val1062 = new Materialization(); + _val1062.read(iprot); + struct.success.put(_key1061, _val1062); } iprot.readMapEnd(); } @@ -67396,10 +67396,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 _iter1056 : struct.success.entrySet()) + for (Map.Entry _iter1064 : struct.success.entrySet()) { - oprot.writeString(_iter1056.getKey()); - _iter1056.getValue().write(oprot); + oprot.writeString(_iter1064.getKey()); + _iter1064.getValue().write(oprot); } oprot.writeMapEnd(); } @@ -67454,10 +67454,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_materialization if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Map.Entry _iter1057 : struct.success.entrySet()) + for (Map.Entry _iter1065 : struct.success.entrySet()) { - oprot.writeString(_iter1057.getKey()); - _iter1057.getValue().write(oprot); + oprot.writeString(_iter1065.getKey()); + _iter1065.getValue().write(oprot); } } } @@ -67478,16 +67478,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 _map1058 = 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*_map1058.size); - String _key1059; - Materialization _val1060; - for (int _i1061 = 0; _i1061 < _map1058.size; ++_i1061) + org.apache.thrift.protocol.TMap _map1066 = 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*_map1066.size); + String _key1067; + Materialization _val1068; + for (int _i1069 = 0; _i1069 < _map1066.size; ++_i1069) { - _key1059 = iprot.readString(); - _val1060 = new Materialization(); - _val1060.read(iprot); - struct.success.put(_key1059, _val1060); + _key1067 = iprot.readString(); + _val1068 = new Materialization(); + _val1068.read(iprot); + struct.success.put(_key1067, _val1068); } } struct.setSuccessIsSet(true); @@ -69776,13 +69776,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 _list1062 = iprot.readListBegin(); - struct.success = new ArrayList(_list1062.size); - String _elem1063; - for (int _i1064 = 0; _i1064 < _list1062.size; ++_i1064) + org.apache.thrift.protocol.TList _list1070 = iprot.readListBegin(); + struct.success = new ArrayList(_list1070.size); + String _elem1071; + for (int _i1072 = 0; _i1072 < _list1070.size; ++_i1072) { - _elem1063 = iprot.readString(); - struct.success.add(_elem1063); + _elem1071 = iprot.readString(); + struct.success.add(_elem1071); } iprot.readListEnd(); } @@ -69835,9 +69835,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 _iter1065 : struct.success) + for (String _iter1073 : struct.success) { - oprot.writeString(_iter1065); + oprot.writeString(_iter1073); } oprot.writeListEnd(); } @@ -69892,9 +69892,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_table_names_by_ if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1066 : struct.success) + for (String _iter1074 : struct.success) { - oprot.writeString(_iter1066); + oprot.writeString(_iter1074); } } } @@ -69915,13 +69915,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 _list1067 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1067.size); - String _elem1068; - for (int _i1069 = 0; _i1069 < _list1067.size; ++_i1069) + org.apache.thrift.protocol.TList _list1075 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1075.size); + String _elem1076; + for (int _i1077 = 0; _i1077 < _list1075.size; ++_i1077) { - _elem1068 = iprot.readString(); - struct.success.add(_elem1068); + _elem1076 = iprot.readString(); + struct.success.add(_elem1076); } } struct.setSuccessIsSet(true); @@ -75780,14 +75780,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 _list1070 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1070.size); - Partition _elem1071; - for (int _i1072 = 0; _i1072 < _list1070.size; ++_i1072) + org.apache.thrift.protocol.TList _list1078 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1078.size); + Partition _elem1079; + for (int _i1080 = 0; _i1080 < _list1078.size; ++_i1080) { - _elem1071 = new Partition(); - _elem1071.read(iprot); - struct.new_parts.add(_elem1071); + _elem1079 = new Partition(); + _elem1079.read(iprot); + struct.new_parts.add(_elem1079); } iprot.readListEnd(); } @@ -75813,9 +75813,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 _iter1073 : struct.new_parts) + for (Partition _iter1081 : struct.new_parts) { - _iter1073.write(oprot); + _iter1081.write(oprot); } oprot.writeListEnd(); } @@ -75846,9 +75846,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 _iter1074 : struct.new_parts) + for (Partition _iter1082 : struct.new_parts) { - _iter1074.write(oprot); + _iter1082.write(oprot); } } } @@ -75860,14 +75860,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 _list1075 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1075.size); - Partition _elem1076; - for (int _i1077 = 0; _i1077 < _list1075.size; ++_i1077) + org.apache.thrift.protocol.TList _list1083 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1083.size); + Partition _elem1084; + for (int _i1085 = 0; _i1085 < _list1083.size; ++_i1085) { - _elem1076 = new Partition(); - _elem1076.read(iprot); - struct.new_parts.add(_elem1076); + _elem1084 = new Partition(); + _elem1084.read(iprot); + struct.new_parts.add(_elem1084); } } struct.setNew_partsIsSet(true); @@ -76868,14 +76868,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 _list1078 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1078.size); - PartitionSpec _elem1079; - for (int _i1080 = 0; _i1080 < _list1078.size; ++_i1080) + org.apache.thrift.protocol.TList _list1086 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1086.size); + PartitionSpec _elem1087; + for (int _i1088 = 0; _i1088 < _list1086.size; ++_i1088) { - _elem1079 = new PartitionSpec(); - _elem1079.read(iprot); - struct.new_parts.add(_elem1079); + _elem1087 = new PartitionSpec(); + _elem1087.read(iprot); + struct.new_parts.add(_elem1087); } iprot.readListEnd(); } @@ -76901,9 +76901,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 _iter1081 : struct.new_parts) + for (PartitionSpec _iter1089 : struct.new_parts) { - _iter1081.write(oprot); + _iter1089.write(oprot); } oprot.writeListEnd(); } @@ -76934,9 +76934,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 _iter1082 : struct.new_parts) + for (PartitionSpec _iter1090 : struct.new_parts) { - _iter1082.write(oprot); + _iter1090.write(oprot); } } } @@ -76948,14 +76948,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 _list1083 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1083.size); - PartitionSpec _elem1084; - for (int _i1085 = 0; _i1085 < _list1083.size; ++_i1085) + org.apache.thrift.protocol.TList _list1091 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1091.size); + PartitionSpec _elem1092; + for (int _i1093 = 0; _i1093 < _list1091.size; ++_i1093) { - _elem1084 = new PartitionSpec(); - _elem1084.read(iprot); - struct.new_parts.add(_elem1084); + _elem1092 = new PartitionSpec(); + _elem1092.read(iprot); + struct.new_parts.add(_elem1092); } } struct.setNew_partsIsSet(true); @@ -78131,13 +78131,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 _list1086 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1086.size); - String _elem1087; - for (int _i1088 = 0; _i1088 < _list1086.size; ++_i1088) + org.apache.thrift.protocol.TList _list1094 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1094.size); + String _elem1095; + for (int _i1096 = 0; _i1096 < _list1094.size; ++_i1096) { - _elem1087 = iprot.readString(); - struct.part_vals.add(_elem1087); + _elem1095 = iprot.readString(); + struct.part_vals.add(_elem1095); } iprot.readListEnd(); } @@ -78173,9 +78173,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 _iter1089 : struct.part_vals) + for (String _iter1097 : struct.part_vals) { - oprot.writeString(_iter1089); + oprot.writeString(_iter1097); } oprot.writeListEnd(); } @@ -78218,9 +78218,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 _iter1090 : struct.part_vals) + for (String _iter1098 : struct.part_vals) { - oprot.writeString(_iter1090); + oprot.writeString(_iter1098); } } } @@ -78240,13 +78240,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1091 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1091.size); - String _elem1092; - for (int _i1093 = 0; _i1093 < _list1091.size; ++_i1093) + org.apache.thrift.protocol.TList _list1099 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1099.size); + String _elem1100; + for (int _i1101 = 0; _i1101 < _list1099.size; ++_i1101) { - _elem1092 = iprot.readString(); - struct.part_vals.add(_elem1092); + _elem1100 = iprot.readString(); + struct.part_vals.add(_elem1100); } } struct.setPart_valsIsSet(true); @@ -80555,13 +80555,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 _list1094 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1094.size); - String _elem1095; - for (int _i1096 = 0; _i1096 < _list1094.size; ++_i1096) + org.apache.thrift.protocol.TList _list1102 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1102.size); + String _elem1103; + for (int _i1104 = 0; _i1104 < _list1102.size; ++_i1104) { - _elem1095 = iprot.readString(); - struct.part_vals.add(_elem1095); + _elem1103 = iprot.readString(); + struct.part_vals.add(_elem1103); } iprot.readListEnd(); } @@ -80606,9 +80606,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 _iter1097 : struct.part_vals) + for (String _iter1105 : struct.part_vals) { - oprot.writeString(_iter1097); + oprot.writeString(_iter1105); } oprot.writeListEnd(); } @@ -80659,9 +80659,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 _iter1098 : struct.part_vals) + for (String _iter1106 : struct.part_vals) { - oprot.writeString(_iter1098); + oprot.writeString(_iter1106); } } } @@ -80684,13 +80684,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, append_partition_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1099 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1099.size); - String _elem1100; - for (int _i1101 = 0; _i1101 < _list1099.size; ++_i1101) + org.apache.thrift.protocol.TList _list1107 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1107.size); + String _elem1108; + for (int _i1109 = 0; _i1109 < _list1107.size; ++_i1109) { - _elem1100 = iprot.readString(); - struct.part_vals.add(_elem1100); + _elem1108 = iprot.readString(); + struct.part_vals.add(_elem1108); } } struct.setPart_valsIsSet(true); @@ -84560,13 +84560,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 _list1102 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1102.size); - String _elem1103; - for (int _i1104 = 0; _i1104 < _list1102.size; ++_i1104) + org.apache.thrift.protocol.TList _list1110 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1110.size); + String _elem1111; + for (int _i1112 = 0; _i1112 < _list1110.size; ++_i1112) { - _elem1103 = iprot.readString(); - struct.part_vals.add(_elem1103); + _elem1111 = iprot.readString(); + struct.part_vals.add(_elem1111); } iprot.readListEnd(); } @@ -84610,9 +84610,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 _iter1105 : struct.part_vals) + for (String _iter1113 : struct.part_vals) { - oprot.writeString(_iter1105); + oprot.writeString(_iter1113); } oprot.writeListEnd(); } @@ -84661,9 +84661,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 _iter1106 : struct.part_vals) + for (String _iter1114 : struct.part_vals) { - oprot.writeString(_iter1106); + oprot.writeString(_iter1114); } } } @@ -84686,13 +84686,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_args } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1107 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1107.size); - String _elem1108; - for (int _i1109 = 0; _i1109 < _list1107.size; ++_i1109) + org.apache.thrift.protocol.TList _list1115 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1115.size); + String _elem1116; + for (int _i1117 = 0; _i1117 < _list1115.size; ++_i1117) { - _elem1108 = iprot.readString(); - struct.part_vals.add(_elem1108); + _elem1116 = iprot.readString(); + struct.part_vals.add(_elem1116); } } struct.setPart_valsIsSet(true); @@ -85931,13 +85931,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 _list1110 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1110.size); - String _elem1111; - for (int _i1112 = 0; _i1112 < _list1110.size; ++_i1112) + org.apache.thrift.protocol.TList _list1118 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1118.size); + String _elem1119; + for (int _i1120 = 0; _i1120 < _list1118.size; ++_i1120) { - _elem1111 = iprot.readString(); - struct.part_vals.add(_elem1111); + _elem1119 = iprot.readString(); + struct.part_vals.add(_elem1119); } iprot.readListEnd(); } @@ -85990,9 +85990,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 _iter1113 : struct.part_vals) + for (String _iter1121 : struct.part_vals) { - oprot.writeString(_iter1113); + oprot.writeString(_iter1121); } oprot.writeListEnd(); } @@ -86049,9 +86049,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 _iter1114 : struct.part_vals) + for (String _iter1122 : struct.part_vals) { - oprot.writeString(_iter1114); + oprot.writeString(_iter1122); } } } @@ -86077,13 +86077,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, drop_partition_with_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1115 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1115.size); - String _elem1116; - for (int _i1117 = 0; _i1117 < _list1115.size; ++_i1117) + org.apache.thrift.protocol.TList _list1123 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1123.size); + String _elem1124; + for (int _i1125 = 0; _i1125 < _list1123.size; ++_i1125) { - _elem1116 = iprot.readString(); - struct.part_vals.add(_elem1116); + _elem1124 = iprot.readString(); + struct.part_vals.add(_elem1124); } } struct.setPart_valsIsSet(true); @@ -90685,13 +90685,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 _list1118 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1118.size); - String _elem1119; - for (int _i1120 = 0; _i1120 < _list1118.size; ++_i1120) + org.apache.thrift.protocol.TList _list1126 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1126.size); + String _elem1127; + for (int _i1128 = 0; _i1128 < _list1126.size; ++_i1128) { - _elem1119 = iprot.readString(); - struct.part_vals.add(_elem1119); + _elem1127 = iprot.readString(); + struct.part_vals.add(_elem1127); } iprot.readListEnd(); } @@ -90727,9 +90727,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 _iter1121 : struct.part_vals) + for (String _iter1129 : struct.part_vals) { - oprot.writeString(_iter1121); + oprot.writeString(_iter1129); } oprot.writeListEnd(); } @@ -90772,9 +90772,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 _iter1122 : struct.part_vals) + for (String _iter1130 : struct.part_vals) { - oprot.writeString(_iter1122); + oprot.writeString(_iter1130); } } } @@ -90794,13 +90794,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_args s } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1123 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1123.size); - String _elem1124; - for (int _i1125 = 0; _i1125 < _list1123.size; ++_i1125) + org.apache.thrift.protocol.TList _list1131 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1131.size); + String _elem1132; + for (int _i1133 = 0; _i1133 < _list1131.size; ++_i1133) { - _elem1124 = iprot.readString(); - struct.part_vals.add(_elem1124); + _elem1132 = iprot.readString(); + struct.part_vals.add(_elem1132); } } struct.setPart_valsIsSet(true); @@ -92018,15 +92018,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 _map1126 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1126.size); - String _key1127; - String _val1128; - for (int _i1129 = 0; _i1129 < _map1126.size; ++_i1129) + org.apache.thrift.protocol.TMap _map1134 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1134.size); + String _key1135; + String _val1136; + for (int _i1137 = 0; _i1137 < _map1134.size; ++_i1137) { - _key1127 = iprot.readString(); - _val1128 = iprot.readString(); - struct.partitionSpecs.put(_key1127, _val1128); + _key1135 = iprot.readString(); + _val1136 = iprot.readString(); + struct.partitionSpecs.put(_key1135, _val1136); } iprot.readMapEnd(); } @@ -92084,10 +92084,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 _iter1130 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1138 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1130.getKey()); - oprot.writeString(_iter1130.getValue()); + oprot.writeString(_iter1138.getKey()); + oprot.writeString(_iter1138.getValue()); } oprot.writeMapEnd(); } @@ -92150,10 +92150,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partition_ if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1131 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1139 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1131.getKey()); - oprot.writeString(_iter1131.getValue()); + oprot.writeString(_iter1139.getKey()); + oprot.writeString(_iter1139.getValue()); } } } @@ -92177,15 +92177,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 _map1132 = 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*_map1132.size); - String _key1133; - String _val1134; - for (int _i1135 = 0; _i1135 < _map1132.size; ++_i1135) + org.apache.thrift.protocol.TMap _map1140 = 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*_map1140.size); + String _key1141; + String _val1142; + for (int _i1143 = 0; _i1143 < _map1140.size; ++_i1143) { - _key1133 = iprot.readString(); - _val1134 = iprot.readString(); - struct.partitionSpecs.put(_key1133, _val1134); + _key1141 = iprot.readString(); + _val1142 = iprot.readString(); + struct.partitionSpecs.put(_key1141, _val1142); } } struct.setPartitionSpecsIsSet(true); @@ -93631,15 +93631,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 _map1136 = iprot.readMapBegin(); - struct.partitionSpecs = new HashMap(2*_map1136.size); - String _key1137; - String _val1138; - for (int _i1139 = 0; _i1139 < _map1136.size; ++_i1139) + org.apache.thrift.protocol.TMap _map1144 = iprot.readMapBegin(); + struct.partitionSpecs = new HashMap(2*_map1144.size); + String _key1145; + String _val1146; + for (int _i1147 = 0; _i1147 < _map1144.size; ++_i1147) { - _key1137 = iprot.readString(); - _val1138 = iprot.readString(); - struct.partitionSpecs.put(_key1137, _val1138); + _key1145 = iprot.readString(); + _val1146 = iprot.readString(); + struct.partitionSpecs.put(_key1145, _val1146); } iprot.readMapEnd(); } @@ -93697,10 +93697,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 _iter1140 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1148 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1140.getKey()); - oprot.writeString(_iter1140.getValue()); + oprot.writeString(_iter1148.getKey()); + oprot.writeString(_iter1148.getValue()); } oprot.writeMapEnd(); } @@ -93763,10 +93763,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetPartitionSpecs()) { { oprot.writeI32(struct.partitionSpecs.size()); - for (Map.Entry _iter1141 : struct.partitionSpecs.entrySet()) + for (Map.Entry _iter1149 : struct.partitionSpecs.entrySet()) { - oprot.writeString(_iter1141.getKey()); - oprot.writeString(_iter1141.getValue()); + oprot.writeString(_iter1149.getKey()); + oprot.writeString(_iter1149.getValue()); } } } @@ -93790,15 +93790,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 _map1142 = 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*_map1142.size); - String _key1143; - String _val1144; - for (int _i1145 = 0; _i1145 < _map1142.size; ++_i1145) + org.apache.thrift.protocol.TMap _map1150 = 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*_map1150.size); + String _key1151; + String _val1152; + for (int _i1153 = 0; _i1153 < _map1150.size; ++_i1153) { - _key1143 = iprot.readString(); - _val1144 = iprot.readString(); - struct.partitionSpecs.put(_key1143, _val1144); + _key1151 = iprot.readString(); + _val1152 = iprot.readString(); + struct.partitionSpecs.put(_key1151, _val1152); } } struct.setPartitionSpecsIsSet(true); @@ -94463,14 +94463,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 _list1146 = iprot.readListBegin(); - struct.success = new ArrayList(_list1146.size); - Partition _elem1147; - for (int _i1148 = 0; _i1148 < _list1146.size; ++_i1148) + org.apache.thrift.protocol.TList _list1154 = iprot.readListBegin(); + struct.success = new ArrayList(_list1154.size); + Partition _elem1155; + for (int _i1156 = 0; _i1156 < _list1154.size; ++_i1156) { - _elem1147 = new Partition(); - _elem1147.read(iprot); - struct.success.add(_elem1147); + _elem1155 = new Partition(); + _elem1155.read(iprot); + struct.success.add(_elem1155); } iprot.readListEnd(); } @@ -94532,9 +94532,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 _iter1149 : struct.success) + for (Partition _iter1157 : struct.success) { - _iter1149.write(oprot); + _iter1157.write(oprot); } oprot.writeListEnd(); } @@ -94597,9 +94597,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, exchange_partitions if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1150 : struct.success) + for (Partition _iter1158 : struct.success) { - _iter1150.write(oprot); + _iter1158.write(oprot); } } } @@ -94623,14 +94623,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 _list1151 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1151.size); - Partition _elem1152; - for (int _i1153 = 0; _i1153 < _list1151.size; ++_i1153) + org.apache.thrift.protocol.TList _list1159 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1159.size); + Partition _elem1160; + for (int _i1161 = 0; _i1161 < _list1159.size; ++_i1161) { - _elem1152 = new Partition(); - _elem1152.read(iprot); - struct.success.add(_elem1152); + _elem1160 = new Partition(); + _elem1160.read(iprot); + struct.success.add(_elem1160); } } struct.setSuccessIsSet(true); @@ -95329,13 +95329,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 _list1154 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1154.size); - String _elem1155; - for (int _i1156 = 0; _i1156 < _list1154.size; ++_i1156) + org.apache.thrift.protocol.TList _list1162 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1162.size); + String _elem1163; + for (int _i1164 = 0; _i1164 < _list1162.size; ++_i1164) { - _elem1155 = iprot.readString(); - struct.part_vals.add(_elem1155); + _elem1163 = iprot.readString(); + struct.part_vals.add(_elem1163); } iprot.readListEnd(); } @@ -95355,13 +95355,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 _list1157 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1157.size); - String _elem1158; - for (int _i1159 = 0; _i1159 < _list1157.size; ++_i1159) + org.apache.thrift.protocol.TList _list1165 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1165.size); + String _elem1166; + for (int _i1167 = 0; _i1167 < _list1165.size; ++_i1167) { - _elem1158 = iprot.readString(); - struct.group_names.add(_elem1158); + _elem1166 = iprot.readString(); + struct.group_names.add(_elem1166); } iprot.readListEnd(); } @@ -95397,9 +95397,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 _iter1160 : struct.part_vals) + for (String _iter1168 : struct.part_vals) { - oprot.writeString(_iter1160); + oprot.writeString(_iter1168); } oprot.writeListEnd(); } @@ -95414,9 +95414,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 _iter1161 : struct.group_names) + for (String _iter1169 : struct.group_names) { - oprot.writeString(_iter1161); + oprot.writeString(_iter1169); } oprot.writeListEnd(); } @@ -95465,9 +95465,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 _iter1162 : struct.part_vals) + for (String _iter1170 : struct.part_vals) { - oprot.writeString(_iter1162); + oprot.writeString(_iter1170); } } } @@ -95477,9 +95477,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 _iter1163 : struct.group_names) + for (String _iter1171 : struct.group_names) { - oprot.writeString(_iter1163); + oprot.writeString(_iter1171); } } } @@ -95499,13 +95499,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1164 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1164.size); - String _elem1165; - for (int _i1166 = 0; _i1166 < _list1164.size; ++_i1166) + org.apache.thrift.protocol.TList _list1172 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1172.size); + String _elem1173; + for (int _i1174 = 0; _i1174 < _list1172.size; ++_i1174) { - _elem1165 = iprot.readString(); - struct.part_vals.add(_elem1165); + _elem1173 = iprot.readString(); + struct.part_vals.add(_elem1173); } } struct.setPart_valsIsSet(true); @@ -95516,13 +95516,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_with_a } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1167 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1167.size); - String _elem1168; - for (int _i1169 = 0; _i1169 < _list1167.size; ++_i1169) + org.apache.thrift.protocol.TList _list1175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1175.size); + String _elem1176; + for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) { - _elem1168 = iprot.readString(); - struct.group_names.add(_elem1168); + _elem1176 = iprot.readString(); + struct.group_names.add(_elem1176); } } struct.setGroup_namesIsSet(true); @@ -98291,14 +98291,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 _list1170 = iprot.readListBegin(); - struct.success = new ArrayList(_list1170.size); - Partition _elem1171; - for (int _i1172 = 0; _i1172 < _list1170.size; ++_i1172) + org.apache.thrift.protocol.TList _list1178 = iprot.readListBegin(); + struct.success = new ArrayList(_list1178.size); + Partition _elem1179; + for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) { - _elem1171 = new Partition(); - _elem1171.read(iprot); - struct.success.add(_elem1171); + _elem1179 = new Partition(); + _elem1179.read(iprot); + struct.success.add(_elem1179); } iprot.readListEnd(); } @@ -98342,9 +98342,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 _iter1173 : struct.success) + for (Partition _iter1181 : struct.success) { - _iter1173.write(oprot); + _iter1181.write(oprot); } oprot.writeListEnd(); } @@ -98391,9 +98391,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1174 : struct.success) + for (Partition _iter1182 : struct.success) { - _iter1174.write(oprot); + _iter1182.write(oprot); } } } @@ -98411,14 +98411,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 _list1175 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1175.size); - Partition _elem1176; - for (int _i1177 = 0; _i1177 < _list1175.size; ++_i1177) + org.apache.thrift.protocol.TList _list1183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1183.size); + Partition _elem1184; + for (int _i1185 = 0; _i1185 < _list1183.size; ++_i1185) { - _elem1176 = new Partition(); - _elem1176.read(iprot); - struct.success.add(_elem1176); + _elem1184 = new Partition(); + _elem1184.read(iprot); + struct.success.add(_elem1184); } } struct.setSuccessIsSet(true); @@ -99108,13 +99108,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 _list1178 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1178.size); - String _elem1179; - for (int _i1180 = 0; _i1180 < _list1178.size; ++_i1180) + org.apache.thrift.protocol.TList _list1186 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1186.size); + String _elem1187; + for (int _i1188 = 0; _i1188 < _list1186.size; ++_i1188) { - _elem1179 = iprot.readString(); - struct.group_names.add(_elem1179); + _elem1187 = iprot.readString(); + struct.group_names.add(_elem1187); } iprot.readListEnd(); } @@ -99158,9 +99158,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 _iter1181 : struct.group_names) + for (String _iter1189 : struct.group_names) { - oprot.writeString(_iter1181); + oprot.writeString(_iter1189); } oprot.writeListEnd(); } @@ -99215,9 +99215,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 _iter1182 : struct.group_names) + for (String _iter1190 : struct.group_names) { - oprot.writeString(_iter1182); + oprot.writeString(_iter1190); } } } @@ -99245,13 +99245,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_with_ } if (incoming.get(4)) { { - org.apache.thrift.protocol.TList _list1183 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1183.size); - String _elem1184; - for (int _i1185 = 0; _i1185 < _list1183.size; ++_i1185) + org.apache.thrift.protocol.TList _list1191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1191.size); + String _elem1192; + for (int _i1193 = 0; _i1193 < _list1191.size; ++_i1193) { - _elem1184 = iprot.readString(); - struct.group_names.add(_elem1184); + _elem1192 = iprot.readString(); + struct.group_names.add(_elem1192); } } struct.setGroup_namesIsSet(true); @@ -99738,14 +99738,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 _list1186 = iprot.readListBegin(); - struct.success = new ArrayList(_list1186.size); - Partition _elem1187; - for (int _i1188 = 0; _i1188 < _list1186.size; ++_i1188) + org.apache.thrift.protocol.TList _list1194 = iprot.readListBegin(); + struct.success = new ArrayList(_list1194.size); + Partition _elem1195; + for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) { - _elem1187 = new Partition(); - _elem1187.read(iprot); - struct.success.add(_elem1187); + _elem1195 = new Partition(); + _elem1195.read(iprot); + struct.success.add(_elem1195); } iprot.readListEnd(); } @@ -99789,9 +99789,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 _iter1189 : struct.success) + for (Partition _iter1197 : struct.success) { - _iter1189.write(oprot); + _iter1197.write(oprot); } oprot.writeListEnd(); } @@ -99838,9 +99838,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_with if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1190 : struct.success) + for (Partition _iter1198 : struct.success) { - _iter1190.write(oprot); + _iter1198.write(oprot); } } } @@ -99858,14 +99858,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 _list1191 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1191.size); - Partition _elem1192; - for (int _i1193 = 0; _i1193 < _list1191.size; ++_i1193) + org.apache.thrift.protocol.TList _list1199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1199.size); + Partition _elem1200; + for (int _i1201 = 0; _i1201 < _list1199.size; ++_i1201) { - _elem1192 = new Partition(); - _elem1192.read(iprot); - struct.success.add(_elem1192); + _elem1200 = new Partition(); + _elem1200.read(iprot); + struct.success.add(_elem1200); } } struct.setSuccessIsSet(true); @@ -100928,14 +100928,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 _list1194 = iprot.readListBegin(); - struct.success = new ArrayList(_list1194.size); - PartitionSpec _elem1195; - for (int _i1196 = 0; _i1196 < _list1194.size; ++_i1196) + org.apache.thrift.protocol.TList _list1202 = iprot.readListBegin(); + struct.success = new ArrayList(_list1202.size); + PartitionSpec _elem1203; + for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) { - _elem1195 = new PartitionSpec(); - _elem1195.read(iprot); - struct.success.add(_elem1195); + _elem1203 = new PartitionSpec(); + _elem1203.read(iprot); + struct.success.add(_elem1203); } iprot.readListEnd(); } @@ -100979,9 +100979,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 _iter1197 : struct.success) + for (PartitionSpec _iter1205 : struct.success) { - _iter1197.write(oprot); + _iter1205.write(oprot); } oprot.writeListEnd(); } @@ -101028,9 +101028,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_pspe if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (PartitionSpec _iter1198 : struct.success) + for (PartitionSpec _iter1206 : struct.success) { - _iter1198.write(oprot); + _iter1206.write(oprot); } } } @@ -101048,14 +101048,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 _list1199 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1199.size); - PartitionSpec _elem1200; - for (int _i1201 = 0; _i1201 < _list1199.size; ++_i1201) + org.apache.thrift.protocol.TList _list1207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1207.size); + PartitionSpec _elem1208; + for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) { - _elem1200 = new PartitionSpec(); - _elem1200.read(iprot); - struct.success.add(_elem1200); + _elem1208 = new PartitionSpec(); + _elem1208.read(iprot); + struct.success.add(_elem1208); } } struct.setSuccessIsSet(true); @@ -102115,13 +102115,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 _list1202 = iprot.readListBegin(); - struct.success = new ArrayList(_list1202.size); - String _elem1203; - for (int _i1204 = 0; _i1204 < _list1202.size; ++_i1204) + org.apache.thrift.protocol.TList _list1210 = iprot.readListBegin(); + struct.success = new ArrayList(_list1210.size); + String _elem1211; + for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) { - _elem1203 = iprot.readString(); - struct.success.add(_elem1203); + _elem1211 = iprot.readString(); + struct.success.add(_elem1211); } iprot.readListEnd(); } @@ -102165,9 +102165,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 _iter1205 : struct.success) + for (String _iter1213 : struct.success) { - oprot.writeString(_iter1205); + oprot.writeString(_iter1213); } oprot.writeListEnd(); } @@ -102214,9 +102214,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1206 : struct.success) + for (String _iter1214 : struct.success) { - oprot.writeString(_iter1206); + oprot.writeString(_iter1214); } } } @@ -102234,13 +102234,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 _list1207 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1207.size); - String _elem1208; - for (int _i1209 = 0; _i1209 < _list1207.size; ++_i1209) + org.apache.thrift.protocol.TList _list1215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1215.size); + String _elem1216; + for (int _i1217 = 0; _i1217 < _list1215.size; ++_i1217) { - _elem1208 = iprot.readString(); - struct.success.add(_elem1208); + _elem1216 = iprot.readString(); + struct.success.add(_elem1216); } } struct.setSuccessIsSet(true); @@ -103771,13 +103771,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 _list1210 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1210.size); - String _elem1211; - for (int _i1212 = 0; _i1212 < _list1210.size; ++_i1212) + org.apache.thrift.protocol.TList _list1218 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1218.size); + String _elem1219; + for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) { - _elem1211 = iprot.readString(); - struct.part_vals.add(_elem1211); + _elem1219 = iprot.readString(); + struct.part_vals.add(_elem1219); } iprot.readListEnd(); } @@ -103821,9 +103821,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 _iter1213 : struct.part_vals) + for (String _iter1221 : struct.part_vals) { - oprot.writeString(_iter1213); + oprot.writeString(_iter1221); } oprot.writeListEnd(); } @@ -103872,9 +103872,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 _iter1214 : struct.part_vals) + for (String _iter1222 : struct.part_vals) { - oprot.writeString(_iter1214); + oprot.writeString(_iter1222); } } } @@ -103897,13 +103897,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1215 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1215.size); - String _elem1216; - for (int _i1217 = 0; _i1217 < _list1215.size; ++_i1217) + org.apache.thrift.protocol.TList _list1223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1223.size); + String _elem1224; + for (int _i1225 = 0; _i1225 < _list1223.size; ++_i1225) { - _elem1216 = iprot.readString(); - struct.part_vals.add(_elem1216); + _elem1224 = iprot.readString(); + struct.part_vals.add(_elem1224); } } struct.setPart_valsIsSet(true); @@ -104394,14 +104394,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 _list1218 = iprot.readListBegin(); - struct.success = new ArrayList(_list1218.size); - Partition _elem1219; - for (int _i1220 = 0; _i1220 < _list1218.size; ++_i1220) + org.apache.thrift.protocol.TList _list1226 = iprot.readListBegin(); + struct.success = new ArrayList(_list1226.size); + Partition _elem1227; + for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) { - _elem1219 = new Partition(); - _elem1219.read(iprot); - struct.success.add(_elem1219); + _elem1227 = new Partition(); + _elem1227.read(iprot); + struct.success.add(_elem1227); } iprot.readListEnd(); } @@ -104445,9 +104445,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 _iter1221 : struct.success) + for (Partition _iter1229 : struct.success) { - _iter1221.write(oprot); + _iter1229.write(oprot); } oprot.writeListEnd(); } @@ -104494,9 +104494,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_r if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1222 : struct.success) + for (Partition _iter1230 : struct.success) { - _iter1222.write(oprot); + _iter1230.write(oprot); } } } @@ -104514,14 +104514,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 _list1223 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1223.size); - Partition _elem1224; - for (int _i1225 = 0; _i1225 < _list1223.size; ++_i1225) + org.apache.thrift.protocol.TList _list1231 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1231.size); + Partition _elem1232; + for (int _i1233 = 0; _i1233 < _list1231.size; ++_i1233) { - _elem1224 = new Partition(); - _elem1224.read(iprot); - struct.success.add(_elem1224); + _elem1232 = new Partition(); + _elem1232.read(iprot); + struct.success.add(_elem1232); } } struct.setSuccessIsSet(true); @@ -105293,13 +105293,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 _list1226 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1226.size); - String _elem1227; - for (int _i1228 = 0; _i1228 < _list1226.size; ++_i1228) + org.apache.thrift.protocol.TList _list1234 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1234.size); + String _elem1235; + for (int _i1236 = 0; _i1236 < _list1234.size; ++_i1236) { - _elem1227 = iprot.readString(); - struct.part_vals.add(_elem1227); + _elem1235 = iprot.readString(); + struct.part_vals.add(_elem1235); } iprot.readListEnd(); } @@ -105327,13 +105327,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 _list1229 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1229.size); - String _elem1230; - for (int _i1231 = 0; _i1231 < _list1229.size; ++_i1231) + org.apache.thrift.protocol.TList _list1237 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1237.size); + String _elem1238; + for (int _i1239 = 0; _i1239 < _list1237.size; ++_i1239) { - _elem1230 = iprot.readString(); - struct.group_names.add(_elem1230); + _elem1238 = iprot.readString(); + struct.group_names.add(_elem1238); } iprot.readListEnd(); } @@ -105369,9 +105369,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 _iter1232 : struct.part_vals) + for (String _iter1240 : struct.part_vals) { - oprot.writeString(_iter1232); + oprot.writeString(_iter1240); } oprot.writeListEnd(); } @@ -105389,9 +105389,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 _iter1233 : struct.group_names) + for (String _iter1241 : struct.group_names) { - oprot.writeString(_iter1233); + oprot.writeString(_iter1241); } oprot.writeListEnd(); } @@ -105443,9 +105443,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 _iter1234 : struct.part_vals) + for (String _iter1242 : struct.part_vals) { - oprot.writeString(_iter1234); + oprot.writeString(_iter1242); } } } @@ -105458,9 +105458,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 _iter1235 : struct.group_names) + for (String _iter1243 : struct.group_names) { - oprot.writeString(_iter1235); + oprot.writeString(_iter1243); } } } @@ -105480,13 +105480,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1236 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1236.size); - String _elem1237; - for (int _i1238 = 0; _i1238 < _list1236.size; ++_i1238) + org.apache.thrift.protocol.TList _list1244 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1244.size); + String _elem1245; + for (int _i1246 = 0; _i1246 < _list1244.size; ++_i1246) { - _elem1237 = iprot.readString(); - struct.part_vals.add(_elem1237); + _elem1245 = iprot.readString(); + struct.part_vals.add(_elem1245); } } struct.setPart_valsIsSet(true); @@ -105501,13 +105501,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_wi } if (incoming.get(5)) { { - org.apache.thrift.protocol.TList _list1239 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1239.size); - String _elem1240; - for (int _i1241 = 0; _i1241 < _list1239.size; ++_i1241) + org.apache.thrift.protocol.TList _list1247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1247.size); + String _elem1248; + for (int _i1249 = 0; _i1249 < _list1247.size; ++_i1249) { - _elem1240 = iprot.readString(); - struct.group_names.add(_elem1240); + _elem1248 = iprot.readString(); + struct.group_names.add(_elem1248); } } struct.setGroup_namesIsSet(true); @@ -105994,14 +105994,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 _list1242 = iprot.readListBegin(); - struct.success = new ArrayList(_list1242.size); - Partition _elem1243; - for (int _i1244 = 0; _i1244 < _list1242.size; ++_i1244) + org.apache.thrift.protocol.TList _list1250 = iprot.readListBegin(); + struct.success = new ArrayList(_list1250.size); + Partition _elem1251; + for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) { - _elem1243 = new Partition(); - _elem1243.read(iprot); - struct.success.add(_elem1243); + _elem1251 = new Partition(); + _elem1251.read(iprot); + struct.success.add(_elem1251); } iprot.readListEnd(); } @@ -106045,9 +106045,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 _iter1245 : struct.success) + for (Partition _iter1253 : struct.success) { - _iter1245.write(oprot); + _iter1253.write(oprot); } oprot.writeListEnd(); } @@ -106094,9 +106094,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_ps_w if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1246 : struct.success) + for (Partition _iter1254 : struct.success) { - _iter1246.write(oprot); + _iter1254.write(oprot); } } } @@ -106114,14 +106114,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 _list1247 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1247.size); - Partition _elem1248; - for (int _i1249 = 0; _i1249 < _list1247.size; ++_i1249) + org.apache.thrift.protocol.TList _list1255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1255.size); + Partition _elem1256; + for (int _i1257 = 0; _i1257 < _list1255.size; ++_i1257) { - _elem1248 = new Partition(); - _elem1248.read(iprot); - struct.success.add(_elem1248); + _elem1256 = new Partition(); + _elem1256.read(iprot); + struct.success.add(_elem1256); } } struct.setSuccessIsSet(true); @@ -106714,13 +106714,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 _list1250 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1250.size); - String _elem1251; - for (int _i1252 = 0; _i1252 < _list1250.size; ++_i1252) + org.apache.thrift.protocol.TList _list1258 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1258.size); + String _elem1259; + for (int _i1260 = 0; _i1260 < _list1258.size; ++_i1260) { - _elem1251 = iprot.readString(); - struct.part_vals.add(_elem1251); + _elem1259 = iprot.readString(); + struct.part_vals.add(_elem1259); } iprot.readListEnd(); } @@ -106764,9 +106764,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 _iter1253 : struct.part_vals) + for (String _iter1261 : struct.part_vals) { - oprot.writeString(_iter1253); + oprot.writeString(_iter1261); } oprot.writeListEnd(); } @@ -106815,9 +106815,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 _iter1254 : struct.part_vals) + for (String _iter1262 : struct.part_vals) { - oprot.writeString(_iter1254); + oprot.writeString(_iter1262); } } } @@ -106840,13 +106840,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partition_names_ } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1255 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1255.size); - String _elem1256; - for (int _i1257 = 0; _i1257 < _list1255.size; ++_i1257) + org.apache.thrift.protocol.TList _list1263 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1263.size); + String _elem1264; + for (int _i1265 = 0; _i1265 < _list1263.size; ++_i1265) { - _elem1256 = iprot.readString(); - struct.part_vals.add(_elem1256); + _elem1264 = iprot.readString(); + struct.part_vals.add(_elem1264); } } struct.setPart_valsIsSet(true); @@ -107334,13 +107334,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 _list1258 = iprot.readListBegin(); - struct.success = new ArrayList(_list1258.size); - String _elem1259; - for (int _i1260 = 0; _i1260 < _list1258.size; ++_i1260) + org.apache.thrift.protocol.TList _list1266 = iprot.readListBegin(); + struct.success = new ArrayList(_list1266.size); + String _elem1267; + for (int _i1268 = 0; _i1268 < _list1266.size; ++_i1268) { - _elem1259 = iprot.readString(); - struct.success.add(_elem1259); + _elem1267 = iprot.readString(); + struct.success.add(_elem1267); } iprot.readListEnd(); } @@ -107384,9 +107384,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 _iter1261 : struct.success) + for (String _iter1269 : struct.success) { - oprot.writeString(_iter1261); + oprot.writeString(_iter1269); } oprot.writeListEnd(); } @@ -107433,9 +107433,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partition_names if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1262 : struct.success) + for (String _iter1270 : struct.success) { - oprot.writeString(_iter1262); + oprot.writeString(_iter1270); } } } @@ -107453,13 +107453,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 _list1263 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1263.size); - String _elem1264; - for (int _i1265 = 0; _i1265 < _list1263.size; ++_i1265) + org.apache.thrift.protocol.TList _list1271 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1271.size); + String _elem1272; + for (int _i1273 = 0; _i1273 < _list1271.size; ++_i1273) { - _elem1264 = iprot.readString(); - struct.success.add(_elem1264); + _elem1272 = iprot.readString(); + struct.success.add(_elem1272); } } struct.setSuccessIsSet(true); @@ -108626,14 +108626,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 _list1266 = iprot.readListBegin(); - struct.success = new ArrayList(_list1266.size); - Partition _elem1267; - for (int _i1268 = 0; _i1268 < _list1266.size; ++_i1268) + org.apache.thrift.protocol.TList _list1274 = iprot.readListBegin(); + struct.success = new ArrayList(_list1274.size); + Partition _elem1275; + for (int _i1276 = 0; _i1276 < _list1274.size; ++_i1276) { - _elem1267 = new Partition(); - _elem1267.read(iprot); - struct.success.add(_elem1267); + _elem1275 = new Partition(); + _elem1275.read(iprot); + struct.success.add(_elem1275); } iprot.readListEnd(); } @@ -108677,9 +108677,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 _iter1269 : struct.success) + for (Partition _iter1277 : struct.success) { - _iter1269.write(oprot); + _iter1277.write(oprot); } oprot.writeListEnd(); } @@ -108726,9 +108726,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_f if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1270 : struct.success) + for (Partition _iter1278 : struct.success) { - _iter1270.write(oprot); + _iter1278.write(oprot); } } } @@ -108746,14 +108746,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 _list1271 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1271.size); - Partition _elem1272; - for (int _i1273 = 0; _i1273 < _list1271.size; ++_i1273) + org.apache.thrift.protocol.TList _list1279 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1279.size); + Partition _elem1280; + for (int _i1281 = 0; _i1281 < _list1279.size; ++_i1281) { - _elem1272 = new Partition(); - _elem1272.read(iprot); - struct.success.add(_elem1272); + _elem1280 = new Partition(); + _elem1280.read(iprot); + struct.success.add(_elem1280); } } struct.setSuccessIsSet(true); @@ -109920,14 +109920,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 _list1274 = iprot.readListBegin(); - struct.success = new ArrayList(_list1274.size); - PartitionSpec _elem1275; - for (int _i1276 = 0; _i1276 < _list1274.size; ++_i1276) + org.apache.thrift.protocol.TList _list1282 = iprot.readListBegin(); + struct.success = new ArrayList(_list1282.size); + PartitionSpec _elem1283; + for (int _i1284 = 0; _i1284 < _list1282.size; ++_i1284) { - _elem1275 = new PartitionSpec(); - _elem1275.read(iprot); - struct.success.add(_elem1275); + _elem1283 = new PartitionSpec(); + _elem1283.read(iprot); + struct.success.add(_elem1283); } iprot.readListEnd(); } @@ -109971,9 +109971,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 _iter1277 : struct.success) + for (PartitionSpec _iter1285 : struct.success) { - _iter1277.write(oprot); + _iter1285.write(oprot); } oprot.writeListEnd(); } @@ -110020,9 +110020,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 _iter1278 : struct.success) + for (PartitionSpec _iter1286 : struct.success) { - _iter1278.write(oprot); + _iter1286.write(oprot); } } } @@ -110040,14 +110040,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 _list1279 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1279.size); - PartitionSpec _elem1280; - for (int _i1281 = 0; _i1281 < _list1279.size; ++_i1281) + org.apache.thrift.protocol.TList _list1287 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1287.size); + PartitionSpec _elem1288; + for (int _i1289 = 0; _i1289 < _list1287.size; ++_i1289) { - _elem1280 = new PartitionSpec(); - _elem1280.read(iprot); - struct.success.add(_elem1280); + _elem1288 = new PartitionSpec(); + _elem1288.read(iprot); + struct.success.add(_elem1288); } } struct.setSuccessIsSet(true); @@ -112631,13 +112631,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 _list1282 = iprot.readListBegin(); - struct.names = new ArrayList(_list1282.size); - String _elem1283; - for (int _i1284 = 0; _i1284 < _list1282.size; ++_i1284) + org.apache.thrift.protocol.TList _list1290 = iprot.readListBegin(); + struct.names = new ArrayList(_list1290.size); + String _elem1291; + for (int _i1292 = 0; _i1292 < _list1290.size; ++_i1292) { - _elem1283 = iprot.readString(); - struct.names.add(_elem1283); + _elem1291 = iprot.readString(); + struct.names.add(_elem1291); } iprot.readListEnd(); } @@ -112673,9 +112673,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 _iter1285 : struct.names) + for (String _iter1293 : struct.names) { - oprot.writeString(_iter1285); + oprot.writeString(_iter1293); } oprot.writeListEnd(); } @@ -112718,9 +112718,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetNames()) { { oprot.writeI32(struct.names.size()); - for (String _iter1286 : struct.names) + for (String _iter1294 : struct.names) { - oprot.writeString(_iter1286); + oprot.writeString(_iter1294); } } } @@ -112740,13 +112740,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_na } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1287 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.names = new ArrayList(_list1287.size); - String _elem1288; - for (int _i1289 = 0; _i1289 < _list1287.size; ++_i1289) + org.apache.thrift.protocol.TList _list1295 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.names = new ArrayList(_list1295.size); + String _elem1296; + for (int _i1297 = 0; _i1297 < _list1295.size; ++_i1297) { - _elem1288 = iprot.readString(); - struct.names.add(_elem1288); + _elem1296 = iprot.readString(); + struct.names.add(_elem1296); } } struct.setNamesIsSet(true); @@ -113233,14 +113233,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 _list1290 = iprot.readListBegin(); - struct.success = new ArrayList(_list1290.size); - Partition _elem1291; - for (int _i1292 = 0; _i1292 < _list1290.size; ++_i1292) + org.apache.thrift.protocol.TList _list1298 = iprot.readListBegin(); + struct.success = new ArrayList(_list1298.size); + Partition _elem1299; + for (int _i1300 = 0; _i1300 < _list1298.size; ++_i1300) { - _elem1291 = new Partition(); - _elem1291.read(iprot); - struct.success.add(_elem1291); + _elem1299 = new Partition(); + _elem1299.read(iprot); + struct.success.add(_elem1299); } iprot.readListEnd(); } @@ -113284,9 +113284,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 _iter1293 : struct.success) + for (Partition _iter1301 : struct.success) { - _iter1293.write(oprot); + _iter1301.write(oprot); } oprot.writeListEnd(); } @@ -113333,9 +113333,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_partitions_by_n if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Partition _iter1294 : struct.success) + for (Partition _iter1302 : struct.success) { - _iter1294.write(oprot); + _iter1302.write(oprot); } } } @@ -113353,14 +113353,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 _list1295 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1295.size); - Partition _elem1296; - for (int _i1297 = 0; _i1297 < _list1295.size; ++_i1297) + org.apache.thrift.protocol.TList _list1303 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1303.size); + Partition _elem1304; + for (int _i1305 = 0; _i1305 < _list1303.size; ++_i1305) { - _elem1296 = new Partition(); - _elem1296.read(iprot); - struct.success.add(_elem1296); + _elem1304 = new Partition(); + _elem1304.read(iprot); + struct.success.add(_elem1304); } } struct.setSuccessIsSet(true); @@ -114910,14 +114910,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 _list1298 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1298.size); - Partition _elem1299; - for (int _i1300 = 0; _i1300 < _list1298.size; ++_i1300) + org.apache.thrift.protocol.TList _list1306 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1306.size); + Partition _elem1307; + for (int _i1308 = 0; _i1308 < _list1306.size; ++_i1308) { - _elem1299 = new Partition(); - _elem1299.read(iprot); - struct.new_parts.add(_elem1299); + _elem1307 = new Partition(); + _elem1307.read(iprot); + struct.new_parts.add(_elem1307); } iprot.readListEnd(); } @@ -114953,9 +114953,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 _iter1301 : struct.new_parts) + for (Partition _iter1309 : struct.new_parts) { - _iter1301.write(oprot); + _iter1309.write(oprot); } oprot.writeListEnd(); } @@ -114998,9 +114998,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 _iter1302 : struct.new_parts) + for (Partition _iter1310 : struct.new_parts) { - _iter1302.write(oprot); + _iter1310.write(oprot); } } } @@ -115020,14 +115020,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1303 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1303.size); - Partition _elem1304; - for (int _i1305 = 0; _i1305 < _list1303.size; ++_i1305) + org.apache.thrift.protocol.TList _list1311 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1311.size); + Partition _elem1312; + for (int _i1313 = 0; _i1313 < _list1311.size; ++_i1313) { - _elem1304 = new Partition(); - _elem1304.read(iprot); - struct.new_parts.add(_elem1304); + _elem1312 = new Partition(); + _elem1312.read(iprot); + struct.new_parts.add(_elem1312); } } struct.setNew_partsIsSet(true); @@ -116080,14 +116080,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 _list1306 = iprot.readListBegin(); - struct.new_parts = new ArrayList(_list1306.size); - Partition _elem1307; - for (int _i1308 = 0; _i1308 < _list1306.size; ++_i1308) + org.apache.thrift.protocol.TList _list1314 = iprot.readListBegin(); + struct.new_parts = new ArrayList(_list1314.size); + Partition _elem1315; + for (int _i1316 = 0; _i1316 < _list1314.size; ++_i1316) { - _elem1307 = new Partition(); - _elem1307.read(iprot); - struct.new_parts.add(_elem1307); + _elem1315 = new Partition(); + _elem1315.read(iprot); + struct.new_parts.add(_elem1315); } iprot.readListEnd(); } @@ -116132,9 +116132,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 _iter1309 : struct.new_parts) + for (Partition _iter1317 : struct.new_parts) { - _iter1309.write(oprot); + _iter1317.write(oprot); } oprot.writeListEnd(); } @@ -116185,9 +116185,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 _iter1310 : struct.new_parts) + for (Partition _iter1318 : struct.new_parts) { - _iter1310.write(oprot); + _iter1318.write(oprot); } } } @@ -116210,14 +116210,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, alter_partitions_wit } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1311 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.new_parts = new ArrayList(_list1311.size); - Partition _elem1312; - for (int _i1313 = 0; _i1313 < _list1311.size; ++_i1313) + org.apache.thrift.protocol.TList _list1319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.new_parts = new ArrayList(_list1319.size); + Partition _elem1320; + for (int _i1321 = 0; _i1321 < _list1319.size; ++_i1321) { - _elem1312 = new Partition(); - _elem1312.read(iprot); - struct.new_parts.add(_elem1312); + _elem1320 = new Partition(); + _elem1320.read(iprot); + struct.new_parts.add(_elem1320); } } struct.setNew_partsIsSet(true); @@ -118418,13 +118418,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 _list1314 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1314.size); - String _elem1315; - for (int _i1316 = 0; _i1316 < _list1314.size; ++_i1316) + org.apache.thrift.protocol.TList _list1322 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1322.size); + String _elem1323; + for (int _i1324 = 0; _i1324 < _list1322.size; ++_i1324) { - _elem1315 = iprot.readString(); - struct.part_vals.add(_elem1315); + _elem1323 = iprot.readString(); + struct.part_vals.add(_elem1323); } iprot.readListEnd(); } @@ -118469,9 +118469,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 _iter1317 : struct.part_vals) + for (String _iter1325 : struct.part_vals) { - oprot.writeString(_iter1317); + oprot.writeString(_iter1325); } oprot.writeListEnd(); } @@ -118522,9 +118522,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 _iter1318 : struct.part_vals) + for (String _iter1326 : struct.part_vals) { - oprot.writeString(_iter1318); + oprot.writeString(_iter1326); } } } @@ -118547,13 +118547,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, rename_partition_arg } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1319 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1319.size); - String _elem1320; - for (int _i1321 = 0; _i1321 < _list1319.size; ++_i1321) + org.apache.thrift.protocol.TList _list1327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1327.size); + String _elem1328; + for (int _i1329 = 0; _i1329 < _list1327.size; ++_i1329) { - _elem1320 = iprot.readString(); - struct.part_vals.add(_elem1320); + _elem1328 = iprot.readString(); + struct.part_vals.add(_elem1328); } } struct.setPart_valsIsSet(true); @@ -119427,13 +119427,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 _list1322 = iprot.readListBegin(); - struct.part_vals = new ArrayList(_list1322.size); - String _elem1323; - for (int _i1324 = 0; _i1324 < _list1322.size; ++_i1324) + org.apache.thrift.protocol.TList _list1330 = iprot.readListBegin(); + struct.part_vals = new ArrayList(_list1330.size); + String _elem1331; + for (int _i1332 = 0; _i1332 < _list1330.size; ++_i1332) { - _elem1323 = iprot.readString(); - struct.part_vals.add(_elem1323); + _elem1331 = iprot.readString(); + struct.part_vals.add(_elem1331); } iprot.readListEnd(); } @@ -119467,9 +119467,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 _iter1325 : struct.part_vals) + for (String _iter1333 : struct.part_vals) { - oprot.writeString(_iter1325); + oprot.writeString(_iter1333); } oprot.writeListEnd(); } @@ -119506,9 +119506,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 _iter1326 : struct.part_vals) + for (String _iter1334 : struct.part_vals) { - oprot.writeString(_iter1326); + oprot.writeString(_iter1334); } } } @@ -119523,13 +119523,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 _list1327 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.part_vals = new ArrayList(_list1327.size); - String _elem1328; - for (int _i1329 = 0; _i1329 < _list1327.size; ++_i1329) + org.apache.thrift.protocol.TList _list1335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.part_vals = new ArrayList(_list1335.size); + String _elem1336; + for (int _i1337 = 0; _i1337 < _list1335.size; ++_i1337) { - _elem1328 = iprot.readString(); - struct.part_vals.add(_elem1328); + _elem1336 = iprot.readString(); + struct.part_vals.add(_elem1336); } } struct.setPart_valsIsSet(true); @@ -121684,13 +121684,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 _list1330 = iprot.readListBegin(); - struct.success = new ArrayList(_list1330.size); - String _elem1331; - for (int _i1332 = 0; _i1332 < _list1330.size; ++_i1332) + org.apache.thrift.protocol.TList _list1338 = iprot.readListBegin(); + struct.success = new ArrayList(_list1338.size); + String _elem1339; + for (int _i1340 = 0; _i1340 < _list1338.size; ++_i1340) { - _elem1331 = iprot.readString(); - struct.success.add(_elem1331); + _elem1339 = iprot.readString(); + struct.success.add(_elem1339); } iprot.readListEnd(); } @@ -121725,9 +121725,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 _iter1333 : struct.success) + for (String _iter1341 : struct.success) { - oprot.writeString(_iter1333); + oprot.writeString(_iter1341); } oprot.writeListEnd(); } @@ -121766,9 +121766,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, partition_name_to_v if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1334 : struct.success) + for (String _iter1342 : struct.success) { - oprot.writeString(_iter1334); + oprot.writeString(_iter1342); } } } @@ -121783,13 +121783,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 _list1335 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1335.size); - String _elem1336; - for (int _i1337 = 0; _i1337 < _list1335.size; ++_i1337) + org.apache.thrift.protocol.TList _list1343 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1343.size); + String _elem1344; + for (int _i1345 = 0; _i1345 < _list1343.size; ++_i1345) { - _elem1336 = iprot.readString(); - struct.success.add(_elem1336); + _elem1344 = iprot.readString(); + struct.success.add(_elem1344); } } struct.setSuccessIsSet(true); @@ -122552,15 +122552,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 _map1338 = iprot.readMapBegin(); - struct.success = new HashMap(2*_map1338.size); - String _key1339; - String _val1340; - for (int _i1341 = 0; _i1341 < _map1338.size; ++_i1341) + org.apache.thrift.protocol.TMap _map1346 = iprot.readMapBegin(); + struct.success = new HashMap(2*_map1346.size); + String _key1347; + String _val1348; + for (int _i1349 = 0; _i1349 < _map1346.size; ++_i1349) { - _key1339 = iprot.readString(); - _val1340 = iprot.readString(); - struct.success.put(_key1339, _val1340); + _key1347 = iprot.readString(); + _val1348 = iprot.readString(); + struct.success.put(_key1347, _val1348); } iprot.readMapEnd(); } @@ -122595,10 +122595,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 _iter1342 : struct.success.entrySet()) + for (Map.Entry _iter1350 : struct.success.entrySet()) { - oprot.writeString(_iter1342.getKey()); - oprot.writeString(_iter1342.getValue()); + oprot.writeString(_iter1350.getKey()); + oprot.writeString(_iter1350.getValue()); } oprot.writeMapEnd(); } @@ -122637,10 +122637,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 _iter1343 : struct.success.entrySet()) + for (Map.Entry _iter1351 : struct.success.entrySet()) { - oprot.writeString(_iter1343.getKey()); - oprot.writeString(_iter1343.getValue()); + oprot.writeString(_iter1351.getKey()); + oprot.writeString(_iter1351.getValue()); } } } @@ -122655,15 +122655,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 _map1344 = 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*_map1344.size); - String _key1345; - String _val1346; - for (int _i1347 = 0; _i1347 < _map1344.size; ++_i1347) + org.apache.thrift.protocol.TMap _map1352 = 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*_map1352.size); + String _key1353; + String _val1354; + for (int _i1355 = 0; _i1355 < _map1352.size; ++_i1355) { - _key1345 = iprot.readString(); - _val1346 = iprot.readString(); - struct.success.put(_key1345, _val1346); + _key1353 = iprot.readString(); + _val1354 = iprot.readString(); + struct.success.put(_key1353, _val1354); } } struct.setSuccessIsSet(true); @@ -123258,15 +123258,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 _map1348 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1348.size); - String _key1349; - String _val1350; - for (int _i1351 = 0; _i1351 < _map1348.size; ++_i1351) + org.apache.thrift.protocol.TMap _map1356 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1356.size); + String _key1357; + String _val1358; + for (int _i1359 = 0; _i1359 < _map1356.size; ++_i1359) { - _key1349 = iprot.readString(); - _val1350 = iprot.readString(); - struct.part_vals.put(_key1349, _val1350); + _key1357 = iprot.readString(); + _val1358 = iprot.readString(); + struct.part_vals.put(_key1357, _val1358); } iprot.readMapEnd(); } @@ -123310,10 +123310,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 _iter1352 : struct.part_vals.entrySet()) + for (Map.Entry _iter1360 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1352.getKey()); - oprot.writeString(_iter1352.getValue()); + oprot.writeString(_iter1360.getKey()); + oprot.writeString(_iter1360.getValue()); } oprot.writeMapEnd(); } @@ -123364,10 +123364,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, markPartitionForEve if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1353 : struct.part_vals.entrySet()) + for (Map.Entry _iter1361 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1353.getKey()); - oprot.writeString(_iter1353.getValue()); + oprot.writeString(_iter1361.getKey()); + oprot.writeString(_iter1361.getValue()); } } } @@ -123390,15 +123390,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, markPartitionForEven } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1354 = 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*_map1354.size); - String _key1355; - String _val1356; - for (int _i1357 = 0; _i1357 < _map1354.size; ++_i1357) + org.apache.thrift.protocol.TMap _map1362 = 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*_map1362.size); + String _key1363; + String _val1364; + for (int _i1365 = 0; _i1365 < _map1362.size; ++_i1365) { - _key1355 = iprot.readString(); - _val1356 = iprot.readString(); - struct.part_vals.put(_key1355, _val1356); + _key1363 = iprot.readString(); + _val1364 = iprot.readString(); + struct.part_vals.put(_key1363, _val1364); } } struct.setPart_valsIsSet(true); @@ -124882,15 +124882,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 _map1358 = iprot.readMapBegin(); - struct.part_vals = new HashMap(2*_map1358.size); - String _key1359; - String _val1360; - for (int _i1361 = 0; _i1361 < _map1358.size; ++_i1361) + org.apache.thrift.protocol.TMap _map1366 = iprot.readMapBegin(); + struct.part_vals = new HashMap(2*_map1366.size); + String _key1367; + String _val1368; + for (int _i1369 = 0; _i1369 < _map1366.size; ++_i1369) { - _key1359 = iprot.readString(); - _val1360 = iprot.readString(); - struct.part_vals.put(_key1359, _val1360); + _key1367 = iprot.readString(); + _val1368 = iprot.readString(); + struct.part_vals.put(_key1367, _val1368); } iprot.readMapEnd(); } @@ -124934,10 +124934,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 _iter1362 : struct.part_vals.entrySet()) + for (Map.Entry _iter1370 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1362.getKey()); - oprot.writeString(_iter1362.getValue()); + oprot.writeString(_iter1370.getKey()); + oprot.writeString(_iter1370.getValue()); } oprot.writeMapEnd(); } @@ -124988,10 +124988,10 @@ public void write(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFo if (struct.isSetPart_vals()) { { oprot.writeI32(struct.part_vals.size()); - for (Map.Entry _iter1363 : struct.part_vals.entrySet()) + for (Map.Entry _iter1371 : struct.part_vals.entrySet()) { - oprot.writeString(_iter1363.getKey()); - oprot.writeString(_iter1363.getValue()); + oprot.writeString(_iter1371.getKey()); + oprot.writeString(_iter1371.getValue()); } } } @@ -125014,15 +125014,15 @@ public void read(org.apache.thrift.protocol.TProtocol prot, isPartitionMarkedFor } if (incoming.get(2)) { { - org.apache.thrift.protocol.TMap _map1364 = 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*_map1364.size); - String _key1365; - String _val1366; - for (int _i1367 = 0; _i1367 < _map1364.size; ++_i1367) + org.apache.thrift.protocol.TMap _map1372 = 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*_map1372.size); + String _key1373; + String _val1374; + for (int _i1375 = 0; _i1375 < _map1372.size; ++_i1375) { - _key1365 = iprot.readString(); - _val1366 = iprot.readString(); - struct.part_vals.put(_key1365, _val1366); + _key1373 = iprot.readString(); + _val1374 = iprot.readString(); + struct.part_vals.put(_key1373, _val1374); } } struct.setPart_valsIsSet(true); @@ -131746,14 +131746,14 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_indexes_result case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1368 = iprot.readListBegin(); - struct.success = new ArrayList(_list1368.size); - Index _elem1369; - for (int _i1370 = 0; _i1370 < _list1368.size; ++_i1370) + org.apache.thrift.protocol.TList _list1376 = iprot.readListBegin(); + struct.success = new ArrayList(_list1376.size); + Index _elem1377; + for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) { - _elem1369 = new Index(); - _elem1369.read(iprot); - struct.success.add(_elem1369); + _elem1377 = new Index(); + _elem1377.read(iprot); + struct.success.add(_elem1377); } iprot.readListEnd(); } @@ -131797,9 +131797,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_indexes_result oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, struct.success.size())); - for (Index _iter1371 : struct.success) + for (Index _iter1379 : struct.success) { - _iter1371.write(oprot); + _iter1379.write(oprot); } oprot.writeListEnd(); } @@ -131846,9 +131846,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_indexes_result if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Index _iter1372 : struct.success) + for (Index _iter1380 : struct.success) { - _iter1372.write(oprot); + _iter1380.write(oprot); } } } @@ -131866,14 +131866,14 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_indexes_result s BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1373 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1373.size); - Index _elem1374; - for (int _i1375 = 0; _i1375 < _list1373.size; ++_i1375) + org.apache.thrift.protocol.TList _list1381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1381.size); + Index _elem1382; + for (int _i1383 = 0; _i1383 < _list1381.size; ++_i1383) { - _elem1374 = new Index(); - _elem1374.read(iprot); - struct.success.add(_elem1374); + _elem1382 = new Index(); + _elem1382.read(iprot); + struct.success.add(_elem1382); } } struct.setSuccessIsSet(true); @@ -132852,13 +132852,13 @@ public void read(org.apache.thrift.protocol.TProtocol iprot, get_index_names_res case 0: // SUCCESS if (schemeField.type == org.apache.thrift.protocol.TType.LIST) { { - org.apache.thrift.protocol.TList _list1376 = iprot.readListBegin(); - struct.success = new ArrayList(_list1376.size); - String _elem1377; - for (int _i1378 = 0; _i1378 < _list1376.size; ++_i1378) + org.apache.thrift.protocol.TList _list1384 = iprot.readListBegin(); + struct.success = new ArrayList(_list1384.size); + String _elem1385; + for (int _i1386 = 0; _i1386 < _list1384.size; ++_i1386) { - _elem1377 = iprot.readString(); - struct.success.add(_elem1377); + _elem1385 = iprot.readString(); + struct.success.add(_elem1385); } iprot.readListEnd(); } @@ -132893,9 +132893,9 @@ public void write(org.apache.thrift.protocol.TProtocol oprot, get_index_names_re oprot.writeFieldBegin(SUCCESS_FIELD_DESC); { oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, struct.success.size())); - for (String _iter1379 : struct.success) + for (String _iter1387 : struct.success) { - oprot.writeString(_iter1379); + oprot.writeString(_iter1387); } oprot.writeListEnd(); } @@ -132934,9 +132934,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_index_names_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1380 : struct.success) + for (String _iter1388 : struct.success) { - oprot.writeString(_iter1380); + oprot.writeString(_iter1388); } } } @@ -132951,13 +132951,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_index_names_resu BitSet incoming = iprot.readBitSet(2); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list1381 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1381.size); - String _elem1382; - for (int _i1383 = 0; _i1383 < _list1381.size; ++_i1383) + org.apache.thrift.protocol.TList _list1389 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1389.size); + String _elem1390; + for (int _i1391 = 0; _i1391 < _list1389.size; ++_i1391) { - _elem1382 = iprot.readString(); - struct.success.add(_elem1382); + _elem1390 = iprot.readString(); + struct.success.add(_elem1390); } } struct.setSuccessIsSet(true); @@ -153382,13 +153382,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 _list1384 = iprot.readListBegin(); - struct.success = new ArrayList(_list1384.size); - String _elem1385; - for (int _i1386 = 0; _i1386 < _list1384.size; ++_i1386) + org.apache.thrift.protocol.TList _list1392 = iprot.readListBegin(); + struct.success = new ArrayList(_list1392.size); + String _elem1393; + for (int _i1394 = 0; _i1394 < _list1392.size; ++_i1394) { - _elem1385 = iprot.readString(); - struct.success.add(_elem1385); + _elem1393 = iprot.readString(); + struct.success.add(_elem1393); } iprot.readListEnd(); } @@ -153423,9 +153423,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 _iter1387 : struct.success) + for (String _iter1395 : struct.success) { - oprot.writeString(_iter1387); + oprot.writeString(_iter1395); } oprot.writeListEnd(); } @@ -153464,9 +153464,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_functions_resul if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1388 : struct.success) + for (String _iter1396 : struct.success) { - oprot.writeString(_iter1388); + oprot.writeString(_iter1396); } } } @@ -153481,13 +153481,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 _list1389 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1389.size); - String _elem1390; - for (int _i1391 = 0; _i1391 < _list1389.size; ++_i1391) + org.apache.thrift.protocol.TList _list1397 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1397.size); + String _elem1398; + for (int _i1399 = 0; _i1399 < _list1397.size; ++_i1399) { - _elem1390 = iprot.readString(); - struct.success.add(_elem1390); + _elem1398 = iprot.readString(); + struct.success.add(_elem1398); } } struct.setSuccessIsSet(true); @@ -157542,13 +157542,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 _list1392 = iprot.readListBegin(); - struct.success = new ArrayList(_list1392.size); - String _elem1393; - for (int _i1394 = 0; _i1394 < _list1392.size; ++_i1394) + org.apache.thrift.protocol.TList _list1400 = iprot.readListBegin(); + struct.success = new ArrayList(_list1400.size); + String _elem1401; + for (int _i1402 = 0; _i1402 < _list1400.size; ++_i1402) { - _elem1393 = iprot.readString(); - struct.success.add(_elem1393); + _elem1401 = iprot.readString(); + struct.success.add(_elem1401); } iprot.readListEnd(); } @@ -157583,9 +157583,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 _iter1395 : struct.success) + for (String _iter1403 : struct.success) { - oprot.writeString(_iter1395); + oprot.writeString(_iter1403); } oprot.writeListEnd(); } @@ -157624,9 +157624,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_role_names_resu if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1396 : struct.success) + for (String _iter1404 : struct.success) { - oprot.writeString(_iter1396); + oprot.writeString(_iter1404); } } } @@ -157641,13 +157641,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 _list1397 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1397.size); - String _elem1398; - for (int _i1399 = 0; _i1399 < _list1397.size; ++_i1399) + org.apache.thrift.protocol.TList _list1405 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1405.size); + String _elem1406; + for (int _i1407 = 0; _i1407 < _list1405.size; ++_i1407) { - _elem1398 = iprot.readString(); - struct.success.add(_elem1398); + _elem1406 = iprot.readString(); + struct.success.add(_elem1406); } } struct.setSuccessIsSet(true); @@ -160938,14 +160938,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 _list1400 = iprot.readListBegin(); - struct.success = new ArrayList(_list1400.size); - Role _elem1401; - for (int _i1402 = 0; _i1402 < _list1400.size; ++_i1402) + org.apache.thrift.protocol.TList _list1408 = iprot.readListBegin(); + struct.success = new ArrayList(_list1408.size); + Role _elem1409; + for (int _i1410 = 0; _i1410 < _list1408.size; ++_i1410) { - _elem1401 = new Role(); - _elem1401.read(iprot); - struct.success.add(_elem1401); + _elem1409 = new Role(); + _elem1409.read(iprot); + struct.success.add(_elem1409); } iprot.readListEnd(); } @@ -160980,9 +160980,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 _iter1403 : struct.success) + for (Role _iter1411 : struct.success) { - _iter1403.write(oprot); + _iter1411.write(oprot); } oprot.writeListEnd(); } @@ -161021,9 +161021,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_roles_result s if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (Role _iter1404 : struct.success) + for (Role _iter1412 : struct.success) { - _iter1404.write(oprot); + _iter1412.write(oprot); } } } @@ -161038,14 +161038,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 _list1405 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1405.size); - Role _elem1406; - for (int _i1407 = 0; _i1407 < _list1405.size; ++_i1407) + org.apache.thrift.protocol.TList _list1413 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1413.size); + Role _elem1414; + for (int _i1415 = 0; _i1415 < _list1413.size; ++_i1415) { - _elem1406 = new Role(); - _elem1406.read(iprot); - struct.success.add(_elem1406); + _elem1414 = new Role(); + _elem1414.read(iprot); + struct.success.add(_elem1414); } } struct.setSuccessIsSet(true); @@ -164050,13 +164050,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 _list1408 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1408.size); - String _elem1409; - for (int _i1410 = 0; _i1410 < _list1408.size; ++_i1410) + org.apache.thrift.protocol.TList _list1416 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1416.size); + String _elem1417; + for (int _i1418 = 0; _i1418 < _list1416.size; ++_i1418) { - _elem1409 = iprot.readString(); - struct.group_names.add(_elem1409); + _elem1417 = iprot.readString(); + struct.group_names.add(_elem1417); } iprot.readListEnd(); } @@ -164092,9 +164092,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 _iter1411 : struct.group_names) + for (String _iter1419 : struct.group_names) { - oprot.writeString(_iter1411); + oprot.writeString(_iter1419); } oprot.writeListEnd(); } @@ -164137,9 +164137,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 _iter1412 : struct.group_names) + for (String _iter1420 : struct.group_names) { - oprot.writeString(_iter1412); + oprot.writeString(_iter1420); } } } @@ -164160,13 +164160,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, get_privilege_set_ar } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list1413 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1413.size); - String _elem1414; - for (int _i1415 = 0; _i1415 < _list1413.size; ++_i1415) + org.apache.thrift.protocol.TList _list1421 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1421.size); + String _elem1422; + for (int _i1423 = 0; _i1423 < _list1421.size; ++_i1423) { - _elem1414 = iprot.readString(); - struct.group_names.add(_elem1414); + _elem1422 = iprot.readString(); + struct.group_names.add(_elem1422); } } struct.setGroup_namesIsSet(true); @@ -165624,14 +165624,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 _list1416 = iprot.readListBegin(); - struct.success = new ArrayList(_list1416.size); - HiveObjectPrivilege _elem1417; - for (int _i1418 = 0; _i1418 < _list1416.size; ++_i1418) + org.apache.thrift.protocol.TList _list1424 = iprot.readListBegin(); + struct.success = new ArrayList(_list1424.size); + HiveObjectPrivilege _elem1425; + for (int _i1426 = 0; _i1426 < _list1424.size; ++_i1426) { - _elem1417 = new HiveObjectPrivilege(); - _elem1417.read(iprot); - struct.success.add(_elem1417); + _elem1425 = new HiveObjectPrivilege(); + _elem1425.read(iprot); + struct.success.add(_elem1425); } iprot.readListEnd(); } @@ -165666,9 +165666,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 _iter1419 : struct.success) + for (HiveObjectPrivilege _iter1427 : struct.success) { - _iter1419.write(oprot); + _iter1427.write(oprot); } oprot.writeListEnd(); } @@ -165707,9 +165707,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, list_privileges_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (HiveObjectPrivilege _iter1420 : struct.success) + for (HiveObjectPrivilege _iter1428 : struct.success) { - _iter1420.write(oprot); + _iter1428.write(oprot); } } } @@ -165724,14 +165724,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 _list1421 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.success = new ArrayList(_list1421.size); - HiveObjectPrivilege _elem1422; - for (int _i1423 = 0; _i1423 < _list1421.size; ++_i1423) + org.apache.thrift.protocol.TList _list1429 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.success = new ArrayList(_list1429.size); + HiveObjectPrivilege _elem1430; + for (int _i1431 = 0; _i1431 < _list1429.size; ++_i1431) { - _elem1422 = new HiveObjectPrivilege(); - _elem1422.read(iprot); - struct.success.add(_elem1422); + _elem1430 = new HiveObjectPrivilege(); + _elem1430.read(iprot); + struct.success.add(_elem1430); } } struct.setSuccessIsSet(true); @@ -168633,13 +168633,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 _list1424 = iprot.readListBegin(); - struct.group_names = new ArrayList(_list1424.size); - String _elem1425; - for (int _i1426 = 0; _i1426 < _list1424.size; ++_i1426) + org.apache.thrift.protocol.TList _list1432 = iprot.readListBegin(); + struct.group_names = new ArrayList(_list1432.size); + String _elem1433; + for (int _i1434 = 0; _i1434 < _list1432.size; ++_i1434) { - _elem1425 = iprot.readString(); - struct.group_names.add(_elem1425); + _elem1433 = iprot.readString(); + struct.group_names.add(_elem1433); } iprot.readListEnd(); } @@ -168670,9 +168670,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 _iter1427 : struct.group_names) + for (String _iter1435 : struct.group_names) { - oprot.writeString(_iter1427); + oprot.writeString(_iter1435); } oprot.writeListEnd(); } @@ -168709,9 +168709,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 _iter1428 : struct.group_names) + for (String _iter1436 : struct.group_names) { - oprot.writeString(_iter1428); + oprot.writeString(_iter1436); } } } @@ -168727,13 +168727,13 @@ public void read(org.apache.thrift.protocol.TProtocol prot, set_ugi_args struct) } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list1429 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.group_names = new ArrayList(_list1429.size); - String _elem1430; - for (int _i1431 = 0; _i1431 < _list1429.size; ++_i1431) + org.apache.thrift.protocol.TList _list1437 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.group_names = new ArrayList(_list1437.size); + String _elem1438; + for (int _i1439 = 0; _i1439 < _list1437.size; ++_i1439) { - _elem1430 = iprot.readString(); - struct.group_names.add(_elem1430); + _elem1438 = iprot.readString(); + struct.group_names.add(_elem1438); } } struct.setGroup_namesIsSet(true); @@ -169136,13 +169136,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 _list1432 = iprot.readListBegin(); - struct.success = new ArrayList(_list1432.size); - String _elem1433; - for (int _i1434 = 0; _i1434 < _list1432.size; ++_i1434) + org.apache.thrift.protocol.TList _list1440 = iprot.readListBegin(); + struct.success = new ArrayList(_list1440.size); + String _elem1441; + for (int _i1442 = 0; _i1442 < _list1440.size; ++_i1442) { - _elem1433 = iprot.readString(); - struct.success.add(_elem1433); + _elem1441 = iprot.readString(); + struct.success.add(_elem1441); } iprot.readListEnd(); } @@ -169177,9 +169177,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 _iter1435 : struct.success) + for (String _iter1443 : struct.success) { - oprot.writeString(_iter1435); + oprot.writeString(_iter1443); } oprot.writeListEnd(); } @@ -169218,9 +169218,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, set_ugi_result stru if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1436 : struct.success) + for (String _iter1444 : struct.success) { - oprot.writeString(_iter1436); + oprot.writeString(_iter1444); } } } @@ -169235,13 +169235,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 _list1437 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1437.size); - String _elem1438; - for (int _i1439 = 0; _i1439 < _list1437.size; ++_i1439) + org.apache.thrift.protocol.TList _list1445 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1445.size); + String _elem1446; + for (int _i1447 = 0; _i1447 < _list1445.size; ++_i1447) { - _elem1438 = iprot.readString(); - struct.success.add(_elem1438); + _elem1446 = iprot.readString(); + struct.success.add(_elem1446); } } struct.setSuccessIsSet(true); @@ -174532,13 +174532,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 _list1440 = iprot.readListBegin(); - struct.success = new ArrayList(_list1440.size); - String _elem1441; - for (int _i1442 = 0; _i1442 < _list1440.size; ++_i1442) + org.apache.thrift.protocol.TList _list1448 = iprot.readListBegin(); + struct.success = new ArrayList(_list1448.size); + String _elem1449; + for (int _i1450 = 0; _i1450 < _list1448.size; ++_i1450) { - _elem1441 = iprot.readString(); - struct.success.add(_elem1441); + _elem1449 = iprot.readString(); + struct.success.add(_elem1449); } iprot.readListEnd(); } @@ -174564,9 +174564,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 _iter1443 : struct.success) + for (String _iter1451 : struct.success) { - oprot.writeString(_iter1443); + oprot.writeString(_iter1451); } oprot.writeListEnd(); } @@ -174597,9 +174597,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_all_token_ident if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1444 : struct.success) + for (String _iter1452 : struct.success) { - oprot.writeString(_iter1444); + oprot.writeString(_iter1452); } } } @@ -174611,13 +174611,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 _list1445 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1445.size); - String _elem1446; - for (int _i1447 = 0; _i1447 < _list1445.size; ++_i1447) + org.apache.thrift.protocol.TList _list1453 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1453.size); + String _elem1454; + for (int _i1455 = 0; _i1455 < _list1453.size; ++_i1455) { - _elem1446 = iprot.readString(); - struct.success.add(_elem1446); + _elem1454 = iprot.readString(); + struct.success.add(_elem1454); } } struct.setSuccessIsSet(true); @@ -177647,13 +177647,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 _list1448 = iprot.readListBegin(); - struct.success = new ArrayList(_list1448.size); - String _elem1449; - for (int _i1450 = 0; _i1450 < _list1448.size; ++_i1450) + org.apache.thrift.protocol.TList _list1456 = iprot.readListBegin(); + struct.success = new ArrayList(_list1456.size); + String _elem1457; + for (int _i1458 = 0; _i1458 < _list1456.size; ++_i1458) { - _elem1449 = iprot.readString(); - struct.success.add(_elem1449); + _elem1457 = iprot.readString(); + struct.success.add(_elem1457); } iprot.readListEnd(); } @@ -177679,9 +177679,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 _iter1451 : struct.success) + for (String _iter1459 : struct.success) { - oprot.writeString(_iter1451); + oprot.writeString(_iter1459); } oprot.writeListEnd(); } @@ -177712,9 +177712,9 @@ public void write(org.apache.thrift.protocol.TProtocol prot, get_master_keys_res if (struct.isSetSuccess()) { { oprot.writeI32(struct.success.size()); - for (String _iter1452 : struct.success) + for (String _iter1460 : struct.success) { - oprot.writeString(_iter1452); + oprot.writeString(_iter1460); } } } @@ -177726,13 +177726,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 _list1453 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.success = new ArrayList(_list1453.size); - String _elem1454; - for (int _i1455 = 0; _i1455 < _list1453.size; ++_i1455) + org.apache.thrift.protocol.TList _list1461 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.success = new ArrayList(_list1461.size); + String _elem1462; + for (int _i1463 = 0; _i1463 < _list1461.size; ++_i1463) { - _elem1454 = iprot.readString(); - struct.success.add(_elem1454); + _elem1462 = iprot.readString(); + struct.success.add(_elem1462); } } 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 dedbcce731..882542c576 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 _list810 = iprot.readListBegin(); - struct.pools = new ArrayList(_list810.size); - WMPool _elem811; - for (int _i812 = 0; _i812 < _list810.size; ++_i812) + org.apache.thrift.protocol.TList _list818 = iprot.readListBegin(); + struct.pools = new ArrayList(_list818.size); + WMPool _elem819; + for (int _i820 = 0; _i820 < _list818.size; ++_i820) { - _elem811 = new WMPool(); - _elem811.read(iprot); - struct.pools.add(_elem811); + _elem819 = new WMPool(); + _elem819.read(iprot); + struct.pools.add(_elem819); } 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 _list813 = iprot.readListBegin(); - struct.mappings = new ArrayList(_list813.size); - WMMapping _elem814; - for (int _i815 = 0; _i815 < _list813.size; ++_i815) + org.apache.thrift.protocol.TList _list821 = iprot.readListBegin(); + struct.mappings = new ArrayList(_list821.size); + WMMapping _elem822; + for (int _i823 = 0; _i823 < _list821.size; ++_i823) { - _elem814 = new WMMapping(); - _elem814.read(iprot); - struct.mappings.add(_elem814); + _elem822 = new WMMapping(); + _elem822.read(iprot); + struct.mappings.add(_elem822); } 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 _list816 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list816.size); - WMTrigger _elem817; - for (int _i818 = 0; _i818 < _list816.size; ++_i818) + org.apache.thrift.protocol.TList _list824 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list824.size); + WMTrigger _elem825; + for (int _i826 = 0; _i826 < _list824.size; ++_i826) { - _elem817 = new WMTrigger(); - _elem817.read(iprot); - struct.triggers.add(_elem817); + _elem825 = new WMTrigger(); + _elem825.read(iprot); + struct.triggers.add(_elem825); } 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 _list819 = iprot.readListBegin(); - struct.poolTriggers = new ArrayList(_list819.size); - WMPoolTrigger _elem820; - for (int _i821 = 0; _i821 < _list819.size; ++_i821) + org.apache.thrift.protocol.TList _list827 = iprot.readListBegin(); + struct.poolTriggers = new ArrayList(_list827.size); + WMPoolTrigger _elem828; + for (int _i829 = 0; _i829 < _list827.size; ++_i829) { - _elem820 = new WMPoolTrigger(); - _elem820.read(iprot); - struct.poolTriggers.add(_elem820); + _elem828 = new WMPoolTrigger(); + _elem828.read(iprot); + struct.poolTriggers.add(_elem828); } 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 _iter822 : struct.pools) + for (WMPool _iter830 : struct.pools) { - _iter822.write(oprot); + _iter830.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 _iter823 : struct.mappings) + for (WMMapping _iter831 : struct.mappings) { - _iter823.write(oprot); + _iter831.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 _iter824 : struct.triggers) + for (WMTrigger _iter832 : struct.triggers) { - _iter824.write(oprot); + _iter832.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 _iter825 : struct.poolTriggers) + for (WMPoolTrigger _iter833 : struct.poolTriggers) { - _iter825.write(oprot); + _iter833.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 _iter826 : struct.pools) + for (WMPool _iter834 : struct.pools) { - _iter826.write(oprot); + _iter834.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 _iter827 : struct.mappings) + for (WMMapping _iter835 : struct.mappings) { - _iter827.write(oprot); + _iter835.write(oprot); } } } if (struct.isSetTriggers()) { { oprot.writeI32(struct.triggers.size()); - for (WMTrigger _iter828 : struct.triggers) + for (WMTrigger _iter836 : struct.triggers) { - _iter828.write(oprot); + _iter836.write(oprot); } } } if (struct.isSetPoolTriggers()) { { oprot.writeI32(struct.poolTriggers.size()); - for (WMPoolTrigger _iter829 : struct.poolTriggers) + for (WMPoolTrigger _iter837 : struct.poolTriggers) { - _iter829.write(oprot); + _iter837.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 _list830 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.pools = new ArrayList(_list830.size); - WMPool _elem831; - for (int _i832 = 0; _i832 < _list830.size; ++_i832) + org.apache.thrift.protocol.TList _list838 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.pools = new ArrayList(_list838.size); + WMPool _elem839; + for (int _i840 = 0; _i840 < _list838.size; ++_i840) { - _elem831 = new WMPool(); - _elem831.read(iprot); - struct.pools.add(_elem831); + _elem839 = new WMPool(); + _elem839.read(iprot); + struct.pools.add(_elem839); } } struct.setPoolsIsSet(true); BitSet incoming = iprot.readBitSet(3); if (incoming.get(0)) { { - org.apache.thrift.protocol.TList _list833 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.mappings = new ArrayList(_list833.size); - WMMapping _elem834; - for (int _i835 = 0; _i835 < _list833.size; ++_i835) + org.apache.thrift.protocol.TList _list841 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.mappings = new ArrayList(_list841.size); + WMMapping _elem842; + for (int _i843 = 0; _i843 < _list841.size; ++_i843) { - _elem834 = new WMMapping(); - _elem834.read(iprot); - struct.mappings.add(_elem834); + _elem842 = new WMMapping(); + _elem842.read(iprot); + struct.mappings.add(_elem842); } } struct.setMappingsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list836 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list836.size); - WMTrigger _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.triggers = new ArrayList(_list844.size); + WMTrigger _elem845; + for (int _i846 = 0; _i846 < _list844.size; ++_i846) { - _elem837 = new WMTrigger(); - _elem837.read(iprot); - struct.triggers.add(_elem837); + _elem845 = new WMTrigger(); + _elem845.read(iprot); + struct.triggers.add(_elem845); } } struct.setTriggersIsSet(true); } if (incoming.get(2)) { { - org.apache.thrift.protocol.TList _list839 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.poolTriggers = new ArrayList(_list839.size); - WMPoolTrigger _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.poolTriggers = new ArrayList(_list847.size); + WMPoolTrigger _elem848; + for (int _i849 = 0; _i849 < _list847.size; ++_i849) { - _elem840 = new WMPoolTrigger(); - _elem840.read(iprot); - struct.poolTriggers.add(_elem840); + _elem848 = new WMPoolTrigger(); + _elem848.read(iprot); + struct.poolTriggers.add(_elem848); } } 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 59bf429afd..00db4b2756 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 _list842 = iprot.readListBegin(); - struct.resourcePlans = new ArrayList(_list842.size); - WMResourcePlan _elem843; - for (int _i844 = 0; _i844 < _list842.size; ++_i844) + org.apache.thrift.protocol.TList _list850 = iprot.readListBegin(); + struct.resourcePlans = new ArrayList(_list850.size); + WMResourcePlan _elem851; + for (int _i852 = 0; _i852 < _list850.size; ++_i852) { - _elem843 = new WMResourcePlan(); - _elem843.read(iprot); - struct.resourcePlans.add(_elem843); + _elem851 = new WMResourcePlan(); + _elem851.read(iprot); + struct.resourcePlans.add(_elem851); } 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 _iter845 : struct.resourcePlans) + for (WMResourcePlan _iter853 : struct.resourcePlans) { - _iter845.write(oprot); + _iter853.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 _iter846 : struct.resourcePlans) + for (WMResourcePlan _iter854 : struct.resourcePlans) { - _iter846.write(oprot); + _iter854.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 _list847 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.resourcePlans = new ArrayList(_list847.size); - WMResourcePlan _elem848; - for (int _i849 = 0; _i849 < _list847.size; ++_i849) + org.apache.thrift.protocol.TList _list855 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.resourcePlans = new ArrayList(_list855.size); + WMResourcePlan _elem856; + for (int _i857 = 0; _i857 < _list855.size; ++_i857) { - _elem848 = new WMResourcePlan(); - _elem848.read(iprot); - struct.resourcePlans.add(_elem848); + _elem856 = new WMResourcePlan(); + _elem856.read(iprot); + struct.resourcePlans.add(_elem856); } } 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 5c6d680186..692a5eaaef 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 _list866 = iprot.readListBegin(); - struct.triggers = new ArrayList(_list866.size); - WMTrigger _elem867; - for (int _i868 = 0; _i868 < _list866.size; ++_i868) + org.apache.thrift.protocol.TList _list874 = iprot.readListBegin(); + struct.triggers = new ArrayList(_list874.size); + WMTrigger _elem875; + for (int _i876 = 0; _i876 < _list874.size; ++_i876) { - _elem867 = new WMTrigger(); - _elem867.read(iprot); - struct.triggers.add(_elem867); + _elem875 = new WMTrigger(); + _elem875.read(iprot); + struct.triggers.add(_elem875); } 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 _iter869 : struct.triggers) + for (WMTrigger _iter877 : struct.triggers) { - _iter869.write(oprot); + _iter877.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 _iter870 : struct.triggers) + for (WMTrigger _iter878 : struct.triggers) { - _iter870.write(oprot); + _iter878.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 _list871 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); - struct.triggers = new ArrayList(_list871.size); - WMTrigger _elem872; - for (int _i873 = 0; _i873 < _list871.size; ++_i873) + org.apache.thrift.protocol.TList _list879 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, iprot.readI32()); + struct.triggers = new ArrayList(_list879.size); + WMTrigger _elem880; + for (int _i881 = 0; _i881 < _list879.size; ++_i881) { - _elem872 = new WMTrigger(); - _elem872.read(iprot); - struct.triggers.add(_elem872); + _elem880 = new WMTrigger(); + _elem880.read(iprot); + struct.triggers.add(_elem880); } } 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 dba307a1ae..47b53de10c 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 _list850 = iprot.readListBegin(); - struct.errors = new ArrayList(_list850.size); - String _elem851; - for (int _i852 = 0; _i852 < _list850.size; ++_i852) + org.apache.thrift.protocol.TList _list858 = iprot.readListBegin(); + struct.errors = new ArrayList(_list858.size); + String _elem859; + for (int _i860 = 0; _i860 < _list858.size; ++_i860) { - _elem851 = iprot.readString(); - struct.errors.add(_elem851); + _elem859 = iprot.readString(); + struct.errors.add(_elem859); } 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 _list853 = iprot.readListBegin(); - struct.warnings = new ArrayList(_list853.size); - String _elem854; - for (int _i855 = 0; _i855 < _list853.size; ++_i855) + org.apache.thrift.protocol.TList _list861 = iprot.readListBegin(); + struct.warnings = new ArrayList(_list861.size); + String _elem862; + for (int _i863 = 0; _i863 < _list861.size; ++_i863) { - _elem854 = iprot.readString(); - struct.warnings.add(_elem854); + _elem862 = iprot.readString(); + struct.warnings.add(_elem862); } 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 _iter856 : struct.errors) + for (String _iter864 : struct.errors) { - oprot.writeString(_iter856); + oprot.writeString(_iter864); } 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 _iter857 : struct.warnings) + for (String _iter865 : struct.warnings) { - oprot.writeString(_iter857); + oprot.writeString(_iter865); } 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 _iter858 : struct.errors) + for (String _iter866 : struct.errors) { - oprot.writeString(_iter858); + oprot.writeString(_iter866); } } } if (struct.isSetWarnings()) { { oprot.writeI32(struct.warnings.size()); - for (String _iter859 : struct.warnings) + for (String _iter867 : struct.warnings) { - oprot.writeString(_iter859); + oprot.writeString(_iter867); } } } @@ -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 _list860 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.errors = new ArrayList(_list860.size); - String _elem861; - for (int _i862 = 0; _i862 < _list860.size; ++_i862) + org.apache.thrift.protocol.TList _list868 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.errors = new ArrayList(_list868.size); + String _elem869; + for (int _i870 = 0; _i870 < _list868.size; ++_i870) { - _elem861 = iprot.readString(); - struct.errors.add(_elem861); + _elem869 = iprot.readString(); + struct.errors.add(_elem869); } } struct.setErrorsIsSet(true); } if (incoming.get(1)) { { - org.apache.thrift.protocol.TList _list863 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); - struct.warnings = new ArrayList(_list863.size); - String _elem864; - for (int _i865 = 0; _i865 < _list863.size; ++_i865) + org.apache.thrift.protocol.TList _list871 = new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, iprot.readI32()); + struct.warnings = new ArrayList(_list871.size); + String _elem872; + for (int _i873 = 0; _i873 < _list871.size; ++_i873) { - _elem864 = iprot.readString(); - struct.warnings.add(_elem864); + _elem872 = iprot.readString(); + struct.warnings.add(_elem872); } } 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 57b6bfa110..fe6a3b8a44 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php @@ -13190,14 +13190,14 @@ class ThriftHiveMetastore_get_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size773 = 0; - $_etype776 = 0; - $xfer += $input->readListBegin($_etype776, $_size773); - for ($_i777 = 0; $_i777 < $_size773; ++$_i777) + $_size780 = 0; + $_etype783 = 0; + $xfer += $input->readListBegin($_etype783, $_size780); + for ($_i784 = 0; $_i784 < $_size780; ++$_i784) { - $elem778 = null; - $xfer += $input->readString($elem778); - $this->success []= $elem778; + $elem785 = null; + $xfer += $input->readString($elem785); + $this->success []= $elem785; } $xfer += $input->readListEnd(); } else { @@ -13233,9 +13233,9 @@ class ThriftHiveMetastore_get_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter779) + foreach ($this->success as $iter786) { - $xfer += $output->writeString($iter779); + $xfer += $output->writeString($iter786); } } $output->writeListEnd(); @@ -13366,14 +13366,14 @@ class ThriftHiveMetastore_get_all_databases_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size780 = 0; - $_etype783 = 0; - $xfer += $input->readListBegin($_etype783, $_size780); - for ($_i784 = 0; $_i784 < $_size780; ++$_i784) + $_size787 = 0; + $_etype790 = 0; + $xfer += $input->readListBegin($_etype790, $_size787); + for ($_i791 = 0; $_i791 < $_size787; ++$_i791) { - $elem785 = null; - $xfer += $input->readString($elem785); - $this->success []= $elem785; + $elem792 = null; + $xfer += $input->readString($elem792); + $this->success []= $elem792; } $xfer += $input->readListEnd(); } else { @@ -13409,9 +13409,9 @@ class ThriftHiveMetastore_get_all_databases_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter786) + foreach ($this->success as $iter793) { - $xfer += $output->writeString($iter786); + $xfer += $output->writeString($iter793); } } $output->writeListEnd(); @@ -14412,18 +14412,18 @@ class ThriftHiveMetastore_get_type_all_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size787 = 0; - $_ktype788 = 0; - $_vtype789 = 0; - $xfer += $input->readMapBegin($_ktype788, $_vtype789, $_size787); - for ($_i791 = 0; $_i791 < $_size787; ++$_i791) + $_size794 = 0; + $_ktype795 = 0; + $_vtype796 = 0; + $xfer += $input->readMapBegin($_ktype795, $_vtype796, $_size794); + for ($_i798 = 0; $_i798 < $_size794; ++$_i798) { - $key792 = ''; - $val793 = new \metastore\Type(); - $xfer += $input->readString($key792); - $val793 = new \metastore\Type(); - $xfer += $val793->read($input); - $this->success[$key792] = $val793; + $key799 = ''; + $val800 = new \metastore\Type(); + $xfer += $input->readString($key799); + $val800 = new \metastore\Type(); + $xfer += $val800->read($input); + $this->success[$key799] = $val800; } $xfer += $input->readMapEnd(); } else { @@ -14459,10 +14459,10 @@ class ThriftHiveMetastore_get_type_all_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter794 => $viter795) + foreach ($this->success as $kiter801 => $viter802) { - $xfer += $output->writeString($kiter794); - $xfer += $viter795->write($output); + $xfer += $output->writeString($kiter801); + $xfer += $viter802->write($output); } } $output->writeMapEnd(); @@ -14666,15 +14666,15 @@ class ThriftHiveMetastore_get_fields_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size796 = 0; - $_etype799 = 0; - $xfer += $input->readListBegin($_etype799, $_size796); - for ($_i800 = 0; $_i800 < $_size796; ++$_i800) + $_size803 = 0; + $_etype806 = 0; + $xfer += $input->readListBegin($_etype806, $_size803); + for ($_i807 = 0; $_i807 < $_size803; ++$_i807) { - $elem801 = null; - $elem801 = new \metastore\FieldSchema(); - $xfer += $elem801->read($input); - $this->success []= $elem801; + $elem808 = null; + $elem808 = new \metastore\FieldSchema(); + $xfer += $elem808->read($input); + $this->success []= $elem808; } $xfer += $input->readListEnd(); } else { @@ -14726,9 +14726,9 @@ class ThriftHiveMetastore_get_fields_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter802) + foreach ($this->success as $iter809) { - $xfer += $iter802->write($output); + $xfer += $iter809->write($output); } } $output->writeListEnd(); @@ -14970,15 +14970,15 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size803 = 0; - $_etype806 = 0; - $xfer += $input->readListBegin($_etype806, $_size803); - for ($_i807 = 0; $_i807 < $_size803; ++$_i807) + $_size810 = 0; + $_etype813 = 0; + $xfer += $input->readListBegin($_etype813, $_size810); + for ($_i814 = 0; $_i814 < $_size810; ++$_i814) { - $elem808 = null; - $elem808 = new \metastore\FieldSchema(); - $xfer += $elem808->read($input); - $this->success []= $elem808; + $elem815 = null; + $elem815 = new \metastore\FieldSchema(); + $xfer += $elem815->read($input); + $this->success []= $elem815; } $xfer += $input->readListEnd(); } else { @@ -15030,9 +15030,9 @@ class ThriftHiveMetastore_get_fields_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter809) + foreach ($this->success as $iter816) { - $xfer += $iter809->write($output); + $xfer += $iter816->write($output); } } $output->writeListEnd(); @@ -15246,15 +15246,15 @@ class ThriftHiveMetastore_get_schema_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size810 = 0; - $_etype813 = 0; - $xfer += $input->readListBegin($_etype813, $_size810); - for ($_i814 = 0; $_i814 < $_size810; ++$_i814) + $_size817 = 0; + $_etype820 = 0; + $xfer += $input->readListBegin($_etype820, $_size817); + for ($_i821 = 0; $_i821 < $_size817; ++$_i821) { - $elem815 = null; - $elem815 = new \metastore\FieldSchema(); - $xfer += $elem815->read($input); - $this->success []= $elem815; + $elem822 = null; + $elem822 = new \metastore\FieldSchema(); + $xfer += $elem822->read($input); + $this->success []= $elem822; } $xfer += $input->readListEnd(); } else { @@ -15306,9 +15306,9 @@ class ThriftHiveMetastore_get_schema_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter816) + foreach ($this->success as $iter823) { - $xfer += $iter816->write($output); + $xfer += $iter823->write($output); } } $output->writeListEnd(); @@ -15550,15 +15550,15 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size817 = 0; - $_etype820 = 0; - $xfer += $input->readListBegin($_etype820, $_size817); - for ($_i821 = 0; $_i821 < $_size817; ++$_i821) + $_size824 = 0; + $_etype827 = 0; + $xfer += $input->readListBegin($_etype827, $_size824); + for ($_i828 = 0; $_i828 < $_size824; ++$_i828) { - $elem822 = null; - $elem822 = new \metastore\FieldSchema(); - $xfer += $elem822->read($input); - $this->success []= $elem822; + $elem829 = null; + $elem829 = new \metastore\FieldSchema(); + $xfer += $elem829->read($input); + $this->success []= $elem829; } $xfer += $input->readListEnd(); } else { @@ -15610,9 +15610,9 @@ class ThriftHiveMetastore_get_schema_with_environment_context_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter823) + foreach ($this->success as $iter830) { - $xfer += $iter823->write($output); + $xfer += $iter830->write($output); } } $output->writeListEnd(); @@ -16268,15 +16268,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 2: if ($ftype == TType::LST) { $this->primaryKeys = array(); - $_size824 = 0; - $_etype827 = 0; - $xfer += $input->readListBegin($_etype827, $_size824); - for ($_i828 = 0; $_i828 < $_size824; ++$_i828) + $_size831 = 0; + $_etype834 = 0; + $xfer += $input->readListBegin($_etype834, $_size831); + for ($_i835 = 0; $_i835 < $_size831; ++$_i835) { - $elem829 = null; - $elem829 = new \metastore\SQLPrimaryKey(); - $xfer += $elem829->read($input); - $this->primaryKeys []= $elem829; + $elem836 = null; + $elem836 = new \metastore\SQLPrimaryKey(); + $xfer += $elem836->read($input); + $this->primaryKeys []= $elem836; } $xfer += $input->readListEnd(); } else { @@ -16286,15 +16286,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 3: if ($ftype == TType::LST) { $this->foreignKeys = array(); - $_size830 = 0; - $_etype833 = 0; - $xfer += $input->readListBegin($_etype833, $_size830); - for ($_i834 = 0; $_i834 < $_size830; ++$_i834) + $_size837 = 0; + $_etype840 = 0; + $xfer += $input->readListBegin($_etype840, $_size837); + for ($_i841 = 0; $_i841 < $_size837; ++$_i841) { - $elem835 = null; - $elem835 = new \metastore\SQLForeignKey(); - $xfer += $elem835->read($input); - $this->foreignKeys []= $elem835; + $elem842 = null; + $elem842 = new \metastore\SQLForeignKey(); + $xfer += $elem842->read($input); + $this->foreignKeys []= $elem842; } $xfer += $input->readListEnd(); } else { @@ -16304,15 +16304,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 4: if ($ftype == TType::LST) { $this->uniqueConstraints = 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\SQLUniqueConstraint(); - $xfer += $elem841->read($input); - $this->uniqueConstraints []= $elem841; + $elem848 = null; + $elem848 = new \metastore\SQLUniqueConstraint(); + $xfer += $elem848->read($input); + $this->uniqueConstraints []= $elem848; } $xfer += $input->readListEnd(); } else { @@ -16322,15 +16322,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 5: if ($ftype == TType::LST) { $this->notNullConstraints = array(); - $_size842 = 0; - $_etype845 = 0; - $xfer += $input->readListBegin($_etype845, $_size842); - for ($_i846 = 0; $_i846 < $_size842; ++$_i846) + $_size849 = 0; + $_etype852 = 0; + $xfer += $input->readListBegin($_etype852, $_size849); + for ($_i853 = 0; $_i853 < $_size849; ++$_i853) { - $elem847 = null; - $elem847 = new \metastore\SQLNotNullConstraint(); - $xfer += $elem847->read($input); - $this->notNullConstraints []= $elem847; + $elem854 = null; + $elem854 = new \metastore\SQLNotNullConstraint(); + $xfer += $elem854->read($input); + $this->notNullConstraints []= $elem854; } $xfer += $input->readListEnd(); } else { @@ -16340,15 +16340,15 @@ class ThriftHiveMetastore_create_table_with_constraints_args { case 6: if ($ftype == TType::LST) { $this->defaultConstraints = array(); - $_size848 = 0; - $_etype851 = 0; - $xfer += $input->readListBegin($_etype851, $_size848); - for ($_i852 = 0; $_i852 < $_size848; ++$_i852) + $_size855 = 0; + $_etype858 = 0; + $xfer += $input->readListBegin($_etype858, $_size855); + for ($_i859 = 0; $_i859 < $_size855; ++$_i859) { - $elem853 = null; - $elem853 = new \metastore\SQLDefaultConstraint(); - $xfer += $elem853->read($input); - $this->defaultConstraints []= $elem853; + $elem860 = null; + $elem860 = new \metastore\SQLDefaultConstraint(); + $xfer += $elem860->read($input); + $this->defaultConstraints []= $elem860; } $xfer += $input->readListEnd(); } else { @@ -16384,9 +16384,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->primaryKeys)); { - foreach ($this->primaryKeys as $iter854) + foreach ($this->primaryKeys as $iter861) { - $xfer += $iter854->write($output); + $xfer += $iter861->write($output); } } $output->writeListEnd(); @@ -16401,9 +16401,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->foreignKeys)); { - foreach ($this->foreignKeys as $iter855) + foreach ($this->foreignKeys as $iter862) { - $xfer += $iter855->write($output); + $xfer += $iter862->write($output); } } $output->writeListEnd(); @@ -16418,9 +16418,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->uniqueConstraints)); { - foreach ($this->uniqueConstraints as $iter856) + foreach ($this->uniqueConstraints as $iter863) { - $xfer += $iter856->write($output); + $xfer += $iter863->write($output); } } $output->writeListEnd(); @@ -16435,9 +16435,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->notNullConstraints)); { - foreach ($this->notNullConstraints as $iter857) + foreach ($this->notNullConstraints as $iter864) { - $xfer += $iter857->write($output); + $xfer += $iter864->write($output); } } $output->writeListEnd(); @@ -16452,9 +16452,9 @@ class ThriftHiveMetastore_create_table_with_constraints_args { { $output->writeListBegin(TType::STRUCT, count($this->defaultConstraints)); { - foreach ($this->defaultConstraints as $iter858) + foreach ($this->defaultConstraints as $iter865) { - $xfer += $iter858->write($output); + $xfer += $iter865->write($output); } } $output->writeListEnd(); @@ -18272,14 +18272,14 @@ class ThriftHiveMetastore_truncate_table_args { case 3: if ($ftype == TType::LST) { $this->partNames = array(); - $_size859 = 0; - $_etype862 = 0; - $xfer += $input->readListBegin($_etype862, $_size859); - for ($_i863 = 0; $_i863 < $_size859; ++$_i863) + $_size866 = 0; + $_etype869 = 0; + $xfer += $input->readListBegin($_etype869, $_size866); + for ($_i870 = 0; $_i870 < $_size866; ++$_i870) { - $elem864 = null; - $xfer += $input->readString($elem864); - $this->partNames []= $elem864; + $elem871 = null; + $xfer += $input->readString($elem871); + $this->partNames []= $elem871; } $xfer += $input->readListEnd(); } else { @@ -18317,9 +18317,9 @@ class ThriftHiveMetastore_truncate_table_args { { $output->writeListBegin(TType::STRING, count($this->partNames)); { - foreach ($this->partNames as $iter865) + foreach ($this->partNames as $iter872) { - $xfer += $output->writeString($iter865); + $xfer += $output->writeString($iter872); } } $output->writeListEnd(); @@ -18570,14 +18570,14 @@ class ThriftHiveMetastore_get_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size866 = 0; - $_etype869 = 0; - $xfer += $input->readListBegin($_etype869, $_size866); - for ($_i870 = 0; $_i870 < $_size866; ++$_i870) + $_size873 = 0; + $_etype876 = 0; + $xfer += $input->readListBegin($_etype876, $_size873); + for ($_i877 = 0; $_i877 < $_size873; ++$_i877) { - $elem871 = null; - $xfer += $input->readString($elem871); - $this->success []= $elem871; + $elem878 = null; + $xfer += $input->readString($elem878); + $this->success []= $elem878; } $xfer += $input->readListEnd(); } else { @@ -18613,9 +18613,9 @@ class ThriftHiveMetastore_get_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter872) + foreach ($this->success as $iter879) { - $xfer += $output->writeString($iter872); + $xfer += $output->writeString($iter879); } } $output->writeListEnd(); @@ -18817,14 +18817,14 @@ class ThriftHiveMetastore_get_tables_by_type_result { case 0: if ($ftype == TType::LST) { $this->success = 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; - $xfer += $input->readString($elem878); - $this->success []= $elem878; + $elem885 = null; + $xfer += $input->readString($elem885); + $this->success []= $elem885; } $xfer += $input->readListEnd(); } else { @@ -18860,9 +18860,9 @@ class ThriftHiveMetastore_get_tables_by_type_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter879) + foreach ($this->success as $iter886) { - $xfer += $output->writeString($iter879); + $xfer += $output->writeString($iter886); } } $output->writeListEnd(); @@ -19018,14 +19018,14 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size880 = 0; - $_etype883 = 0; - $xfer += $input->readListBegin($_etype883, $_size880); - for ($_i884 = 0; $_i884 < $_size880; ++$_i884) + $_size887 = 0; + $_etype890 = 0; + $xfer += $input->readListBegin($_etype890, $_size887); + for ($_i891 = 0; $_i891 < $_size887; ++$_i891) { - $elem885 = null; - $xfer += $input->readString($elem885); - $this->success []= $elem885; + $elem892 = null; + $xfer += $input->readString($elem892); + $this->success []= $elem892; } $xfer += $input->readListEnd(); } else { @@ -19061,9 +19061,9 @@ class ThriftHiveMetastore_get_materialized_views_for_rewriting_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter886) + foreach ($this->success as $iter893) { - $xfer += $output->writeString($iter886); + $xfer += $output->writeString($iter893); } } $output->writeListEnd(); @@ -19168,14 +19168,14 @@ class ThriftHiveMetastore_get_table_meta_args { case 3: if ($ftype == TType::LST) { $this->tbl_types = array(); - $_size887 = 0; - $_etype890 = 0; - $xfer += $input->readListBegin($_etype890, $_size887); - for ($_i891 = 0; $_i891 < $_size887; ++$_i891) + $_size894 = 0; + $_etype897 = 0; + $xfer += $input->readListBegin($_etype897, $_size894); + for ($_i898 = 0; $_i898 < $_size894; ++$_i898) { - $elem892 = null; - $xfer += $input->readString($elem892); - $this->tbl_types []= $elem892; + $elem899 = null; + $xfer += $input->readString($elem899); + $this->tbl_types []= $elem899; } $xfer += $input->readListEnd(); } else { @@ -19213,9 +19213,9 @@ class ThriftHiveMetastore_get_table_meta_args { { $output->writeListBegin(TType::STRING, count($this->tbl_types)); { - foreach ($this->tbl_types as $iter893) + foreach ($this->tbl_types as $iter900) { - $xfer += $output->writeString($iter893); + $xfer += $output->writeString($iter900); } } $output->writeListEnd(); @@ -19292,15 +19292,15 @@ class ThriftHiveMetastore_get_table_meta_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size894 = 0; - $_etype897 = 0; - $xfer += $input->readListBegin($_etype897, $_size894); - for ($_i898 = 0; $_i898 < $_size894; ++$_i898) + $_size901 = 0; + $_etype904 = 0; + $xfer += $input->readListBegin($_etype904, $_size901); + for ($_i905 = 0; $_i905 < $_size901; ++$_i905) { - $elem899 = null; - $elem899 = new \metastore\TableMeta(); - $xfer += $elem899->read($input); - $this->success []= $elem899; + $elem906 = null; + $elem906 = new \metastore\TableMeta(); + $xfer += $elem906->read($input); + $this->success []= $elem906; } $xfer += $input->readListEnd(); } else { @@ -19336,9 +19336,9 @@ class ThriftHiveMetastore_get_table_meta_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter900) + foreach ($this->success as $iter907) { - $xfer += $iter900->write($output); + $xfer += $iter907->write($output); } } $output->writeListEnd(); @@ -19494,14 +19494,14 @@ class ThriftHiveMetastore_get_all_tables_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size901 = 0; - $_etype904 = 0; - $xfer += $input->readListBegin($_etype904, $_size901); - for ($_i905 = 0; $_i905 < $_size901; ++$_i905) + $_size908 = 0; + $_etype911 = 0; + $xfer += $input->readListBegin($_etype911, $_size908); + for ($_i912 = 0; $_i912 < $_size908; ++$_i912) { - $elem906 = null; - $xfer += $input->readString($elem906); - $this->success []= $elem906; + $elem913 = null; + $xfer += $input->readString($elem913); + $this->success []= $elem913; } $xfer += $input->readListEnd(); } else { @@ -19537,9 +19537,9 @@ class ThriftHiveMetastore_get_all_tables_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter907) + foreach ($this->success as $iter914) { - $xfer += $output->writeString($iter907); + $xfer += $output->writeString($iter914); } } $output->writeListEnd(); @@ -19854,14 +19854,14 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size908 = 0; - $_etype911 = 0; - $xfer += $input->readListBegin($_etype911, $_size908); - for ($_i912 = 0; $_i912 < $_size908; ++$_i912) + $_size915 = 0; + $_etype918 = 0; + $xfer += $input->readListBegin($_etype918, $_size915); + for ($_i919 = 0; $_i919 < $_size915; ++$_i919) { - $elem913 = null; - $xfer += $input->readString($elem913); - $this->tbl_names []= $elem913; + $elem920 = null; + $xfer += $input->readString($elem920); + $this->tbl_names []= $elem920; } $xfer += $input->readListEnd(); } else { @@ -19894,9 +19894,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter914) + foreach ($this->tbl_names as $iter921) { - $xfer += $output->writeString($iter914); + $xfer += $output->writeString($iter921); } } $output->writeListEnd(); @@ -19961,15 +19961,15 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size915 = 0; - $_etype918 = 0; - $xfer += $input->readListBegin($_etype918, $_size915); - for ($_i919 = 0; $_i919 < $_size915; ++$_i919) + $_size922 = 0; + $_etype925 = 0; + $xfer += $input->readListBegin($_etype925, $_size922); + for ($_i926 = 0; $_i926 < $_size922; ++$_i926) { - $elem920 = null; - $elem920 = new \metastore\Table(); - $xfer += $elem920->read($input); - $this->success []= $elem920; + $elem927 = null; + $elem927 = new \metastore\Table(); + $xfer += $elem927->read($input); + $this->success []= $elem927; } $xfer += $input->readListEnd(); } else { @@ -19997,9 +19997,9 @@ class ThriftHiveMetastore_get_table_objects_by_name_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter921) + foreach ($this->success as $iter928) { - $xfer += $iter921->write($output); + $xfer += $iter928->write($output); } } $output->writeListEnd(); @@ -20526,14 +20526,14 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { case 2: if ($ftype == TType::LST) { $this->tbl_names = array(); - $_size922 = 0; - $_etype925 = 0; - $xfer += $input->readListBegin($_etype925, $_size922); - for ($_i926 = 0; $_i926 < $_size922; ++$_i926) + $_size929 = 0; + $_etype932 = 0; + $xfer += $input->readListBegin($_etype932, $_size929); + for ($_i933 = 0; $_i933 < $_size929; ++$_i933) { - $elem927 = null; - $xfer += $input->readString($elem927); - $this->tbl_names []= $elem927; + $elem934 = null; + $xfer += $input->readString($elem934); + $this->tbl_names []= $elem934; } $xfer += $input->readListEnd(); } else { @@ -20566,9 +20566,9 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_args { { $output->writeListBegin(TType::STRING, count($this->tbl_names)); { - foreach ($this->tbl_names as $iter928) + foreach ($this->tbl_names as $iter935) { - $xfer += $output->writeString($iter928); + $xfer += $output->writeString($iter935); } } $output->writeListEnd(); @@ -20673,18 +20673,18 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size929 = 0; - $_ktype930 = 0; - $_vtype931 = 0; - $xfer += $input->readMapBegin($_ktype930, $_vtype931, $_size929); - for ($_i933 = 0; $_i933 < $_size929; ++$_i933) + $_size936 = 0; + $_ktype937 = 0; + $_vtype938 = 0; + $xfer += $input->readMapBegin($_ktype937, $_vtype938, $_size936); + for ($_i940 = 0; $_i940 < $_size936; ++$_i940) { - $key934 = ''; - $val935 = new \metastore\Materialization(); - $xfer += $input->readString($key934); - $val935 = new \metastore\Materialization(); - $xfer += $val935->read($input); - $this->success[$key934] = $val935; + $key941 = ''; + $val942 = new \metastore\Materialization(); + $xfer += $input->readString($key941); + $val942 = new \metastore\Materialization(); + $xfer += $val942->read($input); + $this->success[$key941] = $val942; } $xfer += $input->readMapEnd(); } else { @@ -20736,10 +20736,10 @@ class ThriftHiveMetastore_get_materialization_invalidation_info_result { { $output->writeMapBegin(TType::STRING, TType::STRUCT, count($this->success)); { - foreach ($this->success as $kiter936 => $viter937) + foreach ($this->success as $kiter943 => $viter944) { - $xfer += $output->writeString($kiter936); - $xfer += $viter937->write($output); + $xfer += $output->writeString($kiter943); + $xfer += $viter944->write($output); } } $output->writeMapEnd(); @@ -21228,14 +21228,14 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size938 = 0; - $_etype941 = 0; - $xfer += $input->readListBegin($_etype941, $_size938); - for ($_i942 = 0; $_i942 < $_size938; ++$_i942) + $_size945 = 0; + $_etype948 = 0; + $xfer += $input->readListBegin($_etype948, $_size945); + for ($_i949 = 0; $_i949 < $_size945; ++$_i949) { - $elem943 = null; - $xfer += $input->readString($elem943); - $this->success []= $elem943; + $elem950 = null; + $xfer += $input->readString($elem950); + $this->success []= $elem950; } $xfer += $input->readListEnd(); } else { @@ -21287,9 +21287,9 @@ class ThriftHiveMetastore_get_table_names_by_filter_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter944) + foreach ($this->success as $iter951) { - $xfer += $output->writeString($iter944); + $xfer += $output->writeString($iter951); } } $output->writeListEnd(); @@ -22602,15 +22602,15 @@ class ThriftHiveMetastore_add_partitions_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size945 = 0; - $_etype948 = 0; - $xfer += $input->readListBegin($_etype948, $_size945); - for ($_i949 = 0; $_i949 < $_size945; ++$_i949) + $_size952 = 0; + $_etype955 = 0; + $xfer += $input->readListBegin($_etype955, $_size952); + for ($_i956 = 0; $_i956 < $_size952; ++$_i956) { - $elem950 = null; - $elem950 = new \metastore\Partition(); - $xfer += $elem950->read($input); - $this->new_parts []= $elem950; + $elem957 = null; + $elem957 = new \metastore\Partition(); + $xfer += $elem957->read($input); + $this->new_parts []= $elem957; } $xfer += $input->readListEnd(); } else { @@ -22638,9 +22638,9 @@ class ThriftHiveMetastore_add_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter951) + foreach ($this->new_parts as $iter958) { - $xfer += $iter951->write($output); + $xfer += $iter958->write($output); } } $output->writeListEnd(); @@ -22855,15 +22855,15 @@ class ThriftHiveMetastore_add_partitions_pspec_args { case 1: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size952 = 0; - $_etype955 = 0; - $xfer += $input->readListBegin($_etype955, $_size952); - for ($_i956 = 0; $_i956 < $_size952; ++$_i956) + $_size959 = 0; + $_etype962 = 0; + $xfer += $input->readListBegin($_etype962, $_size959); + for ($_i963 = 0; $_i963 < $_size959; ++$_i963) { - $elem957 = null; - $elem957 = new \metastore\PartitionSpec(); - $xfer += $elem957->read($input); - $this->new_parts []= $elem957; + $elem964 = null; + $elem964 = new \metastore\PartitionSpec(); + $xfer += $elem964->read($input); + $this->new_parts []= $elem964; } $xfer += $input->readListEnd(); } else { @@ -22891,9 +22891,9 @@ class ThriftHiveMetastore_add_partitions_pspec_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter958) + foreach ($this->new_parts as $iter965) { - $xfer += $iter958->write($output); + $xfer += $iter965->write($output); } } $output->writeListEnd(); @@ -23143,14 +23143,14 @@ class ThriftHiveMetastore_append_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size959 = 0; - $_etype962 = 0; - $xfer += $input->readListBegin($_etype962, $_size959); - for ($_i963 = 0; $_i963 < $_size959; ++$_i963) + $_size966 = 0; + $_etype969 = 0; + $xfer += $input->readListBegin($_etype969, $_size966); + for ($_i970 = 0; $_i970 < $_size966; ++$_i970) { - $elem964 = null; - $xfer += $input->readString($elem964); - $this->part_vals []= $elem964; + $elem971 = null; + $xfer += $input->readString($elem971); + $this->part_vals []= $elem971; } $xfer += $input->readListEnd(); } else { @@ -23188,9 +23188,9 @@ class ThriftHiveMetastore_append_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter965) + foreach ($this->part_vals as $iter972) { - $xfer += $output->writeString($iter965); + $xfer += $output->writeString($iter972); } } $output->writeListEnd(); @@ -23692,14 +23692,14 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size966 = 0; - $_etype969 = 0; - $xfer += $input->readListBegin($_etype969, $_size966); - for ($_i970 = 0; $_i970 < $_size966; ++$_i970) + $_size973 = 0; + $_etype976 = 0; + $xfer += $input->readListBegin($_etype976, $_size973); + for ($_i977 = 0; $_i977 < $_size973; ++$_i977) { - $elem971 = null; - $xfer += $input->readString($elem971); - $this->part_vals []= $elem971; + $elem978 = null; + $xfer += $input->readString($elem978); + $this->part_vals []= $elem978; } $xfer += $input->readListEnd(); } else { @@ -23745,9 +23745,9 @@ class ThriftHiveMetastore_append_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter972) + foreach ($this->part_vals as $iter979) { - $xfer += $output->writeString($iter972); + $xfer += $output->writeString($iter979); } } $output->writeListEnd(); @@ -24601,14 +24601,14 @@ class ThriftHiveMetastore_drop_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size973 = 0; - $_etype976 = 0; - $xfer += $input->readListBegin($_etype976, $_size973); - for ($_i977 = 0; $_i977 < $_size973; ++$_i977) + $_size980 = 0; + $_etype983 = 0; + $xfer += $input->readListBegin($_etype983, $_size980); + for ($_i984 = 0; $_i984 < $_size980; ++$_i984) { - $elem978 = null; - $xfer += $input->readString($elem978); - $this->part_vals []= $elem978; + $elem985 = null; + $xfer += $input->readString($elem985); + $this->part_vals []= $elem985; } $xfer += $input->readListEnd(); } else { @@ -24653,9 +24653,9 @@ class ThriftHiveMetastore_drop_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter979) + foreach ($this->part_vals as $iter986) { - $xfer += $output->writeString($iter979); + $xfer += $output->writeString($iter986); } } $output->writeListEnd(); @@ -24908,14 +24908,14 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size980 = 0; - $_etype983 = 0; - $xfer += $input->readListBegin($_etype983, $_size980); - for ($_i984 = 0; $_i984 < $_size980; ++$_i984) + $_size987 = 0; + $_etype990 = 0; + $xfer += $input->readListBegin($_etype990, $_size987); + for ($_i991 = 0; $_i991 < $_size987; ++$_i991) { - $elem985 = null; - $xfer += $input->readString($elem985); - $this->part_vals []= $elem985; + $elem992 = null; + $xfer += $input->readString($elem992); + $this->part_vals []= $elem992; } $xfer += $input->readListEnd(); } else { @@ -24968,9 +24968,9 @@ class ThriftHiveMetastore_drop_partition_with_environment_context_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter986) + foreach ($this->part_vals as $iter993) { - $xfer += $output->writeString($iter986); + $xfer += $output->writeString($iter993); } } $output->writeListEnd(); @@ -25984,14 +25984,14 @@ class ThriftHiveMetastore_get_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size987 = 0; - $_etype990 = 0; - $xfer += $input->readListBegin($_etype990, $_size987); - for ($_i991 = 0; $_i991 < $_size987; ++$_i991) + $_size994 = 0; + $_etype997 = 0; + $xfer += $input->readListBegin($_etype997, $_size994); + for ($_i998 = 0; $_i998 < $_size994; ++$_i998) { - $elem992 = null; - $xfer += $input->readString($elem992); - $this->part_vals []= $elem992; + $elem999 = null; + $xfer += $input->readString($elem999); + $this->part_vals []= $elem999; } $xfer += $input->readListEnd(); } else { @@ -26029,9 +26029,9 @@ class ThriftHiveMetastore_get_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter993) + foreach ($this->part_vals as $iter1000) { - $xfer += $output->writeString($iter993); + $xfer += $output->writeString($iter1000); } } $output->writeListEnd(); @@ -26273,17 +26273,17 @@ class ThriftHiveMetastore_exchange_partition_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size994 = 0; - $_ktype995 = 0; - $_vtype996 = 0; - $xfer += $input->readMapBegin($_ktype995, $_vtype996, $_size994); - for ($_i998 = 0; $_i998 < $_size994; ++$_i998) + $_size1001 = 0; + $_ktype1002 = 0; + $_vtype1003 = 0; + $xfer += $input->readMapBegin($_ktype1002, $_vtype1003, $_size1001); + for ($_i1005 = 0; $_i1005 < $_size1001; ++$_i1005) { - $key999 = ''; - $val1000 = ''; - $xfer += $input->readString($key999); - $xfer += $input->readString($val1000); - $this->partitionSpecs[$key999] = $val1000; + $key1006 = ''; + $val1007 = ''; + $xfer += $input->readString($key1006); + $xfer += $input->readString($val1007); + $this->partitionSpecs[$key1006] = $val1007; } $xfer += $input->readMapEnd(); } else { @@ -26339,10 +26339,10 @@ class ThriftHiveMetastore_exchange_partition_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1001 => $viter1002) + foreach ($this->partitionSpecs as $kiter1008 => $viter1009) { - $xfer += $output->writeString($kiter1001); - $xfer += $output->writeString($viter1002); + $xfer += $output->writeString($kiter1008); + $xfer += $output->writeString($viter1009); } } $output->writeMapEnd(); @@ -26654,17 +26654,17 @@ class ThriftHiveMetastore_exchange_partitions_args { case 1: if ($ftype == TType::MAP) { $this->partitionSpecs = array(); - $_size1003 = 0; - $_ktype1004 = 0; - $_vtype1005 = 0; - $xfer += $input->readMapBegin($_ktype1004, $_vtype1005, $_size1003); - for ($_i1007 = 0; $_i1007 < $_size1003; ++$_i1007) + $_size1010 = 0; + $_ktype1011 = 0; + $_vtype1012 = 0; + $xfer += $input->readMapBegin($_ktype1011, $_vtype1012, $_size1010); + for ($_i1014 = 0; $_i1014 < $_size1010; ++$_i1014) { - $key1008 = ''; - $val1009 = ''; - $xfer += $input->readString($key1008); - $xfer += $input->readString($val1009); - $this->partitionSpecs[$key1008] = $val1009; + $key1015 = ''; + $val1016 = ''; + $xfer += $input->readString($key1015); + $xfer += $input->readString($val1016); + $this->partitionSpecs[$key1015] = $val1016; } $xfer += $input->readMapEnd(); } else { @@ -26720,10 +26720,10 @@ class ThriftHiveMetastore_exchange_partitions_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->partitionSpecs)); { - foreach ($this->partitionSpecs as $kiter1010 => $viter1011) + foreach ($this->partitionSpecs as $kiter1017 => $viter1018) { - $xfer += $output->writeString($kiter1010); - $xfer += $output->writeString($viter1011); + $xfer += $output->writeString($kiter1017); + $xfer += $output->writeString($viter1018); } } $output->writeMapEnd(); @@ -26856,15 +26856,15 @@ class ThriftHiveMetastore_exchange_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1012 = 0; - $_etype1015 = 0; - $xfer += $input->readListBegin($_etype1015, $_size1012); - for ($_i1016 = 0; $_i1016 < $_size1012; ++$_i1016) + $_size1019 = 0; + $_etype1022 = 0; + $xfer += $input->readListBegin($_etype1022, $_size1019); + for ($_i1023 = 0; $_i1023 < $_size1019; ++$_i1023) { - $elem1017 = null; - $elem1017 = new \metastore\Partition(); - $xfer += $elem1017->read($input); - $this->success []= $elem1017; + $elem1024 = null; + $elem1024 = new \metastore\Partition(); + $xfer += $elem1024->read($input); + $this->success []= $elem1024; } $xfer += $input->readListEnd(); } else { @@ -26924,9 +26924,9 @@ class ThriftHiveMetastore_exchange_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1018) + foreach ($this->success as $iter1025) { - $xfer += $iter1018->write($output); + $xfer += $iter1025->write($output); } } $output->writeListEnd(); @@ -27072,14 +27072,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1019 = 0; - $_etype1022 = 0; - $xfer += $input->readListBegin($_etype1022, $_size1019); - for ($_i1023 = 0; $_i1023 < $_size1019; ++$_i1023) + $_size1026 = 0; + $_etype1029 = 0; + $xfer += $input->readListBegin($_etype1029, $_size1026); + for ($_i1030 = 0; $_i1030 < $_size1026; ++$_i1030) { - $elem1024 = null; - $xfer += $input->readString($elem1024); - $this->part_vals []= $elem1024; + $elem1031 = null; + $xfer += $input->readString($elem1031); + $this->part_vals []= $elem1031; } $xfer += $input->readListEnd(); } else { @@ -27096,14 +27096,14 @@ class ThriftHiveMetastore_get_partition_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1025 = 0; - $_etype1028 = 0; - $xfer += $input->readListBegin($_etype1028, $_size1025); - for ($_i1029 = 0; $_i1029 < $_size1025; ++$_i1029) + $_size1032 = 0; + $_etype1035 = 0; + $xfer += $input->readListBegin($_etype1035, $_size1032); + for ($_i1036 = 0; $_i1036 < $_size1032; ++$_i1036) { - $elem1030 = null; - $xfer += $input->readString($elem1030); - $this->group_names []= $elem1030; + $elem1037 = null; + $xfer += $input->readString($elem1037); + $this->group_names []= $elem1037; } $xfer += $input->readListEnd(); } else { @@ -27141,9 +27141,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1031) + foreach ($this->part_vals as $iter1038) { - $xfer += $output->writeString($iter1031); + $xfer += $output->writeString($iter1038); } } $output->writeListEnd(); @@ -27163,9 +27163,9 @@ class ThriftHiveMetastore_get_partition_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1032) + foreach ($this->group_names as $iter1039) { - $xfer += $output->writeString($iter1032); + $xfer += $output->writeString($iter1039); } } $output->writeListEnd(); @@ -27756,15 +27756,15 @@ class ThriftHiveMetastore_get_partitions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1033 = 0; - $_etype1036 = 0; - $xfer += $input->readListBegin($_etype1036, $_size1033); - for ($_i1037 = 0; $_i1037 < $_size1033; ++$_i1037) + $_size1040 = 0; + $_etype1043 = 0; + $xfer += $input->readListBegin($_etype1043, $_size1040); + for ($_i1044 = 0; $_i1044 < $_size1040; ++$_i1044) { - $elem1038 = null; - $elem1038 = new \metastore\Partition(); - $xfer += $elem1038->read($input); - $this->success []= $elem1038; + $elem1045 = null; + $elem1045 = new \metastore\Partition(); + $xfer += $elem1045->read($input); + $this->success []= $elem1045; } $xfer += $input->readListEnd(); } else { @@ -27808,9 +27808,9 @@ class ThriftHiveMetastore_get_partitions_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1039) + foreach ($this->success as $iter1046) { - $xfer += $iter1039->write($output); + $xfer += $iter1046->write($output); } } $output->writeListEnd(); @@ -27956,14 +27956,14 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { case 5: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1040 = 0; - $_etype1043 = 0; - $xfer += $input->readListBegin($_etype1043, $_size1040); - for ($_i1044 = 0; $_i1044 < $_size1040; ++$_i1044) + $_size1047 = 0; + $_etype1050 = 0; + $xfer += $input->readListBegin($_etype1050, $_size1047); + for ($_i1051 = 0; $_i1051 < $_size1047; ++$_i1051) { - $elem1045 = null; - $xfer += $input->readString($elem1045); - $this->group_names []= $elem1045; + $elem1052 = null; + $xfer += $input->readString($elem1052); + $this->group_names []= $elem1052; } $xfer += $input->readListEnd(); } else { @@ -28011,9 +28011,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1046) + foreach ($this->group_names as $iter1053) { - $xfer += $output->writeString($iter1046); + $xfer += $output->writeString($iter1053); } } $output->writeListEnd(); @@ -28102,15 +28102,15 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1047 = 0; - $_etype1050 = 0; - $xfer += $input->readListBegin($_etype1050, $_size1047); - for ($_i1051 = 0; $_i1051 < $_size1047; ++$_i1051) + $_size1054 = 0; + $_etype1057 = 0; + $xfer += $input->readListBegin($_etype1057, $_size1054); + for ($_i1058 = 0; $_i1058 < $_size1054; ++$_i1058) { - $elem1052 = null; - $elem1052 = new \metastore\Partition(); - $xfer += $elem1052->read($input); - $this->success []= $elem1052; + $elem1059 = null; + $elem1059 = new \metastore\Partition(); + $xfer += $elem1059->read($input); + $this->success []= $elem1059; } $xfer += $input->readListEnd(); } else { @@ -28154,9 +28154,9 @@ class ThriftHiveMetastore_get_partitions_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1053) + foreach ($this->success as $iter1060) { - $xfer += $iter1053->write($output); + $xfer += $iter1060->write($output); } } $output->writeListEnd(); @@ -28376,15 +28376,15 @@ class ThriftHiveMetastore_get_partitions_pspec_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1054 = 0; - $_etype1057 = 0; - $xfer += $input->readListBegin($_etype1057, $_size1054); - for ($_i1058 = 0; $_i1058 < $_size1054; ++$_i1058) + $_size1061 = 0; + $_etype1064 = 0; + $xfer += $input->readListBegin($_etype1064, $_size1061); + for ($_i1065 = 0; $_i1065 < $_size1061; ++$_i1065) { - $elem1059 = null; - $elem1059 = new \metastore\PartitionSpec(); - $xfer += $elem1059->read($input); - $this->success []= $elem1059; + $elem1066 = null; + $elem1066 = new \metastore\PartitionSpec(); + $xfer += $elem1066->read($input); + $this->success []= $elem1066; } $xfer += $input->readListEnd(); } else { @@ -28428,9 +28428,9 @@ class ThriftHiveMetastore_get_partitions_pspec_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1060) + foreach ($this->success as $iter1067) { - $xfer += $iter1060->write($output); + $xfer += $iter1067->write($output); } } $output->writeListEnd(); @@ -28649,14 +28649,14 @@ class ThriftHiveMetastore_get_partition_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1061 = 0; - $_etype1064 = 0; - $xfer += $input->readListBegin($_etype1064, $_size1061); - for ($_i1065 = 0; $_i1065 < $_size1061; ++$_i1065) + $_size1068 = 0; + $_etype1071 = 0; + $xfer += $input->readListBegin($_etype1071, $_size1068); + for ($_i1072 = 0; $_i1072 < $_size1068; ++$_i1072) { - $elem1066 = null; - $xfer += $input->readString($elem1066); - $this->success []= $elem1066; + $elem1073 = null; + $xfer += $input->readString($elem1073); + $this->success []= $elem1073; } $xfer += $input->readListEnd(); } else { @@ -28700,9 +28700,9 @@ class ThriftHiveMetastore_get_partition_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1067) + foreach ($this->success as $iter1074) { - $xfer += $output->writeString($iter1067); + $xfer += $output->writeString($iter1074); } } $output->writeListEnd(); @@ -29033,14 +29033,14 @@ class ThriftHiveMetastore_get_partitions_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1068 = 0; - $_etype1071 = 0; - $xfer += $input->readListBegin($_etype1071, $_size1068); - for ($_i1072 = 0; $_i1072 < $_size1068; ++$_i1072) + $_size1075 = 0; + $_etype1078 = 0; + $xfer += $input->readListBegin($_etype1078, $_size1075); + for ($_i1079 = 0; $_i1079 < $_size1075; ++$_i1079) { - $elem1073 = null; - $xfer += $input->readString($elem1073); - $this->part_vals []= $elem1073; + $elem1080 = null; + $xfer += $input->readString($elem1080); + $this->part_vals []= $elem1080; } $xfer += $input->readListEnd(); } else { @@ -29085,9 +29085,9 @@ class ThriftHiveMetastore_get_partitions_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1074) + foreach ($this->part_vals as $iter1081) { - $xfer += $output->writeString($iter1074); + $xfer += $output->writeString($iter1081); } } $output->writeListEnd(); @@ -29181,15 +29181,15 @@ class ThriftHiveMetastore_get_partitions_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1075 = 0; - $_etype1078 = 0; - $xfer += $input->readListBegin($_etype1078, $_size1075); - for ($_i1079 = 0; $_i1079 < $_size1075; ++$_i1079) + $_size1082 = 0; + $_etype1085 = 0; + $xfer += $input->readListBegin($_etype1085, $_size1082); + for ($_i1086 = 0; $_i1086 < $_size1082; ++$_i1086) { - $elem1080 = null; - $elem1080 = new \metastore\Partition(); - $xfer += $elem1080->read($input); - $this->success []= $elem1080; + $elem1087 = null; + $elem1087 = new \metastore\Partition(); + $xfer += $elem1087->read($input); + $this->success []= $elem1087; } $xfer += $input->readListEnd(); } else { @@ -29233,9 +29233,9 @@ class ThriftHiveMetastore_get_partitions_ps_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1081) + foreach ($this->success as $iter1088) { - $xfer += $iter1081->write($output); + $xfer += $iter1088->write($output); } } $output->writeListEnd(); @@ -29382,14 +29382,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1082 = 0; - $_etype1085 = 0; - $xfer += $input->readListBegin($_etype1085, $_size1082); - for ($_i1086 = 0; $_i1086 < $_size1082; ++$_i1086) + $_size1089 = 0; + $_etype1092 = 0; + $xfer += $input->readListBegin($_etype1092, $_size1089); + for ($_i1093 = 0; $_i1093 < $_size1089; ++$_i1093) { - $elem1087 = null; - $xfer += $input->readString($elem1087); - $this->part_vals []= $elem1087; + $elem1094 = null; + $xfer += $input->readString($elem1094); + $this->part_vals []= $elem1094; } $xfer += $input->readListEnd(); } else { @@ -29413,14 +29413,14 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { case 6: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1088 = 0; - $_etype1091 = 0; - $xfer += $input->readListBegin($_etype1091, $_size1088); - for ($_i1092 = 0; $_i1092 < $_size1088; ++$_i1092) + $_size1095 = 0; + $_etype1098 = 0; + $xfer += $input->readListBegin($_etype1098, $_size1095); + for ($_i1099 = 0; $_i1099 < $_size1095; ++$_i1099) { - $elem1093 = null; - $xfer += $input->readString($elem1093); - $this->group_names []= $elem1093; + $elem1100 = null; + $xfer += $input->readString($elem1100); + $this->group_names []= $elem1100; } $xfer += $input->readListEnd(); } else { @@ -29458,9 +29458,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1094) + foreach ($this->part_vals as $iter1101) { - $xfer += $output->writeString($iter1094); + $xfer += $output->writeString($iter1101); } } $output->writeListEnd(); @@ -29485,9 +29485,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1095) + foreach ($this->group_names as $iter1102) { - $xfer += $output->writeString($iter1095); + $xfer += $output->writeString($iter1102); } } $output->writeListEnd(); @@ -29576,15 +29576,15 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1096 = 0; - $_etype1099 = 0; - $xfer += $input->readListBegin($_etype1099, $_size1096); - for ($_i1100 = 0; $_i1100 < $_size1096; ++$_i1100) + $_size1103 = 0; + $_etype1106 = 0; + $xfer += $input->readListBegin($_etype1106, $_size1103); + for ($_i1107 = 0; $_i1107 < $_size1103; ++$_i1107) { - $elem1101 = null; - $elem1101 = new \metastore\Partition(); - $xfer += $elem1101->read($input); - $this->success []= $elem1101; + $elem1108 = null; + $elem1108 = new \metastore\Partition(); + $xfer += $elem1108->read($input); + $this->success []= $elem1108; } $xfer += $input->readListEnd(); } else { @@ -29628,9 +29628,9 @@ class ThriftHiveMetastore_get_partitions_ps_with_auth_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1102) + foreach ($this->success as $iter1109) { - $xfer += $iter1102->write($output); + $xfer += $iter1109->write($output); } } $output->writeListEnd(); @@ -29751,14 +29751,14 @@ class ThriftHiveMetastore_get_partition_names_ps_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1103 = 0; - $_etype1106 = 0; - $xfer += $input->readListBegin($_etype1106, $_size1103); - for ($_i1107 = 0; $_i1107 < $_size1103; ++$_i1107) + $_size1110 = 0; + $_etype1113 = 0; + $xfer += $input->readListBegin($_etype1113, $_size1110); + for ($_i1114 = 0; $_i1114 < $_size1110; ++$_i1114) { - $elem1108 = null; - $xfer += $input->readString($elem1108); - $this->part_vals []= $elem1108; + $elem1115 = null; + $xfer += $input->readString($elem1115); + $this->part_vals []= $elem1115; } $xfer += $input->readListEnd(); } else { @@ -29803,9 +29803,9 @@ class ThriftHiveMetastore_get_partition_names_ps_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1109) + foreach ($this->part_vals as $iter1116) { - $xfer += $output->writeString($iter1109); + $xfer += $output->writeString($iter1116); } } $output->writeListEnd(); @@ -29898,14 +29898,14 @@ class ThriftHiveMetastore_get_partition_names_ps_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1110 = 0; - $_etype1113 = 0; - $xfer += $input->readListBegin($_etype1113, $_size1110); - for ($_i1114 = 0; $_i1114 < $_size1110; ++$_i1114) + $_size1117 = 0; + $_etype1120 = 0; + $xfer += $input->readListBegin($_etype1120, $_size1117); + for ($_i1121 = 0; $_i1121 < $_size1117; ++$_i1121) { - $elem1115 = null; - $xfer += $input->readString($elem1115); - $this->success []= $elem1115; + $elem1122 = null; + $xfer += $input->readString($elem1122); + $this->success []= $elem1122; } $xfer += $input->readListEnd(); } else { @@ -29949,9 +29949,9 @@ class ThriftHiveMetastore_get_partition_names_ps_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1116) + foreach ($this->success as $iter1123) { - $xfer += $output->writeString($iter1116); + $xfer += $output->writeString($iter1123); } } $output->writeListEnd(); @@ -30194,15 +30194,15 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1117 = 0; - $_etype1120 = 0; - $xfer += $input->readListBegin($_etype1120, $_size1117); - for ($_i1121 = 0; $_i1121 < $_size1117; ++$_i1121) + $_size1124 = 0; + $_etype1127 = 0; + $xfer += $input->readListBegin($_etype1127, $_size1124); + for ($_i1128 = 0; $_i1128 < $_size1124; ++$_i1128) { - $elem1122 = null; - $elem1122 = new \metastore\Partition(); - $xfer += $elem1122->read($input); - $this->success []= $elem1122; + $elem1129 = null; + $elem1129 = new \metastore\Partition(); + $xfer += $elem1129->read($input); + $this->success []= $elem1129; } $xfer += $input->readListEnd(); } else { @@ -30246,9 +30246,9 @@ class ThriftHiveMetastore_get_partitions_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1123) + foreach ($this->success as $iter1130) { - $xfer += $iter1123->write($output); + $xfer += $iter1130->write($output); } } $output->writeListEnd(); @@ -30491,15 +30491,15 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1124 = 0; - $_etype1127 = 0; - $xfer += $input->readListBegin($_etype1127, $_size1124); - for ($_i1128 = 0; $_i1128 < $_size1124; ++$_i1128) + $_size1131 = 0; + $_etype1134 = 0; + $xfer += $input->readListBegin($_etype1134, $_size1131); + for ($_i1135 = 0; $_i1135 < $_size1131; ++$_i1135) { - $elem1129 = null; - $elem1129 = new \metastore\PartitionSpec(); - $xfer += $elem1129->read($input); - $this->success []= $elem1129; + $elem1136 = null; + $elem1136 = new \metastore\PartitionSpec(); + $xfer += $elem1136->read($input); + $this->success []= $elem1136; } $xfer += $input->readListEnd(); } else { @@ -30543,9 +30543,9 @@ class ThriftHiveMetastore_get_part_specs_by_filter_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1130) + foreach ($this->success as $iter1137) { - $xfer += $iter1130->write($output); + $xfer += $iter1137->write($output); } } $output->writeListEnd(); @@ -31111,14 +31111,14 @@ class ThriftHiveMetastore_get_partitions_by_names_args { case 3: if ($ftype == TType::LST) { $this->names = array(); - $_size1131 = 0; - $_etype1134 = 0; - $xfer += $input->readListBegin($_etype1134, $_size1131); - for ($_i1135 = 0; $_i1135 < $_size1131; ++$_i1135) + $_size1138 = 0; + $_etype1141 = 0; + $xfer += $input->readListBegin($_etype1141, $_size1138); + for ($_i1142 = 0; $_i1142 < $_size1138; ++$_i1142) { - $elem1136 = null; - $xfer += $input->readString($elem1136); - $this->names []= $elem1136; + $elem1143 = null; + $xfer += $input->readString($elem1143); + $this->names []= $elem1143; } $xfer += $input->readListEnd(); } else { @@ -31156,9 +31156,9 @@ class ThriftHiveMetastore_get_partitions_by_names_args { { $output->writeListBegin(TType::STRING, count($this->names)); { - foreach ($this->names as $iter1137) + foreach ($this->names as $iter1144) { - $xfer += $output->writeString($iter1137); + $xfer += $output->writeString($iter1144); } } $output->writeListEnd(); @@ -31247,15 +31247,15 @@ class ThriftHiveMetastore_get_partitions_by_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1138 = 0; - $_etype1141 = 0; - $xfer += $input->readListBegin($_etype1141, $_size1138); - for ($_i1142 = 0; $_i1142 < $_size1138; ++$_i1142) + $_size1145 = 0; + $_etype1148 = 0; + $xfer += $input->readListBegin($_etype1148, $_size1145); + for ($_i1149 = 0; $_i1149 < $_size1145; ++$_i1149) { - $elem1143 = null; - $elem1143 = new \metastore\Partition(); - $xfer += $elem1143->read($input); - $this->success []= $elem1143; + $elem1150 = null; + $elem1150 = new \metastore\Partition(); + $xfer += $elem1150->read($input); + $this->success []= $elem1150; } $xfer += $input->readListEnd(); } else { @@ -31299,9 +31299,9 @@ class ThriftHiveMetastore_get_partitions_by_names_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1144) + foreach ($this->success as $iter1151) { - $xfer += $iter1144->write($output); + $xfer += $iter1151->write($output); } } $output->writeListEnd(); @@ -31640,15 +31640,15 @@ class ThriftHiveMetastore_alter_partitions_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1145 = 0; - $_etype1148 = 0; - $xfer += $input->readListBegin($_etype1148, $_size1145); - for ($_i1149 = 0; $_i1149 < $_size1145; ++$_i1149) + $_size1152 = 0; + $_etype1155 = 0; + $xfer += $input->readListBegin($_etype1155, $_size1152); + for ($_i1156 = 0; $_i1156 < $_size1152; ++$_i1156) { - $elem1150 = null; - $elem1150 = new \metastore\Partition(); - $xfer += $elem1150->read($input); - $this->new_parts []= $elem1150; + $elem1157 = null; + $elem1157 = new \metastore\Partition(); + $xfer += $elem1157->read($input); + $this->new_parts []= $elem1157; } $xfer += $input->readListEnd(); } else { @@ -31686,9 +31686,9 @@ class ThriftHiveMetastore_alter_partitions_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1151) + foreach ($this->new_parts as $iter1158) { - $xfer += $iter1151->write($output); + $xfer += $iter1158->write($output); } } $output->writeListEnd(); @@ -31903,15 +31903,15 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { case 3: if ($ftype == TType::LST) { $this->new_parts = array(); - $_size1152 = 0; - $_etype1155 = 0; - $xfer += $input->readListBegin($_etype1155, $_size1152); - for ($_i1156 = 0; $_i1156 < $_size1152; ++$_i1156) + $_size1159 = 0; + $_etype1162 = 0; + $xfer += $input->readListBegin($_etype1162, $_size1159); + for ($_i1163 = 0; $_i1163 < $_size1159; ++$_i1163) { - $elem1157 = null; - $elem1157 = new \metastore\Partition(); - $xfer += $elem1157->read($input); - $this->new_parts []= $elem1157; + $elem1164 = null; + $elem1164 = new \metastore\Partition(); + $xfer += $elem1164->read($input); + $this->new_parts []= $elem1164; } $xfer += $input->readListEnd(); } else { @@ -31957,9 +31957,9 @@ class ThriftHiveMetastore_alter_partitions_with_environment_context_args { { $output->writeListBegin(TType::STRUCT, count($this->new_parts)); { - foreach ($this->new_parts as $iter1158) + foreach ($this->new_parts as $iter1165) { - $xfer += $iter1158->write($output); + $xfer += $iter1165->write($output); } } $output->writeListEnd(); @@ -32437,14 +32437,14 @@ class ThriftHiveMetastore_rename_partition_args { case 3: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1159 = 0; - $_etype1162 = 0; - $xfer += $input->readListBegin($_etype1162, $_size1159); - for ($_i1163 = 0; $_i1163 < $_size1159; ++$_i1163) + $_size1166 = 0; + $_etype1169 = 0; + $xfer += $input->readListBegin($_etype1169, $_size1166); + for ($_i1170 = 0; $_i1170 < $_size1166; ++$_i1170) { - $elem1164 = null; - $xfer += $input->readString($elem1164); - $this->part_vals []= $elem1164; + $elem1171 = null; + $xfer += $input->readString($elem1171); + $this->part_vals []= $elem1171; } $xfer += $input->readListEnd(); } else { @@ -32490,9 +32490,9 @@ class ThriftHiveMetastore_rename_partition_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1165) + foreach ($this->part_vals as $iter1172) { - $xfer += $output->writeString($iter1165); + $xfer += $output->writeString($iter1172); } } $output->writeListEnd(); @@ -32677,14 +32677,14 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { case 1: if ($ftype == TType::LST) { $this->part_vals = array(); - $_size1166 = 0; - $_etype1169 = 0; - $xfer += $input->readListBegin($_etype1169, $_size1166); - for ($_i1170 = 0; $_i1170 < $_size1166; ++$_i1170) + $_size1173 = 0; + $_etype1176 = 0; + $xfer += $input->readListBegin($_etype1176, $_size1173); + for ($_i1177 = 0; $_i1177 < $_size1173; ++$_i1177) { - $elem1171 = null; - $xfer += $input->readString($elem1171); - $this->part_vals []= $elem1171; + $elem1178 = null; + $xfer += $input->readString($elem1178); + $this->part_vals []= $elem1178; } $xfer += $input->readListEnd(); } else { @@ -32719,9 +32719,9 @@ class ThriftHiveMetastore_partition_name_has_valid_characters_args { { $output->writeListBegin(TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $iter1172) + foreach ($this->part_vals as $iter1179) { - $xfer += $output->writeString($iter1172); + $xfer += $output->writeString($iter1179); } } $output->writeListEnd(); @@ -33175,14 +33175,14 @@ class ThriftHiveMetastore_partition_name_to_vals_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1173 = 0; - $_etype1176 = 0; - $xfer += $input->readListBegin($_etype1176, $_size1173); - for ($_i1177 = 0; $_i1177 < $_size1173; ++$_i1177) + $_size1180 = 0; + $_etype1183 = 0; + $xfer += $input->readListBegin($_etype1183, $_size1180); + for ($_i1184 = 0; $_i1184 < $_size1180; ++$_i1184) { - $elem1178 = null; - $xfer += $input->readString($elem1178); - $this->success []= $elem1178; + $elem1185 = null; + $xfer += $input->readString($elem1185); + $this->success []= $elem1185; } $xfer += $input->readListEnd(); } else { @@ -33218,9 +33218,9 @@ class ThriftHiveMetastore_partition_name_to_vals_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1179) + foreach ($this->success as $iter1186) { - $xfer += $output->writeString($iter1179); + $xfer += $output->writeString($iter1186); } } $output->writeListEnd(); @@ -33380,17 +33380,17 @@ class ThriftHiveMetastore_partition_name_to_spec_result { case 0: if ($ftype == TType::MAP) { $this->success = array(); - $_size1180 = 0; - $_ktype1181 = 0; - $_vtype1182 = 0; - $xfer += $input->readMapBegin($_ktype1181, $_vtype1182, $_size1180); - for ($_i1184 = 0; $_i1184 < $_size1180; ++$_i1184) + $_size1187 = 0; + $_ktype1188 = 0; + $_vtype1189 = 0; + $xfer += $input->readMapBegin($_ktype1188, $_vtype1189, $_size1187); + for ($_i1191 = 0; $_i1191 < $_size1187; ++$_i1191) { - $key1185 = ''; - $val1186 = ''; - $xfer += $input->readString($key1185); - $xfer += $input->readString($val1186); - $this->success[$key1185] = $val1186; + $key1192 = ''; + $val1193 = ''; + $xfer += $input->readString($key1192); + $xfer += $input->readString($val1193); + $this->success[$key1192] = $val1193; } $xfer += $input->readMapEnd(); } else { @@ -33426,10 +33426,10 @@ class ThriftHiveMetastore_partition_name_to_spec_result { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->success)); { - foreach ($this->success as $kiter1187 => $viter1188) + foreach ($this->success as $kiter1194 => $viter1195) { - $xfer += $output->writeString($kiter1187); - $xfer += $output->writeString($viter1188); + $xfer += $output->writeString($kiter1194); + $xfer += $output->writeString($viter1195); } } $output->writeMapEnd(); @@ -33549,17 +33549,17 @@ class ThriftHiveMetastore_markPartitionForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1189 = 0; - $_ktype1190 = 0; - $_vtype1191 = 0; - $xfer += $input->readMapBegin($_ktype1190, $_vtype1191, $_size1189); - for ($_i1193 = 0; $_i1193 < $_size1189; ++$_i1193) + $_size1196 = 0; + $_ktype1197 = 0; + $_vtype1198 = 0; + $xfer += $input->readMapBegin($_ktype1197, $_vtype1198, $_size1196); + for ($_i1200 = 0; $_i1200 < $_size1196; ++$_i1200) { - $key1194 = ''; - $val1195 = ''; - $xfer += $input->readString($key1194); - $xfer += $input->readString($val1195); - $this->part_vals[$key1194] = $val1195; + $key1201 = ''; + $val1202 = ''; + $xfer += $input->readString($key1201); + $xfer += $input->readString($val1202); + $this->part_vals[$key1201] = $val1202; } $xfer += $input->readMapEnd(); } else { @@ -33604,10 +33604,10 @@ class ThriftHiveMetastore_markPartitionForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1196 => $viter1197) + foreach ($this->part_vals as $kiter1203 => $viter1204) { - $xfer += $output->writeString($kiter1196); - $xfer += $output->writeString($viter1197); + $xfer += $output->writeString($kiter1203); + $xfer += $output->writeString($viter1204); } } $output->writeMapEnd(); @@ -33929,17 +33929,17 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { case 3: if ($ftype == TType::MAP) { $this->part_vals = array(); - $_size1198 = 0; - $_ktype1199 = 0; - $_vtype1200 = 0; - $xfer += $input->readMapBegin($_ktype1199, $_vtype1200, $_size1198); - for ($_i1202 = 0; $_i1202 < $_size1198; ++$_i1202) + $_size1205 = 0; + $_ktype1206 = 0; + $_vtype1207 = 0; + $xfer += $input->readMapBegin($_ktype1206, $_vtype1207, $_size1205); + for ($_i1209 = 0; $_i1209 < $_size1205; ++$_i1209) { - $key1203 = ''; - $val1204 = ''; - $xfer += $input->readString($key1203); - $xfer += $input->readString($val1204); - $this->part_vals[$key1203] = $val1204; + $key1210 = ''; + $val1211 = ''; + $xfer += $input->readString($key1210); + $xfer += $input->readString($val1211); + $this->part_vals[$key1210] = $val1211; } $xfer += $input->readMapEnd(); } else { @@ -33984,10 +33984,10 @@ class ThriftHiveMetastore_isPartitionMarkedForEvent_args { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->part_vals)); { - foreach ($this->part_vals as $kiter1205 => $viter1206) + foreach ($this->part_vals as $kiter1212 => $viter1213) { - $xfer += $output->writeString($kiter1205); - $xfer += $output->writeString($viter1206); + $xfer += $output->writeString($kiter1212); + $xfer += $output->writeString($viter1213); } } $output->writeMapEnd(); @@ -35461,15 +35461,15 @@ class ThriftHiveMetastore_get_indexes_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1207 = 0; - $_etype1210 = 0; - $xfer += $input->readListBegin($_etype1210, $_size1207); - for ($_i1211 = 0; $_i1211 < $_size1207; ++$_i1211) + $_size1214 = 0; + $_etype1217 = 0; + $xfer += $input->readListBegin($_etype1217, $_size1214); + for ($_i1218 = 0; $_i1218 < $_size1214; ++$_i1218) { - $elem1212 = null; - $elem1212 = new \metastore\Index(); - $xfer += $elem1212->read($input); - $this->success []= $elem1212; + $elem1219 = null; + $elem1219 = new \metastore\Index(); + $xfer += $elem1219->read($input); + $this->success []= $elem1219; } $xfer += $input->readListEnd(); } else { @@ -35513,9 +35513,9 @@ class ThriftHiveMetastore_get_indexes_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1213) + foreach ($this->success as $iter1220) { - $xfer += $iter1213->write($output); + $xfer += $iter1220->write($output); } } $output->writeListEnd(); @@ -35722,14 +35722,14 @@ class ThriftHiveMetastore_get_index_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1214 = 0; - $_etype1217 = 0; - $xfer += $input->readListBegin($_etype1217, $_size1214); - for ($_i1218 = 0; $_i1218 < $_size1214; ++$_i1218) + $_size1221 = 0; + $_etype1224 = 0; + $xfer += $input->readListBegin($_etype1224, $_size1221); + for ($_i1225 = 0; $_i1225 < $_size1221; ++$_i1225) { - $elem1219 = null; - $xfer += $input->readString($elem1219); - $this->success []= $elem1219; + $elem1226 = null; + $xfer += $input->readString($elem1226); + $this->success []= $elem1226; } $xfer += $input->readListEnd(); } else { @@ -35765,9 +35765,9 @@ class ThriftHiveMetastore_get_index_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1220) + foreach ($this->success as $iter1227) { - $xfer += $output->writeString($iter1220); + $xfer += $output->writeString($iter1227); } } $output->writeListEnd(); @@ -40291,14 +40291,14 @@ class ThriftHiveMetastore_get_functions_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1221 = 0; - $_etype1224 = 0; - $xfer += $input->readListBegin($_etype1224, $_size1221); - for ($_i1225 = 0; $_i1225 < $_size1221; ++$_i1225) + $_size1228 = 0; + $_etype1231 = 0; + $xfer += $input->readListBegin($_etype1231, $_size1228); + for ($_i1232 = 0; $_i1232 < $_size1228; ++$_i1232) { - $elem1226 = null; - $xfer += $input->readString($elem1226); - $this->success []= $elem1226; + $elem1233 = null; + $xfer += $input->readString($elem1233); + $this->success []= $elem1233; } $xfer += $input->readListEnd(); } else { @@ -40334,9 +40334,9 @@ class ThriftHiveMetastore_get_functions_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1227) + foreach ($this->success as $iter1234) { - $xfer += $output->writeString($iter1227); + $xfer += $output->writeString($iter1234); } } $output->writeListEnd(); @@ -41205,14 +41205,14 @@ class ThriftHiveMetastore_get_role_names_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1228 = 0; - $_etype1231 = 0; - $xfer += $input->readListBegin($_etype1231, $_size1228); - for ($_i1232 = 0; $_i1232 < $_size1228; ++$_i1232) + $_size1235 = 0; + $_etype1238 = 0; + $xfer += $input->readListBegin($_etype1238, $_size1235); + for ($_i1239 = 0; $_i1239 < $_size1235; ++$_i1239) { - $elem1233 = null; - $xfer += $input->readString($elem1233); - $this->success []= $elem1233; + $elem1240 = null; + $xfer += $input->readString($elem1240); + $this->success []= $elem1240; } $xfer += $input->readListEnd(); } else { @@ -41248,9 +41248,9 @@ class ThriftHiveMetastore_get_role_names_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1234) + foreach ($this->success as $iter1241) { - $xfer += $output->writeString($iter1234); + $xfer += $output->writeString($iter1241); } } $output->writeListEnd(); @@ -41941,15 +41941,15 @@ class ThriftHiveMetastore_list_roles_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1235 = 0; - $_etype1238 = 0; - $xfer += $input->readListBegin($_etype1238, $_size1235); - for ($_i1239 = 0; $_i1239 < $_size1235; ++$_i1239) + $_size1242 = 0; + $_etype1245 = 0; + $xfer += $input->readListBegin($_etype1245, $_size1242); + for ($_i1246 = 0; $_i1246 < $_size1242; ++$_i1246) { - $elem1240 = null; - $elem1240 = new \metastore\Role(); - $xfer += $elem1240->read($input); - $this->success []= $elem1240; + $elem1247 = null; + $elem1247 = new \metastore\Role(); + $xfer += $elem1247->read($input); + $this->success []= $elem1247; } $xfer += $input->readListEnd(); } else { @@ -41985,9 +41985,9 @@ class ThriftHiveMetastore_list_roles_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1241) + foreach ($this->success as $iter1248) { - $xfer += $iter1241->write($output); + $xfer += $iter1248->write($output); } } $output->writeListEnd(); @@ -42649,14 +42649,14 @@ class ThriftHiveMetastore_get_privilege_set_args { case 3: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1242 = 0; - $_etype1245 = 0; - $xfer += $input->readListBegin($_etype1245, $_size1242); - for ($_i1246 = 0; $_i1246 < $_size1242; ++$_i1246) + $_size1249 = 0; + $_etype1252 = 0; + $xfer += $input->readListBegin($_etype1252, $_size1249); + for ($_i1253 = 0; $_i1253 < $_size1249; ++$_i1253) { - $elem1247 = null; - $xfer += $input->readString($elem1247); - $this->group_names []= $elem1247; + $elem1254 = null; + $xfer += $input->readString($elem1254); + $this->group_names []= $elem1254; } $xfer += $input->readListEnd(); } else { @@ -42697,9 +42697,9 @@ class ThriftHiveMetastore_get_privilege_set_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1248) + foreach ($this->group_names as $iter1255) { - $xfer += $output->writeString($iter1248); + $xfer += $output->writeString($iter1255); } } $output->writeListEnd(); @@ -43007,15 +43007,15 @@ class ThriftHiveMetastore_list_privileges_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1249 = 0; - $_etype1252 = 0; - $xfer += $input->readListBegin($_etype1252, $_size1249); - for ($_i1253 = 0; $_i1253 < $_size1249; ++$_i1253) + $_size1256 = 0; + $_etype1259 = 0; + $xfer += $input->readListBegin($_etype1259, $_size1256); + for ($_i1260 = 0; $_i1260 < $_size1256; ++$_i1260) { - $elem1254 = null; - $elem1254 = new \metastore\HiveObjectPrivilege(); - $xfer += $elem1254->read($input); - $this->success []= $elem1254; + $elem1261 = null; + $elem1261 = new \metastore\HiveObjectPrivilege(); + $xfer += $elem1261->read($input); + $this->success []= $elem1261; } $xfer += $input->readListEnd(); } else { @@ -43051,9 +43051,9 @@ class ThriftHiveMetastore_list_privileges_result { { $output->writeListBegin(TType::STRUCT, count($this->success)); { - foreach ($this->success as $iter1255) + foreach ($this->success as $iter1262) { - $xfer += $iter1255->write($output); + $xfer += $iter1262->write($output); } } $output->writeListEnd(); @@ -43685,14 +43685,14 @@ class ThriftHiveMetastore_set_ugi_args { case 2: if ($ftype == TType::LST) { $this->group_names = array(); - $_size1256 = 0; - $_etype1259 = 0; - $xfer += $input->readListBegin($_etype1259, $_size1256); - for ($_i1260 = 0; $_i1260 < $_size1256; ++$_i1260) + $_size1263 = 0; + $_etype1266 = 0; + $xfer += $input->readListBegin($_etype1266, $_size1263); + for ($_i1267 = 0; $_i1267 < $_size1263; ++$_i1267) { - $elem1261 = null; - $xfer += $input->readString($elem1261); - $this->group_names []= $elem1261; + $elem1268 = null; + $xfer += $input->readString($elem1268); + $this->group_names []= $elem1268; } $xfer += $input->readListEnd(); } else { @@ -43725,9 +43725,9 @@ class ThriftHiveMetastore_set_ugi_args { { $output->writeListBegin(TType::STRING, count($this->group_names)); { - foreach ($this->group_names as $iter1262) + foreach ($this->group_names as $iter1269) { - $xfer += $output->writeString($iter1262); + $xfer += $output->writeString($iter1269); } } $output->writeListEnd(); @@ -43803,14 +43803,14 @@ class ThriftHiveMetastore_set_ugi_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1263 = 0; - $_etype1266 = 0; - $xfer += $input->readListBegin($_etype1266, $_size1263); - for ($_i1267 = 0; $_i1267 < $_size1263; ++$_i1267) + $_size1270 = 0; + $_etype1273 = 0; + $xfer += $input->readListBegin($_etype1273, $_size1270); + for ($_i1274 = 0; $_i1274 < $_size1270; ++$_i1274) { - $elem1268 = null; - $xfer += $input->readString($elem1268); - $this->success []= $elem1268; + $elem1275 = null; + $xfer += $input->readString($elem1275); + $this->success []= $elem1275; } $xfer += $input->readListEnd(); } else { @@ -43846,9 +43846,9 @@ class ThriftHiveMetastore_set_ugi_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1269) + foreach ($this->success as $iter1276) { - $xfer += $output->writeString($iter1269); + $xfer += $output->writeString($iter1276); } } $output->writeListEnd(); @@ -44965,14 +44965,14 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1270 = 0; - $_etype1273 = 0; - $xfer += $input->readListBegin($_etype1273, $_size1270); - for ($_i1274 = 0; $_i1274 < $_size1270; ++$_i1274) + $_size1277 = 0; + $_etype1280 = 0; + $xfer += $input->readListBegin($_etype1280, $_size1277); + for ($_i1281 = 0; $_i1281 < $_size1277; ++$_i1281) { - $elem1275 = null; - $xfer += $input->readString($elem1275); - $this->success []= $elem1275; + $elem1282 = null; + $xfer += $input->readString($elem1282); + $this->success []= $elem1282; } $xfer += $input->readListEnd(); } else { @@ -45000,9 +45000,9 @@ class ThriftHiveMetastore_get_all_token_identifiers_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1276) + foreach ($this->success as $iter1283) { - $xfer += $output->writeString($iter1276); + $xfer += $output->writeString($iter1283); } } $output->writeListEnd(); @@ -45641,14 +45641,14 @@ class ThriftHiveMetastore_get_master_keys_result { case 0: if ($ftype == TType::LST) { $this->success = array(); - $_size1277 = 0; - $_etype1280 = 0; - $xfer += $input->readListBegin($_etype1280, $_size1277); - for ($_i1281 = 0; $_i1281 < $_size1277; ++$_i1281) + $_size1284 = 0; + $_etype1287 = 0; + $xfer += $input->readListBegin($_etype1287, $_size1284); + for ($_i1288 = 0; $_i1288 < $_size1284; ++$_i1288) { - $elem1282 = null; - $xfer += $input->readString($elem1282); - $this->success []= $elem1282; + $elem1289 = null; + $xfer += $input->readString($elem1289); + $this->success []= $elem1289; } $xfer += $input->readListEnd(); } else { @@ -45676,9 +45676,9 @@ class ThriftHiveMetastore_get_master_keys_result { { $output->writeListBegin(TType::STRING, count($this->success)); { - foreach ($this->success as $iter1283) + foreach ($this->success as $iter1290) { - $xfer += $output->writeString($iter1283); + $xfer += $output->writeString($iter1290); } } $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 fcdf2351b3..37c1055313 100644 --- a/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php +++ b/standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php @@ -14399,6 +14399,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)) { @@ -14419,6 +14427,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)) { @@ -14434,6 +14454,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']; + } } } @@ -14484,6 +14510,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(); + $_size490 = 0; + $_etype493 = 0; + $xfer += $input->readListBegin($_etype493, $_size490); + for ($_i494 = 0; $_i494 < $_size490; ++$_i494) + { + $elem495 = null; + $xfer += $input->readI64($elem495); + $this->replSrcTxnIds []= $elem495; + } + $xfer += $input->readListEnd(); + } else { + $xfer += $input->skip($ftype); + } + break; default: $xfer += $input->skip($ftype); break; @@ -14517,6 +14567,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 $iter496) + { + $xfer += $output->writeI64($iter496); + } + } + $output->writeListEnd(); + } + $xfer += $output->writeFieldEnd(); + } $xfer += $output->writeFieldStop(); $xfer += $output->writeStructEnd(); return $xfer; @@ -14574,14 +14646,14 @@ class OpenTxnsResponse { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size490 = 0; - $_etype493 = 0; - $xfer += $input->readListBegin($_etype493, $_size490); - for ($_i494 = 0; $_i494 < $_size490; ++$_i494) + $_size497 = 0; + $_etype500 = 0; + $xfer += $input->readListBegin($_etype500, $_size497); + for ($_i501 = 0; $_i501 < $_size497; ++$_i501) { - $elem495 = null; - $xfer += $input->readI64($elem495); - $this->txn_ids []= $elem495; + $elem502 = null; + $xfer += $input->readI64($elem502); + $this->txn_ids []= $elem502; } $xfer += $input->readListEnd(); } else { @@ -14609,9 +14681,9 @@ class OpenTxnsResponse { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter496) + foreach ($this->txn_ids as $iter503) { - $xfer += $output->writeI64($iter496); + $xfer += $output->writeI64($iter503); } } $output->writeListEnd(); @@ -14632,6 +14704,10 @@ class AbortTxnRequest { * @var int */ public $txnid = null; + /** + * @var string + */ + public $replPolicy = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -14640,12 +14716,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']; + } } } @@ -14675,6 +14758,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; @@ -14693,6 +14783,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; @@ -14750,14 +14845,14 @@ class AbortTxnsRequest { case 1: if ($ftype == TType::LST) { $this->txn_ids = array(); - $_size497 = 0; - $_etype500 = 0; - $xfer += $input->readListBegin($_etype500, $_size497); - for ($_i501 = 0; $_i501 < $_size497; ++$_i501) + $_size504 = 0; + $_etype507 = 0; + $xfer += $input->readListBegin($_etype507, $_size504); + for ($_i508 = 0; $_i508 < $_size504; ++$_i508) { - $elem502 = null; - $xfer += $input->readI64($elem502); - $this->txn_ids []= $elem502; + $elem509 = null; + $xfer += $input->readI64($elem509); + $this->txn_ids []= $elem509; } $xfer += $input->readListEnd(); } else { @@ -14785,9 +14880,9 @@ class AbortTxnsRequest { { $output->writeListBegin(TType::I64, count($this->txn_ids)); { - foreach ($this->txn_ids as $iter503) + foreach ($this->txn_ids as $iter510) { - $xfer += $output->writeI64($iter503); + $xfer += $output->writeI64($iter510); } } $output->writeListEnd(); @@ -14808,6 +14903,10 @@ class CommitTxnRequest { * @var int */ public $txnid = null; + /** + * @var string + */ + public $replPolicy = null; public function __construct($vals=null) { if (!isset(self::$_TSPEC)) { @@ -14816,12 +14915,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']; + } } } @@ -14851,6 +14957,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; @@ -14869,6 +14982,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; @@ -14937,14 +15055,14 @@ class GetValidWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->fullTableNames = array(); - $_size504 = 0; - $_etype507 = 0; - $xfer += $input->readListBegin($_etype507, $_size504); - for ($_i508 = 0; $_i508 < $_size504; ++$_i508) + $_size511 = 0; + $_etype514 = 0; + $xfer += $input->readListBegin($_etype514, $_size511); + for ($_i515 = 0; $_i515 < $_size511; ++$_i515) { - $elem509 = null; - $xfer += $input->readString($elem509); - $this->fullTableNames []= $elem509; + $elem516 = null; + $xfer += $input->readString($elem516); + $this->fullTableNames []= $elem516; } $xfer += $input->readListEnd(); } else { @@ -14979,9 +15097,9 @@ class GetValidWriteIdsRequest { { $output->writeListBegin(TType::STRING, count($this->fullTableNames)); { - foreach ($this->fullTableNames as $iter510) + foreach ($this->fullTableNames as $iter517) { - $xfer += $output->writeString($iter510); + $xfer += $output->writeString($iter517); } } $output->writeListEnd(); @@ -15108,14 +15226,14 @@ class TableValidWriteIds { case 3: if ($ftype == TType::LST) { $this->invalidWriteIds = array(); - $_size511 = 0; - $_etype514 = 0; - $xfer += $input->readListBegin($_etype514, $_size511); - for ($_i515 = 0; $_i515 < $_size511; ++$_i515) + $_size518 = 0; + $_etype521 = 0; + $xfer += $input->readListBegin($_etype521, $_size518); + for ($_i522 = 0; $_i522 < $_size518; ++$_i522) { - $elem516 = null; - $xfer += $input->readI64($elem516); - $this->invalidWriteIds []= $elem516; + $elem523 = null; + $xfer += $input->readI64($elem523); + $this->invalidWriteIds []= $elem523; } $xfer += $input->readListEnd(); } else { @@ -15167,9 +15285,9 @@ class TableValidWriteIds { { $output->writeListBegin(TType::I64, count($this->invalidWriteIds)); { - foreach ($this->invalidWriteIds as $iter517) + foreach ($this->invalidWriteIds as $iter524) { - $xfer += $output->writeI64($iter517); + $xfer += $output->writeI64($iter524); } } $output->writeListEnd(); @@ -15244,15 +15362,15 @@ class GetValidWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->tblValidWriteIds = array(); - $_size518 = 0; - $_etype521 = 0; - $xfer += $input->readListBegin($_etype521, $_size518); - for ($_i522 = 0; $_i522 < $_size518; ++$_i522) + $_size525 = 0; + $_etype528 = 0; + $xfer += $input->readListBegin($_etype528, $_size525); + for ($_i529 = 0; $_i529 < $_size525; ++$_i529) { - $elem523 = null; - $elem523 = new \metastore\TableValidWriteIds(); - $xfer += $elem523->read($input); - $this->tblValidWriteIds []= $elem523; + $elem530 = null; + $elem530 = new \metastore\TableValidWriteIds(); + $xfer += $elem530->read($input); + $this->tblValidWriteIds []= $elem530; } $xfer += $input->readListEnd(); } else { @@ -15280,9 +15398,9 @@ class GetValidWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->tblValidWriteIds)); { - foreach ($this->tblValidWriteIds as $iter524) + foreach ($this->tblValidWriteIds as $iter531) { - $xfer += $iter524->write($output); + $xfer += $iter531->write($output); } } $output->writeListEnd(); @@ -15368,14 +15486,14 @@ class AllocateTableWriteIdsRequest { case 1: if ($ftype == TType::LST) { $this->txnIds = array(); - $_size525 = 0; - $_etype528 = 0; - $xfer += $input->readListBegin($_etype528, $_size525); - for ($_i529 = 0; $_i529 < $_size525; ++$_i529) + $_size532 = 0; + $_etype535 = 0; + $xfer += $input->readListBegin($_etype535, $_size532); + for ($_i536 = 0; $_i536 < $_size532; ++$_i536) { - $elem530 = null; - $xfer += $input->readI64($elem530); - $this->txnIds []= $elem530; + $elem537 = null; + $xfer += $input->readI64($elem537); + $this->txnIds []= $elem537; } $xfer += $input->readListEnd(); } else { @@ -15417,9 +15535,9 @@ class AllocateTableWriteIdsRequest { { $output->writeListBegin(TType::I64, count($this->txnIds)); { - foreach ($this->txnIds as $iter531) + foreach ($this->txnIds as $iter538) { - $xfer += $output->writeI64($iter531); + $xfer += $output->writeI64($iter538); } } $output->writeListEnd(); @@ -15592,15 +15710,15 @@ class AllocateTableWriteIdsResponse { case 1: if ($ftype == TType::LST) { $this->txnToWriteIds = array(); - $_size532 = 0; - $_etype535 = 0; - $xfer += $input->readListBegin($_etype535, $_size532); - for ($_i536 = 0; $_i536 < $_size532; ++$_i536) + $_size539 = 0; + $_etype542 = 0; + $xfer += $input->readListBegin($_etype542, $_size539); + for ($_i543 = 0; $_i543 < $_size539; ++$_i543) { - $elem537 = null; - $elem537 = new \metastore\TxnToWriteId(); - $xfer += $elem537->read($input); - $this->txnToWriteIds []= $elem537; + $elem544 = null; + $elem544 = new \metastore\TxnToWriteId(); + $xfer += $elem544->read($input); + $this->txnToWriteIds []= $elem544; } $xfer += $input->readListEnd(); } else { @@ -15628,9 +15746,9 @@ class AllocateTableWriteIdsResponse { { $output->writeListBegin(TType::STRUCT, count($this->txnToWriteIds)); { - foreach ($this->txnToWriteIds as $iter538) + foreach ($this->txnToWriteIds as $iter545) { - $xfer += $iter538->write($output); + $xfer += $iter545->write($output); } } $output->writeListEnd(); @@ -15975,15 +16093,15 @@ class LockRequest { case 1: if ($ftype == TType::LST) { $this->component = array(); - $_size539 = 0; - $_etype542 = 0; - $xfer += $input->readListBegin($_etype542, $_size539); - for ($_i543 = 0; $_i543 < $_size539; ++$_i543) + $_size546 = 0; + $_etype549 = 0; + $xfer += $input->readListBegin($_etype549, $_size546); + for ($_i550 = 0; $_i550 < $_size546; ++$_i550) { - $elem544 = null; - $elem544 = new \metastore\LockComponent(); - $xfer += $elem544->read($input); - $this->component []= $elem544; + $elem551 = null; + $elem551 = new \metastore\LockComponent(); + $xfer += $elem551->read($input); + $this->component []= $elem551; } $xfer += $input->readListEnd(); } else { @@ -16039,9 +16157,9 @@ class LockRequest { { $output->writeListBegin(TType::STRUCT, count($this->component)); { - foreach ($this->component as $iter545) + foreach ($this->component as $iter552) { - $xfer += $iter545->write($output); + $xfer += $iter552->write($output); } } $output->writeListEnd(); @@ -16984,15 +17102,15 @@ class ShowLocksResponse { case 1: if ($ftype == TType::LST) { $this->locks = array(); - $_size546 = 0; - $_etype549 = 0; - $xfer += $input->readListBegin($_etype549, $_size546); - for ($_i550 = 0; $_i550 < $_size546; ++$_i550) + $_size553 = 0; + $_etype556 = 0; + $xfer += $input->readListBegin($_etype556, $_size553); + for ($_i557 = 0; $_i557 < $_size553; ++$_i557) { - $elem551 = null; - $elem551 = new \metastore\ShowLocksResponseElement(); - $xfer += $elem551->read($input); - $this->locks []= $elem551; + $elem558 = null; + $elem558 = new \metastore\ShowLocksResponseElement(); + $xfer += $elem558->read($input); + $this->locks []= $elem558; } $xfer += $input->readListEnd(); } else { @@ -17020,9 +17138,9 @@ class ShowLocksResponse { { $output->writeListBegin(TType::STRUCT, count($this->locks)); { - foreach ($this->locks as $iter552) + foreach ($this->locks as $iter559) { - $xfer += $iter552->write($output); + $xfer += $iter559->write($output); } } $output->writeListEnd(); @@ -17297,17 +17415,17 @@ class HeartbeatTxnRangeResponse { case 1: if ($ftype == TType::SET) { $this->aborted = array(); - $_size553 = 0; - $_etype556 = 0; - $xfer += $input->readSetBegin($_etype556, $_size553); - for ($_i557 = 0; $_i557 < $_size553; ++$_i557) + $_size560 = 0; + $_etype563 = 0; + $xfer += $input->readSetBegin($_etype563, $_size560); + for ($_i564 = 0; $_i564 < $_size560; ++$_i564) { - $elem558 = null; - $xfer += $input->readI64($elem558); - if (is_scalar($elem558)) { - $this->aborted[$elem558] = true; + $elem565 = null; + $xfer += $input->readI64($elem565); + if (is_scalar($elem565)) { + $this->aborted[$elem565] = true; } else { - $this->aborted []= $elem558; + $this->aborted []= $elem565; } } $xfer += $input->readSetEnd(); @@ -17318,17 +17436,17 @@ class HeartbeatTxnRangeResponse { case 2: if ($ftype == TType::SET) { $this->nosuch = array(); - $_size559 = 0; - $_etype562 = 0; - $xfer += $input->readSetBegin($_etype562, $_size559); - for ($_i563 = 0; $_i563 < $_size559; ++$_i563) + $_size566 = 0; + $_etype569 = 0; + $xfer += $input->readSetBegin($_etype569, $_size566); + for ($_i570 = 0; $_i570 < $_size566; ++$_i570) { - $elem564 = null; - $xfer += $input->readI64($elem564); - if (is_scalar($elem564)) { - $this->nosuch[$elem564] = true; + $elem571 = null; + $xfer += $input->readI64($elem571); + if (is_scalar($elem571)) { + $this->nosuch[$elem571] = true; } else { - $this->nosuch []= $elem564; + $this->nosuch []= $elem571; } } $xfer += $input->readSetEnd(); @@ -17357,12 +17475,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->aborted)); { - foreach ($this->aborted as $iter565 => $iter566) + foreach ($this->aborted as $iter572 => $iter573) { - if (is_scalar($iter566)) { - $xfer += $output->writeI64($iter565); + if (is_scalar($iter573)) { + $xfer += $output->writeI64($iter572); } else { - $xfer += $output->writeI64($iter566); + $xfer += $output->writeI64($iter573); } } } @@ -17378,12 +17496,12 @@ class HeartbeatTxnRangeResponse { { $output->writeSetBegin(TType::I64, count($this->nosuch)); { - foreach ($this->nosuch as $iter567 => $iter568) + foreach ($this->nosuch as $iter574 => $iter575) { - if (is_scalar($iter568)) { - $xfer += $output->writeI64($iter567); + if (is_scalar($iter575)) { + $xfer += $output->writeI64($iter574); } else { - $xfer += $output->writeI64($iter568); + $xfer += $output->writeI64($iter575); } } } @@ -17542,17 +17660,17 @@ class CompactionRequest { case 6: if ($ftype == TType::MAP) { $this->properties = array(); - $_size569 = 0; - $_ktype570 = 0; - $_vtype571 = 0; - $xfer += $input->readMapBegin($_ktype570, $_vtype571, $_size569); - for ($_i573 = 0; $_i573 < $_size569; ++$_i573) + $_size576 = 0; + $_ktype577 = 0; + $_vtype578 = 0; + $xfer += $input->readMapBegin($_ktype577, $_vtype578, $_size576); + for ($_i580 = 0; $_i580 < $_size576; ++$_i580) { - $key574 = ''; - $val575 = ''; - $xfer += $input->readString($key574); - $xfer += $input->readString($val575); - $this->properties[$key574] = $val575; + $key581 = ''; + $val582 = ''; + $xfer += $input->readString($key581); + $xfer += $input->readString($val582); + $this->properties[$key581] = $val582; } $xfer += $input->readMapEnd(); } else { @@ -17605,10 +17723,10 @@ class CompactionRequest { { $output->writeMapBegin(TType::STRING, TType::STRING, count($this->properties)); { - foreach ($this->properties as $kiter576 => $viter577) + foreach ($this->properties as $kiter583 => $viter584) { - $xfer += $output->writeString($kiter576); - $xfer += $output->writeString($viter577); + $xfer += $output->writeString($kiter583); + $xfer += $output->writeString($viter584); } } $output->writeMapEnd(); @@ -18195,15 +18313,15 @@ class ShowCompactResponse { case 1: if ($ftype == TType::LST) { $this->compacts = array(); - $_size578 = 0; - $_etype581 = 0; - $xfer += $input->readListBegin($_etype581, $_size578); - for ($_i582 = 0; $_i582 < $_size578; ++$_i582) + $_size585 = 0; + $_etype588 = 0; + $xfer += $input->readListBegin($_etype588, $_size585); + for ($_i589 = 0; $_i589 < $_size585; ++$_i589) { - $elem583 = null; - $elem583 = new \metastore\ShowCompactResponseElement(); - $xfer += $elem583->read($input); - $this->compacts []= $elem583; + $elem590 = null; + $elem590 = new \metastore\ShowCompactResponseElement(); + $xfer += $elem590->read($input); + $this->compacts []= $elem590; } $xfer += $input->readListEnd(); } else { @@ -18231,9 +18349,9 @@ class ShowCompactResponse { { $output->writeListBegin(TType::STRUCT, count($this->compacts)); { - foreach ($this->compacts as $iter584) + foreach ($this->compacts as $iter591) { - $xfer += $iter584->write($output); + $xfer += $iter591->write($output); } } $output->writeListEnd(); @@ -18380,14 +18498,14 @@ class AddDynamicPartitions { case 5: if ($ftype == TType::LST) { $this->partitionnames = array(); - $_size585 = 0; - $_etype588 = 0; - $xfer += $input->readListBegin($_etype588, $_size585); - for ($_i589 = 0; $_i589 < $_size585; ++$_i589) + $_size592 = 0; + $_etype595 = 0; + $xfer += $input->readListBegin($_etype595, $_size592); + for ($_i596 = 0; $_i596 < $_size592; ++$_i596) { - $elem590 = null; - $xfer += $input->readString($elem590); - $this->partitionnames []= $elem590; + $elem597 = null; + $xfer += $input->readString($elem597); + $this->partitionnames []= $elem597; } $xfer += $input->readListEnd(); } else { @@ -18442,9 +18560,9 @@ class AddDynamicPartitions { { $output->writeListBegin(TType::STRING, count($this->partitionnames)); { - foreach ($this->partitionnames as $iter591) + foreach ($this->partitionnames as $iter598) { - $xfer += $output->writeString($iter591); + $xfer += $output->writeString($iter598); } } $output->writeListEnd(); @@ -18750,17 +18868,17 @@ class CreationMetadata { case 3: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size592 = 0; - $_etype595 = 0; - $xfer += $input->readSetBegin($_etype595, $_size592); - for ($_i596 = 0; $_i596 < $_size592; ++$_i596) + $_size599 = 0; + $_etype602 = 0; + $xfer += $input->readSetBegin($_etype602, $_size599); + for ($_i603 = 0; $_i603 < $_size599; ++$_i603) { - $elem597 = null; - $xfer += $input->readString($elem597); - if (is_scalar($elem597)) { - $this->tablesUsed[$elem597] = true; + $elem604 = null; + $xfer += $input->readString($elem604); + if (is_scalar($elem604)) { + $this->tablesUsed[$elem604] = true; } else { - $this->tablesUsed []= $elem597; + $this->tablesUsed []= $elem604; } } $xfer += $input->readSetEnd(); @@ -18806,12 +18924,12 @@ class CreationMetadata { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter598 => $iter599) + foreach ($this->tablesUsed as $iter605 => $iter606) { - if (is_scalar($iter599)) { - $xfer += $output->writeString($iter598); + if (is_scalar($iter606)) { + $xfer += $output->writeString($iter605); } else { - $xfer += $output->writeString($iter599); + $xfer += $output->writeString($iter606); } } } @@ -19193,15 +19311,15 @@ class NotificationEventResponse { case 1: if ($ftype == TType::LST) { $this->events = array(); - $_size600 = 0; - $_etype603 = 0; - $xfer += $input->readListBegin($_etype603, $_size600); - for ($_i604 = 0; $_i604 < $_size600; ++$_i604) + $_size607 = 0; + $_etype610 = 0; + $xfer += $input->readListBegin($_etype610, $_size607); + for ($_i611 = 0; $_i611 < $_size607; ++$_i611) { - $elem605 = null; - $elem605 = new \metastore\NotificationEvent(); - $xfer += $elem605->read($input); - $this->events []= $elem605; + $elem612 = null; + $elem612 = new \metastore\NotificationEvent(); + $xfer += $elem612->read($input); + $this->events []= $elem612; } $xfer += $input->readListEnd(); } else { @@ -19229,9 +19347,9 @@ class NotificationEventResponse { { $output->writeListBegin(TType::STRUCT, count($this->events)); { - foreach ($this->events as $iter606) + foreach ($this->events as $iter613) { - $xfer += $iter606->write($output); + $xfer += $iter613->write($output); } } $output->writeListEnd(); @@ -19576,14 +19694,14 @@ class InsertEventRequestData { case 2: if ($ftype == TType::LST) { $this->filesAdded = array(); - $_size607 = 0; - $_etype610 = 0; - $xfer += $input->readListBegin($_etype610, $_size607); - for ($_i611 = 0; $_i611 < $_size607; ++$_i611) + $_size614 = 0; + $_etype617 = 0; + $xfer += $input->readListBegin($_etype617, $_size614); + for ($_i618 = 0; $_i618 < $_size614; ++$_i618) { - $elem612 = null; - $xfer += $input->readString($elem612); - $this->filesAdded []= $elem612; + $elem619 = null; + $xfer += $input->readString($elem619); + $this->filesAdded []= $elem619; } $xfer += $input->readListEnd(); } else { @@ -19593,14 +19711,14 @@ class InsertEventRequestData { case 3: if ($ftype == TType::LST) { $this->filesAddedChecksum = array(); - $_size613 = 0; - $_etype616 = 0; - $xfer += $input->readListBegin($_etype616, $_size613); - for ($_i617 = 0; $_i617 < $_size613; ++$_i617) + $_size620 = 0; + $_etype623 = 0; + $xfer += $input->readListBegin($_etype623, $_size620); + for ($_i624 = 0; $_i624 < $_size620; ++$_i624) { - $elem618 = null; - $xfer += $input->readString($elem618); - $this->filesAddedChecksum []= $elem618; + $elem625 = null; + $xfer += $input->readString($elem625); + $this->filesAddedChecksum []= $elem625; } $xfer += $input->readListEnd(); } else { @@ -19633,9 +19751,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAdded)); { - foreach ($this->filesAdded as $iter619) + foreach ($this->filesAdded as $iter626) { - $xfer += $output->writeString($iter619); + $xfer += $output->writeString($iter626); } } $output->writeListEnd(); @@ -19650,9 +19768,9 @@ class InsertEventRequestData { { $output->writeListBegin(TType::STRING, count($this->filesAddedChecksum)); { - foreach ($this->filesAddedChecksum as $iter620) + foreach ($this->filesAddedChecksum as $iter627) { - $xfer += $output->writeString($iter620); + $xfer += $output->writeString($iter627); } } $output->writeListEnd(); @@ -19870,14 +19988,14 @@ class FireEventRequest { case 5: if ($ftype == TType::LST) { $this->partitionVals = array(); - $_size621 = 0; - $_etype624 = 0; - $xfer += $input->readListBegin($_etype624, $_size621); - for ($_i625 = 0; $_i625 < $_size621; ++$_i625) + $_size628 = 0; + $_etype631 = 0; + $xfer += $input->readListBegin($_etype631, $_size628); + for ($_i632 = 0; $_i632 < $_size628; ++$_i632) { - $elem626 = null; - $xfer += $input->readString($elem626); - $this->partitionVals []= $elem626; + $elem633 = null; + $xfer += $input->readString($elem633); + $this->partitionVals []= $elem633; } $xfer += $input->readListEnd(); } else { @@ -19928,9 +20046,9 @@ class FireEventRequest { { $output->writeListBegin(TType::STRING, count($this->partitionVals)); { - foreach ($this->partitionVals as $iter627) + foreach ($this->partitionVals as $iter634) { - $xfer += $output->writeString($iter627); + $xfer += $output->writeString($iter634); } } $output->writeListEnd(); @@ -20158,18 +20276,18 @@ class GetFileMetadataByExprResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size628 = 0; - $_ktype629 = 0; - $_vtype630 = 0; - $xfer += $input->readMapBegin($_ktype629, $_vtype630, $_size628); - for ($_i632 = 0; $_i632 < $_size628; ++$_i632) + $_size635 = 0; + $_ktype636 = 0; + $_vtype637 = 0; + $xfer += $input->readMapBegin($_ktype636, $_vtype637, $_size635); + for ($_i639 = 0; $_i639 < $_size635; ++$_i639) { - $key633 = 0; - $val634 = new \metastore\MetadataPpdResult(); - $xfer += $input->readI64($key633); - $val634 = new \metastore\MetadataPpdResult(); - $xfer += $val634->read($input); - $this->metadata[$key633] = $val634; + $key640 = 0; + $val641 = new \metastore\MetadataPpdResult(); + $xfer += $input->readI64($key640); + $val641 = new \metastore\MetadataPpdResult(); + $xfer += $val641->read($input); + $this->metadata[$key640] = $val641; } $xfer += $input->readMapEnd(); } else { @@ -20204,10 +20322,10 @@ class GetFileMetadataByExprResult { { $output->writeMapBegin(TType::I64, TType::STRUCT, count($this->metadata)); { - foreach ($this->metadata as $kiter635 => $viter636) + foreach ($this->metadata as $kiter642 => $viter643) { - $xfer += $output->writeI64($kiter635); - $xfer += $viter636->write($output); + $xfer += $output->writeI64($kiter642); + $xfer += $viter643->write($output); } } $output->writeMapEnd(); @@ -20309,14 +20427,14 @@ class GetFileMetadataByExprRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size637 = 0; - $_etype640 = 0; - $xfer += $input->readListBegin($_etype640, $_size637); - for ($_i641 = 0; $_i641 < $_size637; ++$_i641) + $_size644 = 0; + $_etype647 = 0; + $xfer += $input->readListBegin($_etype647, $_size644); + for ($_i648 = 0; $_i648 < $_size644; ++$_i648) { - $elem642 = null; - $xfer += $input->readI64($elem642); - $this->fileIds []= $elem642; + $elem649 = null; + $xfer += $input->readI64($elem649); + $this->fileIds []= $elem649; } $xfer += $input->readListEnd(); } else { @@ -20365,9 +20483,9 @@ class GetFileMetadataByExprRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter643) + foreach ($this->fileIds as $iter650) { - $xfer += $output->writeI64($iter643); + $xfer += $output->writeI64($iter650); } } $output->writeListEnd(); @@ -20461,17 +20579,17 @@ class GetFileMetadataResult { case 1: if ($ftype == TType::MAP) { $this->metadata = array(); - $_size644 = 0; - $_ktype645 = 0; - $_vtype646 = 0; - $xfer += $input->readMapBegin($_ktype645, $_vtype646, $_size644); - for ($_i648 = 0; $_i648 < $_size644; ++$_i648) + $_size651 = 0; + $_ktype652 = 0; + $_vtype653 = 0; + $xfer += $input->readMapBegin($_ktype652, $_vtype653, $_size651); + for ($_i655 = 0; $_i655 < $_size651; ++$_i655) { - $key649 = 0; - $val650 = ''; - $xfer += $input->readI64($key649); - $xfer += $input->readString($val650); - $this->metadata[$key649] = $val650; + $key656 = 0; + $val657 = ''; + $xfer += $input->readI64($key656); + $xfer += $input->readString($val657); + $this->metadata[$key656] = $val657; } $xfer += $input->readMapEnd(); } else { @@ -20506,10 +20624,10 @@ class GetFileMetadataResult { { $output->writeMapBegin(TType::I64, TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $kiter651 => $viter652) + foreach ($this->metadata as $kiter658 => $viter659) { - $xfer += $output->writeI64($kiter651); - $xfer += $output->writeString($viter652); + $xfer += $output->writeI64($kiter658); + $xfer += $output->writeString($viter659); } } $output->writeMapEnd(); @@ -20578,14 +20696,14 @@ class GetFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size653 = 0; - $_etype656 = 0; - $xfer += $input->readListBegin($_etype656, $_size653); - for ($_i657 = 0; $_i657 < $_size653; ++$_i657) + $_size660 = 0; + $_etype663 = 0; + $xfer += $input->readListBegin($_etype663, $_size660); + for ($_i664 = 0; $_i664 < $_size660; ++$_i664) { - $elem658 = null; - $xfer += $input->readI64($elem658); - $this->fileIds []= $elem658; + $elem665 = null; + $xfer += $input->readI64($elem665); + $this->fileIds []= $elem665; } $xfer += $input->readListEnd(); } else { @@ -20613,9 +20731,9 @@ class GetFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter659) + foreach ($this->fileIds as $iter666) { - $xfer += $output->writeI64($iter659); + $xfer += $output->writeI64($iter666); } } $output->writeListEnd(); @@ -20755,14 +20873,14 @@ class PutFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size660 = 0; - $_etype663 = 0; - $xfer += $input->readListBegin($_etype663, $_size660); - for ($_i664 = 0; $_i664 < $_size660; ++$_i664) + $_size667 = 0; + $_etype670 = 0; + $xfer += $input->readListBegin($_etype670, $_size667); + for ($_i671 = 0; $_i671 < $_size667; ++$_i671) { - $elem665 = null; - $xfer += $input->readI64($elem665); - $this->fileIds []= $elem665; + $elem672 = null; + $xfer += $input->readI64($elem672); + $this->fileIds []= $elem672; } $xfer += $input->readListEnd(); } else { @@ -20772,14 +20890,14 @@ class PutFileMetadataRequest { case 2: if ($ftype == TType::LST) { $this->metadata = array(); - $_size666 = 0; - $_etype669 = 0; - $xfer += $input->readListBegin($_etype669, $_size666); - for ($_i670 = 0; $_i670 < $_size666; ++$_i670) + $_size673 = 0; + $_etype676 = 0; + $xfer += $input->readListBegin($_etype676, $_size673); + for ($_i677 = 0; $_i677 < $_size673; ++$_i677) { - $elem671 = null; - $xfer += $input->readString($elem671); - $this->metadata []= $elem671; + $elem678 = null; + $xfer += $input->readString($elem678); + $this->metadata []= $elem678; } $xfer += $input->readListEnd(); } else { @@ -20814,9 +20932,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter672) + foreach ($this->fileIds as $iter679) { - $xfer += $output->writeI64($iter672); + $xfer += $output->writeI64($iter679); } } $output->writeListEnd(); @@ -20831,9 +20949,9 @@ class PutFileMetadataRequest { { $output->writeListBegin(TType::STRING, count($this->metadata)); { - foreach ($this->metadata as $iter673) + foreach ($this->metadata as $iter680) { - $xfer += $output->writeString($iter673); + $xfer += $output->writeString($iter680); } } $output->writeListEnd(); @@ -20952,14 +21070,14 @@ class ClearFileMetadataRequest { case 1: if ($ftype == TType::LST) { $this->fileIds = array(); - $_size674 = 0; - $_etype677 = 0; - $xfer += $input->readListBegin($_etype677, $_size674); - for ($_i678 = 0; $_i678 < $_size674; ++$_i678) + $_size681 = 0; + $_etype684 = 0; + $xfer += $input->readListBegin($_etype684, $_size681); + for ($_i685 = 0; $_i685 < $_size681; ++$_i685) { - $elem679 = null; - $xfer += $input->readI64($elem679); - $this->fileIds []= $elem679; + $elem686 = null; + $xfer += $input->readI64($elem686); + $this->fileIds []= $elem686; } $xfer += $input->readListEnd(); } else { @@ -20987,9 +21105,9 @@ class ClearFileMetadataRequest { { $output->writeListBegin(TType::I64, count($this->fileIds)); { - foreach ($this->fileIds as $iter680) + foreach ($this->fileIds as $iter687) { - $xfer += $output->writeI64($iter680); + $xfer += $output->writeI64($iter687); } } $output->writeListEnd(); @@ -21273,15 +21391,15 @@ class GetAllFunctionsResponse { case 1: if ($ftype == TType::LST) { $this->functions = array(); - $_size681 = 0; - $_etype684 = 0; - $xfer += $input->readListBegin($_etype684, $_size681); - for ($_i685 = 0; $_i685 < $_size681; ++$_i685) + $_size688 = 0; + $_etype691 = 0; + $xfer += $input->readListBegin($_etype691, $_size688); + for ($_i692 = 0; $_i692 < $_size688; ++$_i692) { - $elem686 = null; - $elem686 = new \metastore\Function(); - $xfer += $elem686->read($input); - $this->functions []= $elem686; + $elem693 = null; + $elem693 = new \metastore\Function(); + $xfer += $elem693->read($input); + $this->functions []= $elem693; } $xfer += $input->readListEnd(); } else { @@ -21309,9 +21427,9 @@ class GetAllFunctionsResponse { { $output->writeListBegin(TType::STRUCT, count($this->functions)); { - foreach ($this->functions as $iter687) + foreach ($this->functions as $iter694) { - $xfer += $iter687->write($output); + $xfer += $iter694->write($output); } } $output->writeListEnd(); @@ -21375,14 +21493,14 @@ class ClientCapabilities { case 1: if ($ftype == TType::LST) { $this->values = array(); - $_size688 = 0; - $_etype691 = 0; - $xfer += $input->readListBegin($_etype691, $_size688); - for ($_i692 = 0; $_i692 < $_size688; ++$_i692) + $_size695 = 0; + $_etype698 = 0; + $xfer += $input->readListBegin($_etype698, $_size695); + for ($_i699 = 0; $_i699 < $_size695; ++$_i699) { - $elem693 = null; - $xfer += $input->readI32($elem693); - $this->values []= $elem693; + $elem700 = null; + $xfer += $input->readI32($elem700); + $this->values []= $elem700; } $xfer += $input->readListEnd(); } else { @@ -21410,9 +21528,9 @@ class ClientCapabilities { { $output->writeListBegin(TType::I32, count($this->values)); { - foreach ($this->values as $iter694) + foreach ($this->values as $iter701) { - $xfer += $output->writeI32($iter694); + $xfer += $output->writeI32($iter701); } } $output->writeListEnd(); @@ -21712,14 +21830,14 @@ class GetTablesRequest { case 2: if ($ftype == TType::LST) { $this->tblNames = array(); - $_size695 = 0; - $_etype698 = 0; - $xfer += $input->readListBegin($_etype698, $_size695); - for ($_i699 = 0; $_i699 < $_size695; ++$_i699) + $_size702 = 0; + $_etype705 = 0; + $xfer += $input->readListBegin($_etype705, $_size702); + for ($_i706 = 0; $_i706 < $_size702; ++$_i706) { - $elem700 = null; - $xfer += $input->readString($elem700); - $this->tblNames []= $elem700; + $elem707 = null; + $xfer += $input->readString($elem707); + $this->tblNames []= $elem707; } $xfer += $input->readListEnd(); } else { @@ -21760,9 +21878,9 @@ class GetTablesRequest { { $output->writeListBegin(TType::STRING, count($this->tblNames)); { - foreach ($this->tblNames as $iter701) + foreach ($this->tblNames as $iter708) { - $xfer += $output->writeString($iter701); + $xfer += $output->writeString($iter708); } } $output->writeListEnd(); @@ -21835,15 +21953,15 @@ class GetTablesResult { case 1: if ($ftype == TType::LST) { $this->tables = array(); - $_size702 = 0; - $_etype705 = 0; - $xfer += $input->readListBegin($_etype705, $_size702); - for ($_i706 = 0; $_i706 < $_size702; ++$_i706) + $_size709 = 0; + $_etype712 = 0; + $xfer += $input->readListBegin($_etype712, $_size709); + for ($_i713 = 0; $_i713 < $_size709; ++$_i713) { - $elem707 = null; - $elem707 = new \metastore\Table(); - $xfer += $elem707->read($input); - $this->tables []= $elem707; + $elem714 = null; + $elem714 = new \metastore\Table(); + $xfer += $elem714->read($input); + $this->tables []= $elem714; } $xfer += $input->readListEnd(); } else { @@ -21871,9 +21989,9 @@ class GetTablesResult { { $output->writeListBegin(TType::STRUCT, count($this->tables)); { - foreach ($this->tables as $iter708) + foreach ($this->tables as $iter715) { - $xfer += $iter708->write($output); + $xfer += $iter715->write($output); } } $output->writeListEnd(); @@ -22251,17 +22369,17 @@ class Materialization { case 1: if ($ftype == TType::SET) { $this->tablesUsed = array(); - $_size709 = 0; - $_etype712 = 0; - $xfer += $input->readSetBegin($_etype712, $_size709); - for ($_i713 = 0; $_i713 < $_size709; ++$_i713) + $_size716 = 0; + $_etype719 = 0; + $xfer += $input->readSetBegin($_etype719, $_size716); + for ($_i720 = 0; $_i720 < $_size716; ++$_i720) { - $elem714 = null; - $xfer += $input->readString($elem714); - if (is_scalar($elem714)) { - $this->tablesUsed[$elem714] = true; + $elem721 = null; + $xfer += $input->readString($elem721); + if (is_scalar($elem721)) { + $this->tablesUsed[$elem721] = true; } else { - $this->tablesUsed []= $elem714; + $this->tablesUsed []= $elem721; } } $xfer += $input->readSetEnd(); @@ -22304,12 +22422,12 @@ class Materialization { { $output->writeSetBegin(TType::STRING, count($this->tablesUsed)); { - foreach ($this->tablesUsed as $iter715 => $iter716) + foreach ($this->tablesUsed as $iter722 => $iter723) { - if (is_scalar($iter716)) { - $xfer += $output->writeString($iter715); + if (is_scalar($iter723)) { + $xfer += $output->writeString($iter722); } else { - $xfer += $output->writeString($iter716); + $xfer += $output->writeString($iter723); } } } @@ -23576,15 +23694,15 @@ class WMFullResourcePlan { case 2: if ($ftype == TType::LST) { $this->pools = array(); - $_size717 = 0; - $_etype720 = 0; - $xfer += $input->readListBegin($_etype720, $_size717); - for ($_i721 = 0; $_i721 < $_size717; ++$_i721) + $_size724 = 0; + $_etype727 = 0; + $xfer += $input->readListBegin($_etype727, $_size724); + for ($_i728 = 0; $_i728 < $_size724; ++$_i728) { - $elem722 = null; - $elem722 = new \metastore\WMPool(); - $xfer += $elem722->read($input); - $this->pools []= $elem722; + $elem729 = null; + $elem729 = new \metastore\WMPool(); + $xfer += $elem729->read($input); + $this->pools []= $elem729; } $xfer += $input->readListEnd(); } else { @@ -23594,15 +23712,15 @@ class WMFullResourcePlan { case 3: if ($ftype == TType::LST) { $this->mappings = array(); - $_size723 = 0; - $_etype726 = 0; - $xfer += $input->readListBegin($_etype726, $_size723); - for ($_i727 = 0; $_i727 < $_size723; ++$_i727) + $_size730 = 0; + $_etype733 = 0; + $xfer += $input->readListBegin($_etype733, $_size730); + for ($_i734 = 0; $_i734 < $_size730; ++$_i734) { - $elem728 = null; - $elem728 = new \metastore\WMMapping(); - $xfer += $elem728->read($input); - $this->mappings []= $elem728; + $elem735 = null; + $elem735 = new \metastore\WMMapping(); + $xfer += $elem735->read($input); + $this->mappings []= $elem735; } $xfer += $input->readListEnd(); } else { @@ -23612,15 +23730,15 @@ class WMFullResourcePlan { case 4: if ($ftype == TType::LST) { $this->triggers = array(); - $_size729 = 0; - $_etype732 = 0; - $xfer += $input->readListBegin($_etype732, $_size729); - for ($_i733 = 0; $_i733 < $_size729; ++$_i733) + $_size736 = 0; + $_etype739 = 0; + $xfer += $input->readListBegin($_etype739, $_size736); + for ($_i740 = 0; $_i740 < $_size736; ++$_i740) { - $elem734 = null; - $elem734 = new \metastore\WMTrigger(); - $xfer += $elem734->read($input); - $this->triggers []= $elem734; + $elem741 = null; + $elem741 = new \metastore\WMTrigger(); + $xfer += $elem741->read($input); + $this->triggers []= $elem741; } $xfer += $input->readListEnd(); } else { @@ -23630,15 +23748,15 @@ class WMFullResourcePlan { case 5: if ($ftype == TType::LST) { $this->poolTriggers = array(); - $_size735 = 0; - $_etype738 = 0; - $xfer += $input->readListBegin($_etype738, $_size735); - for ($_i739 = 0; $_i739 < $_size735; ++$_i739) + $_size742 = 0; + $_etype745 = 0; + $xfer += $input->readListBegin($_etype745, $_size742); + for ($_i746 = 0; $_i746 < $_size742; ++$_i746) { - $elem740 = null; - $elem740 = new \metastore\WMPoolTrigger(); - $xfer += $elem740->read($input); - $this->poolTriggers []= $elem740; + $elem747 = null; + $elem747 = new \metastore\WMPoolTrigger(); + $xfer += $elem747->read($input); + $this->poolTriggers []= $elem747; } $xfer += $input->readListEnd(); } else { @@ -23674,9 +23792,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->pools)); { - foreach ($this->pools as $iter741) + foreach ($this->pools as $iter748) { - $xfer += $iter741->write($output); + $xfer += $iter748->write($output); } } $output->writeListEnd(); @@ -23691,9 +23809,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->mappings)); { - foreach ($this->mappings as $iter742) + foreach ($this->mappings as $iter749) { - $xfer += $iter742->write($output); + $xfer += $iter749->write($output); } } $output->writeListEnd(); @@ -23708,9 +23826,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter743) + foreach ($this->triggers as $iter750) { - $xfer += $iter743->write($output); + $xfer += $iter750->write($output); } } $output->writeListEnd(); @@ -23725,9 +23843,9 @@ class WMFullResourcePlan { { $output->writeListBegin(TType::STRUCT, count($this->poolTriggers)); { - foreach ($this->poolTriggers as $iter744) + foreach ($this->poolTriggers as $iter751) { - $xfer += $iter744->write($output); + $xfer += $iter751->write($output); } } $output->writeListEnd(); @@ -24280,15 +24398,15 @@ class WMGetAllResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->resourcePlans = array(); - $_size745 = 0; - $_etype748 = 0; - $xfer += $input->readListBegin($_etype748, $_size745); - for ($_i749 = 0; $_i749 < $_size745; ++$_i749) + $_size752 = 0; + $_etype755 = 0; + $xfer += $input->readListBegin($_etype755, $_size752); + for ($_i756 = 0; $_i756 < $_size752; ++$_i756) { - $elem750 = null; - $elem750 = new \metastore\WMResourcePlan(); - $xfer += $elem750->read($input); - $this->resourcePlans []= $elem750; + $elem757 = null; + $elem757 = new \metastore\WMResourcePlan(); + $xfer += $elem757->read($input); + $this->resourcePlans []= $elem757; } $xfer += $input->readListEnd(); } else { @@ -24316,9 +24434,9 @@ class WMGetAllResourcePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->resourcePlans)); { - foreach ($this->resourcePlans as $iter751) + foreach ($this->resourcePlans as $iter758) { - $xfer += $iter751->write($output); + $xfer += $iter758->write($output); } } $output->writeListEnd(); @@ -24724,14 +24842,14 @@ class WMValidateResourcePlanResponse { case 1: if ($ftype == TType::LST) { $this->errors = array(); - $_size752 = 0; - $_etype755 = 0; - $xfer += $input->readListBegin($_etype755, $_size752); - for ($_i756 = 0; $_i756 < $_size752; ++$_i756) + $_size759 = 0; + $_etype762 = 0; + $xfer += $input->readListBegin($_etype762, $_size759); + for ($_i763 = 0; $_i763 < $_size759; ++$_i763) { - $elem757 = null; - $xfer += $input->readString($elem757); - $this->errors []= $elem757; + $elem764 = null; + $xfer += $input->readString($elem764); + $this->errors []= $elem764; } $xfer += $input->readListEnd(); } else { @@ -24741,14 +24859,14 @@ class WMValidateResourcePlanResponse { case 2: if ($ftype == TType::LST) { $this->warnings = array(); - $_size758 = 0; - $_etype761 = 0; - $xfer += $input->readListBegin($_etype761, $_size758); - for ($_i762 = 0; $_i762 < $_size758; ++$_i762) + $_size765 = 0; + $_etype768 = 0; + $xfer += $input->readListBegin($_etype768, $_size765); + for ($_i769 = 0; $_i769 < $_size765; ++$_i769) { - $elem763 = null; - $xfer += $input->readString($elem763); - $this->warnings []= $elem763; + $elem770 = null; + $xfer += $input->readString($elem770); + $this->warnings []= $elem770; } $xfer += $input->readListEnd(); } else { @@ -24776,9 +24894,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->errors)); { - foreach ($this->errors as $iter764) + foreach ($this->errors as $iter771) { - $xfer += $output->writeString($iter764); + $xfer += $output->writeString($iter771); } } $output->writeListEnd(); @@ -24793,9 +24911,9 @@ class WMValidateResourcePlanResponse { { $output->writeListBegin(TType::STRING, count($this->warnings)); { - foreach ($this->warnings as $iter765) + foreach ($this->warnings as $iter772) { - $xfer += $output->writeString($iter765); + $xfer += $output->writeString($iter772); } } $output->writeListEnd(); @@ -25468,15 +25586,15 @@ class WMGetTriggersForResourePlanResponse { case 1: if ($ftype == TType::LST) { $this->triggers = array(); - $_size766 = 0; - $_etype769 = 0; - $xfer += $input->readListBegin($_etype769, $_size766); - for ($_i770 = 0; $_i770 < $_size766; ++$_i770) + $_size773 = 0; + $_etype776 = 0; + $xfer += $input->readListBegin($_etype776, $_size773); + for ($_i777 = 0; $_i777 < $_size773; ++$_i777) { - $elem771 = null; - $elem771 = new \metastore\WMTrigger(); - $xfer += $elem771->read($input); - $this->triggers []= $elem771; + $elem778 = null; + $elem778 = new \metastore\WMTrigger(); + $xfer += $elem778->read($input); + $this->triggers []= $elem778; } $xfer += $input->readListEnd(); } else { @@ -25504,9 +25622,9 @@ class WMGetTriggersForResourePlanResponse { { $output->writeListBegin(TType::STRUCT, count($this->triggers)); { - foreach ($this->triggers as $iter772) + foreach ($this->triggers as $iter779) { - $xfer += $iter772->write($output); + $xfer += $iter779->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 392e8ca6dc..9a89c3c887 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 @@ -13865,10 +13865,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype772, _size769) = iprot.readListBegin() - for _i773 in xrange(_size769): - _elem774 = iprot.readString() - self.success.append(_elem774) + (_etype779, _size776) = iprot.readListBegin() + for _i780 in xrange(_size776): + _elem781 = iprot.readString() + self.success.append(_elem781) iprot.readListEnd() else: iprot.skip(ftype) @@ -13891,8 +13891,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 iter775 in self.success: - oprot.writeString(iter775) + for iter782 in self.success: + oprot.writeString(iter782) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -13997,10 +13997,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype779, _size776) = iprot.readListBegin() - for _i780 in xrange(_size776): - _elem781 = iprot.readString() - self.success.append(_elem781) + (_etype786, _size783) = iprot.readListBegin() + for _i787 in xrange(_size783): + _elem788 = iprot.readString() + self.success.append(_elem788) iprot.readListEnd() else: iprot.skip(ftype) @@ -14023,8 +14023,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 iter782 in self.success: - oprot.writeString(iter782) + for iter789 in self.success: + oprot.writeString(iter789) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -14794,12 +14794,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype784, _vtype785, _size783 ) = iprot.readMapBegin() - for _i787 in xrange(_size783): - _key788 = iprot.readString() - _val789 = Type() - _val789.read(iprot) - self.success[_key788] = _val789 + (_ktype791, _vtype792, _size790 ) = iprot.readMapBegin() + for _i794 in xrange(_size790): + _key795 = iprot.readString() + _val796 = Type() + _val796.read(iprot) + self.success[_key795] = _val796 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14822,9 +14822,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 kiter790,viter791 in self.success.items(): - oprot.writeString(kiter790) - viter791.write(oprot) + for kiter797,viter798 in self.success.items(): + oprot.writeString(kiter797) + viter798.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -14967,11 +14967,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype795, _size792) = iprot.readListBegin() - for _i796 in xrange(_size792): - _elem797 = FieldSchema() - _elem797.read(iprot) - self.success.append(_elem797) + (_etype802, _size799) = iprot.readListBegin() + for _i803 in xrange(_size799): + _elem804 = FieldSchema() + _elem804.read(iprot) + self.success.append(_elem804) iprot.readListEnd() else: iprot.skip(ftype) @@ -15006,8 +15006,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 iter798 in self.success: - iter798.write(oprot) + for iter805 in self.success: + iter805.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15174,11 +15174,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype802, _size799) = iprot.readListBegin() - for _i803 in xrange(_size799): - _elem804 = FieldSchema() - _elem804.read(iprot) - self.success.append(_elem804) + (_etype809, _size806) = iprot.readListBegin() + for _i810 in xrange(_size806): + _elem811 = FieldSchema() + _elem811.read(iprot) + self.success.append(_elem811) iprot.readListEnd() else: iprot.skip(ftype) @@ -15213,8 +15213,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 iter805 in self.success: - iter805.write(oprot) + for iter812 in self.success: + iter812.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15367,11 +15367,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype809, _size806) = iprot.readListBegin() - for _i810 in xrange(_size806): - _elem811 = FieldSchema() - _elem811.read(iprot) - self.success.append(_elem811) + (_etype816, _size813) = iprot.readListBegin() + for _i817 in xrange(_size813): + _elem818 = FieldSchema() + _elem818.read(iprot) + self.success.append(_elem818) iprot.readListEnd() else: iprot.skip(ftype) @@ -15406,8 +15406,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 iter812 in self.success: - iter812.write(oprot) + for iter819 in self.success: + iter819.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -15574,11 +15574,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype816, _size813) = iprot.readListBegin() - for _i817 in xrange(_size813): - _elem818 = FieldSchema() - _elem818.read(iprot) - self.success.append(_elem818) + (_etype823, _size820) = iprot.readListBegin() + for _i824 in xrange(_size820): + _elem825 = FieldSchema() + _elem825.read(iprot) + self.success.append(_elem825) iprot.readListEnd() else: iprot.skip(ftype) @@ -15613,8 +15613,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 iter819 in self.success: - iter819.write(oprot) + for iter826 in self.success: + iter826.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -16064,55 +16064,55 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.primaryKeys = [] - (_etype823, _size820) = iprot.readListBegin() - for _i824 in xrange(_size820): - _elem825 = SQLPrimaryKey() - _elem825.read(iprot) - self.primaryKeys.append(_elem825) + (_etype830, _size827) = iprot.readListBegin() + for _i831 in xrange(_size827): + _elem832 = SQLPrimaryKey() + _elem832.read(iprot) + self.primaryKeys.append(_elem832) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.foreignKeys = [] - (_etype829, _size826) = iprot.readListBegin() - for _i830 in xrange(_size826): - _elem831 = SQLForeignKey() - _elem831.read(iprot) - self.foreignKeys.append(_elem831) + (_etype836, _size833) = iprot.readListBegin() + for _i837 in xrange(_size833): + _elem838 = SQLForeignKey() + _elem838.read(iprot) + self.foreignKeys.append(_elem838) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.uniqueConstraints = [] - (_etype835, _size832) = iprot.readListBegin() - for _i836 in xrange(_size832): - _elem837 = SQLUniqueConstraint() - _elem837.read(iprot) - self.uniqueConstraints.append(_elem837) + (_etype842, _size839) = iprot.readListBegin() + for _i843 in xrange(_size839): + _elem844 = SQLUniqueConstraint() + _elem844.read(iprot) + self.uniqueConstraints.append(_elem844) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.notNullConstraints = [] - (_etype841, _size838) = iprot.readListBegin() - for _i842 in xrange(_size838): - _elem843 = SQLNotNullConstraint() - _elem843.read(iprot) - self.notNullConstraints.append(_elem843) + (_etype848, _size845) = iprot.readListBegin() + for _i849 in xrange(_size845): + _elem850 = SQLNotNullConstraint() + _elem850.read(iprot) + self.notNullConstraints.append(_elem850) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 6: if ftype == TType.LIST: self.defaultConstraints = [] - (_etype847, _size844) = iprot.readListBegin() - for _i848 in xrange(_size844): - _elem849 = SQLDefaultConstraint() - _elem849.read(iprot) - self.defaultConstraints.append(_elem849) + (_etype854, _size851) = iprot.readListBegin() + for _i855 in xrange(_size851): + _elem856 = SQLDefaultConstraint() + _elem856.read(iprot) + self.defaultConstraints.append(_elem856) iprot.readListEnd() else: iprot.skip(ftype) @@ -16133,36 +16133,36 @@ def write(self, oprot): if self.primaryKeys is not None: oprot.writeFieldBegin('primaryKeys', TType.LIST, 2) oprot.writeListBegin(TType.STRUCT, len(self.primaryKeys)) - for iter850 in self.primaryKeys: - iter850.write(oprot) + for iter857 in self.primaryKeys: + iter857.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 iter851 in self.foreignKeys: - iter851.write(oprot) + for iter858 in self.foreignKeys: + iter858.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 iter852 in self.uniqueConstraints: - iter852.write(oprot) + for iter859 in self.uniqueConstraints: + iter859.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 iter853 in self.notNullConstraints: - iter853.write(oprot) + for iter860 in self.notNullConstraints: + iter860.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 iter854 in self.defaultConstraints: - iter854.write(oprot) + for iter861 in self.defaultConstraints: + iter861.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17575,10 +17575,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.partNames = [] - (_etype858, _size855) = iprot.readListBegin() - for _i859 in xrange(_size855): - _elem860 = iprot.readString() - self.partNames.append(_elem860) + (_etype865, _size862) = iprot.readListBegin() + for _i866 in xrange(_size862): + _elem867 = iprot.readString() + self.partNames.append(_elem867) iprot.readListEnd() else: iprot.skip(ftype) @@ -17603,8 +17603,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 iter861 in self.partNames: - oprot.writeString(iter861) + for iter868 in self.partNames: + oprot.writeString(iter868) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17804,10 +17804,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype865, _size862) = iprot.readListBegin() - for _i866 in xrange(_size862): - _elem867 = iprot.readString() - self.success.append(_elem867) + (_etype872, _size869) = iprot.readListBegin() + for _i873 in xrange(_size869): + _elem874 = iprot.readString() + self.success.append(_elem874) iprot.readListEnd() else: iprot.skip(ftype) @@ -17830,8 +17830,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 iter868 in self.success: - oprot.writeString(iter868) + for iter875 in self.success: + oprot.writeString(iter875) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -17981,10 +17981,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype872, _size869) = iprot.readListBegin() - for _i873 in xrange(_size869): - _elem874 = iprot.readString() - self.success.append(_elem874) + (_etype879, _size876) = iprot.readListBegin() + for _i880 in xrange(_size876): + _elem881 = iprot.readString() + self.success.append(_elem881) iprot.readListEnd() else: iprot.skip(ftype) @@ -18007,8 +18007,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 iter875 in self.success: - oprot.writeString(iter875) + for iter882 in self.success: + oprot.writeString(iter882) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18132,10 +18132,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype879, _size876) = iprot.readListBegin() - for _i880 in xrange(_size876): - _elem881 = iprot.readString() - self.success.append(_elem881) + (_etype886, _size883) = iprot.readListBegin() + for _i887 in xrange(_size883): + _elem888 = iprot.readString() + self.success.append(_elem888) iprot.readListEnd() else: iprot.skip(ftype) @@ -18158,8 +18158,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 iter882 in self.success: - oprot.writeString(iter882) + for iter889 in self.success: + oprot.writeString(iter889) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18232,10 +18232,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.tbl_types = [] - (_etype886, _size883) = iprot.readListBegin() - for _i887 in xrange(_size883): - _elem888 = iprot.readString() - self.tbl_types.append(_elem888) + (_etype893, _size890) = iprot.readListBegin() + for _i894 in xrange(_size890): + _elem895 = iprot.readString() + self.tbl_types.append(_elem895) iprot.readListEnd() else: iprot.skip(ftype) @@ -18260,8 +18260,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 iter889 in self.tbl_types: - oprot.writeString(iter889) + for iter896 in self.tbl_types: + oprot.writeString(iter896) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18317,11 +18317,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype893, _size890) = iprot.readListBegin() - for _i894 in xrange(_size890): - _elem895 = TableMeta() - _elem895.read(iprot) - self.success.append(_elem895) + (_etype900, _size897) = iprot.readListBegin() + for _i901 in xrange(_size897): + _elem902 = TableMeta() + _elem902.read(iprot) + self.success.append(_elem902) iprot.readListEnd() else: iprot.skip(ftype) @@ -18344,8 +18344,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 iter896 in self.success: - iter896.write(oprot) + for iter903 in self.success: + iter903.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18469,10 +18469,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype900, _size897) = iprot.readListBegin() - for _i901 in xrange(_size897): - _elem902 = iprot.readString() - self.success.append(_elem902) + (_etype907, _size904) = iprot.readListBegin() + for _i908 in xrange(_size904): + _elem909 = iprot.readString() + self.success.append(_elem909) iprot.readListEnd() else: iprot.skip(ftype) @@ -18495,8 +18495,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 iter903 in self.success: - oprot.writeString(iter903) + for iter910 in self.success: + oprot.writeString(iter910) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -18732,10 +18732,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype907, _size904) = iprot.readListBegin() - for _i908 in xrange(_size904): - _elem909 = iprot.readString() - self.tbl_names.append(_elem909) + (_etype914, _size911) = iprot.readListBegin() + for _i915 in xrange(_size911): + _elem916 = iprot.readString() + self.tbl_names.append(_elem916) iprot.readListEnd() else: iprot.skip(ftype) @@ -18756,8 +18756,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 iter910 in self.tbl_names: - oprot.writeString(iter910) + for iter917 in self.tbl_names: + oprot.writeString(iter917) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18809,11 +18809,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype914, _size911) = iprot.readListBegin() - for _i915 in xrange(_size911): - _elem916 = Table() - _elem916.read(iprot) - self.success.append(_elem916) + (_etype921, _size918) = iprot.readListBegin() + for _i922 in xrange(_size918): + _elem923 = Table() + _elem923.read(iprot) + self.success.append(_elem923) iprot.readListEnd() else: iprot.skip(ftype) @@ -18830,8 +18830,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 iter917 in self.success: - iter917.write(oprot) + for iter924 in self.success: + iter924.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19223,10 +19223,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tbl_names = [] - (_etype921, _size918) = iprot.readListBegin() - for _i922 in xrange(_size918): - _elem923 = iprot.readString() - self.tbl_names.append(_elem923) + (_etype928, _size925) = iprot.readListBegin() + for _i929 in xrange(_size925): + _elem930 = iprot.readString() + self.tbl_names.append(_elem930) iprot.readListEnd() else: iprot.skip(ftype) @@ -19247,8 +19247,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 iter924 in self.tbl_names: - oprot.writeString(iter924) + for iter931 in self.tbl_names: + oprot.writeString(iter931) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -19309,12 +19309,12 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype926, _vtype927, _size925 ) = iprot.readMapBegin() - for _i929 in xrange(_size925): - _key930 = iprot.readString() - _val931 = Materialization() - _val931.read(iprot) - self.success[_key930] = _val931 + (_ktype933, _vtype934, _size932 ) = iprot.readMapBegin() + for _i936 in xrange(_size932): + _key937 = iprot.readString() + _val938 = Materialization() + _val938.read(iprot) + self.success[_key937] = _val938 iprot.readMapEnd() else: iprot.skip(ftype) @@ -19349,9 +19349,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 kiter932,viter933 in self.success.items(): - oprot.writeString(kiter932) - viter933.write(oprot) + for kiter939,viter940 in self.success.items(): + oprot.writeString(kiter939) + viter940.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -19703,10 +19703,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype937, _size934) = iprot.readListBegin() - for _i938 in xrange(_size934): - _elem939 = iprot.readString() - self.success.append(_elem939) + (_etype944, _size941) = iprot.readListBegin() + for _i945 in xrange(_size941): + _elem946 = iprot.readString() + self.success.append(_elem946) iprot.readListEnd() else: iprot.skip(ftype) @@ -19741,8 +19741,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 iter940 in self.success: - oprot.writeString(iter940) + for iter947 in self.success: + oprot.writeString(iter947) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -20712,11 +20712,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype944, _size941) = iprot.readListBegin() - for _i945 in xrange(_size941): - _elem946 = Partition() - _elem946.read(iprot) - self.new_parts.append(_elem946) + (_etype951, _size948) = iprot.readListBegin() + for _i952 in xrange(_size948): + _elem953 = Partition() + _elem953.read(iprot) + self.new_parts.append(_elem953) iprot.readListEnd() else: iprot.skip(ftype) @@ -20733,8 +20733,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 iter947 in self.new_parts: - iter947.write(oprot) + for iter954 in self.new_parts: + iter954.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -20892,11 +20892,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.new_parts = [] - (_etype951, _size948) = iprot.readListBegin() - for _i952 in xrange(_size948): - _elem953 = PartitionSpec() - _elem953.read(iprot) - self.new_parts.append(_elem953) + (_etype958, _size955) = iprot.readListBegin() + for _i959 in xrange(_size955): + _elem960 = PartitionSpec() + _elem960.read(iprot) + self.new_parts.append(_elem960) iprot.readListEnd() else: iprot.skip(ftype) @@ -20913,8 +20913,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 iter954 in self.new_parts: - iter954.write(oprot) + for iter961 in self.new_parts: + iter961.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21088,10 +21088,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype958, _size955) = iprot.readListBegin() - for _i959 in xrange(_size955): - _elem960 = iprot.readString() - self.part_vals.append(_elem960) + (_etype965, _size962) = iprot.readListBegin() + for _i966 in xrange(_size962): + _elem967 = iprot.readString() + self.part_vals.append(_elem967) iprot.readListEnd() else: iprot.skip(ftype) @@ -21116,8 +21116,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 iter961 in self.part_vals: - oprot.writeString(iter961) + for iter968 in self.part_vals: + oprot.writeString(iter968) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -21470,10 +21470,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype965, _size962) = iprot.readListBegin() - for _i966 in xrange(_size962): - _elem967 = iprot.readString() - self.part_vals.append(_elem967) + (_etype972, _size969) = iprot.readListBegin() + for _i973 in xrange(_size969): + _elem974 = iprot.readString() + self.part_vals.append(_elem974) iprot.readListEnd() else: iprot.skip(ftype) @@ -21504,8 +21504,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 iter968 in self.part_vals: - oprot.writeString(iter968) + for iter975 in self.part_vals: + oprot.writeString(iter975) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -22100,10 +22100,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype972, _size969) = iprot.readListBegin() - for _i973 in xrange(_size969): - _elem974 = iprot.readString() - self.part_vals.append(_elem974) + (_etype979, _size976) = iprot.readListBegin() + for _i980 in xrange(_size976): + _elem981 = iprot.readString() + self.part_vals.append(_elem981) iprot.readListEnd() else: iprot.skip(ftype) @@ -22133,8 +22133,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 iter975 in self.part_vals: - oprot.writeString(iter975) + for iter982 in self.part_vals: + oprot.writeString(iter982) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -22307,10 +22307,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype979, _size976) = iprot.readListBegin() - for _i980 in xrange(_size976): - _elem981 = iprot.readString() - self.part_vals.append(_elem981) + (_etype986, _size983) = iprot.readListBegin() + for _i987 in xrange(_size983): + _elem988 = iprot.readString() + self.part_vals.append(_elem988) iprot.readListEnd() else: iprot.skip(ftype) @@ -22346,8 +22346,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 iter982 in self.part_vals: - oprot.writeString(iter982) + for iter989 in self.part_vals: + oprot.writeString(iter989) oprot.writeListEnd() oprot.writeFieldEnd() if self.deleteData is not None: @@ -23084,10 +23084,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype986, _size983) = iprot.readListBegin() - for _i987 in xrange(_size983): - _elem988 = iprot.readString() - self.part_vals.append(_elem988) + (_etype993, _size990) = iprot.readListBegin() + for _i994 in xrange(_size990): + _elem995 = iprot.readString() + self.part_vals.append(_elem995) iprot.readListEnd() else: iprot.skip(ftype) @@ -23112,8 +23112,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 iter989 in self.part_vals: - oprot.writeString(iter989) + for iter996 in self.part_vals: + oprot.writeString(iter996) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -23272,11 +23272,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype991, _vtype992, _size990 ) = iprot.readMapBegin() - for _i994 in xrange(_size990): - _key995 = iprot.readString() - _val996 = iprot.readString() - self.partitionSpecs[_key995] = _val996 + (_ktype998, _vtype999, _size997 ) = iprot.readMapBegin() + for _i1001 in xrange(_size997): + _key1002 = iprot.readString() + _val1003 = iprot.readString() + self.partitionSpecs[_key1002] = _val1003 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23313,9 +23313,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 kiter997,viter998 in self.partitionSpecs.items(): - oprot.writeString(kiter997) - oprot.writeString(viter998) + for kiter1004,viter1005 in self.partitionSpecs.items(): + oprot.writeString(kiter1004) + oprot.writeString(viter1005) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -23520,11 +23520,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.partitionSpecs = {} - (_ktype1000, _vtype1001, _size999 ) = iprot.readMapBegin() - for _i1003 in xrange(_size999): - _key1004 = iprot.readString() - _val1005 = iprot.readString() - self.partitionSpecs[_key1004] = _val1005 + (_ktype1007, _vtype1008, _size1006 ) = iprot.readMapBegin() + for _i1010 in xrange(_size1006): + _key1011 = iprot.readString() + _val1012 = iprot.readString() + self.partitionSpecs[_key1011] = _val1012 iprot.readMapEnd() else: iprot.skip(ftype) @@ -23561,9 +23561,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 kiter1006,viter1007 in self.partitionSpecs.items(): - oprot.writeString(kiter1006) - oprot.writeString(viter1007) + for kiter1013,viter1014 in self.partitionSpecs.items(): + oprot.writeString(kiter1013) + oprot.writeString(viter1014) oprot.writeMapEnd() oprot.writeFieldEnd() if self.source_db is not None: @@ -23646,11 +23646,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1011, _size1008) = iprot.readListBegin() - for _i1012 in xrange(_size1008): - _elem1013 = Partition() - _elem1013.read(iprot) - self.success.append(_elem1013) + (_etype1018, _size1015) = iprot.readListBegin() + for _i1019 in xrange(_size1015): + _elem1020 = Partition() + _elem1020.read(iprot) + self.success.append(_elem1020) iprot.readListEnd() else: iprot.skip(ftype) @@ -23691,8 +23691,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 iter1014 in self.success: - iter1014.write(oprot) + for iter1021 in self.success: + iter1021.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -23786,10 +23786,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1018, _size1015) = iprot.readListBegin() - for _i1019 in xrange(_size1015): - _elem1020 = iprot.readString() - self.part_vals.append(_elem1020) + (_etype1025, _size1022) = iprot.readListBegin() + for _i1026 in xrange(_size1022): + _elem1027 = iprot.readString() + self.part_vals.append(_elem1027) iprot.readListEnd() else: iprot.skip(ftype) @@ -23801,10 +23801,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1024, _size1021) = iprot.readListBegin() - for _i1025 in xrange(_size1021): - _elem1026 = iprot.readString() - self.group_names.append(_elem1026) + (_etype1031, _size1028) = iprot.readListBegin() + for _i1032 in xrange(_size1028): + _elem1033 = iprot.readString() + self.group_names.append(_elem1033) iprot.readListEnd() else: iprot.skip(ftype) @@ -23829,8 +23829,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 iter1027 in self.part_vals: - oprot.writeString(iter1027) + for iter1034 in self.part_vals: + oprot.writeString(iter1034) oprot.writeListEnd() oprot.writeFieldEnd() if self.user_name is not None: @@ -23840,8 +23840,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 iter1028 in self.group_names: - oprot.writeString(iter1028) + for iter1035 in self.group_names: + oprot.writeString(iter1035) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24270,11 +24270,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1032, _size1029) = iprot.readListBegin() - for _i1033 in xrange(_size1029): - _elem1034 = Partition() - _elem1034.read(iprot) - self.success.append(_elem1034) + (_etype1039, _size1036) = iprot.readListBegin() + for _i1040 in xrange(_size1036): + _elem1041 = Partition() + _elem1041.read(iprot) + self.success.append(_elem1041) iprot.readListEnd() else: iprot.skip(ftype) @@ -24303,8 +24303,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 iter1035 in self.success: - iter1035.write(oprot) + for iter1042 in self.success: + iter1042.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24398,10 +24398,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.group_names = [] - (_etype1039, _size1036) = iprot.readListBegin() - for _i1040 in xrange(_size1036): - _elem1041 = iprot.readString() - self.group_names.append(_elem1041) + (_etype1046, _size1043) = iprot.readListBegin() + for _i1047 in xrange(_size1043): + _elem1048 = iprot.readString() + self.group_names.append(_elem1048) iprot.readListEnd() else: iprot.skip(ftype) @@ -24434,8 +24434,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 iter1042 in self.group_names: - oprot.writeString(iter1042) + for iter1049 in self.group_names: + oprot.writeString(iter1049) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -24496,11 +24496,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1046, _size1043) = iprot.readListBegin() - for _i1047 in xrange(_size1043): - _elem1048 = Partition() - _elem1048.read(iprot) - self.success.append(_elem1048) + (_etype1053, _size1050) = iprot.readListBegin() + for _i1054 in xrange(_size1050): + _elem1055 = Partition() + _elem1055.read(iprot) + self.success.append(_elem1055) iprot.readListEnd() else: iprot.skip(ftype) @@ -24529,8 +24529,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 iter1049 in self.success: - iter1049.write(oprot) + for iter1056 in self.success: + iter1056.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24688,11 +24688,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1053, _size1050) = iprot.readListBegin() - for _i1054 in xrange(_size1050): - _elem1055 = PartitionSpec() - _elem1055.read(iprot) - self.success.append(_elem1055) + (_etype1060, _size1057) = iprot.readListBegin() + for _i1061 in xrange(_size1057): + _elem1062 = PartitionSpec() + _elem1062.read(iprot) + self.success.append(_elem1062) iprot.readListEnd() else: iprot.skip(ftype) @@ -24721,8 +24721,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 iter1056 in self.success: - iter1056.write(oprot) + for iter1063 in self.success: + iter1063.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -24880,10 +24880,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1060, _size1057) = iprot.readListBegin() - for _i1061 in xrange(_size1057): - _elem1062 = iprot.readString() - self.success.append(_elem1062) + (_etype1067, _size1064) = iprot.readListBegin() + for _i1068 in xrange(_size1064): + _elem1069 = iprot.readString() + self.success.append(_elem1069) iprot.readListEnd() else: iprot.skip(ftype) @@ -24912,8 +24912,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 iter1063 in self.success: - oprot.writeString(iter1063) + for iter1070 in self.success: + oprot.writeString(iter1070) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25153,10 +25153,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1067, _size1064) = iprot.readListBegin() - for _i1068 in xrange(_size1064): - _elem1069 = iprot.readString() - self.part_vals.append(_elem1069) + (_etype1074, _size1071) = iprot.readListBegin() + for _i1075 in xrange(_size1071): + _elem1076 = iprot.readString() + self.part_vals.append(_elem1076) iprot.readListEnd() else: iprot.skip(ftype) @@ -25186,8 +25186,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 iter1070 in self.part_vals: - oprot.writeString(iter1070) + for iter1077 in self.part_vals: + oprot.writeString(iter1077) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -25251,11 +25251,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1074, _size1071) = iprot.readListBegin() - for _i1075 in xrange(_size1071): - _elem1076 = Partition() - _elem1076.read(iprot) - self.success.append(_elem1076) + (_etype1081, _size1078) = iprot.readListBegin() + for _i1082 in xrange(_size1078): + _elem1083 = Partition() + _elem1083.read(iprot) + self.success.append(_elem1083) iprot.readListEnd() else: iprot.skip(ftype) @@ -25284,8 +25284,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 iter1077 in self.success: - iter1077.write(oprot) + for iter1084 in self.success: + iter1084.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25372,10 +25372,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1081, _size1078) = iprot.readListBegin() - for _i1082 in xrange(_size1078): - _elem1083 = iprot.readString() - self.part_vals.append(_elem1083) + (_etype1088, _size1085) = iprot.readListBegin() + for _i1089 in xrange(_size1085): + _elem1090 = iprot.readString() + self.part_vals.append(_elem1090) iprot.readListEnd() else: iprot.skip(ftype) @@ -25392,10 +25392,10 @@ def read(self, iprot): elif fid == 6: if ftype == TType.LIST: self.group_names = [] - (_etype1087, _size1084) = iprot.readListBegin() - for _i1088 in xrange(_size1084): - _elem1089 = iprot.readString() - self.group_names.append(_elem1089) + (_etype1094, _size1091) = iprot.readListBegin() + for _i1095 in xrange(_size1091): + _elem1096 = iprot.readString() + self.group_names.append(_elem1096) iprot.readListEnd() else: iprot.skip(ftype) @@ -25420,8 +25420,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 iter1090 in self.part_vals: - oprot.writeString(iter1090) + for iter1097 in self.part_vals: + oprot.writeString(iter1097) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -25435,8 +25435,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 iter1091 in self.group_names: - oprot.writeString(iter1091) + for iter1098 in self.group_names: + oprot.writeString(iter1098) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -25498,11 +25498,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1095, _size1092) = iprot.readListBegin() - for _i1096 in xrange(_size1092): - _elem1097 = Partition() - _elem1097.read(iprot) - self.success.append(_elem1097) + (_etype1102, _size1099) = iprot.readListBegin() + for _i1103 in xrange(_size1099): + _elem1104 = Partition() + _elem1104.read(iprot) + self.success.append(_elem1104) iprot.readListEnd() else: iprot.skip(ftype) @@ -25531,8 +25531,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 iter1098 in self.success: - iter1098.write(oprot) + for iter1105 in self.success: + iter1105.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25613,10 +25613,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1102, _size1099) = iprot.readListBegin() - for _i1103 in xrange(_size1099): - _elem1104 = iprot.readString() - self.part_vals.append(_elem1104) + (_etype1109, _size1106) = iprot.readListBegin() + for _i1110 in xrange(_size1106): + _elem1111 = iprot.readString() + self.part_vals.append(_elem1111) iprot.readListEnd() else: iprot.skip(ftype) @@ -25646,8 +25646,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 iter1105 in self.part_vals: - oprot.writeString(iter1105) + for iter1112 in self.part_vals: + oprot.writeString(iter1112) oprot.writeListEnd() oprot.writeFieldEnd() if self.max_parts is not None: @@ -25711,10 +25711,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1109, _size1106) = iprot.readListBegin() - for _i1110 in xrange(_size1106): - _elem1111 = iprot.readString() - self.success.append(_elem1111) + (_etype1116, _size1113) = iprot.readListBegin() + for _i1117 in xrange(_size1113): + _elem1118 = iprot.readString() + self.success.append(_elem1118) iprot.readListEnd() else: iprot.skip(ftype) @@ -25743,8 +25743,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 iter1112 in self.success: - oprot.writeString(iter1112) + for iter1119 in self.success: + oprot.writeString(iter1119) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -25915,11 +25915,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1116, _size1113) = iprot.readListBegin() - for _i1117 in xrange(_size1113): - _elem1118 = Partition() - _elem1118.read(iprot) - self.success.append(_elem1118) + (_etype1123, _size1120) = iprot.readListBegin() + for _i1124 in xrange(_size1120): + _elem1125 = Partition() + _elem1125.read(iprot) + self.success.append(_elem1125) iprot.readListEnd() else: iprot.skip(ftype) @@ -25948,8 +25948,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 iter1119 in self.success: - iter1119.write(oprot) + for iter1126 in self.success: + iter1126.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26120,11 +26120,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1123, _size1120) = iprot.readListBegin() - for _i1124 in xrange(_size1120): - _elem1125 = PartitionSpec() - _elem1125.read(iprot) - self.success.append(_elem1125) + (_etype1130, _size1127) = iprot.readListBegin() + for _i1131 in xrange(_size1127): + _elem1132 = PartitionSpec() + _elem1132.read(iprot) + self.success.append(_elem1132) iprot.readListEnd() else: iprot.skip(ftype) @@ -26153,8 +26153,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 iter1126 in self.success: - iter1126.write(oprot) + for iter1133 in self.success: + iter1133.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26574,10 +26574,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.names = [] - (_etype1130, _size1127) = iprot.readListBegin() - for _i1131 in xrange(_size1127): - _elem1132 = iprot.readString() - self.names.append(_elem1132) + (_etype1137, _size1134) = iprot.readListBegin() + for _i1138 in xrange(_size1134): + _elem1139 = iprot.readString() + self.names.append(_elem1139) iprot.readListEnd() else: iprot.skip(ftype) @@ -26602,8 +26602,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 iter1133 in self.names: - oprot.writeString(iter1133) + for iter1140 in self.names: + oprot.writeString(iter1140) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -26662,11 +26662,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1137, _size1134) = iprot.readListBegin() - for _i1138 in xrange(_size1134): - _elem1139 = Partition() - _elem1139.read(iprot) - self.success.append(_elem1139) + (_etype1144, _size1141) = iprot.readListBegin() + for _i1145 in xrange(_size1141): + _elem1146 = Partition() + _elem1146.read(iprot) + self.success.append(_elem1146) iprot.readListEnd() else: iprot.skip(ftype) @@ -26695,8 +26695,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 iter1140 in self.success: - iter1140.write(oprot) + for iter1147 in self.success: + iter1147.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -26946,11 +26946,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1144, _size1141) = iprot.readListBegin() - for _i1145 in xrange(_size1141): - _elem1146 = Partition() - _elem1146.read(iprot) - self.new_parts.append(_elem1146) + (_etype1151, _size1148) = iprot.readListBegin() + for _i1152 in xrange(_size1148): + _elem1153 = Partition() + _elem1153.read(iprot) + self.new_parts.append(_elem1153) iprot.readListEnd() else: iprot.skip(ftype) @@ -26975,8 +26975,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 iter1147 in self.new_parts: - iter1147.write(oprot) + for iter1154 in self.new_parts: + iter1154.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -27129,11 +27129,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.new_parts = [] - (_etype1151, _size1148) = iprot.readListBegin() - for _i1152 in xrange(_size1148): - _elem1153 = Partition() - _elem1153.read(iprot) - self.new_parts.append(_elem1153) + (_etype1158, _size1155) = iprot.readListBegin() + for _i1159 in xrange(_size1155): + _elem1160 = Partition() + _elem1160.read(iprot) + self.new_parts.append(_elem1160) iprot.readListEnd() else: iprot.skip(ftype) @@ -27164,8 +27164,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 iter1154 in self.new_parts: - iter1154.write(oprot) + for iter1161 in self.new_parts: + iter1161.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.environment_context is not None: @@ -27509,10 +27509,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.part_vals = [] - (_etype1158, _size1155) = iprot.readListBegin() - for _i1159 in xrange(_size1155): - _elem1160 = iprot.readString() - self.part_vals.append(_elem1160) + (_etype1165, _size1162) = iprot.readListBegin() + for _i1166 in xrange(_size1162): + _elem1167 = iprot.readString() + self.part_vals.append(_elem1167) iprot.readListEnd() else: iprot.skip(ftype) @@ -27543,8 +27543,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 iter1161 in self.part_vals: - oprot.writeString(iter1161) + for iter1168 in self.part_vals: + oprot.writeString(iter1168) oprot.writeListEnd() oprot.writeFieldEnd() if self.new_part is not None: @@ -27686,10 +27686,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.part_vals = [] - (_etype1165, _size1162) = iprot.readListBegin() - for _i1166 in xrange(_size1162): - _elem1167 = iprot.readString() - self.part_vals.append(_elem1167) + (_etype1172, _size1169) = iprot.readListBegin() + for _i1173 in xrange(_size1169): + _elem1174 = iprot.readString() + self.part_vals.append(_elem1174) iprot.readListEnd() else: iprot.skip(ftype) @@ -27711,8 +27711,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 iter1168 in self.part_vals: - oprot.writeString(iter1168) + for iter1175 in self.part_vals: + oprot.writeString(iter1175) oprot.writeListEnd() oprot.writeFieldEnd() if self.throw_exception is not None: @@ -28070,10 +28070,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1172, _size1169) = iprot.readListBegin() - for _i1173 in xrange(_size1169): - _elem1174 = iprot.readString() - self.success.append(_elem1174) + (_etype1179, _size1176) = iprot.readListBegin() + for _i1180 in xrange(_size1176): + _elem1181 = iprot.readString() + self.success.append(_elem1181) iprot.readListEnd() else: iprot.skip(ftype) @@ -28096,8 +28096,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 iter1175 in self.success: - oprot.writeString(iter1175) + for iter1182 in self.success: + oprot.writeString(iter1182) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28221,11 +28221,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.MAP: self.success = {} - (_ktype1177, _vtype1178, _size1176 ) = iprot.readMapBegin() - for _i1180 in xrange(_size1176): - _key1181 = iprot.readString() - _val1182 = iprot.readString() - self.success[_key1181] = _val1182 + (_ktype1184, _vtype1185, _size1183 ) = iprot.readMapBegin() + for _i1187 in xrange(_size1183): + _key1188 = iprot.readString() + _val1189 = iprot.readString() + self.success[_key1188] = _val1189 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28248,9 +28248,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 kiter1183,viter1184 in self.success.items(): - oprot.writeString(kiter1183) - oprot.writeString(viter1184) + for kiter1190,viter1191 in self.success.items(): + oprot.writeString(kiter1190) + oprot.writeString(viter1191) oprot.writeMapEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -28326,11 +28326,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1186, _vtype1187, _size1185 ) = iprot.readMapBegin() - for _i1189 in xrange(_size1185): - _key1190 = iprot.readString() - _val1191 = iprot.readString() - self.part_vals[_key1190] = _val1191 + (_ktype1193, _vtype1194, _size1192 ) = iprot.readMapBegin() + for _i1196 in xrange(_size1192): + _key1197 = iprot.readString() + _val1198 = iprot.readString() + self.part_vals[_key1197] = _val1198 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28360,9 +28360,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 kiter1192,viter1193 in self.part_vals.items(): - oprot.writeString(kiter1192) - oprot.writeString(viter1193) + for kiter1199,viter1200 in self.part_vals.items(): + oprot.writeString(kiter1199) + oprot.writeString(viter1200) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -28576,11 +28576,11 @@ def read(self, iprot): elif fid == 3: if ftype == TType.MAP: self.part_vals = {} - (_ktype1195, _vtype1196, _size1194 ) = iprot.readMapBegin() - for _i1198 in xrange(_size1194): - _key1199 = iprot.readString() - _val1200 = iprot.readString() - self.part_vals[_key1199] = _val1200 + (_ktype1202, _vtype1203, _size1201 ) = iprot.readMapBegin() + for _i1205 in xrange(_size1201): + _key1206 = iprot.readString() + _val1207 = iprot.readString() + self.part_vals[_key1206] = _val1207 iprot.readMapEnd() else: iprot.skip(ftype) @@ -28610,9 +28610,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 kiter1201,viter1202 in self.part_vals.items(): - oprot.writeString(kiter1201) - oprot.writeString(viter1202) + for kiter1208,viter1209 in self.part_vals.items(): + oprot.writeString(kiter1208) + oprot.writeString(viter1209) oprot.writeMapEnd() oprot.writeFieldEnd() if self.eventType is not None: @@ -29667,11 +29667,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1206, _size1203) = iprot.readListBegin() - for _i1207 in xrange(_size1203): - _elem1208 = Index() - _elem1208.read(iprot) - self.success.append(_elem1208) + (_etype1213, _size1210) = iprot.readListBegin() + for _i1214 in xrange(_size1210): + _elem1215 = Index() + _elem1215.read(iprot) + self.success.append(_elem1215) iprot.readListEnd() else: iprot.skip(ftype) @@ -29700,8 +29700,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 iter1209 in self.success: - iter1209.write(oprot) + for iter1216 in self.success: + iter1216.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -29856,10 +29856,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1213, _size1210) = iprot.readListBegin() - for _i1214 in xrange(_size1210): - _elem1215 = iprot.readString() - self.success.append(_elem1215) + (_etype1220, _size1217) = iprot.readListBegin() + for _i1221 in xrange(_size1217): + _elem1222 = iprot.readString() + self.success.append(_elem1222) iprot.readListEnd() else: iprot.skip(ftype) @@ -29882,8 +29882,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 iter1216 in self.success: - oprot.writeString(iter1216) + for iter1223 in self.success: + oprot.writeString(iter1223) oprot.writeListEnd() oprot.writeFieldEnd() if self.o2 is not None: @@ -33226,10 +33226,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1220, _size1217) = iprot.readListBegin() - for _i1221 in xrange(_size1217): - _elem1222 = iprot.readString() - self.success.append(_elem1222) + (_etype1227, _size1224) = iprot.readListBegin() + for _i1228 in xrange(_size1224): + _elem1229 = iprot.readString() + self.success.append(_elem1229) iprot.readListEnd() else: iprot.skip(ftype) @@ -33252,8 +33252,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 iter1223 in self.success: - oprot.writeString(iter1223) + for iter1230 in self.success: + oprot.writeString(iter1230) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -33941,10 +33941,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1227, _size1224) = iprot.readListBegin() - for _i1228 in xrange(_size1224): - _elem1229 = iprot.readString() - self.success.append(_elem1229) + (_etype1234, _size1231) = iprot.readListBegin() + for _i1235 in xrange(_size1231): + _elem1236 = iprot.readString() + self.success.append(_elem1236) iprot.readListEnd() else: iprot.skip(ftype) @@ -33967,8 +33967,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 iter1230 in self.success: - oprot.writeString(iter1230) + for iter1237 in self.success: + oprot.writeString(iter1237) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -34482,11 +34482,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1234, _size1231) = iprot.readListBegin() - for _i1235 in xrange(_size1231): - _elem1236 = Role() - _elem1236.read(iprot) - self.success.append(_elem1236) + (_etype1241, _size1238) = iprot.readListBegin() + for _i1242 in xrange(_size1238): + _elem1243 = Role() + _elem1243.read(iprot) + self.success.append(_elem1243) iprot.readListEnd() else: iprot.skip(ftype) @@ -34509,8 +34509,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 iter1237 in self.success: - iter1237.write(oprot) + for iter1244 in self.success: + iter1244.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35019,10 +35019,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.group_names = [] - (_etype1241, _size1238) = iprot.readListBegin() - for _i1242 in xrange(_size1238): - _elem1243 = iprot.readString() - self.group_names.append(_elem1243) + (_etype1248, _size1245) = iprot.readListBegin() + for _i1249 in xrange(_size1245): + _elem1250 = iprot.readString() + self.group_names.append(_elem1250) iprot.readListEnd() else: iprot.skip(ftype) @@ -35047,8 +35047,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 iter1244 in self.group_names: - oprot.writeString(iter1244) + for iter1251 in self.group_names: + oprot.writeString(iter1251) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -35275,11 +35275,11 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1248, _size1245) = iprot.readListBegin() - for _i1249 in xrange(_size1245): - _elem1250 = HiveObjectPrivilege() - _elem1250.read(iprot) - self.success.append(_elem1250) + (_etype1255, _size1252) = iprot.readListBegin() + for _i1256 in xrange(_size1252): + _elem1257 = HiveObjectPrivilege() + _elem1257.read(iprot) + self.success.append(_elem1257) iprot.readListEnd() else: iprot.skip(ftype) @@ -35302,8 +35302,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 iter1251 in self.success: - iter1251.write(oprot) + for iter1258 in self.success: + iter1258.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -35801,10 +35801,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.group_names = [] - (_etype1255, _size1252) = iprot.readListBegin() - for _i1256 in xrange(_size1252): - _elem1257 = iprot.readString() - self.group_names.append(_elem1257) + (_etype1262, _size1259) = iprot.readListBegin() + for _i1263 in xrange(_size1259): + _elem1264 = iprot.readString() + self.group_names.append(_elem1264) iprot.readListEnd() else: iprot.skip(ftype) @@ -35825,8 +35825,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 iter1258 in self.group_names: - oprot.writeString(iter1258) + for iter1265 in self.group_names: + oprot.writeString(iter1265) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -35881,10 +35881,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1262, _size1259) = iprot.readListBegin() - for _i1263 in xrange(_size1259): - _elem1264 = iprot.readString() - self.success.append(_elem1264) + (_etype1269, _size1266) = iprot.readListBegin() + for _i1270 in xrange(_size1266): + _elem1271 = iprot.readString() + self.success.append(_elem1271) iprot.readListEnd() else: iprot.skip(ftype) @@ -35907,8 +35907,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 iter1265 in self.success: - oprot.writeString(iter1265) + for iter1272 in self.success: + oprot.writeString(iter1272) oprot.writeListEnd() oprot.writeFieldEnd() if self.o1 is not None: @@ -36840,10 +36840,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1269, _size1266) = iprot.readListBegin() - for _i1270 in xrange(_size1266): - _elem1271 = iprot.readString() - self.success.append(_elem1271) + (_etype1276, _size1273) = iprot.readListBegin() + for _i1277 in xrange(_size1273): + _elem1278 = iprot.readString() + self.success.append(_elem1278) iprot.readListEnd() else: iprot.skip(ftype) @@ -36860,8 +36860,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 iter1272 in self.success: - oprot.writeString(iter1272) + for iter1279 in self.success: + oprot.writeString(iter1279) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -37388,10 +37388,10 @@ def read(self, iprot): if fid == 0: if ftype == TType.LIST: self.success = [] - (_etype1276, _size1273) = iprot.readListBegin() - for _i1277 in xrange(_size1273): - _elem1278 = iprot.readString() - self.success.append(_elem1278) + (_etype1283, _size1280) = iprot.readListBegin() + for _i1284 in xrange(_size1280): + _elem1285 = iprot.readString() + self.success.append(_elem1285) iprot.readListEnd() else: iprot.skip(ftype) @@ -37408,8 +37408,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 iter1279 in self.success: - oprot.writeString(iter1279) + for iter1286 in self.success: + oprot.writeString(iter1286) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() 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 883ecfe280..ca49bac243 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 @@ -9970,6 +9970,8 @@ class OpenTxnRequest: - user - hostname - agentInfo + - replPolicy + - replSrcTxnIds """ thrift_spec = ( @@ -9978,13 +9980,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: @@ -10015,6 +10021,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 = [] + (_etype493, _size490) = iprot.readListBegin() + for _i494 in xrange(_size490): + _elem495 = iprot.readI64() + self.replSrcTxnIds.append(_elem495) + iprot.readListEnd() + else: + iprot.skip(ftype) else: iprot.skip(ftype) iprot.readFieldEnd() @@ -10041,6 +10062,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 iter496 in self.replSrcTxnIds: + oprot.writeI64(iter496) + oprot.writeListEnd() + oprot.writeFieldEnd() oprot.writeFieldStop() oprot.writeStructEnd() @@ -10060,6 +10092,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): @@ -10099,10 +10133,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype493, _size490) = iprot.readListBegin() - for _i494 in xrange(_size490): - _elem495 = iprot.readI64() - self.txn_ids.append(_elem495) + (_etype500, _size497) = iprot.readListBegin() + for _i501 in xrange(_size497): + _elem502 = iprot.readI64() + self.txn_ids.append(_elem502) iprot.readListEnd() else: iprot.skip(ftype) @@ -10119,8 +10153,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 iter496 in self.txn_ids: - oprot.writeI64(iter496) + for iter503 in self.txn_ids: + oprot.writeI64(iter503) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10152,15 +10186,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: @@ -10176,6 +10213,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() @@ -10190,6 +10232,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() @@ -10202,6 +10248,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): @@ -10241,10 +10288,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txn_ids = [] - (_etype500, _size497) = iprot.readListBegin() - for _i501 in xrange(_size497): - _elem502 = iprot.readI64() - self.txn_ids.append(_elem502) + (_etype507, _size504) = iprot.readListBegin() + for _i508 in xrange(_size504): + _elem509 = iprot.readI64() + self.txn_ids.append(_elem509) iprot.readListEnd() else: iprot.skip(ftype) @@ -10261,8 +10308,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 iter503 in self.txn_ids: - oprot.writeI64(iter503) + for iter510 in self.txn_ids: + oprot.writeI64(iter510) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10294,15 +10341,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: @@ -10318,6 +10368,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() @@ -10332,6 +10387,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() @@ -10344,6 +10403,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): @@ -10386,10 +10446,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fullTableNames = [] - (_etype507, _size504) = iprot.readListBegin() - for _i508 in xrange(_size504): - _elem509 = iprot.readString() - self.fullTableNames.append(_elem509) + (_etype514, _size511) = iprot.readListBegin() + for _i515 in xrange(_size511): + _elem516 = iprot.readString() + self.fullTableNames.append(_elem516) iprot.readListEnd() else: iprot.skip(ftype) @@ -10411,8 +10471,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 iter510 in self.fullTableNames: - oprot.writeString(iter510) + for iter517 in self.fullTableNames: + oprot.writeString(iter517) oprot.writeListEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -10495,10 +10555,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.LIST: self.invalidWriteIds = [] - (_etype514, _size511) = iprot.readListBegin() - for _i515 in xrange(_size511): - _elem516 = iprot.readI64() - self.invalidWriteIds.append(_elem516) + (_etype521, _size518) = iprot.readListBegin() + for _i522 in xrange(_size518): + _elem523 = iprot.readI64() + self.invalidWriteIds.append(_elem523) iprot.readListEnd() else: iprot.skip(ftype) @@ -10533,8 +10593,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 iter517 in self.invalidWriteIds: - oprot.writeI64(iter517) + for iter524 in self.invalidWriteIds: + oprot.writeI64(iter524) oprot.writeListEnd() oprot.writeFieldEnd() if self.minOpenWriteId is not None: @@ -10606,11 +10666,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tblValidWriteIds = [] - (_etype521, _size518) = iprot.readListBegin() - for _i522 in xrange(_size518): - _elem523 = TableValidWriteIds() - _elem523.read(iprot) - self.tblValidWriteIds.append(_elem523) + (_etype528, _size525) = iprot.readListBegin() + for _i529 in xrange(_size525): + _elem530 = TableValidWriteIds() + _elem530.read(iprot) + self.tblValidWriteIds.append(_elem530) iprot.readListEnd() else: iprot.skip(ftype) @@ -10627,8 +10687,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 iter524 in self.tblValidWriteIds: - iter524.write(oprot) + for iter531 in self.tblValidWriteIds: + iter531.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -10688,10 +10748,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnIds = [] - (_etype528, _size525) = iprot.readListBegin() - for _i529 in xrange(_size525): - _elem530 = iprot.readI64() - self.txnIds.append(_elem530) + (_etype535, _size532) = iprot.readListBegin() + for _i536 in xrange(_size532): + _elem537 = iprot.readI64() + self.txnIds.append(_elem537) iprot.readListEnd() else: iprot.skip(ftype) @@ -10718,8 +10778,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 iter531 in self.txnIds: - oprot.writeI64(iter531) + for iter538 in self.txnIds: + oprot.writeI64(iter538) oprot.writeListEnd() oprot.writeFieldEnd() if self.dbName is not None: @@ -10869,11 +10929,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.txnToWriteIds = [] - (_etype535, _size532) = iprot.readListBegin() - for _i536 in xrange(_size532): - _elem537 = TxnToWriteId() - _elem537.read(iprot) - self.txnToWriteIds.append(_elem537) + (_etype542, _size539) = iprot.readListBegin() + for _i543 in xrange(_size539): + _elem544 = TxnToWriteId() + _elem544.read(iprot) + self.txnToWriteIds.append(_elem544) iprot.readListEnd() else: iprot.skip(ftype) @@ -10890,8 +10950,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 iter538 in self.txnToWriteIds: - iter538.write(oprot) + for iter545 in self.txnToWriteIds: + iter545.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -11119,11 +11179,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.component = [] - (_etype542, _size539) = iprot.readListBegin() - for _i543 in xrange(_size539): - _elem544 = LockComponent() - _elem544.read(iprot) - self.component.append(_elem544) + (_etype549, _size546) = iprot.readListBegin() + for _i550 in xrange(_size546): + _elem551 = LockComponent() + _elem551.read(iprot) + self.component.append(_elem551) iprot.readListEnd() else: iprot.skip(ftype) @@ -11160,8 +11220,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 iter545 in self.component: - iter545.write(oprot) + for iter552 in self.component: + iter552.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() if self.txnid is not None: @@ -11859,11 +11919,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.locks = [] - (_etype549, _size546) = iprot.readListBegin() - for _i550 in xrange(_size546): - _elem551 = ShowLocksResponseElement() - _elem551.read(iprot) - self.locks.append(_elem551) + (_etype556, _size553) = iprot.readListBegin() + for _i557 in xrange(_size553): + _elem558 = ShowLocksResponseElement() + _elem558.read(iprot) + self.locks.append(_elem558) iprot.readListEnd() else: iprot.skip(ftype) @@ -11880,8 +11940,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 iter552 in self.locks: - iter552.write(oprot) + for iter559 in self.locks: + iter559.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12096,20 +12156,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.aborted = set() - (_etype556, _size553) = iprot.readSetBegin() - for _i557 in xrange(_size553): - _elem558 = iprot.readI64() - self.aborted.add(_elem558) + (_etype563, _size560) = iprot.readSetBegin() + for _i564 in xrange(_size560): + _elem565 = iprot.readI64() + self.aborted.add(_elem565) iprot.readSetEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.SET: self.nosuch = set() - (_etype562, _size559) = iprot.readSetBegin() - for _i563 in xrange(_size559): - _elem564 = iprot.readI64() - self.nosuch.add(_elem564) + (_etype569, _size566) = iprot.readSetBegin() + for _i570 in xrange(_size566): + _elem571 = iprot.readI64() + self.nosuch.add(_elem571) iprot.readSetEnd() else: iprot.skip(ftype) @@ -12126,15 +12186,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 iter565 in self.aborted: - oprot.writeI64(iter565) + for iter572 in self.aborted: + oprot.writeI64(iter572) oprot.writeSetEnd() oprot.writeFieldEnd() if self.nosuch is not None: oprot.writeFieldBegin('nosuch', TType.SET, 2) oprot.writeSetBegin(TType.I64, len(self.nosuch)) - for iter566 in self.nosuch: - oprot.writeI64(iter566) + for iter573 in self.nosuch: + oprot.writeI64(iter573) oprot.writeSetEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12231,11 +12291,11 @@ def read(self, iprot): elif fid == 6: if ftype == TType.MAP: self.properties = {} - (_ktype568, _vtype569, _size567 ) = iprot.readMapBegin() - for _i571 in xrange(_size567): - _key572 = iprot.readString() - _val573 = iprot.readString() - self.properties[_key572] = _val573 + (_ktype575, _vtype576, _size574 ) = iprot.readMapBegin() + for _i578 in xrange(_size574): + _key579 = iprot.readString() + _val580 = iprot.readString() + self.properties[_key579] = _val580 iprot.readMapEnd() else: iprot.skip(ftype) @@ -12272,9 +12332,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 kiter574,viter575 in self.properties.items(): - oprot.writeString(kiter574) - oprot.writeString(viter575) + for kiter581,viter582 in self.properties.items(): + oprot.writeString(kiter581) + oprot.writeString(viter582) oprot.writeMapEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12709,11 +12769,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.compacts = [] - (_etype579, _size576) = iprot.readListBegin() - for _i580 in xrange(_size576): - _elem581 = ShowCompactResponseElement() - _elem581.read(iprot) - self.compacts.append(_elem581) + (_etype586, _size583) = iprot.readListBegin() + for _i587 in xrange(_size583): + _elem588 = ShowCompactResponseElement() + _elem588.read(iprot) + self.compacts.append(_elem588) iprot.readListEnd() else: iprot.skip(ftype) @@ -12730,8 +12790,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 iter582 in self.compacts: - iter582.write(oprot) + for iter589 in self.compacts: + iter589.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -12820,10 +12880,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionnames = [] - (_etype586, _size583) = iprot.readListBegin() - for _i587 in xrange(_size583): - _elem588 = iprot.readString() - self.partitionnames.append(_elem588) + (_etype593, _size590) = iprot.readListBegin() + for _i594 in xrange(_size590): + _elem595 = iprot.readString() + self.partitionnames.append(_elem595) iprot.readListEnd() else: iprot.skip(ftype) @@ -12861,8 +12921,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 iter589 in self.partitionnames: - oprot.writeString(iter589) + for iter596 in self.partitionnames: + oprot.writeString(iter596) oprot.writeListEnd() oprot.writeFieldEnd() if self.operationType is not None: @@ -13084,10 +13144,10 @@ def read(self, iprot): elif fid == 3: if ftype == TType.SET: self.tablesUsed = set() - (_etype593, _size590) = iprot.readSetBegin() - for _i594 in xrange(_size590): - _elem595 = iprot.readString() - self.tablesUsed.add(_elem595) + (_etype600, _size597) = iprot.readSetBegin() + for _i601 in xrange(_size597): + _elem602 = iprot.readString() + self.tablesUsed.add(_elem602) iprot.readSetEnd() else: iprot.skip(ftype) @@ -13117,8 +13177,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 iter596 in self.tablesUsed: - oprot.writeString(iter596) + for iter603 in self.tablesUsed: + oprot.writeString(iter603) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -13414,11 +13474,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.events = [] - (_etype600, _size597) = iprot.readListBegin() - for _i601 in xrange(_size597): - _elem602 = NotificationEvent() - _elem602.read(iprot) - self.events.append(_elem602) + (_etype607, _size604) = iprot.readListBegin() + for _i608 in xrange(_size604): + _elem609 = NotificationEvent() + _elem609.read(iprot) + self.events.append(_elem609) iprot.readListEnd() else: iprot.skip(ftype) @@ -13435,8 +13495,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 iter603 in self.events: - iter603.write(oprot) + for iter610 in self.events: + iter610.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13717,20 +13777,20 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.filesAdded = [] - (_etype607, _size604) = iprot.readListBegin() - for _i608 in xrange(_size604): - _elem609 = iprot.readString() - self.filesAdded.append(_elem609) + (_etype614, _size611) = iprot.readListBegin() + for _i615 in xrange(_size611): + _elem616 = iprot.readString() + self.filesAdded.append(_elem616) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.filesAddedChecksum = [] - (_etype613, _size610) = iprot.readListBegin() - for _i614 in xrange(_size610): - _elem615 = iprot.readString() - self.filesAddedChecksum.append(_elem615) + (_etype620, _size617) = iprot.readListBegin() + for _i621 in xrange(_size617): + _elem622 = iprot.readString() + self.filesAddedChecksum.append(_elem622) iprot.readListEnd() else: iprot.skip(ftype) @@ -13751,15 +13811,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 iter616 in self.filesAdded: - oprot.writeString(iter616) + for iter623 in self.filesAdded: + oprot.writeString(iter623) oprot.writeListEnd() oprot.writeFieldEnd() if self.filesAddedChecksum is not None: oprot.writeFieldBegin('filesAddedChecksum', TType.LIST, 3) oprot.writeListBegin(TType.STRING, len(self.filesAddedChecksum)) - for iter617 in self.filesAddedChecksum: - oprot.writeString(iter617) + for iter624 in self.filesAddedChecksum: + oprot.writeString(iter624) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -13914,10 +13974,10 @@ def read(self, iprot): elif fid == 5: if ftype == TType.LIST: self.partitionVals = [] - (_etype621, _size618) = iprot.readListBegin() - for _i622 in xrange(_size618): - _elem623 = iprot.readString() - self.partitionVals.append(_elem623) + (_etype628, _size625) = iprot.readListBegin() + for _i629 in xrange(_size625): + _elem630 = iprot.readString() + self.partitionVals.append(_elem630) iprot.readListEnd() else: iprot.skip(ftype) @@ -13950,8 +14010,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 iter624 in self.partitionVals: - oprot.writeString(iter624) + for iter631 in self.partitionVals: + oprot.writeString(iter631) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14138,12 +14198,12 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype626, _vtype627, _size625 ) = iprot.readMapBegin() - for _i629 in xrange(_size625): - _key630 = iprot.readI64() - _val631 = MetadataPpdResult() - _val631.read(iprot) - self.metadata[_key630] = _val631 + (_ktype633, _vtype634, _size632 ) = iprot.readMapBegin() + for _i636 in xrange(_size632): + _key637 = iprot.readI64() + _val638 = MetadataPpdResult() + _val638.read(iprot) + self.metadata[_key637] = _val638 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14165,9 +14225,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 kiter632,viter633 in self.metadata.items(): - oprot.writeI64(kiter632) - viter633.write(oprot) + for kiter639,viter640 in self.metadata.items(): + oprot.writeI64(kiter639) + viter640.write(oprot) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -14237,10 +14297,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype637, _size634) = iprot.readListBegin() - for _i638 in xrange(_size634): - _elem639 = iprot.readI64() - self.fileIds.append(_elem639) + (_etype644, _size641) = iprot.readListBegin() + for _i645 in xrange(_size641): + _elem646 = iprot.readI64() + self.fileIds.append(_elem646) iprot.readListEnd() else: iprot.skip(ftype) @@ -14272,8 +14332,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 iter640 in self.fileIds: - oprot.writeI64(iter640) + for iter647 in self.fileIds: + oprot.writeI64(iter647) oprot.writeListEnd() oprot.writeFieldEnd() if self.expr is not None: @@ -14347,11 +14407,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.MAP: self.metadata = {} - (_ktype642, _vtype643, _size641 ) = iprot.readMapBegin() - for _i645 in xrange(_size641): - _key646 = iprot.readI64() - _val647 = iprot.readString() - self.metadata[_key646] = _val647 + (_ktype649, _vtype650, _size648 ) = iprot.readMapBegin() + for _i652 in xrange(_size648): + _key653 = iprot.readI64() + _val654 = iprot.readString() + self.metadata[_key653] = _val654 iprot.readMapEnd() else: iprot.skip(ftype) @@ -14373,9 +14433,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 kiter648,viter649 in self.metadata.items(): - oprot.writeI64(kiter648) - oprot.writeString(viter649) + for kiter655,viter656 in self.metadata.items(): + oprot.writeI64(kiter655) + oprot.writeString(viter656) oprot.writeMapEnd() oprot.writeFieldEnd() if self.isSupported is not None: @@ -14436,10 +14496,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype653, _size650) = iprot.readListBegin() - for _i654 in xrange(_size650): - _elem655 = iprot.readI64() - self.fileIds.append(_elem655) + (_etype660, _size657) = iprot.readListBegin() + for _i661 in xrange(_size657): + _elem662 = iprot.readI64() + self.fileIds.append(_elem662) iprot.readListEnd() else: iprot.skip(ftype) @@ -14456,8 +14516,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 iter656 in self.fileIds: - oprot.writeI64(iter656) + for iter663 in self.fileIds: + oprot.writeI64(iter663) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14563,20 +14623,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype660, _size657) = iprot.readListBegin() - for _i661 in xrange(_size657): - _elem662 = iprot.readI64() - self.fileIds.append(_elem662) + (_etype667, _size664) = iprot.readListBegin() + for _i668 in xrange(_size664): + _elem669 = iprot.readI64() + self.fileIds.append(_elem669) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.metadata = [] - (_etype666, _size663) = iprot.readListBegin() - for _i667 in xrange(_size663): - _elem668 = iprot.readString() - self.metadata.append(_elem668) + (_etype673, _size670) = iprot.readListBegin() + for _i674 in xrange(_size670): + _elem675 = iprot.readString() + self.metadata.append(_elem675) iprot.readListEnd() else: iprot.skip(ftype) @@ -14598,15 +14658,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 iter669 in self.fileIds: - oprot.writeI64(iter669) + for iter676 in self.fileIds: + oprot.writeI64(iter676) oprot.writeListEnd() oprot.writeFieldEnd() if self.metadata is not None: oprot.writeFieldBegin('metadata', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.metadata)) - for iter670 in self.metadata: - oprot.writeString(iter670) + for iter677 in self.metadata: + oprot.writeString(iter677) oprot.writeListEnd() oprot.writeFieldEnd() if self.type is not None: @@ -14714,10 +14774,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.fileIds = [] - (_etype674, _size671) = iprot.readListBegin() - for _i675 in xrange(_size671): - _elem676 = iprot.readI64() - self.fileIds.append(_elem676) + (_etype681, _size678) = iprot.readListBegin() + for _i682 in xrange(_size678): + _elem683 = iprot.readI64() + self.fileIds.append(_elem683) iprot.readListEnd() else: iprot.skip(ftype) @@ -14734,8 +14794,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 iter677 in self.fileIds: - oprot.writeI64(iter677) + for iter684 in self.fileIds: + oprot.writeI64(iter684) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -14964,11 +15024,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.functions = [] - (_etype681, _size678) = iprot.readListBegin() - for _i682 in xrange(_size678): - _elem683 = Function() - _elem683.read(iprot) - self.functions.append(_elem683) + (_etype688, _size685) = iprot.readListBegin() + for _i689 in xrange(_size685): + _elem690 = Function() + _elem690.read(iprot) + self.functions.append(_elem690) iprot.readListEnd() else: iprot.skip(ftype) @@ -14985,8 +15045,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 iter684 in self.functions: - iter684.write(oprot) + for iter691 in self.functions: + iter691.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15038,10 +15098,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.values = [] - (_etype688, _size685) = iprot.readListBegin() - for _i689 in xrange(_size685): - _elem690 = iprot.readI32() - self.values.append(_elem690) + (_etype695, _size692) = iprot.readListBegin() + for _i696 in xrange(_size692): + _elem697 = iprot.readI32() + self.values.append(_elem697) iprot.readListEnd() else: iprot.skip(ftype) @@ -15058,8 +15118,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 iter691 in self.values: - oprot.writeI32(iter691) + for iter698 in self.values: + oprot.writeI32(iter698) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15288,10 +15348,10 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.tblNames = [] - (_etype695, _size692) = iprot.readListBegin() - for _i696 in xrange(_size692): - _elem697 = iprot.readString() - self.tblNames.append(_elem697) + (_etype702, _size699) = iprot.readListBegin() + for _i703 in xrange(_size699): + _elem704 = iprot.readString() + self.tblNames.append(_elem704) iprot.readListEnd() else: iprot.skip(ftype) @@ -15318,8 +15378,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 iter698 in self.tblNames: - oprot.writeString(iter698) + for iter705 in self.tblNames: + oprot.writeString(iter705) oprot.writeListEnd() oprot.writeFieldEnd() if self.capabilities is not None: @@ -15379,11 +15439,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.tables = [] - (_etype702, _size699) = iprot.readListBegin() - for _i703 in xrange(_size699): - _elem704 = Table() - _elem704.read(iprot) - self.tables.append(_elem704) + (_etype709, _size706) = iprot.readListBegin() + for _i710 in xrange(_size706): + _elem711 = Table() + _elem711.read(iprot) + self.tables.append(_elem711) iprot.readListEnd() else: iprot.skip(ftype) @@ -15400,8 +15460,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 iter705 in self.tables: - iter705.write(oprot) + for iter712 in self.tables: + iter712.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -15699,10 +15759,10 @@ def read(self, iprot): if fid == 1: if ftype == TType.SET: self.tablesUsed = set() - (_etype709, _size706) = iprot.readSetBegin() - for _i710 in xrange(_size706): - _elem711 = iprot.readString() - self.tablesUsed.add(_elem711) + (_etype716, _size713) = iprot.readSetBegin() + for _i717 in xrange(_size713): + _elem718 = iprot.readString() + self.tablesUsed.add(_elem718) iprot.readSetEnd() else: iprot.skip(ftype) @@ -15729,8 +15789,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 iter712 in self.tablesUsed: - oprot.writeString(iter712) + for iter719 in self.tablesUsed: + oprot.writeString(iter719) oprot.writeSetEnd() oprot.writeFieldEnd() if self.validTxnList is not None: @@ -16634,44 +16694,44 @@ def read(self, iprot): elif fid == 2: if ftype == TType.LIST: self.pools = [] - (_etype716, _size713) = iprot.readListBegin() - for _i717 in xrange(_size713): - _elem718 = WMPool() - _elem718.read(iprot) - self.pools.append(_elem718) + (_etype723, _size720) = iprot.readListBegin() + for _i724 in xrange(_size720): + _elem725 = WMPool() + _elem725.read(iprot) + self.pools.append(_elem725) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 3: if ftype == TType.LIST: self.mappings = [] - (_etype722, _size719) = iprot.readListBegin() - for _i723 in xrange(_size719): - _elem724 = WMMapping() - _elem724.read(iprot) - self.mappings.append(_elem724) + (_etype729, _size726) = iprot.readListBegin() + for _i730 in xrange(_size726): + _elem731 = WMMapping() + _elem731.read(iprot) + self.mappings.append(_elem731) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 4: if ftype == TType.LIST: self.triggers = [] - (_etype728, _size725) = iprot.readListBegin() - for _i729 in xrange(_size725): - _elem730 = WMTrigger() - _elem730.read(iprot) - self.triggers.append(_elem730) + (_etype735, _size732) = iprot.readListBegin() + for _i736 in xrange(_size732): + _elem737 = WMTrigger() + _elem737.read(iprot) + self.triggers.append(_elem737) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 5: if ftype == TType.LIST: self.poolTriggers = [] - (_etype734, _size731) = iprot.readListBegin() - for _i735 in xrange(_size731): - _elem736 = WMPoolTrigger() - _elem736.read(iprot) - self.poolTriggers.append(_elem736) + (_etype741, _size738) = iprot.readListBegin() + for _i742 in xrange(_size738): + _elem743 = WMPoolTrigger() + _elem743.read(iprot) + self.poolTriggers.append(_elem743) iprot.readListEnd() else: iprot.skip(ftype) @@ -16692,29 +16752,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 iter737 in self.pools: - iter737.write(oprot) + for iter744 in self.pools: + iter744.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 iter738 in self.mappings: - iter738.write(oprot) + for iter745 in self.mappings: + iter745.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 iter739 in self.triggers: - iter739.write(oprot) + for iter746 in self.triggers: + iter746.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 iter740 in self.poolTriggers: - iter740.write(oprot) + for iter747 in self.poolTriggers: + iter747.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17188,11 +17248,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.resourcePlans = [] - (_etype744, _size741) = iprot.readListBegin() - for _i745 in xrange(_size741): - _elem746 = WMResourcePlan() - _elem746.read(iprot) - self.resourcePlans.append(_elem746) + (_etype751, _size748) = iprot.readListBegin() + for _i752 in xrange(_size748): + _elem753 = WMResourcePlan() + _elem753.read(iprot) + self.resourcePlans.append(_elem753) iprot.readListEnd() else: iprot.skip(ftype) @@ -17209,8 +17269,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 iter747 in self.resourcePlans: - iter747.write(oprot) + for iter754 in self.resourcePlans: + iter754.write(oprot) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -17514,20 +17574,20 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.errors = [] - (_etype751, _size748) = iprot.readListBegin() - for _i752 in xrange(_size748): - _elem753 = iprot.readString() - self.errors.append(_elem753) + (_etype758, _size755) = iprot.readListBegin() + for _i759 in xrange(_size755): + _elem760 = iprot.readString() + self.errors.append(_elem760) iprot.readListEnd() else: iprot.skip(ftype) elif fid == 2: if ftype == TType.LIST: self.warnings = [] - (_etype757, _size754) = iprot.readListBegin() - for _i758 in xrange(_size754): - _elem759 = iprot.readString() - self.warnings.append(_elem759) + (_etype764, _size761) = iprot.readListBegin() + for _i765 in xrange(_size761): + _elem766 = iprot.readString() + self.warnings.append(_elem766) iprot.readListEnd() else: iprot.skip(ftype) @@ -17544,15 +17604,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 iter760 in self.errors: - oprot.writeString(iter760) + for iter767 in self.errors: + oprot.writeString(iter767) oprot.writeListEnd() oprot.writeFieldEnd() if self.warnings is not None: oprot.writeFieldBegin('warnings', TType.LIST, 2) oprot.writeListBegin(TType.STRING, len(self.warnings)) - for iter761 in self.warnings: - oprot.writeString(iter761) + for iter768 in self.warnings: + oprot.writeString(iter768) oprot.writeListEnd() oprot.writeFieldEnd() oprot.writeFieldStop() @@ -18129,11 +18189,11 @@ def read(self, iprot): if fid == 1: if ftype == TType.LIST: self.triggers = [] - (_etype765, _size762) = iprot.readListBegin() - for _i766 in xrange(_size762): - _elem767 = WMTrigger() - _elem767.read(iprot) - self.triggers.append(_elem767) + (_etype772, _size769) = iprot.readListBegin() + for _i773 in xrange(_size769): + _elem774 = WMTrigger() + _elem774.read(iprot) + self.triggers.append(_elem774) iprot.readListEnd() else: iprot.skip(ftype) @@ -18150,8 +18210,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 iter768 in self.triggers: - iter768.write(oprot) + for iter775 in self.triggers: + iter775.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 8438728caa..8e25233be8 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 @@ -2217,12 +2217,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 @@ -2256,9 +2260,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 @@ -2290,9 +2296,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 2be018ba0f..827324cae7 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 @@ -74,6 +74,7 @@ import org.apache.hadoop.hive.metastore.cache.CachedStore; 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.AddIndexEvent; import org.apache.hadoop.hive.metastore.events.AddNotNullConstraintEvent; import org.apache.hadoop.hive.metastore.events.AddPartitionEvent; @@ -83,6 +84,7 @@ import org.apache.hadoop.hive.metastore.events.AlterIndexEvent; import org.apache.hadoop.hive.metastore.events.AlterPartitionEvent; 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; @@ -95,6 +97,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.PreAddIndexEvent; import org.apache.hadoop.hive.metastore.events.PreAddPartitionEvent; import org.apache.hadoop.hive.metastore.events.PreAlterDatabaseEvent; @@ -155,7 +158,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; @@ -6739,22 +6741,45 @@ 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, this); + List txnIds = response.getTxn_ids(); + if (txnIds == null) { + return response; + } + if (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); + getTxnHandler().abortTxn(rqst, this); + 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); + getTxnHandler().abortTxns(rqst, this); + 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); + getTxnHandler().commitTxn(rqst, this); + 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 da0d329fd3..7ec4d47fab 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 @@ -2259,20 +2259,42 @@ 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 @@ -2280,12 +2302,27 @@ public void rollbackTxn(long txnid) throws NoSuchTxnException, TException { client.abort_txn(new AbortTxnRequest(txnid)); } + @Override + public void rollbackTxn(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 commitTxn(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 037331f9f3..14e51c82c6 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 @@ -120,6 +120,7 @@ import org.apache.hadoop.hive.metastore.partition.spec.PartitionSpecProxy; import org.apache.hadoop.hive.metastore.utils.ObjectPair; import org.apache.thrift.TException; +import java.util.Iterator; /** * Wrapper around hive metastore thrift api @@ -1395,6 +1396,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 oad 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 @@ -1433,6 +1444,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 rollbackTxn(long txnid, String replPolicy) throws NoSuchTxnException, TException; + /** * Commit a transaction. This will also unlock any locks associated with * this transaction. @@ -1447,6 +1470,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 commitTxn(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 0e1620df03..0128de94fb 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 @@ -45,6 +45,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 @@ -182,7 +185,6 @@ public void onDropFunction (DropFunctionEvent fnEvent) throws MetaException { * @throws MetaException */ public void onInsert(InsertEvent insertEvent) throws MetaException { - } /** @@ -220,6 +222,30 @@ public void onAddNotNullConstraint(AddNotNullConstraintEvent addNotNullConstrain public void onDropConstraint(DropConstraintEvent dropConstraintEvent) 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; @@ -229,7 +255,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 a640b34e4b..8017b5d7e1 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 @@ -44,6 +44,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; @@ -179,6 +182,26 @@ public void notify(MetaStoreEventListener listener, ListenerEvent event) throws listener.onAddNotNullConstraint((AddNotNullConstraintEvent)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..fe4b97432a --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/AbortTxnEvent.java @@ -0,0 +1,51 @@ +/* + * 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; + +/** + * AbortTxnEvent + * Event generated for roll backing a transaction + */ +@InterfaceAudience.Public +@InterfaceStability.Stable +public class AbortTxnEvent extends ListenerEvent { + + private final Long txnId; + + /** + * + * @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; + } + + /** + * @return Long txnId + */ + public Long getTxnId() { + return txnId; + } +} 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..9c9c93afee --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/CommitTxnEvent.java @@ -0,0 +1,51 @@ +/* + * 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; + +/** + * CommitTxnEvent + * Event generated for commit transaction operation + */ +@InterfaceAudience.Public +@InterfaceStability.Stable +public class CommitTxnEvent extends ListenerEvent { + + private final Long txnId; + + /** + * + * @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); + txnId = transactionId; + } + + /** + * @return Long txnId + */ + public Long getTxnId() { + return txnId; + } +} 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..b9af742cb4 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/events/OpenTxnEvent.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.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 java.util.List; + +/** + * OpenTxnEvent + * Event generated for open transaction event. + */ +@InterfaceAudience.Public +@InterfaceStability.Stable +public class OpenTxnEvent extends ListenerEvent { + + private List txnIds; + + /** + * + * @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); + } + + /** + * @return List txnIds + */ + public List getTxnIds() { + return txnIds; + } +} 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 dad2f5b115..c3bd5822f5 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 @@ -49,7 +49,10 @@ ADD_FOREIGNKEY(MessageFactory.ADD_FOREIGNKEY_EVENT), ADD_UNIQUECONSTRAINT(MessageFactory.ADD_UNIQUECONSTRAINT_EVENT), ADD_NOTNULLCONSTRAINT(MessageFactory.ADD_NOTNULLCONSTRAINT_EVENT), - DROP_CONSTRAINT(MessageFactory.DROP_CONSTRAINT_EVENT); + DROP_CONSTRAINT(MessageFactory.DROP_CONSTRAINT_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 f85dc407c8..f5d2f23729 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 @@ -70,6 +70,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); } @@ -181,6 +187,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 0e3357d487..ebe1c6ce0a 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 @@ -63,6 +63,9 @@ public static final String ADD_UNIQUECONSTRAINT_EVENT = "ADD_UNIQUECONSTRAINT"; public static final String ADD_NOTNULLCONSTRAINT_EVENT = "ADD_NOTNULLCONSTRAINT"; public static final String DROP_CONSTRAINT_EVENT = "DROP_CONSTRAINT"; + 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; @@ -254,6 +257,30 @@ 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 + * + * @param txnIds List of ids of the newly opened transactions + * @return instance of OpenTxnMessage + */ + public abstract OpenTxnMessage buildOpenTxnMessage(List txnIds); + + /** + * 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 34b62e6901..0542e1f2bd 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 @@ -40,6 +40,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; @@ -253,4 +256,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 7f46d071fe..987c8b0da7 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 @@ -61,6 +61,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; @@ -209,6 +212,21 @@ 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 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..e71ba1fdf4 --- /dev/null +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/messaging/json/JSONOpenTxnMessage.java @@ -0,0 +1,93 @@ +/* + * 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 com.google.common.collect.Lists; + +import java.util.Iterator; +import java.util.List; + +/** + * JSON implementation of OpenTxnMessage + */ +public class JSONOpenTxnMessage extends OpenTxnMessage { + + @JsonProperty + private List txnIds; + + @JsonProperty + private Long timestamp; + + @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; + } + + @Override + public List getTxnIds() { + return txnIds; + } + + @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 88f6346ce7..452419d65e 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,14 @@ 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))" + ); + } catch (SQLException e) { try { conn.rollback(); @@ -241,6 +249,7 @@ 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); } 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 6a745948a3..95ceba9ac9 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 @@ -65,8 +65,11 @@ import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.common.classification.RetrySemantics; import org.apache.hadoop.hive.metastore.DatabaseProduct; +import org.apache.hadoop.hive.metastore.IHMSHandler; import org.apache.hadoop.hive.metastore.MaterializationsInvalidationCache; import org.apache.hadoop.hive.metastore.Warehouse; +import org.apache.hadoop.hive.metastore.TransactionalMetaStoreEventListener; +import org.apache.hadoop.hive.metastore.MetaStoreListenerNotifier; 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,10 +122,15 @@ 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; @@ -294,6 +302,8 @@ public static OpertaionType fromDataOperationType(DataOperationType dop) { private final static ConcurrentHashMap derbyKey2Lock = new ConcurrentHashMap<>(); private static final String hostname = JavaUtils.hostname(); + private List transactionalListeners; + // Private methods should never catch SQLException and then throw MetaException. The public // methods depend on SQLException coming back so they can detect and handle deadlocks. Private // methods should only throw MetaException when they explicitly know there's a logic error and @@ -354,6 +364,14 @@ 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 instantiate transactionalListeners, " + e.getMessage(); + LOG.error(msg); + throw new RuntimeException(e); + } } @Override @@ -514,6 +532,16 @@ public GetOpenTxnsResponse getOpenTxns() throws MetaException { @Override @RetrySemantics.Idempotent public OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException { + return openTxns(rqst, null); + } + + /** + * Retry-by-caller note: + * Worst case, it will leave an open txn which will timeout. + */ + @Override + @RetrySemantics.Idempotent + public OpenTxnsResponse openTxns(OpenTxnRequest rqst, IHMSHandler handler) throws MetaException { if (!tooManyOpenTxns && numOpenTxns.get() >= maxOpenTxns) { tooManyOpenTxns = true; } @@ -558,6 +586,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 +635,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.debug("Going to execute insert <" + query + ">"); + stmt.execute(query); + } + } + + if (handler != null && transactionalListeners != null && !txnIds.isEmpty()) { + MetaStoreListenerNotifier.notifyEvent(transactionalListeners, EventMessage.EventType.OPEN_TXN, + new OpenTxnEvent(txnIds, handler)); + } + LOG.debug("Going to commit"); dbConn.commit(); return new OpenTxnsResponse(txnIds); @@ -598,23 +672,59 @@ public OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException { unlockInternal(); } } catch (RetryException e) { - return openTxns(rqst); + return openTxns(rqst, handler); + } + } + + private Long getTargetTxnId(String replPolicy, long sourceTxnId, Statement stmt) throws SQLException { + ResultSet rs; + 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); } + @Override @RetrySemantics.Idempotent public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaException, TxnAbortedException { - long txnid = rqst.getTxnid(); + abortTxn(rqst, null); + } + + @Override + @RetrySemantics.Idempotent + public void abortTxn(AbortTxnRequest rqst, IHMSHandler handler) 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 for transactions started using replication replay task"); + } LOG.info("abortTxn(" + JavaUtils.txnIdToString(txnid) + ") requested by it is already " + TxnStatus.ABORTED); return; @@ -622,6 +732,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.debug("Going to execute <" + s + ">"); + stmt.executeUpdate(s); + } + + if (handler != null && transactionalListeners != null && !transactionalListeners.isEmpty()) { + MetaStoreListenerNotifier.notifyEvent(transactionalListeners, EventMessage.EventType.ABORT_TXN, + new AbortTxnEvent(txnid, handler)); + } + LOG.debug("Going to commit"); dbConn.commit(); } catch (SQLException e) { @@ -635,12 +757,19 @@ public void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaExcept unlockInternal(); } } catch (RetryException e) { - abortTxn(rqst); + abortTxn(rqst, handler); } } + @Override @RetrySemantics.Idempotent public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaException { + abortTxns(rqst, null); + } + + @Override + @RetrySemantics.Idempotent + public void abortTxns(AbortTxnsRequest rqst, IHMSHandler handler) throws NoSuchTxnException, MetaException { List txnids = rqst.getTxn_ids(); try { Connection dbConn = null; @@ -653,6 +782,12 @@ public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaExce (txnids.size() - numAborted) + " transactions have been aborted or committed, or the transaction ids are invalid."); } + if (handler != null && transactionalListeners != null && !transactionalListeners.isEmpty()) { + for (Long txnId : txnids) { + MetaStoreListenerNotifier.notifyEvent(transactionalListeners, + EventMessage.EventType.ABORT_TXN, new AbortTxnEvent(txnId, handler)); + } + } LOG.debug("Going to commit"); dbConn.commit(); } catch (SQLException e) { @@ -665,7 +800,7 @@ public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaExce closeDbConn(dbConn); } } catch (RetryException e) { - abortTxns(rqst); + abortTxns(rqst, handler); } } @@ -697,8 +832,16 @@ public void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaExce @Override @RetrySemantics.Idempotent("No-op if already committed") public void commitTxn(CommitTxnRequest rqst) + throws NoSuchTxnException, TxnAbortedException, MetaException { + commitTxn(rqst, null); + } + + @Override + @RetrySemantics.Idempotent("No-op if already committed") + public void commitTxn(CommitTxnRequest rqst, IHMSHandler handler) throws NoSuchTxnException, TxnAbortedException, MetaException { long txnid = rqst.getTxnid(); + long sourceTxnId = -1; try { Connection dbConn = null; Statement stmt = null; @@ -708,6 +851,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 +871,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 for transactions started using replication replay task"); + } /** * This makes the operation idempotent * (assume that this is most likely due to retry logic) @@ -857,6 +1013,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.debug("Repl going to execute <" + s + ">"); + stmt.executeUpdate(s); + } + + if (handler != null && transactionalListeners != null && !transactionalListeners.isEmpty()) { + MetaStoreListenerNotifier.notifyEvent(transactionalListeners, EventMessage.EventType.COMMIT_TXN, + new CommitTxnEvent(txnid, handler)); + } + close(rs); dbConn.commit(); } catch (SQLException e) { @@ -871,7 +1040,7 @@ public void commitTxn(CommitTxnRequest rqst) unlockInternal(); } } catch (RetryException e) { - commitTxn(rqst); + commitTxn(rqst, handler); } } diff --git a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java index 38fa0e2daa..b67522fd94 100644 --- a/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java +++ b/standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnStore.java @@ -23,6 +23,7 @@ import org.apache.hadoop.conf.Configurable; import org.apache.hadoop.hive.common.ValidTxnList; import org.apache.hadoop.hive.common.classification.RetrySemantics; +import org.apache.hadoop.hive.metastore.IHMSHandler; import org.apache.hadoop.hive.metastore.api.*; import java.sql.SQLException; @@ -86,6 +87,16 @@ @RetrySemantics.Idempotent OpenTxnsResponse openTxns(OpenTxnRequest rqst) throws MetaException; + /** + * Open a set of transactions + * @param rqst request to open transactions + * @param handler hive metastore handler + * @return information on opened transactions + * @throws MetaException + */ + @RetrySemantics.Idempotent + OpenTxnsResponse openTxns(OpenTxnRequest rqst, IHMSHandler handler) throws MetaException; + /** * Abort (rollback) a transaction. * @param rqst info on transaction to abort @@ -95,6 +106,16 @@ @RetrySemantics.Idempotent void abortTxn(AbortTxnRequest rqst) throws NoSuchTxnException, MetaException, TxnAbortedException; + /** + * Abort (rollback) a transaction. + * @param rqst info on transaction to abort + * @param handler hive metastore handler + * @throws NoSuchTxnException + * @throws MetaException + */ + @RetrySemantics.Idempotent + void abortTxn(AbortTxnRequest rqst, IHMSHandler handler) throws NoSuchTxnException, MetaException, TxnAbortedException; + /** * Abort (rollback) a list of transactions in one request. * @param rqst info on transactions to abort @@ -104,6 +125,16 @@ @RetrySemantics.Idempotent void abortTxns(AbortTxnsRequest rqst) throws NoSuchTxnException, MetaException; + /** + * Abort (rollback) a list of transactions in one request. + * @param rqst info on transactions to abort + * @param handler hive metastore handler + * @throws NoSuchTxnException + * @throws MetaException + */ + @RetrySemantics.Idempotent + void abortTxns(AbortTxnsRequest rqst, IHMSHandler handler) throws NoSuchTxnException, MetaException; + /** * Commit a transaction * @param rqst info on transaction to commit @@ -115,6 +146,18 @@ void commitTxn(CommitTxnRequest rqst) throws NoSuchTxnException, TxnAbortedException, MetaException; + /** + * Commit a transaction + * @param rqst info on transaction to commit + * @param handler hive metastore handler + * @throws NoSuchTxnException + * @throws TxnAbortedException + * @throws MetaException + */ + @RetrySemantics.Idempotent + void commitTxn(CommitTxnRequest rqst, IHMSHandler handler) + throws NoSuchTxnException, TxnAbortedException, MetaException; + /** * Get the first transaction corresponding to given database and table after transactions * referenced in the transaction snapshot. 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 86ef6b13ad..fb575d4ea6 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 @@ -544,6 +544,12 @@ CREATE TABLE NEXT_WRITE_ID ( CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); +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 1fc34bcc0d..4f6d32a48d 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 @@ -124,3 +124,10 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; -- HIVE-18726 -- add a new column to support default value for DEFAULT constraint ALTER TABLE "APP"."KEY_CONSTRAINTS" ADD COLUMN "DEFAULT_VALUE" VARCHAR(400); + +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/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 e0bb25b239..18748f91f5 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 @@ -1149,6 +1149,14 @@ CREATE TABLE NEXT_WRITE_ID ( CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); +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); + -- ----------------------------------------------------------------- -- 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 52107b3364..9b607dbfee 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 @@ -176,5 +176,13 @@ ALTER TABLE TXN_COMPONENTS ADD TC_WRITEID bigint; ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; -- HIVE-18726 - -- add a new column to support default value for DEFAULT constraint - ALTER TABLE KEY_CONSTRAINTS ADD DEFAULT_VALUE VARCHAR(400); +-- add a new column to support default value for DEFAULT constraint +ALTER TABLE KEY_CONSTRAINTS ADD DEFAULT_VALUE VARCHAR(400); + +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); 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 566badf2c7..9d33b4623a 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 @@ -1084,6 +1084,13 @@ CREATE TABLE NEXT_WRITE_ID ( CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); +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 35f08dc5bf..1a9a170693 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 @@ -163,3 +163,10 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; -- HIVE-18726 -- add a new column to support default value for DEFAULT constraint ALTER TABLE `KEY_CONSTRAINTS` ADD COLUMN `DEFAULT_VALUE` VARCHAR(400); + +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; 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 82811ee8d7..7b15c5b3ad 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 @@ -1057,6 +1057,13 @@ CREATE TABLE NEXT_WRITE_ID ( CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); +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 edf14d98cb..a57a10a6ad 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 @@ -187,3 +187,10 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID number(19); -- HIVE-18726 -- add a new column to support default value for DEFAULT constraint ALTER TABLE KEY_CONSTRAINTS ADD DEFAULT_VALUE VARCHAR(400); + +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) +); 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 543a3586ca..b4c596dbda 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 @@ -1749,6 +1749,13 @@ CREATE TABLE NEXT_WRITE_ID ( CREATE UNIQUE INDEX NEXT_WRITE_ID_IDX ON NEXT_WRITE_ID (NWI_DATABASE, NWI_TABLE); +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 ed4ce22dfb..b704b73800 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 @@ -202,3 +202,10 @@ ALTER TABLE COMPLETED_TXN_COMPONENTS ADD CTC_WRITEID bigint; -- HIVE-18726 -- add a new column to support default value for DEFAULT constraint ALTER TABLE "KEY_CONSTRAINTS" ADD COLUMN "DEFAULT_VALUE" VARCHAR(400); + +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/standalone-metastore/src/main/thrift/hive_metastore.thrift b/standalone-metastore/src/main/thrift/hive_metastore.thrift index e95014a82e..84cd4afebd 100644 --- a/standalone-metastore/src/main/thrift/hive_metastore.thrift +++ b/standalone-metastore/src/main/thrift/hive_metastore.thrift @@ -738,6 +738,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 { @@ -746,6 +748,7 @@ struct OpenTxnsResponse { struct AbortTxnRequest { 1: required i64 txnid, + 2: optional string replPolicy, } struct AbortTxnsRequest { @@ -754,6 +757,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